//====================================================================
//Ragnarok Online Swordman jobchange script
//====================================================================
izlude_in.gat,74,172,4	script	mMh	119,{
	mes "[mMh]";
	mes "킵́AmMh";
	mes "]EWI̗pH";
	next;
	menu "mɓ]EB",L1,"mɂĕ",L2,"m]EvɂĕB",L3,"߂",L4;
L1:
//]mr
	callfunc "jobchanger","mMh",1;
if (Class == 1) goto Ltwice;
if (Class != 0) goto LError;
if (change_sword == 5) goto Lchangejob;
if (change_sword >= 1) goto Lcheck;
	mes "[mMh]";
	mes "mɓ]EH";
	mes "悵AȂɌm]E";
	mes "\݂̂B";
	next;
	menu "m]E̐\݂B",-,"߂B",Lend;
		set change_sword,1;
		savepoint "izlude_in.gat",67,170;
		mes "[mMh]";
		mes "ɃTCāc悵A";
		mes "̐\͂悤B";
		mes "A]Ev𖞂";
		mes "]Eɂ邼B";
		mes "Ă݂邩H";
		next;
		menu "͂",-,"",L1_2;
			mes "[mMh]";
			mes "قHĂƁAmFĂ݂悤H";
			next;
			goto Lcheck;
		L1_2:
			mes "[mMh]";
			mes "c";
			mes "o܂ȁB";
			close;
L2:
	mes "[mMh]";
	mes "mɂĒm肽H";
	mes "悵A悤I";
	next;
	mes "[mMh]";
	mes "m̈ԑ傫ȓ́A";
	mes "ߐڐōŋ̈З͂";
	mes "łĂƂI";
	mes "mڋߐ";
	mes "ŋȗR͂RI";
	next;
	mes "[mMh]";
	mes "PځAEƂɔׂ";
	mes "HP荂I";
	mes "QځA|Ǝ}ASĂ";
	mes "gI󋵂ɂ";
	mes "KvȕIׂI";
	next;
	mes "[mMh]";
	mes "RځAm̃XĹA";
	mes "͂ȕŌ^̂B";
	mes "ȒPȐAŏ\B";
	mes "̂ƂƁAm͐E";
	mes "ԊiDEƂŁA";
	mes "Ȃǂ́AKvȂ炾I";
	close;
L3:
	mes "[mMh]";
	mes "mɂȂ肽̂H";
if (Class == 0) goto L3_1;
	if (Class != 1) mes "AN͂̐EƂ";
	if (Class != 1) mes "ȂĂ邾낤HB";
	if (Class == 1) mes "ccĂA";
	if (Class == 1) mes "N͂m낤ccH";
	mes "łccH";
	mes "܂AȂ狳悤B";
L3_1:
	next;
	mes "[mMh]";
	mes "mɂȂ邽߂ɂ́A";
	mes "܂AS҃XL|CgXȏ";
	mes "ȂƑʖڂBNꂷ";
	mes "łȂAm";
	mes "߂B";
	next;
	mes "[mMh]";
	mes "QԖځAm]E";
	mes "󂯂Ȃ΂ȂȂB";
	mes "ڂe͎n";
	mes "ēlɕĂ݂̂B";
	next;
	mes "[mMh]";
	mes "܂ÂQ̂Ƃς܂΁A";
	mes "mɂȂvSA";
	mes "DȎɂłm";
	mes "]Eł̂B";
	close;
L4:
	mes "[mMh]";
	mes "͂͂́INĂƁA";
	mes "킵̎ႢvoI";
	close;
Lcheck:
	if (getskilllv(1) < 9) goto Llowlv;
	mes "[mMh]";
	mes "S҃XLx͏\Ȃ̂ɁA";
	mes "n܂ȁBNA";
	mes "{IȎɂ獇iłȂȂA";
	mes "Ňm]É̖AC";
	mes "˔jāẢF̉ʂĂ܂";
	mes "ȂĂ܂낤B";
	next;
	mes "[mMh]";
	mes "n͍̕B";
	mes "ŁAmMh";
	mes "b΁AʂĂ邾낤B";
	close;
Lchangejob:
	mes "[mMh]";
	mes "߂łƂI";
	mes "ŃAꂩ炯[[񂵂Ƃ";
	mes "f炵EƂɂȂ킯I";
	mes "ꂩNmɔCI";
	next;
	jobchange 1;
	set change_sword,0;
	mes "[mMh]";
	mes "mɂȂ̂x";
	mes "jBꂩ";
	mes "mMĥ߁A";
	mes "݂͂ĂI";
	close;
Llowlv:
	mes "[mMh]";
	mes "ANBS҃XL|CgA";
	mes "K萅ɂȂĂȂȁB";
	mes "]EvxׂŁA";
	mes "S҃XL|Cg";
	mes "グĂ܂ȁB";
	close;
Ltwice:
	mes "[mMh]";
	mes "͂͂͂́I";
	mes "ʔW[_ˁ[I";
	mes "N͂m낤H";
	close;
LError:
	mes "[mMh]";
	mes "͂́I܂AςȂƂȁI";
	mes "N͂̐EƂ";
	mes "ȂĂł͂ȂI";
	close;
Lend:
	mes "[mMh]";
	mes "ccCς";
	mes "܂ȁB";
	close;
}
//==============================================================================
izlude_in.gat,62,170,6	script	mMh	85,{
	if (Class == 1) goto Ltwice;
	if (Class != 0) goto Lotherjob;
	if (getskilllv(1) < 9) goto Llowlv;
	if (change_sword == 5) goto Lerror;
	if (change_sword >= 1) goto Lwarp;
	mes "[mMh]";
	mes "~܂Im]E";
	mes "󂯂ȂA]E\";
	mes "Ă炾I";
	close;
Lwarp:
	warp "izlude_in.gat",39,170;
	end;
Lerror:
	mes "[mMh]";
	mes "~܂I܂̃Mh";
	mes "₢킹Ă炾I";
	close;
Llowlv:
	mes "[mMh]";
	mes "~܂IS҃XL|Cg";
	mes "XɂȂȂfl鏊ȂI";
	mes "XL|CgXȏɂȂA";
	mes "]Eɓ点邩ȁB";
	close;
Ltwice:
	mes "[mMh]";
	mes "~܂I͏SҎnꂾI";
	mes "ɓ]EO闝R͂ȂI";
	mes "AI";
	close;
Lotherjob:
	mes "[mMh]";
	mes "҂I̐EƂɂȂĂ";
	mes "OAɗ񂶂ȂI";
	close;
}
//==============================================================================
izlude_in.gat,30,175,4	script	mMh	92,{
	mes "[mMh]";
	mes "nɊւāAȒPɐ悤I";
	mes "[āAƂŕςȎƂ";
	mes "Ȃ悤ɁI";
	next;
	mes "[mMh]";
	mes "̖̎ړÍAvȑ̗͂Ƌx";
	mes "_͂Kvł錕m̍˔\";
	mes "邩ǂeXĝI";
	mes "˔\Ȃ΁A";
	mes "ŗĂ܂낤B";
	next;
	mes "[mMh]";
	mes "^33ff55i^000000́A[ȒPI";
	mes "̑SẴR[X";
	mes "ɒʉ߂āAŌ";
	mes "`FbN|Cgő҂Ă鎎";
	mes "iF炤ł񂾁B";
	next;
	mes "[mMh]";
	mes "΂ɁA錾AŌ";
	mes "`FbN|CgɓłȂ";
	mes "ꍇ͕siɂȂAA錾";
	mes "ȂAeR[X";
	mes "߂Ae`FbN|Cg";
	mes "֌W҂ɘb炢B";
	next;
	mes "[mMh]";
	mes "͂R̃R[XɂȂĂāA";
	mes "R[X𗣒EAnA";
	mes "_ȈʒuɗĂ܂A";
	mes "ӂB";
	mes "ꂶAK^FB";
	close;
}
//==============================================================================
izlude_in.gat,30,163,0	script	E	105,{
	if (change_sword == 1) goto Lfirst;
	if (change_sword == 2) goto Lsecond;
	if (change_sword == 3) goto Ltherd;
		mes "[E]";
		mes "ށAǂēĂ񂾁H";
		close2;
		warp "izlude_in.gat",63,169;
		end;
Lfirst:
	mes "[E]";
	mes "mɂȂ肽̂HӂA";
	mes "܂A˔\݂͂ȁB";
	mes "ꂩ̐lɔׂA";
	mes "́AƂȂ낤I";
	mes "ْȁIOȂłI";
	close2;
	set change_sword,2;
	warp "sword_1-1.gat",10,245;
	end;
Lsecond:
	mes "[E]";
	mes "ŝc";
	mes "Ă";
	close2;
	getitem 512,5;
	set change_sword,3;
	warp "sword_1-1.gat",10,245;
	end;

Ltherd:
	mes "[E]";
	mes "߂ȁIĒ킾h";
	close2;
	warp "sword_1-1.gat",10,245;
	end;
}
//==============================================================================
//==============================================================================
sword_1-1.gat,7,245,0	script	#T|[^[1	45,1,1,{
	end;
