aboutsummaryrefslogtreecommitdiffstats
path: root/home/pikachu.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
commit6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch)
treeb024aa8480912ebf2667184068466ee7f354012c /home/pikachu.asm
parentMerge pull request #59 from Rangi42/master (diff)
downloadpokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.gz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.xz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.zip
Organize home and macro code
Diffstat (limited to 'home/pikachu.asm')
-rwxr-xr-xhome/pikachu.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/pikachu.asm b/home/pikachu.asm
index c9c94635..ae6acfe3 100755
--- a/home/pikachu.asm
+++ b/home/pikachu.asm
@@ -108,7 +108,9 @@ ApplyPikachuMovementData::
ldh a, [hLoadedROMBank]
ld b, a
push af
- callbs ApplyPikachuMovementData_
+ ld a, BANK(ApplyPikachuMovementData_)
+ call BankswitchCommon
+ call ApplyPikachuMovementData_
pop af
call BankswitchCommon
ret