summaryrefslogtreecommitdiff
path: root/npc/other/arena/arena_party.txt
blob: b3fb751e68819200c81660f3fd77e52f6de3acfc (plain) (blame)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Euphy
//= Copyright (C)  L0ne_W0lf
//= Copyright (C)  Inkfish
//= Copyright (C)  Samuray22
//= Copyright (C)  SinSloth
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Izlude Party Arena
//================= Description ===========================================
//= Izlude Party Battle Arena
//================= Current Version =======================================
//= 1.5
//=========================================================================

arena_room,162,88,3	script	Ponox	4_F_TELEPORTER,{
	end;

OnInit:
	waitingroom "Party Mode - 5 Member Parties",11,"Ponox::OnStartArena",5,0,10;
	enablewaitingroomevent;
	end;

OnStartArena:
	donpcevent "toarena#party::OnInit";
	donpcevent "toout#party::OnInit";
	warpwaitingpc "prt_are_in",73,78;
	donpcevent "toout#party::OnTimer";
	donpcevent "Helper#party::OnEnter";
	disablewaitingroomevent;
	end;

OnStart:
	enablewaitingroomevent;
	end;
}

prt_are_in,76,87,3	script	Helper#party	1_F_02,4,4,{
	if($arn_partywait == 0) {
		$arn_partywait = 1;
		emotion e_gasp,0;
		mes "[Helper Iriff]";
		mes "Good day, challengers!";
		mes "You are in the party arena waiting room.";
		next;
		mes "[Helper Iriff]";
		mes "Only one person at a time is allowed to stay in this waiting room.";
		mes "Would you like to start a battle now?";
		next;
		switch( select( "No","Yes" ) ) {
		case 1:
			$arn_partywait = 0;
			mes "[Helper Iriff]";
			mes "I see.";
			mes "However, please remember you have only a limited amount of time.";
			close;
		case 2:
			mes "[Helper Iriff]";
			mes "Thank you, let me start a battle.";
			mes "A warp portal leading to the arena room will be open.";
			mes "I hope you will survive until the end of the battle and engrave your name on the list of honor...";
			close2;
			donpcevent "toarena#party::OnEnter";
			donpcevent "Helper#party::OnStop";
			donpcevent "arena_p::OnStart";
			end;
		}
	}
	end;

OnEnter:
	enablenpc "Helper#party";
	end;

OnStop:
	disablenpc "Helper#party";
	end;

OnInit:
	$arn_partywait = 0;
	end;
}

prt_are_in,73,78,0	script	toarena#party	FAKE_NPC,20,20,{
OnInit:
	disablenpc "toarena#party";
	end;

OnTouch:
	if(Zeny < 1000)
		warp "arena_room",100,75;
	else {
		Zeny -= 1000;
		$arn_partywait = 0;
		donpcevent "toout#party::OnStop";
		warp "force_1-2",99,26;
	}

OnEnter:
	enablenpc "toarena#party";
	end;
}

prt_are_in,73,79,0	script	toout#party	FAKE_NPC,20,20,{
OnInit:
	disablenpc "toout#party";
	end;

OnTimer:
	initnpctimer;
	end;

OnTimer60000:
	$arn_partywait = 0;
	enablenpc "toout#party";
	end;

OnTimer70000:
	donpcevent "toout#party::OnStop";
	donpcevent "Ponox::OnStart";
	disablenpc "toout#party";

OnTouch:
	$arn_partywait = 0;
	warp "arena_room",100,75;

OnEnter:
	enablenpc "toout#party";
	end;

OnStop:
//	broadcastinmap "toout turns off the timer."
	stopnpctimer;
	end;
}

prt_are_in,73,74,0	script	arena_out	FAKE_NPC,1,1,{
OnTouch:
	$arn_partywait = 0;
	warp "arena_room",100,75;
	end;
}

force_1-2,99,31,4	script	Slipslowrun#party	4_F_TELEPORTER,{
OnStart:
	initnpctimer;
	$arena_minptst = gettime(GETTIME_MINUTE);
	$arena_secptst = gettime(GETTIME_SECOND);
	end;

OnTimer2000:
	mapannounce "force_1-2","Good day, my name is Slipslowrun! I am here to assist you in the party arena battles!",bc_all;
	//Official "arena_compass" script is extremely buggy, so we aren't using it.
	//donpcevent "arena_compass::OnStart";
	end;

