Difference between revisions of "Pikmin 2 memory addresses"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
(Added current cutscene timer ID.)
Line 1: Line 1:
 +
{{DISPLAYTITLE:''Pikmin 2'' memory addresses}}
 
A list of memory addresses for important things in ''Pikmin 2''.
 
A list of memory addresses for important things in ''Pikmin 2''.
  
Line 100: Line 101:
 
! Ultra-bitter spray count
 
! Ultra-bitter spray count
 
| || <code>04942A58</code> || || || || || 4-byte unsigned int
 
| || <code>04942A58</code> || || || || || 4-byte unsigned int
 +
|}
 +
 +
== Gameplay control ==
 +
{| class="wikitable sortable"
 +
|-
 +
! rowspan="2" | Variable || colspan="6" | Address || rowspan="2" | Type || rowspan="2" | Notes
 +
|-
 +
! GC US || GC EU || GC JP || Wii US || Wii EU || Wii JP
 +
|-
 +
! Current cutscene timer ID
 +
| || <code>0x009FDE6E</code> || || || || || 2-byte unsigned int ||
 
|}
 
|}
  
 
[[Category:Memory addresses]]
 
[[Category:Memory addresses]]
 
[[Category:Pikmin 2]]
 
[[Category:Pikmin 2]]

Revision as of 21:03, 6 August 2018

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; positive is up.
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 0092F98B 02942BAA 2-byte unsigned int
Red Buds in Onion 02942BAE 2-byte unsigned int
Red Flowers in Onion 02942BB2 2-byte unsigned int
Purple Leafs in Ship 02942BC2 2-byte unsigned int
Purple Buds in Ship 02942BC6 2-byte unsigned int
Purple Flowers in Ship 02942BCA 2-byte unsigned int
White Leafs in Ship 02942BCE 2-byte unsigned int
White Buds in Ship 02942BD2 2-byte unsigned int
White Flowers in Ship 02942BD6 2-byte unsigned int
Yellow Leafs in Onion 02942BB6 2-byte unsigned int
Yellow Buds in Onion 02942BBA 2-byte unsigned int
Yellow Flowers in Onion 02942BBE 2-byte unsigned int
Blue Leafs in Onion 02942B9E 2-byte unsigned int
Blue Buds in Onion 02942BA2 2-byte unsigned int
Blue Flowers in Onion 02942BA6 2-byte unsigned int

Adventure stats

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

Gameplay control

Variable Address Type Notes
GC US GC EU GC JP Wii US Wii EU Wii JP
Current cutscene timer ID 0x009FDE6E 2-byte unsigned int