008400 |
Set action block variable to value 0 |
00070412 |
When shot/hit, assign function 0412 - Cloaked guard |
01b7fd0100 |
Something to do with $self |
0033fd06 |
If $self is dying/dead goto 06 |
0034fd06 |
If $self has finished death animation goto 06 |
017bfd06 |
If $self's body has disappeared goto 06 |
000003 |
Go to next 03 |
000206 |
Label 06 |
000010 |
Go to next 10 |
000203 |
Label 03 |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
000206 |
Label 06 |
00b6 |
Reset and start cycle counter |
0139000000460201 |
Undocumented |
000255 |
Label 55 |
0003 |
Yield |
00bd0000b406 |
If cycle counter > 180 (3.0 secs) goto 06 |
003206 |
If actor has stopped moving goto 06 |
000155 |
Go to first 55 |
000206 |
Label 06 |
0009 |
Actor stops travelling |
0036 |
Call RNG |
00388006 |
If random byte > 128 goto 06 |
00b6 |
Reset and start cycle counter |
00020e |
Label 0e |
0003 |
Yield |
00bd00007806 |
If cycle counter > 120 (2.0 secs) goto 06 |
00010e |
Go to first 0e |
000206 |
Label 06 |
0088032c |
If action block variable < 3 goto 2c |
000006 |
Go to next 06 |
00022c |
Label 2c |
004e0f01000e |
If player is looking right at something (?) goto 0e |
000206 |
Label 06 |
017a2c |
If $player is within disarm range goto 2c |
00000d |
Go to next 0d |
00020e |
Label 0e |
008501 |
Add 1 to action block variable |
00022c |
Label 2c |
00b6 |
Reset and start cycle counter |
01b7fd0001 |
Something to do with $self |
00020a |
Label 0a |
00022c |
Label 2c |
0015022000002c |
Actor targets and shoots at $player, then goto 2c |
00022c |
Label 2c |
0017020000000b |
Actor shoots other actor, then goto 0b |
00020b |
Label 0b |
0003 |
Yield |
00320c |
If actor has stopped moving goto 0c |
00010b |
Go to first 0b |
00020c |
Label 0c |
008400 |
Set action block variable to value 0 |
01b7fd0101 |
Something to do with $self |
00020d |
Label 0d |
000103 |
Go to first 03 |
000210 |
Label 10 |
011dfd200000002c |
If $self has property 2:20000000 (cloaked) goto 2c |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
00022c |
Label 2c |
01b7fd0001 |
Something to do with $self |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.