diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-11-08 02:03:45 -0500 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-11-08 02:47:55 -0500 |
commit | bef24a45f0249ba867a5a11f34e04c35c64cd9fa (patch) | |
tree | 48b971d395ffab0025577260c00b6a0e27dcfe7c /src | |
parent | 1475c4d8da2e27734aa5a738e2287222c1e21386 (diff) |
Document Littleroot scripts
Diffstat (limited to 'src')
-rw-r--r-- | src/field_control_avatar.c | 2 | ||||
-rw-r--r-- | src/save_location.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c index bbd2ebda9..64410ff7f 100644 --- a/src/field_control_avatar.c +++ b/src/field_control_avatar.c @@ -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) diff --git a/src/save_location.c b/src/save_location.c index 2443b3161..7a9b08a09 100644 --- a/src/save_location.c +++ b/src/save_location.c @@ -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; |