//===== eAthena script =======================================
//= Umbala Town script
//===== By: ==================================================
//= jAthena (1.0) Fusion Dev Team (1.1) Muad Dib (1.2) Darkchild (1.3)
//===== Current Version: =====================================
//= 1.9
//===== Compatible With: =====================================
//= Any eAthena Version; RO Episode XX
//===== Description: =========================================
//= Umbala Town Npcs
//==================================================
//===== Additional Comments: =================================
//= 1.0 - Done By jAthena (dunno Who)
//= 1.1 - Translated by Fusion Dev Team
//= 1.2 - Fixed Something by Muad Dib
//= 1.3 - Fixed up For eA by Darkchild
//= 1.4 - Fixed some wrong item names [Lupus]
//= 1.5 � Spell Checked [massdriller]
//= 1.6 - Fixed item names, added a chance to get to Niflheim via Jumping Bungy Area [Lupus]
//= 1.7 - Fixed bugs and exploits [Lupus]
//= 1.8 - Warps you to Niff with 1HP [Lance]
//= 1.9 - Moved Umbala Event, Create Essence/Dismantle Stone, and Skeletal Gate to npc/quests/quests_umbala.txt [Evera]
//= 2.0 - Removed duplicates, max NPC name length is 23, so Utan Tribe Young Adult#1, the 1 is skipped [Toms]
//============================================================


//========================================================
// == NPCs on the road to Umbala ==
//========================================================
//Note that On_Emotion is NOT an npc command but just an trigger for DoNpcEvent!!
comodo.gat,170,137,7	script	Reid	84,{
	close;
On_Emotion20:
	emotion e_hmm;
	end;
On_Emotion29:
	emotion e_gg;
	end;
}

//========================================================
comodo.gat,171,137,1	script	Heath	92,{
	mes "[Reid]";
	mes "There's a huuuuuuuge treasure hidden";
	mes "somewhere around here!";
	next;
	mes "[Heath]";
	mes "If only we could get our hands on it,";
	mes "the people who call us the 'Dunce Duo'";
	mes "will certainly have to eat their words!!";
	next;
	mes "[Reid]";
	mes "We'll keep looking as long as it takes!";
	next;
	donpcevent "Reid::On_Emotion29";
	emotion e_gg;
	mes "[Heath]";
	mes "Hey, Reid, come on!";
	next;
	mes "[Reid]";
	mes "............";
	next;
	donpcevent "Reid::On_Emotion29";
	emotion e_hmm;
	mes "[Reid]";
	mes "Okay, okay...I'm coming.";
	next;
	menu "Hey, wait!  Treasure?",Lwhat_1;

	Lwhat_1:
		mes "[Reid]";
		mes "You mean you've never heard of it?!";
		next;
		emotion e_gg;
		mes "[Heath]";
		mes "Oh, you want to hear the story of the";
		mes "treasure, huh?  Well, how important";
		mes "is it to you, really?";
		next;
		mes "[Reid and Heath]";
		donpcevent "Reid::On_Emotion29";
		emotion e_gg;
		mes "Important enough for you to";
		mes "cough up 1000 zeny?!";
		next;
		menu "Alright.  I'll be a sucker today",Lzeny_1,"Dream on, Dunce Duo!",Lzeny_2;

		Lzeny_1:
			if(Zeny < 1000) goto Lzeny_no;
			set Zeny,Zeny-1000;
			mes "[Heath]";
			mes "Alright, my 'friend'. listen up.";
			next;
			mes "[Reid]";
			mes "A famous adventurer named Niles";
			mes "returned to this village from his";
			mes "adventures abroad.";
			mes "He was dragging...";
			next;
			mes "[Heath]";
			mes "...(Whisperwhisperwhisper)";
			mes "a really big box along behind him!!";
			next;
			mes "[Reid]";
			mes "He returned during the dead of night,";
			mes "hoping no one would see his cargo.";
			next;
			mes "[Heath]";
			mes "There has to be something";
			mes "valuable in that box!";
			mes "There's no other explanation!";
			next;
			mes "[Reid]";
			mes "I'm on a search for that box!";
			mes "I'm going to find it!";
			next;
			emotion e_hmm;
			mes "[Heath]";
			mes "There's just one problem.";
			mes "We don't have the slightest";
			mes "idea where Niles put the treasure.";
			next;
			mes "[Reid]";
			mes "Niles is making us look foolish!";
			next;
			menu "Where is Niles now?",Lwhere_1;

			Lwhere_1:
				mes "[Reid]";
				mes "He's on the north side of the village.";
				next;
				mes "[Heath]";
				mes "I hope this information was worth";
				mes "it.";
				next;
				mes "[Reid and Heath]";
				mes "It was certainly worth it to us!";
				mes "Heh heh heh!";
				close;

			Lzeny_no:
				mes "[Reid]";
				mes "Hey!  Come back when you're not dirt";
				mes "poor!  Gotta spend money to make money, right?";
				close;

		Lzeny_2:
			donpcevent "Reid::On_Emotion20";
			emotion e_hmm;
			mes "[Heath]";
			mes "Whaaaaat?!  I swear that our marks";
			mes "aren't as gullible as they used to be.";
			mes "How are we supposed to make an honest zeny?!";
			close;
}

