<?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_PC_Functions</id>
	<title>Molang PC 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_PC_Functions"/>
	<link rel="alternate" type="text/html" href="https://wiki.cobblemon.com/index.php?title=Molang_PC_Functions&amp;action=history"/>
	<updated>2026-05-10T06:58:47Z</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_PC_Functions&amp;diff=5775&amp;oldid=prev</id>
		<title>JPAKx4: Added PC Molang functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.cobblemon.com/index.php?title=Molang_PC_Functions&amp;diff=5775&amp;oldid=prev"/>
		<updated>2025-04-19T22:47:09Z</updated>

		<summary type="html">&lt;p&gt;Added PC Molang functions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Can also use [[Molang PokémonStore Functions|PokémonStore functions]]. Type is &amp;lt;code&amp;gt;ObjectValue&amp;lt;PCStore&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;get_pokemon(box: Int, slot: Int): MoValue&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns an &amp;lt;code&amp;gt;ObjectValue&amp;lt;Pokemon&amp;gt;&amp;lt;/code&amp;gt; of the pokemon at the supplied &amp;lt;code&amp;gt;box&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;slot&amp;lt;/code&amp;gt;. Returns &amp;lt;code&amp;gt;0.0&amp;lt;/code&amp;gt; if there is no Pokémon there.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pc.get_pokemon(0, 0)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;resize(newSize: Int, lockNewSize: Boolean?): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Resizes the PC with the supplied &amp;lt;code&amp;gt;newSize&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;lockNewSize&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; by default. Returns &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt;.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pc.resize(25)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;get_box_count(): Double&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|Returns the number of boxes as a Double.&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;kotlin&amp;quot;&amp;gt;v.pc.get_box_count()&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>JPAKx4</name></author>
	</entry>
</feed>