Merge pull request #1904 from GriffinRichards/temp-alias
Add temp flag and var aliases
This commit is contained in:
@@ -931,7 +931,7 @@ static void SetBattlePyramidData(void)
|
||||
static void SavePyramidChallenge(void)
|
||||
{
|
||||
gSaveBlock2Ptr->frontier.challengeStatus = gSpecialVar_0x8005;
|
||||
VarSet(VAR_TEMP_0, 0);
|
||||
VarSet(VAR_TEMP_CHALLENGE_STATUS, 0);
|
||||
gSaveBlock2Ptr->frontier.challengePaused = TRUE;
|
||||
SaveMapView();
|
||||
TrySavingData(SAVE_LINK);
|
||||
@@ -1441,7 +1441,7 @@ void PausePyramidChallenge(void)
|
||||
{
|
||||
RestorePyramidPlayerParty();
|
||||
gSaveBlock2Ptr->frontier.challengeStatus = CHALLENGE_STATUS_PAUSED;
|
||||
VarSet(VAR_TEMP_E, 0);
|
||||
VarSet(VAR_TEMP_PLAYING_PYRAMID_MUSIC, 0);
|
||||
LoadPlayerParty();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user