000259 |
Label 59 |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
017a03 |
If $player is within disarm range goto 03 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
000159 |
Go to first 59 |
000203 |
Label 03 |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0106f20000 |
Set $player to P1 or P2 |
00180200000004 |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 04 |
000204 |
Label 04 |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00a300800000012d |
If flag #24 (actor F9 alive) is true goto 2d |
00a380000000012d |
If flag #32 (actor F9 alive) is true goto 2d |
0036 |
Call RNG |
0038c879 |
If random byte > 200 goto 79 |
00880206 |
If action block variable < 2 goto 06 |
00002d |
Go to next 2d |
000206 |
Label 06 |
000073 |
Go to next 73 |
000279 |
Label 79 |
0038ed07 |
If random byte > 237 goto 07 |
0038da06 |
If random byte > 218 goto 06 |
000075 |
Go to next 75 |
000206 |
Label 06 |
000074 |
Go to next 74 |
000207 |
Label 07 |
000076 |
Go to next 76 |
00022d |
Label 2d |
000104 |
Go to first 04 |
000273 |
Label 73 |
00b6 |
Reset and start cycle counter |
0054fd001e009806 |
If $self is within 30 units of pad 0098 goto 06 |
001d0098 |
Jog to pad 0098 |
00007f |
Go to next 7f |
000206 |
Label 06 |
00b6 |
Reset and start cycle counter |
001d0097 |
Jog to pad 0097 |
00027f |
Label 7f |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00322d |
If actor has stopped moving goto 2d |
00017f |
Go to first 7f |
00022d |
Label 2d |
00a400000040 |
Set property for actor $self: 1:00000040 (unknown prop) |
00027a |
Label 7a |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
017a06 |
If $player is within disarm range goto 06 |
00017a |
Go to first 7a |
000206 |
Label 06 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
00150220000070 |
Actor targets and shoots at $player, then goto 70 |
000270 |
Label 70 |
0130f800190201000000 |
Say random quip: "I've got a clear shot","She's mine!" |
0017020000007b |
Actor shoots other actor, then goto 7b |
00002d |
Go to next 2d |
000206 |
Label 06 |
000103 |
Go to first 03 |
00027b |
Label 7b |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00322d |
If actor has stopped moving goto 2d |
00017b |
Go to first 7b |
00022d |
Label 2d |
008501 |
Add 1 to action block variable |
000103 |
Go to first 03 |
000274 |
Label 74 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
008400 |
Set action block variable to value 0 |
00b6 |
Reset and start cycle counter |
000b03500000ffff1010fd02 |
Actor $self does animation 0350 (Skedar right up straight up) |
000266 |
Label 66 |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
000166 |
Go to first 66 |
00022d |
Label 2d |
009e340000200000 |
Set actor 34 (Skedar) property |
000103 |
Go to first 03 |
000275 |
Label 75 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
008400 |
Set action block variable to value 0 |
00b6 |
Reset and start cycle counter |
000b03500000ffff1010fd02 |
Actor $self does animation 0350 (Skedar right up straight up) |
000267 |
Label 67 |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
000167 |
Go to first 67 |
00022d |
Label 2d |
009e350000200000 |
Set actor 35 (Mini Skedar) property |
000103 |
Go to first 03 |
000276 |
Label 76 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
008400 |
Set action block variable to value 0 |
00b6 |
Reset and start cycle counter |
000b03500000ffff1010fd02 |
Actor $self does animation 0350 (Skedar right up straight up) |
01b7fd0101 |
Something to do with $self |
000268 |
Label 68 |
0003 |
Yield |
0034f211 |
If P1 or P2 has finished death animation goto 11 |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
000168 |
Go to first 68 |
00022d |
Label 2d |
0076012d |
Set $self->target_pad to something (Jo's location or next pad in path), then goto 2d |
0076022d |
Set $self->target_pad to something (Jo's location or next pad in path), then goto 2d |
0076042d |
Set $self->target_pad to something (Jo's location or next pad in path), then goto 2d |
000088 |
Go to next 88 |
00022d |
Label 2d |
00e2fd2328002d |
Attempt to move $self to $self->pad and goto 2d |
000088 |
Go to next 88 |
00022d |
Label 2d |
00c00007 |
Set countdown timer to 7 seconds |
00c2 |
Start countdown timer |
00028a |
Label 8a |
00b6 |
Reset and start cycle counter |
002d08 |
Run to Jo, then goto 08 |
000208 |
Label 08 |
0003 |
Yield |
0034f20b |
If P1 or P2 has finished death animation goto 0b |
00bd00001489 |
If cycle counter > 20 (0.3 secs) goto 89 |
0052000f06 |
If actor is within 15 units of $player goto 06 |
000108 |
Go to first 08 |
00022d |
Label 2d |
000088 |
Go to next 88 |
000289 |
Label 89 |
00c400012d |
If countdown timer < 1 goto 2d |
00018a |
Go to first 8a |
00022d |
Label 2d |
000088 |
Go to next 88 |
000206 |
Label 06 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
01b7fd0001 |
Something to do with $self |
00b6 |
Reset and start cycle counter |
00b546414345205441524745540a00 |
// FACE TARGET |
004d0a06 |
If actor is facing player within 10 degrees (?) goto 06 |
004ff606 |
If something to do with player goto 06 |
0009 |
Actor stops travelling |
00180200000009 |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 09 |
000209 |
Label 09 |
0003 |
Yield |
0034f20b |
If P1 or P2 has finished death animation goto 0b |
004d0a06 |
If actor is facing player within 10 degrees (?) goto 06 |
004ff606 |
If something to do with player goto 06 |
00bd00003c06 |
If cycle counter > 60 (1.0 secs) goto 06 |
000109 |
Go to first 09 |
00022d |
Label 2d |
000087 |
Go to next 87 |
000206 |
Label 06 |
00b550554e43480a00 |
// PUNCH |
0182000b |
If actor alive, then punch/kick and goto 0b |
000087 |
Go to next 87 |
00020b |
Label 0b |
0003 |
Yield |
00322d |
If actor has stopped moving goto 2d |
00010b |
Go to first 0b |
00022d |
Label 2d |
00b6 |
Reset and start cycle counter |
01b7fd0101 |
Something to do with $self |
00020d |
Label 0d |
0003 |
Yield |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
00010d |
Go to first 0d |
00022d |
Label 2d |
000288 |
Label 88 |
0009 |
Actor stops travelling |
00e2fd00970087 |
Attempt to move $self to pad 0097 and goto 87 |
00e2fd00960087 |
Attempt to move $self to pad 0096 and goto 87 |
00e2fd00980087 |
Attempt to move $self to pad 0098 and goto 87 |
000287 |
Label 87 |
01b7fd0001 |
Something to do with $self |
00b6 |
Reset and start cycle counter |
000285 |
Label 85 |
0003 |
Yield |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
000185 |
Go to first 85 |
00022d |
Label 2d |
000103 |
Go to first 03 |
000277 |
Label 77 |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
008400 |
Set action block variable to value 0 |
00b6 |
Reset and start cycle counter |
000b03500000ffff1010fd02 |
Actor $self does animation 0350 (Skedar right up straight up) |
000269 |
Label 69 |
0003 |
Yield |
010ffd00147c |
If $self's shield damage < 20 goto 7c |
00bd0000782d |
If cycle counter > 120 (2.0 secs) goto 2d |
000169 |
Go to first 69 |
00022d |
Label 2d |
000103 |
Go to first 03 |
00027c |
Label 7c |
0130f802ff00ff000000 |
Say random quip: "Cover me!","Watch my back!","Taker cover!" |
001d0096 |
Jog to pad 0096 |
00027d |
Label 7d |
0003 |
Yield |
003206 |
If actor has stopped moving goto 06 |
00017d |
Go to first 7d |
000206 |
Label 06 |
00b6 |
Reset and start cycle counter |
00a120000000 |
Set flag #30 (king's shield is down) |
000b03510000ffff1010fd02 |
Actor $self does animation 0351 (Skedar stretching arms and lefts) |
00027e |
Label 7e |
0003 |
Yield |
00a3400000000106 |
If flag #31 (new statue piece destroyed) is true goto 06 |
00bd0001f406 |
If cycle counter > 500 (8.3 secs) goto 06 |
00017e |
Go to first 7e |
000206 |
Label 06 |
0009 |
Actor stops travelling |
00a240000000 |
Unset flag #31 (new statue piece destroyed) |
00a3080000000183 |
If flag #28 (Objective complete: Assassinate Skedar leader (4)) is true goto 83 |
00a3040000000182 |
If flag #27 (Objective complete: Assassinate Skedar leader (3)) is true goto 82 |
00a3020000000181 |
If flag #26 (Objective complete: Assassinate Skedar leader (2)) is true goto 81 |
00a3010000000180 |
If flag #25 (Objective complete: Assassinate Skedar leader (1)) is true goto 80 |
010e01f4 |
Set actor shield amount to 500 |
000006 |
Go to next 06 |
000280 |
Label 80 |
010e0190 |
Set actor shield amount to 400 |
000006 |
Go to next 06 |
000281 |
Label 81 |
010e012c |
Set actor shield amount to 300 |
000006 |
Go to next 06 |
000282 |
Label 82 |
010e00c8 |
Set actor shield amount to 200 |
000006 |
Go to next 06 |
000283 |
Label 83 |
010e0064 |
Set actor shield amount to 100 |
000206 |
Label 06 |
00a220000000 |
Unset flag #30 (king's shield is down) |
000103 |
Go to first 03 |
000211 |
Label 11 |
000159 |
Go to first 59 |
0004 |
End of function |
There are no comments yet for this function.