summaryrefslogtreecommitdiff
path: root/src/save_location.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-11-08 17:23:11 -0600
committerGitHub <noreply@github.com>2019-11-08 17:23:11 -0600
commitb38bc9a3a2d93e3482643b257685057e339dec9f (patch)
tree1175aa70b24f9c07b8089e23b2e8e7fdcba1b524 /src/save_location.c
parent030784dece994daf90ac1cb06a44912245b519ea (diff)
parent9140594b233b08d05d0832b62d3e64d50528a460 (diff)
Merge pull request #885 from GriffinRichards/doc-littleroot
Document Littleroot scripts
Diffstat (limited to 'src/save_location.c')
-rw-r--r--src/save_location.c2
1 files changed, 2 insertions, 0 deletions
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;