//========================================================
cmd_in01.gat,175,120,3	script	Iria	69,{
	mes "[Iria]";
	mes "That guy over at the far table";
	mes "in the corner is the adventurer";
	mes "Niles.  He seems to have a wealth";
	mes "of stories about his many adventures.";
	next;
	mes "[Iria]";
	mes "He's always so boisterous, saying things";
	mes "like 'Will your journey lead you to fame,";
	mes "or to certain death?!'";
	next;
	mes "[Iria]";
	mes "Nevertheless, anyone who talks to Niles";
	mes "for any length of time seems to be invariably";
	mes "inspired by his passion.";
	close;
}

//========================================================
cmd_in01.gat,164,115,1	script	Niles	731,{
	mes "[Niles]";
	mes "Oh?";
	mes "Another fool come to ask about";
	mes "that idiotic rumour circulating";
	mes "around town?";
	next;
	mes "[Niles]";
	mes "The story about me finding a great";
	mes "treasure is a big misunderstanding.";
	mes "In reality, it's just my collection";
	mes "of modest finds.";
	next;
	mes "[Niles]";
	mes "That said, I think I have a lead";
	mes "on a potentially lucrative ";
	mes "item just waiting to be found.";
	next;
	mes "[Niles]";
	mes "Don't you think that cave";
	mes "near Comodo village is interesting?";
	next;
	mes "[Niles]";
	mes "I think a large jewel may be";
	mes "hidden within its confines.";
	next;
	mes "[Niles]";
	mes "Until recently, we didn't know how to";
	mes "reach the cave.";
	next;
	mes "[Niles]";
	mes ".............";
	next;
	mes "[Niles]";
	mes ".......Hm?";
	next;
	mes "[Niles]";
	mes "Is your mind set on going there?!";
	mes "Can you imagine what you'll find?!";
	next;
	mes "[Niles]";
	mes "Doesn't just talking about it make";
	mes "you want to go on an adventure?!!!";
	next;
	mes "[Niles]";
	mes "Just break down any barrier in your";
	mes "path and trust your primal instincts";
	mes "to guide you to your goal!";
	next;
	mes "[Niles]";
	mes "Go!  Quickly!";
	next;
	mes "[Niles]";
	mes "Will you find the path to fame on";
	mes "your journey, or the path to certain";
	mes "death?!  Hahahaha!!!!";
	close;
}


//==================================================================
//	Umbala NPCs and Quests
//==================================================================