OnTimer3000:
	mapannounce "force_1-2","The goal of the party arena is eliminating every monster in each room.",bc_all;
	end;

OnTimer4000:
	mapannounce "force_1-2","There is no order to enter one among 3 rooms at 3 direction. But remember you will eliminate all monsters in a room in order to procceed to the next step.",bc_all;
	end;

OnTimer5000:
	mapannounce "force_1-2","You have 10 minutes from now. I expect you will do your best! ",bc_all;
	end;

OnTimer60000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 9 minutes ",bc_all;
	end;

OnTimer120000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 8 minutes ",bc_all;
	end;

OnTimer180000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 7 minutes ",bc_all;
	end;

OnTimer240000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 6 minutes ",bc_all;
	end;

OnTimer300000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 5 minutes ",bc_all;
	end;

OnTimer360000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 4 minutes ",bc_all;
	end;

OnTimer420000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 3 minutes ",bc_all;
	end;

OnTimer480000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 2 minutes ",bc_all;
	end;

OnTimer540000:
	if (getmapusers("force_1-2") == 0)
		donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 1 minute ",bc_all;
	end;

OnTimer600000:
	mapannounce "force_1-2","Time is over! Please make sure you do not leave anything behind you before you leave .",bc_all;
	end;

OnTimer605000:
	donpcevent "arena_p::OnReset";
	mapwarp "force_1-2","prt_are_in",177,138;
	end;

OnTimer606000:
OnTimer607000:
OnTimer608000:
OnTimer609000:
OnTimer610000:
OnTimer611000:
OnTimer612000:
OnTimer613000:
	mapwarp "force_1-2","prt_are_in",177,138;
	end;

OnTimer614000:
	mapwarp "force_1-2","prt_are_in",177,138;
	donpcevent "Slipslowrun#party::OnFail";
	end;

OnFail:
	donpcevent "Slipslowrun#party::OnTimerOff";
	mapwarp "force_1-2","prt_are_in",177,138;
	donpcevent "arena_p::OnReset";
	donpcevent "alloff#party::OnInit";
	donpcevent "Ponox::OnStart";
	end;

OnTimerOff:
	stopnpctimer;
	end;

On01_End:
	mapannounce "force_1-2","A door to the east room has opened!",bc_all;
	end;

On02_End:
	mapannounce "force_1-2","A door to the west room has opened!",bc_all;
	end;

On03_End:
	mapannounce "force_1-2","A door to the south room has opened!",bc_all;
	end;

On04_Start:
	mapannounce "force_1-2","A door to the 4th room at the east has opened!",bc_all;
	end;

On04_End1:
	mapannounce "force_1-2","A warp portal at the west has opened! Please clear the 5th room at the end of the west hall! ",bc_all;
	end;

On04_End2:
	mapannounce "force_1-2","A warp portal at the west north room has opened! ",bc_all;
	end;

On05_End1:
	mapannounce "force_1-2","A door to the east room has opened~",bc_all;
	end;

On05_End2:
	mapannounce "force_1-2","A door to the north room has opened~",bc_all;
	end;

On06_End:
	mapannounce "force_1-2","A door to the east room has opened~",bc_all;
	end;

On07_End:
	mapannounce "force_1-2","A door at the north has opened~",bc_all;
	end;

On08_End:
	mapannounce "force_1-2","A door to the west hall has opened~",bc_all;
	end;

On09_End:
	mapannounce "force_1-2","A west exit has opened!",bc_all;
	end;

On10_End:
	mapannounce "force_1-2","Boss stage cleared! An exit at the east has opened! Thank you.",bc_all;
	end;
}

