I have a function with these two lines of code (it occurs during battle):
target.die();
$gameMessage.add("Test");
They both work properly, except for one thing: the message appears before the death animation even starts. How would I make sure that the message only appears after the enemy has finished their death animation and disappeared from the battle scene?
target.die();
$gameMessage.add("Test");
They both work properly, except for one thing: the message appears before the death animation even starts. How would I make sure that the message only appears after the enemy has finished their death animation and disappeared from the battle scene?