//==================================================================
//Trade money for meat
umbala.gat,70,106,3	script	Utan Child#1	781,{
if(event_umbala < 3) goto LumWord;
	mes "[???]";
	mes "Hello!  I'm a member of";
	mes "the Utan tribe.";
	next;
	mes "[???]";
	mes "My name is Hatan!  Nice to";
	mes "meet you.";
	emotion e_heh;
	next;
	mes "[Hatan]";
	mes "...I can't play now, because";
	mes "a recent thunderstorm caused";
	mes "the roof of our house to become";
	mes "cracked...";
	emotion e_sob;
	next;
	mes "[Hatan]";
	mes "...!";
	next;
	mes "[Hatan]";
	mes "Hey!  You guys seem pretty well";
	mes "off.  Do you think you could";
	mes "give us a little zeny";
	mes "so we can fix the crack?";
	mes "Please!";
	emotion e_sob;
	next;
	menu "Nod",-,"Shake Head",Lend2;

		if(Zeny < 1000) goto LError2;
		mes "[Hatan]";
		mes "Yay!!";
		mes "You're the best!!";
		set Zeny,Zeny-1000;
		getitem 517,1;//Items: Meat,
		emotion e_swt2;
		next;
		mes "[Hatan]";
		mes "Please take this as a token of my gratitude.";
		emotion e_heh;
		close;

		LError2:
			mes "[Hatan]";
			mes "Well, maybe I underestimated your";
			mes "wealth, but you shouldn't lie...";
			emotion e_pif;
			close;
	Lend2:
		mes "[Hatan]";
		mes "...Awwwww.";
		emotion e_sob;
		close;

LumWord:
	mes "[???]";
	mes "Umba!";
	mes "Umbaluwababawamuba.";
	next;
	mes "[???]";
	mes "Umba!  Umbaumba!";
	mes "Umbabama Hatan baba.";
	emotion e_heh;
	next;
	mes "[Hatan]";
	mes "...Umba, Umbaumbaumba.";
	mes "Umbaumbaumbababa.";
	mes "Umbabawaumbaumbaba.";
	mes "Umbaumba.";
	mes "...Umbaumbamabababumba.";
	emotion e_sob;
	next;
	mes "[Hatan]";
	mes "...!";
	next;
	mes "[Hatan]";
	mes "Umba!";
	mes "Umbaumbaumbababa.";
	mes "Umbababaumbawabaumba!";
	mes "Umbaumbaumbababa.";
	mes "wamfuba!  Umba!";
	emotion e_sob;
	next;
	menu "Nod",-,"Shake Head",Lend;

		if(Zeny < 1000) goto LError;
		mes "[Hatan]";
		mes "Umbaumba!!";
		mes "Um!-babaumba-baumba-.";
		mes "Umba-umba-Umbabawamamaba!";
		set Zeny,Zeny-1000;
		getitem 517,1;//Items: Meat,
		emotion e_swt2;
		next;
		mes "[Hatan]";
		mes "Umbaumba....";
		emotion e_heh;
		close;

		LError:
			mes "[Hatan]";
			mes "Umba-Umbana!";
			emotion e_pif;
			close;
	Lend:
		mes "[Hatan]";
		mes "....Umba....";
		emotion e_sob;
		close;
}

//==================================================================
//Trade Meat for Clover, ???, and Soft Fur 
umbala.gat,59,243,5	script	Utan Child#4	787,{
if(event_umbala < 3) goto LumWord;
	mes "[Kotan]";
	mes ".....";
	mes ".....";
	mes "...I want meat.";
	mes "...Gimme meat!";
	next;
	menu "Sure",-,"No way!",L2;
	if(countitem(517) < 1) goto LError;//Items: Meat,
		delitem 517,1;//Items: Meat,
		mes "[Kotan]";
		mes "Hey, thanks!";
		mes "Take these!";
		emotion e_scissors;
		getitem 909,2;//Items: Jellopy,
		getitem 914,2;//Items: Fluff,
		getitem 705,2;//Items: Clover,
		close;
	L2:
		mes "[Kotan]";
		mes "......";
		mes "...I'm hungry!";
		mes "...Gimme meat!";
		emotion e_sob;
		close;
LError:
	mes "[Kotan]";
	mes "Hey!  You said you have";
	mes "meat!  So you were lying?";
	mes "I hate you!";
	emotion e_an;
	close;
