diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-07-04 18:14:40 -0400 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-07-04 18:14:40 -0400 |
commit | d7df6bf6e3b6066bef0bd0602b0b9c2d036f100a (patch) | |
tree | 84f7564fdc72867f44e9c5acf6b1dae78b5f13b6 /src | |
parent | aecf2dbf6e26469cc40ab2c3aec155aecba7091b (diff) |
Get rid of manual sym defines in sym_ewram.txt and ld_script_modern.txt
Diffstat (limited to 'src')
-rw-r--r-- | src/pokemon_summary_screen.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c index e06dcb6dd..086c9585b 100644 --- a/src/pokemon_summary_screen.c +++ b/src/pokemon_summary_screen.c @@ -316,17 +316,18 @@ struct Struct203B168 u16 unk06; /* 0x06 */ }; -extern struct PokemonSummaryScreenData * gMonSummaryScreen; -extern struct Struct203B144 * gUnknown_203B144; -extern struct Struct203B148 * gUnknown_203B148[4]; -extern struct Struct203B158 * gUnknown_203B158; -extern struct Struct203B15C * gUnknown_203B15C; -extern struct Struct203B160 * gUnknown_203B160; -extern struct Struct203B164 * gUnknown_203B164; -extern struct Struct203B168 * gUnknown_203B168; -extern u8 gUnknown_203B16D; -extern u8 gUnknown_203B16E; -extern struct Struct203B170 * gUnknown_203B170; +static EWRAM_DATA struct PokemonSummaryScreenData * gMonSummaryScreen = NULL; +static EWRAM_DATA struct Struct203B144 * gUnknown_203B144 = NULL; +static EWRAM_DATA struct Struct203B148 * gUnknown_203B148[4] = {}; +static EWRAM_DATA struct Struct203B158 * gUnknown_203B158 = NULL; +static EWRAM_DATA struct Struct203B15C * gUnknown_203B15C = NULL; +static EWRAM_DATA struct Struct203B160 * gUnknown_203B160 = NULL; +static EWRAM_DATA struct Struct203B164 * gUnknown_203B164 = NULL; +static EWRAM_DATA struct Struct203B168 * gUnknown_203B168 = NULL; +static EWRAM_DATA u8 gLastViewedMonIndex = 0; +static EWRAM_DATA u8 gUnknown_203B16D = 0; +static EWRAM_DATA u8 gUnknown_203B16E = 0; +static EWRAM_DATA struct Struct203B170 * gUnknown_203B170 = NULL; extern const u32 gUnknown_8E9B750[]; extern const u32 gUnknown_8E9B950[]; |