summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-07-11 14:03:57 -0400
committerscnorton <scnorton@biociphers.org>2017-07-11 14:03:57 -0400
commit1a8ac29f66ce7be99950d016c41e0b066e271aa8 (patch)
treea4972acfa5fcee51b7acffbc810dc28c7cbd5925 /src
parent89f34eedccd7e8c346cd4e20277e79c94b5b5064 (diff)
sub_80BC538
Diffstat (limited to 'src')
-rw-r--r--src/secret_base.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/secret_base.c b/src/secret_base.c
index 544289885..88547881d 100644
--- a/src/secret_base.c
+++ b/src/secret_base.c
@@ -1057,3 +1057,15 @@ void sub_80BC50C(void)
ResetSecretBase(0);
gSaveBlock1.secretBases[0].sbr_field_e = backup_sbr_field_e;
}
+
+u8 sub_80BC538(void)
+{
+ s16 i;
+ u8 count = 0;
+ for (i=1; i<20; i++)
+ {
+ if (sub_80BC268(i) == TRUE)
+ count++;
+ }
+ return count;
+}