summaryrefslogtreecommitdiff
path: root/npc/099-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/099-5')
-rw-r--r--npc/099-5/boss.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/npc/099-5/boss.txt b/npc/099-5/boss.txt
index a645351b..eed13059 100644
--- a/npc/099-5/boss.txt
+++ b/npc/099-5/boss.txt
@@ -219,8 +219,7 @@ OnMTReward52:
goto OnMTDispose;
// Tally rewards
- // FIXME TODO Use a bitwise to save space? Or a quest state.
- if (!#DD5_TALLY)
+ if (getq(Quest_Doomsday) < 3)
goto OnTally;
goto OnEpilogue1;
@@ -241,11 +240,12 @@ OnMTReward42:
// Tally rewards
// FIXME TODO Use a bitwise to save space? See above
- if (!#DD5_TALLY)
+ if (getq(Quest_Doomsday) < 3)
goto OnTally;
goto OnEpilogue1;
OnTally:
+ compareandsetq Quest_Doomsday, 1, 2;
if (@dd5_score > $@DD5_TALLY_)
goto OnTallyOK;
goto OnEpilogue1;
@@ -988,8 +988,6 @@ OnTalkNearby:
// Only react if the message is what we want to hear
if (.@message$ != "MITEYO")
end;
- if ($DOOMSDAY != 3)
- end;
if ($@DD5_HP < 1)
end;
message strcharinfo(0), "Estimated boss HP: "+($@DD5_HP+rand(-100, 100));
@@ -1446,9 +1444,9 @@ L_MissionComplete:
L_Winner:
getitem SaviorArmor, 1;
- getvaultexp(250); // This is TMW's main quest, worth 50% of the EXP bar
$@DD5_TALLY$ = "";
- #DD5_TALLY = 1;
+ setq Quest_Doomsday, 3;
+ getvaultexp(250); // This is TMW's main quest, worth 50% of the EXP bar
mes "##2You were the MVP with "+$@DD5_TALLY_+" points!##0";
//mes "##2Exchange this blue rose with a Game Master!##0";
close;