mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Fix money amount printed on whiteout (#9517)
This commit is contained in:
parent
9e8272da39
commit
eada46a5ed
|
|
@ -6235,6 +6235,8 @@ static void Cmd_getmoneyreward(void)
|
||||||
}
|
}
|
||||||
money = sWhiteOutBadgeMoney[count] * sPartyLevel;
|
money = sWhiteOutBadgeMoney[count] * sPartyLevel;
|
||||||
}
|
}
|
||||||
|
if (!IsEnoughMoney(&gSaveBlock1Ptr->money, money))
|
||||||
|
money = GetMoney(&gSaveBlock1Ptr->money);
|
||||||
RemoveMoney(&gSaveBlock1Ptr->money, money);
|
RemoveMoney(&gSaveBlock1Ptr->money, money);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user