Fix recharging moves causing a crash

This commit is contained in:
Flashfyre committed 2023-11-27 13:47:32 -05:00
1 parent c34eb05083
commit 2fcd7e20fa
4 files changed
+11 -8

No files matched your search

-1
View File
@@ -110,7 +110,6 @@ export class RechargingTag extends BattlerTag {
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
super.lapse(pokemon, lapseType);
(pokemon.scene.getCurrentPhase() as MovePhase).cancel();
pokemon.scene.queueMessage(getPokemonMessage(pokemon, ' must\nrecharge!'));
return true;