OnTouch:
	mes "[T|[^[]";
	mes "󌱐 " + strcharinfo(0) + ". 錾܂H";
	next;
	menu "͂.",Lwarp,"",-;
		warp "sword_1-1.gat",10,245;
		end;
Lwarp:
		mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + " ܂.",0;
		warp "izlude_in.gat",65,165;
		end;
}
//==============================================================================
sword_1-1.gat,8,207,0	script	#T|[^[2	45,1,1,{
	end;
OnTouch:
	mes "[T|[^[]";
	mes "󌱐 " + strcharinfo(0) + ". 錾܂H";
	next;
	menu "͂.",Lwarp,"",-;
		warp "sword_1-1.gat",11,207;
		end;
Lwarp:
		mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + " ܂.",0;
		warp "izlude_in.gat",65,165;
		end;
}

//==============================================================================
sword_1-1.gat,8,169,0	script	#T|[^[3	45,1,1,{
	end;
OnTouch:
	mes "[T|[^[]";
	mes "󌱐 " + strcharinfo(0) + ". 錾܂H";
	next;
	menu "͂.",Lwarp,"",-;
		warp "sword_1-1.gat",11,169;
		end;
Lwarp:
		mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + " ܂.",0;
		warp "izlude_in.gat",65,165;
		end;
}
//==============================================================================
//==============================================================================
sword_1-1.gat,192,244,0	script	#T|[^[4	45,1,1,{
	end;
