summaryrefslogtreecommitdiff
path: root/npc/034-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/034-2')
-rw-r--r--npc/034-2/gemini.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/034-2/gemini.txt b/npc/034-2/gemini.txt
index c19cc5558..a6a09ac36 100644
--- a/npc/034-2/gemini.txt
+++ b/npc/034-2/gemini.txt
@@ -19,7 +19,8 @@ OnTouch:
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(7);
- if ('STATUS < 8) {
+ .@p=getcharid(1);
+ if ($@VALIA_STATUS[.@p] < 8) {
dispbottom l("One of the bandits locked this door; We need to find the key!");
end;
}
@@ -69,8 +70,8 @@ OnTouch:
unitkill(.@b2);
areawarp(.@m$, 30, 92, 33, 95, .@m$, 57, 101, 66, 104);
// First ambush, set some stuff up
- if ('STATUS == 6) {
- 'STATUS=7;
+ if ($@VALIA_STATUS[.@p] == 6) {
+ $@VALIA_STATUS[.@p]=7;
.@mob=monster("val2@"+.@p, 57, 104, strmobinfo(1, CopperSlime), CopperSlime, 1, "Valia::OnKey1");
setunitdata(.@mob, UDT_LEVEL, 1);