Pokemon
API documention for the Prototype Pokemon.
Source code
Usage
var instance = new Pokemon(args);
...
instance.method(args);
Index
Constructor
Getters & Setters
(get) ability
(get) additionalData
(get) canSwim
(get) catchBall
(get) catchLocation
(get) catchMethod
(get) catchTrainer
(get) displayName
(get) EVs
(get) exp
(get) friendship
(get) gender
(get) giveEVs
(get) hp
(get) id
(get) isEgg
(get) isShiny
(get) item
(get) IVs
(get) level
(get) name
(get) nature
(get) nickname
(get) ot
(get) stats
(get) status
(get) translatedName
(get) types
(set) ability
(set) additionalData
(set) catchBall
(set) catchLocation
(set) catchMethod
(set) catchTrainer
(set) exp
(set) friendship
(set) gender
(set) hp
(set) isShiny
(set) item
(set) nature
(set) nickname
(set) ot
(set) status
Methods
Constructor

Signatures:
Arguments: string rawData
Usage: var p = new Pokemon(rawData);
Arguments: int id, int level, [string additionalData]
Usage: var p = new Pokemon(id, level, [additionalData]);
Variables
-- No Variables --
Getters & Setters

Type: Ability
Usage: var ability = p.ability;

Type: string
Usage: var additionalData = p.additionalData;

Type: bool
Usage: var canSwim = p.canSwim;

Type: Item
Usage: var catchBall = p.catchBall;

Type: string
Usage: var catchLocation = p.catchLocation;

Type: string
Usage: var catchMethod = p.catchMethod;

Type: string
Usage: var catchTrainer = p.catchTrainer;

Type: string
Usage: var displayName = p.displayName;

Type: object
Usage: var EVs = p.EVs;

Type: int
Usage: var exp = p.exp;

Type: int
Usage: var friendship = p.friendship;

Type: string
Usage: var gender = p.gender;

Type: object
Usage: var giveEVs = p.giveEVs;

Type: int
Usage: var hp = p.hp;

Type: int
Usage: var id = p.id;

Type: bool
Usage: var isEgg = p.isEgg;

Type: bool
Usage: var isShiny = p.isShiny;

Type: Item
Usage: var item = p.item;

Type: object
Usage: var IVs = p.IVs;

Type: int
Usage: var level = p.level;

Type: string
Usage: var name = p.name;

Type: int
Usage: var nature = p.nature;

Type: string
Usage: var nickname = p.nickname;

Type: string
Usage: var ot = p.ot;

Type: object
Usage: var stats = p.stats;

Type: string
Usage: var status = p.status;

Type: string
Usage: var translatedName = p.translatedName;


Type: Ability
Usage: p.ability = ability;

Type: string
Usage: p.additionalData = additionalData;

Type: Item
Usage: p.catchBall = catchBall;

Type: string
Usage: p.catchLocation = catchLocation;

Type: string
Usage: p.catchMethod = catchMethod;

Type: string
Usage: p.catchTrainer = catchTrainer;

Type: int
Usage: p.exp = exp;

Type: int
Usage: p.friendship = friendship;

Type: string
Usage: p.gender = gender;

Type: int
Usage: p.hp = hp;

Type: bool
Usage: p.isShiny = isShiny;

Type: Item
Usage: p.item = item;

Type: int
Usage: p.nature = nature;

Type: string
Usage: p.nickname = nickname;

Type: string
Usage: p.ot = ot;

Type: string
Usage: p.status = status;
Methods


Return: bool
Arguments: [string trigger], [string evolutionArg]
Usage: var result = p.canEvolve([trigger], [evolutionArg]);

Return: void
Usage: p.clearMoves();

Return: void
Usage: p.cry();


Static


Return: string
Usage: var result = p.getSprite();


Return: void
Usage: p.reload();



Indexers
-- No Indexers --