summaryrefslogtreecommitdiff
path: root/npc/018-6-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 19:09:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 19:09:55 -0300
commit66f4929ac6e7ceb63e4970b1e5aeb8403038b114 (patch)
tree34c4c2d3b751496e53b1d8295dc9dcd23ec3adeb /npc/018-6-2
parent364d4c724c1e31a6ee6e4016e05e600413c7fe57 (diff)
downloadserverdata-66f4929ac6e7ceb63e4970b1e5aeb8403038b114.tar.gz
serverdata-66f4929ac6e7ceb63e4970b1e5aeb8403038b114.tar.bz2
serverdata-66f4929ac6e7ceb63e4970b1e5aeb8403038b114.tar.xz
serverdata-66f4929ac6e7ceb63e4970b1e5aeb8403038b114.zip
Wrong operands
Diffstat (limited to 'npc/018-6-2')
-rw-r--r--npc/018-6-2/main.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/018-6-2/main.txt b/npc/018-6-2/main.txt
index 779c7098f..d34deb632 100644
--- a/npc/018-6-2/main.txt
+++ b/npc/018-6-2/main.txt
@@ -15,28 +15,30 @@ OnTouch:
.@q3=getq3(LoFQuest_Barbara);
if (.@q == 2) {
// 1/64 - West Puzzle
- if (!(.@q3 & 64)) {
+ if ((.@q3 & 64)) {
warp BarbaraInstCheck(0), 68, 90;
setq3 LoFQuest_Barbara, .@q3|1;
.@q3=getq3(LoFQuest_Barbara);
- setq3 LoFQuest_Barbara, .@q3^64;
+ 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);
+ end;
}
// 2/128 - East Puzzle
- else if (!(.@q3 & 128)) {
+ else if ((.@q3 & 128)) {
warp BarbaraInstCheck(0), 112, 90;
setq3 LoFQuest_Barbara, .@q3|2;
.@q3=getq3(LoFQuest_Barbara);
- setq3 LoFQuest_Barbara, .@q3^128;
+ 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);
+ end;
}
// Wut
else {