From 4447355543dfa164d61b7cce609810f44d3ecfc6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Oct 2018 23:18:00 -0300 Subject: Correct bug reported by Console --- npc/021-4/doors.txt | 2 +- npc/021-4/main.txt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/021-4') diff --git a/npc/021-4/doors.txt b/npc/021-4/doors.txt index 1d84e72d5..0ba3606aa 100644 --- a/npc/021-4/doors.txt +++ b/npc/021-4/doors.txt @@ -18,7 +18,7 @@ L_Blocked: L_Check: .@pl = getmapusers("021-4"); if (.@pl <= 1) { // Because we must include the one who triggered this script wasn't warped yet - $@CINDY_HERO=""; + $@CINDY_HERO$=""; setnpcdisplay "Cindy#Outside", NPC_CINDY_CAGE; } goto L_Warp; diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt index 8709b3e8c..21e4b1d98 100644 --- a/npc/021-4/main.txt +++ b/npc/021-4/main.txt @@ -67,7 +67,7 @@ L_Reset: if (is_gm()) { $@CINDY_STATE=0; npctalk l("*beeep*"); - } else if ($@CINDY_HERO == strcharinfo(0)) { + } else if ($@CINDY_HERO$ == strcharinfo(0)) { goto L_Winner; } end; @@ -93,7 +93,7 @@ L_Start: if (@menu == 2 && $@CINDY_STATE % 2 == 0) { $@CINDY_STATE+=1; - $@CINDY_HERO=strcharinfo(0); + $@CINDY_HERO$=strcharinfo(0); goto L_Begin; } close; @@ -122,7 +122,7 @@ L_Winner: getitem ApprenticeWand, 1; else Zeny=Zeny+rand(5000,15000); - $@CINDY_HERO=""; + $@CINDY_HERO$=""; setq1 NivalisQuest_Cindy, 5; next; npctalk l("Cindy is gone..."); @@ -145,7 +145,7 @@ OnReward: warp "Save", 0, 0; end; } - if ($@CINDY_HERO == strcharinfo(0)) + if ($@CINDY_HERO$ == strcharinfo(0)) dispbottom l("Congratulations on rescuing Cindy. You should now talk to her before leaving."); else dispbottom l("Congratulations on rescuing Cindy."); @@ -211,7 +211,7 @@ OnInit: .lifetime=0; // Controls Yeti Wave .wtime=0; // Timer runs sort of often. WTime controls automatic Yeti advance .canfinish=0;// Can finish or must talk to cage first? - $@CINDY_HERO=""; + $@CINDY_HERO$=""; disablenpc "#CindySwitch_06"; disablenpc "#CindySwitch_07"; disablenpc "#CindySwitch_08"; -- cgit v1.2.3-70-g09d2