diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-16 10:54:51 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-19 20:44:55 +0300 |
commit | d98285e367c29ec9eb1cacf5cf424d6910270efd (patch) | |
tree | 8b452a322c1acceecffeb647f9774949b17d7516 /spec/ability.fspec | |
parent | cc333c5f12a91a894a116130eebb30ed0474db47 (diff) |
redesign
Diffstat (limited to 'spec/ability.fspec')
-rw-r--r-- | spec/ability.fspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/ability.fspec b/spec/ability.fspec index 4498d69..67a9965 100644 --- a/spec/ability.fspec +++ b/spec/ability.fspec @@ -1,14 +1,14 @@ struct ability { - index: u16; - icon_id: u16; - mp_cost: u16; - unknown: u16; - targets: u16; - name: u8[32] | encoding('sjis') str; // The encoding actually depends on ROM region - description: u8[256] | encoding('sjis') str; // ^ Ditto, we can't express this (we need parser options) - padding: u8[726] nul; + u16 index; + u16 icon_id; + u16 mp_cost; + u16 unknown; + u16 targets; + u8 name[32] | necoding('sjis') str; // The encoding actually depends on ROM region + u8 description[256] | encoding('sjis') str; // ^ Ditto, we can't express this (we need parser options) + u8 padding[726] nul; }; struct dat { - ability: struct ability[$]; + struct ability ability[$]; }; |