diff options
Diffstat (limited to 'spec/name.fspec')
-rw-r--r-- | spec/name.fspec | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/spec/name.fspec b/spec/name.fspec index 69f75de..d4e0f7c 100644 --- a/spec/name.fspec +++ b/spec/name.fspec @@ -1,5 +1,8 @@ -// NPC IDs -struct name = { - u8 name[28] = ascii; // The kind actually depends on ROM section - u32 id; +struct name { + name: u8[28] | encoding('ascii') str; // The encoding actually depends on ROM region + id: u32; +}; + +struct dat { + name: struct name[$]; }; |