diff options
author | garak <garakmon@gmail.com> | 2018-12-19 21:35:32 -0500 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2018-12-19 21:35:32 -0500 |
commit | af208a6bbb671cbf471d08856994470e707c5051 (patch) | |
tree | 9a57703eecf8c18f444454f2fae8f5dccf19d408 /src/unk_pokedex_area_screen_helper.c | |
parent | 7e170a06cc3155a6a8785af0b910434e5ab43d2b (diff) | |
parent | f801eed3a84862d88af0d5e43c6b6754e36001f2 (diff) |
Merge branch 'fldeff' of https://github.com/garakmon/pokeemerald into fldeff
Diffstat (limited to 'src/unk_pokedex_area_screen_helper.c')
-rw-r--r-- | src/unk_pokedex_area_screen_helper.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/unk_pokedex_area_screen_helper.c b/src/unk_pokedex_area_screen_helper.c index 9e97321df..67fd52cb5 100644 --- a/src/unk_pokedex_area_screen_helper.c +++ b/src/unk_pokedex_area_screen_helper.c @@ -2,8 +2,9 @@ #include "main.h" #include "menu.h" #include "bg.h" -#include "malloc.h" +#include "alloc.h" #include "palette.h" +#include "unk_pokedex_area_screen_helper.h" EWRAM_DATA u8 *gUnknown_0203CF28 = NULL; @@ -13,15 +14,7 @@ static const u32 gUnknown_0861DEF4[] = INCBIN_U32("graphics/interface/region_map static const u32 gUnknown_0861E208[] = INCBIN_U32("graphics/interface/region_map_affine.8bpp.lz"); static const u32 gUnknown_0861EF64[] = INCBIN_U32("graphics/interface/region_map_affine.bin.lz"); -struct UnkStruct_1C4D70 -{ - u32 bg:2; - u32 unk2:8; - u32 unk10:2; - u32 unk12:20; -}; - -void sub_81C4D70(struct UnkStruct_1C4D70 *template) +void sub_81C4D70(const struct UnkStruct_1C4D70 *template) { u8 unk; gUnknown_0203CF28 = Alloc(4); |