//===== eAthena Script ======================================= 
//= Ninja Job Quest
//===== Initial Version by: ================================== 
//= Lord Gywall
//===== Current Version: ===================================== 
//= 1.1c
//===== Compatible With: ===================================== 
//= eAthena SVN
//===== Description: ========================================= 
//= Temp Ninja Quest
//===== Additional Comments: ================================= 
//= 1.1b Fixed the below fix. [blackhole89]
//= 1.1 Removed tRO specific questions; minor fixes. [blackhole89]
//= 1.0 Fixed minor things [Lupus]
//============================================================ 


amatsu.gat,46,137,4	script	Ninja Master	730,{
	mes "[Ninja Master]";
	mes "Huh, what?";
	if(Class==Job_Novice) goto N_Novice;
	mes "Hey! Get lost!";
	close;
N_Novice:
	mes "Oh, a novice.. I guess your here to learn the ways of a Ninja.";
	next;
	menu "I wish to become a Ninja",N_Question,"What are the requirements?",N_Require,"Leave",-;
	close;

N_Question:
	mes "[Ninja Master]";
	if(JobLevel<10 || SkillPoint) goto N_Bad;
	set @qnumber,rand(1,4);
	if(@qnumber==1) goto N_Q1;
	if(@qnumber==2) goto N_Q2;
	if(@qnumber==3) goto N_Q3;
	mes "Where can you find a Poison Toad?";
	menu "Amatsu Field",N_C,"Louyang Field",N_W,"Prontera Field",N_W,"Einbroch Field",N_W;
N_Q1:
	mes "Which of these places does not have its own fields?";
	next;
	menu "Geffen",N_W,"Alberta",N_C,"Payon",N_W,"Lighthalzen",N_W;
N_Q2:
	mes "Dammit.. which one is a fake weapon?";
	next;
	menu "Dirk",N_W,"Coward",N_W,"Stardust Blade",N_W,"Myrital",N_C;
N_Q3:
	mes "Which is the odd one out?";
	next;
	menu "Super Novice",N_W,"Gunslinger",N_W,"TaeKwon",N_C,"Ninja",N_W;
N_C:
	mes "[Ninja Master]";
	mes "..That's right.";
	mes "You can be a ninja from this day forward.";
	next;
	callfunc "Job_Change",Job_Ninja;
	mes "[Ninja Master]";
	mes "Congratulations. Now go train~ desu!";
	close;
N_W:
	mes "Argh.. Dammit, you baka!";
	next;
	menu "Try again",N_Question,"Give up",-;
	close;
N_Bad:
	mes "Wait a second.. You're either too low in job level or you have skill points left...";
	close;
N_Require:
	mes "[Ninja Master]";
	mes "You have to correctly answer a question I fire at you randomly.";
	mes "Your job level must be at least 10 before trying.";
	close;
}
