===========================================================================
=			Custom cutin script				  =
=			   for Danmakufu				  =
=									  =
=								     v3.0 =
===========================================================================

What is this?

	This script functions as extra flashyness for your spellcards and games.
	Alot of people wish we could use the MoF / SA / UFO engine to create better
	spellcards and games. However, that is not possible with our current Danmakufu
	program. 

	So, we bring MoF/SA/UFO to us! Well, not really, more like imitating.

	This script will allow you to generate and imitate cutin style as seen in
	Touhou 10 , 11 and 12. 


Installation + Use


	1) Extract the content of this zip in your scripting directory.

	   Example:  th_dnh/script/Afro	


	2) Include 'function_cutin.txt' with '#include_function' in your spellcard.


	3) Make sure you load the cutin portrait as you do for CutIn. Some people use variabels
	   others people use the full pathname. Whatever makes you happy. 

	   Example: 	let cut = GetCurrentScriptDirectory ~ "portrait.png"
			LoadGraphic(cut);


	4) Now call the new function in @Initialize with the command 'cutin' ( note the lowercaps ) and use the
	   same parameters you used for the old CutIn. 

		(7) Parameters:
			1 - cutin type	
			2 - spell card name 
			3 - path to image
			4 - left boundary of image
			5 - top boundary of image
			6 - right boundary of image
			7 - bottom boundary of image

	   Example:	cutin("NAZRIN","Spell card name",cut,0,0,300,500);
			
			or
		
			cutin("NAZRIN","Spell card name",GetCurrentScriptDirectory ~ "cut.png",0,0,300,500);  


	   There are three types of CutIns available: "KANAKO" "NAZRIN" "BYAKUREN" <-- don't forget the quotes!
	   They imitate: MoF / SA+UFO and UFO final boss style.
	
	   "KANAKO"   - Makes the portrait appear diagonally towards the middle and floats to the top (MoF)
	   "NAZRIN"   - Makes it appear diagonally, slows in the middle, and leaves diagonally (SA + UFO)
	   "BYAKUREN" - Makes it appear horizontally, slows in the middle and leaves horizontally. (UFO Byakuren)



History / Bugfix:

	version 3.0
		- Eliminated the familiar technique for spawning the cutin portrait.
		- CutIn no longer needs to be included in the spellcard. ( thanks Casercan for the suggestion )
		- Adjusted cutin flightpaths
		- Spell Card attack text is now ADD drawing for better looks
		- Moved the position of the hexagons and angle of text to imitate UFO style.

	version 2.0
		- Modified "spell card attack!!" text making it closer to the official games.
		- Added Hexagon shaped text aswell
		- Fixed slightly the timers for the cutin movement.


	version 1.0
		- Optimised code and fixed img insertion problem (Thanks Naut)
		- Added: "Spell card attack!" animation like in original games
		

	version 0.1
		- Fully experimental cutin script
		- MoF / SA / UFO style.



Credits:

	Scripting - Helepolis

	For questions please visit the thread: http://www.shrinemaiden.org/forum/index.php?topic=2146.0