LumWord:
	mes "[???]";
	mes "....";
	mes "....";
	mes "...Umbaba!";
	mes "...Famba!";
	emotion e_rock;
	next;
	menu "Umba",-,"Umbabu",Lu2;
	if(countitem(517) < 1) goto LuError;//Items: Meat,
		delitem 517,1;//Items: Meat,
		mes "[???]";
		mes "Umbaumbaumbababa.";
		mes "Umbababauma.";
		emotion e_scissors;
		getitem 909,2;//Items: Jellopy,
		getitem 914,2;//Items: Fluff,
		getitem 705,2;//Items: Clover,
		close;
	Lu2:
		mes "[???]";
		mes "....";
		mes "......Unguba!";
		mes "....Umbababa.";
		emotion e_sob;
		close;
LuError:
	mes "[???]";
	mes "Umbawamufumabababa!";
	mes "Umbabababaumbaumbu!";
	emotion e_an;
	close;
}


//=====================================================================
umbala.gat,177,153,3	script	Bast	97,{
	if (event_umbala>=3) emotion e_gasp;
	mes "[Bast]";
	mes "Oh!  Another outsider.  It's";
	mes "great to encounter another one";
	mes "in this village!  My name is";
	mes "Bast.";
	next;
	mes "[Bast]";
	mes "Because Umbala village is isolated";
	mes "within a deep forest, its culture";
	mes "is unaffected by the steady pull";
	mes "of progress.";
	next;
	mes "[Bast]";
	mes "Not only that, but the natives' skin colour";
	mes "and language are also different.";
	mes "Aren't you confused by their";
	mes "alien gestures and expressions?";
	next;
	mes "[Bast]";
	mes "Even the things you would expect";
	mes "to transcend culture have a";
	mes "different meaning in Umbala.";
	next;
	mes "[Bast]";
	mes "Just because a tribeman's face laughs";
	mes "doesn't necessarily mean his";
	mes "heart is laughing.  Understand?";
	next;
	emotion e_sob;
	mes "[Bast]";
	mes "Because of that, people in the village";
	mes "who know our language may have trouble!!";
	close;
}

//=====================================================================
umbala.gat,80,146,4	script	Yuki	753,{
	mes "[Yuki]";
	mes "Umbaubaugau...Oh!";
	mes "You're from abroad?  That's";
	mes "wonderful!  I didn't think that";
	mes "I would meet someone else from abroad.";
	mes "Hahaha.";
	next;
	mes "[Yuki]";
	mes "I came here looking for strong";
	mes "companions, but I was unable";
	mes "to understand the language.";
	mes "I had to listen to the language being spoken";
	mes "for some time before I picked it up.";
	mes "Hahaha.";
	next;
	mes "[Yuki]";
	mes "The people here seem to want to";
	mes "preserve their native culture while";
	mes "eschewing the trappings of modern life.";
	mes "The tribesmen are really prone to";
	mes "mischief-making.";
	next;
	mes "[Yuki]";
	mes "The primitive atmosphere here is really";
	mes "refreshing.  Tribal law is very lax and";
	mes "doesn't intrude upon one's enjoyment of";
	mes "the village.  It's really wonderful.";
	close;
}

//=====================================================================
um_in.gat,101,73,3	script	Yunatan 	783,{
	if(event_umbala < 3) goto LumWord;
	mes "[Yunatan]";
	mes "I'm standing out here because I";
	mes "can't stand to lay eyes on";
	mes "that lecher Wambokoriotan.";
	mes "I hate his guts!";
	close;
LumWord:
	mes "[Yunatan]";
	mes "Umbaba!  Umbaumbaugaga";
	mes "Ugugumubaugaumuumu.";
	mes "Umbabababababababa.";
	close;
}

//=====================================================================
um_in.gat,94,123,5	script	Bartsutan	783,{
	if(event_umbala < 3) goto LumWord;
	mes "[Bartsutan]";
	mes "I want to see Wambokoriotan";
	mes "morph into an insect so I can";
	mes "have the satisfaction of crushing";
	mes "his skull!  I hate him and his";
	mes "advances!  I wish he would just stay";
	mes "away from me.";
	close;
LumWord:
	mes "[Bartsutan]";
	mes "Umbarugumbarumbauma!";
	mes "Umuguugumubarumba.";
	mes "Umba...uumu.";
	close;
}

