9b00000200 |
Unset flag #10 (enable spawning) |
9a00000400 |
Set flag #11 (disable spawning) |
0200 |
Label 00 |
03 |
Yield |
710207 |
If difficulty > 00A then goto 07 |
700129 |
If difficulty < SA then goto 29 |
55007b07 |
If Bond is in the same room as pad 007b then goto 07 |
55009307 |
If Bond is in the same room as pad 0093 then goto 07 |
0229 |
Label 29 |
311329 |
If actor 13 (Russian Commandant) has finished death animation then goto 29 |
0100 |
Go to first 00 |
0229 |
Label 29 |
55007b07 |
If Bond is in the same room as pad 007b then goto 07 |
55009307 |
If Bond is in the same room as pad 0093 then goto 07 |
0100 |
Go to first 00 |
0207 |
Label 07 |
9a00000200 |
Set flag #10 (enable spawning) |
9b00000400 |
Unset flag #11 (disable spawning) |
020a |
Label 0a |
03 |
Yield |
010a |
Go to first 0a |
04 |
End of function |
This function disables spawning, then waits for some condition before enabling spawning.
A: wait for Russian Commander to die and player to be at pad 7B or 93
SA and 00A: Wait for player to be at pad 7B or 93
007: on level start