<GAME Type="ActorFrame" OnCommand="%function(self)
		
		QuotePos = {0,0};

			end"><children>

	<Layer
		File="@ThemeFile('Quote/Quote.sprite')"
		OnCommand="%function(self)
		self:x(SCREEN_CENTER_X+QuotePos[1])
		self:y(SCREEN_CENTER_Y+QuotePos[2])
		self:zoom(0.5)
		self:SetTextureFiltering(false)
		self:sleep(0.02)
		self:queuecommand('Update')
		end"
		UpdateCommand="%function(self)
		self:x(SCREEN_CENTER_X+QuotePos[1])
		self:y(SCREEN_CENTER_Y-QuotePos[2])
		self:zoom(0.5)
		self:SetTextureFiltering(false)
		self:sleep(0.02)
		self:queuecommand('Update')
		end"
		GainFocusCommand="diffuse,1,1,1,1"
		LoseFocusCommand="diffuse,0.5,0.5,0.5,0"
		StepP1LeftPressMessageCommand="%function(self)
		QuotePos[1] = QuotePos[1]-8;
		if QuotePos[1] < -300 then
			QuotePos[1] = -295
		end
		self:sleep(0.001)
		self:queuemessage('StepP1LeftPress')
		end"
		StepP1LeftLiftMessageCommand="%function(self)
		self:finishtweening()
		self:queuecommand('Update')
		end"

		StepP1RightPressMessageCommand="%function(self)
		QuotePos[1] = QuotePos[1]+8;
		if QuotePos[1] > 300 then
			QuotePos[1] = 295
		end
		self:sleep(0.001)
		self:queuemessage('StepP1RightPress')
		end"
		StepP1RightLiftMessageCommand="%function(self)
		self:finishtweening()
		self:queuecommand('Update')
		end"


		StepP1UpPressMessageCommand="%function(self)
		self:finishtweening()
		QuotePos[2] = QuotePos[2] + JumpAux:getaux();
		self:sleep(0.02)
		self:queuecommand('Update')
		end"
		/>

		<Layer
        Type="Quad"
        OnCommand="%function(self) JumpAux = self; self:queuemessage('MoveSetAux1'); end"
        MoveSetAux1MessageCommand="aux,0"
        StepP1UpPressMessageCommand="%function(self)
        Jump = yes
        self:finishtweening()
        	if Jump == yes then
        		self:aux(0)
        		self:decelerate(0.3)
        		self:aux(100)
        		self:accelerate(0.3)
		        self:aux(0)
		        self:sleep(0.01)
		        Jump = yes;
		    else
		    	Jump = no;
		    end
        end"
        StepP1UpLiftMessageCommand="hurrytweening,1;aux,0"
    />

</children></GAME>