Fix some bugs
This commit is contained in:
1 parent
4d69d3b219
commit
3b238737a1
2 files changed
+2
-2
No files matched your search
@@ -598,7 +598,7 @@ export class TurnEndPhase extends BattlePhase {
|
||||
const enemyPokemon = this.scene.getEnemyPokemon();
|
||||
|
||||
const handlePokemon = (pokemon: Pokemon) => {
|
||||
if (!pokemon)
|
||||
if (!pokemon || !pokemon.hp)
|
||||
return;
|
||||
|
||||
pokemon.lapseTags(BattleTagLapseType.TURN_END);
|
||||
|
||||
Reference in new issue
Block a user