Fix Eiscue not resetting back to Ice Face form after battle. (#6997)

This commit is contained in:
Vex 2025-05-28 03:43:38 -07:00 committed by GitHub
parent 7da5121b6c
commit ecb20b2a25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2802,6 +2802,9 @@ static void Cmd_resultmessage(void)
if (gDisableStructs[gBattlerTarget].iceFaceActivationPrevention)
{
gDisableStructs[gBattlerTarget].iceFaceActivationPrevention = FALSE;
u32 side = GetBattlerSide(gBattlerTarget);
if (gBattleStruct->changedSpecies[side][gBattlerPartyIndexes[gBattlerTarget]] == SPECIES_NONE)
gBattleStruct->changedSpecies[side][gBattlerPartyIndexes[gBattlerTarget]] = gBattleMons[gBattlerTarget].species;
gBattleMons[gBattlerTarget].species = SPECIES_EISCUE_NOICE;
gBattleScripting.battler = gBattlerTarget; // For STRINGID_PKMNTRANSFORMED
BattleScriptPushCursor();