Difference between revisions of "Pikmin 2 Pikmin states"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(sorry for the lack of the frog element offset I tried every value I could there are still more values to get offsets for and see if they work so expect more)
(update states)
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Certain hitboxes in Pikmin 2 have unique identifiers that make pikmin do different actions which are applied to entities within the <code>.DOL</code> executable of the game.
+
Certain hitboxes in Pikmin 2 have unique identifiers that make Pikmin do different actions which are applied to entities within the <code>.DOL</code> executable of the game.
{{todo|Clean up and provide more information}}
+
{{todo|Find more addresses and fill in the placeholders. Perhaps add columns for other regions.}}
The following are offsets within the <code>.DOL</code> file for entities.
+
The following are memory addresses for entities.
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Entity || hitbox type/location || USA Offset
+
! Entity || Hitbox type/location || USA Address @ha || USA Address @l
 
|-
 
|-
| Captain || spicy spray (all following pikmin) || <code>13E09C</code>   
+
| Captain || Spicy spray (all following Pikmin) || <code>80141150</code> || <code>8014115C</code>   
 
|-
 
|-
| Man-At-Legs || Explosion on bullet impact || <code>2C127C</code>   
+
| Man-At-Legs || Explosion on bullet impact || <code>802C4328</code> || <code>802C433C</code>   
 
|-
 
|-
| Gatling Groink || Explosion on impact || <code>2EB540</code>   
+
| Gatling Groink || Explosion on impact || <code>802EE5F0</code> || <code>802EE600</code>   
 
|-
 
|-
| Any Bombs || Explosion in surrounding area when timer expires || <code>346B40</code>   
+
| Any Bombs || Explosion in surrounding area when timer expires || <code>80349BE4</code> || <code>80349C00</code>   
 
|-
 
|-
| Munge Dweevil || Poison attack || <code>2B6440</code>   
+
| Munge Dweevil || Poison attack || <code>802B94F0</code> || <code>802B9500</code>   
 
|-
 
|-
| Attena Beetle || Control whistle || <code>299BF0</code>   
+
| Antenna Beetle || Control whistle || <code>8029CCA4</code> || <code>8029CCB0</code>   
 
|-
 
|-
| Withering blowhog || Withering wind attack || <code>2A0C14</code>   
+
| Withering Blowhog || Withering wind attack || <code>802A3CC4</code> || <code>802A3CD4</code>   
 
|-
 
|-
| Emperor Bulblax || Panic when nearby Roar || <code>357DB8</code>   
+
| Emperor Bulblax || Panic when nearby Roar || <code>8035AE70</code> || <code>8035AE78</code>   
 
|-
 
|-
| Puffy Blowhog || Wind attack || <code>27E55C</code>   
+
| Puffy Blowhog || Wind attack || <code>802815DC</code> || <code>8028161C</code>   
 
|-
 
|-
| Gatling Groink || Wind on impact (surrounds explosion hitbox) || <code>2EB758</code>
+
| Gatling Groink || Wind on impact (surrounds explosion hitbox) || <code>802EE810</code> || <code>802EE818</code>
 
|-
 
|-
| {{unsure|Unknown}} || A Fire State || <code>26CE9C</code>   
+
| Broken Wires || Unused behavior for 2p battle (fire state) || <code>8026FF54</code> || <code>8026FF5C</code>   
 
|-
 
|-
| Fiery Bulblax || Fire surrounding the body || <code>28C910</code>
+
| Fiery Bulblax || Fire surrounding the body || <code>8028F9C0</code> || <code>8028F9D0</code>
 
|-
 
|-
| Fiery Blowhog || Fire attack || <code>29BD60</code>   
+
| Fiery Blowhog || Fire attack || <code>8029EE10</code> || <code>8029EE20</code>   
 
|-
 
|-
| Fiery Dweevil || Fire attack || <code>2B5374</code>   
+
| Fiery Dweevil || Fire attack || <code>802B8424</code> || <code>802B8434</code>   
 
|-
 
