From 529456b33aafda550cb97ffb13c10e5fc81a54c0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 28 Apr 2022 16:21:45 -0300 Subject: Minimum testing so it barely works --- npc/034-2/gemini.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/034-2') 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); -- cgit v1.2.3-60-g2f50