beginscript; label AllLive: SetGlobalVar (6, OtherUnitDead (miss1) + OtherUnitDead (miss3)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss2) + OtherUnitDead (miss6)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss4) + OtherUnitDead (miss5)); if (GetGlobalVar (6) == 0) { EndFrame(); goto AllLive; } label OneDown: SetGlobalVar (6, OtherUnitDead (miss1) + OtherUnitDead (miss3)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss2) + OtherUnitDead (miss6)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss4) + OtherUnitDead (miss5)); if (GetGlobalVar (6) != 1) { EndFrame(); goto OneDown; } SetVar (0, Rnd()); SetVar (0, GetVar (0)+ 60); SetVar (0, GetVar (0)/ 2); SetVar (0, GetVar (0)+ GetTime()); label TriDelay1: if (GetVar(0) > GetTime()) { EndFrame(); goto TriDelay1; } SetVar (0, Rnd()); label Spawn1: if (GetVar(0) < 124) { SpawnOtherUnit (ebike1); ChangeCamera (0x802, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (ebike1); EndFrame(); goto TriCam0; } SpawnOtherUnit (nbike1); ChangeCamera (0x809, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (nbike1); label TriCam0: SetButtonJump(); if (HasJumped()) goto skipcs1; WaitForTime(30); JumpOnButton(false); label skipcs1: ResumePlayer (); ChangeCamera (0x801, 100, 150); label ThreeDown: SetGlobalVar (6, OtherUnitDead (miss1) + OtherUnitDead (miss3)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss2) + OtherUnitDead (miss6)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss4) + OtherUnitDead (miss5)); if (GetGlobalVar (6) != 3) { EndFrame(); goto ThreeDown; } SetVar (0, Rnd()); SetVar (0, GetVar (0)+ 60); SetVar (0, GetVar (0)/ 3); SetVar (0, GetVar (0)+ GetTime()); label TriDelay2: if (GetVar(0) > GetTime()) { EndFrame(); goto TriDelay2; } SetVar (0, Rnd()); label Spawn2: if (GetVar(0) < 124) { if (GetGlobalVar (2) == 1) { SpawnOtherUnit (wbike1); FreezePlayer (); ChangeCamera (0x80a, 100, 150); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (wbike1); SpawnOtherUnit (Bhwk1); EndFrame(); goto TriCam2; } SpawnOtherUnit (ebike2); FreezePlayer (); ChangeCamera (0x80f, 100, 150); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (ebike2); SpawnOtherUnit (Bhwk1); EndFrame(); goto TriCam2; } if (GetGlobalVar (1) == 1) { SpawnOtherUnit (wbike1); FreezePlayer (); ChangeCamera (0x80a, 100, 150); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (wbike1); SpawnOtherUnit (Bhwk1); EndFrame(); goto TriCam2; } SpawnOtherUnit (nbike2); ChangeCamera (0x80e, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (nbike2); label TriCam2: SetButtonJump(); if (HasJumped()) goto skipcs2; WaitForTime(30); JumpOnButton(false); label skipcs2: ResumePlayer (); ChangeCamera (0x801, 100, 150); label FourDown: SetGlobalVar (6, OtherUnitDead (miss1) + OtherUnitDead (miss3)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss2) + OtherUnitDead (miss6)); SetGlobalVar (6, GetGlobalVar (6) + OtherUnitDead (miss4) + OtherUnitDead (miss5)); if (GetGlobalVar (6) != 4) { EndFrame(); goto FourDown; } SetVar (0, Rnd()); SetVar (0, GetVar (0)+ 60); SetVar (0, GetVar (0)/ 2); SetVar (0, GetVar (0)+ GetTime()); label TriDelay3: if (GetVar(0) > GetTime()) { EndFrame(); goto TriDelay3; } label Spawn3: //check and try to spawn East Bike if (GetGlobalVar (2) == 1) //check to see if East Tri is laid { if (GetGlobalVar (3) == 1) //check to see if WestTri is laid { SpawnOtherUnit (nbike3); ChangeCamera (0x811, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (nbike3); EndFrame(); goto TriCam4; } SpawnOtherUnit (wbike2); ChangeCamera (0x810, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (wbike2); EndFrame(); goto TriCam4; } SpawnOtherUnit (ebike3); ChangeCamera (0x812, 100, 150); FreezePlayer (); TriggerMessage (1, 0xffff, 0xffff); SetHUDTarget (ebike3); EndFrame(); goto TriCam4; label TriCam4: SetButtonJump(); if (HasJumped()) goto skipcs3; WaitForTime(30); JumpOnButton(false); label skipcs3: ResumePlayer (); ChangeCamera (0x801, 100, 150); label End: EndFrame(); goto End; endscript; $