From 1646ea8eca6ed14afaf4c4f254e69e007fc27b55 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Fri, 9 Feb 2018 11:10:20 -0200 Subject: 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 --- npc/005-1/zegas.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'npc/005-1/zegas.txt') 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: -- cgit v1.2.3-70-g09d2