-	script	arena_p	FAKE_NPC,{
OnStart:
	mapwarp "force_1-2","prt_are_in",177,138;
	disablenpc "force_01_00";
	disablenpc "force_02_00";
	disablenpc "force_03_00";
	disablenpc "force_03_05";
	disablenpc "force_03_04";
	disablenpc "force_04_03";
	disablenpc "force_05_03";
	disablenpc "force_05_06";
	disablenpc "force_06_07";
	disablenpc "force_07_08";
	disablenpc "force_08_09";
	disablenpc "force_09_10";
	disablenpc "force_10_09";
	disablenpc "force_09_exit";
	enablenpc "force_01start#party";
	enablenpc "force_02start#party";
	enablenpc "force_03start#party";
	disablenpc "force_04start#party";
	disablenpc "force_05start#party";
	disablenpc "force_06start#party";
	disablenpc "force_07start#party";
	disablenpc "force_08start#party";
	disablenpc "force_09start#party";
	disablenpc "force_10start#party";
	disablenpc "force_exit#party";
	donpcevent "force_01mob#party::OnReset";
	donpcevent "force_02mob#party::OnReset";
	donpcevent "force_03mob#party::OnReset";
	donpcevent "force_04mob#party::OnReset";
	donpcevent "force_05mob#party::OnReset";
	donpcevent "force_06mob#party::OnReset";
	donpcevent "force_07mob#party::OnReset";
	donpcevent "force_08mob#party::OnReset";
	donpcevent "force_09mob#party::OnReset";
	donpcevent "force_10mob-1#party::OnReset";
	donpcevent "force_10mob-2#party::OnReset";
	donpcevent "force_exitmob#party::OnReset";
	donpcevent "Slipslowrun#party::OnStart";
	$arn_partyc = 0;
	$arn_partywait = 0;
	end;

On04_Start:
	enablenpc "force_03_04";
	enablenpc "force_04start#party";
	end;

On06_Start:
	enablenpc "force_05_06";
	enablenpc "force_06start#party";
	end;

On07_Start:
	enablenpc "force_06_07";
	enablenpc "force_07start#party";
	end;

On08_Start:
	enablenpc "force_07_08";
	enablenpc "force_08start#party";
	end;

On09_Start:
	enablenpc "force_08_09";
	enablenpc "force_09start#party";
	end;

On10_Start:
	enablenpc "force_09_10";
	enablenpc "force_10start#party";
	end;

OnExit:
	enablenpc "force_10_09";
	enablenpc "force_09_exit";
	enablenpc "force_exit#party";
	end;

OnReset:
	donpcevent "force_01mob#party::OnReset";
	donpcevent "force_02mob#party::OnReset";
	donpcevent "force_03mob#party::OnReset";
	donpcevent "force_04mob#party::OnReset";
	donpcevent "force_05mob#party::OnReset";
	donpcevent "force_06mob#party::OnReset";
	donpcevent "force_07mob#party::OnReset";
	donpcevent "force_08mob#party::OnReset";
	donpcevent "force_09mob#party::OnReset";
	donpcevent "force_10mob-1#party::OnReset";
	donpcevent "force_10mob-2#party::OnReset";
	donpcevent "force_exitmob#party::OnReset";
	end;
}

force_1-2,95,187,0	script	force_09_exit	WARPNPC,1,1,{
OnTouch:
	$arena_minptend = gettime(GETTIME_MINUTE);
	$arena_secptend = gettime(GETTIME_SECOND);
	warp "prt_are_in",73,139;
	donpcevent "#arn_timer_pt::OnEnter";
	donpcevent "arena_p::OnReset";
	donpcevent "Slipslowrun#party::OnTimerOff";
	end;
}

force_1-2,36,26,0	script	force_01start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_01mob#party::OnEnable";
	disablenpc "force_01start#party";
	end;
}

-	script	force_01mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",15,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",35,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",15,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",35,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",15,30,"Alarm",1476,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",17,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",19,32,"Alarm",1476,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",21,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",30,27,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",29,25,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",33,26,"Incubus",1580,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",29,28,"Incubus",1580,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",33,20,"Incubus",1580,1,"force_01mob#party::OnMyMobDead";
	monster "force_1-2",33,30,"Incubus",1580,1,"force_01mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_01mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_01mob#party::OnMyMobDead") < 1) {
		enablenpc "force_01_00";
		donpcevent "Slipslowrun#party::On01_End";
		++$arn_partyc;
		if($arn_partyc == 3) {
			donpcevent "Slipslowrun#party::On04_Start";
			enablenpc "force_03_04";
			enablenpc "force_04start#party";
		}
	}
	end;
}

force_1-2,162,26,0	script	force_02start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_02mob#party::OnEnable";
	disablenpc "force_02start#party";
	end;
}

