diff options
author | yenatch <yenatch@gmail.com> | 2014-05-25 17:27:02 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-25 17:27:02 -0700 |
commit | 4be11293e5c7d6bf4a2fc374974545a21a5e3572 (patch) | |
tree | dcba8275056711993a438ef3d8061e30e9a6e19f /engine/battle | |
parent | bba84059925c25e04fdcef5e4f3e2192176faf2d (diff) |
Label BCD math predefs.
Diffstat (limited to 'engine/battle')
-rwxr-xr-x | engine/battle/4_2.asm | 4 | ||||
-rwxr-xr-x | engine/battle/b_2.asm | 2 | ||||
-rwxr-xr-x | engine/battle/core.asm | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/4_2.asm b/engine/battle/4_2.asm index 264a74d7..891363f5 100755 --- a/engine/battle/4_2.asm +++ b/engine/battle/4_2.asm @@ -36,8 +36,8 @@ Func_137aa: ; 137aa (4:77aa) jr z, .asm_1380a ld de, wPlayerMoney + 2 ; $d349 ld c, $3 - ld a, $b - call Predef ; indirect jump to Func_f81d (f81d (3:781d)) + ld a, $b ; AddBCDPredef + call Predef ld hl, PickUpPayDayMoneyText call PrintText .asm_1380a diff --git a/engine/battle/b_2.asm b/engine/battle/b_2.asm index b71ca40d..00510ec7 100755 --- a/engine/battle/b_2.asm +++ b/engine/battle/b_2.asm @@ -120,7 +120,7 @@ PayDayEffect_ ; 2feb8 (b:7eb8) ld [hl], a ld de, $cce7 ld c, $3 - ld a, $b + ld a, $b ; AddBCDPredef call Predef ld hl, CoinsScatteredText ; $7f04 jp PrintText diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 48d075c0..d47e8d30 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -996,8 +996,8 @@ TrainerBattleVictory: ; 3c696 (f:4696) ld de, wPlayerMoney + 2 ; $d349 ld hl, $d07b ld c, $3 - ld a, $b - jp Predef ; indirect jump to Func_f81d (f81d (3:781d)) + ld a, $b ; AddBCDPredef + jp Predef MoneyForWinningText: ; 3c6e4 (f:46e4) TX_FAR _MoneyForWinningText |