aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-14 20:05:28 +0900
committerAstatin <astatin@redacted>2024-08-14 20:05:28 +0900
commitf9f115384757135fa8488bd43eb3e5e91cc243d9 (patch)
tree6ab2b9bf120267f85140e1d8c9aa3a12b7e9c446 /main.gbasm
parent59c2f3cc678df564bb9cf2b232537ce8a9d734fa (diff)
Add RNG + do some tests with is_solid
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.gbasm b/main.gbasm
index 2fe27a1..c983831 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -2,9 +2,11 @@
.INCLUDE "init.gbasm"
Entrypoint:
+ CALL =Initialize_Room
CALL =Load_Tile
CALL =Load_Map
CALL =Initialize_Bunny
+ CALL =Initialize_RNG
; LCDC
LD A, $87
@@ -19,6 +21,7 @@ VBLANK_Entrypoint:
CALL =Pad_Button_Check
CALL =Move_Bunny
CALL =Display_Bunny
+ CALL =RNG_Step
RET
.INCLUDE "tiles.gbasm"
@@ -26,3 +29,4 @@ VBLANK_Entrypoint:
.INCLUDE "map.gbasm"
.INCLUDE "bunny.gbasm"
.INCLUDE "buttons.gbasm"
+.INCLUDE "rng.gbasm"