-	script	force_02mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",163,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",184,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",184,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",163,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",171,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",177,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",184,29,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",184,22,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",177,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",170,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",169,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",171,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",173,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",175,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",177,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",177,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",175,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",173,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",171,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",169,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_02mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_02mob#party::OnMyMobDead") < 1) {
		enablenpc "force_02_00";
		donpcevent "Slipslowrun#party::On02_End";
		++$arn_partyc;
		if($arn_partyc == 3) {
			donpcevent "Slipslowrun#party::On04_Start";
			enablenpc "force_03_04";
			enablenpc "force_04start#party";
		}
	}
	end;
}

force_1-2,99,66,0	script	force_03start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_03mob#party::OnEnable";
	disablenpc "force_03start#party";
	end;
}

-	script	force_03mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead";
	monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_03mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_03mob#party::OnMyMobDead") < 1) {
		enablenpc "force_03_00";
		donpcevent "Slipslowrun#party::On03_End";
		++$arn_partyc;
		if($arn_partyc == 3) {
			donpcevent "Slipslowrun#party::On04_Start";
			enablenpc "force_03_04";
			enablenpc "force_04start#party";
		}
	}
	end;
}

force_1-2,162,78,0	script	force_04start#party	FAKE_NPC,3,3,{
OnTouch:
	donpcevent "force_04mob#party::OnEnable";
	disablenpc "force_04start#party";
	end;
}

-	script	force_04mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead";
	monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_04mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_04mob#party::OnMyMobDead") < 1) {
		enablenpc "force_04_03";
		enablenpc "force_03_05";
		enablenpc "force_05start#party";
		donpcevent "Slipslowrun#party::On04_End1";
	}
	end;
}

force_1-2,36,77,0	script	force_05start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_05mob#party::OnEnable";
	disablenpc "force_05start#party";
	end;
}

-	script	force_05mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",25,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",36,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",16,88,"Penomena",1441,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",15,78,"Penomena",1441,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",33,88,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",29,87,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",25,81,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",25,78,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",25,72,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",29,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",21,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",19,76,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",19,83,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",23,89,"Sting",1489,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",22,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",23,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",24,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",23,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",22,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",22,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",22,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",23,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",23,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	monster "force_1-2",24,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_05mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_05mob#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::On06_Start";
		donpcevent "Slipslowrun#party::On05_End2";
	}
	end;
}

force_1-2,26,118,0	script	force_06start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_06mob#party::OnEnable";
	disablenpc "force_06start#party";
	end;
}

-	script	force_06mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_06mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_06mob#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::On07_Start";
		donpcevent "Slipslowrun#party::On06_End";
		++$arn_partyc;
	}
	end;
}

force_1-2,92,124,0	script	force_07start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_07mob#party::OnEnable";
	disablenpc "force_07start#party";
	end;
}

-	script	force_07mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMyMobDead";
	monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_07mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_07mob#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::On08_Start";
		donpcevent "Slipslowrun#party::On07_End";
		++$arn_partyc;
	}
	end;
}

force_1-2,173,118,0	script	force_08start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_08mob#party::OnEnable";
	disablenpc "force_08start#party";
	end;
}

-	script	force_08mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMyMobDead";
	monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMyMobDead";
	monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMyMobDead";
	for(.@i = 0; .@i<5; ++.@i) {
		monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMyMobDead";
	}
	monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMyMobDead";
	for(.@i = 0; .@i<5; ++.@i) {
		monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMyMobDead";
	}
	for(.@i = 0; .@i<6; ++.@i) {
		monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMyMobDead";
	}
	for(.@i = 0; .@i<10; ++.@i) {
		monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMyMobDead";
	}
	for(.@i = 0; .@i<5; ++.@i) {
		monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMyMobDead";
	}
	end;

OnReset:
	killmonster "force_1-2","force_08mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_08mob#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::On09_Start";
		donpcevent "Slipslowrun#party::On08_End";
		++$arn_partyc;
	}
	end;
}

force_1-2,133,178,0	script	force_09start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_09mob#party::OnEnable";
	disablenpc "force_09start#party";
	end;
}

-	script	force_09mob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",86,180,"Elder",1573,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",86,176,"Elder",1573,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",95,183,"Elder",1573,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",94,175,"Elder",1573,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",76,178,"Elder",1573,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",84,179,"Explosion",1532,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",74,181,"Explosion",1532,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",73,176,"Explosion",1532,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",62,178,"Explosion",1532,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",68,177,"Explosion",1532,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",122,177,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",112,179,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",122,178,"Anolian",1488,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",121,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead";
	monster "force_1-2",122,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead";
	$force_09_pt = 15;
	end;

