beginscript; //When driver drives into egg, picks it up label Start: SetGlobalVar(4, 0); label check: if (OtherUnitDead(0x780f)) { // FreezePlayer(); SetGlobalVar(4, 1); // trigger hud change goto check6; } EndFrame(); goto check; label camtrig: WaitForTime(20); ChangeCamera(0x806,30,30); // camera showing player near egg nest FreezePlayer(); // TriggerMessage(188,0xffff,0xffff); // two more to go etc etc SetButtonJump(); if (HasJumped()) { goto skipcs1; } WaitForTime(30); JumpOnButton(false); label skipcs1: label Check6: if (GetGlobalVar (2) == 1 && GetGlobalVar (3) == 1 && GetGlobalVar (4) == 1 && GetGlobalVar (5) == 1 && GetGlobalVar(6) == 1) { WaitForTime(40); TriggerUnit(0x7c01); TriggerUnit(0x7c02); TriggerUnit(0x7c03); TriggerUnit(0x7c04); TriggerUnit(0x7c05); TriggerUnit(0x7c06); TriggerUnit(0x7c07); TriggerUnit(0x7c08); // TeleportOtherUnit(0x7002, 0x7845, 0, 0); // TeleportOtherUnit(0x7003, 0x7845, 0, 0); ChangeCamera(0x80c,30,30); SetButtonJump(); if (HasJumped()) { goto skipcs2; } WaitForTime(100); JumpOnButton(false); label skipcs2: EndLevel(1); goto End; // was nana } EndFrame(); goto check6; label nana: { ChangeCamera(0x801,30,30); // change camera back ResumePlayer(); } label End: EndFrame(); goto End; endscript; $