"{Pokemon} used {Fire-type move}!" now displays before Powder activation

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
This commit is contained in:
PigeonBar 2024-12-02 22:53:41 -05:00 committed by GitHub
parent 0ccb9df405
commit f8db781357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -888,6 +888,7 @@ export class PowderTag extends BattlerTag {
const weather = pokemon.scene.arena.weather;
if (pokemon.getMoveType(move) === Type.FIRE && !(weather && weather.weatherType === WeatherType.HEAVY_RAIN && !weather.isEffectSuppressed(pokemon.scene))) {
movePhase.fail();
movePhase.showMoveText();
pokemon.scene.unshiftPhase(new CommonAnimPhase(pokemon.scene, pokemon.getBattlerIndex(), pokemon.getBattlerIndex(), CommonAnim.POWDER));