Deep Sea


00070406 When shot/hit, assign function 0406 - Elvis SA area (on SA)
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
00005f Go to next 5f
00022e Label 2e
0130f829ff0fff010000 Say random quip: unknown quip
000212 Label 12
0003 Yield
00325f If actor has stopped moving goto 5f
000112 Go to first 12
00025f Label 5f
00a300080000011b If flag #20 (Elvis started on SA megaweapon) is true goto 1b
00b6 Reset and start cycle counter
005200282e If actor is within 40 units of $player goto 2e
001d00b4 Jog to pad 00b4
00000f Go to next 0f
00022e Label 2e
00021c Label 1c
002000b4 Run to pad 00b4
00020f Label 0f
0003 Yield
00bd00012c06 If cycle counter > 300 (5.0 secs) goto 06
00322e If actor has stopped moving goto 2e
00010f Go to first 0f
000206 Label 06
00015f Go to first 5f
00022e Label 2e
00b6 Reset and start cycle counter
00180008011597 Actor faces pad 0115, then goto 97
000297 Label 97
0003 Yield
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
003206 If actor has stopped moving goto 06
000197 Go to first 97
000206 Label 06
00b6 Reset and start cycle counter
00021b Label 1b
00a100080000 Set flag #20 (Elvis started on SA megaweapon)
00a501000000 Unset property for actor $self: 1:01000000 (unknown prop)
0036 Call RNG
00375663 If random byte < 86 goto 63
0037ac64 If random byte < 172 goto 64
000b0204ffffffff0210fd02 Actor $self does animation 0204 (lean forward/down move arms)
000011 Go to next 11
000263 Label 63
000b0205ffffffff0210fd02 Actor $self does animation 0205 (hold arms out, head down)
000011 Go to next 11
000264 Label 64
000b0206ffffffff0210fd02 Actor $self does animation 0206 (kneel arms over head moving)
000011 Go to next 11
000211 Label 11
0003 Yield
000c2e If actor is not doing anything goto 2e
000006 Go to next 06
00022e Label 2e
00bd000e102e If cycle counter > 3600 (60.0 secs) goto 2e
000111 Go to first 11
000206 Label 06
00011b Go to first 1b
00022e Label 2e
0130f82cff0fff010000 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.
00a100020000 Set flag #18 (Objective complete: Disable Cetan megaweapon)
00c800fa070000000004 Draw weapon Phoenix with model fa then goto 04
000204 Label 04
0005fd0407 Assign function 0407 - Elvis? to $self and advance frame
000103 Go to first 03
000260 Label 60
0005fd0406 Assign function 0406 - Elvis SA area (on SA) to $self and advance frame
0004 End of function

Invocations

Comments

There are no comments yet for this function.