Pelagic II


00070401 When shot/hit, assign function 0401 - Control room
0033fd07 If $self is dying/dead goto 07
0034fd07 If $self has finished death animation goto 07
017bfd07 If $self's body has disappeared goto 07
000000 Go to next 00
000207 Label 07
0005fd0403 Assign function 0403 - Unset flags to $self and advance frame
000200 Label 00
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
003507 If $player in sight goto 07
008e630104 If actor's alertness > 99 goto 04
000100 Go to first 00
000207 Label 07
0130f808fe0aff000000 Say random quip: "Please! Don't shoot me!","I give up!","You win! I surrender"
000204 Label 04
013164 For all actors in the same group, set their alertness to 100
0024 Surrender
00020b Label 0b
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
0052001407 If actor is within 20 units of $player goto 07
00010b Go to first 0b
000207 Label 07
01380607 If sound in channel 6 is finished goto 07
00010b Go to first 0b
000207 Label 07
004a07 If something (actor in view?) goto 07
00010b Go to first 0b
000207 Label 07
00a3000002000108 If flag #10 (Objective complete: Deactivate GPS and autopilot) is true goto 08
00a3000100000007 If flag #17 (pull the plug said) is false goto 07
000004 Go to next 04
000208 Label 08
00346009 If actor 60 has finished death animation goto 09
00336009 If actor 60 is dying/dead goto 09
017b6009 If actor 60's body has disappeared goto 09
00010b Go to first 0b
000209 Label 09
00a3000001000104 If flag #9 (Objective complete: Deactivate GPS and autopilot) is true goto 04
00a3000200000008 If flag #18 (switch this thing off said) is false goto 08
000204 Label 04
0130f808fe0aff000000 Say random quip: "Please! Don't shoot me!","I give up!","You win! I surrender"
00010b Go to first 0b
000207 Label 07
00cdf6162b73250709 Display text and play a sound in channel 7 for player:
Pull the plug on that now.
00a100010000 Set flag #17 (pull the plug said)
00000c Go to next 0c
000208 Label 08
00cdf6162c73260709 Display text and play a sound in channel 7 for player:
Switch this thing off.
00a100020000 Set flag #18 (switch this thing off said)
00000c Go to next 0c
00020c Label 0c
0003 Yield
01380707 If sound in channel 7 is finished goto 07
00010c Go to first 0c
000207 Label 07
009b0800000000 Set an actor flag
00a3000200000007 If flag #18 (switch this thing off said) is false goto 07
00cdf6162d128e0604 Display text and play a sound in channel 6 for player:
I'll shut it down.
000008 Go to next 08
000207 Label 07
00cdf6162e12800604 Display text and play a sound in channel 6 for player:
Please don't hurt me.
000208 Label 08
01a3ff Character moves hands (gun jammed)
00020f Label 0f
0003 Yield
01380608 If sound in channel 6 is finished goto 08
00010f Go to first 0f
000208 Label 08
00a3000200000107 If flag #18 (switch this thing off said) is true goto 07
001f015d Walk to pad 015d
00000d Go to next 0d
000207 Label 07
001f0160 Walk to pad 0160
00020d Label 0d
0003 Yield
003207 If actor has stopped moving goto 07
00010d Go to first 0d
000207 Label 07
000b00ac0000ffff1010fd02 Actor $self does animation 00ac (push button with right hand)
00b6 Reset and start cycle counter
00020e Label 0e
0003 Yield
003207 If actor has stopped moving goto 07
00bd00003c08 If cycle counter > 60 (1.0 secs) goto 08
00010e Go to first 0e
000208 Label 08
00cdfdffff81180900 Display text and play a sound in channel 9 for $self:
(unknown text)
000210 Label 10
0003 Yield
003207 If actor has stopped moving goto 07
000110 Go to first 10
000207 Label 07
00a3000002000107 If flag #10 (Objective complete: Deactivate GPS and autopilot) is true goto 07
00cbf6160e Display text in bottom left for player:
Autopilot system has been deactivated.
00a100000002 Set flag #2 (autopilot deactivated)
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
0003 Yield
00a100000200 Set flag #10 (Objective complete: Deactivate GPS and autopilot)
0024 Surrender
00010b Go to first 0b
000207 Label 07
00cbf6160f Display text in bottom left for player:
GPS system has been deactivated.
00a100000100 Set flag #9 (Objective complete: Deactivate GPS and autopilot)
0024 Surrender
00010b Go to first 0b
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

Comments

Wait until Jo in sight
Say something random and surrender
Wait until Jo within 20 units, channel 6 free, line of sight to Jo, and flag 10 or 17 set

If flag 10 set:

If flag 17 set: