summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-04-09 18:21:55 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-04-09 18:21:55 -0400
commit561c0c8ed0fde34d474f5460aae459dcd031c7b1 (patch)
tree9efec758f5f8e894aa4278798dfa048df9484fbb /home.asm
parent3caf9a43e308af32ba23fd672ba662d2ea4c091e (diff)
Replace bankswitch jumps with jpab, also fix hardcoded bank reference.
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm4
1 files changed, 1 insertions, 3 deletions
diff --git a/home.asm b/home.asm
index 7c6a0aad..233b00be 100644
--- a/home.asm
+++ b/home.asm
@@ -4741,9 +4741,7 @@ IsInRestOfArray:: ; 3da9 (0:3da9)
ret
InitMapSprites:: ; 3dba (0:3dba)
- ld hl, _InitMapSprites ; 1401b (5:401b)
- ld b,BANK(_InitMapSprites)
- jp Bankswitch
+ jpab _InitMapSprites
RestoreScreenTilesAndReloadTilePatterns:: ; 3dc2 (0:3dc2)
call ClearSprites