aboutsummaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-09-02 16:12:20 +0200
committerAstatin <[email protected]>2025-09-02 16:12:20 +0200
commit1c4d3df6acdea1b49c23e2eada105535cf83a1da (patch)
tree58392f18c6373a246cb990d17dfcdcf687e3ca7e /modes
parent312fad238b2f0dfcb904b572e545dd85984167d8 (diff)
Add campsite map
Diffstat (limited to 'modes')
-rw-r--r--modes/dungeon.gbasm10
1 files changed, 10 insertions, 0 deletions
diff --git a/modes/dungeon.gbasm b/modes/dungeon.gbasm
index 2962913..044cd53 100644
--- a/modes/dungeon.gbasm
+++ b/modes/dungeon.gbasm
@@ -185,6 +185,16 @@ Dungeon_VBLANK_Entrypoint:
CALL =Display_Prepared_Blocks
CALL =Display_Object
+ LD A, $mem_dungeon_flags
+ BIT 5, A
+ JR Z, =.skip_custom_function
+ LD A, ($mem_dungeon_custom_vblank_function+1)
+ LD D, A
+ LD A, ($mem_dungeon_custom_vblank_function+2)
+ LD E, A
+ LD A, ($mem_dungeon_custom_vblank_function)
+ .BANK_CALL_A_DE
+ .skip_custom_function:
; LYC
.ENABLE_LYC_INTERRUPT