|-
| Mamuta || Bury flowers when slaming || <code>360244</code>   
+
| Mamuta || Bury flowers when slamming || <code>803632fc</code> || <code>80363304</code>   
 
|-
 
|-
| Both Snitch Bugs || Bury leaves when trowing pikmin || <code>270474</code>   
+
| Both Snitchbugs || Bury leaves when throwing pikmin || <code>80273524</code> || <code>80273534</code>   
 
|-
 
|-
| Electric Wall || Electrocute when touched || <code>146B50</code>   
+
| Electric Wall || Electrocute when touched || <code>80149C08</code> || <code>80149C10</code>   
 
|-
 
|-
| Broken Wires || Electrocute in between the wires || <code>26CE40</code>   
+
| Broken Wires || Electrocute in between the wires || <code>8026FEF0</code> || <code>8026FF00</code>   
 
|-
 
|-
| {{unsure|Unknown}} || An Electrocute State || <code>278084</code>   
+
| Anode Beetle || An electrocute state || <code>8027B134</code> || <code>8027B144</code>   
 
|-
 
|-
| Annode Beetle || Electrocute surrounding the body during attack || <code>278260</code>   
+
| Anode Beetle || Electrocute surrounding the body during attack || <code>8027B300</code> || <code>8027B320</code>   
 
|-
 
|-
| Annode Beetle || Electrocute in between connected beetles || <code>2B6D5C</code>   
+
| Anode Beetle || Electrocute between the attacking beetles || <code>8027C2F4</code> || <code>8027C304</code>   
 
|-
 
|-
| {{unsure|Unknown}} || An Electrocute State || <code>2F19B8</code>   
+
| Anode Dweevil || Electrocute underneath Dweevil || <code>802B9E0C</code> || <code>802B9E1C</code>   
 
|-
 
|-
| Watery Blowhog || Bubble attack || <code>27A04C</code>   
+
| Titan Dweevil || An electrocute state || <code>802F4A60</code> || <code>802F4A78</code>   
 
|-
 
|-
| Causic Dweevil || Bubble attack || <code>2B5BE4</code>   
+
| Watery Blowhog || Bubble attack || <code>8027D0FC</code> || <code>8027D10C</code>   
 
|-
 
|-
| {{unsure|Unknown}} || A Poison State || <code>2042A4</code>   
+
| Caustic Dweevil || Bubble attack || <code>802B8C94</code> || <code>802B8CA4</code>   
 
|-
 
|-
| Poison Geyser || Poison surrounding geyser || <code>26A660</code>   
+
| Ujadani || Poison when killed || <code>8020735C</code> || <code>80207364</code>   
 
|-
 
|-
| Doodle Bug || Poison fart clouds || <code>282818</code>   
+
| Poison Geyser || Poison surrounding geyser || <code>8026D710</code> || <code>8026D720</code>   
 
|-
 
|-
| {{unsure|Unknown}} || A Poison State || <code>2F0F00</code>   
+
| Doodle Bug || Poison fart clouds || <code>802858C8</code> || <code>802858D8</code>   
 
|-
 
|-
| Mitite || Panic near them || <code>36C51C</code>   
+
| Titan Dweevil || Gas attack || <code>802F3FB0</code> || <code>802F3FC0</code>   
 
|-
 
|-
| Emperess Bulblax || Crush when rolling over || <code>286E3C</code>   
+
| Mitite || Panic near them || <code>8036F5CC</code> || <code>8036F5DC</code>   
 
|-
 
|-
| Beady Long Legs || Crush when foot on ground || <code>2A2D88</code>   
+
| Empress Bulblax || Press when rolling over || <code>80289EEC</code> || <code>80289EFC</code>   
 
|-
 
|-
| Raging Long Legs || Crush when foot on ground || <code>2C54F8</code>   
+
| Beady Long Legs || Press when foot on ground || <code>802A5E38</code> || <code>802A5E48</code>   
 
|-
 
|-
| Emperor Bulblax || Crush underneath during slam || <code>357418</code>   
+
| Raging Long Legs || Press when foot on ground || <code>802C85A8</code> || <code>802C85B8</code>   
 
|-
 
