diff options
author | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
commit | b36f793667924f868282ce979fabab3e95d642a5 (patch) | |
tree | 580af2e7c0afc016ccf7a31b44e98898321176ac /scripts/daycarem.asm | |
parent | d10108a066c102bf2d167ac656d79308e41f304e (diff) |
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/daycarem.asm')
-rwxr-xr-x | scripts/daycarem.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/daycarem.asm b/scripts/daycarem.asm index b584c4ed..e463d380 100755 --- a/scripts/daycarem.asm +++ b/scripts/daycarem.asm @@ -120,8 +120,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) push hl push de push bc - ld a, $b ; AddBCDPredef - call Predef + predef AddBCDPredef pop bc pop de pop hl @@ -156,8 +155,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) inc hl ld de, wPlayerMoney + 2 ld c, $3 - ld a, $c ; SubBCDPredef - call Predef + predef SubBCDPredef ld a, (SFX_02_5a - SFX_Headers_02) / 3 call PlaySoundWaitForCurrent ld a, $13 @@ -181,8 +179,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) ld e, l ld a, $1 ld [wHPBarMaxHP], a - ld a, $3e - call Predef + predef WriteMonMoves pop bc pop af ld hl, wPartyMon1HP |