summaryrefslogtreecommitdiff
path: root/engine/battle
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-25 17:27:02 -0700
committeryenatch <yenatch@gmail.com>2014-05-25 17:27:02 -0700
commit4be11293e5c7d6bf4a2fc374974545a21a5e3572 (patch)
treedcba8275056711993a438ef3d8061e30e9a6e19f /engine/battle
parentbba84059925c25e04fdcef5e4f3e2192176faf2d (diff)
Label BCD math predefs.
Diffstat (limited to 'engine/battle')
-rwxr-xr-xengine/battle/4_2.asm4
-rwxr-xr-xengine/battle/b_2.asm2
-rwxr-xr-xengine/battle/core.asm4
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