|-
| Wraith rollers || Crush pikmin touching it || <code>3A9D8C</code>   
+
| Emperor Bulblax || Press underneath during slam || <code>8035A4C8</code> || <code>8035A4D8</code>   
 
|-
 
|-
| Segmented Crawbster || Crush when rolling over || <code>2F9A84</code>   
+
| Wraith rollers || Press Pikmin touching it || <code>803ACE3C</code> || <code>803ACE4C</code>   
 
|-
 
|-
| Rocks || Crush when rolling/landing on pikmin || <code>260638</code>   
+
| Segmented Crawbster || Press when rolling over || <code>802FCB34</code> || <code>802FCB44</code>   
 
|-
 
|-
| Any Enemy || Flick when pikmin are attached (will not effect grounded/swarming pikmin) || <code>110274</code>   
+
| Rocks || Press when rolling/landing on Pikmin || <code>802636E8</code> || <code>802636F8</code> 
 +
|-
 +
| Any Enemy || Flick when Pikmin are attached (will not effect grounded/swarming Pikmin) || <code>80113328</code> || <code>80113334</code>   
 +
|-
 +
| Waterwraith || Flick when Pikmin are in contact with the clear body (disabling this effect does not allow access to damaging the Waterwraith) || <code>803A7A4C</code> || <code>803A7A60</code>
 
|-
 
|-
 
|}
 
|}
  
{{todo|Find more pikmin state values}}
+
{{todo|Find more Pikmin state values}}
  
The following are IDs for different states.
+
The following are @l hex bytes for different states. Note that while most use <code>addi</code>, press uses <code>subi</code>.
 +
The @ha for most effects is <code>804b</code>, but the @ha for Press is <code>804a</code>.
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! state || ID
+
! state || @l hex (USA) || @l hex (Demo 1)
 +
|-
 +
| Spicy Spray || <code>49 98</code> || <code>48 D8</code>
 +
|-
 +
| Explosion || <code>49 2C</code> || <code>48 6C</code>
 
|-
 
|-
| Spicy Spray || <code>49 98</code>
+
| Poison || <code>48 0C</code> || <code>47 4C</code>
 
|-
 
|-
| Explosion || <code>49 2C</code>
+
| Control || <code>49 E0</code> || <code>49 20</code>
 
|-
 
|-
| Poison || <code>48 0C</code>
+
| Navi Whistle || <code>49 BC</code> || <code>48 FC</code>
 
|-
 
|-
| Control || <code>49 E0</code>
+
| Wither Wind || <code>49 50</code> || <code>48 90</code>
 
|-
 
|-
| Wither Wind || <code>49 50</code>
+
| Panic || <code>48 54</code> || <code>47 94</code>
 
|-
 
|-
| Panic || <code>48 54</code>
+
| Wind || <code>49 74</code> || <code>48 B4</code>
 
|-
 
|-
| Wind || <code>49 74</code>
+
| Fire || <code>48 78</code> || <code>47 B8</code>
 
|-
 
|-
| Fire || <code>48 78</code>
+
| Bury Flowers || <code>48 C0</code> || <code>48 00</code>
 
|-
 
|-
| Bury Flowers || <code>48 C0</code>
+
| Bury Leaves || <code>48 E4</code> || <code>48 24</code>
 
|-
 
|-
| Bury Leaves || <code>48 E4</code>
+
| Electrocute || <code>49 08</code> || <code>48 48</code>
 
|-
 
|-
| Electrocute || <code>49 08</code>
+
| Bubble || <code>48 30</code> || <code>47 70</code>
 
|-
 
|-
| Bubble || <code>48 30</code>
+
| Suck || <code>48 9C</code> || <code>47 DC</code>
 
|-
 
|-
| Crush || <code>B3 20</code>
+
| Flick || <code>4E 04</code> || <code>4D 44</code>
 
|-
 
|-
| Flick || <code>4E 04</code>
+
| Press || <code>B3 20</code> || <code>B2 60</code>
 
|-
 
|-
 
|}
 
|}

Latest revision as of 23:10, 13 June 2022

