No, I need another event but I don't know how I'd set it up. I thought what i had in mind would work but it won't. See I was going to set up another event that checks is the player learnt the skill then the event would turn a switch on and remove the skill, the switch that turned on would be in a conditional branch in the first event. If the switch is on then the player learns the skill. So as you can see in the screenshot of the first event, it checks whether the player has the state inflicted, if it is inflicted then it continues to check a series of switches, if they're on the player learns a skill if they're not on, the player doesn't, if the state isn't inflicted all of the state skills are removed.
The second event I had in mind wouldn't work, the event is checking if the player learnt a skill, if the player learnt the skill, a switch turned on and the player forgot that skill until they had the state inflicted, but since that event is checking if the player has the state inflicted gives the player the skill back, the second one would take it away...
I'm no good at explaining things but see if get it now.