(initialAppearance)		sprite image settings
(scripts)
	[auto]
	[talk]
	[collision]
		(0)
			type:		"wait"
			etc...





__________________________________________________
Each command has different settings:


SWF
	type				"swf"
	linkage			"linkageName"
	name				"instanceName"
	depth				14			(-1 means nextHighestDepth)
	waitForEnd	true
	target			"OVERLAY"
	(data)
		?	(different for each SWF)


REMOVESWF
	type				"removeSwf"
	name				"instanceName"
	target			"OVERLAY"


TEXTBOX
	type				"swf"
	linkage			"textbox_mc"
	name				"textbox_521"
	depth				-1			(-1 means nextHighestDepth)
	waitForEnd	true
	target			"HUD"
	(data)
		type						"textbox"
		text						"My message"
		face						"swf/myFace.png"
		speed						2			(lower = faster)
		position				80		(top's y position in pixels)
		typingSound			"sound/typingSound.mp3"
		showBackground	true


SOUND
	type		"sound"
	file		"sound/beep.mp3"
	volume	100
	loop		true
	name		"loopName"


MUSIC
	type		"music"
	file		"music/mySong.mp3"
	volume	100


FADEMUSIC
	type			"fadeMusic"
	volume		0			(0-100)
	duration	1.5		(seconds)


WAIT
	type		"wait"
	mode		"time"	/ "movement"		/	"movieclip"		/	"animation"		/ "fadeMusic"		/	"sound"		/	"script"
	value		1.5			/ "spriteName"	/	null					/	"sound name"
	value2	"talk"  "auto"  "collision"		(Name of the script to wait for)		(only used with "script" mode, so far)


TELEPORT
	type				"teleport"
	level				"levels/myLevel.lvl"
	transition	"transition_fade"
	(position)		(arrival location, in pixels)
		x						160
		y						120


[WHILE]
	type				"while"
	[condition]
		0		"myVar"
		1		">"
		2		"myValue"
	(0)
	(1)
		(normal script commands)


[IF]
	type		"if"
	[condition]
		0				"myVar"
		1				">"
		2				"myValue"
	(0)
	(1)
		(normal script commands)


PAUSE
	type			"pause"
	system		"player"
	isPaused	true


SETVARIABLE
	type		"setVariable"
	[condition]
		0				"myVar"
		1				">"
		2				"myValue"


FADESCREEN
	type				"fadeScreen"
	fadeDir			"in"  /  "out"
	waitForEnd	true / false


[MOVE]
	type			"move"
	sprite		"player"
	(0)
	(1)
		(move commands)





__________________________________________________
Move commands


DIRECTION
	type		"direction"
	value		"right"


ANIM
	type		anim"
	value		true
	

MOVEWAIT
	type		"moveWait"
	value		0.2		(seconds)


APPEARANCE
	type			"appearance"
	(value)		(sprite image settings)


LOOKAT
	type		"lookAt"
	value		"spriteName"


MOVERELATIVE
	type						"moveRelative"
	autoDirection		true
	autoAnim				true
	duration				0.5		(seconds)
	(position)			(distance to move, in pixels)
		x								16
		y								-16


MOVEABSOLUTE
	type						"moveAbsolute"
	autoDirection		true
	autoAnim				true
	duration				0.5		(seconds)
	(position)			(destination, in pixels)
		x								120
		y								160