OnReset:
	killmonster "force_1-2","force_09mob#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_09mob#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::On10_Start";
		donpcevent "Slipslowrun#party::On09_End";
		++$arn_partyc;
	}
	end;
}

force_1-2,29,178,0	script	force_10start#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_10mob-1#party::OnEnable";
	disablenpc "force_10start#party";
	end;
}

-	script	force_10mob-1#party	FAKE_NPC,{
OnEnable:
	switch(rand(1,2)) {
	case 1:
		monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMyMobDead";
		break;
	case 2:
		monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMyMobDead";
		break;
	}
	end;

OnReset:
	killmonster "force_1-2","force_10mob-1#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_10mob-1#party::OnMyMobDead") < 1)
		donpcevent "force_10mob-2#party::OnEnable";
	end;
}

-	script	force_10mob-2#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMyMobDead";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_10mob-2#party::OnMyMobDead";
	end;

OnMyMobDead:
	if (mobcount("force_1-2","force_10mob-2#party::OnMyMobDead") < 1) {
		donpcevent "arena_p::OnExit";
		donpcevent "Slipslowrun#party::On10_End";
		$arn_partyc = 0;
	}
	end;
}

force_1-2,59,178,0	script	force_exit#party	FAKE_NPC,1,1,{
OnTouch:
	donpcevent "force_exitmob#party::OnEnable";
	disablenpc "force_exit#party";
	end;
}

-	script	force_exitmob#party	FAKE_NPC,{
OnEnable:
	monster "force_1-2",95,177,"Farewell",1393,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"I hate you",1543,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"I like chocolate",1472,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"You like it, huh?",1472,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Sorry",1420,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Tristram II",1562,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"I am hungry",1468,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Bye",1419,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Take care",1394,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Sexy Body",1578,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Pressure",1471,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Take it easy",1491,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Are you gonna hurt me?",1555,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Merchant",1428,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Ms. Kim",1472,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Martial Art",1472,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Part-timer",1420,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Boss",1562,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Old Yellow Box",1474,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Bat",1419,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Extra",1394,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Milk Merchant",1578,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Darling",1471,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Oh noes!",1491,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"I am not a Wraith",1566,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Mom Wraith",1566,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Dad Wraith",1566,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Book[3]",1478,1,"force_exitmob#party::OnMyMobDead";
	monster "force_1-2",95,177,"Exchange Diary",1478,1,"force_exitmob#party::OnMyMobDead";
	end;

OnReset:
	killmonster "force_1-2","force_exitmob#party::OnMyMobDead";
	end;

OnMyMobDead:
	end;
}

prt_are_in,181,135,3	script	Staff#party-1	1_F_02,{
	mes "[Staff]";
	mes "You did a good job.";
	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
	next;
	if (arena_point == 30000) {
		mes "[Staff]";
		mes "Uh huh!";
		mes "You already have enough arena points.";
		mes "Please spend some arena points later. When I see you next time, I will make sure to give you some reward.";
		next;
	} else {
		++arena_point;
	}
	mes "[Staff]";
	mes "Let me guide you outside. I hope you had a good time.";
	close2;
	specialeffect2 EF_HIT5;
	warp "arena_room",100,75;
	end;
}

