diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2016-10-25 23:38:35 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-10-25 21:38:35 -0700 |
commit | e65f3ef73280c94549452f4142cbee70887fad65 (patch) | |
tree | 559fcbab5c0c20c5cb3959bbd1d58d286bf21e3a /include/fieldmap.h | |
parent | 6cb3764a0952f7b343f192f4055a937953a41218 (diff) |
decompile wild_encounter.c (#71)
* start decompiling wild_encounter
* decompile more code
* decompile more code
* decompile a few more functions
* try (unsuccessfully) to decompile StandardWildEncounter
* more work trying to get it to match
* finish decompiling all that I can
* clean up a bit and fix whitespace issues
* tab to spaces
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index 852a6c337..a7a45218d 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -36,16 +36,16 @@ struct MapData struct MapObjectTemplate { - u8 localId; - u8 filler_1[0x3]; - s16 x; - s16 y; - u8 elevation; - u8 movementType; - u8 filler_A[0x6]; - u8 *script; - u8 filler_14[0x4]; -}; + /*0x00*/ u8 localId; + /*0x01*/ u8 filler_1[0x3]; + /*0x04*/ s16 x; + /*0x06*/ s16 y; + /*0x08*/ u8 elevation; + /*0x09*/ u8 movementType; + /*0x0A*/ u8 filler_A[0x6]; + /*0x10*/ u8 *script; + /*0x14*/ u8 filler_14[0x4]; +}; /*size = 0x18*/ struct WarpEvent { |