-- -- Autor: BenjamÌn de la Fuente Ranea -- Fecha: 28-11-2008 -- -- Script de carga inicial -- function destructor() DestroyActor("Menu") DestroyActor("Menu2") DestroyActor("Background") DestroyActor("BackgroundMask") end --si la carrera está desbloqueada... if not trackIsLocked(6*(CupSelected-1) + TrackSelected) then Sound.PlaySound(g_ActionButtonSound) SetVScroll("") SetActorAnim("Menu", { anim = "menu/timetrial_next.anm", loop = false, velocity = 2 }) SetActorAnim("Menu2", { anim = "menu/timetrial_mask_next.anm", loop = false, velocity = 2 }) EnqueueExecuteScript("Menu2",[[destructor();execute("menu/garageBegin.lua")]]) end if(currentMenuScreen ~= nil) then currentMenuScreen:postFreeScreenResources() end currentMenuScreen = TGarageMenuScreen:new() currentMenuScreen:resetScreen()