Rename chara fields back to offsets

Label all or label none.
This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent e47922b5a0
commit 4a1e8f5d28
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ export function chara(chara: Chara): Buffer {
const buf = Buffer.alloc(0x0014);
buf.writeUInt8(chara.gender === "male" ? 0 : 1, 0x00);
buf.writeUInt16LE(chara.clothing, 0x02);
buf.writeUInt16LE(chara.mouth, 0x04);
buf.writeUInt16LE(chara.field_02, 0x02);
buf.writeUInt16LE(chara.field_04, 0x04);
buf.writeUInt16LE(chara.field_06, 0x06);
buf.writeUInt16LE(chara.field_08, 0x08);
buf.writeUInt16LE(chara.field_0A, 0x0a);