00a400000002 |
Set property for actor $self: 1:00000002 (respawnable?) |
00a400000400 |
Set property for actor $self: 1:00000400 (hidden) |
00a400040000 |
Set property for actor $self: 1:00040000 (unknown prop) |
00020d |
Label 0d |
0003 |
Yield |
00a3000008000104 |
If flag #12 (alarm was activated) is true goto 04 |
00010d |
Go to first 0d |
000204 |
Label 04 |
0003 |
Yield |
00464d |
If something (to do with spawning clones?) goto 4d |
003f08 |
If $player is in line of sight goto 08 |
000104 |
Go to first 04 |
000208 |
Label 08 |
000104 |
Go to first 04 |
00024d |
Label 4d |
0034f94d |
If clone of $self has finished death animation goto 4d |
000104 |
Go to first 04 |
00024d |
Label 4d |
00b6 |
Reset and start cycle counter |
000209 |
Label 09 |
0003 |
Yield |
00bd000bb806 |
If cycle counter > 3000 (50.0 secs) goto 06 |
000109 |
Go to first 09 |
000206 |
Label 06 |
00cafd0411000000002c |
Spawn clone of $self with function 0411 - Respawned guard setup then goto 2c |
0005fd0412 |
Assign function 0412 to $self and advance frame |
00022c |
Label 2c |
0003 |
Yield |
000104 |
Go to first 04 |
0004 |
End of function |
Wait for alarm activated
Wait until something (goto 4D) or player in line of sight (goto 08)
4D:
Wait until some guard ($this, probably) dead
Wait 50 seconds
Respawn with function 0411
08:
Just iterates the main loop again, effectively no op