Aztec


9b00000100 Unset flag #9 (exhaust bay open)
0200 Label 00
03 Yield
9c0000010036 If flag #9 (exhaust bay open) is set then goto 36
9c000004000a If flag #11 (exhaust bay opening) is set then goto 0a
0100 Go to first 00
0236 Label 36
9c000008000d If flag #12 (exhaust bay closing) is set then goto 0d
0100 Go to first 00
020a Label 0a
c31406 Display text at top:
Exhaust bay opening.
6714 Close door 14 (roller door)
6600 Open door 00 (exhaust bay doors (left))
ae Reset and start cycle counter
020b Label 0b
03 Yield
b40003842c If cycle counter > 900 (15.0 secs) then goto 2c
010b Go to first 0b
022c Label 2c
6609 Open door 09 (boardroom table)
670a Close door 0a (boardroom chair)
020c Label 0c
03 Yield
6800022c If door 00 (exhaust bay doors (left)) is open then goto 2c
010c Go to first 0c
022c Label 2c
9a00000100 Set flag #9 (exhaust bay open)
9b00000400 Unset flag #11 (exhaust bay opening)
0100 Go to first 00
020d Label 0d
c31407 Display text at top:
Exhaust bay closing.
6614 Open door 14 (roller door)
6700 Close door 00 (exhaust bay doors (left))
ae Reset and start cycle counter
020e Label 0e
03 Yield
b40003842c If cycle counter > 900 (15.0 secs) then goto 2c
010e Go to first 0e
022c Label 2c
6709 Close door 09 (boardroom table)
660a Open door 0a (boardroom chair)
020f Label 0f
03 Yield
6800012c If door 00 (exhaust bay doors (left)) is closed then goto 2c
010f Go to first 0f
022c Label 2c
9b00000100 Unset flag #9 (exhaust bay open)
9b00000800 Unset flag #12 (exhaust bay closing)
0100 Go to first 00
04 End of function

Invocations

  • Started automatically

Comments

There are no comments yet for this function.