<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cobblemon.com/index.php?action=history&amp;feed=atom&amp;title=Molang_Pok%C3%A9mon_Functions</id>
	<title>Molang Pokémon Functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cobblemon.com/index.php?action=history&amp;feed=atom&amp;title=Molang_Pok%C3%A9mon_Functions"/>
	<link rel="alternate" type="text/html" href="https://wiki.cobblemon.com/index.php?title=Molang_Pok%C3%A9mon_Functions&amp;action=history"/>
	<updated>2026-05-10T06:56:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://wiki.cobblemon.com/index.php?title=Molang_Pok%C3%A9mon_Functions&amp;diff=5770&amp;oldid=prev</id>
		<title>JPAKx4: Added Molang Pokemon Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.cobblemon.com/index.php?title=Molang_Pok%C3%A9mon_Functions&amp;diff=5770&amp;oldid=prev"/>
		<updated>2025-04-19T22:38:48Z</updated>

		<summary type="html">&lt;p&gt;Added Molang Pokemon Functions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Type is &amp;lt;code&amp;gt;ObjectValue&amp;lt;Pokemon&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
{| class=&amp;quot;wikitable fixed-header sortable&amp;quot;&lt;br /&gt;
!Name!!Description!!Usage&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;id(): String&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the UUID of the Pokémon as a String.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.id()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;level(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the level of the Pokémon as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.level()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;max_hp(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the max hp of the Pokémon as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.hp()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;current_hp(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the current hp of the Pokémon as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.current_hp()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;friendship(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the friendship of the Pokémon as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.friendship()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;evs(): QueryStruct&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns all evs of the Pokémon as a &amp;lt;code&amp;gt;QueryStruct&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.evs()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;ivs(): QueryStuct&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns all ivs of the Pokémon as a &amp;lt;code&amp;gt;QueryStruct&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.ivs()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;is_wild(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt; if the Pokémon is wild, otherwise returns &amp;lt;code&amp;gt;0.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.is_wild()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;is_shiny(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt; if the Pokémon is shiny, otherwise returns &amp;lt;code&amp;gt;0.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.is_shiny()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;species(): ObjectValue&amp;lt;Species&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns an ObjectValue&amp;lt;Species&amp;gt; of the Pokémon&amp;#039;s species.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.species()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;form(): String&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the form as a String.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.form()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;weight: Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the weight of the Pokémon as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.weight()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;matches(properties: String): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt; if the Pokémon matches the &amp;lt;code&amp;gt;properties&amp;lt;/code&amp;gt; String, otherwise returns &amp;lt;code&amp;gt;0.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.matches(&amp;#039;gender=male&amp;#039;)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;apply(properties: String): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Applies the &amp;lt;code&amp;gt;properties&amp;lt;/code&amp;gt; to the Pokémon. Returns &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.apply(&amp;#039;gender=male&amp;#039;)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;owner(): MoValue&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the Pokémon&amp;#039;s owner as a &amp;lt;code&amp;gt;ObjectValue&amp;lt;Player&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;0.0&amp;lt;/code&amp;gt; if there is no owner.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pokemon.owner()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>JPAKx4</name></author>
	</entry>
</feed>