mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Rename neverRead fields
This commit is contained in:
parent
3bbdee61b8
commit
b96fad074b
@ -394,7 +394,7 @@ struct BattleFrontier
|
||||
/*0xEE0*/ u8 trainerFlags;
|
||||
/*0xEE1*/ u8 opponentName[2][PLAYER_NAME_LENGTH + 1];
|
||||
/*0xEF1*/ u8 field_EF1[2][4];
|
||||
/*0xEF9*/ u8 neverRead:7;
|
||||
/*0xEF9*/ u8 unk_EF9:7;
|
||||
/*0xEF9*/ u8 savedGame:1;
|
||||
/*0xEFA*/ u8 field_EFA;
|
||||
/*0xEFB*/ u8 field_EFB;
|
||||
@ -806,7 +806,7 @@ struct SaveTrainerHill
|
||||
{
|
||||
/*0x3D64*/ u32 timer;
|
||||
/*0x3D68*/ u32 bestTime;
|
||||
/*0x3D6C*/ u8 neverRead;
|
||||
/*0x3D6C*/ u8 unk_3D6C;
|
||||
/*0x3D6D*/ u8 unused;
|
||||
/*0x3D6E*/ u16 receivedPrize:1;
|
||||
/*0x3D6E*/ u16 checkedFinalTime:1;
|
||||
|
@ -287,7 +287,7 @@ void ResetTrainerHillResults(void)
|
||||
s32 i;
|
||||
|
||||
gSaveBlock2Ptr->frontier.savedGame = 0;
|
||||
gSaveBlock2Ptr->frontier.neverRead = 0;
|
||||
gSaveBlock2Ptr->frontier.unk_EF9 = 0;
|
||||
gSaveBlock1Ptr->trainerHill.bestTime = 0;
|
||||
for (i = 0; i < 4; i++)
|
||||
SetTimerValue(&gSaveBlock1Ptr->trainerHillTimes[i], HILL_MAX_TIME);
|
||||
@ -403,7 +403,7 @@ static void TrainerHillStartChallenge(void)
|
||||
else
|
||||
gSaveBlock1Ptr->trainerHill.field_3D6E_0f = 0;
|
||||
|
||||
gSaveBlock1Ptr->trainerHill.neverRead = 0;
|
||||
gSaveBlock1Ptr->trainerHill.unk_3D6C = 0;
|
||||
SetTrainerHillVBlankCounter(&gSaveBlock1Ptr->trainerHill.timer);
|
||||
gSaveBlock1Ptr->trainerHill.timer = 0;
|
||||
gSaveBlock1Ptr->trainerHill.spokeToOwner = 0;
|
||||
@ -438,7 +438,7 @@ static void GiveChallengePrize(void)
|
||||
{
|
||||
CopyItemName(itemId, gStringVar2);
|
||||
gSaveBlock1Ptr->trainerHill.receivedPrize = TRUE;
|
||||
gSaveBlock2Ptr->frontier.neverRead = 0;
|
||||
gSaveBlock2Ptr->frontier.unk_EF9 = 0;
|
||||
gSpecialVar_Result = 0;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user