match secret base func and fix struct

This commit is contained in:
DizzyEggg
2018-02-07 13:49:33 +01:00
parent ab5977e7e4
commit 96ab6f8353
6 changed files with 47 additions and 233 deletions

View File

@@ -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
{