diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dungeon_entity.h | 37 | ||||
-rw-r--r-- | include/gUnknown_203B418.h | 6 | ||||
-rw-r--r-- | include/wonder_mail.h | 15 |
3 files changed, 42 insertions, 16 deletions
diff --git a/include/dungeon_entity.h b/include/dungeon_entity.h index 82e2791..9f3033c 100644 --- a/include/dungeon_entity.h +++ b/include/dungeon_entity.h @@ -3,24 +3,35 @@ struct subStruct_8048524 { - u8 fill0[0x6]; - u8 unk6; - u8 unk7; - u8 fill8[0xE - 0x8]; - /* 0xE */ s16 HP; // HP?? - s16 unk10; - u8 fill12[0x46 - 0x12]; - s8 unk46; - u8 fill47[0xA4 - 0x47]; - u8 unkA4; + /* 0x0 */ u8 unk0; + /* 0x1 */ u8 unk1; + /* 0x2 */ s16 species; + /* 0x4 */ s16 transformSpecies; + /* 0x6 */ bool8 isEnemy; + /* 0x7 */ bool8 isLeader; + /* 0x8 */ u8 shopKeeper; + /* 0x9 */ u8 level; + /* 0xA */ u16 partyIndex; + /* 0xC */ u16 IQ; + /* 0xE */ s16 HP; + /* 0x10 */ s16 maxHP; + /* 0x12 */ s16 bossHPBackup; + u8 fill14[0x46 - 0x14]; + /* 0x46 */ s8 facingDir; + u8 fill47[0x8C - 0x47]; + u8 unk8C[4]; + u8 fill90[0xA4 - 0x90]; + /* 0xA4 */ u8 clientFlags; u8 fillA5[0xAC - 0xA5]; /* 0xAC */ u8 statusCondition; - u8 fillAD[0xFB - 0xAD]; + u8 fillAD[0xF7 - 0xAD]; + /* 0xF7 */ bool8 isBoss; + u8 fillF8[0xFB - 0xF8]; u8 unkFB; u8 fillFC[0x112 - 0xFC]; - u8 unk112; + /* 0x112 */ u8 stockpileCount; u8 fill113[0x13C - 0x113]; - u32 unk13C; + /* 0x13C */ u32 belly; u8 fill140[0x15C - 0x140]; u8 unk15C; u8 unk15D; diff --git a/include/gUnknown_203B418.h b/include/gUnknown_203B418.h index 902b591..e022b4b 100644 --- a/include/gUnknown_203B418.h +++ b/include/gUnknown_203B418.h @@ -16,7 +16,11 @@ struct unkStruct_203B418 u8 unk11; u8 fill12[0x16D - 0x12]; u8 unk16D; - u8 fill16E[0xE23C - 0x16E]; + u8 fill16E[0x65C - 0x16E]; + u8 unk65C; + u8 fill65D[0x66A - 0x65D]; + u16 unk66A; + u8 fill66B[0xE23C - 0x66C]; s16 unkE23C; s16 unkE23E; u8 fillE240[0xE265 - 0xE240]; diff --git a/include/wonder_mail.h b/include/wonder_mail.h index 9593e3b..ae4c701 100644 --- a/include/wonder_mail.h +++ b/include/wonder_mail.h @@ -90,8 +90,8 @@ struct WonderMailStruct_203B2C4 u8 unk42E; u32 unk430; u8 formattedString[0x100]; - s32 unk534; - u32 unk538; + s32 wonderMailMethod; + u32 wonderMailMode; u8 unk53C[0xA]; u32 unk548; u32 unk54C; @@ -110,5 +110,16 @@ struct WonderMailStruct_203B2C4 void sub_8028B04(u32 r0); +enum WonderMailMode { + WONDER_MAIL_MODE_SEND = 1, + WONDER_MAIL_MODE_RECEIVE = 2, +}; + +enum WonderMailMethod { + WONDER_MAIL_GAME_LINK = 3, + WONDER_MAIL_PASSWORD = 5, +}; + + #endif |