diff options
author | YamaArashi <shadow962@live.com> | 2015-07-19 11:56:13 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-19 11:56:13 -0700 |
commit | 02bd91b7076165653a900a8e39c12a92a9bd2976 (patch) | |
tree | 90590dc9f3b05eb19697ba81ec3467ac533c8f1b /home/overworld.asm | |
parent | 64b4cf624fe2175e2c7539b91bc41b6dae28a00e (diff) |
jpab/jpba macros
Diffstat (limited to 'home/overworld.asm')
-rw-r--r-- | home/overworld.asm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/home/overworld.asm b/home/overworld.asm index 13cce7ee..5b8759dd 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -1,9 +1,7 @@ HandleMidJump:: ; Handle the player jumping down ; a ledge in the overworld. - ld b, BANK(_HandleMidJump) - ld hl, _HandleMidJump - jp Bankswitch + jpba _HandleMidJump EnterMap:: ; Load a new map. @@ -355,9 +353,7 @@ NewBattle:: ; 0683 (0:0683) ld a,[wd72e] bit 4,a jr nz,.noBattle - ld b, BANK(InitBattle) - ld hl, InitBattle - jp Bankswitch + jpba InitBattle .noBattle and a ret @@ -783,9 +779,7 @@ HandleFlyWarpOrDungeonWarp:: jp SpecialEnterMap LeaveMapAnim:: - ld b, BANK(_LeaveMapAnim) - ld hl, _LeaveMapAnim - jp Bankswitch + jpba _LeaveMapAnim LoadPlayerSpriteGraphics:: ; Load sprite graphics based on whether the player is standing, biking, or surfing. |