Fix recharging moves causing a crash
This commit is contained in:
1 parent
c34eb05083
commit
2fcd7e20fa
4 files changed
+11
-8
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user