aboutsummaryrefslogtreecommitdiff
path: root/definitions.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-03-04 18:27:00 +0900
committerAstatin <[email protected]>2025-03-04 18:27:00 +0900
commitb04c85f5316b58a60b5ae161e9bbf3a20cf1b084 (patch)
tree04f42715a5cf7f6a08a742f6ef6b81e18249be36 /definitions.gbasm
parentafc683fd953bee5b7c9bed2439492cc7c1f87a49 (diff)
Fix out of VBlank on dialogue open (most of the time) + object remove
Diffstat (limited to 'definitions.gbasm')
-rw-r--r--definitions.gbasm14
1 files changed, 12 insertions, 2 deletions
diff --git a/definitions.gbasm b/definitions.gbasm
index 0fd7f90..c8bfc3a 100644
--- a/definitions.gbasm
+++ b/definitions.gbasm
@@ -2,6 +2,7 @@
.DEFINE reg_interrupt_flags ($0f)
.DEFINE reg_lcd_controller ($40)
.DEFINE reg_lcd_status ($41)
+.DEFINE reg_ly ($44)
.DEFINE reg_lyc ($45)
.DEFINE reg_viewport_y ($42)
.DEFINE reg_viewport_x ($43)
@@ -45,7 +46,7 @@
.DEFINE mem_map_loading_flags ($c00c)
; bit 0: if the object should be reloaded (scroll or first load)
-; bit 1: has a movement ended (objects interaction should be checked, entities sh0uld update their positions)
+; bit 1: has a movement ended (objects interaction should be checked, entities should update their positions)
; bit 2: if the prepared block should be updated at the next frame
; bit 3: animation step is going up (?)
@@ -60,8 +61,11 @@
.DEFINE mem_display_flag ($c013)
; bit 0: if dialogue box is displayed
; bit 1: dialogue box first line should be bold
-; bit 2: if dialogue box text should be refreshed
+; bit 2: if dialogue box text should be refreshed (part1)
; bit 3: if side window box should be displayed
+; bit 4: if dialogue box text should be refreshed (part2)
+; bit 5: if object display is paused
+; bit 6: if additional tile should be loaded
.DEFINE mem_current_mode ($c014)
.DEFINE mem_requested_mode ($c015)
@@ -112,6 +116,12 @@
.DEFINE mem_blinking_animation_counter ($c036)
+.DEFINE mem_additional_loading_block_x ($c037)
+.DEFINE mem_additional_loading_block_y ($c038)
+.DEFINE mem_additional_loading_block_tile ($c039)
+.DEFINE mem_additional_loading_block_position_1 ($c03a)
+.DEFINE mem_additional_loading_block_position_2 ($c03b)
+
.DEFINE mem_next_free_head_lower_bytes ($c6ff)
.DEFINE mem_dungeon_generation_heads $c700 ; Takes the memory from c700 to c717