ae |
Reset and start cycle counter |
0200 |
Label 00 |
03 |
Yield |
3c2c |
If we have a line of sight on Bond then goto 2c |
b40000b42d |
If cycle counter > 180 (3.0 secs) then goto 2d |
0100 |
Go to first 00 |
022d |
Label 2d |
03 |
Yield |
33 |
Call RNG |
359607 |
If random byte > 150 then goto 07 |
52001e23282c |
If actor is within 30 units of $self->pad then goto 2c |
0207 |
Label 07 |
03 |
Yield |
35dc07 |
If random byte > 220 then goto 07 |
52003223282c |
If actor is within 50 units of $self->pad then goto 2c |
0207 |
Label 07 |
03 |
Yield |
35f507 |
If random byte > 245 then goto 07 |
52004b23282c |
If actor is within 75 units of $self->pad then goto 2c |
0207 |
Label 07 |
03 |
Yield |
35fa07 |
If random byte > 250 then goto 07 |
52006423282c |
If actor is within 100 units of $self->pad then goto 2c |
0207 |
Label 07 |
03 |
Yield |
5200c823282c |
If actor is within 200 units of $self->pad then goto 2c |
ae |
Reset and start cycle counter |
0100 |
Go to first 00 |
022c |
Label 2c |
03 |
Yield |
05fd0008 |
Assign function 0008 - Jog to Bond and attack if seen to $self and advance frame |
04 |
End of function |
This function doesn't appear to be invoked anywhere.
Wait until within firing range or 3 seconds have elapsed.
If within firing range, run to Bond and attack.
If 3 seconds have elapsed:
Use RNG to determine distance
If actor within distance of $this->target_pad, run to Bond and attack
Seems like a bizarre function. Looks to be unused.