summaryrefslogtreecommitdiff
path: root/world/map/npc/025-1
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-08-03 16:26:16 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-08-03 16:33:01 -0700
commitab4ab2b1440dcd80dc6d8aaa962b05063a846451 (patch)
tree6e6da97b3e9e9f0ef1e4b674c45dad6e5b1b32f4 /world/map/npc/025-1
parentc09f42bab4e9cb7f9e823b49bbc0c64dd96fa4da (diff)
downloadserverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.gz
serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.bz2
serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.tar.xz
serverdata-ab4ab2b1440dcd80dc6d8aaa962b05063a846451.zip
Completely comment out disabled scripts instead of just the first linev2011.08.03
This meant that every line would be parsed as a toplevel script, and could crash the server under some conditions.
Diffstat (limited to 'world/map/npc/025-1')
-rw-r--r--world/map/npc/025-1/reset.txt98
1 files changed, 51 insertions, 47 deletions
diff --git a/world/map/npc/025-1/reset.txt b/world/map/npc/025-1/reset.txt
index 627724db..86cb97a7 100644
--- a/world/map/npc/025-1/reset.txt
+++ b/world/map/npc/025-1/reset.txt
@@ -1,49 +1,53 @@
-// Uncomment this line if you want to test the script in your local server
-//025-1.gat,47,84,0 script reset 145,{
+//To enable: sed 's_^// __' -i npc/025-1/reset.txt
- mes "Do you want to reset Rossy Quest?";
- menu
- "Reset every variable of the quest.", -,
- "Set Rossy_Quest.", L_Set,
- "Pass cave quest.", L_Pass2,
- "Pass all caves except boss cave.", L_Pass,
- "Do not reset.", L_No;
- set Rossy_Quest, 0;
- set cavefights, 0;
- set FLAGS, FLAGS & ~FLAG_ROSSI_COMPLETED;
+//note by o11c: I think the logic is wrong
+//it should be: cavefights | BATTLE_CAVE1, etc.
-L_No:
- close;
-
-L_Set:
- mes "value";
- input @name$;
- set Rossy_Quest, @name$;
- close;
-
-L_Pass:
- set Rossy_Quest, 15;
- set cavefights, (cavefights ^ BATTLE_CAVE1);
- set cavefights, (cavefights ^ BATTLE_CAVE2);
- set cavefights, (cavefights ^ BATTLE_CAVE3);
- set cavefights, (cavefights ^ BATTLE_CAVE4);
- set cavefights, (cavefights ^ BATTLE_CAVE5);
- set cavefights, (cavefights ^ BATTLE_CAVE6);
- set cavefights, (cavefights ^ BATTLE_CAVE7);
- set cavefights, (cavefights ^ BATTLE_CAVE8);
- set cavefights, (cavefights ^ BATTLE_CAVE9);
- close;
-
-L_Pass2:
- set Rossy_Quest, 16;
- set cavefights, (cavefights ^ BATTLE_CAVE1);
- set cavefights, (cavefights ^ BATTLE_CAVE2);
- set cavefights, (cavefights ^ BATTLE_CAVE3);
- set cavefights, (cavefights ^ BATTLE_CAVE4);
- set cavefights, (cavefights ^ BATTLE_CAVE5);
- set cavefights, (cavefights ^ BATTLE_CAVE6);
- set cavefights, (cavefights ^ BATTLE_CAVE7);
- set cavefights, (cavefights ^ BATTLE_CAVE8);
- set cavefights, (cavefights ^ BATTLE_CAVE9);
- close;
-}
+// 025-1.gat,47,84,0 script reset 145,{
+
+// mes "Do you want to reset Rossy Quest?";
+// menu
+// "Reset every variable of the quest.", -,
+// "Set Rossy_Quest.", L_Set,
+// "Pass cave quest.", L_Pass2,
+// "Pass all caves except boss cave.", L_Pass,
+// "Do not reset.", L_No;
+// set Rossy_Quest, 0;
+// set cavefights, 0;
+// set FLAGS, FLAGS & ~FLAG_ROSSI_COMPLETED;
+
+// L_No:
+// close;
+
+// L_Set:
+// mes "value";
+// input @name$;
+// set Rossy_Quest, @name$;
+// close;
+
+// L_Pass:
+// set Rossy_Quest, 15;
+// set cavefights, (cavefights ^ BATTLE_CAVE1);
+// set cavefights, (cavefights ^ BATTLE_CAVE2);
+// set cavefights, (cavefights ^ BATTLE_CAVE3);
+// set cavefights, (cavefights ^ BATTLE_CAVE4);
+// set cavefights, (cavefights ^ BATTLE_CAVE5);
+// set cavefights, (cavefights ^ BATTLE_CAVE6);
+// set cavefights, (cavefights ^ BATTLE_CAVE7);
+// set cavefights, (cavefights ^ BATTLE_CAVE8);
+// set cavefights, (cavefights ^ BATTLE_CAVE9);
+// close;
+
+// L_Pass2:
+// set Rossy_Quest, 16;
+// set cavefights, (cavefights ^ BATTLE_CAVE1);
+// set cavefights, (cavefights ^ BATTLE_CAVE2);
+// set cavefights, (cavefights ^ BATTLE_CAVE3);
+// set cavefights, (cavefights ^ BATTLE_CAVE4);
+// set cavefights, (cavefights ^ BATTLE_CAVE5);
+// set cavefights, (cavefights ^ BATTLE_CAVE6);
+// set cavefights, (cavefights ^ BATTLE_CAVE7);
+// set cavefights, (cavefights ^ BATTLE_CAVE8);
+// set cavefights, (cavefights ^ BATTLE_CAVE9);
+// close;
+// }