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
constructorSignatures:
Arguments: string rawDataUsage: 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) abilityType: AbilityUsage: var ability = p.ability;
(get) additionalDataType: stringUsage: var additionalData = p.additionalData;
(get) canSwimType: boolUsage: var canSwim = p.canSwim;
(get) catchBallType: ItemUsage: var catchBall = p.catchBall;
(get) catchLocationType: stringUsage: var catchLocation = p.catchLocation;
(get) catchMethodType: stringUsage: var catchMethod = p.catchMethod;
(get) catchTrainerType: stringUsage: var catchTrainer = p.catchTrainer;
(get) displayNameType: stringUsage: var displayName = p.displayName;
(get) EVsType: objectUsage: var EVs = p.EVs;
(get) expType: intUsage: var exp = p.exp;
(get) friendshipType: intUsage: var friendship = p.friendship;
(get) genderType: stringUsage: var gender = p.gender;
(get) giveEVsType: objectUsage: var giveEVs = p.giveEVs;
(get) hpType: intUsage: var hp = p.hp;
(get) idType: intUsage: var id = p.id;
(get) isEggType: boolUsage: var isEgg = p.isEgg;
(get) isShinyType: boolUsage: var isShiny = p.isShiny;
(get) itemType: ItemUsage: var item = p.item;
(get) IVsType: objectUsage: var IVs = p.IVs;
(get) levelType: intUsage: var level = p.level;
(get) nameType: stringUsage: var name = p.name;
(get) natureType: intUsage: var nature = p.nature;
(get) nicknameType: stringUsage: var nickname = p.nickname;
(get) otType: stringUsage: var ot = p.ot;
(get) statsType: objectUsage: var stats = p.stats;
(get) statusType: stringUsage: var status = p.status;
(get) translatedNameType: stringUsage: var translatedName = p.translatedName;
(get) types
(set) abilityType: AbilityUsage: p.ability = ability;
(set) additionalDataType: stringUsage: p.additionalData = additionalData;
(set) catchBallType: ItemUsage: p.catchBall = catchBall;
(set) catchLocationType: stringUsage: p.catchLocation = catchLocation;
(set) catchMethodType: stringUsage: p.catchMethod = catchMethod;
(set) catchTrainerType: stringUsage: p.catchTrainer = catchTrainer;
(set) expType: intUsage: p.exp = exp;
(set) friendshipType: intUsage: p.friendship = friendship;
(set) genderType: stringUsage: p.gender = gender;
(set) hpType: intUsage: p.hp = hp;
(set) isShinyType: boolUsage: p.isShiny = isShiny;
(set) itemType: ItemUsage: p.item = item;
(set) natureType: intUsage: p.nature = nature;
(set) nicknameType: stringUsage: p.nickname = nickname;
(set) otType: stringUsage: p.ot = ot;
(set) statusType: stringUsage: p.status = status;Methods
addMove
canEvolveReturn: boolArguments: [string trigger], [string evolutionArg]Usage: var result = p.canEvolve([trigger], [evolutionArg]);
clearMovesReturn: voidUsage: p.clearMoves();
cryReturn: voidUsage: p.cry();
getLegendaryIdsStatic
getMoves
getSpriteReturn: stringUsage: var result = p.getSprite();
heal
reloadReturn: voidUsage: p.reload();
removeMoveAt
setEV
setIVIndexers
-- No Indexers --
Pokemon3D Script API Documentation
Articles