//=====================================================================
umbala.gat,140,157,6	script	Utan Tribe Young Adult::UtanTribeYougAdult1	785,{
	if(event_umbala < 3) goto LumWord;
	mes "[Seirutan]";
	mes "Bungy jumping is extremely dangerous.";
	mes "As such, completing a successful";
	mes "jump is a prerequisite for recognition";
	mes "as an adult in the Utan tribe.";
	close;
LumWord:
	mes "[?????]";
	mes "Umbaumbafumba.";
	mes "Uwambaunbaumbabaufumba";
	mes "Umbababaumbaumba.";
	close;
}

//=====================================================================
umbala.gat,146,157,4	script	Utan Young Adult#2	786,{
	if(event_umbala < 3) goto LumWord;
	mes "[Arotan]";
	mes "Making a safe bungy jump is a";
	mes "really big deal.  When someone makes";
	mes "their first jump safely, many people";
	mes "gather for a large feast.";
	close;
LumWord:
	mes "[????]";
	mes "Umbaumbaumbabaumbaba.";
	mes "Umbaumbabaumbababaumufumuba.";
	close;
}

//=====================================================================
umbala.gat,149,165,4	script	Utan Young Adult#3	781,{
	if(event_umbala < 3) goto LumWord;
	mes "[Kryubatan]";
	mes "I'm really afraid of heights,";
	mes "so I really don't want to jump,";
	mes "but I must in order to be";
	mes "recognized as a courageous";
	mes "member of the Utan tribe.";
	close;
LumWord:
	mes "[??????]";
	mes "Umbaumbaumbababa.";
	mes "Umbaumbaumumbabaumfumuba.";
	mes "Umbaumbaumumubafumba.";
	close;
}

//=====================================================================
umbala.gat,92,159,4	script	Hartan	785,{
	if(event_umbala < 3) goto LumWord;
	mes "[Hartan]";
	mes "You want to know why our";
	mes "skin is jet-black?";
	mes "......";
	next;
	mes "[Hartan]";
	mes "Well...";
	mes "Every night before we sleep,";
	mes "we eat lots of chocolate!";
	next;
	mes "[Hartan]";
	mes "Mmmmmmm...Chocolate...";
	close;
LumWord:
	mes "[????]";
	mes "Umbaumbaumba";
	mes "Umbaumbaumba";
	mes "Umbaumbaumba";
	next;
	mes "[????]";
	mes "Umbaumbabaungaha.";
	emotion e_sob;
	close;
}

//=====================================================================
umbala.gat,194,104,4	script	Utan Tribe Child#2	787,{
	if(event_umbala < 3) goto LumWord;
	mes "[Burkatan]";
	mes "An outsider?";
	mes "Are you here to try bungy jumping?";
	next;
	menu "You got it",-,"Well....",L2;
		mes "[Burkatan]";
		mes "What courage!";
		mes "The Utan tribe welcomes those";
		mes "with courageous hearts.";
		close;
	L2:
		mes "[Burkatan]";
		mes "The adults don't want me to even";
		mes "get close to the bungy jumping area.";
		mes "In this tribe, bungy jumping is a rite";
		mes "of passage.  If I can show them that";
		mes "I'm big enough to brave bungy jumping,";
		mes "they'll have to recognize me as an adult!";
		close;
LumWord:
	mes "[???]";
	mes "Umbaumbababaumfumuba.";
	mes "Umbababaumbabaumbaumba.";
	next;
	menu "Um...yes?",-,"Nope...",Lu2;
		mes "[???]";
		mes "Umbaumbaumbababa.";
		mes "Umbaumbaumubaba.";
		close;
	Lu2:
		mes "[???]";
		mes "Umbaumbaumuam.";
		mes "Umbaumbaumbaba.";
		mes "Umbaumfumababaumu.";
		close;
}

