summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-23 09:05:26 -0400
committerGitHub <noreply@github.com>2019-10-23 09:05:26 -0400
commit6e36c229200e083ca005cbc448e99210d111f3b2 (patch)
treeaec86bd0f081a7ff207f68cba33315991b629be1 /src/battle_script_commands.c
parent4bc284ff2c7d0ec3f24df8d94a77860fbaed588b (diff)
parent3efd2e1210b4149628197446d063df0fc11281ab (diff)
Merge pull request #130 from PikalaxALT/trainers
Trainers, event flags, mystery_event_msg, map object gfx
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index ecc8e3d36..3de2a6dea 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -5229,7 +5229,7 @@ static void atk5D_getmoneyreward(void)
}
else
{
- moneyReward = sub_8054C04();
+ moneyReward = ComputeWhiteOutMoneyLoss();
}
PREPARE_WORD_NUMBER_BUFFER(gBattleTextBuff1, 5, moneyReward);
if (moneyReward)
@@ -5411,7 +5411,7 @@ static void atk5D_getmoneyreward(void)
bl AddMoney\n\
b _08025A00\n\
_080259FA:\n\
- bl sub_8054C04\n\
+ bl ComputeWhiteOutMoneyLoss\n\
adds r4, r0, 0\n\
_08025A00:\n\
ldr r1, _08025A40 @ =gBattleTextBuff1\n\