// ------------------------------------------------------------------
// 			Setup Of Arena
// ------------------------------------------------------------------

// The following maps are used
//map: prontera.gat
//map: prt_are_in.gat
//map: force_1-1.gat

// Disallow Teleport, etc.
force_1-1.gat	mapflag	pvp	dummy
force_1-2.gat	mapflag	pvp	dummy
force_1-3.gat	mapflag	pvp	dummy
force_2-1.gat	mapflag	pvp	dummy
force_2-2.gat	mapflag	pvp	dummy
force_2-3.gat	mapflag	pvp	dummy
force_3-1.gat	mapflag	pvp	dummy
force_3-2.gat	mapflag	pvp	dummy
force_3-3.gat	mapflag	pvp	dummy
prt_are_in.gat	mapflag	nomemo	dummy
prt_are_in.gat	mapflag	noteleport	dummy
prt_are_in.gat	mapflag	nosave	prontera.gat,156,191
force_1-1.gat	mapflag	nomemo	dummy
force_1-1.gat	mapflag	noteleport	dummy
force_1-1.gat	mapflag	nosave	prontera.gat,156,191

// An entrance is placed in Prontera.
prontera.gat,160,185,3	script	Arena Entrance	116,{
	mes "Want to go to the arena?";
	next;
	menu "Let's go!",L_GOARENA,"Nah..",L_YAME;
L_GOARENA:
	warp "prt_are_in.gat",31,82;
	close;
L_YAME:
	close;
}

// Teleport from waiting room to ready room
prt_are_in.gat,29,79,0	script	Time Attack	116,{
	if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;

	mes "This is the Time Attack selection.";
	mes "Please choose your challenge.";
	menu "Level 1 - 5 Porings, 30 secs!",L_GOLV1,"Level 2 - 7 Roda Frogs, 60 secs!",L_GOLV2,"Level 3 - 9 PecoPecos, 100 secs!",L_GOLV3,"Never mind.",L_YAME;
L_GOLV1:
	if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
	disablenpc "fc103-1";
	disablenpc "fc105";
	disablenpc "fc107";
	addtimer 5000,"arenalv1st";
	warp "force_1-1.gat",99,12;
	end;
L_GOLV2:
	if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
	disablenpc "fc103-1";
	disablenpc "fc105";
	disablenpc "fc107";
	addtimer 5000,"arenalv2st";
	warp "force_1-1.gat",99,12;
	end;	
L_GOLV3:
	if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
	disablenpc "fc103-1";
	disablenpc "fc105";
	disablenpc "fc107";
	addtimer 5000,"arenalv3st";
	warp "force_1-1.gat",99,12;
	end;	
L_WAIT:
	mes "Since the arena is in use,";
	mes "please wait for a while.";
L_YAME:
	close;
}


// Ready room (10-second preparation)
force_1-1.gat,99,12,0	script	arenalv1st	-1,{
	announce "It will begin in 10 seconds!",3;
	addtimer 10000,"arenalv1fgt";
}
force_1-1.gat,99,12,0	script	arenalv2st	-1,{
	announce "It will begin in 10 seconds!",3;
	addtimer 10000,"arenalv2fgt";
}
force_1-1.gat,99,12,0	script	arenalv3st	-1,{
	announce "It will begin in 10 seconds!",3;
	addtimer 10000,"arenalv3fgt";
}


// Transmission to the room, and mob organization
//Time Attack Level 1
force_1-1.gat,99,12,0	script	arenalv1fgt	-1,{
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",25,25,"Arena Enemy",1002,1,"arenalv1fgt::arenalv1mon";
	monster "force_1-1.gat",20,25,"Arena Enemy",1002,1,"arenalv1fgt::arenalv1mon";
	monster "force_1-1.gat",25,20,"Arena Enemy",1002,1,"arenalv1fgt::arenalv1mon";
	monster "force_1-1.gat",30,25,"Arena Enemy",1002,1,"arenalv1fgt::arenalv1mon";
	monster "force_1-1.gat",25,30,"Arena Enemy",1002,1,"arenalv1fgt::arenalv1mon";
	set $arena00,5;
	disablenpc "fc101";
	disablenpc "fc103";
	warp "force_1-1.gat",25,26;
	enablenpc "fc103-1";
	enablenpc "fc105";
	enablenpc "fc107";
	announce "Do it within 30 seconds!",19;
	addtimer 30000,"arenalv1fail";
	addtimer 20000,"tensecsleft";
arenalv1mon:
	end;
}