//=====================================================================
umbala.gat,193,208,6	script	Utan Child#3	789,{
	if(event_umbala < 3) goto LumWord;
	mes "[Fuitan]";
	mes "When I was younger, I went bungy";
	mes "jumping even though it was extremely";
	mes "dangerous.  I did it, though, and my";
	mes "chest swelled with a feeling of achievement.";
	mes "The tradition encourages rash behavior, but";
	mes "boys will be boys, don't you think?";
	close;
LumWord:
	mes "[????]";
	mes "Umbaumbababa.";
	mes "Umbamubafumabaumumbabamua";
	mes "Umumbababaumbafuma.";
	close;
}

//=====================================================================
umbala.gat,139,205,4	script	Utan Tribe Young Adult::UtanTribeYougAdult5	785,{
	if(event_umbala < 3) goto LumWord;
	mes "[Tsunitan]";
	mes "Awesome!  I haven't seen an outsider in some time.";
	mes "You're just in time to watch as";
	mes "youth from all over the village bungy";
	mes "jump to prove their courage!";
	next;
	mes "[Tsunitan]";
	mes "After you jump, you can use the";
	mes "cord to climb.  Also, if you search";
	mes "underwater, you might be able to find";
	mes "a submerged cave.  Of course, there have";
	mes "been unlucky souls who have died...";
	next;
	mes "[Tsunitan]";
	mes "You may also feel sick";
	mes "as the bottom draws near, because";
	mes "the ominous shapes of aquatic monsters";
	mes "drift slowly under the surface.";
	mes "If you linger underwater, you might die...";
	close;
LumWord:
	mes "[????]";
	mes "Umbaumba!";
	mes "Umbaumbabababaumumba.";
	mes "Babaum Utan Umbaumbaba";
	mes "Umbababafumu.";
	mes "Umfumubabaumbaumbaumbaba.";
	next;
	mes "[????]";
	mes "Umbafumumababaumba.";
	mes "Umbabatanumbaumba.";
	mes "Umumu.  Umbaumbaumbaum.";
	mes "Umbabaumbaumbaumubaamum.";
	mes "Umbaumbaumbafumu.";
	close;
}

//=====================================================================
um_in.gat,158,71,3	script	Utan Tribesman	787,{
	if(event_umbala < 3) goto LumWord;
	mes "[Mutakutan]";
	mes "Umbala has enough interesting trees";
	mes "that studying them never gets old!";
	next;
	mes "[Mutakutan]";
	mes "My favourite tree near Umbala is huge!";
	mes "It stretches into the sky as far";
	mes "as the eye can see!";
	mes "It's supposed to be the tallest tree in the world!";
	emotion e_ok;
	next;
	mes "[Mutakutan]";
	mes "It's so old and large that";
	mes "the top can't even be seen!";
	next;
	mes "[Mutakutan]";
	mes "Even after climbing the tree";
	mes "to quite a height, the top was not";
	mes "in sight.  I consider myself";
	mes "a tree-climbing expert, so this";
	mes "was quite distressing.";
	next;
	mes "[Mutakutan]";
	mes "That said, the fruit I was able";
	mes "to pick off of some of the higher";
	mes "branches is yummy!";
	emotion e_no1;
	next;
	mes "[Mutakutan]";
	mes "It has a slightly sour taste.  Eating";
	mes "it makes me feel all tingly inside!!";
	emotion e_no1;
	next;
	mes "[Mutakutan]";
	mes "At the same time, a terrible illness";
	mes "was ravaging Umbala village.";
	next;
	mes "[Mutakutan]";
	mes "The elder's health was declining";
	mes "and he was in danger of dying, but";
	mes "when I gave him a piece of that";
	mes "fruit, his health improved";
	mes "dramatically in a short time.  Surely";
	mes "this fruit was a gift from the forest!";
	emotion e_sob;
	next;
	mes "[Mutakutan]";
	mes "The tree is north of the village.  Why";
	mes "not visit it if you're over that way?";
	close;
LumWord:
	mes "[????]";
	mes "Umbaumbaumbabaumba!";
	mes "Umbaumbaumbababaumba";
	mes "Umbaumbaumba";
	mes "Umbabaumbaumbaba.";
	close;
}

