diff options
Diffstat (limited to 'modes/dungeon.gbasm')
-rw-r--r-- | modes/dungeon.gbasm | 10 |
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 |