diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-11-19 01:18:26 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-11-18 22:18:26 -0800 |
commit | 2405562993bcc4f3eda613b0fa443dd94573c5ab (patch) | |
tree | 658110fba2a63f5ee7d7babfb00b4c3673d329ff /include/fieldmap.h | |
parent | 5b4e2d3f18f8c3896503abdebd288cf503fbad1e (diff) |
decompile trainer_see.c (#102)
* begin decompiling trainer_see.c
* ...actually add the c file you dummy
* decompile more of trainer_see.c
* finish decompiling trainer_see.c
* formatting
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index bd28f752a..66408c43b 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -166,13 +166,15 @@ struct MapObject /*0x10*/ struct Coords16 coords2; /*0x14*/ struct Coords16 coords3; /*0x18*/ u8 mapobj_unk_18:4; - /*0x19*/ u8 mapobj_unk_19; + /*0x18*/ u8 placeholder18:4; + /*0x19*/ u8 mapobj_unk_19:4; + /*0x19*/ u8 mapobj_unk_19b:4; /*0x1A*/ u8 mapobj_unk_1A; /*0x1B*/ u8 mapobj_unk_1B; /*0x1C*/ u8 mapobj_unk_1C; /*0x1D*/ u8 trainerRange_berryTreeId; - /*0x1E*/ u8 mapobj_unk_1E; - /*0x1E*/ u8 mapobj_unk_1F; + /*0x1E */ u8 mapobj_unk_1E; + /*0x1F*/ u8 mapobj_unk_1F; /*0x20*/ u8 mapobj_unk_20; /*0x21*/ u8 mapobj_unk_21; /*size = 0x24*/ @@ -200,12 +202,12 @@ struct MapObjectGraphicsInfo struct PlayerAvatar { - u8 bitfield; - u8 bike; - u8 running2; - u8 running1; - u8 spriteId; - u8 mapObjectId; + /* 0x00 */ u8 bitfield; + /* 0x01 */ u8 bike; + /* 0x02 */ u8 running2; + /* 0x03 */ u8 running1; + /* 0x04 */ u8 spriteId; + /* 0x05 */ u8 mapObjectId; // TODO: rest of struct }; |