From 5a250e73d24cd84f3d4999ffb93c9ba20384d04e Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 19 May 2016 09:31:09 +0100 Subject: [PATCH] Also run ALL_OBJECTIVES_COMPLETE in doObjectives(). --- src/battle/objectives.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/objectives.c b/src/battle/objectives.c index 1c42bb4..a39f193 100644 --- a/src/battle/objectives.c +++ b/src/battle/objectives.c @@ -78,6 +78,8 @@ void doObjectives(void) { if (!battle.manualComplete && !hasHidden && battle.numObjectivesTotal > 0 && battle.numObjectivesComplete == battle.numObjectivesTotal) { + runScriptFunction("ALL_OBJECTIVES_COMPLETE"); + completeMission(); }