00070402 |
When shot/hit, assign function 0402 - Skedar |
01320101 |
Undocumented (to do with cover?) |
0033fd2d |
If $self is dying/dead goto 2d |
0034fd2d |
If $self has finished death animation goto 2d |
017bfd2d |
If $self's body has disappeared goto 2d |
000006 |
Go to next 06 |
00022d |
Label 2d |
00070000 |
When shot/hit, assign function 0000 - Idle |
0003 |
Yield |
00b6 |
Reset and start cycle counter |
000211 |
Label 11 |
0003 |
Yield |
00bd00001e2d |
If cycle counter > 30 (0.5 secs) goto 2d |
000111 |
Go to first 11 |
00022d |
Label 2d |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000206 |
Label 06 |
01320101 |
Undocumented (to do with cover?) |
0009 |
Actor stops travelling |
009d00000004000003 |
If actor flag is something, goto 03 |
01321201 |
Undocumented (to do with cover?) |
002d03 |
Run to Jo, then goto 03 |
000203 |
Label 03 |
0003 |
Yield |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
009d0001000000002e |
If actor flag is something, goto 2e |
0128fe2d |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 2d |
00022e |
Label 2e |
0106f80000 |
Set $player to Joanna |
003f2d |
If $player is in line of sight goto 2d |
0106f50000 |
Set $player to Velvet |
003f2d |
If $player is in line of sight goto 2d |
009d0000000400002e |
If actor flag is something, goto 2e |
0083fd2d |
If $self shot (while recoiling?) goto 2d |
00022e |
Label 2e |
0036 |
Call RNG |
00380106 |
If random byte > 1 goto 06 |
0130f803ff05ff000000 |
Say random quip: "Look out, look out!","It's a grenade!","Clear the area!" |
000206 |
Label 06 |
000103 |
Go to first 03 |
00022d |
Label 2d |
0002d9 |
Label d9 |
0003 |
Yield |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
009d0001000000002e |
If actor flag is something, goto 2e |
0128fe2e |
If actor within 254 units of an enemy and has line of sight then set AI vs AI and goto 2e |
00022e |
Label 2e |
01b7fd0001 |
Something to do with $self |
0130f801ff03ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
0052000f2f |
If actor is within 15 units of $player goto 2f |
000254 |
Label 54 |
007d012d |
If actor shot less than 1 times goto 2d |
000006 |
Go to next 06 |
00022d |
Label 2d |
00022d |
Label 2d |
00b6 |
Reset and start cycle counter |
01320401 |
Undocumented (to do with cover?) |
0130f803ff03ff000000 |
Say random quip: "Look out, look out!","It's a grenade!","Clear the area!" |
002c08 |
Walk to Jo, then goto 08 |
000208 |
Label 08 |
0003 |
Yield |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
00bd00007809 |
If cycle counter > 120 (2.0 secs) goto 09 |
000108 |
Go to first 08 |
000209 |
Label 09 |
00020a |
Label 0a |
01a7fd2d |
If something to do with $self goto 2d |
00002d |
Go to next 2d |
000206 |
Label 06 |
0130f8012000ff000000 |
Say random quip: "Open fire!","Wipe her out!","Waste her!" |
00022d |
Label 2d |
00b6 |
Reset and start cycle counter |
01321201 |
Undocumented (to do with cover?) |
002d0b |
Run to Jo, then goto 0b |
00020b |
Label 0b |
0003 |
Yield |
011df62000000010 |
If player has property 2:20000000 (cloaked) goto 10 |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
0034f610 |
If player has finished death animation goto 10 |
0033f610 |
If player is dying/dead goto 10 |
017bf610 |
If player's body has disappeared goto 10 |
012c2d |
If something (some kind of Skedar behaviour) goto 2d |
0052000f2f |
If actor is within 15 units of $player goto 2f |
00022d |
Label 2d |
005200052f |
If actor is within 5 units of $player goto 2f |
00bd00001e06 |
If cycle counter > 30 (0.5 secs) goto 06 |
00010b |
Go to first 0b |
000206 |
Label 06 |
00010a |
Go to first 0a |
00022f |
Label 2f |
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 |
01323501 |
Undocumented (to do with cover?) |
0018020000010c |
Actor faces something (entity type=0x0200, entity_id=0x0001), then goto 0c |
00020c |
Label 0c |
0003 |
Yield |
011df62000000010 |
If player has property 2:20000000 (cloaked) goto 10 |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
0034f610 |
If player has finished death animation goto 10 |
0033f610 |
If player is dying/dead goto 10 |
017bf610 |
If player's body has disappeared goto 10 |
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 |
00010c |
Go to first 0c |
000206 |
Label 06 |
01323601 |
Undocumented (to do with cover?) |
01820031 |
If actor alive, then punch/kick and goto 31 |
0001d9 |
Go to first d9 |
000231 |
Label 31 |
000230 |
Label 30 |
0003 |
Yield |
011df62000000010 |
If player has property 2:20000000 (cloaked) goto 10 |
005bfd00003b5a |
If $self is in room/pad 3b goto 5a |
005bfd0000415b |
If $self is in room/pad 41 goto 5b |
0034f610 |
If player has finished death animation goto 10 |
0033f610 |
If player is dying/dead goto 10 |
017bf610 |
If player's body has disappeared goto 10 |
003206 |
If actor has stopped moving goto 06 |
000130 |
Go to first 30 |
000206 |
Label 06 |
0034f610 |
If player has finished death animation goto 10 |
0033f610 |
If player is dying/dead goto 10 |
017bf610 |
If player's body has disappeared goto 10 |
0001d9 |
Go to first d9 |
000210 |
Label 10 |
0009 |
Actor stops travelling |
009c0000000400 |
Unset an actor flag |
000103 |
Go to first 03 |
00025a |
Label 5a |
0009 |
Actor stops travelling |
01b7fd0101 |
Something to do with $self |
00b6 |
Reset and start cycle counter |
00200018 |
Run to pad 0018 |
00025c |
Label 5c |
0003 |
Yield |
00322d |
If actor has stopped moving goto 2d |
005bf20000202d |
If P1 or P2 is in room/pad 20 goto 2d |
00015c |
Go to first 5c |
00022d |
Label 2d |
009b0000000400 |
Set an actor flag |
000103 |
Go to first 03 |
00025b |
Label 5b |
0009 |
Actor stops travelling |
01b7fd0101 |
Something to do with $self |
00b6 |
Reset and start cycle counter |
0020003c |
Run to pad 003c |
00025c |
Label 5c |
0003 |
Yield |
00322d |
If actor has stopped moving goto 2d |
005bf20000452d |
If P1 or P2 is in room/pad 45 goto 2d |
00015c |
Go to first 5c |
00022d |
Label 2d |
009b0000000400 |
Set an actor flag |
000103 |
Go to first 03 |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.