summaryrefslogtreecommitdiff
path: root/npc/002-3_Desert_mines/naem.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-3_Desert_mines/naem.txt')
-rw-r--r--npc/002-3_Desert_mines/naem.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/002-3_Desert_mines/naem.txt b/npc/002-3_Desert_mines/naem.txt
index aca3e0c2..5f0f9bd6 100644
--- a/npc/002-3_Desert_mines/naem.txt
+++ b/npc/002-3_Desert_mines/naem.txt
@@ -2,8 +2,8 @@
002-3.gat,85,97,6 script Naem 109,{
- if (Naem_Quest_Done == 1) goto L_Naem_Complete;
- if (Open_Underground_Palace_Barrier == 1) goto L_Naem_Gloves;
+ if (FLAGS & FLAG_GOT_NAEM_GLOVES) goto L_Naem_Complete;
+ if (FLAGS & FLAG_OPENED_UNDERGROUND) goto L_Naem_Gloves;
if (TMW_Quest == 34) goto L_Naem_Code;
if (TMW_Quest == 33) goto L_Naem_Lt;
if (TMW_Quest == 32) goto L_Naem_Memory;
@@ -113,12 +113,12 @@ L_Naem_Code:
L_Naem_Gloves:
getinventorylist;
if (@inventorylist_count == 100) goto L_Nathan_TooMany;
- set Naem_Quest_Done, 1;
+ set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES;
getitem "MinerGloves", 1;
mes "[Naem]";
mes "\"Hey, good job on getting that together! Take these gloves, they might prove useful in the underground palace.\"";
close;
-
+
L_Naem_TooMany:
mes "[Naem]";
mes "\"You have too many items for me to give you a reward.\"";