summaryrefslogtreecommitdiff
path: root/npc/warps/other/arena.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/warps/other/arena.txt')
-rw-r--r--npc/warps/other/arena.txt91
1 files changed, 58 insertions, 33 deletions
diff --git a/npc/warps/other/arena.txt b/npc/warps/other/arena.txt
index 19a5fdc6a..efc2e42da 100644
--- a/npc/warps/other/arena.txt
+++ b/npc/warps/other/arena.txt
@@ -3,16 +3,19 @@
//===== By: ==================================================
//= SinSloth
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Description: =========================================
-//= Warp Points related to Izlude Arena && Control Panel
+//= Warp Points related to Izlude Arena & Control Panel
//===== Additional Comments: =================================
//= 1.0 First version, done by SinSloth. [MasterOfMuppets]
//= 1.1 updated welcome_arena warp coords (was 128,126) [Lupus]
//= 1.2 Made some updates due to Izlude Battle Arena release. [SinSloth]
-//= 1.3 Moved welcome_arena & bye_arena to pre-re [Streusel]
+//= 1.3 Split Izlude warps into Pre-Renewal/Renewal paths. [Euphy]
+//= 1.4 Added GM management function. [Euphy]
//============================================================
+// Main Room Warps
+//============================================================
arena_room,84,103,0 warp arn_room_11_1 1,1,arena_room,63,130
arena_room,63,126,0 warp arn_room_11_2 1,1,arena_room,87,100
arena_room,76,87,0 warp arn_room_9_1 1,1,arena_room,46,87
@@ -25,45 +28,67 @@ arena_room,123,88,0 warp arn_room_3_1 1,1,arena_room,153,87
arena_room,150,87,0 warp arn_room_3_2 1,1,arena_room,120,87
prt_are_in,54,13,0 warp toarn_room 1,1,arena_room,100,77
-sec_in02,79,180,3 script #arenacontrol 81,{
+// Acolyte Warps
+//============================================================
+arena_room,135,126,0 warp byeaco#arena 1,1,arena_room,111,99
+force_5-1,25,44,0 warp force_01_02#aco 1,1,force_5-1,25,69
+force_5-1,25,134,0 warp force_02_03#aco 1,1,force_5-1,25,159
+force_5-1,44,174,0 warp force_03_04#aco 1,1,force_5-1,69,174
+force_5-1,134,174,0 warp force_04_05#aco 1,1,force_5-1,159,174
+force_5-1,174,155,0 warp force_05_06#aco 1,1,force_5-1,174,130
+force_5-1,174,65,0 warp force_06_07#aco 1,1,force_5-1,174,40
+force_5-1,155,26,0 warp force_07_08#aco 1,1,force_5-1,132,26
+force_5-1,99,54,0 warp force_08_09#aco 1,1,force_5-1,99,82
-DLGTEMP:
- input @input_arena;
- if (@input_arena < 0 || @input_arena > 2000) goto DLGTEMP; //CHECK
- if (@input_arena == 0)
- {
+// Party Warps
+//============================================================
+force_1-2,85,26,0 warp force_00_01 1,1,force_1-2,37,26
+force_1-2,114,26,0 warp force_00_02 1,1,force_1-2,162,26
+force_1-2,99,40,0 warp force_00_03 1,1,force_1-2,99,66
+force_1-2,41,26,0 warp force_01_00 1,1,force_1-2,89,26
+force_1-2,158,26,0 warp force_02_00 1,1,force_1-2,110,26
+force_1-2,99,63,0 warp force_03_00 1,1,force_1-2,99,36
+force_1-2,84,78,0 warp force_03_05 1,1,force_1-2,37,78
+force_1-2,115,78,0 warp force_03_04 1,1,force_1-2,162,78
+force_1-2,158,77,0 warp force_04_03 1,1,force_1-2,110,78
+force_1-2,41,77,0 warp force_05_03 1,1,force_1-2,37,78
+force_1-2,25,93,0 warp force_05_06 1,1,force_1-2,26,118
+force_1-2,49,130,0 warp force_06_07 1,1,force_1-2,91,125
+force_1-2,107,145,0 warp force_07_08 1,1,force_1-2,173,118
+force_1-2,158,178,0 warp force_08_09 1,1,force_1-2,133,178
+force_1-2,55,178,0 warp force_09_10 1,1,force_1-2,29,178
+force_1-2,33,178,0 warp force_10_09 1,1,force_1-2,59,178
+
+// GM Control Panel
+//============================================================
+sec_in02,79,180,3 script #arenacontrol 81,{
+ set .@i, callfunc("F_GM_NPC",1357,0);
+ if (.@i == -1) {
mes "Error!";
close;
- }
- else if (@input_arena == 1357)
- {
+ } else if (.@i == 0) {
+ mes "Closing control panel.";
+ close;
+ } else {
mes "Opening Control Panel";
mes "' A - R - E - N - A '";
next;
mes "Please select a";
mes "state for the arena.";
next;
- switch( select( "Open.","Closed.") )
- {
- case 1:
- mes "Currently";
- mes "opening arena.";
- misceffect EF_ENHANCE; //CHECK
- enablenpc "welcome_arena";
- next;
- break;
- case 2:
- mes "Currently";
- mes "closing arena.";
- misceffect EF_EXIT; //CHECK
- disablenpc "welcome_arena";
- next;
- break;
+ switch(select("Open.:Closed.")) {
+ case 1:
+ mes "Currently";
+ mes "opening arena.";
+ specialeffect EF_ENHANCE;
+ enablenpc "welcome_arena";
+ close;
+ case 2:
+ mes "Currently";
+ mes "closing arena.";
+ specialeffect EF_EXIT;
+ disablenpc "welcome_arena";
+ close;
}
}
- else
- {
- mes "Closing control panel.";
- close;
- }
}