diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-08 16:11:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-08 16:11:54 -0300 |
commit | 8ff79ad5866d012528e34ac28a11aa79954305f7 (patch) | |
tree | 231ba08c1e0511bb6bd94324a1dc406eccaffe93 /npc/026-5 | |
parent | e5f5c9aa111051b36de7796843d730ced43edf92 (diff) | |
download | serverdata-8ff79ad5866d012528e34ac28a11aa79954305f7.tar.gz serverdata-8ff79ad5866d012528e34ac28a11aa79954305f7.tar.bz2 serverdata-8ff79ad5866d012528e34ac28a11aa79954305f7.tar.xz serverdata-8ff79ad5866d012528e34ac28a11aa79954305f7.zip |
Bugfix
Diffstat (limited to 'npc/026-5')
-rw-r--r-- | npc/026-5/ctrl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/026-5/ctrl.c b/npc/026-5/ctrl.c index 3879357cf..2ae7acd85 100644 --- a/npc/026-5/ctrl.c +++ b/npc/026-5/ctrl.c @@ -31,7 +31,7 @@ OnInit: debugmes "Impregnable Fortress B5F (%d): Init OK", .InstId; MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs setmapflag("026-5", mf_zone, "SuperMMO"); - end; + goto OnClock1843; OnClock1843: if (!.InstId) end; @@ -96,14 +96,15 @@ function _moveNpc { mesn l("The Riddled Switch"); mes l("Our master respects %s, so those whom wish to meet him, the following shall they prove:", b(l("knowledge"))); // Blackbox will question and validate the answer - if (!0235_Riddle_BlackBox(.@id)) + if (!0235_Riddle_BlackBox(.@id)) { + mesc l("The answer, apparently, was incorrect."), 1; close; - next; + } // Mark this switch as done setq2 General_Fortress, getq2(General_Fortress) | .@bit; dispbottom l("You hear a *clank*, it must have worked."); // Check if this was the last switch - if (getq2(General_Fortress) == 31) { + if (getq2(General_Fortress) == 127) { dispbottom l("This was the last one of them. Now to find the door..."); setq General_Fortress, 7, 0, 0; specialeffect(FX_MGWARP, SELF, getcharid(3)); |