prt_are_in,77,135,3	script	Staff#party-2	1_F_02,{
	if($arena_minptend < $arena_minptst) {
		if($arena_secptend < $arena_secptst) {
			@record_minpt = 60 - $arena_minptst + $arena_minptend -1;
			@record_secpt = 60 - $arena_secptst + $arena_secptend;
		} else {
			@record_minpt = 60 - $arena_minptst + $arena_minptend;
			@record_secpt = $arena_secptend - $arena_secptst;
		}
	} else {
		if($arena_secptend < $arena_secptst) {
			@record_minpt = $arena_minptend - $arena_minptst -1;
			@record_secpt = 60 - $arena_secptst + $arena_secptend;
		} else {
			@record_minpt = $arena_minptend - $arena_minptst;
			@record_secpt = $arena_secptend - $arena_secptst;
		}
	}
	@gappt = (60 * $top_ptmin + $top_ptsec) - (60 * @record_minpt + @record_secpt);
	mes "[Staff]";
	mes "Wow, you did a good job~ ";
	mes "Your name is...^3131FF" + strcharinfo(0) +"^000000, isn't it?";
	mes "^3131FF"+ strcharinfo(0) +"^000000, total time you spent to pass the battle..";
	next;
	mes "[Staff]";
	mes "is "+@record_minpt+"minutes "+@record_secpt+"seconds.";
	mes "Congratulations!";
	next;
	mes "[Staff]";
	mes "The fastest party among people who cleared party arena time force battle is ^3131FF"+$arena_pttopn$+"^000000.";
	next;
	mes "[Staff]";
	mes "^3131FF"+$arena_pttopn$+"^000000's running time was ^3131FF"+$top_ptmin+"^000000minutes ^3131FF"+$top_ptsec+"^000000seconds.";
	next;
	.arn_party = getcharid(1);
	if (@gappt < 0) {
		mes "[Staff]";
		mes "Although you failed to make a new record, I hope you will succeed next time.";
		next;
		if (arena_point > 29980) {
			mes "[Staff]";
			mes "Then let me reward you with some arena points....eh?";
			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
			next;
			mes "[Staff]";
			mes "You can check the amount of arena points you have in the arena waiting room.";
			next;
			mes "[Staff]";
			mes "I hope you had a good time and let me guide you to the entrance of arena.";
			mes "Thank you.";
			close2;
		} else {
			arena_point += 40;
			mes "[Staff]";
			mes "Let me reward you some arena points.";
			mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
			next;
			mes "[Staff]";
			mes "Let me guide you to the entrance of arena.";
			mes "See you later~";
			close2;
		}
		if(getpartyleader(.arn_party,2) == getcharid(0)) {
			donpcevent "#arn_timer_pt::OnStop";
			donpcevent "alloff#pt::OnEnable";
			donpcevent "Ponox::OnStart";
		}
		specialeffect2 EH_HIT5;
 		donpcevent "cast#pt::OnNomal1";
		warp "arena_room",100,75;
		end;
	} else {
		emotion e_omg;
		mes "[Staff]";
		mes "Wow! You have renewed the record!";
		mes "What a great job!";
		next;
		if(getpartyleader(.arn_party,2) == getcharid(0)) {
			mes "[Staff]";
			mes "You can record you and your party members on ^FF0000the hall of Arena Time Force Battle party ^000000.";
			mes "When you enter a name, the name will be remained on the top unless someone make a new record.";
			next;
			mes "[Staff]";
			mes "Please enter a name within 10 letters which can represent you and your party members.";
			next;
			switch( select( "Ok.","Let me think." ) )  {
			case 1:
				input .@arnparty$;
				mes "[Staff]";
				mes "You have entered ^3131FF"+.@arnparty$+"^000000. Is it correct?";
				next;
				switch( select( "Yes","No" ) ) {
				case 1:
					$top_ptmin = @record_minpt;
					$top_ptsec = @record_secpt;
					$arena_pttopn$ = .@arnparty$;
					donpcevent "Vendigos::OnLineRec_pt";
					mes "[Staff]";
					mes "Your record has been entered.";
					next;
					break;
				case 2:
					mes "[Staff]";
					mes "Please take your time and think up a nice name.";
					close;
				}
				break;
			case 2:
				mes "[Staff]";
				mes "Please take your time and think up a nice name.";
				close;
			}
		}
		if (arena_point > 29900) {
			mes "[Staff]";
			mes "Then let me reward you with some arena points....eh?";
			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
			next;
			mes "[Staff]";
			mes "You can check the amount of arena points you have in the arena waiting room.";
			next;
			mes "[Staff]";
			mes "I hope you had a good time and let me guide you to the entrance of arena.";
			mes "Thank you.";
			close2;
		} else {
			mes "[Staff]";
			mes "Let me reward you with some arena points.";
			mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time.";
			next;
			arena_point += 100;
			mes "[Staff]";
			mes "Let me reward you some arena points.";
			mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
			next;
			mes "[Staff]";
			mes "Let me guide you to the entrance of arena.";
			mes "See you later~";
			close2;
		}
		if(getpartyleader(.arn_party,2) == getcharid(0)) {
			donpcevent "#arn_timer_pt::OnStop";
			donpcevent "alloff#pt::OnEnable";
			donpcevent "Ponox::OnStart";
		}
		specialeffect2 EF_HIT5;
		warp "arena_room",100,75;
		end;
	}
}

