summaryrefslogtreecommitdiff
path: root/spec/ability.fspec
blob: 4498d69aa3af28aba9485db3254b32c497b3eae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
};

struct dat {
   ability: struct ability[$];
};