summaryrefslogtreecommitdiff
path: root/include/region_map.h
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 /include/region_map.h
parent275ce5deff0e85d8a52c33b1c948bf4a5c3b5b99 (diff)
Decompile pokedex_area_screen.c (#412)
Diffstat (limited to 'include/region_map.h')
-rw-r--r--include/region_map.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/region_map.h b/include/region_map.h
index 6339f7a88..0c82232cf 100644
--- a/include/region_map.h
+++ b/include/region_map.h
@@ -78,6 +78,15 @@ struct RegionMap {
/*0x284*/ u8 cursorLargeImage[0x600];
}; // size = 0x884
+struct RegionMapLocation
+{
+ u8 x;
+ u8 y;
+ u8 width;
+ u8 height;
+ const u8 *name;
+};
+
// Exported RAM declarations
// Exported ROM declarations
@@ -95,5 +104,10 @@ u8 *GetMapName(u8 *, u16, u16);
bool32 sub_8124668(u8 mapSecId);
u8 *sub_81245DC(u8 *dest, u16 mapSecId);
u8 *sub_8124610(u8 *dest, u16 mapSecId);
+u16 CorrectSpecialMapSecId(u16 mapSecId);
+void sub_8122D88(struct RegionMap *regionMap);
+void PokedexAreaScreen_UpdateRegionMapVariablesAndVideoRegs(s16 x, s16 y);
+
+extern const struct RegionMapLocation gRegionMapEntries[];
#endif //GUARD_REGION_MAP_H