Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- These codes now at https://sites.google.com/site/sm64gameshark/
- ------------------------------------------------------------
- Please test the following and provide feedback! All of this seems to work but some codes might end up causing problems we haven't noticed yet. If you've run these codes for a while and feel like they're not causing any issues, please let me know. Once I have enough feedback I'll update the Google site.
- Fixing the Slide Timer
- The current timer code starts ticking when you enter the slide level and doesn't reset when you start the actual slide, making it difficult to determine your proper slide time and impossible to complete in under 21 seconds. There's at least two ways to fix this and return the slide timer to its normal behavior. The first option is to patch out the check completely with this line:
- US 8125073C 2400
- JP 81250564 2400
- The second option is to use the "Show Timer in Castle" code from the Google site and remove this line from your existing timer code:
- US 8024B197 0040
- JP 8024B017 0040
- Fixing the Level Reset Camera
- If you Level Reset while swimming, flying, in a cannon, etc. you'll end up back in the level with a bad camera. This happens because the camera state is retained during the level reset and not set back to default. The following code hijacks an existing game function and forces the camera back to default whenever you enter a level/sublevel/warp which fixes this behavior but may break cameras elsewhere:
- US D233B249 001D
- US 812872DA 0001
- US D033B249 001D
- US 812872DA 0000
- JP D2339ED9 001D
- JP 81286D2A 0001
- JP D0339ED9 001D
- JP 81286D2A 0000
- Code updated to fix initial camera in Wing Cap stage.
- Fixing the Savestate Star-Grab Camera Issue
- Collecting a star and then reloading state with the current savestate code leaves you with a bad camera. This happens because the star-grab puts Mario in a new camera state which isn't backed up in the savestate. One way to work around this is to use the non-stop code but it causes issues with 100 coin stars among other things. Another option is to use the following code which simply disables the star-grab camera, though it may break cameras elsewhere:
- US 8128C250 A3A0
- JP 8128BC50 A3A0
- One more option is to use this modified savestate code, it'll reset the "special camera" value back to 00 every time you load state.
- The root of the problems is a "special camera" byte which isn't backed up in the savestate. This byte is usually 00 but temporarily changes to a different value to trigger certain special cameras like star-grab, death and doors. The result is that this special camera is retained when you grab a star/die/etc then reload state.
- Rather than patching functions to disable each problematic camera we could instead modify the savestate code. Backing up and restoring the special camera byte would increase the code length by about 15-20 lines, but simply resetting the byte to 00 while loading states only takes 4 extra lines.
- This'll likely be a preferable solution since it fixes not just the star-grab but other cameras too, while still retaining the proper camera transitions during normal play.
- US
- 812CB1C0 03E0
- 812CB1C2 1025
- 812CB1C4 3C08
- 812CB1C6 8033
- 812CB1C8 3C09
- 812CB1CA 8036
- 812CB1CC 3C0A
- 812CB1CE 8042
- 812CB1D0 3C0B
- 812CB1D2 8034
- 812CB1D4 8578
- 812CB1D6 AFA0
- 812CB1D8 340F
- 812CB1DA 1000 <- Save Button
- 812CB1DC 030F
- 812CB1DE C824
- 812CB1E0 3C04
- 812CB1E2 8040
- 812CB1E4 3545
- 812CB1E6 6B28
- 812CB1E8 132F
- 812CB1EA 000C
- 812CB1EC 3506
- 812CB1EE B170
- 812CB1F0 340F
- 812CB1F2 000F <- Load Button
- 812CB1F4 030F
- 812CB1F6 C824
- 812CB1F8 3504
- 812CB1FA B170
- 812CB1FC 3525
- 812CB1FE 1C98
- 812CB200 172F
- 812CB202 000B
- 812CB204 3C06
- 812CB206 8040
- 812CB208 8D4C
- 812CB20A 5FE8
- 812CB20C 8D2D
- 812CB20E 1158
- 812CB210 15AC
- 812CB212 0007
- 812CB214 8D6E
- 812CB216 CBD0
- 812CB218 A1C0
- 812CB21A 0030
- 812CB21C 8CC7
- 812CB21E 0000
- 812CB220 AC87
- 812CB222 0000
- 812CB224 2484
- 812CB226 0004
- 812CB228 14A4
- 812CB22A FFFC
- 812CB22C 24C6
- 812CB22E 0004
- 812CB230 0040
- 812CB232 0008
- 812CB234 2400
- JP
- 812CA6E0 03E0
- 812CA6E2 1025
- 812CA6E4 3C08
- 812CA6E6 8033
- 812CA6E8 3C09
- 812CA6EA 8036
- 812CA6EC 3C0A
- 812CA6EE 8042
- 812CA6F0 3C0B
- 812CA6F2 8034
- 812CA6F4 8578
- 812CA6F6 9C30
- 812CA6F8 340F
- 812CA6FA 1000 <- Save Button
- 812CA6FC 030F
- 812CA6FE C824
- 812CA700 3C04
- 812CA702 8040
- 812CA704 3545
- 812CA706 6B28
- 812CA708 132F
- 812CA70A 000C
- 812CA70C 3506
- 812CA70E 9E00
- 812CA710 340F
- 812CA712 000F <- Load Button
- 812CA714 030F
- 812CA716 C824
- 812CA718 3504
- 812CA71A 9E00
- 812CA71C 3525
- 812CA71E 0928
- 812CA720 172F
- 812CA722 000B
- 812CA724 3C06
- 812CA726 8040
- 812CA728 8D4C
- 812CA72A 5FE8
- 812CA72C 8D2D
- 812CA72E FDE8
- 812CA730 15AC
- 812CA732 0007
- 812CA734 8D6E
- 812CA736 B860
- 812CA738 A1C0
- 812CA73A 0030
- 812CA73C 8CC7
- 812CA73E 0000
- 812CA740 AC87
- 812CA742 0000
- 812CA744 2484
- 812CA746 0004
- 812CA748 14A4
- 812CA74A FFFC
- 812CA74C 24C6
- 812CA74E 0004
- 812CA750 0040
- 812CA752 0008
- 812CA754 2400
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement