summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-06 17:19:00 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-06 17:19:00 -0300
commite40da4513e24db021d5ccc2a856e0f00dbe8d6f6 (patch)
treef7e7641acbefc14e667b4f12e338bda56ce13b3c /npc
parent3d046f4fc73a3439b3aad78861b84350f58735ff (diff)
downloadserverdata-e40da4513e24db021d5ccc2a856e0f00dbe8d6f6.tar.gz
serverdata-e40da4513e24db021d5ccc2a856e0f00dbe8d6f6.tar.bz2
serverdata-e40da4513e24db021d5ccc2a856e0f00dbe8d6f6.tar.xz
serverdata-e40da4513e24db021d5ccc2a856e0f00dbe8d6f6.zip
This should fix bug 02331.LOGIC
Diffstat (limited to 'npc')
-rw-r--r--npc/023-3-1/logic.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index 5e62775cb..42d223d8b 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -236,9 +236,10 @@ OnE12:
// A warp to non-instanced version to prevent death sprite from showing up.
unitwarp(@ISBAMUTH, "023-3-1", 45, 45);
unitwarp(@SCOUT, "023-3-1", 45, 45);
- unitkill(@ISBAMUTH);
- unitkill(@SCOUT);
+ .@isb=@ISBAMUTH;
@ISBAMUTH=0;
+ unitkill(.@isb);
+ unitkill(@SCOUT);
setq1 FrostiaQuest_Homunculus, 3;
mapannounce(.@m$, "##2"+l("Victory Conditions: Defeat all enemies!"), 0);
mapannounce(.@m$, "##1"+l("Defeat Conditions: Your death!"), 0);
@@ -270,6 +271,8 @@ OnW02:
// Secret events. Do not handle Isbamuth death as it should be impossible...
OnIsbamuthDefeat:
+ if (!@ISBAMUTH)
+ end;
Exception(l("Why do you bully me! - This is a bug: 02331.LOGIC.OID"), RB_DISPBOTTOM|RB_DEBUGMES);
deltimer(.@n$+"::OnW01");
deltimer(.@n$+"::OnW02");