Beispiel #1
0
        public AsmMessageCommand(AsmEvent script, int offset)
            : base(JsmCommand.MES, script, offset)
        {
            IAsmReadableCommandStack stack = GetReadableCommandStack(StackSize);

            MessageChanel = stack.Pop();
            MessageId     = stack.Pop();
        }
Beispiel #2
0
        public AsmAppearMessageAndWaitCommand(AsmEvent script, int offset)
            : base(JsmCommand.AMESW, script, offset)
        {
            IAsmReadableCommandStack stack = GetReadableCommandStack(StackSize);

            MessageChanel = stack.Pop();
            MessageId     = stack.Pop();
            X             = stack.Pop();
            Y             = stack.Pop();
        }
Beispiel #3
0
        public AsmSetCharacterCommand(AsmEvent script, int offset)
            : base(JsmCommand.SETPC, script, offset)
        {
            IAsmReadableCommandStack stack = GetReadableCommandStack(StackSize);

            CharactedId = stack.Pop();
        }
Beispiel #4
0
        public AsmSetPlaceCommand(AsmEvent script, int offset)
            : base(JsmCommand.SETPLACE, script, offset)
        {
            IAsmReadableCommandStack stack = GetReadableCommandStack(StackSize);

            TextId = stack.Pop();
        }
Beispiel #5
0
        public AsmAppearAskCommand(AsmEvent script, int offset)
            : base(JsmCommand.AASK, script, offset)
        {
            IAsmReadableCommandStack stack = GetReadableCommandStack(StackSize);

            MessageChanel     = stack.Pop();
            MessageId         = stack.Pop();
            FirstAnswerLine   = stack.Pop();
            LastAnswerLine    = stack.Pop();
            DefaultAnswerLine = stack.Pop();
            CancelAnswerLine  = stack.Pop();
            X = stack.Pop();
            Y = stack.Pop();
        }