/
GeffenMagicTournament.txt
4855 lines (4505 loc) · 168 KB
/
GeffenMagicTournament.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//===== rAthena Script =======================================
//= Geffen Magic Tournament Memorial Dungeon
//===== By: ==================================================
//= Nova with the help of Tokei, Diablo and others.
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= [Custom implementation of official script]
//= Participate in the Geffen Magic Tournament and gain coins to trade for rewards.
//===== Additional Comments: =================================
//= 1.0 First version. Converted to rAthena compliant standard.
//= Thanks to Nova, Tokei, Diablo and others for creating the script. [MasterOfMuppets]
//============================================================
//MAIN QUEST
1@gef,0,0,0 script #gmt_dummy -1,{ end; }
1@gef,119,208,0 script #GefMagicStart 567,5,5,{
end;
OnTouch:
if ('GMT == 0) {
'GMT = 1;
setquest 9292;
mapannounce instance_mapname("1@gef"),"Geffen Broadcast: The Geffen Magic Tournament is about to begin!",bc_blue;
sleep2 3000;
mapannounce instance_mapname("1@gef"),"Geffen Broadcast: Citizens and adventurers in Geffen, please join the tournament~!",bc_blue;
sleep2 5000;
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;
'charname$ = strcharinfo(0);
'sex = Sex;
'gmt_account_id = getcharid(3);
}
end;
OnInit:
hideonnpc strnpcinfo(0);
end;
OnInstanceInit:
hideonnpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,120,78,0 script #GefMagicGuess0 567,4,1,{
end;
OnTouch_:
if ('GMT == 1) {
'GMT = 2;
showscript strcharinfo(0)+" : Guess this is where I register for the tournament...";
end;
}
end;
OnInit:
hideonnpc strnpcinfo(0);
end;
OnInstanceInit:
hideonnpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,142,53,0 duplicate(#GefMagicGuess0) #GefMagicGuess1 567,1,15
1@gef,99,53,0 duplicate(#GefMagicGuess0) #GefMagicGuess2 567,1,20
//Movie
1@gef,71,86,4 duplicate(#gmt_dummy) Young Lady#gef1 4_F_BRZ_WOMAN
1@gef,75,82,4 duplicate(#gmt_dummy) Young Lady#gef3 4_F_03
1@gef,68,79,6 duplicate(#gmt_dummy) Handsome Adventurer#gef 4_M_CRU
1@gef,70,77,2 duplicate(#gmt_dummy) Male Adventurer#gef 4_M_LGTMAN
1@gef,73,84,4 duplicate(#gmt_dummy) Young Lady#gef2 4_F_CAPEGIRL
1@gef,73,84,0 script MOVIECONTROL#gef -1,13,13,{
end;
OnTouch_:
if ('MOVIE == 1) end;
'MOVIE = 1;
'm1_timer = 0;
initnpctimer;
end;
OnTimer1000:
'm1_timer++;
switch('m1_timer) {
case 1: npctalk "I am lonely... Should I be alone during the festival?", instance_npcname("Young Lady#gef1"); break;
case 4: npctalk "Oh my god ~! Why do you say that~?", instance_npcname("Young Lady#gef2"); break;
case 8: npctalk "How about hitting on the handsome adventurers coming to Geffen?", instance_npcname("Young Lady#gef3"); break;
case 12: npctalk "Handsome? Where are there handsome men?", instance_npcname("Young Lady#gef1"); break;
case 17: npctalk "I only see guys who look so old and fat!", instance_npcname("Young Lady#gef1"); break;
case 21: npctalk "Agh... I can not just sit around during this festival alone...", instance_npcname("Young Lady#gef2"); break;
case 26: npctalk "No! There has to be some handsome guys around here! Don't give up!", instance_npcname("Young Lady#gef3"); break;
case 30:
npctalk "Um... okay...", instance_npcname("Young Lady#gef1");
npctalk "Um... okay...", instance_npcname("Young Lady#gef2");
break;
case 34: npctalk "See! Look over there! A handsome guy!", instance_npcname("Young Lady#gef3"); break;
case 38:
npctalk "Oh god! Where?!", instance_npcname("Young Lady#gef1");
npctalk "Oh my god! Where? Where?", instance_npcname("Young Lady#gef2");
break;
case 42:
hideoffnpc instance_npcname("Handsome Adventurer#gef");
npctalk "Over there~!", instance_npcname("Young Lady#gef3");
break;
case 46: npctalk "There are many beautiful ladies at this year's Magic Tournament.", instance_npcname("Handsome Adventurer#gef"); break;
case 50:
npctalk "Yikes~~~!!", instance_npcname("Young Lady#gef1");
npctalk "Yikes~~~! Is he talking about me?", instance_npcname("Young Lady#gef2");
npctalk "Yikes~~! Nice!!", instance_npcname("Young Lady#gef3");
break;
case 54: npctalk "What should I do? Should I talk to him?", instance_npcname("Young Lady#gef3"); break;
case 58: npctalk "Come on~! You're good at this! Hurry up and hook up with him!", instance_npcname("Young Lady#gef2"); break;
case 62: npctalk "Hurry up~!", instance_npcname("Young Lady#gef1"); break;
case 66: npctalk "It's almost time for the event to begin...", instance_npcname("Handsome Adventurer#gef"); break;
case 70: npctalk "Maybe he's waiting for someone!", instance_npcname("Young Lady#gef3"); break;
case 74: npctalk "A girlfriend?! It can't be!", instance_npcname("Young Lady#gef2"); break;
case 78:
hideoffnpc instance_npcname("Male Adventurer#gef");
npctalk "No... it can't be~!", instance_npcname("Young Lady#gef1");
break;
case 79: npctalk "Have I kept you waiting for a long time?", instance_npcname("Male Adventurer#gef"); break;
case 83: npctalk "Lucky! It's a man!!!", instance_npcname("Young Lady#gef3"); break;
case 86:
npctalk "Looks like it's just a friend~!!", instance_npcname("Young Lady#gef2");
break;
case 88: npctalk "Hook up with both of them? Ho ho ho~!", instance_npcname("Young Lady#gef1"); break;
case 91:
npctalk "Yes! You have finally arrived, my love!", instance_npcname("Handsome Adventurer#gef");
emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef1"));
emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef2"));
emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef3"));
break;
case 95:
npctalk "My love...", instance_npcname("Male Adventurer#gef");
emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
break;
case 99:
npctalk "Maybe... There are no good guys left for us...", instance_npcname("Young Lady#gef3");
emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
break;
case 103:
npctalk "Ahem... Maybe... Just the three of us... will be together forever...", instance_npcname("Young Lady#gef2");
emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
break;
case 106:
npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef3");
emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
sleep 500;
npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef1");
sleep 500;
npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef2");
'm1_timer++;
break;
case 109:
emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef1"));
emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef2"));
emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef3"));
break;
case 111: emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef")); break;
case 113: emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef")); break;
case 115: emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef")); break;
case 118:
hideonnpc instance_npcname("Male Adventurer#gef");
hideonnpc instance_npcname("Handsome Adventurer#gef");
'MOVIE = 0;
stopnpctimer;
end;
}
initnpctimer;
end;
}
//Fireworks
1@gef,90,197,0 script #Firecrackers0 649,{
end;
OnTimer2500:
.@r = rand(0,1);
if (.@r != 0 ) { stopnpctimer; initnpctimer; end; }
stopnpctimer;
specialeffect .effects[rand(getarraysize(.effects))],AREA,instance_npcname(strnpcinfo(0));
initnpctimer;
end;
OnInit:
setarray .effects[0],EF_FIREPILLARBOMB,EF_FLAMELAUNCHER,EF_FROSTDIVER2,EF_FROSTWEAPON,EF_LIGHTBOLT,EF_LIGHTNINGLOADER,EF_MAGICROD,EF_METEORSTORM,EF_NAPALMBEAT;
setarray .effects[9],EF_PETRIFYATTACK,EF_SEISMICWEAPON,EF_SIGHT,EF_SIGHTRASHER,EF_SPELLBREAKER,EF_STORMGUST,EF_THUNDERSTORM,EF_VOLCANO,EF_WATERBALL,EF_YUFITELHIT;
hideonnpc strnpcinfo(0);
end;
OnInstanceInit:
initnpctimer;
hideonnpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,106,145,0 duplicate(#Firecrackers0) #Firecrackers1 649
1@gef,112,49,0 duplicate(#Firecrackers0) #Firecrackers2 649
1@gef,134,145,0 duplicate(#Firecrackers0) #Firecrackers3 649
1@gef,132,111,0 duplicate(#Firecrackers0) #Firecrackers4 649
1@gef,141,56,0 duplicate(#Firecrackers0) #Firecrackers5 649
1@gef,146,175,0 duplicate(#Firecrackers0) #Firecrackers6 649
1@gef,182,163,0 duplicate(#Firecrackers0) #Firecrackers7 649
1@gef,183,126,0 duplicate(#Firecrackers0) #Firecrackers8 649
1@gef,194,89,0 duplicate(#Firecrackers0) #Firecrackers9 649
1@gef,59,125,0 duplicate(#Firecrackers0) #Firecrackers10 649
1@gef,62,147,0 duplicate(#Firecrackers0) #Firecrackers11 649
1@gef,62,91,0 duplicate(#Firecrackers0) #Firecrackers12 649
1@gef,71,181,0 duplicate(#Firecrackers0) #Firecrackers13 649
1@gef,112,196,0 duplicate(#Firecrackers0) #Firecrackers14 649
1@gef,98,58,0 duplicate(#Firecrackers0) #Firecrackers15 649
1@gef,98,126,0 duplicate(#Firecrackers0) #Firecrackers16 649
1@gef,127,196,0 duplicate(#Firecrackers0) #Firecrackers17 649
1@gef,40,125,0 duplicate(#Firecrackers0) #Firecrackers18 649
1@gef,116,75,0 duplicate(#Firecrackers0) #Firecrackers19 649
1@gef,58,112,0 duplicate(#Firecrackers0) #Firecrackers20 649
1@gef,40,112,0 duplicate(#Firecrackers0) #Firecrackers21 649
1@gef,107,111,0 duplicate(#Firecrackers0) #Firecrackers22 649
1@gef,127,49,0 duplicate(#Firecrackers0) #Firecrackers23 649
1@gef,123,75,0 duplicate(#Firecrackers0) #Firecrackers24 649
1@gef,199,126,0 duplicate(#Firecrackers0) #Firecrackers25 649
1@gef,183,113,0 duplicate(#Firecrackers0) #Firecrackers26 649
1@gef,199,114,0 duplicate(#Firecrackers0) #Firecrackers27 649
1@gef,140,126,0 duplicate(#Firecrackers0) #Firecrackers28 649
//SHOPS
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
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
1@gef_in,74,144,0 shop Trader#gef_0et1 1_F_01,911:-1,910:-1,912:-1
1@gef_in,65,144,4 shop Tool Dealer#gefb_0et1 1_M_WIZARD,1092:-1,1093:-1,713:-1
1@gef_in,22,171,7 shop Weapon Dealer#GMT 84,1146:-1,1245:-1
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
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
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
1@gef,196,111,3 shop Cook#gef_0et 85,7482:-1
1@gef,131,58,4 script Geffen Coin Operator#g 4_F_ZONDAGIRL,{ // 55149
.@n$ = "[ Geffen Coin Operator ]";
mes .@n$,"I exchange Magic Tournament Coins for Equipment."; next;
goto L_Menu;
end;
L_Menu:
switch(select("Shields:Rings:Armor:End Conversation")){
case 1:
mes .@n$,"There are two types of Shields are available for exchange.";
next;
L_Shield:
switch(select("Magic Reflector ^3355FF<900 Coins>^000000:Revised Encyclopedia ^3355FF<900 Coins>^000000:Go back to previous menu")){
case 1: .@item = 2185; .@cost = 900; break;
case 2: .@item = 2186; .@cost = 900; break;
case 3: goto L_Menu; break;
}
mes .@n$;
mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
mes "Price is "+.@cost+" coins";
mes "Do you wish to exchange your coins?";
next;
switch(select("Do Not Exchange:Exchange")){
case 1:
mes .@n$,"Take a look at the other equipment available.";
next;
goto L_Shield;
break;
case 2:
if( countitem(6671) < .@cost ) {
mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
next;
mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
goto L_Shield;
}
if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
delitem 6671,.@cost;
getitem .@item,1;
mes .@n$,"Thank you.";
end;
}
case 2:
mes .@n$;
mes "There are two types of Rings are available for exchange.";
next;
L_Ring:
switch(select("Physical Enhancer Ring ^3355FF<1350 Coins>^000000:Magic Intensifier Ring ^3355FF<1350 Coins>^000000:Go back to previous menu")){
case 1:
.@item = 2963;
.@cost = 1350;
break;
case 2:
.@item = 2964;
.@cost = 1350;
break;
case 3:
goto L_Menu;
break;
}
mes .@n$;
mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
mes "Price is "+.@cost+" coins";
mes "Do you wish to exchange your coins?";
next;
switch(select("Do Not Exchange:Exchange")){
case 1:
mes .@n$,"Take a look at the other equipment available.";
next;
goto L_Ring;
break;
case 2:
if( countitem(6671) < .@cost ) {
mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
next;
mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
goto L_Ring;
}
if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
delitem 6671,.@cost;
getitem .@item,1;
mes .@n$,"Thank you.";
end;
}
case 3:
mes .@n$;
mes "There are two types of Armor are available for exchange.";
next;
L_Armor:
switch(select("Anti-Magic Suit ^3355FF<1800 Coins>^000000:Geffen Magic Robe ^3355FF<1800 Coins>^000000:Go back to previous menu")){
case 1:
.@item = 15073;
.@cost = 1800;
break;
case 2:
.@item = 15074;
.@cost = 1800;
break;
case 3:
goto L_Menu;
break;
}
mes .@n$;
mes "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
mes "Price is "+.@cost+" coins";
mes "Do you wish to exchange your coins?";
next;
switch(select("Do Not Exchange:Exchange")){
case 1:
mes .@n$,"Take a look at the other equipment available.";
next;
goto L_Armor;
break;
case 2:
if( countitem(6671) < .@cost ) {
mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
next;
mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
goto L_Armor;
}
if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
delitem 6671,.@cost;
getitem .@item,1;
mes .@n$,"Thank you.";
end;
}
case 4:
mes .@n$;
mes "You can tell a lot about a person by what gear they have.";
mes "I will see you next time~!";
close;
}
end;
}
//On Touch NPCs
1@gef,0,0,0 script #gmt_quotes -1,{
end;
OnTouch_:
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~!";
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.";
if (strnpcinfo(0) == "Dio Anemos#z1_0et") {
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...";
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.";
}
if (strnpcinfo(0) == "Ordre#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Ordre : Even powerful people like me can lose...";
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.";
}
if (strnpcinfo(0) == "Ju#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Ju : ... You really defeat me...";
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!";
}
if (strnpcinfo(0) == "Blut Hase#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Blut Hase : How can somebody be so powerful...";
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.";
}
if (strnpcinfo(0) == "Kuro Akuma#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Kuro Akuma : Maybe just being evil isn't enough to win the tournament...";
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~!";
}
if (strnpcinfo(0) == "Odoric#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Odoric : This is what youth looks like, sister... I'm truly jealous...";
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~!";
}
if (strnpcinfo(0) == "Fay Kanavian#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Fay Kanavian : I actually lost... How is this possible?";
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?";
}
if (strnpcinfo(0) == "Licheniyes#z1_0et") {
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...";
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~";
}
if (strnpcinfo(0) == "Ifodes#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Ifodes : Losing to a woman... Now that's a terrifying thought.";
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?";
}
if (strnpcinfo(0) == "Faymont#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Faymont : No time to chat, I need to go comfort the other girls who failed.";
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.";
}
if (strnpcinfo(0) == "Arhi#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Arhi: The tournament is finally over! It was really a great year... Way too intense!";
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?";
}
if (strnpcinfo(0) == "Dwigh#z1_0et") {
if ('GMT_1QUE > 1) setarray .@quotes$, "Dwigh : Needless to say, it was a pretty decisive battle!";
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.";
}
showscript .@quotes$[rand(getarraysize(.@quotes$))], getnpcid(0);
end;
}
1@gef,124,173,4 duplicate(#gmt_quotes) Old Bachelor#z1_0et 1_M_03,4,4
1@gef,91,117,6 duplicate(#gmt_quotes) Dio Anemos#z1_0et 4_GEFFEN_01,4,4
1@gef,85,68,6 duplicate(#gmt_quotes) Ordre#z1_0et 4_GEFFEN_05,4,4
1@gef,178,91,6 duplicate(#gmt_quotes) Ju#z1_0et 4_GEFFEN_11,4,4
1@gef,194,91,4 duplicate(#gmt_quotes) Little Geffen Boy#a2_0e 4_KID01,4,4
1@gef,111,62,6 duplicate(#gmt_quotes) Blut Hase#z1_0et 4_GEFFEN_06,4,4
1@gef,104,42,6 duplicate(#gmt_quotes) Kuro Akuma#z1_0et 4_GEFFEN_07,4,4
1@gef,158,63,4 duplicate(#gmt_quotes) Odoric#z1_0et 4_GEFFEN_10,4,4
1@gef,117,72,6 duplicate(#gmt_quotes) Fay Kanavian#z1_0et 4_F_GEFFEN_FAY,4,4
1@gef,137,53,4 duplicate(#gmt_quotes) Licheniyes#z1_0et 4_GEFFEN_09,4,4
1@gef,115,66,6 duplicate(#gmt_quotes) Ifodes#z1_0et 4_GEFFEN_08,4,4
1@gef,53,90,6 duplicate(#gmt_quotes) Faymont#z1_0et 4_GEFFEN_04,4,4
1@gef,145,125,4 duplicate(#gmt_quotes) Arhi#z1_0et 4_GEFFEN_02,4,4
1@gef,120,98,4 duplicate(#gmt_quotes) Dwigh#z1_0et 4_GEFFEN_12,4,4
//WARPS
1@gef_in,70,132,0 warp2 #gef_a4_0et 2,2,1@gef,46,88
1@gef_in,106,181,0 warp2 #gef_a3_0et 2,2,1@gef,178,63
1@gef,182,59,0 warp2 #gef_a1_0et 2,2,1@gef_in,106,177
1@gef_in,70,158,0 warp2 #gef_a5_0et 2,2,1@gef_in,70,146
1@gef_in,70,149,0 warp2 #gef_a6_0et 2,2,1@gef_in,70,161
1@gef,43,85,0 warp2 #gef_a2_0et 2,2,1@gef_in,70,138
1@gef,98,141,0 warp2 #gef_a8_0et 2,2,1@gef_in,28,160
1@gef_in,28,156,0 warp2 #gef_a7_0et 2,2,1@gef,101,138
//SPECTATORS
- script #d_c 4_M_DST_TOUGH,{ end; }
1@gef,175,74,4 duplicate(#d_c) Tournament Spectator#c0 4_M_DST_TOUGH
1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c1 1_ETC_01
1@gef,137,190,6 duplicate(#d_c) Tournament Spectator#c2 1_F_02
1@gef,149,196,6 duplicate(#d_c) Tournament Spectator#c3 1_M_01
1@gef,136,188,6 duplicate(#d_c) Tournament Spectator#c4 4_F_TWGRANDMOM
1@gef,110,195,4 duplicate(#d_c) Tournament Spectator#c5 1_M_03
1@gef,134,63,4 duplicate(#d_c) Tournament Spectator#c6 1_M_MERCHANT
1@gef,145,47,4 duplicate(#d_c) Tournament Spectator#c7 1_M_MOC_LORD
1@gef,154,55,4 duplicate(#d_c) Tournament Spectator#c8 1_M_ORIENT01
1@gef,147,65,4 duplicate(#d_c) Tournament Spectator#c9 1_M_PASTOR
1@gef,163,76,4 duplicate(#d_c) Tournament Spectator#c10 1_F_PRIEST
1@gef,180,84,4 duplicate(#d_c) Tournament Spectator#c11 1_M_INNKEEPER
1@gef,189,97,4 duplicate(#d_c) Tournament Spectator#c12 1_M_SIZ
1@gef,194,110,4 duplicate(#d_c) Tournament Spectator#c13 1_M_PAY_ELDER
1@gef,185,107,6 duplicate(#d_c) Tournament Spectator#c14 1_M_PRON_KING
1@gef,189,120,4 duplicate(#d_c) Tournament Spectator#c15 4_F_01
1@gef,44,95,6 duplicate(#d_c) Tournament Spectator#c17 1_M_JOBTESTER
1@gef,52,83,6 duplicate(#d_c) Tournament Spectator#c18 1_M_KNIGHTMASTER
1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c19 1_ETC_01
1@gef,104,189,4 duplicate(#d_c) Tournament Spectator#c20 1_F_01
1@gef,94,194,4 duplicate(#d_c) Tournament Spectator#c21 1_F_03
1@gef,52,155,6 duplicate(#d_c) Tournament Spectator#c22 1_F_04
1@gef,55,142,4 duplicate(#d_c) Tournament Spectator#c23 1_F_GYPSY
1@gef,58,146,4 duplicate(#d_c) Tournament Spectator#c24 1_M_BARD
1@gef,45,149,6 duplicate(#d_c) Tournament Spectator#c25 1_F_LIBRARYGIRL
1@gef,44,133,6 duplicate(#d_c) Tournament Spectator#c26 1_M_HOF
1@gef,45,126,6 duplicate(#d_c) Tournament Spectator#c27 1_M_02
1@gef,44,118,6 duplicate(#d_c) Tournament Spectator#c28 1_F_MERCHANT_01
1@gef,55,113,4 duplicate(#d_c) Tournament Spectator#c29 1_F_MERCHANT_02
1@gef,50,107,6 duplicate(#d_c) Tournament Spectator#c30 1_M_JOBGUIDER
1@gef,72,65,6 duplicate(#d_c) Tournament Spectator#c31 1_M_LIBRARYMASTER
1@gef,83,60,6 duplicate(#d_c) Tournament Spectator#c32 1_F_ORIENT_01
1@gef,94,68,6 duplicate(#d_c) Tournament Spectator#c33 1_F_ORIENT_02
1@gef,97,66,4 duplicate(#d_c) Tournament Spectator#c34 1_F_ORIENT_03
1@gef,167,120,4 duplicate(#d_c) Tournament Spectator#c36 1_M_SIGN1
1@gef,152,120,4 duplicate(#d_c) Tournament Spectator#c37 2_F_MAGICMASTER
1@gef,138,110,4 duplicate(#d_c) Tournament Spectator#c38 4_F_01
1@gef,128,99,4 duplicate(#d_c) Tournament Spectator#c39 4_F_02
1@gef,105,109,6 duplicate(#d_c) Tournament Spectator#c40 4_F_03
1@gef,96,122,6 duplicate(#d_c) Tournament Spectator#c41 4_F_04
1@gef,132,137,6 duplicate(#d_c) Tournament Spectator#c42 4_F_TRAINEE
1@gef,141,132,4 duplicate(#d_c) Tournament Spectator#c43 1_M_SIGNART
1@gef,124,72,4 duplicate(#d_c) Tournament Spectator#c44 1_M_SIGNMCNT
1@gef,130,49,6 duplicate(#d_c) Tournament Spectator#c45 1_M_SIGNMONK2
//Dialogue NPC
1@gef_in,110,172,0 script Christopher#1_0et 1_M_SMITH,{
mes "[ Christopher ]";
mes "Welcome to Christopher's Workshop.";
mes "Ye can get all yer stuff for";
mes "forging here. What business";
mes "brings ye to me?";
next;
mes "[ Christopher ]";
mes "We are taking a break from our forges in honor of the festival.";
mes "Please come back again after the festival is done.";
close;
}
1@gef,129,65,4 script Point Merchant#gef_m 8_F_GIRL,{
if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again -";
mes "- after you lose some weight. -";
close;
}
mes "[ Point Merchant ]";
mes "Hello. I'm selling a catalyst called ^FF0000Points^000000 for Sorcerers. What would you like?";
next;
.@i = select("Scarlet Points - 200z:Lime Green Points - 200z:Indigo Points - 200z:Yellow Wish Points - 200z:Cancel")-1;
mes "[ Point Merchant ]";
if (.@i == 4) {
mes "You can't find the stuff you need?";
close;
}
setarray .@itemid[0],6360,6363,6361,6362;
setarray .@color$[0],"Scarlet","Lime Green","Indigo","Yellow Wish";
mes "You have chosen "+.@color$[.@i]+" Points.";
mes "How many do you want?";
mes "If you want to cancel, enter 0.";
next;
input .@amount;
mes "[ Point Merchant ]";
if (.@amount == 0) {
mes "You've cancelled the trade.";
close;
}
if (Zeny < .@amount*200) {
mes "You don't seem to have enough money.";
close;
}
if (!checkweight(.@itemid[.@i],.@amount)) {
mes "You don't have enough space in your inventory to buy this amount.";
close;
}
Zeny = Zeny-(.@amount*200);
getitem .@itemid[.@i],.@amount;
mes "Thank you very much. See you~!";
close;
}
1@gef,127,65,3 script Universal Rental NPC#gf 8W_SOLDIER,{
if (ismounting()) {
message strcharinfo(0),"You must first remove your mount.";
end;
} else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
else getitem 6124,1; //Wolf's_Flute
} else getitem 6124,1; //Wolf's_Flute
} else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
if(select(" ~ Cart: ~ Mado")==1) setcart;
else setmadogear;
} else setcart;
} else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {
if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
else setriding;
} else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
else {
message strcharinfo(0),"You do not meet requirements to rent.";
end;
}
specialeffect2 EF_TEIHIT3;
end;
}
1@gef,124,65,4 script Kafra Employee#gef_t 4_F_KAFRA4,{
cutin "kafra_04",2;
mes "[Kafra Employee]";
mes "Welcome~!";
mes "The Kafra Services.";
mes "are always on your side.";
mes "So how can I help you?";
callfunc "F_Kafra",5,5,1,50,0;
}
dali,100,147,3 script Dimensional Device#gefma PORTAL,{
.@n$ = "[ Dimensional Device ]";
.@ins_geffen_time = checkquest(9316,PLAYTIME);
if ( GeffenTournament < gettimetick(2)) {
.@party_id = getcharid(1);
.@p_name$ = getpartyname(.@party_id);
.@md_name$ = "Geffen Magic Tournament";
getpartymember(getcharid(1),0);
set .@GPPartySize,$@partymembercount;
if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) {
mes .@n$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
if (!.@party_id) {
mes .@n$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
switch(select("Leave it alone:^3355FFUse the Device^000000")){
case 1:
mes .@n$;
mes "You can feel time being distorted by the device.";
end;
case 2:
if (BaseLevel < 90) {
mes .@n$;
mes "You must be base level 90 to continue.";
end;
}
switch(instance_enter(.@md_name$)) {
case 3:
mes "An unknown error has occurred.";
end;
case 2:
mes "The Geffen Magic Tournament instance has not been created. Please go to talk to Emmitt White first.";
end;
case 1:
mes "Only registered members can enter the "+.@md_name$+" instance.";
end;
case 0:
mapannounce "dali02",strcharinfo(0)+" of the party, "+.@p_name$+" is entering the "+.@md_name$+".",bc_map,"0x00ff99";
GeffenTournament = gettimetick(2) + 82800;
if(.@ins_geffen_time != -1) erasequest 9316;
setquest 9316;
end;
}
end;
}
} else if ( GeffenTournament > gettimetick(2) ) {
mes .@n$;
mes "Looks like the window of opportunity is not open right now.";
end;
}
end;
}
dali,98,141,3 script Emmitt White 4_M_KHKYEL,{
.@n$ = "[ Time Travel Researcher ]";
if (BaseLevel < 90) {
mes .@n$;
mes "You must be base level 90 to continue.";
end;
}
if (checkquest(9309) != -1) {
mes .@n$,
"I see that you've returned from the Tournament.",
"Did you find out anything interesting?";
next;
mes .@n$,
"You give details of your experience to the researcher.";
next;
mes .@n$,
"You didn't really give me any information that I didn't already know...";
next;
mes .@n$,
"But I still want more~!",
"Can you help me tomorrow?",
"I will be waiting for you.";
next;
for (.@i = 9284; .@i <= 9314; .@i++) {
if (checkquest(.@i) != -1) {
erasequest .@i;
}
}
if (checkquest(9315) != -1)
changequest 9315,9316;
}
if (checkquest(9308) != -1) {
mes .@n$,
"I can't believe you won the Tournament!";
next;
mes .@n$,
"But I still want more~!",
"Can you help me tomorrow?",
"I will be waiting for you.";
next;
for (.@i = 9284; .@i <= 9314; .@i++) {
if (checkquest(.@i) != -1) {
erasequest .@i;
}
}
if (checkquest(9315) != -1)
changequest 9315,9316;
}
getpartymember(getcharid(1),0);
set .@GPPartySize,$@partymembercount;
if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) {
mes .@n$;
mes "This is a solo instance. Please form a solo party before continuing.";
end;
}
// 23 Hour Cooldown
if ( GeffenTournament < gettimetick(2) ) {
.@party_id = getcharid(1);
.@p_name$ = getpartyname(.@party_id);
.@md_name$ = "Geffen Magic Tournament";
if (!.@party_id) {
mes .@n$;
mes "You need to be a party leader in order to continue.";
end;
}
if (is_party_leader() == true){
mes .@n$;
mes "Did you know? A long time ago there was a Magic Tournament in Geffen.";
next;
mes .@n$;
mes "I've done so much research on the Tournament but haven't gotten too much information from research alone.";
next;
mes .@n$;
mes "When I found out that this time gap can help with my research I couldn't resist the opportunity to continue the research.";
next;
mes .@n$;
mes "And now I've found an adventurer, in you, who can help me go back to the time that the Tournament took place.";
next;
mes .@n$;
mes "Please use the dimensional device and participate in the Magic Tournament for me.";
next;
mes .@n$;
mes "Will you go and tell me about it?";
next;
mes .@n$;
mes "The portal is unstable so you have to go solo.";
mes "Are you ready to enter?";
next;
switch(select("No:Yes")){
case 1:
mes .@n$;
mes "Come back if you change your mind~!";
end;
case 2:
for (.@i = 9284; .@i <= 9314; .@i++) {
if (checkquest(.@i) != -1) {
erasequest .@i;
}
}
if (instance_create(.@md_name$) < 0) {
mes "Party Name: "+.@p_name$;
mes "Party Leader: "+strcharinfo(0);
mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
end;
}
mes .@n$;
mes "The Dimensional Device has been activated.";
end;
}
end;
} else {
mes .@n$;
mes "You need to be a party leader in order to continue.";
end;
}
} else {
mes .@n$;
mes "Just a second.";
mes "You need to wait for the timer to expire before going back.";
mes " ";
.@time = (GeffenTournament - gettimetick(2));
.@sec = .@time % 60;
.@min = (.@time / 60) % 60;
.@hrs = (.@time / 3600) % 24;
mes "Cooldown: ^3355FF"+(.@hrs < 10 ? "0" : "")+.@hrs+":"+(.@min < 10 ? "0" : "")+.@min+":"+(.@sec < 10 ? "0" : "")+.@sec+"^000000";
end;
}
}
1@gef,120,34,4 script #gefmagic_warp01 45,2,2,{
callfunc("InventoryCheck");
end;
OnTouch:
movenpc instance_npcname("Old Bachelor#z1_0et"),1,1;
movenpc instance_npcname("Dio Anemos#z1_0et"),1,1;
movenpc instance_npcname("Ju#z1_0et"),1,1;
movenpc instance_npcname("Ordre#z1_0et"),1,1;
movenpc instance_npcname("Blut Hase#z1_0et"),1,1;
movenpc instance_npcname("Kuro Akuma#z1_0et"),1,1;
movenpc instance_npcname("Odoric#z1_0et"),1,1;
movenpc instance_npcname("Fay Kanavian#z1_0et"),1,1;
movenpc instance_npcname("Licheniyes#z1_0et"),1,1;
movenpc instance_npcname("Ifodes#z1_0et"),1,1;
movenpc instance_npcname("Faymont#z1_0et"),1,1;
movenpc instance_npcname("Arhi#z1_0et"),1,1;
movenpc instance_npcname("Dwigh#z1_0et"),1,1;
warp instance_mapname("1@ge_st"),104,50;
donpcevent instance_npcname(strnpcinfo(0))+"::OnDisable";
end;
OnInstanceInit:
OnDisable:
disablenpc instance_npcname(strnpcinfo(0));
end;
OnEnable:
enablenpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,1,1,4 script #gefmagic_warp02 45,2,2,{
end;
OnTouch_:
instance_warpall "dali",92,142;
end;
OnInstanceInit:
OnEnable:
hideoffnpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,1,1,4 script #invisGMTquests 567,2,2,{
end;
OnTouch_:
if ('GMTHeroes < 1 ) {
'GMTHeroes = 1;
for (.@i = 9309; .@i < 9315; .@i++){
setquest .@i;
}
}
end;
OnInit:
hideonnpc strnpcinfo(0);
end;
OnInstanceInit:
hideonnpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,123,203,4 script Tournament Guide#gfmg 705,{
cutin "gef_soldier.bmp",2;
.@n$ = "[ Tournament Guide ]";
mes .@n$,"Welcome to the Magical city of ^8B4513Geffen^000000.";
next;
mes .@n$,"If you want to watch the ^55CC55Magic Tournament^000000 go to the southern fountain of Geffen.";
next;
mes .@n$,"The fireworks are here to celebrate the Geffen Magical Tournament Festival.";
next;
mes .@n$,"Please enjoy the festivities and enjoy your stay here in Geffen~!";
close2;
cutin "",255;
end;
OnInstanceInit:
OnEnable:
enablenpc instance_npcname(strnpcinfo(0));
end;
}
1@gef,203,116,4 duplicate(Tournament Guide#gfmg) Tournament Guide#gf2 705
1@gef,36,123,6 duplicate(Tournament Guide#gfmg) Tournament Guide#gf3 705
1@gef,122,58,4 script Receptionist#1_0et 4_M_ARUNA_NFM1,{
.@n$ = "[ Tournament Receptionist ]";
if ( checkquest(9309) != -1 ) {
mes .@n$;
mes "Fenrir won this year's Magic Tournament!";
next;
mes .@n$;
mes "I'm such a big fan of hers.";
end;
}
if ( checkquest(9308) != -1 ) {
mes .@n$;
mes "Congratulations on being this year's Magic Tournament winner!";
end;
}
if ( 'passtest == 2 ) {
mes .@n$;
mes "Do you wish to try again?";
mes "If you can kill the Desert Wolf within 60 seconds, you pass the test.";
next;
mes .@n$;
mes "If you fail, you will automatically be eliminated from the list. You can try again as many times as you want.";
mes "Will you take the test again?";
next;
switch(select("No:Yes")){
case 1:
mes .@n$;
mes "Come back if you change your mind.";
close;
case 2:
mes .@n$;
mes "There is no registration fee to enter.";
mes "The only requirement is to pass a simple test.";
next;
mes .@n$;
mes "The test is very simple. Defeat a Desert Wolf in 60 seconds or less and you're in.";
next;
mes .@n$;
mes "If you fail you will automatically be eliminated from the list but you can try again as many times as you wish.";
mes "Are you ready?";
next;
switch(select("No:Yes")){
case 1:
mes .@n$;
mes "Come back if you change your mind.";
close;
case 2:
mes .@n$;
mes "You can participate in the Magic Tournament after passing the test.";
mes "Then, let us begin!";
npctalk "Time limit is 60 seconds ! Ready! Set! Go!";
erasequest 9292;
setquest 9293;
addtimer 60000,instance_npcname("Receptionist#1_0et")+"::OnFail";
monster instance_mapname("1@gef"),120,62,"--ja--",1106,1,instance_npcname("Receptionist#1_0et")+"::OnTest";
hideonnpc instance_npcname("Receptionist#1_0et");
break;
}
end;
}
end;
}
if ( 'passtest == 1 ) {
if ('GMT >= 5){
mes .@n$;
mes "The Magic Tournament is going to start soon.";
mes "Enter the portal to the south and you can join in.";
next;
mes .@n$;
mes "Good luck!";
end;
}