You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voloved edited this page Dec 27, 2022
·
1 revision
By devolov
Goal: Make the gender of the person biking across the screen in the intro match the gender on the save file.
The based game chooses a random gender to show.
In intro.c:
static void Task_Scene1_Load(u8 taskId)
{
SetVBlankCallback(NULL);
- sIntroCharacterGender = Random() & 1;+ sIntroCharacterGender = gSaveBlock2Ptr->playerGender;+ // Loads the gender in the save file to show in into. If no save file, defaults to male
IntroResetGpuRegs();
SetGpuReg(REG_OFFSET_BG3VOFS, 0);
SetGpuReg(REG_OFFSET_BG2VOFS, 80);