diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-18 21:58:47 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-19 14:19:55 -0700 |
commit | bae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch) | |
tree | 4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/025-1/reset.txt | |
parent | 319f80526f8585ecadaec986e37c9bd326f4d363 (diff) | |
download | serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2 serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip |
Move to a subdirectory
Diffstat (limited to 'world/map/npc/025-1/reset.txt')
-rw-r--r-- | world/map/npc/025-1/reset.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/world/map/npc/025-1/reset.txt b/world/map/npc/025-1/reset.txt new file mode 100644 index 00000000..26feec12 --- /dev/null +++ b/world/map/npc/025-1/reset.txt @@ -0,0 +1,49 @@ +// +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; +} |