public override void Execute() { string s = ZText.DecodeStringWithLen((ushort)Machine.Memory.PC, out int length); Machine.Memory.PC += length; Machine.Output.PrintString(s); }
public override void Execute(ushort aPackedAddress) { long byteAddress = 0; if (Machine.Story.Header.Version <= FileVersion.V3) { byteAddress = aPackedAddress << 1; } else if (Machine.Story.Header.Version <= FileVersion.V5) { byteAddress = aPackedAddress << 2; } string s = ZText.DecodeStringWithLen(byteAddress, out _); Machine.Output.PrintString(s); }