hime end phase triggers and custom page conditions

Hello y'all,

I'm trying to make a skill that is removed at the beginning of a battle and added again to the character at the end of the battle because of complications I'm having with the other plug-ins. I tried using hime end phase triggers but that is not working. So I tried custom page conditions and that is working except am facing one problem. If the player decides to run away from the battle the skill is lost forever. Which condition should I put that would allow the skill to be added again if they run. Thanks.
@Mkingdom Please post the solution before I close the thread. It would help people with the same issue. Thank you.
I just put parallel processes to check the level of the hero with this skill on all the maps that contained the troop where the skill was needed to be forgotten and relearned. The hero learned the skill at level 10 so the parallel processes checked if the hero is level 10. I also put a switch to turn off the parallel processes once the hero left the maps and went on to a new area so the parallel processes stop running to prevent lag.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/hime-end-phase-triggers-and-custom-page-conditions.122235/