mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
privated retrieveField
This commit is contained in:
parent
03ace56dc4
commit
f7b759ca7d
@ -937,7 +937,7 @@ class ImprisonTag extends ArenaTrapTag {
|
|||||||
* @param scene medium to retrieve the involved Pokemon
|
* @param scene medium to retrieve the involved Pokemon
|
||||||
* @returns list of PlayerPokemon or EnemyPokemon on the field
|
* @returns list of PlayerPokemon or EnemyPokemon on the field
|
||||||
*/
|
*/
|
||||||
retrieveField(scene: BattleScene): PlayerPokemon[] | EnemyPokemon[] {
|
private retrieveField(scene: BattleScene): PlayerPokemon[] | EnemyPokemon[] {
|
||||||
if (!this.source.isPlayer()) {
|
if (!this.source.isPlayer()) {
|
||||||
return scene.getPlayerField();
|
return scene.getPlayerField();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user