10-26-2024, 04:12 PM
Fix Offroad Affecting Star After Cannon Glitch [Ro]
This code fixes a game "glitch" that causes you to be affected by the offroad while in a star if the star was used before the cannon. What happens is that the game checks for a speed flag which is set when using the star, however, this flag is cleared when entering a cannon, causing offroad to affect the player. A fix was to check for both speed flag and star flag, resolving the issue.
NTSC-U
C2575B94 00000002
700B0080 740C8000
7D606379 00000000
PAL
C257C3F8 00000002
700B0080 740C8000
7D606379 00000000
NTSC-J
C257BD78 00000002
700B0080 740C8000
7D606379 00000000
NTSC-K
C256A450 00000002
700B0080 740C8000
7D606379 00000000
Code creator: Ro
Code credits: davidevgen (No Terrain Effect)
This code fixes a game "glitch" that causes you to be affected by the offroad while in a star if the star was used before the cannon. What happens is that the game checks for a speed flag which is set when using the star, however, this flag is cleared when entering a cannon, causing offroad to affect the player. A fix was to check for both speed flag and star flag, resolving the issue.
NTSC-U
C2575B94 00000002
700B0080 740C8000
7D606379 00000000
PAL
C257C3F8 00000002
700B0080 740C8000
7D606379 00000000
NTSC-J
C257BD78 00000002
700B0080 740C8000
7D606379 00000000
NTSC-K
C256A450 00000002
700B0080 740C8000
7D606379 00000000
Code creator: Ro
Code credits: davidevgen (No Terrain Effect)
mtctr r0 ~ bctrl / BLX R0