Hey,
so I'm having an annoying issue and I'm not sure if it's solvable. I'm using the <Custom React Effect> from Yanfly's Buffs & States Core and inside that I call a common event via "$gameTemp.reserveCommonEvent(52);".
My problem is, that this event always is called right after the whole custom react effect code.
A simple example:
Inside the state:
<Custom React Effect>
console.log("1.");
$gameTemp.reserveCommonEvent(1);
console.log("3.");
<Custom React Effect>
inside common event #1 I'm just making a script call with the following inside:
console.log("2.");
Instead of being "1. 2. 3.", the order in the console pops up as "1. 3. 2.". It seems like the commont event isn't called instantaniously but, as I said, after the whole custom react effect.
Does anyone know how to evade this effect, so that the common event is called right on the spot, or if it's even possible?