Creating a "Try Again" option

Okay, so what I'm trying to do is create an item-based skill system without plugins.

It's easy enough to have a skill trigger a common event that checks if the player has the items needed in their inventory, removes those items and "fakes" a skill trigger. That part's a no brainer.

The problem comes from the fact that I don't want to waste a player's turn if they accidentally select a skill without having the requisite items. Without plugins I can't disable the option to select the skill or display any kind of warning to indicate the player can't do what they want.

I hit on the idea of having an "else" branch (if the player didn't have the required items) which displayed a message along the lines of "you don't have the supplies you need!" and then added a state to the player that gives them an extra turn...but sadly it looks like that state would only be checked at the start of the player's turn and won't trigger correctly like this.

Does anyone know how to "undo" a skill selection or give the player a new, replacement turn after triggering a skill like that?


PS: if you're wondering why I'm trying to do this without plugins, I'm planning to make this for a short MZ game once that system becomes available and I have no idea how quickly Yanfly's item skill cost plugin will take to import and I'm hoping to complete this fairly quickly.
I wont give you a detailed implementation, but maybe some inspiration. You can use 2 skills with the same name, one is the skill and the other one just a placeholder, that is never usable. So when the battle begins, you check if you own the item and then let the player learn either the active or disabled skill. Do this check also when the player uses the skill.
Excellent. That's exactly the trick I needed. That'll involve a lot of event lines, but I can make that work.

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-try-again-option.124347/