0077012f |
If difficulty < SA goto 2f |
000004 |
Go to next 04 |
00022f |
Label 2f |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000204 |
Label 04 |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
0063f6022f |
If object 02 (TV screen) activated by player goto 2f |
000104 |
Go to first 04 |
00022f |
Label 2f |
0074010b |
If objective #2 is failed goto 0b |
00a3000400000108 |
If flag #19 (Objective complete: Start security maintenance cycle) is true goto 08 |
00a300000200010a |
If flag #10 (maintenance bot active) is true goto 0a |
00a300000400012f |
If flag #11 (maintenance bot has program) is true goto 2f |
00ce01caff |
Play sound 01ca in channel 255 |
017c01c503 |
Set sound 01c5 to channel 3 (does not play) |
016b0338000102580320 |
Play sound in channel 3 from object 38 (purple hoverbot) |
00cbf61e0f |
Display text in bottom left for player: Maintenance robots activated.
|
00a100000200 |
Set flag #10 (maintenance bot active) |
00a140000000 |
Set flag #31 (bot active without maintenance program) |
000104 |
Go to first 04 |
00022f |
Label 2f |
00cbf61e0f |
Display text in bottom left for player: Maintenance robots activated.
|
00a100000200 |
Set flag #10 (maintenance bot active) |
0003 |
Yield |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e12 |
Display text in bottom left for player: Maintenance cycle activated.
|
00a100040000 |
Set flag #19 (Objective complete: Start security maintenance cycle) |
000104 |
Go to first 04 |
000208 |
Label 08 |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e14 |
Display text in bottom left for player: Operation not allowed - robots busy.
|
00b6 |
Reset and start cycle counter |
000209 |
Label 09 |
0003 |
Yield |
00bd00007806 |
If cycle counter > 120 (2.0 secs) goto 06 |
000109 |
Go to first 09 |
000206 |
Label 06 |
000104 |
Go to first 04 |
00020a |
Label 0a |
00cbf61e15 |
Display text in bottom left for player: Maintenance robots deactivated.
|
00a200000200 |
Unset flag #10 (maintenance bot active) |
00a220000000 |
Unset flag #30 (routine cleaning cycle active) |
00a240000000 |
Unset flag #31 (bot active without maintenance program) |
00ce01c9ff |
Play sound 01c9 in channel 255 |
00d303 |
Turn off sound in channel 3 |
000104 |
Go to first 04 |
00020b |
Label 0b |
00ce00f7ff |
Play sound f7 in channel 255 |
00cbf61e17 |
Display text in bottom left for player: Maintenance robot system offline.
|
000104 |
Go to first 04 |
0004 |
End of function |
SA/PA only:
Wait for terminal to be activated
If objective is failed, show "Maintenance robot system offline"
Elseif objective is completed, show "Operation not allowed - robots busy"
Elseif bot is currently running, show "Maintenance robots deactivated" and unset flags 10, 30, 31
Elseif bot has program, show "Maintenance robots activated", "Maintenance cycle activated", set flag 10 (robots active) and complete objective
Else, show "Maintenance robots activated", set flags 10 (robots active) and 31
If you turn the bot on without programming it, it moves slowly in a short path. If you then program it while it's running, it starts the routine cleaning cycle where it moves up and down the room at medium speed. To program it for lasers, you must program it while the bot is off.