Surface 1


8e00 Set actor ID to 00
ae Reset and start cycle counter
0240 Label 40
03 Yield
b400007803 If cycle counter > 120 (2.0 secs) then goto 03
0140 Go to first 40
0203 Label 03
9c000004000b If flag #11 (disable spawning) is set then goto 0b
ae Reset and start cycle counter
020a Label 0a
03 Yield
b400007807 If cycle counter > 120 (2.0 secs) then goto 07
010a Go to first 0a
0207 Label 07
310407 If actor 04 has finished death animation then goto 07
0103 Go to first 03
0207 Label 07
ad737061776e3100 // spawn1
f329 If in cinema, goto 29
33 Call RNG
35c807 If random byte > 200 then goto 07
590129 If Bond has weapon Unarmed equipped then goto 29
590229 If Bond has weapon Hunting Knives equipped then goto 29
590329 If Bond has weapon Throwing Knives equipped then goto 29
590429 If Bond has weapon PP7 equipped then goto 29
590529 If Bond has weapon PP7 (silenced) equipped then goto 29
591129 If Bond has weapon Sniper Rifle equipped then goto 29
0207 Label 07
35322a If random byte > 50 then goto 2a
590729 If Bond has weapon Klobb equipped then goto 29
591829 If Bond has weapon Grenade Launcher equipped then goto 29
590829 If Bond has weapon KF7 equipped then goto 29
022a Label 2a
bd15ff232804140000000104 Spawn actor with function 0414 - Init actor 04 at $self->pad, then goto 04
0229 Label 29
ad2d3e6661696c00 // ->fail
0103 Go to first 03
0204 Label 04
ad7331204f4b2100 // s1 OK!
0103 Go to first 03
020b Label 0b
03 Yield
9c0000020007 If flag #10 (enable spawning) is set then goto 07
010b Go to first 0b
0207 Label 07
0103 Go to first 03
04 End of function

Invocations

  • Started automatically

Comments

The likelihood of a spawn depends on what weapon you have equipped, plus randomness.

........ | Silent | Klobb/GL/KF7 | Other
RNG 0-50 | No spawn | No spawn | Spawn
RNG 51-200 | No spawn | Spawn | Spawn
RNG 201-255 | Spawn | Spawn | Spawn