Hi,
I've been hitting some trouble with trying to get Yanfly's Command Party script to work cleanly as something meant for the Actor Command window, rather than the Party Command window. While my tweaked version of the script works correctly, it has some flaws that I'm not sure how to troubleshoot.
Here is a Pastebin of my copy: Link.
I have successfully managed to get it to respond correctly to backing out of the menu when there are no changes to the party lineup (that's what the Scene_Battle.prior_command is for). However, I can still hit back and return to the character that I successfully (meaning I made changes) used Switch on, essentially giving them two turns.
TL;DR: How do I prevent the player from hitting back after a specific command is used, and not cancelled?
Additionally, if there's any way to make it so the game checks for alive party members waiting in the wings and swaps them out for dead ones, that would be great.
I've been hitting some trouble with trying to get Yanfly's Command Party script to work cleanly as something meant for the Actor Command window, rather than the Party Command window. While my tweaked version of the script works correctly, it has some flaws that I'm not sure how to troubleshoot.
Here is a Pastebin of my copy: Link.
I have successfully managed to get it to respond correctly to backing out of the menu when there are no changes to the party lineup (that's what the Scene_Battle.prior_command is for). However, I can still hit back and return to the character that I successfully (meaning I made changes) used Switch on, essentially giving them two turns.
TL;DR: How do I prevent the player from hitting back after a specific command is used, and not cancelled?
Additionally, if there's any way to make it so the game checks for alive party members waiting in the wings and swaps them out for dead ones, that would be great.