Difference between revisions of "Pikmin 2 Pikmin states"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(updated knowledge)
(update states)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
The following are memory addresses for entities.
 
The following are memory addresses for entities.
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Entity || Hitbox type/location || USA Address @h || USA Address @l
+
! Entity || Hitbox type/location || USA Address @ha || USA Address @l
 
|-
 
|-
 
| Captain || Spicy spray (all following Pikmin) || <code>80141150</code> || <code>8014115C</code>   
 
| Captain || Spicy spray (all following Pikmin) || <code>80141150</code> || <code>8014115C</code>   
Line 9: Line 9:
 
| Man-At-Legs || Explosion on bullet impact || <code>802C4328</code> || <code>802C433C</code>   
 
| Man-At-Legs || Explosion on bullet impact || <code>802C4328</code> || <code>802C433C</code>   
 
|-
 
|-
| Gatling Groink || Explosion on impact || <code>placeholder</code> || <code>802EE600</code>   
+
| Gatling Groink || Explosion on impact || <code>802EE5F0</code> || <code>802EE600</code>   
 
|-
 
|-
| Any Bombs || Explosion in surrounding area when timer expires || <code>placeholder</code> || <code>80349C00</code>   
+
| Any Bombs || Explosion in surrounding area when timer expires || <code>80349BE4</code> || <code>80349C00</code>   
 
|-
 
|-
| Munge Dweevil || Poison attack || <code>placeholder</code> || <code>802B9500</code>   
+
| Munge Dweevil || Poison attack || <code>802B94F0</code> || <code>802B9500</code>   
 
|-
 
|-
| Antenna Beetle || Control whistle || <code>placeholder</code> || <code>8029CCB0</code>   
+
| Antenna Beetle || Control whistle || <code>8029CCA4</code> || <code>8029CCB0</code>   
 
|-
 
|-
| Withering Blowhog || Withering wind attack || <code>placeholder</code> || <code>802A3CD4</code>   
+
| Withering Blowhog || Withering wind attack || <code>802A3CC4</code> || <code>802A3CD4</code>   
 
|-
 
|-
| Emperor Bulblax || Panic when nearby Roar || <code>placeholder</code> || <code>8035AE78</code>   
+
| Emperor Bulblax || Panic when nearby Roar || <code>8035AE70</code> || <code>8035AE78</code>   
 
|-
 
|-
| Puffy Blowhog || Wind attack || <code>placeholder</code> || <code>8028161C</code>   
+
| Puffy Blowhog || Wind attack || <code>802815DC</code> || <code>8028161C</code>   
 
|-
 
|-
| Gatling Groink || Wind on impact (surrounds explosion hitbox) || <code>placeholder</code> || <code>802EE818</code>
+
| Gatling Groink || Wind on impact (surrounds explosion hitbox) || <code>802EE810</code> || <code>802EE818</code>
 
|-
 
|-
| Broken Wires || Unused behavior for 2p battle (fire state) || <code>placeholder</code> || <code>8026FF5C</code>   
+
| Broken Wires || Unused behavior for 2p battle (fire state) || <code>8026FF54</code> || <code>8026FF5C</code>   
 
|-
 
|-
| Fiery Bulblax || Fire surrounding the body || <code>placeholder</code> || <code>8028F9D0</code>
+
| Fiery Bulblax || Fire surrounding the body || <code>8028F9C0</code> || <code>8028F9D0</code>
 
|-
 
|-
| Fiery Blowhog || Fire attack || <code>placeholder</code> || <code>8029EE20</code>   
+
| Fiery Blowhog || Fire attack || <code>8029EE10</code> || <code>8029EE20</code>   
 
|-
 
|-
| Fiery Dweevil || Fire attack || <code>placeholder</code> || <code>802B8434</code>   
+
| Fiery Dweevil || Fire attack || <code>802B8424</code> || <code>802B8434</code>   
 
|-
 
|-
 
| Mamuta || Bury flowers when slamming || <code>803632fc</code> || <code>80363304</code>   
 
| Mamuta || Bury flowers when slamming || <code>803632fc</code> || <code>80363304</code>   
 
|-
 
|-
| Both Snitchbugs || Bury leaves when throwing pikmin || <code>placeholder</code> || <code>80273534</code>   
+
| Both Snitchbugs || Bury leaves when throwing pikmin || <code>80273524</code> || <code>80273534</code>   
 
|-
 
|-
| Electric Wall || Electrocute when touched || <code>placeholder</code> || <code>80149C10</code>   
+
| Electric Wall || Electrocute when touched || <code>80149C08</code> || <code>80149C10</code>   
 
|-
 
|-
| Broken Wires || Electrocute in between the wires || <code>placeholder</code> || <code>8026FF00</code>   
+
| Broken Wires || Electrocute in between the wires || <code>8026FEF0</code> || <code>8026FF00</code>   
 
|-
 
|-
| Anode Beetle || An electrocute state || <code>placeholder</code> || <code>8027B144</code>   
+
| Anode Beetle || An electrocute state || <code>8027B134</code> || <code>8027B144</code>   
 
|-
 
|-
| Anode Beetle || Electrocute surrounding the body during attack || <code>placeholder</code> || <code>8027B320</code>   
+
| Anode Beetle || Electrocute surrounding the body during attack || <code>8027B300</code> || <code>8027B320</code>   
 
|-
 
|-
| Anode Beetle || Electrocute between the attacking beetles || <code>placeholder</code> || <code>8027C304</code>   
+
| Anode Beetle || Electrocute between the attacking beetles || <code>8027C2F4</code> || <code>8027C304</code>   
 
