aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-04-08 13:13:21 +0200
committerAstatin <[email protected]>2025-04-08 13:13:21 +0200
commit85c478d0c2368c0a38fa3e6aa4d4e9070ea63fc3 (patch)
treebebf24df46c6520f27f70c2fc932bc132d252e63 /main.gbasm
parentfb8e853fd0c6660696e762f67877b4d24a9f4c22 (diff)
Add loading screen with the floor count on dungeon generation
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.gbasm b/main.gbasm
index a8a28ce..21b9420 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -84,10 +84,10 @@
LD A, high(=STAT_Entrypoint)
LD ($mem_stat_jump_destination+1), A
.RESET_STAT_INTERRUPT
- LD A, $02
- LD $reg_interrupt_enable, A
LD A, $40
LD $reg_lcd_status, A
+ LD A, $02
+ LD $reg_interrupt_enable, A
.END
.MACRODEF DISABLE_LYC_INTERRUPT
@@ -106,8 +106,9 @@ Entrypoint:
LD $mem_floor_count, A
CALL =Init_DemoQuest_Event
+ CALL =Load_Tile
+
JP =New_Dungeon
-
.INCLUDE "tiles.gbasm"
.INCLUDE "rng.gbasm"