Wednesday, October 04, 2006

Winning level 2

Here is the code when successfully hitting the terrorist 10 times and going back to level 1:

// Kill terrorist 10 times - End of level 2
if Row=10 then begin // Temp value instead of 10
Cntrls:=false;
Blocked:=true;
StopAllTimers;
Row:=0;
TimerLevel2.enabled:=false;
CicloEnd:=1;
TimerEnd0.interval:=500;
TimerEnd0.enabled:=true;
end;

No comments: