script_enemy_main {
    #include_function ".\..\lib\enemyfunctions.txt"
    #include_function "script\lib\dialoguefunctions.txt"
	let nitoriimg=GetCurrentScriptDirectory~"img\nitori.png";

sub SetDialogue{
	yield;
	SetCharImg("LEFT", nitoriimg, 0, 0, 64, 64);
	AddDialogueText("sigh...", 255, 128, 255, 128);
	AddDialogueText("Where am I?", 255, 128, 255, 128);
	AddDialogueText("This is... a desert? But why is it flowery?", 255, 128, 255, 128);
	AddDialogueText("What is going on?", 255, 128, 255, 128);
	AddDialogueText("All I remember was being locked up somewhere. Then after that, I was falling from the sky.", 255, 128, 255, 128);
	AddDialogueText("Owwwww... My head hurts...", 255, 128, 255, 128);
	AddDialogueText("...", 255, 128, 255, 128);
	AddDialogueText("Hey! Are those motorcycle parts? What are these doing here?", 255, 128, 255, 128);
	AddDialogueText("Great... I can get back with this...", 255, 128, 255, 128);
	AddDialogueText("Now just where am I?", 255, 128, 255, 128);
	AddDialogueText("Hmmm... I can just keep on going whereever until I find something familiar... It looks like this thing has tons of gas anyway...", 255, 128, 255, 128);
	AddDialogueText("After a few hours of continuous driving, Nitori finally found her way back to the base of Youkai Mountain.", 255, 255, 255, 255);
	AddDialogueText("I wonder what happened...", 255, 128, 255, 128);
	AddDialogueText("I should go ask Reimu to help me...", 255, 128, 255, 128);
	AddDialogueText("First I should fix up this motorcycle... It is a wreck...", 255, 128, 255, 128);
	AddDialogueText("I also seem to have enough parts for either a cucumber or a cattail gun.", 255, 128, 255, 128);
	AddDialogueText("!!!", 255, 128, 255, 128);
	AddDialogueText("What is this? I didn't notice this sticking out of the motorcycle a while ago...", 255, 128, 255, 128);
	AddDialogueText("No use worrying about it... I will find out what this is later...", 255, 128, 255, 128);
	AddDialogueText("Go to the experiment menu from the garage selection in the main menu.", 255, 255, 255, 255);
	AddDialogueText("Here you can create your first weapon by selecting ingredients and pressing c.", 255, 255, 255, 255);
	AddDialogueText("Certain combinations give certain results. If the current combination gives no results, an error sound will play and you will get your ingredients back.", 255, 255, 255, 255);
	AddDialogueText("Check the research menu for blueprints and recipes.", 255, 255, 255, 255);
	AddDialogueText("Do take note that only certain weapons will have their recipes clearly stated.", 255, 255, 255, 255);
	AddDialogueText("Other weapons will require you to read the description clearly and do some guesswork.", 255, 255, 255, 255);
	AddDialogueText("Do not worry. There is no limit to how many times you can attempt to create something.", 255, 255, 255, 255);
	AddDialogueText("After creating your first weapon, go to the edit vehicle selection in the main menu.", 255, 255, 255, 255);
	AddDialogueText("Here you can begin constructing your vehicle.", 255, 255, 255, 255);
	AddDialogueText("As of now, you will only have 1 vehicle and 1 weapon... When you advance in the game, more and more will be unlocked.", 255, 255, 255, 255);
	AddDialogueText("Do take note that the last vehicle selected before leaving this screen will be the one you will take to the next stage you select.", 255, 255, 255, 255);
	AddDialogueText("So be careful... You would not want to construct vehicle A only to accidentally go into the stage with vehicle B, right?", 255, 255, 255, 255);
	AddDialogueText("Also take note that certain vehicles cannot be used in certain stages and certain weapons cannot be used on certain vehicles.", 255, 255, 255, 255);
	AddDialogueText("Later on, when you have enough money, you can also upgrade the statistics of your vehicles in the vehicle garage.", 255, 255, 255, 255);
	AddDialogueText("That is about it! Go construct your vehicle and help Nitori!", 255, 255, 255, 255);
	InitializeDialogue(0);
}

	@Initialize {
		EnemyInit(10, 100);
		LoadGraphic(nitoriimg);
		SetDialogue;
	}
	
	@MainLoop{
        yield;
	}
		
	@DrawLoop {
	}
	
	@Finalize {
	}
}