diff options
author | huderlem <huderlem@gmail.com> | 2019-11-08 17:23:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 17:23:11 -0600 |
commit | b38bc9a3a2d93e3482643b257685057e339dec9f (patch) | |
tree | 1175aa70b24f9c07b8089e23b2e8e7fdcba1b524 /src | |
parent | 030784dece994daf90ac1cb06a44912245b519ea (diff) | |
parent | 9140594b233b08d05d0832b62d3e64d50528a460 (diff) |
Merge pull request #885 from GriffinRichards/doc-littleroot
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 0e8b2619f..1d57c672c 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 b9d852cf3..62f574300 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; |