summaryrefslogtreecommitdiff
path: root/npc/pre-re/other/arena/arena_party.txt
blob: e907b089001d5bffd766150aefa5ee9cfe3687e4 (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
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
//===== rAthena Script ========================================
//= Izlude Party Arena 
//===== By: ==================================================
//= SinSloth
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
//= Izlude Party Battle Arena
//===== Additional Comments: =================================
//= 1.0 First version.
//= 1.0a Fixed a typo.
//= 1.1 Replaced effect numerics with constants. [Samuray22]
//= 1.2 Fixed "OnMobDeath" doesn't work sometime. [Inkfish]
//= 1.3 Corrected donpcevent typo. (bugreport:4374) [L0ne_w0lf]
//============================================================

arena_room,162,88,3	script	Ponox	124,{
	end;

OnInit:
	waitingroom "Party Mode - 5 Member Parties",11,"Ponox::OnStartArena",5,0,10,99;
	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	 67,4,4,{

	if($arn_partywait == 0)
	{
		set $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:
				set $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;
		}
	}
	else end;

OnEnter:
	enablenpc "Helper#party";
	end;

OnStop:
	disablenpc "Helper#party";
	end;

OnInit:
	set $arn_partywait,0;
	end;
}

prt_are_in,73,78,0	script	toarena#party	-1,20,20,{

OnInit:
	disablenpc "toarena#party";
	end;

OnTouch:
	if(Zeny < 1000) warp "arena_room",100,75;
	else
	{
		set Zeny,Zeny -1000;
		set $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	-1,20,20,{

OnInit:
	disablenpc "toout#party";
	end;

OnTimer:
	initnpctimer;
	end;

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

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

OnTouch:
	set $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	-1,1,1,{

OnTouch:
	set $arn_partywait,0;
	warp "arena_room",100,75;
	end;
}

force_1-2,99,31,4	script	Slipslowrun#party	124,{

OnInit:
	set $@mapcountpt,0;
	end;

OnStart:
	initnpctimer;
	set $arena_minptst,gettime(2);
	set $arena_secptst,gettime(1);
	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;
	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")) donpcevent "Slipslowrun#party::OnFail";
	mapannounce "force_1-2","Remaining Time : 9 minutes ",bc_all;
	end;

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

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

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

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

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

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

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

OnTimer540000:
	if(!getmapusers("force_1-2")) 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::OnTimeoff";
	mapwarp "force_1-2","prt_are_in",177,138;
	donpcevent "arena_p::OnReset";
	donpcevent "alloff#party::OnInit";
	donpcevent "Ponox::Onstart";
	end;

OnTimeoff:
	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	-1,{

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";
	set $arn_partyc,0;
	set $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,85,26,1	script	force_00_01	45,1,1,{

OnTouch:
	warp "force_1-2",37,26;
	end;
}

force_1-2,114,26,1	script	force_00_02	45,1,1,{

OnTouch:
	warp "force_1-2",162,26;
	end;
}

force_1-2,99,40,1	script	force_00_03	45,1,1,{

OnTouch:
	warp "force_1-2",99,66;
	end;
}

force_1-2,41,26,1	script	force_01_00	45,1,1,{

OnTouch:
	warp "force_1-2",89,26;
	end;
}

force_1-2,158,26,1	script	force_02_00	45,1,1,{

OnTouch:
	warp "force_1-2",110,26;
	end;
}

force_1-2,99,63,1	script	force_03_00	45,1,1,{

OnTouch:
	warp "force_1-2",99,36;
	end;
}

force_1-2,84,78,1	script	force_03_05	45,1,1,{

OnTouch:
	warp "force_1-2",37,78;
	end;
}

force_1-2,115,78,1	script	force_03_04	45,1,1,{

OnTouch:
	warp "force_1-2",162,78;
	end;
}
force_1-2,158,77,1	script	force_04_03	45,1,1,{

OnTouch:
	warp "force_1-2",110,78;
	end;
}

force_1-2,41,77,1	script	force_05_03	45,1,1,{

OnTouch:
	warp "force_1-2",37,78;
	end;
}

force_1-2,25,93,1	script	force_05_06	45,1,1,{

OnTouch:
	warp "force_1-2",26,118;
	end;
}

force_1-2,49,130,1	script	force_06_07	45,1,1,{

OnTouch:
	warp "force_1-2",91,125;
	end;
}

force_1-2,107,145,1	script	force_07_08	45,1,1,{

OnTouch:
	warp "force_1-2",173,118;
	end;
}

force_1-2,158,178,1	script	force_08_09	45,1,1,{

OnTouch:
	warp "force_1-2",133,178;
	end;
}

force_1-2,55,178,1	script	force_09_10	45,1,1,{

OnTouch:
	warp "force_1-2",29,178;
	end;
}

force_1-2,33,178,1	script	force_10_09	45,1,1,{

OnTouch:
	warp "force_1-2",59,178;
	end;
}

force_1-2,95,187,1	script	force_09_exit	45,1,1,{

OnTouch:
	set $arena_minptend,gettime(2);
	set $arena_secptend,gettime(1);
	warp "prt_are_in",73,139;
	donpcevent "#arn_timer_pt::OnEnter";
	donpcevent "arena_p::OnReset";
	donpcevent "Slipslowrun#party::OnTimeoff";
	end;
}

force_1-2,36,26,0	script	force_01start#party	-1,1,1,{

OnTouch:
	donpcevent "force_01mob#party::Onon";
	disablenpc "force_01start#party";
	end;
}

-	script	force_01mob#party	-1,{

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

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

OnMobDeath:
	set $force_01_pt,$force_01_pt -1;
	if($force_01_pt < 1)
	{
		enablenpc "force_01_00";
		donpcevent "Slipslowrun#party::On01_end";
		set $arn_partyc,$arn_partyc +1;
		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	-1,1,1,{

OnTouch:
	donpcevent "force_02mob#party::Onon";
	disablenpc "force_02start#party";
	end;
}

-	script	force_02mob#party	-1,{

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

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

OnMobDeath:
	set $force_02_pt,$force_02_pt -1;
	if($force_02_pt < 1)
	{
		enablenpc "force_02_00";
		donpcevent "Slipslowrun#party::On02_end";
		set $arn_partyc,$arn_partyc +1;
		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	-1,1,1,{

OnTouch:
	donpcevent "force_03mob#party::Onon";
	disablenpc "force_03start#party";
	end;
}

-	script	force_03mob#party	-1,{

Onon:
	monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath";
	monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath";
	set $force_03_pt,26;
	end;

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

OnMobDeath:
	set $force_03_pt,$force_03_pt -1;
	if($force_03_pt < 1)
	{
		enablenpc "force_03_00";
		donpcevent "Slipslowrun#party::On03_end";
		set $arn_partyc,$arn_partyc +1;
		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	-1,3,3,{

OnTouch:
	donpcevent "force_04mob#party::Onon";
	disablenpc "force_04start#party";
	end;
}

-	script	force_04mob#party	-1,{

Onon:
	monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath";
	monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath";
	set $force_04_pt,22;
	end;

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

OnMobDeath:
	set $force_04_pt,$force_04_pt -1;
	if($force_04_pt < 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	-1,1,1,{

OnTouch:
	donpcevent "force_05mob#party::Onon";
	disablenpc "force_05start#party";
	end;
}

-	script	force_05mob#party	-1,{

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

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

OnMobDeath:
	set $force_05_pt,$force_05_pt -1;
	if($force_05_pt < 1)
	{
		donpcevent "arena_p::On06_start";
		donpcevent "Slipslowrun#party::On05_end2";
	}
	end;
}

force_1-2,26,118,0	script	force_06start#party	-1,1,1,{

OnTouch:
	donpcevent "force_06mob#party::Onon";
	disablenpc "force_06start#party";
	end;
}

-	script	force_06mob#party	-1,{

Onon:
	monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath";
	set $force_06_pt,22;
	end;

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

OnMobDeath:
	set $force_06_pt,$force_06_pt -1;
	if($force_06_pt < 1)
	{
		donpcevent "arena_p::On07_start";
		donpcevent "Slipslowrun#party::On06_end";
		set $arn_partyc,$arn_partyc +1;
	}
	end;
}

force_1-2,92,124,0	script	force_07start#party	-1,1,1,{

OnTouch:
	donpcevent "force_07mob#party::Onon";
	disablenpc "force_07start#party";
	end;
}

-	script	force_07mob#party	-1,{

Onon:
	monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMobDeath";
	monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMobDeath";
	set $force_07_pt,12;
	end;

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

OnMobDeath:
	set $force_07_pt,$force_07_pt -1;
	if($force_07_pt < 1)
	{
		donpcevent "arena_p::On08_start";
		donpcevent "Slipslowrun#party::On07_end";
		set $arn_partyc,$arn_partyc +1;
	}
	end;
}

force_1-2,173,118,0	script	force_08start#party	-1,1,1,{

OnTouch:
	donpcevent "force_08mob#party::Onon";
	disablenpc "force_08start#party";
	end;
}

-	script	force_08mob#party	-1,{

Onon:
	monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMobDeath";
	monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMobDeath";
	monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMobDeath";
	set $force_08_pt,4;
	if(.arn_injustice != 5)
	{
		monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMobDeath";
		set .arn_injustice,.arn_injustice +1;
		set $force_08_pt,$force_08_pt +1;
	}
	monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMobDeath";
	if(.arn_terror != 5)
	{
		monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMobDeath";
		set .arn_terror,.arn_terror +1;
		set $force_08_pt,$force_08_pt +1;
	}
	if(.arn_mummy != 6)
	{
		monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMobDeath";
		set .arn_mummy,.arn_mummy +1;
		set $force_08_pt,$force_08_pt +1;
	}
	if(.arn_skel != 10)
	{
		monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMobDeath";
		set .arn_skel,.arn_skel +1;
		set $force_08_pt,$force_08_pt +1;
	}
	if(.arn_hunt != 5)
	{
		monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMobDeath";
		set .arn_hunt,.arn_hunt +1;
		set $force_08_pt,$force_08_pt +1;
	}
	end;

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

OnMobDeath:
	set $force_08_pt,$force_08_pt -1;
	if($force_08_pt < 1)
	{
		donpcevent "arena_p::On09_start";
		donpcevent "Slipslowrun#party::On08_end";
		set $arn_partyc,$arn_partyc +1;
	}
	end;
}

force_1-2,133,178,0	script	force_09start#party	-1,1,1,{

OnTouch:
	donpcevent "force_09mob#party::Onon";
	disablenpc "force_09start#party";
	end;
}

-	script	force_09mob#party	-1,{

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

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

OnMobDeath:
	set $force_09_pt,$force_09_pt -1;
	if($force_09_pt < 1)
	{
		donpcevent "arena_p::On10_start";
		donpcevent "Slipslowrun#party::On09_end";
		set $arn_partyc,$arn_partyc +1;
	}
	end;
}

force_1-2,29,178,0	script	force_10start#party	-1,1,1,{

OnTouch:
	donpcevent "force_10mob-1#party::Onon1";
	disablenpc "force_10start#party";
	end;
}

-	script	force_10mob-1#party	-1,{

Onon1:
	switch(rand(1,2))
	{
		case 1:
			monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMobDeath";
			break;

		case 2:
			monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMobDeath";
			break;
	}
	set $force_10_1_pt,1;
	end;

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

OnMobDeath:
	set $force_10_1_pt,$force_10_1_pt -1;
	if($force_10_1_pt < 1) donpcevent "force_10mob-2#party::Onon2";
	end;
}

-	script	force_10mob-2#party	-1,{

Onon2:
	monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMobDeath";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath";
	monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath";
	set $force_10_2_pt,6;
	end;

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

