| 1 | # P1RE01 - Pikmin Squared |
| 2 | |
| 3 | [OnFrame] |
| 4 | # Add memory patches to be applied every frame here. |
| 5 | |
| 6 | [ActionReplay] |
| 7 | # Add action replay cheats here. |
| 8 | |
| 9 | [Gecko] |
| 10 | $60 FPS |
| 11 | C242E098 00000004 # Set to 30 FPS when cutscene starts |
| 12 | 3C608042 606335A8 |
| 13 | 7C6903A6 806D9AEC |
| 14 | 38800002 4E800421 |
| 15 | 801F01F0 00000000 |
| 16 | C242E1B0 00000004 # Set to 60 FPS when cutscene ends |
| 17 | 3C608042 606335A8 |
| 18 | 7C6903A6 806D9AEC |
| 19 | 38800001 4E800421 |
| 20 | 801F01F0 00000000 |
| 21 | 0414B758 38800001 # `BaseGameSection::init`, force `setFramerate` argument to 60 FPS (2P mode doesn't start with a cutscene) |
| 22 | 04513B9C 40100000 # Map translation speed 1 |
| 23 | 04513BA0 3F800000 # Map translation speed 2 |
| 24 | 0451D6F0 3C75C28F # Map scale speed |
| 25 | C236ECDC 00000002 # Mitite active time |
| 26 | 5400083C 901E02C0 |
| 27 | 60000000 00000000 |
| 28 | C236ED00 00000002 # If on Piklopedia (which runs at 30 FPS), revert the above |
| 29 | 5400F87E 901E02C0 |
| 30 | 60000000 00000000 |
| 31 | 04514068 3ECCCCCD # Final floor animation |
| 32 | 04514014 3EB33333 # Cave result animation |
| 33 | 04516080 3F000000 # Pay dept animation |
| 34 | 045200F4 3F000000 # Final result animation |
| 35 | 045140D4 3CCCCCCD # Final result color animation |
| 36 | 04514050 3EB33333 # Ready-go animation |
| 37 | 04411020 388000C8 # Win/Lose reason duration 1 |
| 38 | 04411028 386000FA # Win/Lose reason duration 2 |
| 39 | 04520164 3F000000 # Win/Lose animation |
| 40 | 04410758 38800078 # Win/Lose duration 1 |
| 41 | 04410760 38600168 # Win/Lose duration 2 |
| 42 | *Causes the following issues: |
| 43 | ** Particle effects are sped up. |
| 44 | ** Some UI animations are sped up. |
| 45 | ** The player camera rotates faster. |
| 46 | ** The Armored Cannon Beetle is unable to spit boulders (they collide with itself as they spawn). |
| 47 | ** Other minor physics differences. |
| 48 | * |
| 49 | *To avoid lag when staying near the onions with many Pikmin, it's recommended to overclock the emulated CPU by at least 250% for single player, or 1000% for two players. |
| 50 | |
| 51 | [Gecko_RetroAchievements_Verified] |
| 52 | $60 FPS |