summaryrefslogtreecommitdiff
path: root/src/pokedex.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-02-18 13:28:50 -0600
committerGitHub <noreply@github.com>2019-02-18 13:28:50 -0600
commit1b0079445d39fb4430a92fdf31563e6c44ccbe04 (patch)
tree32de235a4e5c803f9238d3179aeb39ccf8af25d5 /src/pokedex.c
parent924cbe9ee4f4fded710bdb77014f6de48e461f77 (diff)
parentbfe67842ab3d8f6567f365a65ad82935ed74c338 (diff)
Merge pull request #559 from Phlosioneer/finish-newgame-docs
Finish and polish new_game.c
Diffstat (limited to 'src/pokedex.c')
-rw-r--r--src/pokedex.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pokedex.c b/src/pokedex.c
index 2ebc33622..805412c85 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -37,7 +37,8 @@ static EWRAM_DATA u8 gUnknown_02039B52 = 0;
static EWRAM_DATA struct PokedexListItem *sPokedexListItem = NULL;
// IWRAM common
-u8 gUnknown_030060B0;
+// This is written to, but never read.
+u8 gUnusedPokedexU8;
void (*gUnknown_030060B4)(void);
struct PokedexOption
@@ -1225,7 +1226,7 @@ void ResetPokedex(void)
gUnknown_02039B50 = 0;
gUnknown_02039B52 = 64;
- gUnknown_030060B0 = 0;
+ gUnusedPokedexU8 = 0;
gSaveBlock2Ptr->pokedex.mode = DEX_MODE_HOENN;
gSaveBlock2Ptr->pokedex.order = 0;
gSaveBlock2Ptr->pokedex.nationalMagic = 0;
@@ -1243,7 +1244,7 @@ void ResetPokedex(void)
}
}
-void sub_80BB358(void)
+void ResetPokedexScrollPositions(void)
{
gUnknown_02039B50 = 0;
gUnknown_02039B52 = 64;