summaryrefslogtreecommitdiff
path: root/src/pokedex.c
diff options
context:
space:
mode:
authorU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
committerU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
commite92408af0133974a769215a83500c965f8524724 (patch)
tree9f1556b72ebb1a9f1b7f288ba4b8d23471a46608 /src/pokedex.c
parenta9da4340a3c91553d19afdcd07355c53d5157a3e (diff)
parent8b39cdac9adb52a6e6abd03314056ee5d6003a1b (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
`:Q B A B:` r A r D D C D D r
Diffstat (limited to 'src/pokedex.c')
-rw-r--r--src/pokedex.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/pokedex.c b/src/pokedex.c
index 2ef91e472..c132635cb 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -143,13 +143,7 @@ struct UnknownStruct4
extern struct MusicPlayerInfo gMPlay_BGM;
extern u8 gReservedSpritePaletteCount;
-extern struct PokedexView *gPokedexView;
extern struct SpriteTemplate gUnknown_02024E8C;
-extern u16 gUnknown_0202FFB8;
-extern u8 gUnknown_0202FFBA;
-extern struct PokedexListItem *gUnknown_0202FFBC;
-extern u8 gUnknown_03005CE8;
-extern IntrCallback gUnknown_03005CEC;
extern u8 gUnknown_03005E98;
extern const u8 gPokedexMenu_Gfx[];
extern const u8 gUnknown_08E96738[];
@@ -171,6 +165,14 @@ extern const u16 gPokedexMenuSearch_Pal[];
extern const u8 gTypeNames[][7];
extern const u8 gPokedexMenu2_Gfx[];
+static EWRAM_DATA struct PokedexView *gPokedexView = NULL;
+static EWRAM_DATA u16 gUnknown_0202FFB8 = 0;
+static EWRAM_DATA u8 gUnknown_0202FFBA = 0;
+static EWRAM_DATA struct PokedexListItem *gUnknown_0202FFBC = NULL;
+
+u8 gUnknown_03005CE8;
+IntrCallback gUnknown_03005CEC;
+
static u8 sub_8091E3C(void);
static const u16 sPokedexSearchPalette[] = INCBIN_U16("graphics/pokedex/search.gbapal");