-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Make the Person in the Intro Match the the Save File
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);