Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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);
 }
Beispiel #4
0
 public void Disable(ROM rom)
 {
     rom.PushOffset(romOffset);
     rom.Write8(0, 0x02);
     rom.PopOffset();
 }