01c6020a |
Undocumented |
009a0c |
Set actor's accuracy to 12 |
00980a |
Set actor's reaction speed to 10 |
0096fd000a |
Set $self's health to 10 |
00970028 |
Set actor's armor to 40 |
009900 |
Set actor's injury recovery speed to 0 |
010e0000 |
Set actor shield amount to 0 |
00070406 |
When shot/hit, assign function 0406 - Top bodyguard? |
00021f |
Label 1f |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
003f21 |
If $player is in line of sight goto 21 |
0128fe21 |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 21 |
00590014232822 |
If actor $self is further than 20 units from $self->pad goto 22 |
00011f |
Go to first 1f |
000221 |
Label 21 |
0005fd0406 |
Assign function 0406 - Top bodyguard? to $self and advance frame |
000222 |
Label 22 |
001e02 |
Jog to $self->target_pad (fast speed) |
000223 |
Label 23 |
0003 |
Yield |
003200 |
If actor has stopped moving goto 00 |
003f00 |
If $player is in line of sight goto 00 |
0128fe00 |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 00 |
000123 |
Go to first 23 |
000200 |
Label 00 |
0005fd0406 |
Assign function 0406 - Top bodyguard? to $self and advance frame |
0004 |
End of function |
If guard sees or detects Jo at any point, switch to normal combat behaviour.
Guard waits for some condition (possibly no condition at all) then jogs to pad, then waits to detect Jo.