summaryrefslogtreecommitdiff
path: root/home/overworld.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/overworld.asm')
-rw-r--r--home/overworld.asm12
1 files changed, 3 insertions, 9 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 2a4671a..4b10b72 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -17,20 +17,14 @@ if DEBUG
ld a, [wce63]
bit 1, a
ret z ; debug disabled
- ld a, BANK(InGameDebugMenu)
- ld hl, InGameDebugMenu
- call FarCall_hl
+ callba InGameDebugMenu
jr CheckStartmenuSelectHook
.regularMenu
endc
- ld a, BANK(DisplayStartMenu)
- ld hl, DisplayStartMenu
- call FarCall_hl
+ callba DisplayStartMenu
jr CheckStartmenuSelectHook
SelectButtonFunction:: ; 2c2a (0:2c2a)
- ld hl, CheckRegisteredItem
- ld a, BANK(CheckRegisteredItem)
- call FarCall_hl
+ callab CheckRegisteredItem
CheckStartmenuSelectHook:
ldh a, [hStartmenuCloseAndSelectHookEnable]
and a