summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-02-07 09:34:32 -0600
committerGitHub <noreply@github.com>2018-02-07 09:34:32 -0600
commitdb97098b916716bc536465d961acefcc5af2b2e3 (patch)
treed7ab50dce1f5a9c17cb70f252d7302d3dda61ff6 /src/battle_script_commands.c
parentc9ef0be15d79068f5df9f7360f35346dd1ee6b54 (diff)
parentb3a94a359f3412503d8bab5ef99e91d2bdd92ebb (diff)
Merge pull request #204 from DizzyEggg/match_nonmatchings
Match a couple of nonmatching functions
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index c7976fc2a..dbd3375bc 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -6226,7 +6226,7 @@ static u32 GetTrainerMoneyToGive(u16 trainerId)
if (trainerId == SECRET_BASE_OPPONENT)
{
- moneyReward = 20 * gBattleResources->secretBase->partyLevels[0] * gBattleStruct->moneyMultiplier;
+ moneyReward = 20 * gBattleResources->secretBase->party.levels[0] * gBattleStruct->moneyMultiplier;
}
else
{