public static void SetScrollType(LevelscriptCommand cmd, byte behav) { byte val = GetScrollBehavior(cmd); val = (byte)(val | behav); cmd.Position = 6; cmd.WriteByte(val); cmd.Position = 0; }
public static void SetCycleDuration(LevelscriptCommand cmd, byte ptr) { cmd.Position = 7; cmd.WriteByte(ptr); cmd.Position = 0; }
public static void SetDialogID(LevelscriptCommand cmd, byte dialogID) { cmd.Position = 3; cmd.WriteByte(dialogID); cmd.Position = 0; }
public static void SetAreaID(LevelscriptCommand cmd, byte areaID) { cmd.Position = 3; cmd.WriteByte(areaID); cmd.Position = 0; }
public static void SetCollisionType(LevelscriptCommand cmd, byte collisionType) { cmd.Position = 2; cmd.WriteByte(collisionType); cmd.Position = 0; }
public static void SetDestinationLevelID(LevelscriptCommand Command, Levels LevelID) { Command.Position = 3; Command.WriteByte((byte)LevelID); Command.Position = 0; }