00a400080000 |
Set property for actor $self: 1:00080000 (run animations faster) |
009c0020000001 |
Unset an actor flag |
00070404 |
When shot/hit, assign function 0404 - Elvis sabotage |
0106fc0000 |
Set $player to $self->target_actor |
0033fd2e |
If $self is dying/dead goto 2e |
0034fd2e |
If $self has finished death animation goto 2e |
017bfd2e |
If $self's body has disappeared goto 2e |
000006 |
Go to next 06 |
00022e |
Label 2e |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000206 |
Label 06 |
0083fd2e |
If $self shot (while recoiling?) goto 2e |
000006 |
Go to next 06 |
00022e |
Label 2e |
0130f829ff03ff010000 |
Say random quip: unknown quip |
000212 |
Label 12 |
0003 |
Yield |
003206 |
If actor has stopped moving goto 06 |
000112 |
Go to first 12 |
000206 |
Label 06 |
00a300004000012e |
If flag #15 (megaweapon disabled) is true goto 2e |
00a300000002015f |
If flag #2 (Elvis said would benefit from sabotage) is true goto 5f |
00022e |
Label 2e |
0128c808 |
If actor within 200 units of an enemy and has line of sight then set AI vs AI and goto 08 |
0106fc0000 |
Set $player to $self->target_actor |
0052001406 |
If actor is within 20 units of $player goto 06 |
000203 |
Label 03 |
0106fc0000 |
Set $player to $self->target_actor |
00b6 |
Reset and start cycle counter |
0053001e06 |
If actor is further than 30 units from player goto 06 |
002b04 |
Run to Jo with hand up (eg. in rain), then goto 04 |
000206 |
Label 06 |
002d04 |
Run to Jo, then goto 04 |
000204 |
Label 04 |
0003 |
Yield |
00a300004000012e |
If flag #15 (megaweapon disabled) is true goto 2e |
005b0000006c1d |
If actor 00 (Elvis) is in room/pad 6c goto 1d |
00022e |
Label 2e |
00b5474f20544f205041440a00 |
// GO TO PAD |
0128c808 |
If actor within 200 units of an enemy and has line of sight then set AI vs AI and goto 08 |
0106fc0000 |
Set $player to $self->target_actor |
0052001406 |
If actor is within 20 units of $player goto 06 |
00bd00003c2e |
If cycle counter > 60 (1.0 secs) goto 2e |
000104 |
Go to first 04 |
00022e |
Label 2e |
000103 |
Go to first 03 |
000206 |
Label 06 |
0009 |
Actor stops travelling |
000209 |
Label 09 |
0003 |
Yield |
00b54234205041440a00 |
// B4 PAD |
00a300004000012e |
If flag #15 (megaweapon disabled) is true goto 2e |
005b0000006c1d |
If actor 00 (Elvis) is in room/pad 6c goto 1d |
00022e |
Label 2e |
00b54154205041440a00 |
// AT PAD |
0128c808 |
If actor within 200 units of an enemy and has line of sight then set AI vs AI and goto 08 |
0106fc0000 |
Set $player to $self->target_actor |
0053001e06 |
If actor is further than 30 units from player goto 06 |
000109 |
Go to first 09 |
000206 |
Label 06 |
000103 |
Go to first 03 |
000208 |
Label 08 |
00b544455445435445440a00 |
// DETECTED |
0036 |
Call RNG |
00375563 |
If random byte < 85 goto 63 |
0037aa64 |
If random byte < 170 goto 64 |
0130f826ff0fff010000 |
Say random quip: "In the name of intergalactic peace","Eat hot lead, weirdos","Kiss my alien butt" |
00002e |
Go to next 2e |
000263 |
Label 63 |
0130f827ff0fff010000 |
Say random quip: "I'll kick your ass","I'm doing this for your own good","You dare shoot at me?" |
00002e |
Go to next 2e |
000264 |
Label 64 |
0130f828ff0fff010000 |
Say random quip: "Don't mess with the Maian","I'm bad","Hehe" |
00022e |
Label 2e |
00070404 |
When shot/hit, assign function 0404 - Elvis sabotage |
0006fd0404 |
Set return function for $self to function 0404 - Elvis sabotage |
0005fd000c |
Assign function 000c - Combat with ally? to $self and advance frame |
00021d |
Label 1d |
00cdf6301c14ec0604 |
Display text and play a sound in channel 6 for player: It looks like this could benefit from
a little bit of sabotage.
|
00025f |
Label 5f |
00a100000002 |
Set flag #2 (Elvis said would benefit from sabotage) |
0009 |
Actor stops travelling |
001d005f |
Jog to pad 005f |
00020f |
Label 0f |
0003 |
Yield |
00322e |
If actor has stopped moving goto 2e |
00010f |
Go to first 0f |
00026f |
Label 6f |
00022e |
Label 2e |
00a501000000 |
Unset property for actor $self: 1:01000000 (unknown prop) |
00b6 |
Reset and start cycle counter |
000b0205ffffffff0010fd02 |
Actor $self does animation 0205 (hold arms out, head down) |
000210 |
Label 10 |
0003 |
Yield |
003206 |
If actor has stopped moving goto 06 |
000110 |
Go to first 10 |
000206 |
Label 06 |
0130f82cff03ff010000 |
Say random quip: unknown quip |
00a401000000 |
Set property for actor $self: 1:01000000 (unknown prop) |
00cbf83014 |
Display text in bottom left for Joanna: Cetan megaweapon has been disabled.
|
00a100004000 |
Set flag #15 (megaweapon disabled) |
00a100020000 |
Set flag #18 (Objective complete: Disable Cetan megaweapon) |
0102006c0364ff78000000 |
Turn on/off lights in room 6c |
017c814807 |
Set sound 8148 to channel 7 (does not play) |
017907fd00010bb8177001 |
Play sound in slot by $self |
0071b702 |
Unlock door b7 (slide door) with value 2 |
0071b802 |
Unlock door b8 (slide door) with value 2 |
000103 |
Go to first 03 |
000260 |
Label 60 |
0005fd0404 |
Assign function 0404 - Elvis sabotage to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.