Trace("Extra 1!");
local ex1 = LoadActor( HDActor("extra1") );

local t = Def.ActorFrame {
	LoadActor("omgbrb") .. {
		StartTransitioningCommand=function(self)
			if GAMESTATE:HasEarnedExtraStage() then self:play() end
		end;
	};

	-- Extra with ghosts
	ex1.. {
		OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0;zoom,4;sleep,0.5;decelerate,0.6;diffusealpha,0.4;zoom,0.6;accelerate,0.4;zoom,1;decelerate,0.2;zoom,1.1;linear,0.1;zoom,1.0;sleep,2;linear,0.5;diffusealpha,0);
	};

	ex1.. {
		OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0;zoom,4;sleep,0.6;decelerate,0.6;diffusealpha,0.4;zoom,0.6;accelerate,0.4;zoom,1;decelerate,0.2;zoom,1.1;linear,0.1;zoom,1.0;sleep,2;linear,0.5;diffusealpha,0);
	};

	ex1.. {
		OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0;zoom,4;sleep,0.7;decelerate,0.6;diffusealpha,0.4;zoom,0.6;accelerate,0.4;zoom,1;decelerate,0.2;zoom,1.1;linear,0.1;zoom,1.0;sleep,2;linear,0.5;diffusealpha,0);
	};

	ex1.. {
		OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffusealpha,0;zoom,4;sleep,0.8;decelerate,0.6;diffusealpha,0.4;zoom,0.6;accelerate,0.4;zoom,1;decelerate,0.2;zoom,1.1;linear,0.1;zoom,1.0;sleep,2;linear,0.5;diffusealpha,0);
	};
};

return t;
