Rename chara fields back to offsets
Label all or label none.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user