summaryrefslogtreecommitdiff
path: root/npc/000-1/chest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/000-1/chest.txt')
-rw-r--r--npc/000-1/chest.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index 346664be..3aa3dbe7 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -13,7 +13,7 @@
000-1.gat,58,31,0 script Chest#1 316;2,{
- set @q, geta(ShipQuests, ShipQuests_TreasureChest);
+ set @q, getq(ShipQuests_TreasureChest);
if (getnpcdir ("") == 4) goto l_Give;
setnpcdir 2;
@@ -23,7 +23,7 @@
l_Give:
if (@q > 0) goto l_Close;
- seta ShipQuests, ShipQuests_TreasureChest, 1;
+ setq ShipQuests_TreasureChest, 1;
set zeny, zeny + 400;
getitem 508, 1;
getitem 509, 1;