00070414 |
When shot/hit, assign function 0414 |
0033fd2e |
If $self is dying/dead goto 2e |
0034fd2e |
If $self has finished death animation goto 2e |
017bfd2e |
If $self's body has disappeared goto 2e |
000004 |
Go to next 04 |
00022e |
Label 2e |
00070000 |
When shot/hit, assign function 0000 - Idle |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000204 |
Label 04 |
0003 |
Yield |
009d0000200001002e |
If actor flag is something, goto 2e |
000104 |
Go to first 04 |
00022e |
Label 2e |
0128fe0a |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 0a |
000012 |
Go to next 12 |
000203 |
Label 03 |
001d2328 |
Jog to $self->pad |
000204 |
Label 04 |
0003 |
Yield |
00b5474f20544f205041440a00 |
// GO TO PAD |
0128fe0a |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 0a |
000012 |
Go to next 12 |
000104 |
Go to first 04 |
000208 |
Label 08 |
0009 |
Actor stops travelling |
00020b |
Label 0b |
0003 |
Yield |
00b54154205041440a00 |
// AT PAD |
0128fe0a |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 0a |
000012 |
Go to next 12 |
00010b |
Go to first 0b |
000208 |
Label 08 |
000103 |
Go to first 03 |
00020a |
Label 0a |
00b544455445435445440a00 |
// DETECTED |
0006fd0414 |
Set return function for $self to function 0414 |
00070414 |
When shot/hit, assign function 0414 |
0005fd000c |
Assign function 000c - Combat with ally? to $self and advance frame |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000212 |
Label 12 |
0005fd0426 |
Assign function 0426 - Hostage to $self and advance frame |
0004 |
End of function |