public override void WriteScroll(ROM rom) { rom.PushOffset(romOffset); rom.Write8(acts, 0x02); rom.Write16(X, 0x04); rom.Write16(Y, 0x06); rom.Write32(segmentedAddress, 0x10); rom.Write32(behavior, 0x14); rom.PopOffset(); }
public override void WriteScroll(ROM rom) { rom.PushOffset(romOffset); rom.Write8(acts, 0x02); rom.Write16(X, 0x04); rom.Write16(Y, 0x06); rom.Write16(Z, 0x08); rom.Write16(BParam, 0x10); rom.Write16(BParam2, 0x12); rom.Write32(behavior, 0x14); rom.PopOffset(); }
private static void RelocationParse_cmd1F(ROM rom, RelocationTable table, RegionParseState state) { rom.Write8((byte)state.area, 2); table.RelocateOffset((int)state.area, rom, 4); }
public void Disable(ROM rom) { rom.PushOffset(romOffset); rom.Write8(0, 0x02); rom.PopOffset(); }