mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 06:19:29 +02:00
Update src/field/pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
37f2679ddb
commit
8393cb484e
@ -352,11 +352,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
return challengeAllowed.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the Pokemon is allowed to be in battle and if it is on the field
|
||||
* @param onField overrides if this Pokemon is on the field or not
|
||||
* @returns returns false if there is no scene otherwise it returns true
|
||||
*/
|
||||
isActive(onField?: boolean): boolean {
|
||||
if (!this.scene) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user