summaryrefslogtreecommitdiff
path: root/home/overworld.asm
diff options
context:
space:
mode:
authorehw <Knuckles500@gmail.com>2018-06-04 22:40:18 -0400
committerGitHub <noreply@github.com>2018-06-04 22:40:18 -0400
commit35849f3cdf284cbb29d9ccaa81e10598cc7f6f81 (patch)
tree374014ce4704a294cfedbef890a8ed778242493e /home/overworld.asm
parent9bfcaa6549f46dfa58bc27999d995db080bdf132 (diff)
parentc0fdb258d360790e20e08e9e36e474aa4213325c (diff)
Merge pull request #3 from pret/master
Merge with master
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