Skip to content

Conversation

icebound777
Copy link

@icebound777 icebound777 commented Oct 6, 2025

Decomp:

The end of a regular adventure race is supposed to remove the TOKEN_RACE flag from gGT->gameMode2.
However, due to an oversight, TOKEN_RACE is marked to be removed via sdata->Loading.OnBegin.RemBitsConfig0, which is used for gGT->gameMode1, the wrong gamemode field.

Due to this, finishing a CTR Token Challenge in Adventure Mode does not clear the token race flag. If you finish a CTR Token Challenge, then enter a track where you have not beaten the trophy race yet, then you will be thrown into the CTR Token Challenge right away.

This PR addresses this by assigning the TOKEN_RACE value to the correct RemBitsConfig field.

@kkv0n
Copy link
Contributor

kkv0n commented Oct 6, 2025

nice! according to commits history this wasnt even changed recently so i guess this bug was never noticed, good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants