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 |
008e63010f |
If actor's alertness > 99 goto 0f |
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 |
0054fd001402093b |
If $self is within 20 units of pad 0209 goto 3b |
001f0209 |
Walk to pad 0209 |
000007 |
Go to next 07 |
00023b |
Label 3b |
0054fd0014020a3c |
If $self is within 20 units of pad 020a goto 3c |
001f020a |
Walk to pad 020a |
000007 |
Go to next 07 |
00023c |
Label 3c |
0054fd0014020b07 |
If $self is within 20 units of pad 020b goto 07 |
001f020b |
Walk to pad 020b |
000007 |
Go to next 07 |
000207 |
Label 07 |
000100 |
Go to first 00 |
00020f |
Label 0f |
0005fd0411 |
Assign function 0411 - Scientist to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.