//Time Attack Level 2
force_1-1.gat,99,12,0	script	arenalv2fgt	-1,{
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",20,20,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",20,25,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",20,30,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",30,20,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",30,25,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",30,30,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",25,30,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	monster "force_1-1.gat",25,20,"Arena Enemy",1012,1,"arenalv2fgt::arenalv2mon";
	set $arena00,7;
	disablenpc "fc101";
	disablenpc "fc103";
	warp "force_1-1.gat",25,26;
	enablenpc "fc103-1";
	enablenpc "fc105";
	enablenpc "fc107";
	announce "You have 60 seconds to destroy all seven!",19;
	addtimer 60000,"arenalv2fail";
	addtimer 50000,"tensecsleft";
arenalv2mon:
	end;
}

//Time Attack Level 3
force_1-1.gat,99,12,0	script	arenalv3fgt	-1,{
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",20,20,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",20,25,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",20,30,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",30,20,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",30,25,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",30,30,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",25,30,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",25,25,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",25,20,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	monster "force_1-1.gat",20,35,"Arena Enemy",1019,1,"arenalv3fgt::arenalv3mon";
	set $arena00,9;
	disablenpc "fc101";
	disablenpc "fc103";
	warp "force_1-1.gat",25,26;
	enablenpc "fc103-1";
	enablenpc "fc105";
	enablenpc "fc107";
	announce "You have 90 seconds to destroy all nine!",19;
	addtimer 90000,"arenalv3fail";
	addtimer 80000,"tensecsleft";
arenalv3mon:
	end;
}

// Pushed-down Processing
//Time Attack Level 1
force_1-1.gat,25,26,0	script	arenalv1mon	-1,{
	set $arena00, $arena00 - 1;
	if( $arena00 > 0 ) goto L_CONT;
	deltimer "arenaev8000";
	announce "Crash!!",3;
	enablenpc "fc101";
	enablenpc "fc103";
	areaannounce "force_1-1.gat",0,0,350,350,
		"You cleared Time Attack Level 1.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	areaannounce "gonryun.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 1.",0;
	addtimer 5000,"arenareturn";
L_CONT:
	end;
}

force_1-1.gat,25,26,0 	script	arenalv2mon	-1,{
	set $arena00, $arena00 - 1;
	if( $arena00 > 0 ) goto L_CONT;
	deltimer "arenaev8000";
	announce "Crash!!",3;
	enablenpc "fc101";
	enablenpc "fc103";
	areaannounce "force_1-1.gat",0,0,350,350,
		"You cleared Time Attack Level 2.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	areaannounce "gonryun.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 2.",0;
	addtimer 5000,"arenareturn";
L_CONT:
	end;
}


force_1-1.gat,25,26,0 	script	arenalv3mon	-1,{
	set $arena00, $arena00 - 1;
	if( $arena00 > 0 ) goto L_CONT;
	deltimer "arenaev8000";
	announce "Crash!!",3;
	enablenpc "fc101";
	enablenpc "fc103";
	areaannounce "force_1-1.gat",0,0,350,350,
		"You cleared Time Attack Level 3.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	areaannounce "gonryun.gat",0,0,350,350,
		strcharinfo(0) + " cleared Time Attack Level 3.",0;
	addtimer 5000,"arenareturn";
L_CONT:
	end;
}

// Timeout
force_1-1.gat,25,26,0	script	arenalv1fail	-1,{
	set $arena00,99;
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	announce "Time Over!!",3;
	areaannounce "force_1-1.gat",0,0,350,350,
		"You failed Time Attack Level 1.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	areaannounce "gonryun",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 1.",0;
	addtimer 5000,"arenareturn";
}

force_1-1.gat,25,26,0	script	arenalv2fail	-1,{
	set $arena00,99;
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	announce "Time Over!!",3;
	areaannounce "force_1-1.gat",0,0,350,350,
		"You failed Time Attack Level 2.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	areaannounce "gonryun",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 2.",0;
	addtimer 5000,"arenareturn";
}

force_1-1.gat,25,26,0	script	arenalv3fail	-1,{
	set $arena00,99;
	killmonster "force_1-1.gat","arenalv1fgt::arenalv1mon";
	killmonster "force_1-1.gat","arenalv2fgt::arenalv2mon";
	killmonster "force_1-1.gat","arenalv3fgt::arenalv3mon";
	announce "Time Over!!",3;
	areaannounce "force_1-1.gat",0,0,350,350,
		"You failed Time Attack Level 2.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prontera.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "morocc.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "geffen.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payon.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "alberta.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "izlude.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "aldebaran.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prt_are_in.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "xmas.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "comodo.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prt_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prtg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prtg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prtg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prtg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "prtg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "pay_gld.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payg_cas01.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payg_cas02.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payg_cas03.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payg_cas04.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "payg_cas05.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "yuno.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "amatsu.gat",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	areaannounce "gonryun",0,0,350,350,
		strcharinfo(0) + " failed Time Attack Level 3.",0;
	addtimer 5000,"arenareturn";
}

// Reminding the player of time constraints.
force_1-1.gat,25,26,0	script	tensecsleft	-1,{
	announce "Ten seconds remaining!",3;
}


// Return to Prontera
force_1-1.gat,25,26,0	script	arenareturn	-1,{
	warp "prontera.gat",156,191;
}

