summaryrefslogtreecommitdiff
path: root/npc/005-1
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-09 11:10:20 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-09 11:10:20 -0200
commit1646ea8eca6ed14afaf4c4f254e69e007fc27b55 (patch)
tree2f589b5726cafaf37699c18f8e9e9fc6781a2109 /npc/005-1
parent7ab7640e0a60c6f11c48090b7e53c5c30ead3c33 (diff)
downloadserverdata-1646ea8eca6ed14afaf4c4f254e69e007fc27b55.tar.gz
serverdata-1646ea8eca6ed14afaf4c4f254e69e007fc27b55.tar.bz2
serverdata-1646ea8eca6ed14afaf4c4f254e69e007fc27b55.tar.xz
serverdata-1646ea8eca6ed14afaf4c4f254e69e007fc27b55.zip
Minor optimizations at Zega's quests.
Special thanks goes to 4144's Hercules Converter scriptset. They're really handy to avoid rewriting things from zero! :D
Diffstat (limited to 'npc/005-1')
-rw-r--r--npc/005-1/zegas.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/npc/005-1/zegas.txt b/npc/005-1/zegas.txt
index b7d5c5a4c..f2acc6a13 100644
--- a/npc/005-1/zegas.txt
+++ b/npc/005-1/zegas.txt
@@ -74,21 +74,23 @@ OnInit:
next;
menu
l("Yes."), L_Reset,
- l("Barrel"),L_Cheat,
l("No."), L_Close;
L_Reset:
setq CandorQuest_Barrel, 0;
+ STARTAREA = STARTAREA &~ (1 << 2);
+ STARTAREA = STARTAREA &~ (1 << 3);
+ STARTAREA = STARTAREA &~ (1 << 4);
+ STARTAREA = STARTAREA &~ (1 << 5);
+ STARTAREA = STARTAREA &~ (1 << 6);
+ STARTAREA = STARTAREA &~ (1 << 7);
+ STARTAREA = STARTAREA &~ (1 << 8);
+ STARTAREA = STARTAREA &~ (1 << 9);
mes l("Reset!");
goto L_Close;
-L_Cheat:
- setq CandorQuest_Barrel, 3;
- mes l("Quest Complete!");
- goto L_Close;
-
L_Close:
- showavatar; // hide
+ //showavatar; // Use this to hide the showavatar
close;
//OnInit: