diff options
Diffstat (limited to 'npc/018-6-2')
-rw-r--r-- | npc/018-6-2/main.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/018-6-2/main.txt b/npc/018-6-2/main.txt index a1ffd51fa..caaa32a65 100644 --- a/npc/018-6-2/main.txt +++ b/npc/018-6-2/main.txt @@ -14,15 +14,21 @@ OnTouch: .@q2=getq2(LoFQuest_Barbara); .@q3=getq3(LoFQuest_Barbara); if (.@q == 2) { - // 1 - West Puzzle - if (!(.@q3 & 1)) { + // 1/64 - West Puzzle + if (!(.@q3 & 64)) { warp BarbaraInstCheck(0), 68, 90; setq3 LoFQuest_Barbara, .@q3|1; + .@q3=getq3(LoFQuest_Barbara); + setq3 LoFQuest_Barbara, .@q3^64; + disablenpc instance_npcname(.name$, .@q2); } - // 2 - East Puzzle - else if (!(.@q3 & 2)) { + // 2/128 - East Puzzle + else if (!(.@q3 & 128)) { warp BarbaraInstCheck(0), 112, 90; setq3 LoFQuest_Barbara, .@q3|2; + .@q3=getq3(LoFQuest_Barbara); + setq3 LoFQuest_Barbara, .@q3^128; + disablenpc instance_npcname(.name$, .@q2); } // Wut else { |