summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-05-10 15:41:34 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-05-10 15:41:34 -0400
commitce4afb494e2ce5d53f2c9afbf12f5ebe98f9e483 (patch)
tree35828e770649782d5dd6aafe89d211508b13b18b /home.asm
parentcf00317e16cdcb9b589d31e90a8dbe6288af95b0 (diff)
Change ReadJoypad.
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm8
1 files changed, 6 insertions, 2 deletions
diff --git a/home.asm b/home.asm
index bedc1712..f0dcd58b 100644
--- a/home.asm
+++ b/home.asm
@@ -113,10 +113,14 @@ Start::
jp Init
-ReadJoypad:
+ReadJoypad: ; 01c8 (0:01c8)
ld a,[H_LOADEDROMBANK]
push af
- call
+ call BankswitchCommon
+ call ReadJoypad_
+ pop af
+ jp BankswitchCommon
+
INCLUDE "data/map_header_pointers.asm"
INCLUDE "home/overworld.asm"