03-08-2020, 10:41 AM
The byte at 0x809C38BC PAL stores whether time trials is active too, you could probably shorten the code by loading directly from there instead of needing to load the racedata pointer and then get a value from racedata (The function 0x807bd1d0 PAL might be useful for porting)