Pikmin 2 memory addresses

From Pikmin Technical Knowledge Base
Jump to: navigation, search

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

Leader coordinates[edit]

Variable Address Type Notes
GC US GC EU GC JP Wii US Wii EU Wii JP
Olimar's X 80E0D9B0 80E11C50 80E0F7B0 4-byte float Horizontal movement.
Olimar's Y 80E0D9B4 80E11C54 80E0F7B4 4-byte float Vertical movement; positive is up.
Olimar's Z 80E0D9B8 80E11C58 80E0F7B8 4-byte float Horizontal movement.
Louie/President's X 80E0DCD0 80E11F70 80E0FAD0 4-byte float Horizontal movement.
Louie/President's Y 80E0DCD4 80E11F74 80E0FAD4 4-byte float Vertical movement.
Louie/President's Z 80E0DCD8 80E11F78 80E0FAD8 4-byte float Horizontal movement.

Pikmin count[edit]

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

Adventure stats[edit]

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

Gameplay control[edit]

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