diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:36:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-01 14:36:42 -0300 |
commit | e2b546eaf63a0d3812a19c65dd16e2aa524f376e (patch) | |
tree | e08ce5512c2ac0ab13e941356ad168265c27854a /npc/018-6-2 | |
parent | aca448ae2ad09914783fcba80505fc6f78d597a6 (diff) | |
download | serverdata-e2b546eaf63a0d3812a19c65dd16e2aa524f376e.tar.gz serverdata-e2b546eaf63a0d3812a19c65dd16e2aa524f376e.tar.bz2 serverdata-e2b546eaf63a0d3812a19c65dd16e2aa524f376e.tar.xz serverdata-e2b546eaf63a0d3812a19c65dd16e2aa524f376e.zip |
West and East Wings should now be working
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 { |