-	script	#arn_timer_pt	FAKE_NPC,{
OnEnter:
	initnpctimer;
	end;

OnTimer2000:
	mapannounce "prt_are_in","This broadcast informs you about the restriction for party arena.",0,0xFFCE00;
	end;

OnTimer3000:
	mapannounce "prt_are_in","For a smooth game play, exit warp portal will be activated in 1 minute.",0,0xFFCE00;
	end;

OnTimer4000:
	mapannounce "prt_are_in","Please proceed your battle quickly as possible in order to avoid disadvantage. Thank you for your cooperation.",0,0xFFCE00;
	end;

OnTimer60000:
	donpcevent "cast#pt::OnTimeOver2";
	donpcevent "arn_warp_pt::OnOut";
	donpcevent "#arn_timer_pt::OnStop";
	donpcevent "alloff#pt::OnEnable";
	donpcevent "Ponox::OnStart";
	end;

OnStop:
	stopnpctimer;
	end;
}

-	script	arn_warp_pt	FAKE_NPC,{
OnOut:
	areawarp "prt_are_in",66,143,81,126,"arena_room",100,75;
	end;
}

-	script	cast#pt	FAKE_NPC,{
OnTimeOver1:
	mapannounce "force_2-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00;
	end;

OnNomal1:
	mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00;
	end;

OnNomal2:
	mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00;
	end;

OnTimeOver2:
	mapannounce "force_2-1","Arena will be reactivated due to an error occurred in the waiting room.",0,0xFFCE00;
	end;
}

-	script	alloff#pt	FAKE_NPC,{
OnEnable:
	mapwarp "force_1-2","prt_are_in",126,139,0,0;
	donpcevent "force_01mob#party::OnReset";
	donpcevent "force_02mob#party::OnReset";
	donpcevent "force_03mob#party::OnReset";
	donpcevent "force_04mob#party::OnReset";
	donpcevent "force_05mob#party::OnReset";
	donpcevent "force_06mob#party::OnReset";
	donpcevent "force_07mob#party::OnReset";
	donpcevent "force_08mob#party::OnReset";
	donpcevent "force_09mob#party::OnReset";
	donpcevent "force_10mob-1#party::OnReset";
	donpcevent "force_10mob-2#party::OnReset";
	donpcevent "force_exitmob#party::OnReset";
	//disablenpc "force_01mob#party";
	//disablenpc "force_02mob#party";
	//disablenpc "force_03mob#party";
	//disablenpc "force_04mob#party";
	//disablenpc "force_05mob#party";
	//disablenpc "force_06mob#party";
	//disablenpc "force_07mob#party";
	//disablenpc "force_08mob#party";
	//disablenpc "force_09mob#party";
	//disablenpc "force_10mob-1#party";
	//disablenpc "force_10mob-2#party";
	enablenpc "force_01start#party";
	enablenpc "force_02start#party";
	enablenpc "force_03start#party";
	disablenpc "force_04start#party";
	disablenpc "force_05start#party";
	disablenpc "force_06start#party";
	disablenpc "force_07start#party";
	disablenpc "force_08start#party";
	disablenpc "force_09start#party";
	disablenpc "force_10start#party";
	disablenpc "force_exit#party";
	disablenpc "force_01_00";
	disablenpc "force_02_00";
	disablenpc "force_03_00";
	disablenpc "force_03_05";
	disablenpc "force_03_04";
	disablenpc "force_04_03";
	disablenpc "force_05_03";
	disablenpc "force_05_06";
	disablenpc "force_06_07";
	disablenpc "force_07_08";
	disablenpc "force_08_09";
	disablenpc "force_09_10";
	disablenpc "force_10_09";
	disablenpc "force_09_exit";
	disablenpc "arena_p";
	donpcevent "Slipslowrun#party::OnTimerOff";
	disablenpc "Slipslowrun#party";
	disablenpc "arn_warp_pt";
	$arn_partywait = 0;
	$arn_partyc = 0;
	donpcevent "#arn_timer_pt::OnStop";
	enablenpc "Slipslowrun#party";
	enablenpc "arena_p";
	end;

OnInit:
	if(!$top_ptmin && !$top_ptsec) $top_ptmin = 10;
	end;
}