assorted shit
This commit is contained in:
@@ -13,9 +13,9 @@ export function car(car: Car): Buffer {
|
||||
);
|
||||
}
|
||||
|
||||
buf.writeUInt16LE(car.model, 0x0044);
|
||||
buf.writeUInt8(car.color, 0x0046);
|
||||
buf.writeUInt16LE(car.transmission, 0x0048);
|
||||
buf.writeUInt16LE(car.field_44, 0x0044);
|
||||
buf.writeUInt8(car.field_46, 0x0046);
|
||||
buf.writeUInt16LE(car.field_48, 0x0048);
|
||||
buf.writeUInt16LE(car.field_4A, 0x004a);
|
||||
buf.writeUInt32LE(car.field_4C, 0x004c);
|
||||
buf.writeUInt32LE(car.field_50_lo, 0x0050);
|
||||
|
||||
@@ -36,13 +36,14 @@ export function loadProfile2(res: LoadProfileResponse2) {
|
||||
}
|
||||
}
|
||||
|
||||
buf.writeInt16LE(0x0065, 0x0000);
|
||||
buf.writeInt32LE(res.profileId, 0x03b8);
|
||||
buf.writeUInt16LE(0x0065, 0x0000);
|
||||
buf.writeUInt32LE(res.profileId, 0x03b8);
|
||||
buf.writeUInt16LE(res.settings.bgMusic, 0x03c8);
|
||||
buf.writeInt16LE(res.lv, 0x03cc);
|
||||
buf.writeUInt16LE(res.lv, 0x03cc);
|
||||
buf.writeUInt32LE(res.exp, 0x03d0);
|
||||
buf.writeUInt32LE(settingsPack, 0x3d8);
|
||||
buf.writeInt32LE(res.dpoint, 0x03e8);
|
||||
buf.writeInt32LE(res.fame, 0x0404);
|
||||
buf.writeUInt32LE(res.dpoint, 0x03e8);
|
||||
buf.writeUInt32LE(res.fame, 0x0404);
|
||||
iconv.encode(res.name + "\0", "shift_jis").copy(buf, 0x03ee);
|
||||
buf.writeUInt16LE(res.story.x, 0x06bc);
|
||||
buf.writeUInt8(res.story.y, 0x0670);
|
||||
|
||||
Reference in New Issue
Block a user