Пример #1
0
 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();
 }
Пример #2
0
 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();
 }
Пример #3
0
 private static void RelocationParse_cmd1F(ROM rom, RelocationTable table, RegionParseState state)
 {
     rom.Write8((byte)state.area, 2);
     table.RelocateOffset((int)state.area, rom, 4);
 }
Пример #4
0
 public void Disable(ROM rom)
 {
     rom.PushOffset(romOffset);
     rom.Write8(0, 0x02);
     rom.PopOffset();
 }