Type is ObjectValue<Pokemon>.

Name Description Usage
id(): String
Returns the UUID of the Pokémon as a String.
v.pokemon.id()
level(): Double
Returns the level of the Pokémon as a Double.
v.pokemon.level()
max_hp(): Double
Returns the max hp of the Pokémon as a Double.
v.pokemon.hp()
current_hp(): Double
Returns the current hp of the Pokémon as a Double.
v.pokemon.current_hp()
friendship(): Double
Returns the friendship of the Pokémon as a Double.
v.pokemon.friendship()
evs(): QueryStruct
Returns all evs of the Pokémon as a QueryStruct.
v.pokemon.evs()
ivs(): QueryStuct
Returns all ivs of the Pokémon as a QueryStruct.
v.pokemon.ivs()
is_wild(): Double
Returns 1.0 if the Pokémon is wild, otherwise returns 0.0.
v.pokemon.is_wild()
is_shiny(): Double
Returns 1.0 if the Pokémon is shiny, otherwise returns 0.0.
v.pokemon.is_shiny()
species(): ObjectValue<Species>
Returns an ObjectValue<Species> of the Pokémon's species.
v.pokemon.species()
form(): String
Returns the form as a String.
v.pokemon.form()
weight: Double
Returns the weight of the Pokémon as a Double.
v.pokemon.weight()
matches(properties: String): Double
Returns 1.0 if the Pokémon matches the properties String, otherwise returns 0.0.
v.pokemon.matches('gender=male')
apply(properties: String): Double
Applies the properties to the Pokémon. Returns 1.0.
v.pokemon.apply('gender=male')
owner(): MoValue
Returns the Pokémon's owner as a ObjectValue<Player> or 0.0 if there is no owner.
v.pokemon.owner()