|-
 
|-
| Anode Dweevil || Electrocute underneath Dweevil || <code>placeholder</code> || <code>802B9E1C</code>   
+
| Anode Dweevil || Electrocute underneath Dweevil || <code>802B9E0C</code> || <code>802B9E1C</code>   
 
|-
 
|-
| Titan Dweevil || An electrocute state || <code>placeholder</code> || <code>802F4A78</code>   
+
| Titan Dweevil || An electrocute state || <code>802F4A60</code> || <code>802F4A78</code>   
 
|-
 
|-
| Watery Blowhog || Bubble attack || <code>placeholder</code> || <code>8027D10C</code>   
+
| Watery Blowhog || Bubble attack || <code>8027D0FC</code> || <code>8027D10C</code>   
 
|-
 
|-
| Caustic Dweevil || Bubble attack || <code>placeholder</code> || <code>802B8CA4</code>   
+
| Caustic Dweevil || Bubble attack || <code>802B8C94</code> || <code>802B8CA4</code>   
 
|-
 
|-
| Ujadani || Poison when killed || <code>placeholder</code> || <code>80207364</code>   
+
| Ujadani || Poison when killed || <code>8020735C</code> || <code>80207364</code>   
 
|-
 
|-
| Poison Geyser || Poison surrounding geyser || <code>placeholder</code> || <code>8026D720</code>   
+
| Poison Geyser || Poison surrounding geyser || <code>8026D710</code> || <code>8026D720</code>   
 
|-
 
|-
| Doodle Bug || Poison fart clouds || <code>placeholder</code> || <code>802858D8</code>   
+
| Doodle Bug || Poison fart clouds || <code>802858C8</code> || <code>802858D8</code>   
 
|-
 
|-
| Titan Dweevil || Gas attack || <code>placeholder</code> || <code>802F3FC0</code>   
+
| Titan Dweevil || Gas attack || <code>802F3FB0</code> || <code>802F3FC0</code>   
 
|-
 
|-
| Mitite || Panic near them || <code>placeholder</code> || <code>8036F5DC</code>   
+
| Mitite || Panic near them || <code>8036F5CC</code> || <code>8036F5DC</code>   
 
|-
 
|-
| Empress Bulblax || Crush when rolling over || <code>placeholder</code> || <code>80289EFC</code>   
+
| Empress Bulblax || Press when rolling over || <code>80289EEC</code> || <code>80289EFC</code>   
 
|-
 
|-
| Beady Long Legs || Crush when foot on ground || <code>placeholder</code> || <code>802A5E48</code>   
+
| Beady Long Legs || Press when foot on ground || <code>802A5E38</code> || <code>802A5E48</code>   
 
|-
 
|-
| Raging Long Legs || Crush when foot on ground || <code>placeholder</code> || <code>802C85B8</code>   
+
| Raging Long Legs || Press when foot on ground || <code>802C85A8</code> || <code>802C85B8</code>   
 
|-
 
|-
| Emperor Bulblax || Crush underneath during slam || <code>placeholder</code> || <code>8035A4D8</code>   
+
| Emperor Bulblax || Press underneath during slam || <code>8035A4C8</code> || <code>8035A4D8</code>   
 
|-
 
|-
| Wraith rollers || Crush Pikmin touching it || <code>placeholder</code> || <code>803ACE4C</code>   
+
| Wraith rollers || Press Pikmin touching it || <code>803ACE3C</code> || <code>803ACE4C</code>   
 
|-
 
|-
| Segmented Crawbster || Crush when rolling over || <code>placeholder</code> || <code>802FCB44</code>   
+
| Segmented Crawbster || Press when rolling over || <code>802FCB34</code> || <code>802FCB44</code>   
 
|-
 
|-
| Rocks || Crush when rolling/landing on Pikmin || <code>placeholder</code> || <code>802636F8</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>placeholder</code> || <code>80113334</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>placeholder</code> || <code>803A7A60</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. Note that while most use <code>addi</code>, crush uses <code>subi</code>.
+
The following are @l hex bytes for different states. Note that while most use <code>addi</code>, press uses <code>subi</code>.
The @h for most effects is <code>804b</code>, but the @h for Press is <code>804a</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 (USA) || ID (Demo 1)
+
! state || @l hex (USA) || @l hex (Demo 1)
 
|-
 
|-
 
| Spicy Spray || <code>49 98</code> || <code>48 D8</code>
 
| Spicy Spray || <code>49 98</code> || <code>48 D8</code>
Line 99: Line 99:
 
|-
 
|-
 
| Control || <code>49 E0</code> || <code>49 20</code>
 
| Control || <code>49 E0</code> || <code>49 20</code>
 +
|-
 +
| Navi Whistle || <code>49 BC</code> || <code>48 FC</code>
 
|-
 
|-
 
| Wither Wind || <code>49 50</code> || <code>48 90</code>
 
| Wither Wind || <code>49 50</code> || <code>48 90</code>
Line 116: Line 118:
 
| Bubble || <code>48 30</code> || <code>47 70</code>
 
| Bubble || <code>48 30</code> || <code>47 70</code>
 
|-
 
|-
| Press || <code>B3 20</code> || <code>B2 60</code>
+
| Suck || <code>48 9C</code> || <code>47 DC</code>
 
|-
 
|-
 
| Flick || <code>4E 04</code> || <code>4D 44</code>
 
| Flick || <code>4E 04</code> || <code>4D 44</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