Fixed Z-Move not being cleared if Pokémon faints

This commit is contained in:
Eduardo Quezada D'Ottone 2022-10-16 09:57:21 -03:00
parent 068422bc3f
commit dd2d6107bd

View File

@ -3303,6 +3303,11 @@ void FaintClearSetData(void)
}
}
}
// Clear Z-Move data
gBattleStruct->zmove.active = FALSE;
gBattleStruct->zmove.toBeUsed[gActiveBattler] = MOVE_NONE;
gBattleStruct->zmove.effect = EFFECT_HIT;
}
static void DoBattleIntro(void)