Document aqua/magma hideout scripts
This commit is contained in:
@@ -1288,7 +1288,7 @@ void BattleSetup_StartTrainerBattle(void)
|
||||
sNoOfPossibleTrainerRetScripts = gNoOfApproachingTrainers;
|
||||
gNoOfApproachingTrainers = 0;
|
||||
sShouldCheckTrainerBScript = FALSE;
|
||||
gUnknown_03006080 = 0;
|
||||
gWhichTrainerToFaceAfterBattle = 0;
|
||||
gMain.savedCallback = CB2_EndTrainerBattle;
|
||||
|
||||
if (InBattlePyramid() || InTrainerHillChallenge())
|
||||
@@ -1391,7 +1391,7 @@ const u8 *BattleSetup_GetTrainerPostBattleScript(void)
|
||||
sShouldCheckTrainerBScript = FALSE;
|
||||
if (sTrainerBBattleScriptRetAddr != NULL)
|
||||
{
|
||||
gUnknown_03006080 = 1;
|
||||
gWhichTrainerToFaceAfterBattle = 1;
|
||||
return sTrainerBBattleScriptRetAddr;
|
||||
}
|
||||
}
|
||||
@@ -1399,7 +1399,7 @@ const u8 *BattleSetup_GetTrainerPostBattleScript(void)
|
||||
{
|
||||
if (sTrainerABattleScriptRetAddr != NULL)
|
||||
{
|
||||
gUnknown_03006080 = 0;
|
||||
gWhichTrainerToFaceAfterBattle = 0;
|
||||
return sTrainerABattleScriptRetAddr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user