Certain hitboxes in Pikmin 2 have unique identifiers that make Pikmin do different actions which are applied to entities within the .DOL executable of the game.

To do: Find more addresses and fill in the placeholders. Perhaps add columns for other regions.

The following are memory addresses for entities.

Entity Hitbox type/location USA Address @ha USA Address @l
Captain Spicy spray (all following Pikmin) 80141150 8014115C
Man-At-Legs Explosion on bullet impact 802C4328 802C433C
Gatling Groink Explosion on impact 802EE5F0 802EE600
Any Bombs Explosion in surrounding area when timer expires 80349BE4 80349C00
Munge Dweevil Poison attack 802B94F0 802B9500
Antenna Beetle Control whistle 8029CCA4 8029CCB0
Withering Blowhog Withering wind attack 802A3CC4 802A3CD4
Emperor Bulblax Panic when nearby Roar 8035AE70 8035AE78
Puffy Blowhog Wind attack 802815DC 8028161C
Gatling Groink Wind on impact (surrounds explosion hitbox) 802EE810 802EE818
Broken Wires Unused behavior for 2p battle (fire state) 8026FF54 8026FF5C
Fiery Bulblax Fire surrounding the body 8028F9C0 8028F9D0
Fiery Blowhog Fire attack 8029EE10 8029EE20
Fiery Dweevil Fire attack 802B8424 802B8434
Mamuta Bury flowers when slamming 803632fc 80363304
Both Snitchbugs Bury leaves when throwing pikmin 80273524 80273534
Electric Wall Electrocute when touched 80149C08 80149C10
Broken Wires Electrocute in between the wires 8026FEF0 8026FF00
Anode Beetle An electrocute state 8027B134 8027B144
Anode Beetle Electrocute surrounding the body during attack 8027B300 8027B320
Anode Beetle Electrocute between the attacking beetles 8027C2F4 8027C304
Anode Dweevil Electrocute underneath Dweevil 802B9E0C 802B9E1C
Titan Dweevil An electrocute state 802F4A60 802F4A78
Watery Blowhog Bubble attack 8027D0FC 8027D10C
Caustic Dweevil Bubble attack 802B8C94 802B8CA4
Ujadani Poison when killed 8020735C 80207364
Poison Geyser Poison surrounding geyser 8026D710 8026D720
Doodle Bug Poison fart clouds 802858C8 802858D8
Titan Dweevil Gas attack 802F3FB0 802F3FC0
Mitite Panic near them 8036F5CC 8036F5DC
Empress Bulblax Press when rolling over 80289EEC 80289EFC
Beady Long Legs Press when foot on ground 802A5E38 802A5E48
Raging Long Legs Press when foot on ground 802C85A8 802C85B8
Emperor Bulblax Press underneath during slam 8035A4C8 8035A4D8
Wraith rollers Press Pikmin touching it 803ACE3C 803ACE4C
Segmented Crawbster Press when rolling over 802FCB34 802FCB44
Rocks Press when rolling/landing on Pikmin 802636E8 802636F8
Any Enemy Flick when Pikmin are attached (will not effect grounded/swarming Pikmin) 80113328 80113334
Waterwraith Flick when Pikmin are in contact with the clear body (disabling this effect does not allow access to damaging the Waterwraith) 803A7A4C 803A7A60


To do: Find more Pikmin state values

The following are @l hex bytes for different states. Note that while most use addi, press uses subi. The @ha for most effects is 804b, but the @ha for Press is 804a.

state @l hex (USA) @l hex (Demo 1)
Spicy Spray 49 98 48 D8
Explosion 49 2C 48 6C
Poison 48 0C 47 4C
Control 49 E0 49 20
Navi Whistle 49 BC 48 FC
Wither Wind 49 50 48 90
Panic 48 54 47 94
Wind 49 74 48 B4
Fire 48 78 47 B8
Bury Flowers 48 C0 48 00
Bury Leaves 48 E4 48 24
Electrocute 49 08 48 48
Bubble 48 30 47 70
Suck 48 9C 47 DC
Flick 4E 04 4D 44
Press B3 20 B2 60