OnTouch:
	mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + ".P|Cgʉ",0;
	warp "sword_1-1.gat",215,244;
	end;
}
//==============================================================================
sword_1-1.gat,193,207,0	script	#T|[^[5	45,1,1,{
	end;
OnTouch:
	mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + ".Q|Cgʉ",0;
	warp "sword_1-1.gat",215,205;
	end;
}
//==============================================================================
sword_1-1.gat,193,168,0	script	#T|[^[6	45,1,1,{
	end;
OnTouch:
	mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + ".R|Cgʉ",0;
	warp "sword_1-1.gat",215,167;
	end;
}
//==============================================================================
//==============================================================================
sword_1-1.gat,230,242,2	script	T|[^[	105,{
	mes "[T|[^[]";
	mes "錾̂H";
	next;
	menu "͂",Lwarp,"",-;
		mes "[T|[^[]";
		mes "[I";
		mes "RႢp[ŗ̂I";
		close;
Lwarp:
		mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + " ܂.",0;
		warp "izlude_in.gat",65,165;
		end;
}
//==============================================================================
sword_1-1.gat,230,204,2	script	T|[^[	105,{
	mes "[T|[^[]";
	mes "錾̂H";
	next;
	menu "͂",Lwarp,"",-;
		mes "[T|[^[]";
		mes "[I";
		mes "RႢp[ŗ̂I";
		close;
Lwarp:
		mapannounce "sword_1-1.gat","T|[^[: 󌱐 " + strcharinfo(0) + " ܂.",0;
		warp "izlude_in.gat",65,165;
		end;
}
//==============================================================================
//==============================================================================
sword_1-1.gat,230,245,2	script	ÒST|[^[	105,{
	mes "[ÒST|[^[]";
	mes "P`FbN|CgI";
	mes "̗͂񕜂Ă邩撣I";
	heal 1000,0;
	close;
}
//==============================================================================
sword_1-1.gat,230,207,2	script	ÒST|[^[	105,{
	mes "[ÒST|[^[]";
	mes "Q`FbN|CgI";
	mes "̗͂񕜂Ă邩撣I";
	heal 1000,0;
	close;
}
//==============================================================================
sword_1-1.gat,223,167,4	script	mei	92,{
	mapannounce "sword_1-1.gat","mei: 󌱐 " + strcharinfo(0) + "Aɍi܂.",0;
	set change_sword,5;
	mes "[C]";
	mes "̍iA߂łƂ܂I";
	mes "ɍi̎|́A";
	mes "]EǗۂɓ`܂B";
	mes "oāA̓]EǗE";
	mes "ƂɍsĉB";
	close2;
	warp "izlude_in.gat",66,173;
	end;
}
//==============================================================================
