changed documentation since Battle.playerFaints is not used in supreme overlord

This commit is contained in:
geeil-han 2025-01-28 13:57:04 +01:00
parent 1731fa4a41
commit 51e1ae150f

View File

@ -97,7 +97,7 @@ export class FaintPhase extends PokemonPhase {
const pokemon = this.getPokemon(); const pokemon = this.getPokemon();
// Track total times pokemon have been KO'd for supreme overlord/last respects // Track total times pokemon have been KO'd for last respect
if (pokemon.isPlayer()) { if (pokemon.isPlayer()) {
globalScene.currentBattle.playerFaints += 1; globalScene.currentBattle.playerFaints += 1;
globalScene.currentBattle.playerFaintsHistory.push({ pokemon: pokemon, turn: globalScene.currentBattle.turn }); globalScene.currentBattle.playerFaintsHistory.push({ pokemon: pokemon, turn: globalScene.currentBattle.turn });