mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
changing a little bit
This commit is contained in:
parent
682e33e0e1
commit
c48c45e7a2
@ -45,7 +45,7 @@ export class FaintPhase extends PokemonPhase {
|
||||
}
|
||||
|
||||
/** In case the current pokemon was just switched in, make sure it is counted as participating in the combat */
|
||||
this.scene.getField().forEach((pokemon, i) => {
|
||||
this.scene.getPlayerField().forEach((pokemon, i) => {
|
||||
if (pokemon?.isActive()) {
|
||||
if (pokemon.isPlayer()) {
|
||||
this.scene.currentBattle.addParticipant(pokemon as PlayerPokemon);
|
||||
|
Loading…
Reference in New Issue
Block a user