Pelagic II


0007040b When shot/hit, assign function 040b - Scientist?
0034fd07 If $self has finished death animation goto 07
0033fd07 If $self is dying/dead goto 07
017bfd07 If $self's body has disappeared goto 07
000004 Go to next 04
000207 Label 07
00070000 When shot/hit, assign function 0000 - Idle
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000204 Label 04
000200 Label 00
0003 Yield
01b3fd Allow co-op player to be considered for P1/P2 actor
0106f20000 Set $player to P1 or P2
003f0f If $player is in line of sight goto 0f
008e630110 If actor's alertness > 99 goto 10
003204 If actor has stopped moving goto 04
000007 Go to next 07
000204 Label 04
000c07 If actor is not doing anything goto 07
0036 Call RNG
00378027 If random byte < 128 goto 27
0036 Call RNG
0037563b If random byte < 86 goto 3b
0037ac3c If random byte < 172 goto 3c
000b0206ffffffff0210fd02 Actor $self does animation 0206 (kneel arms over head moving)
000007 Go to next 07
00023b Label 3b
000b0204ffffffff0210fd02 Actor $self does animation 0204 (lean forward/down move arms)
000007 Go to next 07
00023c Label 3c
000b0205ffffffff0210fd02 Actor $self does animation 0205 (hold arms out, head down)
000007 Go to next 07
000227 Label 27
0036 Call RNG
0037563b If random byte < 86 goto 3b
0037ac3c If random byte < 172 goto 3c
0054fd0014020f3b If $self is within 20 units of pad 020f goto 3b
001f020f Walk to pad 020f
000007 Go to next 07
00023b Label 3b
0054fd001402103c If $self is within 20 units of pad 0210 goto 3c
001f0210 Walk to pad 0210
000007 Go to next 07
00023c Label 3c
0054fd0014021107 If $self is within 20 units of pad 0211 goto 07
001f0211 Walk to pad 0211
000007 Go to next 07
000207 Label 07
000100 Go to first 00
000210 Label 10
008a64 Set alertness to 100
00020f Label 0f
0005fd0411 Assign function 0411 - Scientist to $self and advance frame
0004 End of function

Invocations

Comments

There are no comments yet for this function.