summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-10-29 11:05:42 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-10-29 11:05:42 -0400
commit6e10e8caad9d6920c6a1451c0ec63edf529ce17a (patch)
tree7047e5d2ede5c9855ab267dd498b7a49420b62c5 /include
parent929638f572ceba01ffd528eb024a2f124ca4224e (diff)
sub_8170428
Diffstat (limited to 'include')
-rw-r--r--include/region_map.h57
1 files changed, 56 insertions, 1 deletions
diff --git a/include/region_map.h b/include/region_map.h
index 5eeb3a95f..20756404c 100644
--- a/include/region_map.h
+++ b/include/region_map.h
@@ -219,11 +219,66 @@ enum {
MAPSEC_TRAINER_HILL
};
+struct RegionMap {
+ u8 unk_00;
+ u8 unk_01;
+ bool8 unk_02;
+ u8 unk_03;
+ u8 mapSecName[0x14];
+ u16 mapSecId;
+ u8 unk16;
+ u8 everGrandeCityArea;
+ u8 (*inputCallback)(void);
+ struct Sprite *cursorSprite;
+ struct Sprite *playerIconSprite;
+ s32 bg2x;
+ s32 bg2y;
+ u32 unk2C; //
+ u32 unk30; // Map rotation parameters
+ u32 unk34; // Likely a scrapped feature
+ u32 unk38; //
+ s32 unk3C;
+ s32 unk40;
+ s32 unk44;
+ s32 unk48;
+ s32 unk4C;
+ s32 unk50;
+ u16 cursorPosX;
+ u16 cursorPosY;
+ u16 cursorTileTag;
+ u16 cursorPaletteTag;
+ s16 scrollX;
+ s16 scrollY;
+ s16 unk60;
+ s16 unk62;
+ u16 unk64;
+ u16 unk66;
+ u16 unk68;
+ u16 unk6A;
+ u16 unk6C;
+ u16 unk6E;
+ u16 playerIconTileTag;
+ u16 playerIconPaletteTag;
+ u16 unk74;
+ u16 unk76;
+ bool8 zoomed;
+ u8 initStep;
+ s8 unk7A;
+ s8 cursorDeltaX;
+ s8 cursorDeltaY;
+ bool8 needUpdateVideoRegs;
+ bool8 blinkPlayerIcon;
+ bool8 playerIsInCave;
+ /*0x084*/ u8 filler80[0x100];
+ /*0x184*/ u8 cursorSmallImage[0x100];
+ /*0x284*/ u8 cursorLargeImage[0x600];
+}; // size = 0x884
+
// Exported RAM declarations
// Exported ROM declarations
void GetMapName(u8 *, u16, u16);
-void sub_8122CDC(void *data, u8 argument);
+void sub_8122CDC(struct RegionMap *regionMap, u8 argument);
void sub_8124288(u16 x, u16 y);
void sub_81240D4(u16 x, u16 y);
u8 sub_81230AC(void);