Allow script to run also with MS_COMPLETE status, to allow for ALL_OBJECTIVES_COMPLETE to work properly.
This commit is contained in:
parent
6f0e8ee397
commit
e98b354ce2
|
@ -164,11 +164,14 @@ static void doBattle(void)
|
|||
doLocations();
|
||||
|
||||
doMessageBox();
|
||||
|
||||
if (battle.status == MS_IN_PROGRESS || battle.status == MS_COMPLETE)
|
||||
{
|
||||
doScript();
|
||||
}
|
||||
|
||||
if (battle.status == MS_IN_PROGRESS)
|
||||
{
|
||||
doScript();
|
||||
|
||||
if (battle.stats[STAT_TIME]++ % FPS == 0)
|
||||
{
|
||||
runScriptFunction("TIME %d", battle.stats[STAT_TIME] / FPS);
|
||||
|
|
Loading…
Reference in New Issue