OSDN Git Service

First version
[st-ro/stro.git] / npc / custom / official / GeffenMagicTournament.txt
1 //===== rAthena Script ======================================= 
2 //= Geffen Magic Tournament Memorial Dungeon
3 //===== By: ================================================== 
4 //= Nova with the help of Tokei, Diablo and others.
5 //===== Current Version: ===================================== 
6 //= 1.0
7 //===== Compatible With: ===================================== 
8 //= rAthena Project
9 //===== Description: ========================================= 
10 //= [Custom implementation of official script]
11 //= Participate in the Geffen Magic Tournament and gain coins to trade for rewards.
12 //===== Additional Comments: ================================= 
13 //= 1.0 First version. Converted to rAthena compliant standard.
14 //=             Thanks to Nova, Tokei, Diablo and others for creating the script. [MasterOfMuppets]
15 //============================================================ 
16
17 //MAIN QUEST
18 1@gef,0,0,0     script  #gmt_dummy      -1,{ end; }
19
20 1@gef,119,208,0 script  #GefMagicStart  567,5,5,{
21         end;
22 OnTouch:
23         if ('GMT == 0) {
24                 'GMT = 1;
25                 setquest 9292;
26                 mapannounce instance_mapname("1@gef"),"Geffen Broadcast: The Geffen Magic Tournament is about to begin!",bc_blue;
27                 sleep2 3000;
28                 mapannounce instance_mapname("1@gef"),"Geffen Broadcast: Citizens and adventurers in Geffen, please join the tournament~!",bc_blue;
29                 sleep2 5000;
30                 mapannounce instance_mapname("1@gef"),"Geffen Broadcast: Anyone who wants to join the Geffen Magic Tournament, please come to the southern fountain of Geffen~!",bc_blue;
31                 'charname$ = strcharinfo(0);
32                 'sex = Sex;
33                 'gmt_account_id = getcharid(3);
34         }
35
36         end;
37 OnInit:
38         hideonnpc strnpcinfo(0);
39         end;
40 OnInstanceInit:
41         hideonnpc instance_npcname(strnpcinfo(0));
42         end;
43 }
44
45 1@gef,120,78,0  script  #GefMagicGuess0 567,4,1,{
46         end;
47 OnTouch_:
48         if ('GMT == 1) {
49                 'GMT = 2;
50                 showscript strcharinfo(0)+" : Guess this is where I register for the tournament...";
51                 end;
52         }
53         
54         end;
55 OnInit:
56         hideonnpc strnpcinfo(0);
57         end;
58 OnInstanceInit:
59         hideonnpc instance_npcname(strnpcinfo(0));
60         end;
61 }
62
63 1@gef,142,53,0  duplicate(#GefMagicGuess0)      #GefMagicGuess1 567,1,15
64 1@gef,99,53,0   duplicate(#GefMagicGuess0)      #GefMagicGuess2 567,1,20
65
66 //Movie
67
68 1@gef,71,86,4   duplicate(#gmt_dummy)   Young Lady#gef1 4_F_BRZ_WOMAN
69 1@gef,75,82,4   duplicate(#gmt_dummy)   Young Lady#gef3 4_F_03
70 1@gef,68,79,6   duplicate(#gmt_dummy)   Handsome Adventurer#gef 4_M_CRU
71 1@gef,70,77,2   duplicate(#gmt_dummy)   Male Adventurer#gef     4_M_LGTMAN
72 1@gef,73,84,4   duplicate(#gmt_dummy)   Young Lady#gef2 4_F_CAPEGIRL
73
74 1@gef,73,84,0   script  MOVIECONTROL#gef        -1,13,13,{
75         end;
76 OnTouch_:
77         if ('MOVIE == 1) end;
78         'MOVIE = 1;
79         'm1_timer = 0;
80         initnpctimer;
81         end;
82 OnTimer1000:
83         'm1_timer++;
84         
85         switch('m1_timer) {
86                 case   1: npctalk "I am lonely... Should I be alone during the festival?", instance_npcname("Young Lady#gef1"); break;
87                 case   4: npctalk "Oh my god ~! Why do you say that~?", instance_npcname("Young Lady#gef2"); break;
88                 case   8: npctalk "How about hitting on the handsome adventurers coming to Geffen?", instance_npcname("Young Lady#gef3"); break;
89                 case  12: npctalk "Handsome? Where are there handsome men?", instance_npcname("Young Lady#gef1"); break;
90                 case  17: npctalk "I only see guys who look so old and fat!", instance_npcname("Young Lady#gef1"); break;
91                 case  21: npctalk "Agh... I can not just sit around during this festival alone...", instance_npcname("Young Lady#gef2"); break;
92                 case  26: npctalk "No! There has to be some handsome guys around here! Don't give up!", instance_npcname("Young Lady#gef3"); break;
93                 case  30:
94                         npctalk "Um... okay...", instance_npcname("Young Lady#gef1");
95                         npctalk "Um... okay...", instance_npcname("Young Lady#gef2");
96                         break;
97                 case  34: npctalk "See! Look over there! A handsome guy!", instance_npcname("Young Lady#gef3"); break;
98                 case  38:
99                         npctalk "Oh god! Where?!", instance_npcname("Young Lady#gef1");
100                         npctalk "Oh my god! Where? Where?", instance_npcname("Young Lady#gef2");
101                         break;
102                 case  42:
103                         hideoffnpc instance_npcname("Handsome Adventurer#gef");
104                         npctalk "Over there~!", instance_npcname("Young Lady#gef3");
105                         break;
106                 case  46: npctalk "There are many beautiful ladies at this year's Magic Tournament.", instance_npcname("Handsome Adventurer#gef"); break;
107                 case  50:
108                         npctalk "Yikes~~~!!", instance_npcname("Young Lady#gef1");
109                         npctalk "Yikes~~~! Is he talking about me?", instance_npcname("Young Lady#gef2");
110                         npctalk "Yikes~~! Nice!!", instance_npcname("Young Lady#gef3");
111                         break;
112                 case  54: npctalk "What should I do? Should I talk to him?", instance_npcname("Young Lady#gef3"); break;
113                 case  58: npctalk "Come on~! You're good at this! Hurry up and hook up with him!", instance_npcname("Young Lady#gef2"); break;
114                 case  62: npctalk "Hurry up~!", instance_npcname("Young Lady#gef1"); break;
115                 case  66: npctalk "It's almost time for the event to begin...", instance_npcname("Handsome Adventurer#gef"); break;
116                 case  70: npctalk "Maybe he's waiting for someone!", instance_npcname("Young Lady#gef3"); break;
117                 case  74: npctalk "A girlfriend?! It can't be!", instance_npcname("Young Lady#gef2"); break;
118                 case  78:
119                         hideoffnpc instance_npcname("Male Adventurer#gef");
120                         npctalk "No... it can't be~!", instance_npcname("Young Lady#gef1");
121                         break;
122                 case  79: npctalk "Have I kept you waiting for a long time?", instance_npcname("Male Adventurer#gef"); break;
123                 case  83: npctalk "Lucky! It's a man!!!", instance_npcname("Young Lady#gef3"); break;
124                 case  86:
125                         npctalk "Looks like it's just a friend~!!", instance_npcname("Young Lady#gef2");
126                         break;
127                 case  88: npctalk "Hook up with both of them? Ho ho ho~!", instance_npcname("Young Lady#gef1"); break;
128                 case  91:
129                         npctalk "Yes! You have finally arrived, my love!", instance_npcname("Handsome Adventurer#gef");
130                         emotion 23, 0, instance_npcname("Young Lady#gef1");
131                         emotion 23, 0, instance_npcname("Young Lady#gef2");
132                         emotion 23, 0, instance_npcname("Young Lady#gef3");
133                         break;
134                 case  95:
135                         npctalk "My love...", instance_npcname("Male Adventurer#gef");
136                         emotion 3, 0, instance_npcname("Male Adventurer#gef");
137                         emotion 3, 0, instance_npcname("Handsome Adventurer#gef");
138                         emotion 3, 0, instance_npcname("Handsome Adventurer#gef");
139                         break;
140                 case  99:
141                         npctalk "Maybe... There are no good guys left for us...", instance_npcname("Young Lady#gef3");
142                         emotion 3, 0, instance_npcname("Handsome Adventurer#gef");
143                         break;
144                 case 103:
145                         npctalk "Ahem... Maybe... Just the three of us... will be together forever...", instance_npcname("Young Lady#gef2");
146                         emotion 3, 0, instance_npcname("Male Adventurer#gef");
147                         break;
148                 case 106:
149                         npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef3");
150                         emotion 3, 0, instance_npcname("Handsome Adventurer#gef");
151                         sleep2 500;
152                         npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef1");
153                         sleep2 500;
154                         npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef2");
155                         'm1_timer++;
156                         break;
157                 case 109:
158                         emotion 3, 0, instance_npcname("Male Adventurer#gef");
159                         emotion 28, 0, instance_npcname("Young Lady#gef1");
160                         emotion 28, 0, instance_npcname("Young Lady#gef2");
161                         emotion 28, 0, instance_npcname("Young Lady#gef3");
162                         break;
163                 case 111: emotion 3, 0, instance_npcname("Handsome Adventurer#gef"); break;
164                 case 113: emotion 3, 0, instance_npcname("Male Adventurer#gef"); break;
165                 case 115: emotion 3, 0, instance_npcname("Handsome Adventurer#gef"); break;
166                 case 118:
167                         hideonnpc instance_npcname("Male Adventurer#gef");
168                         hideonnpc instance_npcname("Handsome Adventurer#gef");
169                         'MOVIE = 0;
170                         stopnpctimer;
171                         end;
172         }
173         
174         initnpctimer;
175         end;
176 }
177
178 //Fireworks
179
180 1@gef,90,197,0  script  #Firecrackers0  649,{
181         end;
182 OnTimer2500:
183         .@r = rand(0,1);
184         if (.@r != 0 ) { stopnpctimer; initnpctimer; end; }
185         stopnpctimer;
186         specialeffect .effects[rand(0,18)],AREA,instance_npcname(strnpcinfo(0));
187         initnpctimer;
188         end;
189
190 OnInit:
191         setarray .effects,97,255,28,256,29,257,244,92,32,195,258,22,62,234,89,30,225,116,94;
192         hideonnpc strnpcinfo(0);
193         end;
194         
195 OnInstanceInit:
196         initnpctimer;
197         hideonnpc instance_npcname(strnpcinfo(0));
198         end;
199 }
200
201 1@gef,106,145,0 duplicate(#Firecrackers0)       #Firecrackers1  649
202 1@gef,112,49,0  duplicate(#Firecrackers0)       #Firecrackers2  649
203 1@gef,134,145,0 duplicate(#Firecrackers0)       #Firecrackers3  649
204 1@gef,132,111,0 duplicate(#Firecrackers0)       #Firecrackers4  649
205 1@gef,141,56,0  duplicate(#Firecrackers0)       #Firecrackers5  649
206 1@gef,146,175,0 duplicate(#Firecrackers0)       #Firecrackers6  649
207 1@gef,182,163,0 duplicate(#Firecrackers0)       #Firecrackers7  649
208 1@gef,183,126,0 duplicate(#Firecrackers0)       #Firecrackers8  649
209 1@gef,194,89,0  duplicate(#Firecrackers0)       #Firecrackers9  649
210 1@gef,59,125,0  duplicate(#Firecrackers0)       #Firecrackers10 649
211 1@gef,62,147,0  duplicate(#Firecrackers0)       #Firecrackers11 649
212 1@gef,62,91,0   duplicate(#Firecrackers0)       #Firecrackers12 649
213 1@gef,71,181,0  duplicate(#Firecrackers0)       #Firecrackers13 649
214 1@gef,112,196,0 duplicate(#Firecrackers0)       #Firecrackers14 649
215 1@gef,98,58,0   duplicate(#Firecrackers0)       #Firecrackers15 649
216 1@gef,98,126,0  duplicate(#Firecrackers0)       #Firecrackers16 649
217 1@gef,127,196,0 duplicate(#Firecrackers0)       #Firecrackers17 649
218 1@gef,40,125,0  duplicate(#Firecrackers0)       #Firecrackers18 649
219 1@gef,116,75,0  duplicate(#Firecrackers0)       #Firecrackers19 649
220 1@gef,58,112,0  duplicate(#Firecrackers0)       #Firecrackers20 649
221 1@gef,40,112,0  duplicate(#Firecrackers0)       #Firecrackers21 649
222 1@gef,107,111,0 duplicate(#Firecrackers0)       #Firecrackers22 649
223 1@gef,127,49,0  duplicate(#Firecrackers0)       #Firecrackers23 649
224 1@gef,123,75,0  duplicate(#Firecrackers0)       #Firecrackers24 649
225 1@gef,199,126,0 duplicate(#Firecrackers0)       #Firecrackers25 649
226 1@gef,183,113,0 duplicate(#Firecrackers0)       #Firecrackers26 649
227 1@gef,199,114,0 duplicate(#Firecrackers0)       #Firecrackers27 649
228 1@gef,140,126,0 duplicate(#Firecrackers0)       #Firecrackers28 649
229
230 //SHOPS
231
232 1@gef_in,77,167,0       shop    Tool Dealer#gefa_0et    1_F_03,1750:-1,611:-1,501:-1,502:-1,503:-1,504:-1,645:-1,656:-1,713:-1,601:-1,602:-1,2241:-1
233 1@gef_in,77,173,0       shop    Trader#gef_0et  1_M_WIZARD,717:-1,1601:-1,1604:-1,1607:-1,1610:-1,2232:-1,2321:-1,2332:-1
234 1@gef_in,74,144,0       shop    Trader#gef_0et1 1_F_01,911:-1,910:-1,912:-1
235 1@gef_in,65,144,4       shop    Tool Dealer#gefb_0et1   1_M_WIZARD,1092:-1,1093:-1,713:-1
236
237 1@gef_in,22,171,7       shop    Weapon Dealer#GMT       84,1146:-1,1245:-1
238 1@gef_in,26,178,4       shop    Armor Dealer#GMT        66,2628:-1,2101:-1,2107:-1,2401:-1,2501:-1,2230:-1,2301:-1,2303:-1,2305:-1,2321:-1,2332:-1
239 1@gef_in,30,178,4       shop    Weapon Dealer#GMT2      47,1750:-1,1751:-1,1101:-1,1701:-1,1201:-1,1204:-1,1207:-1,1210:-1,1213:-1,1216:-1,1601:-1,1604:-1,1607:-1,1610:-1
240
241 1@gef,193,152,4 shop    Pet Groomer#GMT 124,537:-1,643:-1,10013:-1,10014:-1,6113:-1,6114:-1,6115:-1,6110:-1,6100:-1,6098:-1,6112:-1,6104:-1,6108:-1,6111:-1,7824:1000,6097:1000,6107:1000
242 1@gef,196,111,3 shop    Cook#gef_0et    85,7482:-1
243
244 1@gef,131,58,4  script  Geffen Coin Operator#g  4_F_ZONDAGIRL,{ // 55149
245         .@n$ = "[ Geffen Coin Operator ]";
246         mes .@n$,"I exchange Magic Tournament Coins for Equipment."; next;
247         goto L_Menu;
248         end;
249
250 L_Menu:
251         switch(select("Shields:Rings:Armor:End Conversation")){
252                 case 1:
253                         mes .@n$,"There are two types of Shields are available for exchange.";
254                         next;
255 L_Shield:
256                         switch(select("Magic Reflector ^3355FF<900 Coins>^000000:Revised Encyclopedia ^3355FF<900 Coins>^000000:Go back to previous menu")){
257                                 case 1: .@item = 2185; .@cost = 900; break;
258                                 case 2: .@item = 2186; .@cost = 900; break;
259                                 case 3: goto L_Menu; break;
260                         }
261                         mes .@n$;
262                         mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
263                         mes "Price is "+.@cost+" coins";
264                         mes "Do you wish to exchange your coins?";
265                         next;
266                                 switch(select("Do Not Exchange:Exchange")){
267                                         case 1:
268                                                 mes .@n$,"Take a look at the other equipment available.";
269                                                 next;
270                                                 goto L_Shield;
271                                                 break;
272                                         case 2:
273                                                 if( countitem(6671) < .@cost ) { 
274                                                         mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins."; 
275                                                         next;
276                                                         mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?"; 
277                                                         goto L_Shield; 
278                                                 }
279                                                 if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
280                                                 delitem 6671,.@cost;
281                                                 getitem .@item,1;
282                                                 mes .@n$,"Thank you.";
283                                                 end;                    
284                                 }
285
286                 case 2:
287                         mes .@n$;
288                         mes "There are two types of Rings are available for exchange.";
289                         next;
290 L_Ring:
291                                 switch(select("Phyisical Enhancer Ring ^3355FF<1350 Coins>^000000:Magic Intensifier Ring ^3355FF<1350 Coins>^000000:Go back to previous menu")){
292                                         case 1:
293                                                 .@item = 2963;
294                                                 .@cost = 1350;
295                                                 break;
296                                         case 2:
297                                                 .@item = 2964;
298                                                 .@cost = 1350;
299                                                 break;
300                                         case 3:
301                                                 goto L_Menu;
302                                                 break;
303                                 }
304                         mes .@n$;
305                         mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
306                         mes "Price is "+.@cost+" coins";
307                         mes "Do you wish to exchange your coins?";
308                         next;
309                                 switch(select("Do Not Exchange:Exchange")){
310                                         case 1:
311                                                 mes .@n$,"Take a look at the other equipment available.";
312                                                 next;
313                                                 goto L_Ring;
314                                                 break;
315                                         case 2:
316                                                 if( countitem(6671) < .@cost ) { 
317                                                         mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins."; 
318                                                         next;
319                                                         mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?"; 
320                                                         goto L_Ring; 
321                                                 }
322                                                 if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
323                                                 delitem 6671,.@cost;
324                                                 getitem .@item,1;
325                                                 mes .@n$,"Thank you.";
326                                                 end;                                            
327                                 }
328                 case 3:
329                         mes .@n$;
330                         mes "There are two types of Armor are available for exchange.";
331                         next;
332 L_Armor:
333                                 switch(select("Anti-Magic Suit ^3355FF<1800 Coins>^000000:Geffen Magic Robe ^3355FF<1800 Coins>^000000:Go back to previous menu")){
334                                         case 1:
335                                                 .@item = 15073;
336                                                 .@cost = 1800;
337                                                 break;
338                                         case 2:
339                                                 .@item = 15074;
340                                                 .@cost = 1800;
341                                                 break;
342                                         case 3:
343                                                 goto L_Menu;
344                                                 break;
345                                 }
346                         mes .@n$;
347                         mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
348                         mes "Price is "+.@cost+" coins";
349                         mes "Do you wish to exchange your coins?";
350                         next;
351                                 switch(select("Do Not Exchange:Exchange")){
352                                         case 1:
353                                                 mes .@n$,"Take a look at the other equipment available.";
354                                                 next;
355                                                 goto L_Armor;
356                                                 break;
357                                         case 2:
358                                                 if( countitem(6671) < .@cost ) { 
359                                                         mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins."; 
360                                                         next;
361                                                         mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?"; 
362                                                         goto L_Armor; 
363                                                 }
364                                                 if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
365                                                 delitem 6671,.@cost;
366                                                 getitem .@item,1;
367                                                 mes .@n$,"Thank you.";
368                                                 end;
369                                 }
370                 case 4:
371                         mes .@n$;
372                         mes "You can tell a lot about a person by what gear they have.";
373                         mes "I will see you next time~!";
374                         close;
375
376         }
377         end;
378 }
379
380 //On Touch NPCs
381
382 1@gef,0,0,0     script  #gmt_quotes     -1,{
383         end;
384 OnTouch_:
385         if (strnpcinfo(0) == "Old Bachelor#z1_0et") setarray .@quotes$, "Old Bachelor: It's such a good festival, and I am alone...","Old Bachelor: Maybe I should hit on that girl...","Old Bachelor: It's so crowded in here during the Magic Tournament~!";
386         if (strnpcinfo(0) == "Little Geffen Boy#a2_0e") setarray .@quotes$, "Little Geffen Boy: Ugh ha ha~ Look~! That guy passing by there is so ugly~!!","Little Geffen Boy: I am bored! Is there anything fun to do around here?","Little Geffen Boy: I should ask my father for some pocket change.";
387         if (strnpcinfo(0) == "Dio Anemos#z1_0et") {
388                 if ('GMT_1QUE > 1) setarray .@quotes$, "Dio Anemos : Any time I face a woman, I really have no choice but to go easy on her...";
389                 else setarray .@quotes$, "Dio Anemos: I want to eat some cookies before the Magic Tournament starts.","Dio Anemos: I'm hungry... Can i have some food?","Dio Anemos: Geffen is so lively whenever I visit.";
390         }
391         if (strnpcinfo(0) == "Ordre#z1_0et") {
392                 if ('GMT_1QUE > 1) setarray .@quotes$, "Ordre : Even powerful people like me can lose...";
393                 else setarray .@quotes$, "Ordre: I've been waiting for this air and mood for a long time.","Ordre: Show us what you have trained for.","Ordre: Let's go register for the competition.";
394         }
395         if (strnpcinfo(0) == "Ju#z1_0et") {
396                 if ('GMT_1QUE > 1) setarray .@quotes$, "Ju : ... You really defeat me...";
397                 else setarray .@quotes$, "Ju: I will make sure to register for the Magic Tournament quickly.","Ju: I only see novices around here.","Ju: I will surprise them with my excellent battle skills!";
398         }
399         if (strnpcinfo(0) == "Blut Hase#z1_0et") {
400                 if ('GMT_1QUE > 1) setarray .@quotes$, "Blut Hase : How can somebody be so powerful...";
401                 else setarray .@quotes$, "Blut Hase: Where do I go to register for the Magic Tournament?","Blut Hase: My clothes will be stained with the blood of my enemies.";
402         }
403         if (strnpcinfo(0) == "Kuro Akuma#z1_0et") {
404                 if ('GMT_1QUE > 1) setarray .@quotes$, "Kuro Akuma : Maybe just being evil isn't enough to win the tournament...";
405                 else setarray .@quotes$, "Kuro Akuma: It's like a calm before a storm~!","Kuro Akuma: So peaceful~! I love it!","Kuro Akuma: There quite a few innocent lambs joining the Magic Tournament~!";
406         }
407         if (strnpcinfo(0) == "Odoric#z1_0et") {
408                 if ('GMT_1QUE > 1) setarray .@quotes$, "Odoric : This is what youth looks like, sister... I'm truly jealous...";
409                 else setarray .@quotes$, "Odoric: I can't find my type of competitors at all!","Odoric: It is so crowded during the Tournament~!","Odoric: It should be fun dancing in the festival~!";
410         }
411         if (strnpcinfo(0) == "Fay Kanavian#z1_0et") {
412                 if ('GMT_1QUE > 1) setarray .@quotes$, "Fay Kanavian : I actually lost... How is this possible?";
413                 else setarray .@quotes$, "Fay Kanavian: It is time to show off my Philosopher's Stone at the Tournament~!","Fay Kanavian: No one can stop me. Ha ha ha ha ha ha~!","Fay Kanavian: Have you seen my Homonculus Alphonse?";
414         }
415         if (strnpcinfo(0) == "Licheniyes#z1_0et") {
416                 if ('GMT_1QUE > 1) setarray .@quotes$, "Lecheniyes : Most people won't even remember the outcome of the tournament, so there's no real sense of failure...";
417                 else setarray .@quotes$, "Licheni: Happy Geffen Magic Tournament~!","Licheni: It will be a very fun Magic Tournament this year.","Licheni: Yahoo~ Let's go join the Magic Tournament~";
418         }
419         if (strnpcinfo(0) == "Ifodes#z1_0et") {
420                 if ('GMT_1QUE > 1) setarray .@quotes$, "Ifodes : Losing to a woman... Now that's a terrifying thought.";
421                 else setarray .@quotes$, "Ifodes: I will show who I am at the Magic Tournament!","Ifodes: Strong attack and solid defense! Sigh, I wish I had a girlfriend...","Ifodes: Is there any beautiful ladies around to show my chivalry?";
422         }
423         if (strnpcinfo(0) == "Faymont#z1_0et") {
424                 if ('GMT_1QUE > 1) setarray .@quotes$, "Faymont : No time to chat, I need to go comfort the other girls who failed.";
425                 else setarray .@quotes$, "Faymont: I heard a new hat was released in Geffen.","Faymont: There are no other decent competitors in the Tournament?","Faymont: I've never met anyone who has a better fashion sense than me.";
426         }
427         if (strnpcinfo(0) == "Arhi#z1_0et") {
428                 if ('GMT_1QUE > 1) setarray .@quotes$, "Arhi: The tournament is finally over! It was really a great year... Way too intense!";
429                 else setarray .@quotes$, "Arhi: I'm thinking of joining the Magic Tournament!","Arhi: This should be a pretty good experience.","Arhi: Are there any competitors that look weak?";
430         }
431         if (strnpcinfo(0) == "Dwigh#z1_0et") {
432                 if ('GMT_1QUE > 1) setarray .@quotes$, "Dwigh : Needless to say, it was a pretty decisive battle!";
433                 else setarray .@quotes$, "Dwigh: I want this Magic Tournament to become my turning point.","Dwigh: I am quite depressed these days...","Dwigh: I will show my great skills to all of my students.";
434         }
435         
436         showscript .@quotes$[rand(getarraysize(.@quotes$))], getnpcid(0);
437         end;
438 }
439
440 1@gef,124,173,4 duplicate(#gmt_quotes)  Old Bachelor#z1_0et     1_M_03,4,4
441 1@gef,91,117,6  duplicate(#gmt_quotes)  Dio Anemos#z1_0et       4_GEFFEN_01,4,4
442 1@gef,85,68,6   duplicate(#gmt_quotes)  Ordre#z1_0et    4_GEFFEN_05,4,4
443 1@gef,178,91,6  duplicate(#gmt_quotes)  Ju#z1_0et       4_GEFFEN_11,4,4
444 1@gef,194,91,4  duplicate(#gmt_quotes)  Little Geffen Boy#a2_0e 4_KID01,4,4
445 1@gef,111,62,6  duplicate(#gmt_quotes)  Blut Hase#z1_0et        4_GEFFEN_06,4,4
446 1@gef,104,42,6  duplicate(#gmt_quotes)  Kuro Akuma#z1_0et       4_GEFFEN_07,4,4
447 1@gef,158,63,4  duplicate(#gmt_quotes)  Odoric#z1_0et   4_GEFFEN_10,4,4
448 1@gef,117,72,6  duplicate(#gmt_quotes)  Fay Kanavian#z1_0et     4_F_GEFFEN_FAY,4,4
449 1@gef,137,53,4  duplicate(#gmt_quotes)  Licheniyes#z1_0et       4_GEFFEN_09,4,4
450 1@gef,115,66,6  duplicate(#gmt_quotes)  Ifodes#z1_0et   4_GEFFEN_08,4,4
451 1@gef,53,90,6   duplicate(#gmt_quotes)  Faymont#z1_0et  4_GEFFEN_04,4,4
452 1@gef,145,125,4 duplicate(#gmt_quotes)  Arhi#z1_0et     4_GEFFEN_02,4,4
453 1@gef,120,98,4  duplicate(#gmt_quotes)  Dwigh#z1_0et    4_GEFFEN_12,4,4
454
455 //WARPS
456 1@gef_in,70,132,0       warp2   #gef_a4_0et     2,2,1@gef,46,88
457 1@gef_in,106,181,0      warp2   #gef_a3_0et     2,2,1@gef,178,63
458 1@gef,182,59,0  warp2   #gef_a1_0et     2,2,1@gef_in,106,177
459 1@gef_in,70,158,0       warp2   #gef_a5_0et     2,2,1@gef_in,70,146
460 1@gef_in,70,149,0       warp2   #gef_a6_0et     2,2,1@gef_in,70,161
461 1@gef,43,85,0   warp2   #gef_a2_0et     2,2,1@gef_in,70,138
462 1@gef,98,141,0  warp2   #gef_a8_0et     2,2,1@gef_in,28,160
463 1@gef_in,28,156,0       warp2   #gef_a7_0et     2,2,1@gef,101,138
464
465 //SPECTATORS
466
467 -       script  #d_c    4_M_DST_TOUGH,{ end; }
468
469 1@gef,175,74,4  duplicate(#d_c) Tournament Spectator#c0 4_M_DST_TOUGH
470 1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c1 1_ETC_01
471 1@gef,137,190,6 duplicate(#d_c) Tournament Spectator#c2 1_F_02
472 1@gef,149,196,6 duplicate(#d_c) Tournament Spectator#c3 1_M_01
473 1@gef,136,188,6 duplicate(#d_c) Tournament Spectator#c4 4_F_TWGRANDMOM
474 1@gef,110,195,4 duplicate(#d_c) Tournament Spectator#c5 1_M_03
475 1@gef,134,63,4  duplicate(#d_c) Tournament Spectator#c6 1_M_MERCHANT
476 1@gef,145,47,4  duplicate(#d_c) Tournament Spectator#c7 1_M_MOC_LORD
477 1@gef,154,55,4  duplicate(#d_c) Tournament Spectator#c8 1_M_ORIENT01
478 1@gef,147,65,4  duplicate(#d_c) Tournament Spectator#c9 1_M_PASTOR
479 1@gef,163,76,4  duplicate(#d_c) Tournament Spectator#c10        1_F_PRIEST
480 1@gef,180,84,4  duplicate(#d_c) Tournament Spectator#c11        1_M_INNKEEPER
481 1@gef,189,97,4  duplicate(#d_c) Tournament Spectator#c12        1_M_SIZ
482 1@gef,194,110,4 duplicate(#d_c) Tournament Spectator#c13        1_M_PAY_ELDER
483 1@gef,185,107,6 duplicate(#d_c) Tournament Spectator#c14        1_M_PRON_KING
484 1@gef,189,120,4 duplicate(#d_c) Tournament Spectator#c15        4_F_01
485 1@gef,44,95,6   duplicate(#d_c) Tournament Spectator#c17        1_M_JOBTESTER
486 1@gef,52,83,6   duplicate(#d_c) Tournament Spectator#c18        1_M_KNIGHTMASTER
487 1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c19        1_ETC_01
488 1@gef,104,189,4 duplicate(#d_c) Tournament Spectator#c20        1_F_01
489 1@gef,94,194,4  duplicate(#d_c) Tournament Spectator#c21        1_F_03
490 1@gef,52,155,6  duplicate(#d_c) Tournament Spectator#c22        1_F_04
491 1@gef,55,142,4  duplicate(#d_c) Tournament Spectator#c23        1_F_GYPSY
492 1@gef,58,146,4  duplicate(#d_c) Tournament Spectator#c24        1_M_BARD
493 1@gef,45,149,6  duplicate(#d_c) Tournament Spectator#c25        1_F_LIBRARYGIRL
494 1@gef,44,133,6  duplicate(#d_c) Tournament Spectator#c26        1_M_HOF
495 1@gef,45,126,6  duplicate(#d_c) Tournament Spectator#c27        1_M_02
496 1@gef,44,118,6  duplicate(#d_c) Tournament Spectator#c28        1_F_MERCHANT_01
497 1@gef,55,113,4  duplicate(#d_c) Tournament Spectator#c29        1_F_MERCHANT_02
498 1@gef,50,107,6  duplicate(#d_c) Tournament Spectator#c30        1_M_JOBGUIDER
499 1@gef,72,65,6   duplicate(#d_c) Tournament Spectator#c31        1_M_LIBRARYMASTER
500 1@gef,83,60,6   duplicate(#d_c) Tournament Spectator#c32        1_F_ORIENT_01
501 1@gef,94,68,6   duplicate(#d_c) Tournament Spectator#c33        1_F_ORIENT_02
502 1@gef,97,66,4   duplicate(#d_c) Tournament Spectator#c34        1_F_ORIENT_03
503 1@gef,167,120,4 duplicate(#d_c) Tournament Spectator#c36        1_M_SIGN1
504 1@gef,152,120,4 duplicate(#d_c) Tournament Spectator#c37        2_F_MAGICMASTER
505 1@gef,138,110,4 duplicate(#d_c) Tournament Spectator#c38        4_F_01
506 1@gef,128,99,4  duplicate(#d_c) Tournament Spectator#c39        4_F_02
507 1@gef,105,109,6 duplicate(#d_c) Tournament Spectator#c40        4_F_03
508 1@gef,96,122,6  duplicate(#d_c) Tournament Spectator#c41        4_F_04
509 1@gef,132,137,6 duplicate(#d_c) Tournament Spectator#c42        4_F_TRAINEE
510 1@gef,141,132,4 duplicate(#d_c) Tournament Spectator#c43        1_M_SIGNART
511 1@gef,124,72,4  duplicate(#d_c) Tournament Spectator#c44        1_M_SIGNMCNT
512 1@gef,130,49,6  duplicate(#d_c) Tournament Spectator#c45        1_M_SIGNMONK2
513
514
515 //Dialogue NPC
516
517 1@gef_in,110,172,0      script  Christopher#1_0et       1_M_SMITH,{
518         mes "[ Christopher ]";
519         mes "Welcome to Christopher's Workshop.";
520         mes "Ye can get all yer stuff for";
521         mes "forging here. What business";
522         mes "brings ye to me?";
523         next;
524         mes "[ Christopher ]";
525         mes "We are taking a break from our forges in honor of the festival.";
526         mes "Please come back again after the festival is done.";
527         close;
528 }
529
530 1@gef,129,65,4  script  Point Merchant#gef_m    8_F_GIRL,{
531         if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
532                 mes "- Wait a minute !! -";
533                 mes "- Currently you're carrying -";
534                 mes "- too many items with you. -";
535                 mes "- Please try again -";
536                 mes "- after you lose some weight. -";
537                 close;
538         }
539         mes "[ Point Merchant ]";
540         mes "Hello. I'm selling a catalyst called ^FF0000Points^000000 for Sorcerers. What would you like?";
541         next;
542         .@i = select("Scarlet Points - 200z:Lime Green Points - 200z:Indigo Points - 200z:Yellow Wish Points - 200z:Cancel")-1;
543         mes "[ Point Merchant ]";
544         if (.@i == 4) {
545                 mes "You can't find the stuff you need?";
546                 close;
547         }
548         setarray .@itemid[0],6360,6363,6361,6362;
549         setarray .@color$[0],"Scarlet","Lime Green","Indigo","Yellow Wish";
550         mes "You have chosen "+.@color$[.@i]+" Points.";
551         mes "How many do you want?";
552         mes "If you want to cancel, enter 0.";
553         next;
554         input .@amount;
555         mes "[ Point Merchant ]";
556         if (.@amount == 0) {
557                 mes "You've cancelled the trade.";
558                 close;
559         }
560         if (Zeny < .@amount*200) {
561                 mes "You don't seem to have enough money.";
562                 close;
563         }
564         if (!checkweight(.@itemid[.@i],.@amount)) {
565                 mes "You don't have enough space in your inventory to buy this amount.";
566                 close;
567         }
568         Zeny = Zeny-(.@amount*200);
569         getitem .@itemid[.@i],.@amount;
570         mes "Thank you very much. See you~!";
571         close;
572 }
573
574 1@gef,127,65,3  script  Universal Rental NPC#gf 8W_SOLDIER,{
575         if (ismounting()) {
576                 message strcharinfo(0),"You must first remove your mount.";
577                 end;
578         } else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
579                 if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
580                         if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
581                         else getitem 6124,1; //Wolf's_Flute
582                 } else getitem 6124,1; //Wolf's_Flute
583         } else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
584                 if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
585                         if(select(" ~ Cart: ~ Mado")==1) setcart;
586                         else setmadogear;
587                 } else setcart;
588         } else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
589         else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
590         else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {
591                 if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
592                 else setriding;
593         } else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
594         else {
595                 message strcharinfo(0),"You do not meet requirements to rent.";
596                 end;
597         }
598         specialeffect2 EF_TEIHIT3;
599         end;
600 }
601
602 1@gef,124,65,4  script  Kafra Employee#gef_t    4_F_KAFRA4,{
603         cutin "kafra_04",2;
604         mes "[Kafra Employee]";
605         mes "Welcome~!";
606         mes "The Kafra Services.";
607         mes "are always on your side.";
608         mes "So how can I help you?";
609         callfunc "F_Kafra",5,5,1,50,0;
610 }
611
612
613 dali,100,147,3  script  Dimensional Device#gefma        PORTAL,{
614         .@n$ = "[ Dimensional Device ]";
615                         
616                 .@ins_geffen_time = checkquest(9316,PLAYTIME);
617                 
618                 if ( GeffenTournament < gettimetick(2)) {
619
620                         .@party_id = getcharid(1);
621                         .@p_name$ = getpartyname(.@party_id);
622                         .@md_name$ = "Geffen Magic Tournament";
623                         
624                         getpartymember(getcharid(1),0);
625                         set .@GPPartySize,$@partymembercount;
626                         
627                         if( !getcharid(1) || getcharid(3) != getpartyleader( getcharid(1),1 ) || .@GPPartySize > 1) {
628                                 mes .@n$;
629                                 mes "This is a solo instance. Please form a solo party before continuing.";
630                                 end;
631                         }
632                         
633                         if (!.@party_id) {
634                                 mes .@n$;
635                                 mes "This is a solo instance. Please form a solo party before continuing.";
636                                 end;
637                         }
638                                 
639                         switch(select("Leave it alone:^3355FFUse the Device^000000")){
640                         
641                                 case 1:
642                                         mes .@n$;
643                                         mes "You can feel time being distorted by the device.";
644                                         end;
645                                         
646                                 case 2:
647                                         if (BaseLevel < 90) {
648                                                 mes .@n$; 
649                                                 mes "You must be base level 90 to continue.";
650                                                 end;
651                                         }
652                                                 switch(instance_enter(.@md_name$)) {
653                                                         case 3:
654                                                                 mes "An unknown error has occurred.";
655                                                                 end;
656                                                         case 2:
657                                                                 mes "The Geffen Magic Tournament instance has not been created. Please go to talk to Emmitt White first.";
658                                                                 end;
659                                                         case 1:
660                                                                 mes "Only registered members can enter the "+.@md_name$+" instance.";
661                                                                 end;
662                                                         case 0:
663                                                                 mapannounce "dali02",strcharinfo(0)+" of the party, "+.@p_name$+" is entering the "+.@md_name$+".",bc_map,"0x00ff99";
664                                                                 GeffenTournament = gettimetick(2) + 82800;
665                                                                 if(.@ins_geffen_time != -1) erasequest 9316;
666                                                                 setquest 9316;
667                                                                 end;
668                                                 }
669                                         end;
670                         }
671                 } else if ( GeffenTournament > gettimetick(2) ) {
672                         mes .@n$;
673                         mes "Looks like the window of opportunity is not open right now.";
674                         end;
675                 }
676                 end;
677
678 }
679
680
681
682 dali,98,141,3   script  Emmitt White    4_M_KHKYEL,{
683         .@n$ = "[ Time Travel Researcher ]";
684         
685                 if (BaseLevel < 90) {
686                         mes .@n$; 
687                         mes "You must be base level 90 to continue.";
688                         end;
689                 }
690         
691         if (checkquest(9309) != -1) {
692                 mes .@n$,
693                 "I see that you've returned from the Tournament.",
694                 "Did you find out anything interesting?";
695                 next;
696                 mes .@n$,
697                 "You give details of your experience to the researcher.";
698                 next;
699                 mes .@n$,
700                 "You didn't really give me any information that I didn't already know...";
701                 next;
702                 mes .@n$,
703                 "But I still want more~!",
704                 "Can you help me tomorrow?",
705                 "I will be waiting for you.";
706                 next;
707
708                                 for (.@i = 9284; .@i <= 9314; .@i++) {
709                                         if (checkquest(.@i) != -1) {
710                                                 erasequest .@i;
711                                         }
712                                 }
713                                 
714                         changequest 9315,9316;
715         }
716         
717         if (checkquest(9308) != -1) {
718                 mes .@n$,
719                 "I can't believe you won the Tournament!";
720                 next;
721                 mes .@n$,
722                 "But I still want more~!",
723                 "Can you help me tomorrow?",
724                 "I will be waiting for you.";
725                 next;
726
727                                 for (.@i = 9284; .@i <= 9314; .@i++) {
728                                         if (checkquest(.@i) != -1) {
729                                                 erasequest .@i;
730                                         }
731                                 }
732                                 
733                         changequest 9315,9316;
734         }
735         
736                 getpartymember(getcharid(1),0);
737                 set .@GPPartySize,$@partymembercount;
738                 
739                 if( !getcharid(1) || getcharid(3) != getpartyleader( getcharid(1),1 ) || .@GPPartySize > 1) {
740                         mes .@n$;
741                         mes "This is a solo instance. Please form a solo party before continuing.";
742                         end;
743                 }
744                 
745         
746         // 23 Hour Cooldown
747
748         if ( GeffenTournament < gettimetick(2) ) {
749                 .@party_id = getcharid(1);
750                 .@p_name$ = getpartyname(.@party_id);
751                 .@md_name$ = "Geffen Magic Tournament";
752
753                         if (!.@party_id) {
754                                 mes .@n$;
755                                 mes "You need to be a party leader in order to continue.";
756                                 end;
757                         }
758                         
759                 if (getcharid(0) == getpartyleader(.@party_id,2)){
760                         mes .@n$; 
761                         mes "Did you know? A long time ago there was a Magic Tournament in Geffen.";
762                         next;
763                         mes .@n$; 
764                         mes "I've done so much research on the Tournament but haven't gotten too much information from research alone.";
765                         next;
766                         mes .@n$; 
767                         mes "When I found out that this time gap can help with my research I couldn't resist the opportunity to continue the research.";
768                         next;
769                         mes .@n$; 
770                         mes "And now I've found an adventurer, in you, who can help me go back to the time that the Tournament took place.";
771                         next;
772                         mes .@n$; 
773                         mes "Please use the dimensional device and participate in the Magic Tournament for me.";
774                         next;
775                         mes .@n$; 
776                         mes "Will you go and tell me about it?";
777                         next;
778                         mes .@n$; 
779                         mes "The portal is unstable so you have to go solo.";
780                         mes "Are you ready to enter?";
781                         next;
782                                 switch(select("No:Yes")){
783                                         case 1:
784                                                 mes .@n$;
785                                                 mes "Come back if you change your mind~!";
786                                                 end;
787                                         case 2:
788                                                 for (.@i = 9284; .@i <= 9314; .@i++) {
789                                                         if (checkquest(.@i) != -1) {
790                                                                 erasequest .@i;
791                                                         }
792                                                 }
793                                                 
794                                                 if (instance_create(.@md_name$) < 0) {
795                                                         mes "Party Name: "+.@p_name$;
796                                                         mes "Party Leader: "+strcharinfo(0);
797                                                         mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
798                                                         end;
799                                                 }
800                                                 mes .@n$; 
801                                                 mes "The Dimensional Device has been activated.";
802                                                 end;
803                                         }
804                         end;
805                 } else {
806                         mes .@n$;
807                         mes "You need to be a party leader in order to continue.";
808                         end;
809                 }
810
811         } else {
812                 mes .@n$;
813                 mes "Just a second.";
814                 mes "You need to wait for the timer to expire before going back.";
815                 mes " ";
816                 
817                 .@time = (GeffenTournament - gettimetick(2));
818                 .@sec = .@time % 60;
819                 .@min = (.@time / 60) % 60;
820                 .@hrs = (.@time / 3600) % 24;
821
822                 mes "Cooldown: ^3355FF"+(.@hrs < 10 ? "0" : "")+.@hrs+":"+(.@min < 10 ? "0" : "")+.@min+":"+(.@sec < 10 ? "0" : "")+.@sec+"^000000";
823                 end;
824                 
825
826                         
827         }
828 }
829
830 1@gef,120,34,4  script  #gefmagic_warp01        45,2,2,{
831         callfunc("InventoryCheck");
832         end;
833
834 OnTouch:
835         movenpc instance_npcname("Old Bachelor#z1_0et"),1,1;
836         movenpc instance_npcname("Dio Anemos#z1_0et"),1,1;
837         movenpc instance_npcname("Ju#z1_0et"),1,1;
838         movenpc instance_npcname("Ordre#z1_0et"),1,1;
839         movenpc instance_npcname("Blut Hase#z1_0et"),1,1;
840         movenpc instance_npcname("Kuro Akuma#z1_0et"),1,1;
841         movenpc instance_npcname("Odoric#z1_0et"),1,1;
842         movenpc instance_npcname("Fay Kanavian#z1_0et"),1,1;
843         movenpc instance_npcname("Licheniyes#z1_0et"),1,1;
844         movenpc instance_npcname("Ifodes#z1_0et"),1,1;
845         movenpc instance_npcname("Faymont#z1_0et"),1,1;
846         movenpc instance_npcname("Arhi#z1_0et"),1,1;
847         movenpc instance_npcname("Dwigh#z1_0et"),1,1;   
848         
849         warp instance_mapname("1@ge_st"),104,50;
850         donpcevent instance_npcname(strnpcinfo(0))+"::OnDisable";
851         end;
852
853 OnInstanceInit:
854 OnDisable:
855         disablenpc instance_npcname(strnpcinfo(0));
856         end;
857 OnEnable:
858         enablenpc instance_npcname(strnpcinfo(0));
859         end;
860 }
861
862 1@gef,1,1,4     script  #gefmagic_warp02        45,2,2,{
863         end;
864         
865 OnTouch_:
866         instance_warpall "dali",92,142;
867         end;
868
869 OnInstanceInit:
870 OnEnable:
871         hideoffnpc instance_npcname(strnpcinfo(0));
872         end;
873 }
874
875
876 1@gef,1,1,4     script  #invisGMTquests 567,2,2,{
877         end;
878         
879 OnTouch_:
880         if ('GMTHeroes < 1 ) {
881                 'GMTHeroes = 1;
882                 for (.@i = 9309; .@i < 9315; .@i++){
883                         setquest .@i;
884                 }
885         }
886         end;
887
888 OnInit:
889         hideonnpc strnpcinfo(0);
890         end;
891         
892 OnInstanceInit:
893         hideonnpc instance_npcname(strnpcinfo(0));
894         end;
895         
896 }
897
898
899 1@gef,123,203,4 script  Tournament Guide#gfmg   705,{
900         cutin "gef_soldier.bmp",2;
901         .@n$ = "[ Tournament Guide ]";
902         mes .@n$,"Welcome to the Magical city of ^8B4513Geffen^000000.";
903         next;
904         mes .@n$,"If you want to watch the ^55CC55Magic Tournament^000000 go to the southern fountain of Geffen.";
905         next;
906         mes .@n$,"The fireworks are here to celebrate the Geffen Magical Tournament Festival.";
907         next;
908         mes .@n$,"Please enjoy the festivities and enjoy your stay here in Geffen~!";
909         close2;
910         cutin "",255;
911         end;
912
913 OnInstanceInit:
914 OnEnable:
915         enablenpc instance_npcname(strnpcinfo(0));
916         end;
917 }
918
919 1@gef,203,116,4 duplicate(Tournament Guide#gfmg)        Tournament Guide#gf2    705
920 1@gef,36,123,6  duplicate(Tournament Guide#gfmg)        Tournament Guide#gf3    705
921
922 1@gef,122,58,4  script  Receptionist#1_0et      4_M_ARUNA_NFM1,{
923
924         .@n$ = "[ Tournament Receptionist ]";
925
926         if ( checkquest(9309) != -1 ) {
927                 mes .@n$;
928                 mes "Fenrir won this year's Magic Tournament!";
929                 next;
930                 mes .@n$;
931                 mes "I'm such a big fan of hers.";
932                 end;
933         }
934         
935         if ( checkquest(9308) != -1 ) {
936                 mes .@n$;
937                 mes "Congratulations on being this year's Magic Tournament winner!";
938                 end;
939         }
940                 
941         if ( 'passtest == 2 ) {
942                 mes .@n$;
943                 mes "Do you wish to try again?";
944                 mes "If you can kill the Desert Wolf within 60 seconds, you pass the test.";
945                 next;
946                 mes .@n$;
947                 mes "If you fail, you will automatically be eliminated from the list. You can try again as many times as you want.";
948                 mes "Will you take the test again?";
949                 next;
950                 switch(select("No:Yes")){
951                         case 1:
952                                 mes .@n$;
953                                 mes "Come back if you change your mind.";
954                                 close;
955                         case 2:
956                                 mes .@n$;
957                                 mes "There is no registration fee to enter.";
958                                 mes "The only requirement is to pass a simple test.";
959                                 next;
960                                 mes .@n$;
961                                 mes "The test is very simple. Defeat a Desert Wolf in 60 seconds or less and you're in.";
962                                 next;
963                                 mes .@n$;
964                                 mes "If you fail you will automatically be eliminated from the list but you can try again as many times as you wish.";
965                                 mes "Are you ready?";
966                                 next;
967                                 switch(select("No:Yes")){
968                                         case 1:
969                                                 mes .@n$;
970                                                 mes "Come back if you change your mind.";
971                                                 close;
972                                         case 2:
973                                                 mes .@n$;
974                                                 mes "You can participate in the Magic Tournament after passing the test.";
975                                                 mes "Then, let us begin!";
976                                                 npctalk "Time limit is 60 seconds ! Ready! Set! Go!";
977                                                 erasequest 9292;
978                                                 setquest 9293;
979                                                 addtimer 60000,instance_npcname("Receptionist#1_0et")+"::OnFail";
980                                                 monster instance_mapname("1@gef"),120,62,"--ja--",1106,1,instance_npcname("Receptionist#1_0et")+"::OnTest";
981                                                 hideonnpc instance_npcname("Receptionist#1_0et");       
982                                                 break;
983                                 }
984                                 end;
985                 }
986                 end;
987         }
988         
989         if ( 'passtest == 1 ) {
990         
991                 if ('GMT >= 5){
992                         mes .@n$;
993                         mes "The Magic Tournament is going to start soon.";
994                         mes "Enter the portal to the south and you can join in.";
995                         next;
996                         mes .@n$;
997                         mes "Good luck!";
998                         end;
999                 }
1000                 
1001                 mes .@n$;
1002                 mes "Congratulations! You passed the test!";
1003                 next;
1004                 mes .@n$;
1005                 mes "Give me your name so I can write it down.";
1006                 mes "You will automatically be registered for the tournament now.";
1007                 next;
1008                 input .@char$;
1009                 if(.@char$ == "") { end; }
1010                 mes .@n$;
1011                 mes strcharinfo(0)+"?";
1012                 mes "Okay, interesting name.";
1013                 mes "Anyway, your registration is complete!";
1014                 'GMT = 5;
1015                 erasequest 9293;
1016                 if (checkquest(9294) > -1)
1017                         erasequest 9294;
1018                 setquest 9294;
1019                 donpcevent instance_npcname("#gefmagic_warp01")+"::OnEnable";
1020                 next;
1021                 mes .@n$;
1022                 mes "Competitors who registered will randomly be selected.";
1023                 next;
1024                 mes .@n$;
1025                 mes "The Magic Tournament is going to start soon.";
1026                 mes "Enter the portal to the south and you can join in.";
1027                 next;
1028                 mes .@n$;
1029                 mes "Good Luck~!";
1030                 end;
1031         
1032         }
1033         
1034         if ( checkquest(9293) == -1 ) {
1035                 
1036                 mes .@n$;
1037                 mes "Thank you for visiting the Geffen Magic Tournament.";
1038                 mes "What can I do for you?";
1039                 next;
1040         L_Menu:
1041                 switch(select("About Geffen Magic Tournament:How do I Register?:Collecting Rewards.:Can I get a Spectator Pass?:End Conversation")){
1042                         case 1:
1043                                 mes .@n$;
1044                                 mes "Geffen Magic Tournament is being held once every 3 years.";
1045                                 next;
1046                                 mes .@n$;
1047                                 mes "This festival used to be a more studious event with scholars discussing magical methods.";
1048                                 mes "Now it's all about fun and a big party.";
1049                                 next;
1050                                 mes .@n$;
1051                                 mes "Now it has become almost exclusively a fighting tournament.";
1052                                 mes "The most famous Mages from all over the world come for the tournament.";
1053                                 next;
1054                                 mes .@n$;
1055                                 mes "Anything else?";
1056                                 next;
1057                                 goto L_Menu;
1058                         case 2:
1059                                 mes .@n$;
1060                                 mes "There is no registration fee to enter.";
1061                                 mes "The only requirement is to pass a simple test.";
1062                                 next;
1063                                 mes .@n$;
1064                                 mes "The test is very simple. Defeat a Desert Wolf in 60 seconds or less and you're in.";
1065                                 next;
1066                                 mes .@n$;
1067                                 mes "If you fail you will automatically be eliminated from the list but you can try again as many times as you wish.";
1068                                 mes "Do you want to take the test?";
1069                                 next;
1070                                 switch(select("No:Yes")){
1071                                         case 1:
1072                                                 mes .@n$;
1073                                                 mes "Come back if you change your mind.";
1074                                                 close;
1075                                         case 2:
1076                                                 mes .@n$;
1077                                                 mes "You can participate in the Magic Tournament after passing the test.";
1078                                                 mes "Then, let us begin!";
1079                                                 erasequest 9292;
1080                                                 setquest 9293;
1081                                                 'GMT = 3;
1082                                                 npctalk "Time limit is 60 seconds ! Ready! Set! Go!";
1083                                                 addtimer 60000,instance_npcname("Receptionist#1_0et")+"::OnFail";
1084                                                 monster instance_mapname("1@gef"),120,62,"--ja--",1106,1,instance_npcname("Receptionist#1_0et")+"::OnTest";
1085                                                 hideonnpc instance_npcname("Receptionist#1_0et");       
1086                                                 break;
1087                                 }
1088                                 end;
1089                         case 3:
1090                                 mes .@n$;
1091                                 mes "The father you go along in the tournament, the more coins you will earn.";
1092                                 next;
1093                                 mes .@n$;
1094                                 mes "Collect the coins and you can exchange them for equipment from the Geffen Coin Operator.";
1095                                 next;
1096                                 mes .@n$;
1097                                 mes "Anything else?";
1098                                 next;
1099                                 goto L_Menu;
1100                         case 4:
1101                                 mes .@n$;
1102                                 mes "Hmm it seems that the Magic Tournament is so popular this year that there aren't any more spectator seats available.";
1103                                 next;
1104                                 mes .@n$;
1105                                 mes "I am sorry for inconvenience.";
1106                                 next;
1107                                 mes .@n$;
1108                                 mes "Do you need anything else?";
1109                                 next;
1110                                 goto L_Menu;
1111                         case 5:
1112                                 mes .@n$;
1113                                 mes "Please enjoy the Geffen Magic Tournament.";
1114                                 close;
1115                 }
1116                 end;
1117         }
1118         
1119         end;
1120         
1121 OnTest:
1122         deltimer instance_npcname("Receptionist#1_0et")+"::OnFail";
1123         'passtest = 1;
1124         hideoffnpc instance_npcname("Receptionist#1_0et");
1125         npctalk "You passed the test! Shall we finish your registration?", instance_npcname("Receptionist#1_0et");
1126         end;
1127         
1128 OnFail:
1129         hideoffnpc instance_npcname("Receptionist#1_0et");
1130         'passtest = 2;
1131         killmonster instance_mapname("1@gef"),instance_npcname("Receptionist#1_0et")+"::OnTest";
1132         npctalk "You failed the test. Talk to me if you wish to try again.", instance_npcname("Receptionist#1_0et");
1133         end;
1134
1135 }
1136
1137 1@ge_st,95,62,6 duplicate(#d_c) Tournament Spectator#70 4_M_LGTPOOR
1138 1@ge_st,113,62,4        duplicate(#d_c) Tournament Spectator#71 4_M_LGTGUARD
1139 1@ge_st,99,62,6 duplicate(#d_c) Tournament Spectator#72 4_F_JOB_HUNTER
1140 1@ge_st,93,62,6 duplicate(#d_c) Tournament Spectator#73 1_ETC_01
1141 1@ge_st,94,62,6 duplicate(#d_c) Tournament Spectator#74 1_F_02
1142 1@ge_st,96,62,6 duplicate(#d_c) Tournament Spectator#75 1_M_01
1143 1@ge_st,98,62,6 duplicate(#d_c) Tournament Spectator#76 1_M_02
1144 1@ge_st,100,62,6        duplicate(#d_c) Tournament Spectator#77 1_M_03
1145 1@ge_st,102,62,6        duplicate(#d_c) Tournament Spectator#78 1_F_01
1146 1@ge_st,104,62,6        duplicate(#d_c) Tournament Spectator#79 1_F_03
1147 1@ge_st,116,62,4        duplicate(#d_c) Tournament Spectator#80 1_F_04
1148 1@ge_st,118,62,4        duplicate(#d_c) Tournament Spectator#81 1_F_GYPSY
1149 1@ge_st,92,64,6 duplicate(#d_c) Tournament Spectator#82 4_F_TWGRANDMOM
1150 1@ge_st,93,64,6 duplicate(#d_c) Tournament Spectator#83 1_F_MERCHANT_01
1151 1@ge_st,94,64,6 duplicate(#d_c) Tournament Spectator#84 1_F_MERCHANT_02
1152 1@ge_st,95,64,6 duplicate(#d_c) Tournament Spectator#85 1_M_JOBGUIDER
1153 1@ge_st,96,64,6 duplicate(#d_c) Tournament Spectator#86 1_M_JOBTESTER
1154 1@ge_st,97,64,6 duplicate(#d_c) Tournament Spectator#87 1_M_KNIGHTMASTER
1155 1@ge_st,98,64,6 duplicate(#d_c) Tournament Spectator#88 1_M_LIBRARYMASTER
1156 1@ge_st,99,64,6 duplicate(#d_c) Tournament Spectator#89 1_F_ORIENT_01
1157 1@ge_st,100,64,6        duplicate(#d_c) Tournament Spectator#90 1_F_ORIENT_02
1158 1@ge_st,101,64,6        duplicate(#d_c) Tournament Spectator#91 1_F_ORIENT_03
1159 1@ge_st,102,64,6        duplicate(#d_c) Tournament Spectator#92 1_F_ORIENT_04
1160 1@ge_st,103,64,6        duplicate(#d_c) Tournament Spectator#93 1_M_MERCHANT
1161 1@ge_st,104,64,6        duplicate(#d_c) Tournament Spectator#94 1_M_MOC_LORD
1162 1@ge_st,105,64,6        duplicate(#d_c) Tournament Spectator#95 1_M_ORIENT01
1163 1@ge_st,106,64,6        duplicate(#d_c) Tournament Spectator#96 1_M_PASTOR
1164 1@ge_st,107,64,6        duplicate(#d_c) Tournament Spectator#97 1_F_PRIEST
1165 1@ge_st,108,64,6        duplicate(#d_c) Tournament Spectator#98 1_F_PUBGIRL
1166 1@ge_st,109,64,4        duplicate(#d_c) Tournament Spectator#99 4_M_DST_TOUGH
1167 1@ge_st,110,64,4        duplicate(#d_c) Tournament Spectator#100        1_M_INNKEEPER
1168 1@ge_st,111,64,4        duplicate(#d_c) Tournament Spectator#101        1_M_SIZ
1169 1@ge_st,112,64,4        duplicate(#d_c) Tournament Spectator#102        1_M_PAY_ELDER
1170 1@ge_st,113,64,4        duplicate(#d_c) Tournament Spectator#103        1_M_PRON_KING
1171 1@ge_st,114,64,4        duplicate(#d_c) Tournament Spectator#104        1_M_PUBMASTER
1172 1@ge_st,115,64,4        duplicate(#d_c) Tournament Spectator#105        1_M_SIGN1
1173 1@ge_st,116,64,4        duplicate(#d_c) Tournament Spectator#106        2_F_MAGICMASTER
1174 1@ge_st,117,64,4        duplicate(#d_c) Tournament Spectator#107        4_F_01
1175 1@ge_st,118,64,4        duplicate(#d_c) Tournament Spectator#108        4_F_02
1176 1@ge_st,90,63,6 duplicate(#d_c) Tournament Spectator#109        4_F_TELEPORTER
1177 1@ge_st,91,63,6 duplicate(#d_c) Tournament Spectator#110        4_F_THAIAYO
1178 1@ge_st,89,38,8 duplicate(#d_c) Tournament Spectator#111        4_M_ALCHE_E
1179 1@ge_st,89,39,8 duplicate(#d_c) Tournament Spectator#112        4_M_ARUNA_NFM1
1180 1@ge_st,89,40,8 duplicate(#d_c) Tournament Spectator#113        4_F_JPN2
1181 1@ge_st,89,41,8 duplicate(#d_c) Tournament Spectator#114        4_F_JPN
1182 1@ge_st,89,42,8 duplicate(#d_c) Tournament Spectator#115        4_F_JPNCHIBI
1183 1@ge_st,89,43,8 duplicate(#d_c) Tournament Spectator#116        4_F_HUGRANMA
1184 1@ge_st,89,44,8 duplicate(#d_c) Tournament Spectator#117        4_F_JPNOBA2
1185 1@ge_st,89,45,8 duplicate(#d_c) Tournament Spectator#118        4_F_JPNOBA
1186 1@ge_st,89,51,6 duplicate(#d_c) Tournament Spectator#119        4_F_SCIENCE
1187 1@ge_st,89,52,6 duplicate(#d_c) Tournament Spectator#120        4_F_SHABBY
1188 1@ge_st,89,53,6 duplicate(#d_c) Tournament Spectator#121        4_M_CRU_SOLD
1189 1@ge_st,89,54,6 duplicate(#d_c) Tournament Spectator#122        4_M_DESERT
1190 1@ge_st,89,55,6 duplicate(#d_c) Tournament Spectator#123        4_M_DEWBOY
1191 1@ge_st,89,56,6 duplicate(#d_c) Tournament Spectator#124        4_M_DEWMAN
1192 1@ge_st,89,57,6 duplicate(#d_c) Tournament Spectator#125        4_F_SHADOWCHASER
1193 1@ge_st,89,58,6 duplicate(#d_c) Tournament Spectator#126        4_F_SISTER
1194 1@ge_st,89,59,6 duplicate(#d_c) Tournament Spectator#127        4_F_SOCCER
1195 1@ge_st,89,62,6 duplicate(#d_c) Tournament Spectator#128        4_M_DOCTOR
1196 1@ge_st,88,61,6 duplicate(#d_c) Tournament Spectator#129        4_M_DEWZATICHIEF
1197 1@ge_st,87,37,8 duplicate(#d_c) Tournament Spectator#130        4_M_ALCHE_D
1198 1@ge_st,87,59,6 duplicate(#d_c) Tournament Spectator#131        4_F_SURA
1199 1@ge_st,87,60,6 duplicate(#d_c) Tournament Spectator#132        4_M_DEWOLDMAN
1200 1@ge_st,119,62,4        duplicate(#d_c) Tournament Spectator#133        4_F_JOB_KNIGHT
1201 1@ge_st,119,64,4        duplicate(#d_c) Tournament Spectator#134        4_F_03
1202 1@ge_st,120,62,4        duplicate(#d_c) Tournament Spectator#135        1_M_BARD
1203 1@ge_st,120,64,4        duplicate(#d_c) Tournament Spectator#136        4_F_04
1204 1@ge_st,121,64,4        duplicate(#d_c) Tournament Spectator#137        4_F_TRAINEE
1205 1@ge_st,122,64,4        duplicate(#d_c) Tournament Spectator#138        1_M_SIGNART
1206 1@ge_st,123,64,4        duplicate(#d_c) Tournament Spectator#139        1_M_SIGNMCNT
1207 1@ge_st,124,62,4        duplicate(#d_c) Tournament Spectator#140        1_F_LIBRARYGIRL
1208 1@ge_st,124,64,4        duplicate(#d_c) Tournament Spectator#141        1_M_SIGNMONK2
1209 1@ge_st,125,62,4        duplicate(#d_c) Tournament Spectator#142        1_M_HOF
1210 1@ge_st,125,64,4        duplicate(#d_c) Tournament Spectator#143        4_F_05
1211 1@ge_st,126,64,4        duplicate(#d_c) Tournament Spectator#144        4_F_06
1212 1@ge_st,127,63,4        duplicate(#d_c) Tournament Spectator#145        4_F_07
1213 1@ge_st,128,63,4        duplicate(#d_c) Tournament Spectator#146        4_F_ACROSS
1214 1@ge_st,128,60,4        duplicate(#d_c) Tournament Spectator#147        4_F_ALCHE
1215 1@ge_st,128,59,4        duplicate(#d_c) Tournament Spectator#148        4_M_EDEN_GUARDER
1216 1@ge_st,128,58,4        duplicate(#d_c) Tournament Spectator#149        4_F_ANNIVERSARY
1217 1@ge_st,128,57,4        duplicate(#d_c) Tournament Spectator#150        4_F_BRZ_INDIAN
1218 1@ge_st,128,56,4        duplicate(#d_c) Tournament Spectator#151        1_M_WIZARD
1219 1@ge_st,128,55,4        duplicate(#d_c) Tournament Spectator#152        1_M_YOUNGKNIGHT
1220 1@ge_st,128,54,4        duplicate(#d_c) Tournament Spectator#153        2_M_ALCHE
1221 1@ge_st,128,53,4        duplicate(#d_c) Tournament Spectator#154        4_F_BRZ_INDIAN
1222 1@ge_st,128,52,4        duplicate(#d_c) Tournament Spectator#155        4_F_BRZ_INDOLD
1223 1@ge_st,128,51,4        duplicate(#d_c) Tournament Spectator#156        4_F_BRZ_WOMAN
1224 1@ge_st,128,45,2        duplicate(#d_c) Tournament Spectator#157        2_M_BARD_ORIENT
1225 1@ge_st,128,44,2        duplicate(#d_c) Tournament Spectator#158        2_M_DYEINGER
1226 1@ge_st,129,62,4        duplicate(#d_c) Tournament Spectator#159        1_M_SIGNMONK
1227 1@ge_st,128,43,2        duplicate(#d_c) Tournament Spectator#160        2_M_MOLGENSTEIN
1228 1@ge_st,129,43,2        duplicate(#d_c) Tournament Spectator#161        4_M_CRU_OLD
1229 1@ge_st,129,44,2        duplicate(#d_c) Tournament Spectator#162        4_F_RUSWOMAN2
1230 1@ge_st,129,45,2        duplicate(#d_c) Tournament Spectator#163        4_F_RUSWOMAN3
1231 1@ge_st,130,61,4        duplicate(#d_c) Tournament Spectator#164        1_M_SIGNROGUE
1232 1@ge_st,130,60,4        duplicate(#d_c) Tournament Spectator#165        1_M_SMITH
1233 1@ge_st,128,42,2        duplicate(#d_c) Tournament Spectator#166        4_F_CAPEGIRL
1234 1@ge_st,129,42,2        duplicate(#d_c) Tournament Spectator#167        4_M_CRU_KNT
1235 1@ge_st,128,41,2        duplicate(#d_c) Tournament Spectator#168        4_F_CAVE1
1236 1@ge_st,129,41,2        duplicate(#d_c) Tournament Spectator#169        4_M_CRU_HEAD
1237 1@ge_st,128,40,2        duplicate(#d_c) Tournament Spectator#170        4_F_CHILD
1238 1@ge_st,129,40,2        duplicate(#d_c) Tournament Spectator#171        4_M_CRU_CRUA
1239 1@ge_st,128,39,2        duplicate(#d_c) Tournament Spectator#172        2_M_OLDBLSMITH
1240 1@ge_st,129,39,2        duplicate(#d_c) Tournament Spectator#173        4_F_RUSWOMAN1
1241 1@ge_st,128,38,2        duplicate(#d_c) Tournament Spectator#174        2_M_PHARMACIST
1242 1@ge_st,129,38,2        duplicate(#d_c) Tournament Spectator#175        4_F_RUSCHILD
1243 1@ge_st,128,37,2        duplicate(#d_c) Tournament Spectator#176        2_M_SAGE_B
1244 1@ge_st,130,37,2        duplicate(#d_c) Tournament Spectator#177        4_F_CHNDOCTOR
1245 1@ge_st,130,36,2        duplicate(#d_c) Tournament Spectator#178        4_F_CHNDRESS1
1246 1@ge_st,130,35,2        duplicate(#d_c) Tournament Spectator#179        2_M_SAGE_OLD
1247 1@ge_st,108,34,8        duplicate(#d_c) Tournament Spectator#180        4_F_KID3
1248 1@ge_st,109,34,2        duplicate(#d_c) Tournament Spectator#181        4_F_LGTGIRL
1249 1@ge_st,110,34,2        duplicate(#d_c) Tournament Spectator#182        4_F_LGTGRAND
1250 1@ge_st,111,34,2        duplicate(#d_c) Tournament Spectator#183        4_F_MADAME
1251 1@ge_st,112,34,2        duplicate(#d_c) Tournament Spectator#184        4_M_CHN8GUEK
1252 1@ge_st,113,34,2        duplicate(#d_c) Tournament Spectator#185        4_M_CHNCOOK
1253 1@ge_st,114,34,2        duplicate(#d_c) Tournament Spectator#186        4_M_CHNGENERL
1254 1@ge_st,115,34,2        duplicate(#d_c) Tournament Spectator#187        4_M_CHNMAN
1255 1@ge_st,116,34,2        duplicate(#d_c) Tournament Spectator#188        4_F_MASK
1256 1@ge_st,117,34,2        duplicate(#d_c) Tournament Spectator#189        4_F_MONK
1257 1@ge_st,118,34,2        duplicate(#d_c) Tournament Spectator#190        4_F_NFLOSTGIRL
1258 1@ge_st,119,34,2        duplicate(#d_c) Tournament Spectator#191        4_F_NOVICE
1259 1@ge_st,129,34,2        duplicate(#d_c) Tournament Spectator#192        2_M_SWORDMASTER
1260 1@ge_st,120,34,2        duplicate(#d_c) Tournament Spectator#193        4_M_CHNMONK
1261 1@ge_st,121,34,2        duplicate(#d_c) Tournament Spectator#194        4_M_CHNOLD
1262 1@ge_st,122,34,2        duplicate(#d_c) Tournament Spectator#195        4_M_CHNSOLDIER
1263 1@ge_st,123,34,2        duplicate(#d_c) Tournament Spectator#196        4_M_CRU
1264 1@ge_st,124,34,2        duplicate(#d_c) Tournament Spectator#197        4_F_RACHOLD
1265 1@ge_st,125,34,2        duplicate(#d_c) Tournament Spectator#198        4_F_ROGUE
1266 1@ge_st,128,33,2        duplicate(#d_c) Tournament Spectator#199        4_F_CHNDRESS2
1267 1@ge_st,127,33,2        duplicate(#d_c) Tournament Spectator#200        4_F_CHNDRESS3
1268 1@ge_st,119,32,2        duplicate(#d_c) Tournament Spectator#201        4_F_DST_CHILD
1269 1@ge_st,118,32,2        duplicate(#d_c) Tournament Spectator#202        4_LGTSCIENCE
1270 1@ge_st,117,32,2        duplicate(#d_c) Tournament Spectator#203        4_M_01
1271 1@ge_st,116,32,2        duplicate(#d_c) Tournament Spectator#204        4_F_DST_GRAND
1272 1@ge_st,115,32,2        duplicate(#d_c) Tournament Spectator#205        4_F_EDEN_MASTER
1273 1@ge_st,114,32,2        duplicate(#d_c) Tournament Spectator#206        4_F_EDEN_OFFICER
1274 1@ge_st,113,32,2        duplicate(#d_c) Tournament Spectator#207        4_M_1STPRIN1
1275 1@ge_st,112,32,2        duplicate(#d_c) Tournament Spectator#208        4_M_DST_CHILD
1276 1@ge_st,111,32,2        duplicate(#d_c) Tournament Spectator#209        4_F_EINOLD
1277 1@ge_st,110,32,2        duplicate(#d_c) Tournament Spectator#210        4_F_YUNYANG
1278 1@ge_st,109,32,2        duplicate(#d_c) Tournament Spectator#211        4_M_2NDPRIN1
1279 1@ge_st,108,32,8        duplicate(#d_c) Tournament Spectator#212        4_M_03
1280 1@ge_st,126,32,2        duplicate(#d_c) Tournament Spectator#213        2_M_THIEFMASTER
1281 1@ge_st,125,32,2        duplicate(#d_c) Tournament Spectator#214        4_COOK
1282 1@ge_st,124,32,2        duplicate(#d_c) Tournament Spectator#215        4_F_CHNWOMAN
1283 1@ge_st,123,32,2        duplicate(#d_c) Tournament Spectator#216        4_F_CRU
1284 1@ge_st,122,32,2        duplicate(#d_c) Tournament Spectator#217        4_DST_SOLDIER
1285 1@ge_st,121,32,2        duplicate(#d_c) Tournament Spectator#218        4_KID01
1286 1@ge_st,120,32,2        duplicate(#d_c) Tournament Spectator#219        4_F_DESERT
1287 1@ge_st,107,32,8        duplicate(#d_c) Tournament Spectator#220        4_F_GODEMOM
1288 1@ge_st,107,34,8        duplicate(#d_c) Tournament Spectator#221        4_F_KID2
1289 1@ge_st,106,32,8        duplicate(#d_c) Tournament Spectator#222        4_F_GON
1290 1@ge_st,106,34,8        duplicate(#d_c) Tournament Spectator#223        4_F_THAIGIRL
1291 1@ge_st,105,32,8        duplicate(#d_c) Tournament Spectator#224        4_M_3RDPRIN1
1292 1@ge_st,105,34,8        duplicate(#d_c) Tournament Spectator#225        4_M_CAVE1
1293 1@ge_st,104,32,8        duplicate(#d_c) Tournament Spectator#226        4_M_DST_MASTER
1294 1@ge_st,104,34,8        duplicate(#d_c) Tournament Spectator#227        4_M_CASMAN1
1295 1@ge_st,103,32,8        duplicate(#d_c) Tournament Spectator#228        4_M_4THPRIN1
1296 1@ge_st,103,34,8        duplicate(#d_c) Tournament Spectator#229        4_M_BUDDHIST
1297 1@ge_st,102,32,8        duplicate(#d_c) Tournament Spectator#230        4_M_DSTMAN
1298 1@ge_st,102,34,8        duplicate(#d_c) Tournament Spectator#231        4_M_BRZ_MAN1
1299 1@ge_st,101,32,8        duplicate(#d_c) Tournament Spectator#232        4_F_GUILLOTINE
1300 1@ge_st,101,34,8        duplicate(#d_c) Tournament Spectator#233        4_F_TWMASKGIRL
1301 1@ge_st,100,32,8        duplicate(#d_c) Tournament Spectator#234        4_F_HUGIRL
1302 1@ge_st,100,34,8        duplicate(#d_c) Tournament Spectator#235        4_F_KHGIRL
1303 1@ge_st,99,32,8 duplicate(#d_c) Tournament Spectator#236        4_F_HUGRANMA
1304 1@ge_st,99,34,8 duplicate(#d_c) Tournament Spectator#237        4_F_KHELLY
1305 1@ge_st,98,32,8 duplicate(#d_c) Tournament Spectator#238        4_F_HUWOMAN
1306 1@ge_st,98,34,8 duplicate(#d_c) Tournament Spectator#239        4_F_KHELLISIA
1307 1@ge_st,97,32,8 duplicate(#d_c) Tournament Spectator#240        4_M_5THPRIN1
1308 1@ge_st,97,34,8 duplicate(#d_c) Tournament Spectator#241        4_M_BRZ_JACI
1309 1@ge_st,96,32,8 duplicate(#d_c) Tournament Spectator#242        4_M_06
1310 1@ge_st,96,34,8 duplicate(#d_c) Tournament Spectator#243        4_M_BIBI
1311 1@ge_st,95,32,8 duplicate(#d_c) Tournament Spectator#244        4_M_6THPRIN1
1312 1@ge_st,95,34,8 duplicate(#d_c) Tournament Spectator#245        4_M_BARD
1313 1@ge_st,94,32,8 duplicate(#d_c) Tournament Spectator#246        4_M_ACROSS
1314 1@ge_st,94,34,8 duplicate(#d_c) Tournament Spectator#247        4_M_BARBER
1315 1@ge_st,93,32,8 duplicate(#d_c) Tournament Spectator#248        4_M_ALCHE_A
1316 1@ge_st,93,34,8 duplicate(#d_c) Tournament Spectator#249        4_M_ATEIL
1317 1@ge_st,92,32,8 duplicate(#d_c) Tournament Spectator#250        4_F_JOB_ASSASSIN
1318 1@ge_st,91,33,8 duplicate(#d_c) Tournament Spectator#251        4_F_JOB_BLACKSMITH
1319 1@ge_st,90,33,8 duplicate(#d_c) Tournament Spectator#252        4_M_JP_RUN
1320 1@ge_st,89,34,8 duplicate(#d_c) Tournament Spectator#253        4_M_EINMAN
1321 1@ge_st,88,35,8 duplicate(#d_c) Tournament Spectator#254        4_M_ALCHE_B
1322 1@ge_st,88,36,8 duplicate(#d_c) Tournament Spectator#255        4_M_ALCHE_C
1323 1@gef,124,72,4  duplicate(#d_c) Tournament Spectator#256        1_M_SIGNMCNT
1324 1@gef,106,56,6  duplicate(#d_c) Tournament Spectator#257        1_F_ORIENT_04
1325 1@ge_st,107,62,6        duplicate(#d_c) Veins Spectator#a1      4_F_ALCHE_A
1326 1@ge_st,110,62,4        duplicate(#d_c) Comodo Spectator#a1     4_F_EINWOMAN
1327 1@ge_st,115,62,4        duplicate(#d_c) Prontera Spectator#a1   4_M_DST_GRAND
1328 1@ge_st,117,62,4        duplicate(#d_c) Payon Spectator#a1      1_F_SIGNZISK
1329 1@ge_st,121,62,4        duplicate(#d_c) Alberta Spectator#a1    4_M_05
1330 1@ge_st,97,62,6 duplicate(#d_c) Prontera Spectator#a2   4_M_2NDPRIN1
1331 1@ge_st,101,62,6        duplicate(#d_c) Payon Spectator#a2      4_M_ROGUE
1332 1@ge_st,105,62,6        duplicate(#d_c) Alberta Spectator#a2    4_M_ORIENT02
1333 1@ge_st,103,62,6        duplicate(#d_c) Magic Academy Student#1 4_M_02
1334 1@ge_st,109,62,4        duplicate(#d_c) Magic Academy Student#2 4_M_CHILD1
1335 1@ge_st,114,62,4        duplicate(#d_c) Magic Academy Student#3 4_M_04
1336 1@ge_st,122,62,4        duplicate(#d_c) Magic Academy Student#4 1_F_MARIA
1337 1@ge_st,123,62,4        duplicate(#d_c) Magic Academy Student#5 1_M_SIGNALCHE
1338 1@gef,128,93,4  duplicate(#d_c) Geffen Villager#c1      4_F_CAVE1
1339 1@gef,103,100,6 duplicate(#d_c) Geffen Villager#c2      1_M_JOBGUIDER
1340
1341 // ===================================================================================
1342 // Tournament Start - CHINESE TOURNAMENT ARENA START
1343 // ===================================================================================
1344 1@ge_st,102,49,4        script  Geffen Academy Master#S 567,3,3,{
1345 end;
1346
1347 OnTouch_:
1348         ignoretimeout 1;
1349         .@n$ = "[ Geffen Academy Master ]";
1350         if ('GMT_1QUE < 11) {
1351                 cutin "acamaster_a.bmp",2;
1352                 mes .@n$,
1353                 "Ladies and gentlemen!",
1354                 "Welcome to the Geffen Magic",
1355                 "Tournament!";
1356                 next;
1357                 mes .@n$,
1358                 "Today a champion will be crowned.";
1359                 next;
1360                 mes .@n$,
1361                 "There are 2 divisions this year",
1362                 "divided into Group A and B.",
1363                 "The winner of each group will face",
1364                 "each other for the championship",
1365                 "match.";
1366                 next;
1367                 mes .@n$,
1368                 "I am the MC of Group A.",
1369                 "Geffen Academy Master~!",
1370                 "Archmage Zanzibar Hellmod";
1371                 next;
1372                 mes .@n$,
1373                 "I am honored to be this year's MC.",
1374                 "Now, it's time for the matches to begin.";
1375                 next;
1376                 mes .@n$,
1377                 "Ahem...";
1378                 close2;
1379                 cutin "acamaster_a.bmp", 255;
1380                 hideonnpc "Geffen Academy Master";
1381                 'GMT_1QUE = 11;
1382                 changequest 9294,9295;
1383                 donpcevent instance_npcname("Geffen Academy Master")+"::OnStart";
1384                 'charname$ = strcharinfo(0);
1385                 'sex = Sex;
1386                 end;
1387         }
1388         end;
1389
1390 OnInit:
1391         hideonnpc strnpcinfo(0);
1392         end;
1393 OnInstanceInit:
1394         hideonnpc instance_npcname(strnpcinfo(0));
1395         end;
1396         
1397 }
1398
1399 1@ge_st,107,57,4        script  Tournament Guide#gefMT  4_M_HUMAN_02,{
1400         .@n$ = "[ Tournament Guide ]";
1401         ignoretimeout 1;
1402         if (checkquest(9308) != -1) {
1403                 switch(select("Leave the Arena and receive your reward:End Conversation")) {
1404                         case 1:
1405                                 mes .@n$;
1406                                 mes "You won the competition!","Congratulations!";
1407                                 next;
1408                                 mes .@n$;
1409                                 mes "By the way, the Academy Master has","something to tell you!";
1410                                 next;
1411                                 cutin "acamaster_a.bmp",2;
1412                                 .@n2$ = "[ Geffen Academy Master ]";
1413                                 mes .@n2$,
1414                                 "Congratulations!",
1415                                 "This has been the best pool of",
1416                                 "competitors in the history of this",
1417                                 "competition.";
1418                                 next;
1419                                 mes .@n2$,
1420                                 "I present to you your earned ^55CC55Geffen",
1421                                 "Magic Tournament Coins.^000000";
1422                                 next;
1423                                 mes .@n2$,
1424                                 "Bring the coins to the ^55CC55Geffen Coin",
1425                                 "Operator^000000 to exchange for special",
1426                                 "equipment.";
1427                                 next;
1428                                 mes .@n2$,
1429                                 "Your name will be remembered in the",
1430                                 "history books of Geffen.";
1431                                 next;
1432                                 mes .@n2$,
1433                                 "Congratulations again.",
1434                                 "I hope you enjoy the rest of the",
1435                                 "Geffen Festivities.";
1436                                 close2;
1437                                 cutin "",255;
1438                                 getitem 6671,20;
1439                                 warp instance_mapname("1@gef"), 120,35;
1440                                 end;
1441                         case 2:
1442                                 end;
1443                 }
1444         }
1445         mes .@n$;
1446         if ('GMT_1QUE <22) {
1447                 mes "Congratulations on winning the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" round!";
1448                 .@menu$ = "Begin the "+callfunc("F_GetNumSuffix",('GMT_1QUE-9))+" match.";
1449         }
1450         else {
1451         mes "Congratulations! You've defeated every other opponent in Group A! Good luck on the final!";
1452         .@menu$ = "Begin the final match.";
1453         }
1454         next;
1455         
1456                         switch(select(.@menu$,"End Conversation")) {
1457                         case 1:
1458                                         mes .@n$;
1459                                         mes "Winners of each round will receive ^55CC55Geffen Magic Tournament Coins^000000 as a reward.";
1460                                         next;
1461                                         mes .@n$;
1462                                         mes "Bring the coins to the ^55CC55Geffen Coin Operator^000000 to exchange them for special equipment.";
1463                                         next;
1464                                         mes .@n$;
1465                                         mes "The "+callfunc("F_GetNumSuffix",('GMT_1QUE-9))+" match of Group A is about to begin!";
1466                                         close2;
1467                                         getitem 6671, 'reward['GMT_1QUE-11];
1468                                         hideonnpc instance_npcname("Tournament Healer#1");
1469                                         
1470                                         switch ('GMT_1QUE) {
1471                                                   case 11:
1472                                                         enablenpc instance_npcname("Dio Anemos#1");
1473                                                         break;
1474                                                   case 12:
1475                                                         if ('GMTQuest == 1)
1476                                                                 enablenpc instance_npcname("Geffen Gangster#n1");
1477                                                         else if ('GMTQuest == 2)
1478                                                                 enablenpc instance_npcname("Geffen Bully#n1");
1479                                                         else
1480                                                                 enablenpc instance_npcname("Geffen Shoplifter#n1");
1481                                                                 break;
1482                                                   case 13:
1483                                                         enablenpc instance_npcname("Faymont#1");
1484                                                         break;
1485                                                   case 14:
1486                                                         enablenpc instance_npcname("Ordre#1");
1487                                                         break;
1488                                                   case 15:
1489                                                         enablenpc instance_npcname("Blut Hase#1");
1490                                                         break;
1491                                                   case 16:
1492                                                         enablenpc instance_npcname("Kuro Akuma#1");
1493                                                         break;
1494                                                   case 17:
1495                                                         enablenpc instance_npcname("Ifodes#1");
1496                                                         break;
1497                                                   case 18:
1498                                                         enablenpc instance_npcname("Licheniyes#1");
1499                                                         break;
1500                                                   case 19:
1501                                                         enablenpc instance_npcname("Odoric#1");
1502                                                         break;
1503                                                   case 20:
1504                                                         enablenpc instance_npcname("Ju#1");
1505                                                         break;
1506                                                   case 21:
1507                                         'half = rand(0,1);
1508                                         if ('half) {
1509                                         enablenpc instance_npcname("Dwigh#1");
1510                                         } else {
1511                                         enablenpc instance_npcname("Fay Kanavian#1");
1512                                                                         }
1513                                                                         break;
1514                                                                   case 22:
1515                                                                         enablenpc instance_npcname("Fenrir#f");
1516                                                                         break;
1517                                         }
1518                                         warp instance_mapname("1@ge_st"), 104,50;
1519                                         'GMT_1QUE++;
1520                                         donpcevent instance_npcname("Geffen Academy Master")+"::OnStart";
1521                                         hideoffnpc instance_npcname("Geffen Academy Master");
1522                                         hideonnpc instance_npcname("Tournament Guide#gefMT");
1523                                         end;
1524                         case 2:
1525                                 mes .@n$; // KURAMA END CONVERSATION TEXT
1526                                 mes "Need more time to prepare I see.";
1527                                 mes "Not a problem, talk to me when you're ready.";
1528                                 close;
1529                 }
1530
1531 OnInstanceInit:
1532         setarray 'reward,1,2,3,4,5,6,7,8,9,10,15,20,20;
1533         end;
1534 }
1535
1536 1@ge_st,109,57,4        script  Geffen Academy Master   10006,{
1537 end;
1538 OnStart:
1539         if ( 'GMT_1QUE != 11 ){
1540                 attachrid('gmt_account_id);
1541                 changequest 9283 + 'GMT_1QUE, 9284 +'GMT_1QUE;
1542                 detachrid;
1543         }
1544
1545         switch ('GMT_1QUE) {
1546                 case 11:
1547                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1548                         npctalk "Ladies and Gentlemen!";
1549                         sleep 3000;
1550                         npctalk "I do my best to be as loud as I can!";
1551                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1552                         enablenpc instance_npcname("Arhi#1");
1553                         sleep 3000;
1554                         npctalk "The Geffen Magic Tournament will now commence!";
1555                         sleep 1000;
1556                         .@spec = rand(70,257);
1557                         showscript "Tournament Spectator: Wow~!!! Looks fun~~!! Yahoo~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
1558                         sleep 1000;
1559                         .@spec = rand(70,257);
1560                         showscript "Tournament Spectator: This is getting exciting~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
1561                         sleep 1000;
1562                         .@spec = rand(70,257);
1563                         showscript "Tournament Spectator: When is the game going to start~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
1564                         sleep 500;
1565                         donpcevent instance_npcname("Arhi#1")+"::OnActivate";
1566                         sleep 500;
1567                         npctalk "We are starting the 1st match for Group A";
1568                         sleep 2000;
1569                         npctalk "On this corner, "+('sex?"he":"she")+" looks weak enough to lose in the 1st match!";
1570                         sleep 3000;
1571                         npctalk "Give a big welcome to the unknown competitor! "+'charname$+"~!";
1572                         sleep 2000;
1573                         npctalk "And on the other corner, Arhi the Novice! Give it your best shot!";
1574                         end;
1575                 case 12:
1576                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1577                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1578                         npctalk "The 2nd match of Group A is about to begin!";
1579                         sleep 3000;
1580                         npctalk "On this corner, the competitor who exceeded our expectations by getting past the first round!";
1581                         sleep 3000;
1582                         npctalk "The extremely weak looking competitor, "+'charname$+"!";
1583                         sleep 3000;
1584                         donpcevent instance_npcname("Dio Anemos#1")+"::OnActivate";
1585                         sleep 500;
1586                         npctalk "And "+('sex ? "his" : "her")+" opponent...";
1587                         sleep 3000;
1588                         npctalk "Despite his skipping classes at the Magic Academy...";
1589                         sleep 3000;
1590                         npctalk "A crowd favorite! A big round of applause to the Magician Apprentice, Dio Anemos!";
1591                         end;
1592                 case 13:
1593                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1594                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1595                         npctalk "The 3rd match of Group A is about to begin!";
1596                         sleep 2000;
1597                         npctalk "Welcome back our unlikely competitor, "+'charname$+"!";
1598                         sleep 3000;
1599                         npctalk "And "+('sex ? "his" : "her")+" opponent...";
1600                         sleep 2000;
1601                         if ('GMTQuest == 1) {
1602                                 donpcevent instance_npcname("Geffen Gangster#n1")+"::OnActivate";
1603                                 sleep 500;
1604                                 npctalk "Whose looks give off a creepy air about him...";
1605                                 sleep 3000;
1606                                 npctalk "A member of the Curvy Woman Loving club~!! Geffen Gangster!";
1607                         } else if ('GMTQuest == 2) {
1608                                 donpcevent instance_npcname("Geffen Bully#n1")+"::OnActivate";
1609                                 sleep 500;
1610                                 npctalk "With a face only a mother can love!";
1611                                 sleep 3000;
1612                                 npctalk "The ruthless Geffen Bully!";
1613                         } else {
1614                                 donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnActivate";
1615                                 sleep 500;
1616                                 npctalk "With a mischievous grin on her face!";
1617                                 sleep 3000;
1618                                 npctalk "The Geffen Thief Guild's Guildmaster! Geffen Shoplifter!";
1619                         }
1620                         end;
1621                 case 14:
1622                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1623                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1624                         npctalk "The surprise of this year's Tournament~!";
1625                         sleep 3000;
1626                         npctalk "The unrivaled warrior! "+'charname$+"!";
1627                         sleep 3000;
1628                         donpcevent instance_npcname("Faymont#1")+"::OnActivate";
1629                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1630                         sleep 3000;
1631                         npctalk "Entering the ring with pomp and circumstance.";
1632                         sleep 3000;
1633                         npctalk "Prontera's pride and style, Faymont!";
1634                         npctalk "Oh~ A player from Prontera ah!", instance_npcname("Prontera Spectator#a1");
1635                         sleep 2000;
1636                         npctalk "Do not give Prontera a bad name!!", instance_npcname("Prontera Spectator#a2");
1637                         end;
1638                 case 15:
1639                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1640                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1641                         npctalk "This isn't just a fluke ladies and gents!";
1642                         sleep 3000;
1643                         npctalk "The remarkable rookie! "+'charname$+"!";
1644                         sleep 3000;
1645                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1646                         sleep 500;
1647                         donpcevent instance_npcname("Ordre#1")+"::OnActivate";
1648                         sleep 3000;
1649                         npctalk "One who promises to fight with honor!";
1650                         sleep 3000;
1651                         npctalk "The self-proclaimed master of battle, Ordre!";
1652                         end;
1653                 case 16:
1654                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1655                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1656                         npctalk "Suddenly, the incredibly powerful!";
1657                         sleep 3000;
1658                         npctalk "Super rookie of this year's tournament~! "+'charname$+"!";
1659                         sleep 3000;
1660                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1661                         sleep 500;
1662                         donpcevent instance_npcname("Blut Hase#1")+"::OnActivate";
1663                         sleep 3000;
1664                         npctalk "Cute on the outside, but cruely destroys enemies!";
1665                         sleep 3000;
1666                         npctalk "Bloody Rabbit Ears~!! Blut Hase!";
1667                         end;
1668                 case 17:
1669                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1670                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1671                         npctalk "Onwards to the 7th Round!";
1672                         sleep 3000;
1673                         npctalk "Welcome back "+'charname$+"!";
1674                         sleep 3000;
1675                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1676                         sleep 2000;
1677                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1678                         npctalk "A competitor more evil than any we've seen before!";
1679                         sleep 500;
1680                         donpcevent instance_npcname("Kuro Akuma#1")+"::OnActivate";
1681                         sleep 3000;
1682                         npctalk "The Devil's Tooth, Kuro Akuma!";
1683                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1684                         end;
1685                 case 18:
1686                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1687                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1688                         npctalk "Starting up Round 8 for Group A!";
1689                         sleep 3000;
1690                         npctalk "The darling of this year's tournament!";
1691                         sleep 3000;
1692                         npctalk "Rune-Midgard newest star, "+'charname$+"!";
1693                         sleep 2000;
1694                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1695                         sleep 2000;
1696                         npctalk "They look very strong!", instance_npcname("Payon Spectator#a1");
1697                         sleep 250;
1698                         donpcevent instance_npcname("Ifodes#1")+"::OnActivate";
1699                         sleep 250;
1700                         npctalk "Looks good and strong ah!", instance_npcname("Veins Spectator#a1");
1701                         sleep 1000;
1702                         npctalk "Slow as a turtle, fast as a hare!";
1703                         sleep 3000;
1704                         npctalk "The maniac of Rune Midgard! Ifodes!";
1705                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1706                         end;
1707                 case 19:
1708                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1709                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1710                         npctalk "We have now entered the 9th Round of this competition!";
1711                         sleep 3000;
1712                         npctalk "Nobody can stop "+('sex ? "him" : "her")+"!";
1713                         sleep 3000;
1714                         npctalk ""+('sex ? "His" : "Her")+" strength has been recognized by the people! "+'charname$;
1715                         sleep 2000;
1716                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1717                         sleep 500;
1718                         donpcevent instance_npcname("Licheniyes#1")+"::OnActivate";
1719                         sleep 500;
1720                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1721                         sleep 1000;
1722                         npctalk "She might look like a nice lady, but you better watch out!";
1723                         sleep 3000;
1724                         npctalk "She'll attack you with the swiftness of a snake!";
1725                         sleep 3000;
1726                         npctalk "The Lady of Death! Licheniyes!";
1727                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1728                         end;
1729                 case 20:
1730                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1731                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1732                         npctalk "Let us begin the 10th Round of Group A!";
1733                         sleep 3000;
1734                         npctalk "In this corner, back to entertain us again!";
1735                         sleep 3000;
1736                         npctalk "None other than the incredible "+'charname$+"!";
1737                         sleep 1000;
1738                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1739                         sleep 1000;
1740                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1741                         sleep 1000;
1742                         npctalk "Seductress of Rune Midgard...";
1743                         sleep 500;
1744                         donpcevent instance_npcname("Odoric#1")+"::OnActivate";
1745                         sleep 500;
1746                         npctalk "You can't look away from her curves!";
1747                         sleep 3000;
1748                         npctalk "The Songstress of Death! Odoric!";
1749                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1750                         end;
1751                 case 21:
1752                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1753                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1754                         npctalk "We're getting closer to the end, next up is Quarter-Finals!";
1755                         sleep 3000;
1756                         npctalk "The winning never ends with "+'charname$+"!";
1757                         sleep 2000;
1758                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1759                         sleep 1000;
1760                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1761                         sleep 500;
1762                         donpcevent instance_npcname("Ju#1")+"::OnActivate";
1763                         sleep 250;
1764                         npctalk "I can smell blood...",instance_npcname("Loki#a2");
1765                         sleep 1000;
1766                         npctalk "Oh... A fierce competitor, is not it?",instance_npcname("Iris#a2");
1767                         sleep 500;
1768                         npctalk "Hidden behind a shroud of mystery...";
1769                         sleep 3000;
1770                         npctalk "Master of power and speed! Ju!";
1771                         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1772                         end;
1773                 case 22:
1774                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1775                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1776                         npctalk "We are now at the Semi-Finals of this competition, this match will decide the winner for Group A!";
1777                         sleep 3000;
1778                         npctalk "Winning against all odds, Group A's Dark Horse, "+'charname$+"!";
1779                         sleep 3000;
1780                         npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
1781                         if ('half) {
1782                                 sleep 500;
1783                                 donpcevent instance_npcname("Dwigh#1")+"::OnActivate";
1784                                 sleep 1500;
1785                                 npctalk "Chief Professor of the Mage Academy, loved by her many disciples!";
1786                                 sleep 1000;
1787                                 donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1788                                 sleep 2000;
1789                                 npctalk "Commander of battle and wits! Dwigh!";
1790                         }       else {
1791                                 sleep 2000;
1792                                 npctalk "An Alchemist from Aldebaran, the city of science!";
1793                                 sleep 500;
1794                                 donpcevent instance_npcname("Fay Kanavian#1")+"::OnActivate";
1795                                 sleep 500;
1796                                 donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
1797                                 sleep 2000;
1798                                 npctalk "Fay Kanavian and her homunculus, Alphonse!";
1799                                 }
1800                         end;
1801                 case 23:
1802                         donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
1803                         donpcevent instance_npcname("#FireworksControl")+"::OnStart";
1804                         npctalk "A previously anonymous fighter";
1805                         sleep 3000;
1806                         npctalk "Despite this, unmatched in Group A!";
1807                         sleep 2000;
1808                         npctalk "The most talked about competitor this year!";
1809                         sleep 3000;
1810                         npctalk "The unrivaled! "+'charname$+"!";
1811                         sleep 3000;
1812                         npctalk "Aha, this match looks like it will be interesting.",instance_npcname("Loki#a2");
1813                         sleep 3000;
1814                         npctalk "And the champion of Group B~!!!";
1815                         sleep 1500;
1816                         donpcevent instance_npcname("Fenrir#f")+"::OnActivate";
1817                         sleep 1500;
1818                         npctalk "A Warlock with incredible powers!";
1819                         sleep 3000;
1820                         npctalk "A competitor who swept through Group B like a hurricane!";
1821                         sleep 1000;
1822                         npctalk "Oh! This match is going to be exciting!",instance_npcname("Chaos#a2");
1823                         sleep 2000;
1824                         npctalk "Is there any Wizard stronger in all of Rune-Midgard?!";
1825                         sleep 3000;
1826                         npctalk "The Blue Wizard! Fenris Fenrir~!!";
1827                         end;
1828         }
1829
1830 OnTalk1:
1831         showscript "Geffen Academy Master : Let's get it on!",getnpcid(0,instance_npcname(strnpcinfo(0)));
1832         end;
1833         
1834 OnTalk2:
1835         if ('GMT_1QUE == 22) {
1836                 npctalk "The final match of Group A is finished~! Congratulations "+'charname$+"!"; 
1837         }
1838         else {
1839                 npctalk "The "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" match of Group A is finished~! Congratulations "+'charname$+"!"; 
1840                 sleep 6000;
1841                 npctalk "You may take some time to heal your wounds.";
1842                 sleep 6000;
1843                 npctalk "Please speak with the Tournament Guide when you are ready for the next round.";
1844                 sleep 3000;
1845         }
1846         switch ('GMT_1QUE) {
1847         case 11:
1848         case 12:
1849         case 14:
1850         case 15:
1851         case 17:
1852         case 18:
1853         case 20:
1854         case 21:
1855                 break;
1856         case 13:
1857                 npctalk "Fenris Fenrir has 3 consecutive victories in Group B~!";
1858                 sleep 3000;
1859                 break;
1860         case 16:
1861                 npctalk "Okay~! There is news from Group B!";
1862                 sleep 3000;
1863                 npctalk "While all of the other competitors are doing their best,";
1864                 sleep 3000;
1865                 npctalk "Fenrir is taking the tournament by storm, and has won 5 consecutive matches!";
1866                 sleep 1000;
1867                 break;
1868         case 19:
1869                 npctalk "This is getting exciting! More news from Group B!";
1870                 sleep 3000;
1871                 npctalk "Fenris Fenrir is continuing her reign of dominance~! Those in Group A better beware!";
1872                 sleep 2000;
1873                 break;
1874         case 22:
1875                 npctalk "Group B has completed their 12th match as well~!";
1876                 sleep 3000;
1877                 npctalk "Have you heard of Tetra Vortex? There is a competitor using this mysterious spell!";
1878                 sleep 3000;
1879                 npctalk "Her name is none other than Fenris Fenrir!";
1880                 sleep 3000;
1881                 npctalk "The final match of this tournament is bound to be challenging!";
1882                 sleep 1000;
1883                 break;
1884         }
1885         hideoffnpc instance_npcname("Tournament Guide#gefMT");
1886         hideoffnpc instance_npcname("Geffen Academy Master");
1887         hideoffnpc instance_npcname("Tournament Healer#1");
1888         end;
1889
1890 OnTalk3:
1891         npctalk "The Final Round has started! Let's get it on!";
1892         end;
1893 OnTalk4:
1894         npctalk "The Final Match of this year's Geffen Magic Tournament is finished~!";
1895         sleep 3000;
1896         npctalk "Everyone! Thank you for supporting the Geffen Magic Tournament~!!";
1897         sleep 3000;
1898         npctalk "This year's Geffen Magic Tournament Champion is "+'charname$+"~!!";
1899         donpcevent instance_npcname("#FireworksControl")+"::OnWin";
1900         end;
1901
1902 OnInstanceInit:
1903         hideonnpc instance_npcname("Tournament Guide#gefMT");
1904         disablenpc instance_npcname("Arhi#1");
1905         disablenpc instance_npcname("Dio Anemos#1");
1906         disablenpc instance_npcname("Geffen Gangster#n1");
1907         disablenpc instance_npcname("Geffen Bully#n1");
1908         disablenpc instance_npcname("Geffen Shoplifter#n1");
1909         disablenpc instance_npcname("Faymont#1");
1910         disablenpc instance_npcname("Ordre#1");
1911         disablenpc instance_npcname("Blut Hase#1");
1912         disablenpc instance_npcname("Kuro Akuma#1");
1913         disablenpc instance_npcname("Ifodes#1");
1914         disablenpc instance_npcname("Licheniyes#1");
1915         disablenpc instance_npcname("Odoric#1");
1916         disablenpc instance_npcname("Ju#1");
1917         disablenpc instance_npcname("Dwigh#1");
1918         disablenpc instance_npcname("Fay Kanavian#1");
1919         disablenpc instance_npcname("Fenrir#f");
1920         end;
1921         
1922 OnMobDead:
1923         end;
1924         
1925 }
1926
1927 1@ge_st,1,1,1   script  #GMTcontroller  -1,{
1928         end;
1929 OnStart:
1930         .@map$ = instance_mapname("1@ge_st");
1931         .@label$ = instance_npcname("#GMTcontroller")+"::OnMobDead";
1932         'timeout = 180;
1933         if ('GMT_1QUE == 23) 'timeout = 300;
1934         mapannounce .@map$, "<Magic Tournament Broadcast>: Time limit is " + ('timeout / 60) + " minutes.",bc_blue; sleep 2000;
1935         mapannounce .@map$, "<Magic Tournament Broadcast>: Ready... Set...",bc_blue; sleep 2000;
1936         mapannounce .@map$, "<Magic Tournament Broadcast>: Fight!",bc_blue;
1937         
1938         donpcevent instance_npcname("#FireworksControl")+"::OnTurn";
1939         initnpctimer;
1940         
1941         switch ('GMT_1QUE) {
1942                 case 11:
1943                         hideonnpc instance_npcname("Arhi#1");
1944                         'BossID = monster(.@map$,114,50,"--ja--",2549,1,.@label$);
1945                         break;
1946                 case 12:
1947                         hideonnpc instance_npcname("Dio Anemos#1");
1948                         'BossID = monster(.@map$,114,50,"--ja--",2550,1,.@label$);
1949                         break;
1950                 case 13:
1951                         if ('GMTQuest == 1) {
1952                                 hideonnpc instance_npcname("Geffen Gangster#n1");
1953                                 'BossID = monster(.@map$,114,50,"--ja--",2553,1,.@label$);
1954                         } else if ('GMTQuest == 2) {
1955                                 hideonnpc instance_npcname("Geffen Bully#n1");
1956                                 'BossID = monster(.@map$,114,50,"--ja--",2552,1,.@label$);
1957                         } else {
1958                                 hideonnpc instance_npcname("Geffen Shoplifter#n1");
1959                                 'BossID = monster(.@map$,114,50,"--ja--",2551,1,.@label$);
1960                         }
1961                         break;
1962                 case 14:
1963                         hideonnpc instance_npcname("Faymont#1");
1964                         'BossID = monster(.@map$,114,50,"--ja--",2554,1,.@label$);
1965                         break;
1966                 case 15:
1967                         hideonnpc instance_npcname("Ordre#1");
1968                         'BossID = monster(.@map$,114,50,"--ja--",2555,1,.@label$);
1969                         break;
1970                 case 16:
1971                         hideonnpc instance_npcname("Blut Hase#1");
1972                         'BossID = monster(.@map$,114,50,"--ja--",2556,1,.@label$);
1973                         break;
1974                 case 17:
1975                         hideonnpc instance_npcname("Kuro Akuma#1");
1976                         'BossID = monster(.@map$,114,50,"--ja--",2557,1,.@label$);
1977                         break;
1978                 case 18:
1979                         hideonnpc instance_npcname("Ifodes#1");
1980                         'BossID = monster(.@map$,114,50,"--ja--",2558,1,.@label$);
1981                         break;
1982                 case 19:
1983                         hideonnpc instance_npcname("Licheniyes#1");
1984                         'BossID = monster(.@map$,114,50,"--ja--",2559,1,.@label$);
1985                         break;
1986                 case 20:
1987                         hideonnpc instance_npcname("Odoric#1");
1988                         'BossID = monster(.@map$,114,50,"--ja--",2560,1,.@label$);
1989                         break;
1990                 case 21:
1991                         hideonnpc instance_npcname("Ju#1");
1992                         'BossID = monster(.@map$,114,50,"--ja--",2561,1,.@label$);
1993                         break;
1994                 case 22:
1995                         if ('half) {
1996                                 hideonnpc instance_npcname("Dwigh#1");
1997                                 'BossID = monster(.@map$,114,50,"--ja--",2562,1,.@label$);
1998                         }
1999                         else {
2000                                 hideonnpc instance_npcname("Fay Kanavian#1");
2001                                 'BossID = monster(.@map$,114,50,"--ja--",2563,1,.@label$);
2002                                 donpcevent instance_npcname("#GMTHomun")+"::OnSummon";
2003                         }
2004                         
2005                         break;
2006                 case 23:
2007                         hideonnpc instance_npcname("Fenrir#f");
2008                         'BossID = monster(.@map$,114,50,"--ja--",2564,1,.@label$);
2009                         donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk3";
2010                         end;
2011         }
2012                 
2013         donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk1";
2014         end;
2015 OnTimeout:
2016         end;
2017 OnMobDead:
2018         'timeout_exit = 1;
2019         
2020         switch ('GMT_1QUE) {
2021                 case 11: donpcevent instance_npcname("Arhi#1")+"::OnDefeat"; break;
2022                 case 12: donpcevent instance_npcname("Dio Anemos#1")+"::OnDefeat"; break;
2023                 case 13:
2024                         if ('GMTQuest == 1) { donpcevent instance_npcname("Geffen Gangster#n1")+"::OnDefeat"; }
2025                         else if ('GMTQuest == 2) { donpcevent instance_npcname("Geffen Bully#n1")+"::OnDefeat"; }
2026                         else { donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnDefeat"; }
2027                         break;
2028                 case 14: donpcevent instance_npcname("Faymont#1")+"::OnDefeat"; break;
2029                 case 15: donpcevent instance_npcname("Ordre#1")+"::OnDefeat"; break;
2030                 case 16: donpcevent instance_npcname("Blut Hase#1")+"::OnDefeat"; break;
2031                 case 17: donpcevent instance_npcname("Kuro Akuma#1")+"::OnDefeat"; break;
2032                 case 18: donpcevent instance_npcname("Ifodes#1")+"::OnDefeat"; break;
2033                 case 19: donpcevent instance_npcname("Licheniyes#1")+"::OnDefeat"; break;
2034                 case 20: donpcevent instance_npcname("Odoric#1")+"::OnDefeat"; break;
2035                 case 21: donpcevent instance_npcname("Ju#1")+"::OnDefeat"; break;
2036                 case 22:
2037                         if ('half) {
2038                                 donpcevent instance_npcname("Dwigh#1")+"::OnDefeat";
2039                         }
2040                         else {
2041                                 donpcevent instance_npcname("Fay Kanavian#1")+"::OnDefeat";
2042                                 donpcevent instance_npcname("#GMTHomun")+"::OnEnd";
2043                         }
2044                         
2045                         break;
2046                 case 23:
2047                         donpcevent instance_npcname("Fenrir#f")+"::OnDefeat";
2048                         donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk4";
2049                         end;
2050         }
2051         
2052         mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: "+'charname$+" has won the round!",bc_blue;
2053         donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk2";
2054         end;
2055 OnTimer1000:
2056         'timeout--;
2057         
2058         if ('timeout_exit) {
2059                 'timeout_exit = 0;
2060                 stopnpctimer;
2061                 end;
2062         }
2063         
2064         switch('timeout) {
2065                 case 240: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 4 minutes, this match is getting heated!",bc_blue; break;
2066                 case 180: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 3 minutes, the match has gotten extremely heated!",bc_blue; break;
2067                 case 120: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 2 minutes, we're racing towards the end!",bc_blue; break;
2068                 case  90: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 1 minute 30 seconds, the bout is halfway over!",bc_blue; break;
2069                 case  60: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 1 minute, the end of the match is nearing!",bc_blue; break;
2070                 case  30: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 30 seconds, turn coming to an end!",bc_blue; break;
2071                 case  10: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 10 seconds remaining!",bc_blue; break;
2072                 case   5: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 5!",bc_blue; break;
2073                 case   4: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 4!",bc_blue; break;
2074                 case   3: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 3!",bc_blue; break;
2075                 case   2: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 2!",bc_blue; break;
2076                 case   1: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 1!",bc_blue; break;
2077                 case   0:
2078                         stopnpctimer;
2079                         donpcevent instance_npcname("#GMTcontroller") + "::OnTimeout2";
2080                         end;
2081         }
2082         
2083         initnpctimer;
2084         end;
2085 OnTimeout2:
2086         mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time's up! The judges will decide the victor for this round!",bc_blue;  
2087         
2088         setcell instance_mapname("1@ge_st"), 50, 50, 50, 50, cell_walkable, 1;
2089         unitwarp 'BossID, instance_mapname("1@ge_st"), 50, 50;
2090         killmonster instance_mapname("1@ge_st"), instance_npcname("#GMTcontroller")+"::OnTimeout";
2091         'BossID = 0;
2092         
2093         if ('HomID) {
2094                 killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
2095                 killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
2096                 'HomID = 0;
2097         }
2098         
2099         sleep 3000;
2100         hideoffnpc instance_npcname("Geffen Academy Master");
2101 //      npctalk "The votes are in... And the winner is...",instance_npcname("Geffen Academy Master");
2102 //      sleep 1500;
2103         npctalk "1st judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
2104         sleep 1500;
2105         npctalk "2nd judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
2106         sleep 1500;
2107         npctalk "3rd judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
2108         sleep 1500;
2109         
2110         switch ('GMT_1QUE) {
2111                 case 11:
2112                         enablenpc instance_npcname("Arhi#1");
2113                         donpcevent instance_npcname("Arhi#1")+"::OnVictory";
2114                         .@defeat$ = "The Novice, Arhi!";
2115                         break;
2116                 case 12:
2117                         enablenpc instance_npcname("Dio Anemos#1");
2118                         donpcevent instance_npcname("Dio Anemos#1")+"::OnVictory";
2119                         .@defeat$ = "The Magician Apprentice, Dio Anemos!";
2120                         break;
2121                 case 13:
2122                         if ('GMTQuest == 1) {
2123                                 enablenpc instance_npcname("Geffen Gangster#n1");
2124                                 donpcevent instance_npcname("Geffen Gangster#n1")+"::OnVictory";
2125                                 .@defeat$ = "Geffen Gangster!";
2126                         } else if ('GMTQuest == 2) {
2127                                 enablenpc instance_npcname("Geffen Bully#n1");
2128                                 donpcevent instance_npcname("Geffen Bully#n1")+"::OnVictory";
2129                                 .@defeat$ = "Gefen Bully!";
2130                                 break;
2131                         } else {
2132                                 enablenpc instance_npcname("Geffen Shoplifter#n1");
2133                                 donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnVictory";
2134                                 .@defeat$ = "Geffen Shoplifter!";
2135                                 break;
2136                         }
2137                         break;
2138                 case 14:
2139                         enablenpc instance_npcname("Faymont#1");
2140                         donpcevent instance_npcname("Faymont#1")+"::OnVictory";
2141                         .@defeat$ = "Prontera's pride and style, Feymont!";
2142                         break;
2143                 case 15:
2144                         enablenpc instance_npcname("Ordre#1");
2145                         donpcevent instance_npcname("Ordre#1")+"::OnVictory";
2146                         .@defeat$ = "Self proclaimed Master of Battle, Ordre!";
2147                         break;
2148                 case 16:
2149                         enablenpc instance_npcname("Blut Hase#1");
2150                         donpcevent instance_npcname("Blut Hase#1")+"::OnVictory";
2151                         .@defeat$ = "Bloody Rabbit Ears~!! Blut Hase!";
2152                         break;
2153                 case 17:
2154                         enablenpc instance_npcname("Kuro Akuma#1");
2155                         donpcevent instance_npcname("Kuro Akuma#1")+"::OnVictory";
2156                         .@defeat$ = "The Devil's Tooth! Kuro Akuma!";
2157                         break;
2158                 case 18:
2159                         enablenpc instance_npcname("Ifodes#1");
2160                         donpcevent instance_npcname("Ifodes#1")+"::OnVictory";
2161                         .@defeat$ = "The Maniac of Rune Mindgard! Ifodes!";
2162                         break;
2163                 case 19:
2164                         enablenpc instance_npcname("Licheniyes#1");
2165                         donpcevent instance_npcname("Licheniyes#1")+"::OnVictory";
2166                         .@defeat$ = "The Lady of Death! Licheniyes!";
2167                         break;
2168                 case 20:
2169                         enablenpc instance_npcname("Odoric#1");
2170                         donpcevent instance_npcname("Odoric#1")+"::OnVictory";
2171                         .@defeat$ = "The Songstress of Death! Odoric!";
2172                         break;
2173                 case 21:
2174                         enablenpc instance_npcname("Ju#1");
2175                         donpcevent instance_npcname("Ju#1")+"::OnVictory";
2176                         .@defeat$ = "Master of power and speed! Ju!";
2177                         break;
2178                 case 22:
2179                         if ('half) {
2180                                 enablenpc instance_npcname("Dwigh#1");
2181                                 donpcevent instance_npcname("Dwigh#1")+"::OnVictory";
2182                                 .@defeat$ = "Commander of battle and wits! Dwigh!";
2183                                 break;
2184                         } else {
2185                                 enablenpc instance_npcname("Fay Kanavian#1");
2186                                 donpcevent instance_npcname("Fay Kanavian#1")+"::OnVictory";
2187                                 .@defeat$ = "Fay Kanavian and her homunculus Alphonse!";
2188                                 
2189                                 if ('HomID) {
2190                                         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
2191                                         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
2192                                         'HomID = 0;
2193                                 }
2194                                 break;
2195                         }
2196                         break;
2197                 case 23:
2198                         enablenpc instance_npcname("Fenrir#f");
2199                         donpcevent instance_npcname("Fenrir#f")+"::OnVictory";
2200                         .@defeat$ = "The Blue Wizard! Fenris Fenrir~!!";
2201                         break;
2202         }
2203         
2204         npctalk "The winner of the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" match in Group A by judge's decision is...! "+.@defeat$, "Geffen Academy Master";
2205         sleep 1500;
2206         //donpcevent instance_npcname("#DEATHGMT")+"::OnLoseRound";
2207         npctalk "Give a warm round of applause to the losing competitor.", "Geffen Academy Master";
2208         sleep 1500;
2209         npctalk "Defeated competitors please leave the arena!", "Geffen Academy Master";
2210         sleep 3000;
2211         movenpc instance_npcname("#gefmagic_warp02"),120,213;
2212         movenpc instance_npcname("#invisGMTquests"),120,61;
2213         
2214         donpcevent instance_npcname("Fenrir#e1")+"::OnEnable";
2215         donpcevent instance_npcname("Chaos#e1")+"::OnEnable";
2216         donpcevent instance_npcname("Iris#e1")+"::OnEnable";
2217         donpcevent instance_npcname("Lydia#e1")+"::OnEnable";
2218         donpcevent instance_npcname("Loki#e1")+"::OnEnable";
2219         end;
2220         
2221 OnStop:
2222         stopnpctimer;
2223         end;
2224 }
2225
2226 1@ge_st,1,1,1   script  #GMTHomun       HIDDEN_NPC,{
2227 end;
2228
2229 OnSummon:
2230         initnpctimer;
2231         'HomID = monster (instance_mapname("1@ge_st"), 114,50,"--ja--",2565,1, instance_npcname("#GMTHomun")+"::OnHomDead");
2232         end;
2233
2234 OnTimer10000:
2235         if (!'BossID) {
2236                 stopnpctimer;
2237                 disablenpc instance_npcname("#GMTHomun");
2238                 end;
2239         }
2240         
2241         initnpctimer;
2242         
2243         if ('HomID != 0) {
2244                 getunitdata 'BossID,.@bossdata;
2245                 getunitdata 'HomID,.@homdata;
2246                         if (distance(.@bossdata[6],.@bossdata[7],.@homdata[6],.@homdata[7]) > 10) {
2247                                 unittalk 'BossID,"Alphonse, come!";
2248                                 sleep 500;
2249                                 unitwarp 'HomID, instance_mapname("1@ge_st"),.@bossdata[6],.@bossdata[7];
2250                         }
2251         }
2252         else {
2253                 if (mobcount(instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR")) { end; }
2254                 getunitdata 'BossID,.@bossdata;
2255                 unittalk 'BossID, "Alphonse, I'll revive you!";
2256                 areamonster instance_mapname("1@ge_st"),.@bossdata[6]-2,.@bossdata[7]-2,.@bossdata[6]+2,.@bossdata[7]+2,"--ja--",2566,3,instance_npcname("#GMTHomun")+"::OnHomJR";
2257         }
2258         end;
2259
2260 OnHomDead:
2261         initnpctimer;
2262         'HomID = 0;
2263         end;
2264
2265 OnHomJR:
2266         end;
2267
2268 OnEnd:
2269         stopnpctimer;
2270         if ('HomID) { 
2271                 killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
2272                 killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
2273         }
2274         disablenpc instance_npcname("#GMTHomun");
2275         end;
2276 }
2277
2278
2279 1@ge_st,111,57,4        script  Tournament Healer#1     569,{ //83649 (hide) 
2280         mes "[ Tournament Healer ]";
2281         mes "The previous round's winner can receive a heal from me.";
2282         next;
2283                 if (select ("Heal", "Cancel") == 2) {
2284                         mes "[ Tournament Healer ]";
2285                         mes "Guess you don't need to be healed.";
2286                         close;
2287                 }
2288         mes "[ Tournament Healer ]";
2289         mes "Enjoy.";
2290         mes "Good luck on the next round!";
2291         percentheal 100,100;
2292         specialeffect2 312;
2293         close2;
2294         hideonnpc instance_npcname("Tournament Healer#1"); // 83649
2295         end;
2296 OnInstanceInit:
2297         hideonnpc instance_npcname("Tournament Healer#1");
2298         end;
2299 }
2300
2301 1@ge_st,1,1,1   script  #FireworksControl       -1,{
2302 end;
2303 OnStart:
2304         initnpctimer;
2305                 for ( .@i = 11; .@i <= 20; .@i++ ) {
2306                         specialeffect .effect[rand(3)], AREA, instance_npcname("#fireworks_" +.@i);
2307                 }
2308         end;
2309 OnTimer6000:
2310         initnpctimer;
2311                 for ( .@i = 0; .@i < 5; .@i++) {
2312                         specialeffect .effect[rand(3)], AREA, instance_npcname("#fireworks_" + rand(11,20));
2313                 }
2314         end;
2315
2316 OnTurn:
2317         stopnpctimer;
2318         end;
2319
2320 OnWin:
2321         for ( .@i = 1; .@i <= 5; .@i++ ) {
2322                 specialeffect 90, AREA, instance_npcname("#fireworks_f" + .@i);
2323         }
2324         sleep 3000;
2325         for ( .@i = 1; .@i <= 5; .@i++ ) {
2326                 specialeffect 62, AREA, instance_npcname("#fireworks_f" + .@i);
2327         }
2328         sleep 500;
2329         for ( .@i = 1; .@i <= 5; .@i++ ){
2330                 specialeffect 89, AREA, instance_npcname("#fireworks_f" + .@i);
2331         }
2332         sleep 3000;
2333         for ( .@i = 1; .@i <= 5; .@i++ ) {
2334                 specialeffect 237, AREA, instance_npcname("#fireworks_f" + .@i);
2335         }
2336         end;
2337 OnInstanceInit:
2338         setarray .effect, 30, 89, 92;
2339         end;
2340 }
2341
2342 1@ge_st,102,42,0        script  #fireworks_11   139,{ end; }
2343 1@ge_st,100,60,0        duplicate(#fireworks_11)        #fireworks_12   139
2344 1@ge_st,109,60,0        duplicate(#fireworks_11)        #fireworks_13   139
2345 1@ge_st,118,60,0        duplicate(#fireworks_11)        #fireworks_14   139
2346 1@ge_st,126,59,0        duplicate(#fireworks_11)        #fireworks_15   139
2347 1@ge_st,126,37,0        duplicate(#fireworks_11)        #fireworks_16   139
2348 1@ge_st,118,36,0        duplicate(#fireworks_11)        #fireworks_17   139
2349 1@ge_st,109,36,0        duplicate(#fireworks_11)        #fireworks_18   139
2350 1@ge_st,100,36,0        duplicate(#fireworks_11)        #fireworks_19   139
2351 1@ge_st,92,37,0 duplicate(#fireworks_11)        #fireworks_20   139
2352 1@ge_st,112,52,0        duplicate(#fireworks_11)        #fireworks_f1   139
2353 1@ge_st,112,42,0        duplicate(#fireworks_11)        #fireworks_f2   139
2354 1@ge_st,102,52,0        duplicate(#fireworks_11)        #fireworks_f3   139
2355 1@ge_st,102,52,0        duplicate(#fireworks_11)        #fireworks_f4   139
2356 1@ge_st,102,42,0        duplicate(#fireworks_11)        #fireworks_f5   139
2357
2358 1@ge_st,1,1,1   script  #Talkcontrol    -1,{
2359 end;
2360
2361 OnStart:
2362         'Talkcounter = 0;
2363         initnpctimer;
2364         end;
2365
2366 OnTimer5000:
2367         'Talkcounter++;
2368         if ('Talkcounter <4)
2369         initnpctimer;
2370 OnRndtalk:
2371         .@iter = rand(1,3);
2372         for (.@i = 0; .@i <.@iter ;.@i++) {
2373         .@group = rand(30);
2374         if (.@group <18) {
2375                 showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
2376                 showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
2377         } else if (.@group <23) {
2378                 showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
2379         } else {
2380                 .@id = rand(getarraysize('tourist$));
2381                 showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
2382         }
2383         sleep rand(2,5) * 100;
2384         }
2385         end;
2386
2387 OnTimer13000:
2388         stopnpctimer;
2389         .@iter = rand(1,3);
2390                 for ( .@i = 0; .@i <.@iter; .@i++ ) {
2391                         .@group = rand(30);
2392                         
2393                                 if ( .@group <18) {
2394                                         showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
2395                                         showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
2396                                 } else if (.group <23) {
2397                                         showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
2398                                 } else {
2399                                         .@id = rand(getarraysize('tourist$));
2400                                         showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
2401                                 }
2402                                         
2403         
2404                         sleep rand(2,5)*100;
2405                 }
2406         end;
2407
2408 OnInstanceInit:
2409         setarray 'audience$,
2410                 "Tournament Spectator : I've been watiing for this round!",
2411                 "Tournament Spectator : Hope this round's an interesting match up!",
2412                 "Tournament Spectator : Oh! Ah! Oh! Ah!",
2413                 "Tournament Spectator : Oooh, finally started!",
2414                 "Tournament Spectator : Start already! Fight! Come on, start!",
2415                 "Tournament Spectator : Is this that guy's first time? I feel he's very powerful, ah!",
2416                 "Tournament Spectator : Who do you think will win?",
2417                 "Tournament Spectator : Come on, start!",
2418                 "Tournament Spectator : Get it on already!",
2419                 "Tournament Spectator : I feel like I'm in danger...",
2420                 "Tournament Spectator : I'm counting on that "+('sex ? "guy" : "girl")+" to lose!",
2421                 "Tournament Spectator : Gotta feel sorry for that guy! Come on!",
2422                 "Tournament Spectator : He's terrific! You've got this! Come on!",
2423                 "Tournament Spectator : I'm having such a great time here!",
2424                 "Tournament Spectator : Come on!~~",
2425                 "Tournament Spectator : Let's see what you've got "+'charname$+"!",
2426                 "Tournament Spectator : He's probably going to lose this round.",
2427                 "Tournament Spectator : This contest has a lot of good participants.",
2428                 "Tournament Spectator : Do not be afraid, come on!",
2429                 "Tournament Spectator : Almost to start huh?",
2430                 "Tournament Spectator : Even just watching this is fun!",
2431                 "Tournament Spectator : My hands are sweating...",
2432                 "Tournament Spectator : Come on let's go!";
2433
2434         setarray 'student$,
2435                 "Magic Academy Student: Ya~ Hoo~",
2436                 "Magic Academy Student: Wow, I'm so nervous!",
2437                 "Magic Academy Student: Both of you please! Come on!";
2438
2439         setarray 'tourist$,
2440                 " : Oh, the atmosphere's starting to heat up...",
2441                 " : This is so energizing!",
2442                 " : There's no Payon contestants are there?",
2443                 " : The atmosphere here is great!",
2444                 " : Oooh! Come on!",
2445                 " : These participants are so energetic!",
2446                 " : Good thing too...",
2447                 " : Don't lose too quickly! Oh!~";
2448
2449         setarray 'touristname$,
2450                 "Prontera Spectator#a1",
2451                 "Prontera Spectator#a2",
2452                 "Payon Spectator#a1",
2453                 "Payon Spectator#a2",
2454                 "Alberta Spectator#a1",
2455                 "Alberta Spectator#a2",
2456                 "Veins Spectator#a1",
2457                 "Comodo Spectator#a1";
2458                 
2459         setarray 'touristname2$,
2460                 "Prontera Spectator",
2461                 "Prontera Spectator",
2462                 "Payon Spectator",
2463                 "Payon Spectator",
2464                 "Alberta Spectator",
2465                 "Alberta Spectator",
2466                 "Veins Spectator",
2467                 "Comodo Spectator";
2468                 end;
2469
2470 }
2471
2472 1@ge_st,106,62,6        script  Loki#a2 512,{}
2473 1@ge_st,108,62,6        script  Chaos#a2        683,{}
2474 1@ge_st,111,62,4        script  Iris#a2 666,{}
2475 1@ge_st,112,62,4        script  Lydia#a2        10010,{}
2476
2477 // ================================================================
2478 // Rivals
2479 // ================================================================
2480 1@ge_st,114,50,4        script  Arhi#1  670,{
2481 end;
2482
2483 OnActivate:
2484         enablenpc instance_npcname("Arhi#1");
2485         npctalk "The first match always makes me nervous~!";
2486         sleep 2000;
2487         npctalk "Can I win?";
2488         sleep 3000;
2489         npctalk "I guess it will be okay, this "+('sex ? "guy" : "girl")+" seems weak.";
2490         sleep 3000;
2491         npctalk "Okay, just relax~!";
2492         sleep 3000;
2493         npctalk "Ah... Finally, It's going to start soon!";
2494         sleep 3000;
2495         npctalk "Just relax~!";
2496         sleep 2000;
2497         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2498         end;
2499
2500 OnDefeat:
2501         hideoffnpc instance_npcname("Arhi#1");
2502         sleep 1000;
2503         npctalk "Ah... I lost the first match...";
2504         sleep 3000;
2505         npctalk "How can I face my family...";
2506         sleep 3000;
2507         npctalk "So shameful...";
2508         sleep 3000;
2509         npctalk "Ah... My friends will laugh at me...";
2510         sleep 3000;
2511         npctalk "Sob...";
2512         sleep 1000;     
2513         hideonnpc instance_npcname("Arhi#1");
2514         sleep 1000;
2515         movenpc instance_npcname("Arhi#z1_0et"),145,125;
2516         hideoffnpc instance_npcname("Tournament Guide#gefMT");
2517         disablenpc instance_npcname("Arhi#1");
2518         end;
2519         
2520 OnVictory:
2521         hideoffnpc instance_npcname("Arhi#1");
2522         sleep 1000;
2523         npctalk "I knew I would win!";
2524         sleep 3000;
2525         npctalk "I'm so relieved!";
2526         sleep 3000;
2527         npctalk "I was able to beat a weak competitior.";
2528         sleep 3000;
2529         npctalk "Yahoo!";
2530         sleep 5000;
2531         instance_warpall instance_mapname("1@gef"),120,61;
2532         end;
2533         
2534 }
2535
2536 1@ge_st,114,50,4        script  Dio Anemos#1    669,{
2537 end;
2538
2539 OnActivate:
2540         npctalk "Second round huh...";
2541         sleep 2000;
2542         npctalk "You look like a weak competitor.";
2543         sleep 3000;
2544         npctalk "I think I've got a good chance against you.";
2545         sleep 3000;
2546         npctalk "I wish the match would start already...";
2547         sleep 3000;
2548         npctalk "If I finish it quickly maybe I can go buy some cookies!";
2549         sleep 3000;
2550         npctalk "Okay then let's start!";
2551         sleep 2000;
2552         npctalk "Boring...",instance_npcname("Loki#a2");
2553         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2554         end;
2555
2556 OnDefeat:
2557         hideoffnpc instance_npcname("Dio Anemos#1");
2558         sleep 1000;
2559         npctalk "Oh my god....";
2560         sleep 2000;
2561         npctalk "I lost...";
2562         sleep 2000;
2563         npctalk "Ah... and to this random loser too...";
2564         sleep 3000;
2565         npctalk "My skills have gotten worse...";
2566         sleep 3000;
2567         npctalk "This is so sad...";
2568         sleep 2000;
2569         npctalk "Ahhhh! Why?...";
2570         sleep 1000;
2571         hideonnpc instance_npcname("Dio Anemos#1");
2572         sleep 1000;
2573         movenpc instance_npcname("Dio Anemos#z1_0et"),91,117;
2574         disablenpc instance_npcname("Dio Anemos#1");
2575         end;
2576         
2577 OnVictory:
2578         hideoffnpc instance_npcname("Dio Anemos#1");
2579         sleep 1000;
2580         npctalk "Phew... That was easy.";
2581         sleep 3000;
2582         npctalk "You should go home and ask your mommy to feed you!";
2583         sleep 3000;
2584         npctalk "Ha ha ha ha~!!!!";
2585         sleep 3000;
2586         npctalk "Time to get ready for my next match.";
2587         sleep 5000;
2588         instance_warpall instance_mapname("1@gef"),120,61;
2589         end;
2590         
2591 }
2592
2593 1@ge_st,114,50,4        script  Geffen Gangster#n1      682,{
2594 end;
2595
2596 OnActivate:
2597         npctalk "Hmmm, you're that kid from before...";
2598         sleep 3000;
2599         npctalk "I've got a lesson to teach you!";
2600         sleep 3000;
2601         npctalk "It's my turn to beat you!";
2602         sleep 3000;
2603         npctalk "First I'll take care of you, and then I'll go back for that Kafra...";
2604         sleep 3000;
2605         npctalk "Watcha got punk?!";
2606         sleep 3000;
2607         npctalk "Prepare to die!";
2608         sleep 2000;
2609         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2610         end;
2611
2612 OnDefeat:
2613         hideoffnpc instance_npcname("Geffen Gangster#n1");
2614         sleep 1000;
2615         npctalk "I was defeated! This doesn't make any sense!";
2616         sleep 2000;
2617         npctalk "I can't believe I lost to you!";
2618         sleep 3000;
2619         npctalk "To be embarrassed in front of the Kafra with the luscious legs...!";
2620         sleep 3000;
2621         npctalk "Sob.. This can't be happening!";
2622         sleep 2000;
2623         npctalk "I shouldn't have to go through this depression alone!";
2624         sleep 2000;
2625         npctalk "I'll have to go to see the Kafra gal' in Prontera hu-hu-hu...";
2626         sleep 1000;
2627         hideonnpc instance_npcname("Geffen Gangster#n1");
2628         sleep 1000;
2629         disablenpc instance_npcname("Geffen Gangster#n1");
2630         end;
2631         
2632 OnVictory:
2633         hideoffnpc instance_npcname("Geffen Gangster#n1");
2634         sleep 1000;
2635         npctalk "This is my real ability!";
2636         sleep 3000;
2637         npctalk "Hu hu... That... Kafra...!";
2638         sleep 3000;
2639         npctalk "I want to go back to my Kafra~!!";
2640         sleep 3000;
2641         npctalk "Hu hu hu hu hu...";
2642         sleep 5000;
2643         instance_warpall instance_mapname("1@gef"),120,61;
2644         end;
2645 }
2646
2647 1@ge_st,114,50,4        script  Geffen Bully#n1 681,{
2648 end;
2649
2650 OnActivate:
2651         npctalk "Just you wait, you'll be immediately disabled!";
2652         sleep 3000;
2653         npctalk "I will beat you down today!";
2654         sleep 3000;
2655         npctalk "Give me your zeny!";
2656         sleep 3000;
2657         npctalk "I'll send you crying home!";
2658         sleep 3000;
2659         npctalk "I will make you experience my 20 years of bullying.";
2660         sleep 3000;
2661         npctalk "You're dead!";
2662         sleep 2000;
2663         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2664         end;
2665
2666 OnDefeat:
2667         hideoffnpc instance_npcname("Geffen Bully#n1");
2668         sleep 1000;
2669         npctalk "I can't believe you beat me...";
2670         sleep 3000;
2671         npctalk "It can't be!";
2672         sleep 3000;
2673         npctalk "This can't be! I only wanted to get more zeny!";
2674         sleep 3000;
2675         npctalk "Now I'll be the laughing stock of all of Geffen!";
2676         sleep 3000;
2677         npctalk "Ah! Ahhh!! It can't be!!!";
2678         sleep 1000;
2679         hideonnpc instance_npcname("Geffen Bully#n1");
2680         sleep 1000;
2681         disablenpc instance_npcname("Geffen Bully#n1");
2682         end;
2683         
2684 OnVictory:
2685         hideoffnpc instance_npcname("Geffen Bully#n1");
2686         sleep 1000;
2687         npctalk "You! Hou much zeny do you have left?";
2688         sleep 3000;
2689         npctalk "You messed with me once before!";
2690         sleep 3000;
2691         npctalk "And now I've left you speechless!";
2692         sleep 3000;
2693         npctalk "Never show your face in Geffen again!";
2694         sleep 5000;
2695         instance_warpall instance_mapname("1@gef"),120,61;
2696         end;
2697         
2698 }
2699
2700 1@ge_st,114,50,4        script  Geffen Shoplifter#n1    671,{
2701 end;
2702
2703 OnActivate:
2704         npctalk "There are so many people gathered here.";
2705         sleep 3000;
2706         npctalk "I thought there'd be something good to steal here";
2707         sleep 3000;
2708         npctalk "But I can't steal anything because of all the attention it'll cause.";
2709         sleep 3000;
2710         npctalk "Ah... This is no good...";
2711         sleep 2000;
2712         npctalk "I guess I'll just participate in the tournament...";
2713         sleep 2000;
2714         npctalk "Well~! Let's win anyway!";
2715         sleep 2000;
2716         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2717         end;
2718
2719 OnDefeat:
2720         hideoffnpc instance_npcname("Geffen Shoplifter#n1");
2721         sleep 1000;
2722         npctalk "Oh my god... I was defeated.";
2723         sleep 2000;
2724         npctalk "I have been spending too much time stealing.";
2725         sleep 2000;
2726         npctalk "My battle power has been reduced.";
2727         sleep 3000;
2728         npctalk "Ah... It can't be...";
2729         sleep 2000;
2730         npctalk "I'll need to train more if I want to keep my position as Guild Leader...";
2731         sleep 3000;
2732         npctalk "Fine, I'm outta here!";
2733         sleep 1000;
2734         hideonnpc instance_npcname("Geffen Shoplifter#n1");
2735         sleep 1000;
2736         disablenpc instance_npcname("Geffen Shoplifter#n1");
2737         end;
2738         
2739 OnVictory:
2740         hideoffnpc instance_npcname("Geffen Shoplifter#n1");
2741         sleep 1000;
2742         npctalk "I know, I'm really good.";
2743         sleep 3000;
2744         npctalk "Okay! Time to keep winning~!!";
2745         sleep 3000;
2746         npctalk "I should take as many rewards as possible~!";
2747         sleep 3000;
2748         npctalk "You should go home~ Bye~!";
2749         sleep 5000;
2750         instance_warpall instance_mapname("1@gef"),120,61;
2751         end;
2752 }
2753
2754 1@ge_st,114,50,4        script  Faymont#1       672,{
2755 end;
2756
2757 OnActivate:
2758         enablenpc instance_npcname("Faymont#1");
2759         npctalk "Well would you look at that... this competitor seems...";
2760         sleep 2000;
2761         npctalk "Like he's just gotten lucky up until now!";
2762         sleep 3000;
2763         npctalk "I really don't want to get my hands dirty.";
2764         sleep 3000;
2765         npctalk "I'll handle this in a sophisticated way...";
2766         sleep 3000;
2767         npctalk "Ahem... Looks like we're about to start now.";
2768         sleep 3000;
2769         npctalk "Maybe if I finish this quickly, I can buy that new headdress...";
2770         npctalk "Come on!", instance_npcname("Prontera Spectator#a1");
2771         sleep 2000;
2772         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2773         end;
2774
2775 OnDefeat:
2776         hideoffnpc instance_npcname("Faymont#1");
2777         sleep 1000;
2778         npctalk "How could... How could I lose?!...";
2779         sleep 2000;
2780         npctalk "And to the one "+('sex ? "guy" : "girl")+" with no taste...";
2781         sleep 2000;
2782         npctalk "How shameful...";
2783         sleep 2000;
2784         npctalk "My fans will be disappointed at me for losing...";
2785         sleep 3000;
2786         npctalk "Ahh.... What's the quickest way out of here?";
2787         sleep 3000;
2788         npctalk "I can't show my face around here any longer...";
2789         sleep 1000;
2790         hideonnpc instance_npcname("Faymont#1");
2791         sleep 1000;
2792         movenpc instance_npcname("Faymont#z1_0et"),53,90;
2793         disablenpc instance_npcname("Faymont#1");
2794         end;
2795         
2796 OnVictory:
2797         hideoffnpc instance_npcname("Faymont#1");
2798         sleep 1000;
2799         npctalk "Can you see the difference between you and me? Noble and shallow.";
2800         sleep 3000;
2801         npctalk "This tournament is pointless.";
2802         sleep 3000;
2803         npctalk "What kind of shallow man will I have to fight with next?";
2804         sleep 3000;
2805         npctalk "No matter, I'll just prepare for the next match.";
2806         sleep 5000;
2807         instance_warpall instance_mapname("1@gef"),120,61;
2808         end;
2809 }
2810
2811 1@ge_st,114,50,4        script  Ordre#1 673,{
2812 end;
2813
2814 OnActivate:
2815         enablenpc instance_npcname("Ordre#1");
2816         npctalk "One! Two! One! Two!";
2817         sleep 2000;
2818         npctalk "Let's climb the ladder one step at a time!";
2819         sleep 2000;
2820         npctalk "I've been training so hard!";
2821         sleep 3000;
2822         npctalk "I'm not about to give up now!";
2823         sleep 3000;
2824         npctalk "I can't lose after coming so far";
2825         sleep 3000;
2826         npctalk "Now~! Let's do our best for those in the audience!";
2827         sleep 3000;
2828         npctalk "Shall we begin?";
2829         npctalk "What? Is this really the level of competition?",instance_npcname("Chaos#a2");
2830         sleep 2000;
2831         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2832         end;
2833
2834 OnDefeat:
2835         hideoffnpc instance_npcname("Ordre#1");
2836         sleep 1000;
2837         npctalk "Defeated...";
2838         sleep 2000;
2839         npctalk "I need more practice...";
2840         sleep 2000;
2841         npctalk "I need more training...";
2842         sleep 3000;
2843         npctalk "I'll train twice as hard as before!";
2844         sleep 3000;
2845         npctalk "I must start over.";
2846         sleep 2000;
2847         npctalk "Let's go.";
2848         sleep 1000;
2849         hideonnpc instance_npcname("Ordre#1");
2850         sleep 1000;
2851         movenpc instance_npcname("Ordre#z1_0et"),85,68;
2852         disablenpc instance_npcname("Ordre#1");
2853         end;
2854         
2855 OnVictory:
2856         hideoffnpc instance_npcname("Ordre#1");
2857         sleep 1000;
2858         npctalk "I won!";
2859         sleep 3000;
2860         npctalk "As long as you try... you can get what you want!";
2861         sleep 3000;
2862         npctalk "Let's show respect to this competition!";
2863         sleep 3000;
2864         npctalk "I'm ready for the next match!!";
2865         sleep 5000;
2866         instance_warpall instance_mapname("1@gef"),120,61;
2867         end;
2868 }
2869
2870
2871 1@ge_st,114,50,4        script  Blut Hase#1     674,{
2872 end;
2873
2874 OnActivate:
2875         npctalk "You've gotten this far.";
2876         sleep 2000;
2877         npctalk "I imagine by now the rest of the competitors are quite strong";
2878         sleep 3000;
2879         npctalk "But I did not build my reputation for nothing!";
2880         sleep 3000;
2881         npctalk "Fear my Bunny Band!";
2882         sleep 3000;
2883         npctalk "You are but an obstacle in my way!";
2884         sleep 1000;
2885         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
2886         sleep 2000;
2887         npctalk "You will be sacrificed on my path to victory!";
2888         sleep 1000;
2889         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
2890         sleep 1000;
2891         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2892         end;
2893
2894 OnDefeat:
2895         hideoffnpc instance_npcname("Blut Hase#1");
2896         sleep 1000;
2897         npctalk "I will not lose!";
2898         sleep 1000;
2899         npctalk "My reputation... My popularity...";
2900         sleep 3000;
2901         npctalk "I will lose them both...";
2902         sleep 3000;
2903         npctalk "I cannot accept this result!";
2904         sleep 3000;
2905         npctalk "I will regain my reputation!";
2906         sleep 2000;
2907         npctalk "Next time I will be the winner!";
2908         sleep 1000;
2909         hideonnpc instance_npcname("Blut Hase#1");
2910         sleep 1000;
2911         movenpc instance_npcname("Blut Hase#z1_0et"),111,62;
2912         disablenpc instance_npcname("Blut Hase#1");
2913         end;
2914         
2915 OnVictory:
2916         hideoffnpc instance_npcname("Blut Hase#1");
2917         sleep 1000;
2918         npctalk "In terms of reputation or popularity...";
2919         sleep 3000;
2920         npctalk "It was impossible for me to lose!";
2921         sleep 3000;
2922         npctalk "I will be known as Ultra Rabbit's Blood instead of Rabbit's Bloody Ear now!";
2923         sleep 3000;
2924         npctalk "Ha ha ha ha ha~!!";
2925         sleep 5000;
2926         instance_warpall instance_mapname("1@gef"),120,61;
2927         end;
2928 }
2929
2930 1@ge_st,114,50,4        script  Kuro Akuma#1    675,{
2931 end;
2932 OnActivate:
2933         npctalk "Finally the 7th game has started ~!";
2934         sleep 2000;
2935         npctalk "You've never met anyone as evil as me ~!";
2936         sleep 3000;
2937         npctalk "You are lucky~!";
2938         sleep 3000;
2939         npctalk "This will be a good experience for you~!";
2940         sleep 3000;
2941         npctalk "Nobody who's faced me has ever survived~!";
2942         sleep 3000;
2943         npctalk "I will destroy you if I must~!";
2944         sleep 1000;
2945         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
2946         sleep 1000;
2947         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
2948         end;
2949
2950 OnDefeat:
2951         hideoffnpc instance_npcname("Kuro Akuma#1");
2952         sleep 1000;
2953         npctalk "Oh my god...";
2954         sleep 3000;
2955         npctalk "I am The Devil's Tooth...";
2956         sleep 2000;
2957         npctalk "And I have lost this match...";
2958         sleep 3000;
2959         npctalk "Yach, yikes, ah, ah, ah! Yikes ah, ah, ah!!";
2960         sleep 3000;
2961         npctalk "I can't lose! I'll have my revenge!";
2962         sleep 2000;
2963         hideonnpc instance_npcname("Kuro Akuma#1");
2964         sleep 1000;
2965         movenpc instance_npcname("Kuro Akuma#z1_0et"),104,42;
2966         disablenpc instance_npcname("Kuro Akuma#1");
2967         end;
2968         
2969 OnVictory:
2970         hideoffnpc instance_npcname("Kuro Akuma#1");
2971         sleep 1000;
2972         npctalk "How is it~! My Power~!";
2973         sleep 3000;
2974         npctalk "I took pity on you and decided not to send you to hell~!";
2975         sleep 3000;
2976         npctalk "You should appreciate that!";
2977         sleep 3000;
2978         npctalk "Now, I shall prepare for my next match~!";
2979         sleep 5000;
2980         instance_warpall instance_mapname("1@gef"),120,61;
2981         end;
2982         
2983 }
2984
2985 1@ge_st,114,50,4        script  Ifodes#1        676,{
2986 end;
2987 OnActivate:
2988         npctalk "At long last, the 8th game has started.";
2989         sleep 3000;
2990         npctalk "No one can pierce my defenses!";
2991         sleep 3000;
2992         npctalk "But I can surely get past yours.";
2993         sleep 2000;
2994         npctalk "Therefore, you stand no chance!";
2995         sleep 2000;
2996         npctalk "Once the match has started, your laughter will turn into tears!";
2997         sleep 2000;
2998         npctalk "Shall we start?";
2999         sleep 1000;
3000         donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
3001         sleep 1000;
3002         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3003         end;
3004
3005 OnDefeat:
3006         hideoffnpc instance_npcname("Ifodes#1");
3007         sleep 1000;
3008         npctalk "I will not lose this tournament!";
3009         sleep 3000;
3010         npctalk "This is nonsense.";
3011         sleep 2000;
3012         npctalk "How could this happen?";
3013         sleep 3000;
3014         npctalk "I can't understand!";
3015         sleep 3000;
3016         npctalk "Arrgggh!";
3017         sleep 2000;
3018         hideonnpc instance_npcname("Ifodes#1");
3019         sleep 1000;
3020         movenpc instance_npcname("Ifodes#z1_0et"),115,66;
3021         disablenpc instance_npcname("Ifodes#1");
3022         end;
3023         
3024 OnVictory:
3025         hideoffnpc instance_npcname("Ifodes#1");
3026         sleep 1000;
3027         npctalk "You can't penetrate my defense!";
3028         sleep 3000;
3029         npctalk "You can't even protect yourself from my powerful attacks!";
3030         sleep 3000;
3031         npctalk "Wahahaha~!!";
3032         sleep 5000;
3033         instance_warpall instance_mapname("1@gef"),120,61;
3034         end;
3035         
3036 }
3037
3038 1@ge_st,114,50,4        script  Licheniyes#1    677,{
3039 end;
3040 OnActivate:
3041         npctalk "Ho ho ho~!!";
3042         sleep 3000;
3043         npctalk "The competitor of the 9th match looks scary~!";
3044         sleep 3000;
3045         npctalk "You don't scare me though~!";
3046         sleep 2000;
3047         npctalk "I'm a lady~!";
3048         sleep 2000;
3049         npctalk "But once this match starts...!";
3050         sleep 2000;
3051         npctalk "*Giggling*... I will bite you!";
3052         sleep 1000;
3053         npctalk "good horror players ...", instance_npcname("Payon Spectator#a1");
3054         sleep 1000;
3055         npctalk "Do not be afraid ah, dark horse contestant!", instance_npcname("Prontera Spectator#a1");
3056         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3057         end;
3058
3059 OnDefeat:
3060         hideoffnpc instance_npcname("Licheniyes#1");
3061         sleep 1000;
3062         npctalk "You try to beat me with cruelty, a lady like me...";
3063         sleep 3000;
3064         npctalk "I am very sad...";
3065         sleep 2000;
3066         npctalk "Sob...";
3067         sleep 3000;
3068         npctalk "But, next time we meet...";
3069         sleep 3000;
3070         npctalk "I will destroy you with little effort!";
3071         sleep 1000;
3072         hideonnpc instance_npcname("Licheniyes#1");
3073         sleep 1000;
3074         movenpc instance_npcname("Licheniyes#z1_0et"),137,53;
3075         disablenpc instance_npcname("Licheniyes#1");
3076         end;
3077         
3078 OnVictory:
3079         hideoffnpc instance_npcname("Licheniyes#1");
3080         sleep 1000;
3081         npctalk "Oh ho ho ho~~! I knew I would win~!";
3082         sleep 3000;
3083         npctalk "Oh my! Oh my! I am very sorry~!";
3084         sleep 3000;
3085         npctalk "Ah, Ah~ I need to prepare next match!";
3086         sleep 3000;
3087         npctalk "I'm so giddy to find out who I'm up against next!~";
3088         sleep 5000;
3089         instance_warpall instance_mapname("1@gef"),120,61;
3090         end;
3091         
3092 }
3093
3094 1@ge_st,114,50,4        script  Odoric#1        678,{
3095 end;
3096 OnActivate:
3097         npctalk "Lu lu~ What a fun tournament!";
3098         sleep 3000;
3099         npctalk "Dance~ Dance~ Bewitching dance~!";
3100         sleep 3000;
3101         npctalk "Everyone is mesmerized by my magical dance!";
3102         sleep 3000;
3103         npctalk "You will be captured by my charm~!";
3104         sleep 2000;
3105         npctalk "Now, feast on my magical dance!";
3106         sleep 2000;
3107         npctalk "Lah, Lah, Lah, Lah~~!";
3108         sleep 1000;
3109         npctalk "How beautiful!", instance_npcname("Veins Spectator#a1");
3110         sleep 1000;
3111         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3112         end;
3113
3114 OnDefeat:
3115         hideoffnpc instance_npcname("Odoric#1");
3116         sleep 1000;
3117         npctalk "Sob...";
3118         sleep 3000;
3119         npctalk "I lost, even though I did my best...";
3120         sleep 2000;
3121         npctalk "My charming poses...";
3122         sleep 3000;
3123         npctalk "They didn't work... Sob...";
3124         sleep 3000;
3125         npctalk "I'm so sad that I lost here...";
3126         sleep 2000;
3127         npctalk "I have to leave~!";
3128         sleep 1000;
3129         hideonnpc instance_npcname("Odoric#1");
3130         sleep 1000;
3131         movenpc instance_npcname("Odoric#z1_0et"),158,63;
3132         disablenpc instance_npcname("Odoric#1");
3133         end;
3134         
3135 OnVictory:
3136         hideoffnpc instance_npcname("Odoric#1");
3137         sleep 1000;
3138         npctalk "Even you... Against my fascinating dance moves...";
3139         sleep 3000;
3140         npctalk "You're nothing special~!!";
3141         sleep 3000;
3142         npctalk "You did a good job getting to this point~!!";
3143         sleep 3000;
3144         npctalk "I need to get ready for my next match now~";
3145         sleep 5000;
3146         instance_warpall instance_mapname("1@gef"),120,61;
3147         end;
3148         
3149 }
3150
3151 1@ge_st,114,50,4        script  Ju#1    679,{
3152 end;
3153 OnActivate:
3154         npctalk "Another match has started...";
3155         sleep 3000;
3156         npctalk "A real battle is a serious matter...";
3157         sleep 3000;
3158         npctalk "It is something to be feared!";
3159         sleep 3000;
3160         npctalk "All of these novices who spent their time only training";
3161         sleep 3000;
3162         npctalk "They will never know the true meaning of battle!";
3163         sleep 3000;
3164         npctalk "I will make sure to handle them as fast as possible.";
3165         sleep 3000;
3166         npctalk "My heart is beating so fast! I'm so nervous!",instance_npcname("Lydia#a2");
3167         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3168         end;
3169
3170 OnDefeat:
3171         hideoffnpc instance_npcname("Ju#1");
3172         sleep 1000;
3173         npctalk "Sob... defeated...";
3174         sleep 3000;
3175         npctalk "You're stronger than I thought...";
3176         sleep 3000;
3177         npctalk "You must have experienced many cruel battles.";
3178         sleep 3000;
3179         npctalk "Sob... Victory was the only thing in my mind...";
3180         sleep 3000;
3181         npctalk "I wish you luck on your following matches.";
3182         sleep 3000;
3183         npctalk "You better not lose after defeating me!";
3184         sleep 2000;
3185         hideonnpc instance_npcname("Ju#1");
3186         sleep 1000;
3187         movenpc instance_npcname("Ju#z1_0et"),178,91;
3188         disablenpc instance_npcname("Ju#1");
3189         end;
3190         
3191 OnVictory:
3192         hideoffnpc instance_npcname("Ju#1");
3193         sleep 1000;
3194         npctalk "This is not a game.";
3195         sleep 3000;
3196         npctalk "This is real battle.";
3197         sleep 3000;
3198         npctalk "Yeahhhh !!";
3199         sleep 3000;
3200         npctalk "The real game is battle!";
3201         sleep 5000;
3202         instance_warpall instance_mapname("1@gef"),120,61;
3203         end;
3204         
3205 }
3206
3207 1@ge_st,114,50,4        script  Dwigh#1 680,{
3208 end;
3209 OnActivate:
3210         npctalk "Semi-Finals huh...";
3211         sleep 2000;
3212         npctalk "I can see the end...";
3213         sleep 3000;
3214         npctalk "You must be a decent fighter, making it all the way here...";
3215         sleep 3000;
3216         npctalk "But I came to here for my students.";
3217         sleep 3000;
3218         npctalk "People who are important to me are watching this battle!";
3219         sleep 3000;
3220         npctalk "Wow, teacher!",instance_npcname("Magic Academy Student#22");
3221         npctalk "Teacher, show 'em what you've got!",instance_npcname("Magic Academy Student#3");
3222         npctalk "What a great teacher, I want to be like her!",instance_npcname("Magic Academy Student#4");
3223         sleep 2000;
3224         npctalk "I can't imagine teacher losing here~!",instance_npcname("Magic Academy Student#1");
3225         npctalk "Everyone cheer loudly for our teacher!",instance_npcname("Magic Academy Student#5");
3226         sleep 2000;
3227         npctalk "I can't lose in front of my students!";
3228         sleep 2000;
3229         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3230         sleep 1000;
3231         npctalk "Ahh!~ Go teacher~!!",instance_npcname("Magic Academy Student#5");
3232         sleep 1000;
3233         npctalk "Go! Go! Teacher~!!",instance_npcname("Magic Academy Student#22");
3234         npctalk "Teacher! She's the one~!!",instance_npcname("Magic Academy Student#3");
3235         npctalk "If she can't do it~!!",instance_npcname("Magic Academy Student#4");
3236         npctalk "No one can~!!",instance_npcname("Magic Academy Student#1");
3237         npctalk "Teacher~!!",instance_npcname("Magic Academy Student#5");
3238         end;
3239
3240 OnDefeat:
3241         hideoffnpc instance_npcname("Dwigh#1");
3242         sleep 1000;
3243         npctalk "If I had just won one more game, I could have been in the finals...";
3244         sleep 3000;
3245         npctalk "I'm ashamed for losing in front of my students...";
3246         sleep 3000;
3247         npctalk "But the competition was too strong.";
3248         sleep 3000;
3249         npctalk "I admit defeat.";
3250         sleep 3000;
3251         npctalk "According to my students, Fenrir's strength should still be above me, I wish you luck.";
3252         sleep 2000;
3253         hideonnpc instance_npcname("Dwigh#1");
3254         sleep 1000;
3255         movenpc instance_npcname("Dwigh#z1_0et"),120,98;
3256         disablenpc instance_npcname("Dwigh#1");
3257         end;
3258         
3259 OnVictory:
3260         hideoffnpc instance_npcname("Dwigh#1");
3261         sleep 1000;
3262         npctalk "Ugh... It was a tough match.";
3263         sleep 3000;
3264         npctalk "But I am happy to have won.";
3265         sleep 3000;
3266         npctalk "I will do my best for my students.";
3267         sleep 3000;
3268         npctalk "I have just one more match to win!";
3269         sleep 5000;
3270         instance_warpall instance_mapname("1@gef"),120,61;
3271         end;
3272         
3273 }
3274
3275 1@ge_st,114,50,4        script  Fay Kanavian#1  665,{
3276 end;
3277 OnActivate:
3278         enablenpc instance_npcname("#paycanatalk");
3279         end;
3280 OnDefeat:
3281         hideoffnpc instance_npcname("Fay Kanavian#1");
3282         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
3283         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
3284         enablenpc instance_npcname("#paycanatalk2");
3285         end;
3286
3287 OnTalk1:
3288     cutin "paycana_a", 2;
3289     npctalk "You~ I've never heard about you before~!";
3290     sleep2 4000;
3291     npctalk "You must know, all of the spectators are cheering for me!";
3292     sleep2 4000;
3293     npctalk "If you want to keep your life you should run now~!";
3294     sleep2 4000;
3295     npctalk "Unless you want to experience the strength of my masterpiece, Alphonse!";
3296     sleep2 4000;
3297     npctalk "You HAVE seen my Alphonse, right?";
3298     sleep2 4000;
3299     donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
3300     sleep2 1000;
3301     npctalk "Once this match starts, you will see his full power!";
3302     sleep2 2000;
3303     cutin "", 255;
3304         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3305         end;
3306
3307 OnTalk2:
3308     cutin "paycana_b ", 2;
3309     npctalk "I actually lost...";
3310     sleep2 3000;
3311     npctalk "Alphonse... I gave you my heart and soul...";
3312     sleep2 3000;
3313     npctalk "I was supposed to make it to the finals...";
3314     sleep2 3000;
3315     npctalk "And face Fenris Fenrir...";
3316     sleep2 3000;
3317     npctalk "I wanted to fight her so bad!";
3318     sleep2 2000;
3319     cutin "", 255;
3320         hideonnpc instance_npcname("Fay Kanavian#1");
3321         sleep 1000;
3322         movenpc instance_npcname("Fay Kanavian#z1_0et"),117,72;
3323         disablenpc instance_npcname("Fay Kanavian#1");
3324         end;
3325         
3326 OnVictory:
3327         hideoffnpc instance_npcname("Fay Kanavian#1");
3328         sleep 1000;
3329         npctalk "My abilities are amazing~!";
3330         sleep 3000;
3331         npctalk "This tournament is but a game to me, and not at all important.";
3332         sleep 3000;
3333         npctalk "But Fenrir has reached the finals by winning every single round...";
3334         sleep 3000;
3335         npctalk "I will defeat her and win this tournament!";
3336         sleep 5000;
3337         instance_warpall instance_mapname("1@gef"),120,61;
3338         end;
3339         
3340 }
3341
3342 1@ge_st,108,50,4        script  #paycanatalk    139,25,25,{
3343 end;
3344
3345 OnTouch:
3346     doevent instance_npcname("Fay Kanavian#1")+"::OnTalk1";
3347     disablenpc instance_npcname("#paycanatalk");
3348     end;
3349
3350 OnInstanceInit:
3351     disablenpc instance_npcname("#paycanatalk");
3352     end;
3353
3354 }
3355
3356 1@ge_st,108,50,4        script  #paycanatalk2   139,25,25,{
3357 end;
3358
3359 OnTouch_:
3360     doevent instance_npcname("Fay Kanavian#1")+"::OnTalk2";
3361     disablenpc instance_npcname("#paycanatalk2");
3362     end;
3363
3364 OnInstanceInit:
3365     disablenpc instance_npcname("#paycanatalk2");
3366     end;
3367
3368 }
3369
3370 1@ge_st,114,50,4        script  Fenrir#f        664,{
3371     end;
3372 OnActivate:
3373     enablenpc instance_npcname("#fenrirtalk");
3374     end;
3375 OnDefeat:
3376     hideoffnpc instance_npcname("Fenrir#f");
3377     enablenpc instance_npcname("#fenrirtalk2");
3378     end;
3379
3380 OnTalk1:
3381     cutin "fenrir_b", 1;
3382     npctalk "The final match...";
3383     sleep2 1000;
3384     npctalk "Fenrir is going to win without a doubt~!", instance_npcname("Payon Spectator#a1");
3385     sleep2 1000;
3386     npctalk "I am Fenris Fenrir.";
3387     sleep2 1000;
3388     npctalk "Hey, do your best!",instance_npcname("Iris#a2");
3389     sleep2 2000;
3390     npctalk "You... made it here.";
3391     sleep2 2000;
3392     npctalk "I am sure that this will be a hard fought match.";
3393     sleep2 1000;
3394     npctalk "Wow! I'm so excited!",instance_npcname("Lydia#a2");
3395     npctalk "Fenrir, please give me an autograph!", instance_npcname("Prontera Spectator#a2");
3396     sleep2 2000;
3397     npctalk "I will do my best to fight you fairly.";
3398         sleep2 2000;
3399     npctalk "Then, should we start the final match?";
3400     cutin "", 255;
3401         donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
3402         end;
3403
3404 OnTalk2:
3405     cutin "fenrir_a", 1;
3406     npctalk "Uh... I am defeated.";
3407     sleep2 2000;
3408     npctalk "How did you get to be so strong?";
3409     sleep2 3000;
3410     npctalk "I am completely defeated...";
3411     sleep2 3000;
3412     npctalk "This world is full of surprises...";
3413     sleep2 3000;
3414     npctalk "Congratulations on your victory "+'charname$+".";
3415     sleep2 2000;
3416     npctalk "However, next time, I won't lose!";
3417     sleep2 2000;
3418     cutin "", 255;
3419     changequest 9307,9308;
3420     warp instance_mapname("1@ge_st"), 109,50;
3421         donpcevent instance_npcname("#win")+"::OnEnable";
3422         movenpc instance_npcname("#gefmagic_warp02"),120,213;
3423         end;
3424         
3425 OnVictory:
3426         hideoffnpc instance_npcname("Fenrir#f");
3427         sleep 1000;
3428         npctalk "Thank you~ It was a good match.";
3429         sleep 3000;
3430         npctalk "It feels good to be the winner.";
3431         sleep 3000;
3432         npctalk "I hope to see you again.";
3433         sleep 3000;
3434         npctalk "I have to go... My friends are waiting for me.";
3435         sleep 5000;
3436         instance_warpall instance_mapname("1@gef"),120,61;
3437         end;
3438         
3439 }
3440
3441 1@ge_st,108,50,4        script  #fenrirtalk     139,25,25,{
3442 end;
3443
3444 OnTouch:
3445     doevent instance_npcname("Fenrir#f")+"::OnTalk1";
3446     disablenpc instance_npcname("#fenrirtalk");
3447     end;
3448
3449 OnInstanceInit:
3450     disablenpc instance_npcname("#fenrirtalk");
3451     end;
3452
3453 }
3454
3455 1@ge_st,108,50,4        script  #fenrirtalk2    139,25,25,{
3456 end;
3457
3458 OnTouch_:
3459     doevent instance_npcname("Fenrir#f")+"::OnTalk2";
3460     disablenpc instance_npcname("#fenrirtalk2");
3461     end;
3462
3463 OnInstanceInit:
3464     disablenpc instance_npcname("#fenrirtalk2");
3465     end;
3466
3467 }
3468
3469 1@ge_st,1,1,1   script  #win    CLEAR_NPC,{
3470 end;
3471
3472 OnEnable:
3473         disablenpc instance_npcname("Fenrir#f");
3474         movenpc instance_npcname("Arhi#q1"), 104, 53;
3475         movenpc instance_npcname("Dio Anemos#q1"), 100, 49;
3476         movenpc instance_npcname("Faymont#q1"), 102, 46;
3477         movenpc instance_npcname("Ordre#q1"), 104, 44;
3478         movenpc instance_npcname("Blut Hase#q1"), 112, 45;
3479         movenpc instance_npcname("Kuro Akuma#q1"), 116, 46;
3480         movenpc instance_npcname("Ifodes#q1"), 115, 53;
3481         movenpc instance_npcname("Licheniyes#q1"), 116, 49;
3482         movenpc instance_npcname("Odoric#q1"), 112, 53;
3483         movenpc instance_npcname("Ju#q1"), 109, 54;
3484         movenpc instance_npcname("Dwigh#q1"), 106, 50;
3485         movenpc instance_npcname("Fay Kanavian#q1"), 107, 48;
3486         movenpc instance_npcname("Fenrir#q1"), 112, 50;
3487         hideoffnpc instance_npcname("Tournament Guide#gefMT");
3488         hideoffnpc instance_npcname("Geffen Academy Master");
3489         sleep 1000;
3490         npctalk "The other contestants want to congratulate you on winning as well!",instance_npcname("Fenrir#q1");
3491         end;
3492
3493 OnInstanceInit:
3494 end;
3495 }
3496
3497 1@ge_st,1,1,6   script  Arhi#q1 670,{
3498         switch(rand(1,2)){
3499                 case 1:
3500                         showscript "Arhi : Tsk, I will come back when I get stronger!",getnpcid(0);//DONE
3501                         break;
3502                 case 2:
3503                         showscript "Arhi : Congratulations~!",getnpcid(0);//DONE
3504                         break;
3505         }
3506         end;
3507 }
3508 1@ge_st,1,1,6   script  Dio Anemos#q1   669,{
3509         
3510                 switch(rand(1,2)){
3511                 case 1:
3512                         showscript "Dio Anemos : I'm suddenly really hungry...",getnpcid(0);//DONE
3513                         break;
3514                 case 2:
3515                         showscript "Dio Anemos : Congratulations~! It is your treat~!",getnpcid(0);//DONE
3516                         break;
3517         }
3518         end;
3519 }
3520 1@ge_st,1,1,0   script  Faymont#q1      672,{
3521         showscript "Faymont : Awesome fighting ability!",getnpcid(0);//DONE
3522         end;
3523 }
3524 1@ge_st,1,1,0   script  Ordre#q1        673,{
3525         switch(rand(1,2)){
3526                 case 1:
3527                         showscript "Ordre : Simply amazing!",getnpcid(0);//DONE
3528                         break;
3529                 case 2:
3530                         showscript "Ordre : I can only imagine how long you have trained yourself to become this strong.",getnpcid(0);//DONE
3531                         break;
3532         }       
3533         end;
3534 }
3535 1@ge_st,1,1,2   script  Blut Hase#q1    674,{
3536         switch(rand(1,2)){
3537                 case 1:
3538                         showscript "Blut Hase : You must be famous, right?",getnpcid(0);//DONE
3539                         break;
3540                 case 2:
3541                         showscript "Blut Hase : Well... Congratulations anyway...",getnpcid(0);//DONE
3542                         break;
3543         }       
3544         end;
3545 }
3546 1@ge_st,1,1,2   script  Kuro Akuma#q1   675,{
3547         showscript "Kuro Akuma : So... very strong...",getnpcid(0);//DONE
3548         end;
3549 }
3550 1@ge_st,1,1,4   script  Ifodes#q1       676,{
3551         switch(rand(1,2)){
3552                 case 1:
3553                         showscript "Ifodes : Your talents suit your chivalry.",getnpcid(0);//DONE
3554                         break;
3555                 case 2:
3556                         showscript "Ifodes : You were great competition. Congratulations!",getnpcid(0);//DONE
3557                         break;
3558         }       
3559         end;
3560 }
3561 1@ge_st,1,1,4   script  Licheniyes#q1   677,{
3562         showscript "Licheniyes : Awesome victory~!",getnpcid(0);//DONE
3563         end;
3564 }
3565 1@ge_st,1,1,4   script  Odoric#q1       678,{
3566         switch(rand(1,2)){
3567                 case 1:
3568                         showscript "Odoric : Simply amazing.",getnpcid(0);//DONE
3569                         break;
3570                 case 2:
3571                         showscript "Odoric : Congratulations on your victory~!",getnpcid(0);//DONE
3572                         break;
3573         }       
3574         end;
3575 }
3576 1@ge_st,1,1,4   script  Ju#q1   679,{
3577         switch(rand(1,2)){
3578                 case 1:
3579                         showscript "Ju : You... are... strong... I... won't... forget... you...",getnpcid(0);//DONE     
3580                         break;
3581                 case 2:
3582                         showscript "Ju : I've never lost before. But you are a worthy foe.",getnpcid(0);//DONE
3583                         break;
3584         }
3585         end;
3586 }
3587 1@ge_st,1,1,6   script  Dwigh#q1        680,{
3588         showscript "Dwigh : Really good fight, you've got exceptional strength!",getnpcid(0);
3589         end;
3590 }
3591 1@ge_st,1,1,0   script  Fay Kanavian#q1 665,{
3592         switch(rand(1,2)){
3593                 case 1:
3594                         showscript "Fay Kanavian : I didn't think that Fenrir would lose...",getnpcid(0);//DONE
3595                         break;
3596                 case 2:
3597                         showscript "Fay Kanavian : Next time we fight, Alphonse will be stronger!",getnpcid(0);//DONE
3598                         break;
3599         }
3600         end;
3601 }
3602 1@ge_st,1,1,4   script  Fenrir#q1       664,{
3603         switch(rand(1,2)){
3604                 case 1:
3605                         showscript "Fenrir : All of my colleagues are so excited about your victory. They are eager to meet you.",getnpcid(0);//DONE
3606                         break;
3607                 case 2:
3608                         showscript "Fenrir : You defeated me in a fair fight. You are very strong.",getnpcid(0);//DONE
3609                         break;
3610         }       
3611         end;
3612 }
3613
3614 -       script  #EVT_GMT        -1,{
3615 OnPCDieEvent:
3616         if (strcharinfo(3) == "1@ge_st" || strcharinfo(3) == instance_mapname("1@ge_st") ) {
3617                 dispbottom "You've fallen! You have 10 seconds to get up or the match will be over!";
3618                 sleep2 10000;
3619                 if (Hp >= 1) {
3620                         end; 
3621                 }
3622                 if (Hp == 0) {
3623                         instance_warpall instance_mapname("1@ge_st"),104,50;
3624                         donpcevent instance_npcname("#DEATHGMT")+"::OnLoseRound";
3625                         donpcevent instance_npcname("#GMTcontroller")+"::OnStop";
3626                         end;
3627                 }
3628         }
3629         
3630         end;
3631 }
3632
3633 1@ge_st,1,1,1   script  #DEATHGMT       -1,{
3634         end;
3635 OnInstanceInit:
3636         enablenpc instance_npcname("#DEATHGMT");
3637         end;
3638         
3639 OnLoseRound:
3640         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTcontroller")+"::OnMobDead";
3641         movenpc instance_npcname("#gefmagic_warp02"),120,213;
3642         movenpc instance_npcname("#invisGMTquests"),120,61;
3643         
3644         donpcevent instance_npcname("Fenrir#e1")+"::OnEnable";
3645         donpcevent instance_npcname("Chaos#e1")+"::OnEnable";
3646         donpcevent instance_npcname("Iris#e1")+"::OnEnable";
3647         donpcevent instance_npcname("Lydia#e1")+"::OnEnable";
3648         donpcevent instance_npcname("Loki#e1")+"::OnEnable";
3649         
3650                 
3651         switch ('GMT_1QUE) {
3652                 case 11:
3653                         .@defeat$ = "Arhi";
3654                         break;
3655                 case 12:
3656                         .@defeat$ = "Dio Anemos";
3657                         break;
3658                 case 13:
3659                         if ('GMTQuest == 1) {
3660                                 .@defeat$ = "Geffen Gangster";
3661                         }
3662                         else if ('GMTQuest == 2) {
3663                                 .@defeat$ = "Gefen Bully";
3664                         }
3665                         else {
3666                                 .@defeat$ = "Geffen Shoplifter";
3667                         }
3668                         break;
3669                 case 14:
3670                         .@defeat$ = "Feymont";
3671                         break;
3672                 case 15:
3673                         .@defeat$ = "Ordre";
3674                         break;
3675                 case 16:
3676                         .@defeat$ = "Blut Hase";
3677                         break;
3678                 case 17:
3679                         .@defeat$ = "Kuro Akuma";
3680                         break;
3681                 case 18:
3682                         .@defeat$ = "Ifodes";
3683                         break;
3684                 case 19:
3685                         .@defeat$ = "Licheniyes";
3686                         break;
3687                 case 20:
3688                         .@defeat$ = "Odoric";
3689                         break;
3690                 case 21:
3691                         .@defeat$ = "Ju";
3692                         break;
3693                 case 22:
3694                         if ('half) {
3695                                 .@defeat$ = "Dwigh";
3696                         } else {
3697                                 .@defeat$ = "Fay Kanavian";
3698                         }
3699                         break;
3700                 case 23:
3701                         .@defeat$ = "Fenrir";
3702                         break;
3703                 default:
3704                         break;
3705         }
3706         
3707         npctalk ""+.@defeat$+" has won the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" Round of Group A!",instance_npcname("Geffen Academy Master");
3708         
3709                 switch ('GMT_1QUE) {
3710                         case 11:
3711                                 enablenpc instance_npcname("Arhi#1");
3712                                 donpcevent instance_npcname("Arhi#1")+"::OnVictory";
3713                                 break;
3714                         case 12:
3715                                 enablenpc instance_npcname("Dio Anemos#1");
3716                                 donpcevent instance_npcname("Dio Anemos#1")+"::OnVictory";
3717                                 break;
3718                         case 13:
3719                                 if ('GMTQuest == 1) {
3720                                         enablenpc instance_npcname("Geffen Gangster#n1");
3721                                         donpcevent instance_npcname("Geffen Gangster#n1")+"::OnVictory";
3722                                         break;
3723                                 } else if ('GMTQuest == 2) {
3724                                         enablenpc instance_npcname("Geffen Bully#n1");
3725                                         donpcevent instance_npcname("Geffen Bully#n1")+"::OnVictory";
3726                                         break;
3727                                 } else {
3728                                         enablenpc instance_npcname("Geffen Shoplifter#n1");
3729                                         donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnVictory";
3730                                         break;
3731                                 }
3732                                 break;
3733                         case 14:
3734                                 enablenpc instance_npcname("Faymont#1");
3735                                 donpcevent instance_npcname("Faymont#1")+"::OnVictory";
3736                                 break;
3737                         case 15:
3738                                 enablenpc instance_npcname("Ordre#1");
3739                                 donpcevent instance_npcname("Ordre#1")+"::OnVictory";
3740                                 break;
3741                         case 16:
3742                                 enablenpc instance_npcname("Blut Hase#1");
3743                                 donpcevent instance_npcname("Blut Hase#1")+"::OnVictory";
3744                                 break;
3745                         case 17:
3746                                 enablenpc instance_npcname("Kuro Akuma#1");
3747                                 donpcevent instance_npcname("Kuro Akuma#1")+"::OnVictory";
3748                                 break;
3749                         case 18:
3750                                 enablenpc instance_npcname("Ifodes#1");
3751                                 donpcevent instance_npcname("Ifodes#1")+"::OnVictory";
3752                                 break;
3753                         case 19:
3754                                 enablenpc instance_npcname("Licheniyes#1");
3755                                 donpcevent instance_npcname("Licheniyes#1")+"::OnVictory";
3756                                 break;
3757                         case 20:
3758                                 enablenpc instance_npcname("Odoric#1");
3759                                 donpcevent instance_npcname("Odoric#1")+"::OnVictory";
3760                                 break;
3761                         case 21:
3762                                 enablenpc instance_npcname("Ju#1");
3763                                 donpcevent instance_npcname("Ju#1")+"::OnVictory";
3764                                 break;
3765                         case 22:
3766                                 if ('half) {
3767                                         enablenpc instance_npcname("Dwigh#1");
3768                                         donpcevent instance_npcname("Dwigh#1")+"::OnVictory";
3769                                         break;
3770                                 } else {
3771                                         enablenpc instance_npcname("Fay Kanavian#1");
3772                                         donpcevent instance_npcname("Fay Kanavian#1")+"::OnVictory";
3773                                         
3774                                                 if ('HomID) {
3775                                                         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
3776                                                         killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
3777                                                         'HomID = 0;
3778                                                 }
3779                                                 
3780                                         break;
3781                                 }
3782                                 break;
3783                         case 23:
3784                                 enablenpc instance_npcname("Fenrir#f");
3785                                 donpcevent instance_npcname("Fenrir#f")+"::OnVictory";
3786                                 break;
3787                 }
3788         
3789         end;
3790         
3791 }
3792
3793 1@gef,115,105,6 script  Loki#e1 4_M_ROKI2,{
3794         .@n$ = "[ Loki ]";
3795                 
3796         if(checkquest(9314) != -1) {
3797                 cutin "ep14_roki01.bmp", 2;
3798                 mes .@n$;
3799                 mes "That's a pretty good score.";
3800                 next;
3801                 mes .@n$;
3802                 mes "Please take this present.";
3803                 setarray .items,501,502,503,504,505,506,608,607;
3804                 getitem .items[rand(0,7)],1;
3805                 erasequest 9314;
3806                 cutin "", 255;
3807                 end;
3808         }
3809         
3810         cutin "ep14_roki01", 2;
3811         mes .@n$;
3812         mes "Let's take a rain check on our match.";
3813         mes "We'll fight next time we meet...";
3814         close2;
3815         cutin "", 255;
3816         end;
3817
3818 OnInstanceInit:
3819         hideonnpc instance_npcname(strnpcinfo(0));
3820         end;
3821         
3822 OnEnable:
3823         hideoffnpc instance_npcname(strnpcinfo(0));
3824         end;
3825         
3826 }
3827
3828 1@gef,117,108,6 script  Lydia#e1        4_F_LYDIA,{
3829
3830         .@n$ = "[ Lydia ]";
3831                 
3832         if(checkquest(9312) != -1) {
3833                 cutin "lydia_a.bmp",2;
3834                 mes .@n$;
3835                 mes "Good game~!";
3836                 next;
3837                 mes .@n$;
3838                 mes "I want to give you a reward even if you lost~!";
3839                 setarray .items,501,502,503,504,505,506,608,607;
3840                 getitem .items[rand(0,7)],1;
3841                 erasequest 9312;
3842                 cutin "", 255;
3843                 end;
3844         }
3845         cutin "lydia_a.bmp",2;
3846         mes .@n$;
3847         mes "I hope to see you again.";
3848         close2;
3849         cutin "", 255;
3850         end;
3851         
3852 OnInstanceInit:
3853         hideonnpc instance_npcname(strnpcinfo(0));
3854         end;
3855         
3856 OnEnable:
3857         hideoffnpc instance_npcname(strnpcinfo(0));
3858         end;
3859 }
3860
3861 1@gef,125,105,4 script  Iris#e1 4_F_IRIS,{
3862
3863         .@n$ = "[ Iris ]";
3864                 
3865         if(checkquest(9310) != -1) {
3866                 cutin "hero_iris_01.bmp",2;
3867                 mes .@n$;
3868                 mes "I enjoyed watching your round~";
3869                 mes "Bad luck this year huh?~";
3870                 mes "Wish you luck next year.";
3871                 next;
3872                 mes .@n$;
3873                 mes "Take this to cheer you up.";
3874                 setarray .items,501,502,503,504,505,506,608,607;
3875                 getitem .items[rand(0,7)],1;
3876                 erasequest 9310;
3877                 cutin "", 255;
3878                 end;
3879         }
3880         
3881         cutin "hero_iris_01.bmp",2;
3882         mes .@n$;
3883         mes "Think we'll meet again?";
3884         close2;
3885         cutin "", 255;
3886         end;
3887         
3888 OnInstanceInit:
3889         hideonnpc instance_npcname(strnpcinfo(0));
3890         end;
3891         
3892 OnEnable:
3893         hideoffnpc instance_npcname(strnpcinfo(0));
3894         end;
3895 }
3896
3897 1@gef,123,108,4 script  Chaos#e1        4_M_CHAOS,{
3898
3899         .@n$ = "[ Chaos ]";
3900         
3901                 if(checkquest(9311) != -1) {
3902                         cutin "hero_chaos_01.bmp",2;
3903                         mes .@n$;
3904                         mes "That was a good match~!";
3905                         mes "Not bad at all~!";
3906                         next;
3907                         mes .@n$;
3908                         mes "You have been very impressive today.";
3909                         mes "I want to give you a present~!";
3910                         setarray .items,501,502,503,504,505,506,608,607;
3911                         getitem .items[rand(0,7)],1;
3912                         erasequest 9311;
3913                         cutin "", 255;
3914                         end;
3915                 }
3916         cutin "hero_chaos_01.bmp",2;
3917         mes .@n$;
3918         mes "I hope to see you again next time~!";
3919         close2;
3920         cutin "", 255;
3921         end;
3922         
3923 OnInstanceInit:
3924         hideonnpc instance_npcname(strnpcinfo(0));
3925         end;
3926         
3927 OnEnable:
3928         hideoffnpc instance_npcname(strnpcinfo(0));
3929         end;
3930 }
3931
3932 1@gef,120,108,4 script  Fenrir#e1       4_F_FENRIR,{
3933
3934         .@n$ = "[ Fenrir ]";
3935         
3936         if(checkquest(9313) != -1) {
3937                 cutin "fenrir_a.bmp",2;
3938                 mes .@n$;
3939                 mes "It was a good game.";
3940                 mes "Hope you get farther next time.";
3941                 next;
3942                 mes .@n$;
3943                 mes "Take this gift.";
3944                 mes "Keep trying harder~!";
3945                 setarray .items,501,502,503,504,505,506,608,607;
3946                 getitem .items[rand(0,7)],1;
3947                 erasequest 9313;
3948                 cutin "", 255;
3949                 end;
3950         }
3951         cutin "fenrir_a.bmp",2;
3952         mes .@n$;
3953         mes "I hope to see you again adventurer!";
3954         close2;
3955         cutin "", 255;
3956         end;
3957         
3958 OnInstanceInit:
3959         hideonnpc instance_npcname(strnpcinfo(0));
3960         end;
3961         
3962 OnEnable:
3963         hideoffnpc instance_npcname(strnpcinfo(0));
3964         end;
3965 }
3966
3967 // Cutscenes
3968
3969
3970 //ϯϯϯϯϯϯϯϯϯ
3971 //   Event 1
3972 //__________________
3973 1@gef,159,172,6 duplicate(#gmt_dummy)   Geffen Gangster#1       682
3974 1@gef,160,176,6 duplicate(#gmt_dummy)   Geffen Gangster#3       682
3975 1@gef,164,175,6 duplicate(#gmt_dummy)   Geffen Gangster#2       682
3976 1@gef,168,170,6 duplicate(#gmt_dummy)   Geffen Gangster#11      682
3977 1@gef,167,169,6 duplicate(#gmt_dummy)   Geffen Gangster#22      682
3978 1@gef,166,168,6 duplicate(#gmt_dummy)   Geffen Gangster#33      682
3979 1@gef,170,168,4 duplicate(#gmt_dummy)   Iris#Gef1       666
3980 1@gef,169,167,2 duplicate(#gmt_dummy)   Kafra Employee#1        114
3981 1@gef,173,167,4 duplicate(#gmt_dummy)   Chaos#Gef1      683
3982 1@gef,168,168,4 duplicate(#gmt_dummy)   Chaos#Gef2      683
3983 1@gef,162,174,4 duplicate(#gmt_dummy)   Chaos#3 683
3984
3985 1@gef,166,168,0 script  #Event 1 start  139,7,7,{
3986         end;
3987 OnTouch:
3988         if ('gmt_event != 0) end;
3989         if('OnTouchOnce1) end;
3990         set 'OnTouchOnce1,1;
3991         hideonnpc instance_npcname("#Event 1 start");
3992         disablenpc instance_npcname("#Event 1 start");
3993         hideoffnpc instance_npcname("Geffen Gangster#1");
3994         hideoffnpc instance_npcname("Geffen Gangster#2");
3995         hideoffnpc instance_npcname("Geffen Gangster#3");
3996         hideoffnpc instance_npcname("Kafra Employee#1");
3997         'gmt_char_name$ = strcharinfo(0);
3998         'GMTQuest = 1;
3999
4000         //if (checkquest(9284) > -1)
4001         //      erasequest 9284;
4002         //setquest 9284;
4003         'gmt_timer_evt1 = 0;
4004         initnpctimer;
4005         end;
4006 OnTimer1000:
4007         'gmt_timer_evt1++;
4008         
4009         switch('gmt_timer_evt1) {
4010                 case 1: npctalk "Geffen Gangster : Hey girl~", instance_npcname("Geffen Gangster#1"); break;
4011                 case 3: npctalk "Geffen Gangster : Whoo~ You have beautiful legs~!", instance_npcname("Geffen Gangster#2"); break;
4012                 case 5: npctalk "Kafra Employee : What are you doing?", instance_npcname("Kafra Employee#1"); break;
4013                 case 10: npctalk "Geffen Gangster : What do you think I'm doing~?", instance_npcname("Geffen Gangster#3"); break;
4014                 case 13: npctalk "Kafra Employee : You creep! Get away~!", instance_npcname("Kafra Employee#1"); break;
4015                 case 15: npctalk "Geffen Gangster : How dare you!", instance_npcname("Geffen Gangster#1");      break;
4016                 case 16:
4017                         hideonnpc instance_npcname("Geffen Gangster#1");
4018                         hideonnpc instance_npcname("Geffen Gangster#2");
4019                         hideonnpc instance_npcname("Geffen Gangster#3");
4020                         hideoffnpc instance_npcname("Geffen Gangster#11");
4021                         hideoffnpc instance_npcname("Geffen Gangster#22");
4022                         hideoffnpc instance_npcname("Geffen Gangster#33");
4023                         break;
4024                 case 19: npctalk "Geffen Gangster : Wanna have some fun?", instance_npcname("Geffen Gangster#11"); break;
4025                 case 20: npctalk "Geffen Gangster : We won't bite!", instance_npcname("Geffen Gangster#22"); break;
4026                 case 21: npctalk "Geffen Gangster : Unless...", instance_npcname("Geffen Gangster#33"); break;
4027                 case 23: npctalk "Kafra Employee : Help me~!!!", instance_npcname("Kafra Employee#1"); break;
4028                 case 25: unittalk 'gmt_account_id, "What can I do? I have to help."; break;
4029                 case 27:
4030                         enablenpc instance_npcname("#Event 1 start 2");
4031                         stopnpctimer;
4032                         end;
4033         }
4034         
4035         initnpctimer;
4036         end;
4037 }
4038
4039 1@gef,166,169,0 script  #Event 1 start 2        139,5,5,{
4040         end;
4041 OnTouch:
4042         if('OnTouchOnce2) end;
4043         set 'OnTouchOnce2,1;
4044         if ('gmt_event != 0) end;
4045         'gmt_event = 2;
4046         hideonnpc instance_npcname("#Event 1 start 2");
4047         'gmt_timer_evt1 = 0;
4048         initnpctimer;
4049         end;
4050 OnTimer1000:
4051         'gmt_timer_evt1++;
4052         
4053         switch('gmt_timer_evt1) {
4054                 case 1: unittalk 'gmt_account_id, "You bastards! Leave her alone!"; break;
4055                 case 3: npctalk "Geffen Gangster : What's with your attitude?", instance_npcname("Geffen Gangster#11"); break;
4056                 case 4: npctalk "Geffen Gangster : You're such an idiot!", instance_npcname("Geffen Gangster#22"); break;
4057                 case 5: npctalk "Geffen Gangster : Who're you calling bastards!?", instance_npcname("Geffen Gangster#33"); break;
4058                 case 8: npctalk "Kafra Employee : Please help me~!", instance_npcname("Kafra Employee#1"); break;
4059                 case 9:
4060                         unittalk 'gmt_account_id, "Time to teach them a lesson~!";
4061                         hideonnpc instance_npcname("Geffen Gangster#11");
4062                         hideonnpc instance_npcname("Geffen Gangster#22");
4063                         hideonnpc instance_npcname("Geffen Gangster#33");
4064                         
4065                         monster instance_mapname("1@gef"), 168, 170, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
4066                         monster instance_mapname("1@gef"), 167, 169, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
4067                         monster instance_mapname("1@gef"), 166, 168, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
4068                         
4069                         stopnpctimer;
4070                         end;
4071         }
4072         
4073         initnpctimer;
4074         end;
4075 OnMobKilled:
4076         if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 1 start 2") + "::OnMobKilled") <= 0) {
4077                 hideoffnpc instance_npcname("Geffen Gangster#1");
4078                 hideoffnpc instance_npcname("Geffen Gangster#2");
4079                 hideoffnpc instance_npcname("Geffen Gangster#3");
4080                 //completequest 9284;
4081                 //setquest 9284;
4082                 //completequest 9284;
4083                 //setquest 9285;
4084                 donpcevent instance_npcname("#GefGangsterEvent1")+"::OnStart";
4085         }
4086         
4087         end;
4088 }
4089
4090 1@gef,166,167,0 script  #GefGangsterEvent1      -1,{
4091         end;
4092 OnStart:
4093         'gmt_timer_evt1 = 0;
4094         initnpctimer;
4095         end;
4096 OnTimer1000:
4097         'gmt_timer_evt1++;
4098         
4099         switch('gmt_timer_evt1) {
4100                 case 1:
4101                         specialeffect 220, AREA, instance_npcname("Geffen Gangster#1");
4102                         specialeffect 220, AREA, instance_npcname("Geffen Gangster#2");
4103                         specialeffect 220, AREA, instance_npcname("Geffen Gangster#3");
4104                         npctalk "Geffen Gangster : You're pretty good...!", instance_npcname("Geffen Gangster#1");
4105                         npctalk "Geffen Gangster : We should stop playing around...", instance_npcname("Geffen Gangster#2");
4106                         npctalk "Geffen Gangster : You're gonna pay the price!", instance_npcname("Geffen Gangster#3");
4107                         break;
4108                 case 4: npctalk "Kafra Employee : No... I'm scared...!", instance_npcname("Kafra Employee#1"); break;
4109                 case 5:
4110                         hideoffnpc instance_npcname("Iris#Gef1");
4111                         npctalk "Iris : Hey, you stop right there~!!", instance_npcname("Iris#Gef1");
4112                         break;
4113                 case 8: npctalk "Iris : That's enough.", instance_npcname("Iris#Gef1"); break;
4114                 case 11: npctalk "Iris : I won't forgive you~!", instance_npcname("Iris#Gef1"); break;
4115                 case 13: specialeffect 204, AREA, instance_npcname("Iris#Gef1"); break;
4116                 case 14:
4117                         npctalk "Geffen Gangster : Why hello there, are you scared?", instance_npcname("Geffen Gangster#1");
4118                         npctalk "Geffen Gangster : You're pretty cute. Do you want to play with us too?", instance_npcname("Geffen Gangster#2");
4119                         npctalk "Geffen Gangster : Aren't I your type babe?~", instance_npcname("Geffen Gangster#3");
4120                         break;
4121                 case 18:
4122                         hideonnpc instance_npcname("Geffen Gangster#1");
4123                         hideonnpc instance_npcname("Geffen Gangster#2");
4124                         hideonnpc instance_npcname("Geffen Gangster#3");
4125                         hideoffnpc instance_npcname("Geffen Gangster#11");
4126                         hideoffnpc instance_npcname("Geffen Gangster#22");
4127                         hideoffnpc instance_npcname("Geffen Gangster#33");
4128                         break;
4129                 case 22: mapannounce instance_mapname("1@gef"), "Stop right there! Jerks!", 0x00ebff; break;
4130                 case 23: hideoffnpc instance_npcname("Chaos#Gef1"); break;
4131                 case 25: specialeffect 218, AREA, instance_npcname("Chaos#Gef1"); break;
4132                 case 26: npctalk "Chaos : Are you clowns harassing Iris?", instance_npcname("Chaos#Gef1"); break;
4133                 case 30: npctalk "Chaos : I think I need to teach someone a lesson!", instance_npcname("Chaos#Gef1"); break;
4134                 case 31:
4135                         specialeffect 60, AREA, instance_npcname("Geffen Gangster#11");
4136                         specialeffect 60, AREA, instance_npcname("Geffen Gangster#22");
4137                         specialeffect 60, AREA, instance_npcname("Geffen Gangster#33");
4138                         npctalk "Chaos : Come and fight me!", instance_npcname("Chaos#Gef2");
4139                         hideonnpc instance_npcname("Chaos#Gef1");
4140                         hideoffnpc instance_npcname("Chaos#Gef2");
4141                         break;
4142                 case 34:
4143                         npctalk "Chaos : Bash~!!!", instance_npcname("Chaos#Gef2");
4144                         specialeffect 1, AREA, instance_npcname("Chaos#Gef2");
4145                         specialeffect 16, AREA, instance_npcname("Geffen Gangster#11");
4146                         specialeffect 16, AREA, instance_npcname("Geffen Gangster#22");
4147                         specialeffect 16, AREA, instance_npcname("Geffen Gangster#33");
4148                         hideonnpc instance_npcname("Geffen Gangster#11");
4149                         hideonnpc instance_npcname("Geffen Gangster#22");
4150                         hideonnpc instance_npcname("Geffen Gangster#33");
4151                         break;
4152                 case 35:
4153                         hideoffnpc instance_npcname("Geffen Gangster#1");
4154                         hideoffnpc instance_npcname("Geffen Gangster#2");
4155                         hideoffnpc instance_npcname("Geffen Gangster#3");
4156                         break;
4157                 case 36:
4158                         npctalk "Geffen Gangster : Ugh...", instance_npcname("Geffen Gangster#1");
4159                         npctalk "Geffen Gangster : Strong...", instance_npcname("Geffen Gangster#2");
4160                         npctalk "Geffen Gangster : Too strong...", instance_npcname("Geffen Gangster#3");
4161                         break;
4162                 case 39:
4163                         hideonnpc instance_npcname("Chaos#Gef2");
4164                         hideoffnpc instance_npcname("Chaos#3");
4165                         break;
4166                 case 42:
4167                         npctalk "Chaos : I'm not done yet!! Magnum Break~!", instance_npcname("Chaos#3");
4168                         specialeffect 17, AREA, instance_npcname("Geffen Gangster#1");
4169                         specialeffect 17, AREA, instance_npcname("Geffen Gangster#2");
4170                         specialeffect 17, AREA, instance_npcname("Geffen Gangster#3");
4171                         break;
4172                 case 43:
4173                         specialeffect 183, AREA, instance_npcname("Geffen Gangster#1");
4174                         specialeffect 183, AREA, instance_npcname("Geffen Gangster#2");
4175                         specialeffect 183, AREA, instance_npcname("Geffen Gangster#3");
4176                         hideonnpc instance_npcname("Geffen Gangster#1");
4177                         hideonnpc instance_npcname("Geffen Gangster#2");
4178                         hideonnpc instance_npcname("Geffen Gangster#3");
4179                         break;
4180                 case 45: hideonnpc instance_npcname("Chaos#3"); break;
4181                 case 46:
4182                         hideoffnpc instance_npcname("Chaos#Gef1");
4183                         stopnpctimer;
4184                         
4185                         if (attachrid('gmt_account_id)) {
4186                                 cutin "hero_iris_01.bmp", 2;
4187                                 mes "[Iris]", "Are you okay?", "There have been so many jerks everywhere we go..."; next;
4188                                 cutin "", 255;
4189                                 mes "[Kafra]", "Thanks for helping me out.", "Who are you?"; next;
4190                                 cutin "hero_iris_01.bmp", 2;
4191                                 mes "[Iris]", "I am Iris~", "I am travelling with my good friend Chaos~!"; next;
4192                                 mes "[Iris]", "I am not the one you should thank.", "Thank that adventurer, " + strcharinfo(0) + ".", "It could have been much worse."; next;
4193                                 cutin "", 255;
4194                                 mes "[Kafra]", "Thank you " + strcharinfo(0) + ".", "You saved me."; next;
4195                                 cutin "hero_iris_01.bmp", 2;
4196                                 mes "[Iris]", "It's pretty rare to meet someone as righteous as " + strcharinfo(0) + "."; next;
4197                                 mes "[Iris]", "I'm on my way to see the Geffen Magic Tournament with Chaos.", "Are you on your way there too, " + strcharinfo(0) + "?"; next;
4198                                 cutin "hero_chaos_01.bmp", 2;
4199                                 mes "[Chaos]", "Yes, you seem strong enough to be in the Tournament."; next;
4200                                 mes "[Chaos]", "Just know that Fenrir plans on joining as well, so it won't be that easy."; next;
4201                                 mes "[Chaos]", "This is my favorite magic buff scroll, so take it as a token of our appreciation.";
4202                                 sc_start4 SC_GEFFEN_MAGIC3, 3600000, 5, 0, 0, 0, 10000, 1;
4203                                 atcommand "@effect 220";
4204                                 next;
4205                                 mes "[Chaos]", "It will be useful in the Magic Tournament.", "Let's go Iris~!", "It's going to start soon~!"; next;
4206                                 cutin "hero_iris_01.bmp", 2;
4207                                 mes "[Iris]", "Yes~! Go " + strcharinfo(0) + "~", "Kafra, wish us luck~!", "Do your best " + strcharinfo(0) + ".";
4208                                 close2;
4209                                 cutin "", 255;
4210                                 hideonnpc instance_npcname("Iris#Gef1");
4211                 hideonnpc instance_npcname("Chaos#Gef1");
4212                 hideonnpc instance_npcname("Kafra Employee#1");
4213                                 sleep2 2000;
4214                                 unittalk 'gmt_account_id, "They sure are brave...";
4215                                 sleep2 2000;
4216                                 unittalk 'gmt_account_id, "Should we apply for the Magic Tournament now?";
4217                                 end;
4218                         }
4219                         
4220                         end;
4221         }
4222         
4223         initnpctimer;
4224         end;
4225 }
4226
4227 //ϯϯϯϯϯϯϯϯϯ
4228 //   Event 2
4229 //__________________
4230 1@gef,75,172,4  duplicate(#gmt_dummy)   Geffen Bully#1  681
4231 1@gef,76,170,4  duplicate(#gmt_dummy)   Geffen Bully#2  681
4232 1@gef,73,173,4  duplicate(#gmt_dummy)   Geffen Bully#3  681
4233 1@gef,68,171,4  duplicate(#gmt_dummy)   Geffen Bully#11 681
4234 1@gef,70,171,4  duplicate(#gmt_dummy)   Geffen Bully#22 681
4235 1@gef,70,169,4  duplicate(#gmt_dummy)   Geffen Bully#33 681
4236 1@gef,70,167,8  duplicate(#gmt_dummy)   Magic Academy Student#11        123
4237 1@gef,73,170,8  duplicate(#gmt_dummy)   Magic Academy Student#22        123
4238 1@gef,69,168,8  duplicate(#gmt_dummy)   Loki#1  512
4239 1@gef,69,170,8  duplicate(#gmt_dummy)   Loki#2  512
4240 1@gef,67,170,8  duplicate(#gmt_dummy)   Loki#3  512
4241 1@gef,68,169,8  duplicate(#gmt_dummy)   Fenrir#1        664
4242
4243 1@gef,72,169,0  script  #Event 2 start  139,7,7,{
4244         end;
4245 OnTouch:
4246         if ('gmt_event != 0) end;
4247         if('OnTouchOnce3) end;
4248         set 'OnTouchOnce3,1;
4249         hideoffnpc instance_npcname("Geffen Bully#1");
4250         hideoffnpc instance_npcname("Geffen Bully#2");
4251         hideoffnpc instance_npcname("Geffen Bully#3");
4252         hideoffnpc instance_npcname("Magic Academy Student#11");
4253         hideonnpc instance_npcname("#Event 2 start");
4254         disablenpc instance_npcname("#Event 2 start");
4255         //setquest 9286;
4256         'gmt_timer_evt2 = 2;
4257         'gmt_char_name$ = strcharinfo(0);
4258         'GMTQuest = 2;
4259         initnpctimer;
4260         end;
4261 OnTimer1000:
4262         'gmt_timer_evt2++;
4263         
4264         switch('gmt_timer_evt2) {
4265                 case 5: npctalk "Geffen Bully : Hey you! Yeah you~", instance_npcname("Geffen Bully#1"); break;
4266                 case 7: npctalk "Magic Academy Student : Yea... yeah? Me...? Do you mean me?", instance_npcname("Magic Academy Student#11"); break;
4267                 case 8: npctalk "Geffen Bully : Yes, you! Come over here!", instance_npcname("Geffen Bully#2"); break;
4268                 case 9: npctalk "Geffen Bully : Hurry! You have 3 seconds!", instance_npcname("Geffen Bully#3"); break;
4269                 case 11: npctalk "Geffen Bully : 3...", instance_npcname("Geffen Bully#3"); break;
4270                 case 12: npctalk "Geffen Bully : 2...", instance_npcname("Geffen Bully#3"); break;
4271                 case 13: npctalk "Geffen Bully : 1...", instance_npcname("Geffen Bully#3"); break;
4272                 case 14:
4273                         hideonnpc instance_npcname("Magic Academy Student#11");
4274                         hideoffnpc instance_npcname("Magic Academy Student#22");
4275                         break;
4276                 case 17: npctalk "Geffen Bully : You! How much zeny do you have?", instance_npcname("Geffen Bully#1"); break;
4277                 case 20: npctalk "Magic Academy Student : What... huh?", instance_npcname("Magic Academy Student#22"); break;
4278                 case 23: npctalk "Geffen Bully : Did I stutter? I said, how much zeny do you have! You idiot!", instance_npcname("Geffen Bully#2"); break;
4279                 case 27: npctalk "Magic Academy Student : I don't have any zeny... I'm but a student...", instance_npcname("Magic Academy Student#22"); break;
4280                 case 30: npctalk "Geffen Bully : Do I have to beat the zeny out of you?!", instance_npcname("Geffen Bully#3"); break;
4281                 case 33: npctalk "Magic Academy Student : Ugh... I told you, I don't have any zeny!", instance_npcname("Magic Academy Student#22"); break;
4282                 case 36:
4283                         unittalk 'gmt_account_id, "What should I do? I have to help!";
4284                         enablenpc instance_npcname("#Event 2 start 2");
4285                         hideoffnpc instance_npcname("#Event 2 start 2");
4286                         stopnpctimer;
4287                         end;
4288         }
4289         
4290         initnpctimer;
4291         end;
4292 }
4293
4294 1@gef,72,170,0  script  #Event 2 start 2        139,3,3,{
4295         end;
4296 OnTouch:
4297         if ('gmt_event != 0) end;
4298         if('OnTouchOnce4) end;
4299         set 'OnTouchOnce4,1;
4300         hideonnpc instance_npcname("#Event 2 start 2");
4301         'gmt_timer_evt2 = 0;
4302         'gmt_event = 2;
4303         initnpctimer;
4304         end;
4305 OnTimer1000:
4306         'gmt_timer_evt2++;
4307         
4308         switch('gmt_timer_evt2) {
4309                 case 2: unittalk 'gmt_account_id, "You! Bullies! Stop!"; break;
4310                 case 3: npctalk "Geffen Bully : You ready for a beating?", instance_npcname("Geffen Bully#1"); break;
4311                 case 4: npctalk "Geffen Bully : I've been waiting to have some fun...", instance_npcname("Geffen Bully#2"); break;
4312                 case 5: npctalk "Geffen Bully : Say hello to my little friends!", instance_npcname("Geffen Bully#3"); break;
4313                 case 7: npctalk "Magic Academy Student : Please help me~", instance_npcname("Magic Academy Student#22"); break;
4314                 case 9:
4315                         unittalk 'gmt_account_id, "I have to help!";
4316                         attachrid 'gmt_account_id;
4317                         specialeffect2 60;
4318                         detachrid;
4319                         monster instance_mapname("1@gef"), 75, 172, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
4320                         monster instance_mapname("1@gef"), 76, 170, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
4321                         monster instance_mapname("1@gef"), 73, 173, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
4322                         hideonnpc instance_npcname("Geffen Bully#1");
4323                         hideonnpc instance_npcname("Geffen Bully#2");
4324                         hideonnpc instance_npcname("Geffen Bully#3");
4325                         stopnpctimer;
4326                         end;
4327         }
4328         
4329         initnpctimer;
4330         end;
4331 OnMobKilled:
4332         if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 2 start 2") + "::OnMobKilled") <= 0) {
4333                 hideoffnpc instance_npcname("Geffen Bully#1");
4334                 hideoffnpc instance_npcname("Geffen Bully#2");
4335                 hideoffnpc instance_npcname("Geffen Bully#3");
4336                 //completequest 9286;
4337                 //setquest 9286;
4338                 //completequest 9286;
4339                 //setquest 9287;
4340                 sleep2 500;
4341                 specialeffect 220, AREA, instance_npcname("Geffen Bully#1");
4342                 specialeffect 220, AREA, instance_npcname("Geffen Bully#2");
4343                 specialeffect 220, AREA, instance_npcname("Geffen Bully#3");
4344                 
4345                 $gmt_timer_evt2 = -1;
4346                 
4347                 while($gmt_timer_evt2 < 50) {
4348                         $gmt_timer_evt2++;
4349                         
4350                         switch($gmt_timer_evt2) {
4351                                 case 0:
4352                                         npctalk "Geffen Bully : He has surprisingly good skills.", instance_npcname("Geffen Bully#1");
4353                                         npctalk "Geffen Bully : This isn't good...", instance_npcname("Geffen Bully#2");
4354                                         npctalk "Geffen Bully : 1 slap for 10 wins. No... You get 10 slaps for 1 win.", instance_npcname("Geffen Bully#3");
4355                                         break;
4356                                 case 3:
4357                                         hideonnpc instance_npcname("Magic Academy Student#22");
4358                                         hideoffnpc instance_npcname("Magic Academy Student#11");
4359                                         sleep2 500;
4360                                         npctalk "Magic Academy Student : I'm scared~! Help me...", instance_npcname("Magic Academy Student#11");
4361                                         break;
4362                                 case 6: hideoffnpc instance_npcname("Fenrir#1"); break;
4363                                 case 7: npctalk "Fenrir : Hello. Are you going to stop now?", instance_npcname("Fenrir#1"); break;
4364                                 case 10: npctalk "Fenrir : This is really uncomfortable. I can't just sit back and watch.", instance_npcname("Fenrir#1"); break;
4365                                 case 13:
4366                                         npctalk "Fenrir : Stop harassing her. I won't forgive you.", instance_npcname("Fenrir#1");
4367                                         specialeffect 204, AREA, instance_npcname("Fenrir#1");
4368                                         break;
4369                                 case 15: npctalk "Geffen Bully : Hey~ You look rich, you must have a lot of zeny right?", instance_npcname("Geffen Bully#1"); break;
4370                                 case 17: npctalk "Geffen Bully : What's a rich girl like you doing around here?~", instance_npcname("Geffen Bully#2"); break;
4371                                 case 19: npctalk "Geffen Bully : Hey! Rich girl~! How much zeny do you got?", instance_npcname("Geffen Bully#3"); break;
4372                                 case 22:
4373                                         hideonnpc instance_npcname("Geffen Bully#1");
4374                                         hideonnpc instance_npcname("Geffen Bully#2");
4375                                         hideonnpc instance_npcname("Geffen Bully#3");
4376                                         hideoffnpc instance_npcname("Geffen Bully#11");
4377                                         hideoffnpc instance_npcname("Geffen Bully#22");
4378                                         hideoffnpc instance_npcname("Geffen Bully#33");
4379                                         break;
4380                                 case 23:
4381                                         emotion e_gasp, 0, instance_npcname("Fenrir#1");
4382                                         mapannounce instance_mapname("1@gef"), "Take your dirty hands off of me.", 0x00ebff;
4383                                         break;
4384                                 case 25:
4385                                         hideoffnpc instance_npcname("Loki#1");
4386                                         sleep2 500;
4387                                         specialeffect 126, AREA, instance_npcname("Loki#1");
4388                                         sleep2 1500;
4389                                         specialeffect 121, AREA, instance_npcname("Loki#1");
4390                                         npctalk "Loki : Hmph!", instance_npcname("Loki#1");
4391                                         sleep2 500;
4392                                         specialeffect 124, AREA, instance_npcname("Loki#1");
4393                                         specialeffect 122, AREA, instance_npcname("Geffen Bully#33");
4394                                         specialeffect 143, AREA, instance_npcname("Geffen Bully#33");
4395                                         sleep2 330;
4396                                         specialeffect 32, AREA, instance_npcname("Geffen Bully#33");
4397                                         hideonnpc instance_npcname("Geffen Bully#33");
4398                                         hideoffnpc instance_npcname("Geffen Bully#3");
4399                                         break;
4400                                 case 26: npctalk "Geffen Bully : Yikes!", instance_npcname("Geffen Bully#3"); break;
4401                                 case 27:
4402                                         hideonnpc instance_npcname("Loki#1");
4403                                         hideoffnpc instance_npcname("Loki#2");
4404                                         sleep2 750;
4405                                         npctalk "Loki : Take this.", instance_npcname("Loki#2");
4406                                         sleep2 500;
4407                                         specialeffect 271, AREA, instance_npcname("Geffen Bully#22");
4408                                         specialeffect 122, AREA, instance_npcname("Geffen Bully#22");
4409                                         specialeffect 143, AREA, instance_npcname("Geffen Bully#22");
4410                                         sleep2 330;
4411                                         specialeffect 32, AREA, instance_npcname("Geffen Bully#22");
4412                                         hideonnpc instance_npcname("Geffen Bully#22");
4413                                         hideoffnpc instance_npcname("Geffen Bully#2");
4414                                         break;
4415                                 case 28:
4416                                         npctalk "Geffen Bully : Ugh, uuurgh! What the?!", instance_npcname("Geffen Bully#2");
4417                                         hideonnpc instance_npcname("Loki#2");
4418                                         hideoffnpc instance_npcname("Loki#3");
4419                                         sleep2 750;
4420                                         npctalk "Loki : Change your mind yet?", instance_npcname("Loki#3");
4421                                         sleep2 500;
4422                                         specialeffect 270, AREA, instance_npcname("Geffen Bully#11");
4423                                         specialeffect 122, AREA, instance_npcname("Geffen Bully#11");
4424                                         specialeffect 143, AREA, instance_npcname("Geffen Bully#11");
4425                                         sleep2 330;
4426                                         specialeffect 32, AREA, instance_npcname("Geffen Bully#11");
4427                                         hideonnpc instance_npcname("Geffen Bully#11");
4428                                         hideoffnpc instance_npcname("Geffen Bully#1");
4429                                         break;
4430                                 case 29: npctalk "Geffen Bully : Ugh, urgh, urgh! GAAAAAAH!!", instance_npcname("Geffen Bully#1"); break;
4431                                 case 31: npctalk "Loki : If you don't want to taste my Katar, leave now.", instance_npcname("Loki#3"); break;
4432                                 case 34: npctalk "Loki : Get out of my sight.", instance_npcname("Loki#3"); break;
4433                                 case 36: npctalk "Geffen Bully : Oh, oh! Time to go!", instance_npcname("Geffen Bully#1"); break;
4434                                 case 38: npctalk "Geffen Bully : Please... spare my life...", instance_npcname("Geffen Bully#2"); break;
4435                                 case 40: npctalk "Geffen Bully : Let's get away!~!!!!!", instance_npcname("Geffen Bully#3"); break;
4436                                 case 41:
4437                                         npctalk "Loki : You have 10 seconds.", instance_npcname("Loki#3");
4438                                         specialeffect 121, AREA, instance_npcname("Loki#3");
4439                                         break;
4440                                 case 43:
4441                                         specialeffect 136, AREA, instance_npcname("Loki#3");
4442                                         npctalk "Loki : 10... 9...", instance_npcname("Loki#3");
4443                                         sleep2 500;
4444                                         specialeffect 269, AREA, instance_npcname("Loki#3");
4445                                         specialeffect 126, AREA, instance_npcname("Loki#3");
4446                                         specialeffect 127, AREA, instance_npcname("Loki#3");
4447                                         break;
4448                                 case 45:
4449                                         specialeffect 125, AREA, instance_npcname("Loki#3");
4450                                         sleep2 500;
4451                                         emotion e_gg, 0, instance_npcname("Loki#3");
4452                                         npctalk "Loki : 3... 2...", instance_npcname("Loki#3");
4453                                         sleep2 500;
4454                                         npctalk "Geffen Bully : What?! You went from from 9 to 3 seconds!!", instance_npcname("Geffen Bully#1");
4455                                         npctalk "Geffen Bully : Screw this, let's run~!!!!!!!!!", instance_npcname("Geffen Bully#2");
4456                                         npctalk "Geffen Bully : I will have my revenge~!!", instance_npcname("Geffen Bully#3");
4457                                         break;
4458                                 case 46:
4459                                         specialeffect 361, AREA, instance_npcname("Loki#3");
4460                                         specialeffect 124, AREA, instance_npcname("Loki#3");
4461                                         npctalk "Loki : 1...", instance_npcname("Loki#3");
4462                                         sleep2 330;
4463                                         hideonnpc instance_npcname("Geffen Bully#1");
4464                                         hideonnpc instance_npcname("Geffen Bully#2");
4465                                         hideonnpc instance_npcname("Geffen Bully#3");
4466                                         break;
4467                                 case 48:
4468                                         hideonnpc instance_npcname("Loki#3");
4469                                         hideoffnpc instance_npcname("Loki#1");
4470                                         break;
4471                                 case 49:
4472                                         attachrid('gmt_account_id);
4473                                         cutin "fenrir_a.bmp", 2;
4474                                         mes "[Fenrir]", "Are you okay?", "Where are all these punks coming from anyways?"; next;
4475                                         cutin "", 255;
4476                                         mes "[Magic Academy Student]", "Thanks for helping me.", "Who are you?"; next;
4477                                         cutin "fenrir_a.bmp", 2;
4478                                         mes "[Fenrir]", "I am Fenris Fenrir."; next;
4479                                         mes "[Fenrir]", "Thank " + strcharinfo(0) + ".", "It would have been much worse if "+('sex?"he":"she")+" hadn't shown up."; next;
4480                                         cutin "", 255;
4481                                         mes "[Magic Academy Student]", "Thank you so much " + strcharinfo(0) + ".", "You saved me."; next;
4482                                         cutin "fenrir_a.bmp", 2;
4483                                         mes "[Fenrir]", "You don't meet many people like " + strcharinfo(0) + " these days.", "You're a good person."; next;
4484                                         mes "[Fenrir]", "I was on the way to register for the Geffen Magic Tournament with Loki."; next;
4485                                         mes "[Fenrir]", "I have a feeling that you will register too " + strcharinfo(0) + ".", "I hope to meet you in the finals of the Tournament."; next;
4486                                         cutin "ep14_roki01.bmp", 2;
4487                                         mes "[Loki]", "Oh yeah?", "" + strcharinfo(0) + " is going to register?", "That's interesting."; next;
4488                                         mes "[Loki]", "I have a spare magic buff scroll.", "I will give it to you as a present.";
4489                                         sc_start4 SC_GEFFEN_MAGIC2, 3600000, 5, 0, 0, 0, 10000, 1;
4490                                         atcommand "@effect 220";
4491                                         next;
4492                                         mes "[Loki]", "I doubt that you can beat Fenrir at the Tournament.", "Her fighting prowess is unmatched."; next;
4493                                         mes "[Loki]", "Fenrir, it's time to register.", "Let's hurry."; next;
4494                                         cutin "fenrir_a.bmp", 2;
4495                                         mes "[Fenrir]", "Yes~! I almost forgot.", "It was nice meeting you " + strcharinfo(0) + "~!"; next;
4496                                         mes "[Fenrir]", "I hope to meet you in combat soon.";
4497                                         close2;
4498                                         cutin "", 255;
4499                                         hideonnpc instance_npcname("Fenrir#1");
4500                                         hideonnpc instance_npcname("Loki#1");
4501                                         sleep2 1000;
4502                                         hideonnpc instance_npcname("Magic Academy Student#11");
4503                                         sleep2 3000;
4504                                         unittalk $gmt_account_id, "It was fun meeting Fenrir.";
4505                                         sleep2 2000;
4506                                         unittalk $gmt_account_id, "I should register for the Magic Tournament.";
4507                                         end;
4508                         }
4509                         
4510                         sleep2 1000;
4511                 }
4512         }
4513         
4514         end;
4515 }
4516
4517 //ϯϯϯϯϯϯϯϯϯ
4518 //   Event 3
4519 //__________________
4520 1@gef,111,146,4 duplicate(#gmt_dummy)   Geffen Resident#1       67
4521 1@gef,106,141,4 duplicate(#gmt_dummy)   Geffen Resident#2       67
4522 1@gef,104,141,6 duplicate(#gmt_dummy)   Lydia#1 10010
4523
4524 1@gef,108,139,6 script  Geffen Shoplifter#1     671,4,4,{
4525 OnTouch:
4526         if ('gmt_chase != 1) end;
4527         if ('gmt_event != 0) end;
4528         'gmt_event = 3;
4529         unittalk 'gmt_account_id, "Thief! Give that zeny back!! Don't move!!";
4530         sleep2 3000;
4531         npctalk "Geffen Shoplifter : Threatening me?~!! Yeah, boo hoo! You really scare me~!!", instance_npcname("Geffen Shoplifter#1");
4532         sleep2 2000;
4533         npctalk "Geffen Shoplifter : Catch me if you can~!!", instance_npcname("Geffen Shoplifter#1");
4534         sleep2 2000;
4535         npctalk "Geffen Resident : Please find my paycheck...", instance_npcname("Geffen Resident#1");
4536         sleep2 3000;
4537         unittalk 'gmt_account_id, "I have you now!";
4538         hideonnpc instance_npcname("Geffen Shoplifter#1");
4539         hideoffnpc instance_npcname("Geffen Shoplifter#2");
4540         'gmt_chase = 2;
4541         'GMTQuest = 3;
4542         end;
4543 }
4544
4545 1@gef,107,126,4 script  Geffen Shoplifter#2     671,4,4,{
4546         end;
4547 OnTouch:
4548         if ('gmt_chase != 2) end;
4549         if('OnTouchOnce5) end;
4550         set 'OnTouchOnce5,1;
4551         if (Zeny > 2000) Zeny -= 2000;
4552         npctalk "Geffen Shoplifter : Are you following me? Thanks for the 2,000 zeny~!", instance_npcname("Geffen Shoplifter#2");
4553         atcommand "@effect 18";
4554         sleep2 3000;
4555         unittalk 'gmt_account_id, "Hey~ Stop right there! Thief!";
4556         sleep2 3000;
4557         hideonnpc instance_npcname("Geffen Shoplifter#2");
4558         hideoffnpc instance_npcname("Geffen Shoplifter#3");
4559         'gmt_chase = 3;
4560         end;
4561 }
4562
4563 1@gef,111,118,4 script  Geffen Shoplifter#3     671,4,4,{
4564         end;
4565 OnTouch:
4566         if ('gmt_chase != 3) end;
4567         if('OnTouchOnce6) end;
4568         set 'OnTouchOnce6,1;
4569         if (Zeny > 2000) Zeny -= 2000;
4570         npctalk "Geffen Shoplifter : Woohoo~ Catch me if you can~! 4,000 large! Easy~!", instance_npcname("Geffen Shoplifter#3");
4571         atcommand "@effect 18";
4572         sleep2 3000;
4573         unittalk 'gmt_account_id, "I will beat you down once I catch you!";
4574         sleep2 3000;
4575         hideonnpc instance_npcname("Geffen Shoplifter#3");
4576         hideoffnpc instance_npcname("Geffen Shoplifter#11");
4577         'gmt_chase = 11;
4578         end;
4579 }
4580
4581 1@gef,123,111,4 script  Geffen Shoplifter#11    671,4,4,{
4582         end;
4583 OnTouch:
4584         if ('gmt_chase != 11) end;
4585         if('OnTouchOnce7) end;
4586         set 'OnTouchOnce7,1;
4587         if (Zeny > 2000) Zeny -= 2000;
4588         npctalk "Geffen Shoplifter : You're annoying me~! I like it! 6,000 zeny~!", instance_npcname("Geffen Shoplifter#11");
4589         atcommand "@effect 18";
4590         sleep2 3000;
4591         unittalk 'gmt_account_id, "Stop right there you filthy thief!";
4592         sleep2 3000;
4593         hideonnpc instance_npcname("Geffen Shoplifter#11");
4594         hideoffnpc instance_npcname("Geffen Shoplifter#22");
4595         'gmt_chase = 22;
4596         end;
4597 }
4598
4599 1@gef,129,121,4 script  Geffen Shoplifter#22    671,4,4,{
4600         end;
4601 OnTouch:
4602         if ('gmt_chase != 22) end;
4603         if('OnTouchOnce8) end;
4604         set 'OnTouchOnce8,1;
4605         if (Zeny > 2000) Zeny -= 2000;
4606         npctalk "Geffen Shoplifter : Calling me a rat? Yoink~ 8,000 zeny~!", instance_npcname("Geffen Shoplifter#22");
4607         atcommand "@effect 18";
4608         sleep2 3000;
4609         unittalk 'gmt_account_id, "Would you stop?!";
4610         sleep2 3000;
4611         hideonnpc instance_npcname("Geffen Shoplifter#22");
4612         hideoffnpc instance_npcname("Geffen Shoplifter#33");
4613         'gmt_chase = 33;
4614         end;
4615 }
4616
4617 1@gef,114,137,4 script  Geffen Shoplifter#33    671,4,4,{
4618         end;
4619 OnTouch:
4620         if ('gmt_chase != 33) end;
4621         if('OnTouchOnce9) end;
4622         set 'OnTouchOnce9,1;
4623         if (Zeny > 2000) Zeny -= 2000;
4624         npctalk "Geffen Shoplifter : Stop following me. It's driving me crazy! 10,000 zeny~!", instance_npcname("Geffen Shoplifter#33");
4625         atcommand "@effect 18";
4626         sleep2 3000;
4627         unittalk 'gmt_account_id, "You can't run away anymore. I've got you now!";
4628         sleep2 3000;
4629         npctalk "Geffen Shoplifter : You really piss me off! I'm gonna have to beat you down!", instance_npcname("Geffen Shoplifter#33");
4630         sleep2 3000;
4631         hideonnpc instance_npcname("Geffen Shoplifter#33");
4632         monster instance_mapname("1@gef"), 114, 137, "Geffen Shoplifter", 2914, 1, instance_npcname("Geffen Shoplifter#33") + "::OnMobKilled";
4633         end;
4634 OnMobKilled:
4635         hideoffnpc instance_npcname("Geffen Shoplifter#1");
4636         //completequest 9288;
4637         //setquest 9288; // State = 1, Time = 0
4638         //completequest 9288;
4639         //setquest 9289; // State = 1, Time = 0
4640         'gmt_timer_evt3 = 0;
4641         initnpctimer;
4642         end;
4643 OnTimer1000:
4644         'gmt_timer_evt3++;
4645         
4646         switch('gmt_timer_evt3) {
4647                 case 1: specialeffect 20, AREA, instance_npcname("Geffen Shoplifter#1"); break;
4648                 case 4: npctalk "Geffen Shoplifter : Ugh, I shouldn't fight toe to toe with anyone...", instance_npcname("Geffen Shoplifter#1"); break;
4649                 case 7: unittalk 'gmt_account_id, "Don't want to be in a fair fight, huh thief?"; break;
4650                 case 10: npctalk "Geffen Shoplifter : Umm... stealing zeny is my job~ I did nothing wrong~!", instance_npcname("Geffen Shoplifter#1"); break;
4651                 case 13: unittalk 'gmt_account_id, "What? You're stealing from needy people."; break;
4652                 case 16: npctalk "Geffen Shoplifter : Well, it has been fun~! I'm outta here~", instance_npcname("Geffen Shoplifter#1"); break;
4653                 case 17: unittalk 'gmt_account_id, "Hey! Give back what you stole thief!"; break;
4654                 case 20: npctalk "Geffen Shoplifter : Hahaha~! You'll get nothing~!", instance_npcname("Geffen Shoplifter#1"); break;
4655                 case 22: hideonnpc instance_npcname("Geffen Shoplifter#1"); break;
4656                 case 24:
4657                         if (attachrid('gmt_account_id)) {
4658                                 mes "[Geffen Resident]", "My monthly salary...", "What am I gonna do?", "I have to eat..."; next;
4659                                 mes "[Geffen Resident]", "You're not a thief are you?", "I don't know what to do about my zeny being stolen."; next;
4660                                 mes "[Lydia]", "Woo, yeah, what a day~", "It seems like all these thieves in Geffen are rich.", "They may be good at stealing but they're easy to steal from too.";
4661                                 cutin "lydia_a.bmp", 0;
4662                                 next;
4663                                 hideoffnpc instance_npcname("Lydia#1");
4664                                 mes "[Lydia]", "Hey, why are you crying?", "What happened?"; next;
4665                                 mes "You tell Lydia about the shoplifters.";
4666                                 cutin "", 255;
4667                                 next;
4668                                 mes "[Geffen Resident]", "What am I going to do?", "*sobbing*"; next;
4669                                 mes "[Lydia]", "(I stole this envelope from one of those thug-looking guys)", "....", "How much zeny was stolen from you?";
4670                                 cutin "lydia_a.bmp", 0;
4671                                 next;
4672                                 mes "[Geffen Resident]", "1,000,000 zeny!", "It's everything that I had.";
4673                                 cutin "", 255;
4674                                 next;
4675                                 mes "[Lydia]", "Whoa! That's the same amount as what's in this envelope that I stole from that shoplifter.";
4676                                 cutin "lydia_a.bmp", 0;
4677                                 next;
4678                                 mes "[Lydia]", "Maybe this is what you are looking for?", "Check it out!"; next;
4679                                 mes "[Geffen Resident]", "Let me see...", "Wait, this has to be my zeny!", "Thank you very much for finding it!";
4680                                 cutin "", 255;
4681                                 next;
4682                                 hideonnpc instance_npcname("Geffen Resident#1");
4683                                 hideoffnpc instance_npcname("Geffen Resident#2");
4684                                 mes "[Lydia]", "Well... Um, that is...", "I didn't say I was gonna give it back to you...";
4685                                 cutin "lydia_a.bmp", 0;
4686                                 next;
4687                                 mes "[Geffen Resident]", "Thank you very much!!", "I will never forget your kindness~!", "I'm putting it in the bank right now!", "Have a good day~!!! Zap~!!";
4688                                 cutin "", 255;
4689                                 next;
4690                                 hideonnpc instance_npcname("Geffen Resident#2");
4691                                 mes "[Lydia]", "......", "I guess... I did a good thing...?";
4692                                 cutin "lydia_a.bmp", 0;
4693                                 next;
4694                                 mes "You tell Lydia about your stolen zeny.";
4695                                 cutin "", 255;
4696                                 next;
4697                                 mes "[Lydia]";
4698                                 mes "So, are you asking me for more zeny?";
4699                                 mes "Zeny doesn't grow on trees you know!";
4700                                 cutin "lydia_a.bmp", 0;
4701                                 next;
4702                                 mes "[Lydia]";
4703                                 mes "I mean it is hers so...";
4704                                 mes "I'll just consider it a donation to the Geffen Magic Tournament.";
4705                                 next;
4706                                 mes "[Lydia]";
4707                                 mes "Well, I can't give away any Tournament participants any zeny...";
4708                                 next;
4709                                 mes "[Lydia]";
4710                                 mes "I stole this magic scroll from another thief, so don't worry about taking it.";
4711                                 sc_start4 SC_GEFFEN_MAGIC1, 3600000, 5, 0, 0, 0, 10000, 1; // flag = 1
4712                                 atcommand "@effect 220";
4713                                 next;
4714                                 mes "[Lydia]";
4715                                 mes "I need to get to the Geffen Magic Tournament.";
4716                                 mes "Gotta go!";
4717                                 close2;
4718                                 cutin "", 255;
4719                                 hideonnpc instance_npcname("Lydia#1");
4720                                 sleep2 2000;
4721                                 unittalk 'gmt_account_id, "She disappeared before I could thank her...";
4722                                 sleep2 3000;
4723                                 unittalk 'gmt_account_id, "She seems like a good person...";
4724                                 sleep2 3000;
4725                                 unittalk 'gmt_account_id, "Well, time to register for the Magic Tournament.";
4726                                 stopnpctimer;
4727                                 end;
4728                         }
4729                 
4730                         stopnpctimer;
4731                         end;
4732         }
4733         
4734         initnpctimer;
4735         end;
4736         
4737 }
4738
4739 1@gef,114,143,0 script  #Event 3 start  139,5,5,{
4740         end;
4741 OnTouch:
4742         if ('gmt_event != 0) end;
4743         if('OnTouchOnce10) end;
4744         set 'OnTouchOnce10,1;
4745         'gmt_char_name$ = strcharinfo(0);
4746         hideonnpc instance_npcname("#Event 3 start");
4747         disablenpc instance_npcname("#Event 3 start");
4748         hideoffnpc instance_npcname("Geffen Resident#1");
4749         //setquest 9288;
4750         'gmt_timer_evt3 = 0;
4751         initnpctimer;
4752         end;
4753 OnTimer1000:
4754         'gmt_timer_evt3++;
4755         
4756         switch('gmt_timer_evt3) {
4757                 case 1: npctalk "Geffen Resident : A thief...! A thief~!!", instance_npcname("Geffen Resident#1"); break;
4758                 case 3: npctalk "Geffen Resident : Help me~!! Someone stole my paycheck!", instance_npcname("Geffen Resident#1"); break;
4759                 case 6: 
4760                         hideoffnpc instance_npcname("Geffen Shoplifter#1");
4761                         'gmt_chase = 1;
4762                         break;
4763                 case 8: npctalk "Geffen Shoplifter : Damn... Someone saw me...", instance_npcname("Geffen Shoplifter#1"); break;
4764                 case 11:
4765                         unittalk 'gmt_account_id, "What can I do? I gotta help.";
4766                         stopnpctimer;
4767                         end;
4768         }
4769         
4770         initnpctimer;
4771         end;
4772 }
4773
4774 1@gef,0,0,0     script  #gmt_main       -1,{
4775         end;
4776 OnInstanceInit:
4777         // Event 1
4778         hideonnpc instance_npcname("Geffen Gangster#1");
4779         hideonnpc instance_npcname("Geffen Gangster#2");
4780         hideonnpc instance_npcname("Geffen Gangster#3");
4781         hideonnpc instance_npcname("Kafra Employee#1");
4782         hideonnpc instance_npcname("Geffen Gangster#11");
4783         hideonnpc instance_npcname("Geffen Gangster#22");
4784         hideonnpc instance_npcname("Geffen Gangster#33");
4785         disablenpc instance_npcname("#Event 1 start 2");
4786         hideonnpc instance_npcname("Chaos#Gef1");
4787         hideonnpc instance_npcname("Chaos#Gef2");
4788         hideonnpc instance_npcname("Chaos#3");
4789         hideonnpc instance_npcname("Iris#Gef1");
4790         
4791         // Event 2
4792         hideonnpc instance_npcname("Geffen Bully#1");
4793         hideonnpc instance_npcname("Geffen Bully#2");
4794         hideonnpc instance_npcname("Geffen Bully#3");
4795         hideonnpc instance_npcname("Geffen Bully#11");
4796         hideonnpc instance_npcname("Geffen Bully#22");
4797         hideonnpc instance_npcname("Geffen Bully#33");
4798         hideonnpc instance_npcname("Magic Academy Student#11");
4799         hideonnpc instance_npcname("Magic Academy Student#22");
4800         hideonnpc instance_npcname("Loki#1");
4801         hideonnpc instance_npcname("Loki#2");
4802         hideonnpc instance_npcname("Loki#3");
4803         hideonnpc instance_npcname("Fenrir#1");
4804         disablenpc instance_npcname("#Event 2 start 2");
4805         
4806         // Event 3
4807         hideonnpc instance_npcname("Geffen Resident#1");
4808         hideonnpc instance_npcname("Geffen Resident#2");
4809         hideonnpc instance_npcname("Geffen Shoplifter#1");
4810         hideonnpc instance_npcname("Geffen Shoplifter#2");
4811         hideonnpc instance_npcname("Geffen Shoplifter#3");
4812         hideonnpc instance_npcname("Geffen Shoplifter#11");
4813         hideonnpc instance_npcname("Geffen Shoplifter#22");
4814         hideonnpc instance_npcname("Geffen Shoplifter#33");
4815         hideonnpc instance_npcname("Geffen Shoplifter#33");
4816         hideonnpc instance_npcname("Lydia#1");
4817         
4818         hideonnpc instance_npcname("Male Adventurer#gef");
4819         hideonnpc instance_npcname("Handsome Adventurer#gef");
4820         end;
4821 }
4822
4823 1@gef   mapflag nowarp
4824 1@gef   mapflag nomemo
4825 1@gef   mapflag noteleport
4826 1@gef   mapflag monster_noteleport
4827 1@gef   mapflag nosave
4828 1@gef   mapflag nobranch
4829 1@gef   mapflag nowarpto
4830 1@gef   mapflag noicewall
4831 1@gef   mapflag restricted      9
4832
4833 1@ge_st mapflag nowarp
4834 1@ge_st mapflag nomemo
4835 1@ge_st mapflag noteleport
4836 1@ge_st mapflag monster_noteleport
4837 1@ge_st mapflag nosave
4838 1@ge_st mapflag nobranch
4839 1@ge_st mapflag nowarpto
4840 1@ge_st mapflag noicewall
4841 1@ge_st mapflag restricted      9
4842
4843 1@gef_in        mapflag nowarp
4844 1@gef_in        mapflag nomemo
4845 1@gef_in        mapflag noteleport
4846 1@gef_in        mapflag monster_noteleport
4847 1@gef_in        mapflag nosave
4848 1@gef_in        mapflag nobranch
4849 1@gef_in        mapflag nowarpto
4850 1@gef_in        mapflag noicewall
4851 1@gef_in        mapflag restricted      9