aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/e.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
committeryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
commitb36f793667924f868282ce979fabab3e95d642a5 (patch)
tree580af2e7c0afc016ccf7a31b44e98898321176ac /engine/battle/e.asm
parentUse macros to define predefs. (diff)
downloadpokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.gz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.xz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.zip
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'engine/battle/e.asm')
-rwxr-xr-xengine/battle/e.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/battle/e.asm b/engine/battle/e.asm
index 0cea797d..3e9f3685 100755
--- a/engine/battle/e.asm
+++ b/engine/battle/e.asm
@@ -855,8 +855,7 @@ ReadTrainer: ; 39c53 (e:5c53)
ld hl,wd047
ld c,2
push bc
- ld a,$B
- call Predef
+ predef AddBCDPredef
pop bc
inc de
inc de
@@ -1178,8 +1177,7 @@ Func_3a718: ; 3a718 (e:6718)
ld hl,Coord
xor a
ld [wListMenuID],a
- ld a,$48
- call Predef
+ predef UpdateHPBar2
jp DecrementAICount
Func_3a72a: ; 3a72a (e:672a)