;'Firework red'

Graphic = 10

CreateEffect(Graphic,600,190,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS,0,0,0)
CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS,0,0,0)
CreateEffect(Graphic,500,130,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS,0,0,0)

If GetUserDirection(#USERID) = #DIR_UP
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS-1,#YPOS,0,0,0)
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS+1,#YPOS,0,0,0)
ElseIf GetUserDirection(#USERID) = #DIR_DOWN
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS-1,#YPOS,0,0,0)
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS+1,#YPOS,0,0,0)
ElseIf GetUserDirection(#USERID) = #DIR_RIGHT
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS-1,0,0,0)
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS+1,0,0,0)
ElseIf GetUserDirection(#USERID) = #DIR_LEFT
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS-1,0,0,0)
	CreateEffect(Graphic,550,160,GetUserDirection(#USERID),#MAPID,#XPOS,#YPOS+1,0,0,0)
EndIf

TakeItem(#USERID,46)

Continue = 1