# GPVE01 - Pikmin 2

[OnFrame]
# Add memory patches to be applied every frame here.

[ActionReplay]
# Add action replay cheats here.
$Infinite Health
05B4DC4F 08000000
04144540 60000000

$Unlock All Areas
05B4DC50 08000000
0492F9E0 07070707

$1 Hit Kills Everything
05B4DC51 08000000
04105FE8 C02D0008

$Pikis Dig & Destroy Quickly
05B4DC52 08000000
041C9874 C00D0008

$Infinite Spicey Spray
05B4DC53 08000000
0492F834 00000063

$Infinite Bitter Spray
05B4DC54 08000000
0492F838 00000063

$D-Pad Left Resets Time
05B4DC55 08000000
0A507008 00000001
04B0B4A8 43E5ED60

$D-Pad Right Advances Time
05B4DC56 08000000
0A507008 00000002
84B0B4A8 00000800

$Piklopedia Complete
05B4DC57 08000000
00000000 8092FB90
00000003 0064000C

# This will beat the game.
$Max Money
05B4DC58 08000000
0492F85C 000F423F

$INFINITE PIKMIN CODES:
05B4DC5A 05008000

# Do not use on Day 1
$999 Red Flower Pikmin
05B4DC5B 046E2D40
0292F988 00030000
0492F990 000003E7

# Do not use until you have the Yellow Onion
$999 Yellow Flower Pikmin
05B4DC5C 046E2D40
0292F994 00030000
0492F99C 000003E7

# Do not use until you have the Blue Onion
$999 Blue Flower Pikmin
05B4DC5D 046E2D40
0292F97C 00030000
0492F984 000003E7

# Do not use until Purple Pikmin are stored in ship
$999 Purple Flower Pikmin
05B4DC5E 046E2D40
0292F9A0 00030000
0492F9A8 000003E7

# Do not use until White Pikmin are stored in ship
$999 White Flower Pikmin
05B4DC5F 046E2D40
0292F9AC 00030000
0492F9B4 000003E7

[Gecko]
$16:9 Widescreen
C241A434 00000003
3DC03FAB 91C24000
C01F002C C2224000
EC110032 00000000
C23BB844 00000003
3DC03FAB 91C24000
C3C6002C C2224000
EFD107B2 00000000
C241AD98 00000004
3C803F40 90820000
C2220000 C0030000
EC110032 D0030000
38800000 00000000
C2434EBC 00000002
3DC03F36 91DC00CC
60000000 00000000
$60 FPS
C242DF28 00000004 # Set to 30 FPS when cutscene starts
3C608042 6063352C
7C6903A6 806D9AEC
38800002 4E800421
801F01F0 00000000
C242E040 00000004 # Set to 60 FPS when cutscene ends
3C608042 6063352C
7C6903A6 806D9AEC
38800001 4E800421
801F01F0 00000000
0414B778 38800001 # `BaseGameSection::init`, force `setFramerate` argument to 60 FPS (2P mode doesn't start with a cutscene)
04513C5C 40100000 # Map translation speed 1
04513C60 3F800000 # Map translation speed 2
0451D7B0 3C75C28F # Map scale speed
C236ECA8 00000002 # Mitite active time
5400083C 901E02C0
60000000 00000000
C236ECCC 00000002 # If on Piklopedia (which runs at 30 FPS), revert the above
5400F87E 901E02C0
60000000 00000000
04514128 3ECCCCCD # Final floor animation
045140D4 3EB33333 # Cave result animation (there's also the background panel animation at 8051FFB8, but it affects other things and it's basically unnoticeable)
04516140 3F000000 # Pay dept animation
045201B4 3F000000 # Final result animation (this unfortunately breaks the color interpolation a little since it shares the 1.0)
04514194 3CCCCCCD # Final result color animation
04514110 3EB33333 # Ready-go animation
04410FA4 388000C8 # Win/Lose reason duration 1
04410FAC 386000FA # Win/Lose reason duration 2
04520224 3F000000 # Win/Lose animation
044106DC 38800078 # Win/Lose duration 1
044106E4 38600168 # Win/Lose duration 2
*Causes the following issues:
** Particle effects are sped up.
** Some UI animations are sped up.
** The player camera rotates faster.
** Other minor physics differences.

[Gecko_RetroAchievements_Verified]
$16:9 Widescreen
$60 FPS
