Document remaining routes (104, 119-123)
This commit is contained in:
@@ -571,12 +571,12 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
|
||||
ScriptContext1_SetupScript(MauvilleCity_EventScript_RegisterWallyCall);
|
||||
return TRUE;
|
||||
}
|
||||
if (ShouldDoWinonaCall() == TRUE)
|
||||
if (ShouldDoScottFortreeCall() == TRUE)
|
||||
{
|
||||
ScriptContext1_SetupScript(Route119_EventScript_1F49EC);
|
||||
ScriptContext1_SetupScript(Route119_EventScript_ScottWonAtFortreeGymCall);
|
||||
return TRUE;
|
||||
}
|
||||
if (ShouldDoScottCall() == TRUE)
|
||||
if (ShouldDoScottBattleFrontierCall() == TRUE)
|
||||
{
|
||||
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall);
|
||||
return TRUE;
|
||||
|
||||
@@ -395,9 +395,9 @@ bool32 ShouldDoWallyCall(void)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool32 ShouldDoWinonaCall(void)
|
||||
bool32 ShouldDoScottFortreeCall(void)
|
||||
{
|
||||
if (FlagGet(FLAG_REGISTER_WINONA_POKENAV))
|
||||
if (FlagGet(FLAG_SCOTT_CALL_FORTREE_GYM))
|
||||
{
|
||||
switch (gMapHeader.mapType)
|
||||
{
|
||||
@@ -405,7 +405,7 @@ bool32 ShouldDoWinonaCall(void)
|
||||
case MAP_TYPE_CITY:
|
||||
case MAP_TYPE_ROUTE:
|
||||
case MAP_TYPE_OCEAN_ROUTE:
|
||||
if (++(*GetVarPointer(VAR_WINONA_CALL_STEP_COUNTER)) < 10)
|
||||
if (++(*GetVarPointer(VAR_SCOTT_FORTREE_CALL_STEP_COUNTER)) < 10)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
@@ -422,9 +422,9 @@ bool32 ShouldDoWinonaCall(void)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
bool32 ShouldDoScottCall(void)
|
||||
bool32 ShouldDoScottBattleFrontierCall(void)
|
||||
{
|
||||
if (FlagGet(FLAG_SCOTT_CALL_NATIONAL_DEX))
|
||||
if (FlagGet(FLAG_SCOTT_CALL_BATTLE_FRONTIER))
|
||||
{
|
||||
switch (gMapHeader.mapType)
|
||||
{
|
||||
@@ -432,7 +432,7 @@ bool32 ShouldDoScottCall(void)
|
||||
case MAP_TYPE_CITY:
|
||||
case MAP_TYPE_ROUTE:
|
||||
case MAP_TYPE_OCEAN_ROUTE:
|
||||
if (++(*GetVarPointer(VAR_SCOTT_CALL_STEP_COUNTER)) < 10)
|
||||
if (++(*GetVarPointer(VAR_SCOTT_BF_CALL_STEP_COUNTER)) < 10)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user