summaryrefslogtreecommitdiff
path: root/src/unk_pokedex_area_screen_helper.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-11-30 10:41:03 -0600
committerGitHub <noreply@github.com>2018-11-30 10:41:03 -0600
commit9dd7f8f2147ffcaa0b5a347a937b269a946717b3 (patch)
tree06743f9c4404802e3c7cdcd6e22e5b11070ffb4c /src/unk_pokedex_area_screen_helper.c
parent275ce5deff0e85d8a52c33b1c948bf4a5c3b5b99 (diff)
Decompile pokedex_area_screen.c (#412)
Diffstat (limited to 'src/unk_pokedex_area_screen_helper.c')
-rw-r--r--src/unk_pokedex_area_screen_helper.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/unk_pokedex_area_screen_helper.c b/src/unk_pokedex_area_screen_helper.c
index 9e97321df..6b88069bb 100644
--- a/src/unk_pokedex_area_screen_helper.c
+++ b/src/unk_pokedex_area_screen_helper.c
@@ -4,6 +4,7 @@
#include "bg.h"
#include "malloc.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);