Document Littleroot scripts

This commit is contained in:
GriffinR
2019-11-08 02:03:45 -05:00
parent 1475c4d8da
commit bef24a45f0
15 changed files with 685 additions and 631 deletions

View File

@@ -578,7 +578,7 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
}
if (ShouldDoScottCall() == TRUE)
{
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_1FA4D6);
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall);
return TRUE;
}
if (ShouldDoRoxanneCall() == TRUE)

View File

@@ -118,6 +118,8 @@ void TrySetMapSaveWarpStatus(void)
sub_81AFD5C();
}
// Called when receiving the Pokedex
// Only place field_A8 is written (aside from clearing on new game), never read
void sub_81AFDA0(void)
{
gSaveBlock2Ptr->field_A8 |= 0x8000;