From a970678cb764e34b913ad349752f39cf951e5103 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 12 Dec 2021 13:45:05 -0300 Subject: Fix major bug with setcells --- npc/080-1/final.txt | 2 +- npc/081-2/logic.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/080-1/final.txt b/npc/080-1/final.txt index a287c6c1..a6eb8111 100644 --- a/npc/080-1/final.txt +++ b/npc/080-1/final.txt @@ -197,7 +197,7 @@ OnPayFunds: dispbottom strcharinfo(0) + " : " + l("This clearly is not a real gate; Most likely an illusion to prevent access. I should be able to dispel it by killing the guardians."); slide 84, 137; if (checkcell(getmap(), 84, 135, cell_chkpass)) - setcells .@mapd$, 81, 131, 86, 135, 1, "X21LF@"+X21ID(); + setcells getmap(), 81, 131, 86, 135, 1, "X21LF@"+X21ID(); end; } delcells("X21LF@"+X21ID()); diff --git a/npc/081-2/logic.txt b/npc/081-2/logic.txt index 5a985cce..60591971 100644 --- a/npc/081-2/logic.txt +++ b/npc/081-2/logic.txt @@ -179,7 +179,7 @@ OnInit: dispbottom l("Northern Lights")+" : "+l("The strong shall yield the %s to enlighten the way, according to the established sequence.", b(l("powder"))); slide 105, 214; if (checkcell(getmap(), 105, 212, cell_chkpass)) - setcells .@mapa$, 103, 211, 107, 212, 1, "X21L1@"+X21ID(); + setcells getmap(), 103, 211, 107, 212, 1, "X21L1@"+X21ID(); } end; OnInit: @@ -195,7 +195,7 @@ OnInit: npctalkonce l("In this year Christmas, kids shall play ball. Once the Christmas Tree is set, the festivities may proceed."); slide 127, 130; if (checkcell(getmap(), 127, 128, cell_chkpass)) - setcells .@mapa$, 124, 127, 131, 128, 1, "X21L2@"+X21ID(); + setcells getmap(), 124, 127, 131, 128, 1, "X21L2@"+X21ID(); } end; OnInit: @@ -242,7 +242,7 @@ OnInit: npctalkonce l("One room, Seventeen buttons, Three truths, and a lever to bring joy to the children."); slide 49, 74; if (checkcell(getmap(), 49, 72, cell_chkpass)) - setcells .@mapa$, 47, 71, 51, 72, 1, "X21L3@"+X21ID(); + setcells getmap(), 47, 71, 51, 72, 1, "X21L3@"+X21ID(); } end; OnInit: -- cgit v1.2.3-60-g2f50