008a64 |
Set alertness to 100 |
0096fd0064 |
Set $self's health to 100 |
0003 |
Yield |
0003 |
Yield |
0003 |
Yield |
0145 |
Set actor AI |
0146 |
Set actor AI |
0003 |
Yield |
0003 |
Yield |
0003 |
Yield |
0003 |
Yield |
01320100 |
Undocumented (to do with cover?) |
00070416 |
When shot/hit, assign function 0416 |
00b6 |
Reset and start cycle counter |
000208 |
Label 08 |
0003 |
Yield |
00bd00007804 |
If cycle counter > 120 (2.0 secs) goto 04 |
004e28010004 |
If player is looking right at something (?) goto 04 |
000108 |
Go to first 08 |
000204 |
Label 04 |
0003 |
Yield |
0052003206 |
If actor is within 50 units of $player goto 06 |
0036 |
Call RNG |
00370106 |
If random byte < 1 goto 06 |
00022f |
Label 2f |
000104 |
Go to first 04 |
000206 |
Label 06 |
0005fd0416 |
Assign function 0416 to $self and advance frame |
0004 |
End of function |