Hello, I have been working an a somewhat complex event; which I've had two other topics on here to help me resolve issues I've had, and I've encountered one more issue that I don't understand. This should be the last as I've gotten everything else to work.
I think it may be important so I think I should first say that I'm using the plugins: HIME_BattleActionExp, HIME_LevelUpEvents, & StatDistribution, by FrozenPhoenix.
I think next I'll give a quick explanation of the 12 events. There's all the same minus the actor involved. When the player levels up a window pops up allowing the player to choose any of their stats the wish to boost. The number of points they have to boost their stats with is a random number between 4 & 7. This part works every time. After the player had distributed their stats the event is supposed to heal the player and run through multiple conditional branches to see if the player has high enough stats to learn skills. This is the part that does not always run.
If I use the 'level up' event command to trigger a level up, everything runs perfectly. If I try and use the common event without having leveled up at the same time, nothing past the stat distribution works. (I added a text box with the text "TEST" and even that didn't run) Normally this wouldn't be an issue, but because I'm using HIME_BattleActionExp, the actors can level up mid battle which; if they level up, forces the battle to reset and brings back any already killed enemies. To get around this I set up another event that checks if the player is in battle and if the player has leveled up, if so I trigger a switch that will stop the level up event from running until the battle ends. That fixed my mid battle level up problem but for some reason, the level up common event stops running just after the start of it.
Here are a few screen shots of the event. The red line is where the event stops running if called through the common event. If call through a level up it runs perfectly.
I tried to put spoiler tags around the pictures but I couldn't find out how. Didn't there used to be a button for that?



Stat MDF is not on there twice.

Everything below that is the same just with a different stat and different points needed for them. The skill learn part isn't the problem here so I didn't think including anything below this was needed.
Thank you for any help.
I think it may be important so I think I should first say that I'm using the plugins: HIME_BattleActionExp, HIME_LevelUpEvents, & StatDistribution, by FrozenPhoenix.
I think next I'll give a quick explanation of the 12 events. There's all the same minus the actor involved. When the player levels up a window pops up allowing the player to choose any of their stats the wish to boost. The number of points they have to boost their stats with is a random number between 4 & 7. This part works every time. After the player had distributed their stats the event is supposed to heal the player and run through multiple conditional branches to see if the player has high enough stats to learn skills. This is the part that does not always run.
If I use the 'level up' event command to trigger a level up, everything runs perfectly. If I try and use the common event without having leveled up at the same time, nothing past the stat distribution works. (I added a text box with the text "TEST" and even that didn't run) Normally this wouldn't be an issue, but because I'm using HIME_BattleActionExp, the actors can level up mid battle which; if they level up, forces the battle to reset and brings back any already killed enemies. To get around this I set up another event that checks if the player is in battle and if the player has leveled up, if so I trigger a switch that will stop the level up event from running until the battle ends. That fixed my mid battle level up problem but for some reason, the level up common event stops running just after the start of it.
Here are a few screen shots of the event. The red line is where the event stops running if called through the common event. If call through a level up it runs perfectly.
I tried to put spoiler tags around the pictures but I couldn't find out how. Didn't there used to be a button for that?



Stat MDF is not on there twice.

Everything below that is the same just with a different stat and different points needed for them. The skill learn part isn't the problem here so I didn't think including anything below this was needed.
Thank you for any help.
