pokerogue/src/enums/battler-index.ts
2025-06-09 23:11:14 -04:00

12 lines
233 B
TypeScript

/**
* The index of a given Pokemon on-field.
* Used as an index into `globalScene.getField`, as well as for most target-specifying effects.
*/
export enum BattlerIndex {
ATTACKER = -1,
PLAYER,
PLAYER_2,
ENEMY,
ENEMY_2
}