diff options
-rw-r--r-- | npc/018-6-2/main.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/018-6-2/main.txt b/npc/018-6-2/main.txt index caaa32a65..a990e5781 100644 --- a/npc/018-6-2/main.txt +++ b/npc/018-6-2/main.txt @@ -20,7 +20,11 @@ OnTouch: setq3 LoFQuest_Barbara, .@q3|1; .@q3=getq3(LoFQuest_Barbara); setq3 LoFQuest_Barbara, .@q3^64; + .@q3=getq3(LoFQuest_Barbara); disablenpc instance_npcname(.name$, .@q2); + // Puzzle complete, enable next NPC + if (.@q3 == 3) + enablenpc instance_npcname("#ToSouthHall", .@q2); } // 2/128 - East Puzzle else if (!(.@q3 & 128)) { @@ -28,7 +32,11 @@ OnTouch: setq3 LoFQuest_Barbara, .@q3|2; .@q3=getq3(LoFQuest_Barbara); setq3 LoFQuest_Barbara, .@q3^128; + .@q3=getq3(LoFQuest_Barbara); disablenpc instance_npcname(.name$, .@q2); + // Puzzle complete, enable next NPC + if (.@q3 == 3) + enablenpc instance_npcname("#ToSouthHall", .@q2); } // Wut else { |