Difference between revisions of "Pikmin 2 memory addresses"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
m (Cat.)
(Variable types.)
Line 4: Line 4:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Notes
+
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Type || rowspan="2" | Notes
 
|-
 
|-
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
|-
 
|-
 
! Olimar's X
 
! Olimar's X
| <code>80e0d9b0</code> || <code>00e11c50</code> || <code>00e0f7b0</code> || <code></code> || <code></code> || <code></code> || Horizontal movement.
+
| <code>80e0d9b0</code> || <code>00e11c50</code> || <code>00e0f7b0</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Horizontal movement.
 
|-
 
|-
 
! Olimar's Y
 
! Olimar's Y
| <code>80e0d9b4</code> || <code>00e11c54</code> || <code>00e0f7b4</code> || <code></code> || <code></code> || <code></code> || Vertical movement.
+
| <code>80e0d9b4</code> || <code>00e11c54</code> || <code>00e0f7b4</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Vertical movement.
 
|-
 
|-
 
! Olimar's Z
 
! Olimar's Z
| <code>80e0d9b8</code> || <code>00e11c58</code> || <code>00e0f7b8</code> || <code></code> || <code></code> || <code></code> || Horizontal movement.
+
| <code>80e0d9b8</code> || <code>00e11c58</code> || <code>00e0f7b8</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Horizontal movement.
 
|-
 
|-
 
! Louie/President's X
 
! Louie/President's X
| <code>00e0dcd0</code> || <code>00e11f70</code> || <code>00e0fad0</code> || <code></code> || <code></code> || <code></code> || Horizontal movement.
+
| <code>00e0dcd0</code> || <code>00e11f70</code> || <code>00e0fad0</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Horizontal movement.
 
|-
 
|-
 
! Louie/President's Y
 
! Louie/President's Y
| <code>00e0dcd4</code> || <code>00e11f74</code> || <code>00e0fad4</code> || <code></code> || <code></code> || <code></code> || Vertical movement.
+
| <code>00e0dcd4</code> || <code>00e11f74</code> || <code>00e0fad4</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Vertical movement.
 
|-
 
|-
 
! Louie/President's Z
 
! Louie/President's Z
| <code>00e0dcd8</code> || <code>00e11f78</code> || <code>00e0fad8</code> || <code></code> || <code></code> || <code></code> || Horizontal movement.
+
| <code>00e0dcd8</code> || <code>00e11f78</code> || <code>00e0fad8</code> || <code></code> || <code></code> || <code></code> || 4-byte float || Horizontal movement.
 
|}
 
|}
  
Line 31: Line 31:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Notes
+
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Type || rowspan="2" | Notes
 
|-
 
|-
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
|-
 
|-
 
! Red Leafs in Onion
 
! Red Leafs in Onion
| || <code>02942BAA</code> || || || || ||  
+
| || <code>02942BAA</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Red Buds in Onion
 
! Red Buds in Onion
| || <code>02942BAE</code> || || || || ||  
+
| || <code>02942BAE</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Red Flowers in Onion
 
! Red Flowers in Onion
| || <code>02942BB2</code> || || || || ||  
+
| || <code>02942BB2</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Purple Leafs in Ship
 
! Purple Leafs in Ship
| || <code>02942BC2</code> || || || || ||  
+
| || <code>02942BC2</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Purple Buds in Ship
 
! Purple Buds in Ship
| || <code>02942BC6</code> || || || || ||  
+
| || <code>02942BC6</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Purple Flowers in Ship
 
! Purple Flowers in Ship
| || <code>02942BCA</code> || || || || ||  
+
| || <code>02942BCA</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! White Leafs in Ship
 
! White Leafs in Ship
| || <code>02942BCE</code> || || || || ||  
+
| || <code>02942BCE</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! White Buds in Ship
 
! White Buds in Ship
| || <code>02942BD2</code> || || || || ||  
+
| || <code>02942BD2</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! White Flowers in Ship
 
! White Flowers in Ship
| || <code>02942BD6</code> || || || || ||  
+
| || <code>02942BD6</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Yellow Leafs in Onion
 
! Yellow Leafs in Onion
| || <code>02942BB6</code> || || || || ||  
+
| || <code>02942BB6</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Yellow Buds in Onion
 
! Yellow Buds in Onion
| || <code>02942BBA</code> || || || || ||  
+
| || <code>02942BBA</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Yellow Flowers in Onion
 
! Yellow Flowers in Onion
| || <code>02942BBE</code> || || || || ||  
+
| || <code>02942BBE</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Blue Leafs in Onion
 
! Blue Leafs in Onion
| || <code>02942B9E</code> || || || || ||  
+
| || <code>02942B9E</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Blue Buds in Onion
 
! Blue Buds in Onion
| || <code>02942BA2</code> || || || || ||  
+
| || <code>02942BA2</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Blue Flowers in Onion
 
! Blue Flowers in Onion
| || <code>02942BA6</code> || || || || ||  
+
| || <code>02942BA6</code> || || || || || 4-byte unsigned int ||  
 
|}
 
|}
  
Line 85: Line 85:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Notes
+
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Type || rowspan="2" | Notes
 
|-
 
|-
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 
|-
 
|-
 
! Current total Poko count
 
! Current total Poko count
| || <code>04942A7C</code> || || || || ||  
+
| || <code>04942A7C</code> || || || || || 4-byte unsigned int ||  
 
|-
 
|-
 
! Current day
 
! Current day
| || <code>04B0FBD8</code> || || || || || Day 1 is <code>0</code>, day 2 is <code>1</code>, etc.
+
| || <code>04B0FBD8</code> || || || || || 4-byte unsigned int || Day 1 is <code>0</code>, day 2 is <code>1</code>, etc.
 
|}
 
|}
  
 
[[Category:Memory addresses]]
 
[[Category:Memory addresses]]
 
[[Category:Pikmin 2]]
 
[[Category:Pikmin 2]]

Revision as of 00:35, 21 February 2017

A list of memory addresses for important things in Pikmin 2.

Leader coordinates

Variable Address Type Notes
GC US GC EU GC JP Wii US Wii EU Wii JP
Olimar's X 80e0d9b0 00e11c50 00e0f7b0 4-byte float Horizontal movement.
Olimar's Y 80e0d9b4 00e11c54 00e0f7b4 4-byte float Vertical movement.
Olimar's Z 80e0d9b8 00e11c58 00e0f7b8 4-byte float Horizontal movement.
Louie/President's X 00e0dcd0 00e11f70 00e0fad0 4-byte float Horizontal movement.
Louie/President's Y 00e0dcd4 00e11f74 00e0fad4 4-byte float Vertical movement.
Louie/President's Z 00e0dcd8 00e11f78 00e0fad8 4-byte float Horizontal movement.

Pikmin count

Variable Address Type Notes
GC US GC EU GC JP Wii US Wii EU Wii JP
Red Leafs in Onion 02942BAA 4-byte unsigned int
Red Buds in Onion 02942BAE 4-byte unsigned int
Red Flowers in Onion 02942BB2 4-byte unsigned int
Purple Leafs in Ship 02942BC2 4-byte unsigned int
Purple Buds in Ship 02942BC6 4-byte unsigned int
Purple Flowers in Ship 02942BCA 4-byte unsigned int
White Leafs in Ship 02942BCE 4-byte unsigned int
White Buds in Ship 02942BD2 4-byte unsigned int
White Flowers in Ship 02942BD6 4-byte unsigned int
Yellow Leafs in Onion 02942BB6 4-byte unsigned int
Yellow Buds in Onion 02942BBA 4-byte unsigned int
Yellow Flowers in Onion 02942BBE 4-byte unsigned int
Blue Leafs in Onion 02942B9E 4-byte unsigned int
Blue Buds in Onion 02942BA2 4-byte unsigned int
Blue Flowers in Onion 02942BA6 4-byte unsigned int

Adventure stats

Variable Address Type Notes
GC US GC EU GC JP Wii US Wii EU Wii JP
Current total Poko count 04942A7C 4-byte unsigned int
Current day 04B0FBD8 4-byte unsigned int Day 1 is 0, day 2 is 1, etc.