diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:37:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:37:45 -0300 |
commit | d7a12ae2c32db522a81eb895e8674e0b35ca1c58 (patch) | |
tree | 1ab027f55c75a231bf07aaef58076be6f8266459 /npc/018-6-2/main.txt | |
parent | e2b546eaf63a0d3812a19c65dd16e2aa524f376e (diff) | |
download | serverdata-d7a12ae2c32db522a81eb895e8674e0b35ca1c58.tar.gz serverdata-d7a12ae2c32db522a81eb895e8674e0b35ca1c58.tar.bz2 serverdata-d7a12ae2c32db522a81eb895e8674e0b35ca1c58.tar.xz serverdata-d7a12ae2c32db522a81eb895e8674e0b35ca1c58.zip |
Enable south wing warp
Diffstat (limited to 'npc/018-6-2/main.txt')
-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 { |