aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/1.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/1.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/1.asm')
-rwxr-xr-xengine/battle/1.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/battle/1.asm b/engine/battle/1.asm
index ace29477..7e744dba 100755
--- a/engine/battle/1.asm
+++ b/engine/battle/1.asm
@@ -76,12 +76,9 @@ Func_7861: ; 7861 (1:7861)
xor a
.asm_78aa
ld [wListMenuID], a ; wListMenuID
- ld a, $48
- call Predef
- ld a, $0
- call Predef
- ld a, $49
- call Predef
+ predef UpdateHPBar2
+ predef Func_3cd60
+ predef Func_3cdec
callab ReadPlayerMonCurHPAndStatus
ld hl, SuckedHealthText ; $78dc
ld a, [H_WHOSETURN] ; $fff3