//Time Limit Mode
force_1-1.gat,25,44,0	warp	fc101	1,1,force_1-1.gat,25,69
force_1-1.gat,25,65,0	warp	fc101-1	1,1,force_1-1.gat,25,40
force_1-1.gat,25,134,0	warp	fc102	1,1,force_1-1.gat,25,159
force_1-1.gat,25,155,0	warp	fc102-1	1,1,force_1-1.gat,25,130
force_1-1.gat,44,26,0	warp	fc103	1,1,force_1-1.gat,66,26
force_1-1.gat,62,26,0	warp	fc103-1	1,1,force_1-1.gat,40,26
force_1-1.gat,44,174,0	warp	fc104	1,1,force_1-1.gat,69,174
force_1-1.gat,65,174,0	warp	fc104-1	1,1,force_1-1.gat,40,174
force_1-1.gat,99,54,0	warp	fc105	1,1,force_1-1.gat,96,82
force_1-1.gat,100,81,0	warp	fc105-1	1,1,force_1-1.gat,99,51
force_1-1.gat,134,174,0	warp	fc106	1,1,force_1-1.gat,159,174
force_1-1.gat,155,174,0	warp	fc106-1	1,1,force_1-1.gat,130,174
force_1-1.gat,137,26,0	warp	fc107	1,1,force_1-1.gat,159,26
force_1-1.gat,155,26,0	warp	fc107-1	1,1,force_1-1.gat,132,26
force_1-1.gat,174,44,0	warp	fc108	1,1,force_1-1.gat,174,69
force_1-1.gat,174,65,0	warp	fc108-1	1,1,force_1-1.gat,174,40
force_1-1.gat,174,134,0	warp	fc109	1,1,force_1-1.gat,174,159
force_1-1.gat,174,155,0	warp	fc109-1	1,1,force_1-1.gat,174,130
force_1-2.gat,25,93,0	warp	fc201	1,1,force_1-2.gat,25,118
force_1-2.gat,25,114,0	warp	fc201-1	1,1,force_1-2.gat,25,89
force_1-2.gat,33,178,0	warp	fc202	1,1,force_1-2.gat,59,178
force_1-2.gat,55,178,0	warp	fc202-1	1,1,force_1-2.gat,29,178
force_1-2.gat,41,26,0	warp	fc203	1,1,force_1-2.gat,89,26
force_1-2.gat,85,26,0	warp	fc203-1	1,1,force_1-2.gat,37,26
force_1-2.gat,41,78,0	warp	fc204	1,1,force_1-2.gat,88,78
force_1-2.gat,84,78,0	warp	fc204-1	1,1,force_1-2.gat,37,78
force_1-2.gat,49,130,0	warp	fc205	1,1,force_1-2.gat,91,125
force_1-2.gat,91,129,0	warp	fc205-1	1,1,force_1-2.gat,49,134
force_1-2.gat,95,187,0	warp	fc206	1,1,force_1-2.gat,107,141
force_1-2.gat,107,145,0	warp	fc206-1	1,1,force_1-2.gat,95,183
force_1-2.gat,99,40,0	warp	fc207	1,1,force_1-2.gat,99,66
force_1-2.gat,99,62,0	warp	fc207-1	1,1,force_1-2.gat,99,36
force_1-2.gat,114,26,0	warp	fc208	1,1,force_1-2.gat,162,26
force_1-2.gat,158,26,0	warp	fc208-1	1,1,force_1-2.gat,110,26
force_1-2.gat,115,78,0	warp	fc209	1,1,force_1-2.gat,162,78
force_1-2.gat,158,78,0	warp	fc209-1	1,1,force_1-2.gat,111,78
force_1-2.gat,137,178,0	warp	fc210	1,1,force_1-2.gat,162,178
force_1-2.gat,158,178,0	warp	fc210-1	1,1,force_1-2.gat,133,178
force_1-2.gat,173,93,0	warp	fc211	1,1,force_1-2.gat,173,118
force_1-2.gat,173,114,0	warp	fc211-1	1,1,force_1-2.gat,173,89
force_1-3.gat,10,100,0	warp	fc301	1,1,force_1-3.gat,25,180
force_1-3.gat,29,180,0	warp	fc301-1	1,1,force_1-3.gat,14,100
force_1-3.gat,19,10,0	warp	fc302	1,1,force_1-3.gat,19,185
force_1-3.gat,19,189,0	warp	fc302-1	1,1,force_1-3.gat,19,14
force_1-3.gat,19,29,0	warp	fc303	1,1,force_1-3.gat,19,54
force_1-3.gat,19,50,0	warp	fc303-1	1,1,force_1-3.gat,19,25
force_1-3.gat,19,147,0	warp	fc304	1,1,force_1-3.gat,179,94
force_1-3.gat,179,90,0	warp	fc304-1	1,1,force_1-3.gat,19,143
force_1-3.gat,29,100,0	warp	fc305	1,1,force_1-3.gat,174,180
force_1-3.gat,170,180,0	warp	fc305-1	1,1,force_1-3.gat,24,100
force_1-3.gat,59,29,0	warp	fc306	1,1,force_1-3.gat,99,132
force_1-3.gat,99,128,0	warp	fc306-1	1,1,force_1-3.gat,59,25
force_1-3.gat,59,69,0	warp	fc307	1,1,force_1-3.gat,59,94
force_1-3.gat,59,90,0	warp	fc307-1	1,1,force_1-3.gat,59,65
force_1-3.gat,59,109,0	warp	fc308	1,1,force_1-3.gat,139,54
force_1-3.gat,139,50,0	warp	fc308-1	1,1,force_1-3.gat,59,105
force_1-3.gat,59,128,0	warp	fc309	1,1,force_1-3.gat,139,105
force_1-3.gat,139,109,0	warp	fc309-1	1,1,force_1-3.gat,59,132
force_1-3.gat,69,20,0	warp	fc310	1,1,force_1-3.gat,134,100
force_1-3.gat,130,100,0	warp	fc310-1	1,1,force_1-3.gat,65,20
force_1-3.gat,69,60,0	warp	fc311	1,1,force_1-3.gat,94,60
force_1-3.gat,90,60,0	warp	fc311-1	1,1,force_1-3.gat,65,60
force_1-3.gat,69,138,0	warp	fc312	1,1,force_1-3.gat,174,60
force_1-3.gat,170,60,0	warp	fc312-1	1,1,force_1-3.gat,65,138
force_1-3.gat,99,147,0	warp	fc313	1,1,force_1-3.gat,99,168
force_1-3.gat,99,164,0	warp	fc313-1	1,1,force_1-3.gat,99,143
force_1-3.gat,109,60,0	warp	fc314	1,1,force_1-3.gat,134,20
force_1-3.gat,130,20,0	warp	fc314-1	1,1,force_1-3.gat,105,60
force_1-3.gat,109,100,0	warp	fc315	1,1,force_1-3.gat,174,100
force_1-3.gat,170,100,0	warp	fc315-1	1,1,force_1-3.gat,105,100
force_1-3.gat,109,138,0	warp	fc316	1,1,force_1-3.gat,134,138
force_1-3.gat,130,138,0	warp	fc316-1	1,1,force_1-3.gat,105,138
force_1-3.gat,139,147,0	warp	fc317	1,1,force_1-3.gat,179,174
force_1-3.gat,179,170,0	warp	fc317-1	1,1,force_1-3.gat,139,143
force_1-3.gat,179,29,0	warp	fc318	1,1,force_1-3.gat,179,54
force_1-3.gat,179,50,0	warp	fc318-1	1,1,force_1-3.gat,179,25
force_1-3.gat,179,109,0	warp	fc319	1,1,force_1-3.gat,179,132
force_1-3.gat,179,128,0	warp	fc319-1	1,1,force_1-3.gat,179,105