OnMobDeath:
	set $force_10_2_pt,$force_10_2_pt -1;
	if($force_10_2_pt < 1)
	{
		donpcevent "arena_p::Onexit";
		donpcevent "Slipslowrun#party::On10_end";
		set $arn_partyc,0;
	}
	end;
}

force_1-2,59,178,0	script	force_exit#party	-1,1,1,{

OnTouch:
	donpcevent "force_exitmob#party::Onon-1";
	disablenpc "force_exit#party";
	end;
}

-	script	force_exitmob#party	-1,{

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

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

prt_are_in,181,135,3	script	Staff#party-1	67,{

	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 set arena_point, arena_point + 1;
	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	67,{

	if($arena_minptend < $arena_minptst)
	{
		if($arena_secptend < $arena_secptst)
		{
			set @record_minpt,60 - $arena_minptst + $arena_minptend -1;
			set @record_secpt,60 - $arena_secptst + $arena_secptend;
		}
		else
		{
			set @record_minpt,60 - $arena_minptst + $arena_minptend;
			set @record_secpt,$arena_secptend - $arena_secptst;
		}
	}
	else
	{
		if($arena_secptend < $arena_secptst)
		{
			set @record_minpt,$arena_minptend - $arena_minptst -1;
			set @record_secpt,60 - $arena_secptst + $arena_secptend;
		}
		else
		{
			set @record_minpt,$arena_minptend - $arena_minptst;
			set @record_secpt,$arena_secptend - $arena_secptst;
		}
	}
	set @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;
	set .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
		{
			set arena_point, 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::Onon";
			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:
							set $top_ptmin, @record_minpt;
							set $top_ptsec, @record_secpt;
							set $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;
			set arena_point, 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::Onon";
			donpcevent "Ponox::Onstart";
		}
		specialeffect2 EF_HIT5;
		warp "arena_room",100,75;
		end;
	}

}

-	script	#arn_timer_pt	-1,{

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::Onon";
	donpcevent "Ponox::Onstart";
	end;

Onstop:
	stopnpctimer;
	end; 
}

-	script	arn_warp_pt	-1,{

Onout:
	areawarp "prt_are_in",66,143,81,126,"arena_room",100,75;
	end;
}

-	script	cast#pt	-1,{

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	-1,{

Onon:
	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_10-1mob#party::OnReset";
	donpcevent "force_10-2mob#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";
	set $arn_partywait,0;
	set $arn_partyc,0;
	donpcevent "#arn_timer_pt::Onstop";
	enablenpc "Slipslowrun#party";
	enablenpc "arena_p";
	end;

OnInit:
	if(!$top_ptmin && !$top_ptsec) set $top_ptmin,10;
	end;

}