Mario Kart Wii Gecko Codes, Cheats, & Hacks

Full Version: how to check if a player is in a race?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i tried to find the byte with dolphin memory viewer, but i couldnt find it
Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?
(11-10-2021, 04:20 PM)Seeky Wrote: [ -> ]Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?

if the game is currently in a race
(11-10-2021, 04:26 PM)jawa Wrote: [ -> ]
(11-10-2021, 04:20 PM)Seeky Wrote: [ -> ]Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?

if the game is currently in a race

i got an idea of how i would do that
i would check the countdown number before the race starts
and if its higher than zero
were kinda in a race, but its good enough for what i need
Check if PlayerHolder (0x809c18f8 PAL) or any of the race-specific globals is NULL.