diff --git a/src/battle/objectives.c b/src/battle/objectives.c index 3fce4e0..5ccb1cf 100644 --- a/src/battle/objectives.c +++ b/src/battle/objectives.c @@ -102,6 +102,8 @@ void updateObjective(char *name, int type) o->status = OS_COMPLETE; addHudMessage(colors.green, "%s - Objective Complete!", o->description); + runScriptFunction(o->description); + runScriptFunction("OBJECTIVES_COMPLETE %d", battle.numObjectivesComplete + 1); } }