Set intro gender to savefile gender

This commit is contained in:
Ninjdai 2023-11-13 22:19:49 +01:00
parent 9ceef0af2d
commit f3e4280f3e

View File

@ -1172,7 +1172,8 @@ void CB2_InitCopyrightScreenAfterTitleScreen(void)
void Task_Scene1_Load(u8 taskId) void Task_Scene1_Load(u8 taskId)
{ {
SetVBlankCallback(NULL); SetVBlankCallback(NULL);
sIntroCharacterGender = MOD(Random(), GENDER_COUNT); sIntroCharacterGender = gSaveBlock2Ptr->playerGender;
//sIntroCharacterGender = MOD(Random(), GENDER_COUNT);
IntroResetGpuRegs(); IntroResetGpuRegs();
SetGpuReg(REG_OFFSET_BG3VOFS, 0); SetGpuReg(REG_OFFSET_BG3VOFS, 0);
SetGpuReg(REG_OFFSET_BG2VOFS, 80); SetGpuReg(REG_OFFSET_BG2VOFS, 80);