//=====================================================================
umbala.gat,145,217,3	script	Chibibatan	783,{
	if(event_umbala < 3) goto LumWord;
	mes "[Chibibatan]";
	mes "I want to have some fun with";
	mes "Wambokoriotan, but after seeing";
	mes "how his wife can be, I don't know if";
	mes "I want to end up being on her bad side.";
	close;
LumWord:
	mes "[Chibibatan]";
	mes "Umbaba.";
	mes "Ugaugumbarumbaruuuu!";
	mes "Ugugauwubaruguagumbagua.";
	close;
}

//=====================================================================
um_in.gat,139,48,5	script	Purenotan	783,{
	if(event_umbala < 3) goto LumWord;
	mes "[Purenotan]";
	mes "See that loser over there?";
	mes "I'm on to him.  He hasn't";
	mes "exactly made a secret of his desire";
	mes "to have an affair or three.";
	mes "He needs to be smacked in the nuts, HARD.";
	close;
LumWord:
	mes "[Purenotan]";
	mes "Umbaumbaugaga!";
	mes "Umbaumbabababa!";
	mes "Umbaumba!";
	emotion e_an;
	next;
	mes "[Purenotan]";
	mes "Umbaumabaumbaumbaba!";
	mes "Umbababababaugau!";
	mes "Uguugaumbabaumbagumba!";
	emotion e_oh;
	next;
	emotion e_go;
	close;
On_emo:
emotion e_an;
end;
}

//=====================================================================
um_in.gat,144,45,5	script	Wambokoriotan	789,{
	if(event_umbala < 3) goto LumWord;
	mes "[Wambokoriotan]";
	mes "Ahhh...My wife is a real";
	mes "hothead.  Ouch...ouch.";
	next;
	mes "[Wambokoriotan]";
	mes "Yunatan, Bartsutan, Chibibatan...";
	mes "I want Umbala's babes as much";
	mes "as they want me...Ouch...ouch!";
	close;
LumWord:
	mes "[Wambokoriotan]";
	mes "Umbaumbaba.....";
	mes "Umbaugua!";
	mes "Umbagumumbabagumbagaga!";
	emotion e_heh;
	next;
	donpcevent "Purenotan::On_emo";
	close;
}

//==============================================================================
//Bungee jumping!
//==============================================================================
umbala.gat,140,197,0	script	#Shibonochikka	139,0,1,{
	set @jumprand,rand(0,4);
	if (@jumprand == 1) goto L1;
	if (@jumprand == 2) goto L2;
	if (@jumprand == 3) goto L3;
	if (@jumprand == 4) goto L4;
	mapannounce "umbala.gat","Bungy Jumping Area: " + strcharinfo(0) + " : Iyahaaaaahh!",8;
	end;

L1:
//Dead
	mapannounce "umbala.gat","Bungy Jumping Area: " + strcharinfo(0) + " : Ukiyaaaaaaaaaa!",8;
	percentheal -100,0;
	end;

L2:
//HP50% Damage
	mapannounce "umbala.gat","Bungy Jumping Area: " + strcharinfo(0) + " : Kyaaaaaaaaaaa!",8;
	percentheal -50,0;
	end;

L3:
//HP99% Damage
	mapannounce "umbala.gat","Bungy Jumping Area: " + strcharinfo(0) + " : Waaaaaaaaaah!",8;
	percentheal -99,0;
	end;

L4:
//1 HP left, warp to Niflheim
	mapannounce "umbala.gat","Bungy Jumping Area: " + strcharinfo(0) + " : No-o!",8;
	heal -HP+1,0;
	warp "nif_in.gat",69,15;
	end;
}

//=====================================================================
umbala.gat,136,195,0	script	#Warp Point	139,1,1,{
	warp "umbala.gat",145,166;
	end;
}