009a32 |
Set actor's accuracy to 50 |
009814 |
Set actor's reaction speed to 20 |
0096fd0028 |
Set $self's health to 40 |
0003 |
Yield |
0003 |
Yield |
0003 |
Yield |
0145 |
Set actor AI |
0146 |
Set actor AI |
01320100 |
Undocumented (to do with cover?) |
00070416 |
When shot/hit, assign function 0416 |
00b6 |
Reset and start cycle counter |
000204 |
Label 04 |
0003 |
Yield |
0052003206 |
If actor is within 50 units of $player goto 06 |
00bd00012c2f |
If cycle counter > 300 (5.0 secs) goto 2f |
008e630106 |
If actor's alertness > 99 goto 06 |
000104 |
Go to first 04 |
00022f |
Label 2f |
0036 |
Call RNG |
000006 |
Go to next 06 |
00022f |
Label 2f |
000104 |
Go to first 04 |
000206 |
Label 06 |
0005fd0419 |
Assign function 0419 to $self and advance frame |
0004 |
End of function |