summaryrefslogtreecommitdiff
path: root/npc/013-3_Cave/sword_chest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/013-3_Cave/sword_chest.txt')
-rw-r--r--npc/013-3_Cave/sword_chest.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/013-3_Cave/sword_chest.txt b/npc/013-3_Cave/sword_chest.txt
index aad6dde8..2860cfa1 100644
--- a/npc/013-3_Cave/sword_chest.txt
+++ b/npc/013-3_Cave/sword_chest.txt
@@ -1,7 +1,7 @@
//
013-3.gat,177,22,0 script Chest 111,{
- if( ChestQuest && 2) goto L_Finished;
+ if( ChestQuest & 2) goto L_Finished;
mes "[Chest]";
mes "Would you try to open it?";
@@ -17,7 +17,7 @@ L_Yes:
getitem 536, 1;
mes "[Chest]";
mes "You opened it and found a short sword!";
- set ChestQuest, ChestQuest || 2;
+ set ChestQuest, ChestQuest | 2;
close;
L_Not_Enough: