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
constructor
Signatures:
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
(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
Type: Ability
Usage: var ability = p.ability;
(get) additionalData
Type: string
Usage: var additionalData = p.additionalData;
(get) canSwim
Type: bool
Usage: var canSwim = p.canSwim;
(get) catchBall
Type: Item
Usage: var catchBall = p.catchBall;
(get) catchLocation
Type: string
Usage: var catchLocation = p.catchLocation;
(get) catchMethod
Type: string
Usage: var catchMethod = p.catchMethod;
(get) catchTrainer
Type: string
Usage: var catchTrainer = p.catchTrainer;
(get) displayName
Type: string
Usage: var displayName = p.displayName;
(get) EVs
Type: object
Usage: var EVs = p.EVs;
(get) exp
Type: int
Usage: var exp = p.exp;
(get) friendship
Type: int
Usage: var friendship = p.friendship;
(get) gender
Type: string
Usage: var gender = p.gender;
(get) giveEVs
Type: object
Usage: var giveEVs = p.giveEVs;
(get) hp
Type: int
Usage: var hp = p.hp;
(get) id
Type: int
Usage: var id = p.id;
(get) isEgg
Type: bool
Usage: var isEgg = p.isEgg;
(get) isShiny
Type: bool
Usage: var isShiny = p.isShiny;
(get) item
Type: Item
Usage: var item = p.item;
(get) IVs
Type: object
Usage: var IVs = p.IVs;
(get) level
Type: int
Usage: var level = p.level;
(get) name
Type: string
Usage: var name = p.name;
(get) nature
Type: int
Usage: var nature = p.nature;
(get) nickname
Type: string
Usage: var nickname = p.nickname;
(get) ot
Type: string
Usage: var ot = p.ot;
(get) stats
Type: object
Usage: var stats = p.stats;
(get) status
Type: string
Usage: var status = p.status;
(get) translatedName
Type: string
Usage: var translatedName = p.translatedName;
(get) types
(set) ability
Type: Ability
Usage: p.ability = ability;
(set) additionalData
Type: string
Usage: p.additionalData = additionalData;
(set) catchBall
Type: Item
Usage: p.catchBall = catchBall;
(set) catchLocation
Type: string
Usage: p.catchLocation = catchLocation;
(set) catchMethod
Type: string
Usage: p.catchMethod = catchMethod;
(set) catchTrainer
Type: string
Usage: p.catchTrainer = catchTrainer;
(set) exp
Type: int
Usage: p.exp = exp;
(set) friendship
Type: int
Usage: p.friendship = friendship;
(set) gender
Type: string
Usage: p.gender = gender;
(set) hp
Type: int
Usage: p.hp = hp;
(set) isShiny
Type: bool
Usage: p.isShiny = isShiny;
(set) item
Type: Item
Usage: p.item = item;
(set) nature
Type: int
Usage: p.nature = nature;
(set) nickname
Type: string
Usage: p.nickname = nickname;
(set) ot
Type: string
Usage: p.ot = ot;
(set) status
Type: string
Usage: p.status = status;
Methods
addMove
canEvolve
clearMoves
cry
getLegendaryIds
Static
getMoves
getSprite
heal
reload
removeMoveAt
setEV
setIV
canEvolve
Return: bool
Arguments: [string trigger], [string evolutionArg]
Usage: var result = p.canEvolve([trigger], [evolutionArg]);
clearMoves
Return: void
Usage: p.clearMoves();
cry
Return: void
Usage: p.cry();
getLegendaryIds
Static
getMoves
getSprite
Return: string
Usage: var result = p.getSprite();
heal
reload
Return: void
Usage: p.reload();
removeMoveAt
setEV
setIV
Indexers
-- No Indexers --