So I'm using the sideview battlers script by theolized, however when I press escape to choose fight or escape, I press the right arrow key to choose escape but it opens up the battle menu again, so I was wondering if it's possible to just turn off escaping ALL AROUND (with the exception of an item) if there's no way to fix the issue.
Question about escaping battle
RPG Maker VXAce SupportYou can simply comment out one line and it should work. In your scripts "Window_PartyCommand" at line 34 there should be this script text:
add_command(Vocab::escape, BattleManager.can_escape?)
If you simply add a # in front of that line it will comment out the text.
Just some info on what it will do in case you are unfamiliar with adjusting scripts. The # comments out a line, which means it will keep the line of code in the script, but when the script gets utilized in the background (read by the computer program), it will not use that line of code because basically it thinks it is not actual code. TIP: Anytime I comment out some code, whether it is in an RTP script, or a custom script, I always put my initials GS84. This way, if I adjust something, or add something later and something messes up, I can easily find which codes I've changed/commented out and I can try to fix it. I think it's a good idea to do this whether you are a seasoned scripter/coder or someone brand new to it. Anyways, when you comment out this piece of code, when you go into battle, the Escape command will not appear as an option. I even tried it on an evented battle with the option "Can Escape" check marked and still the Escape command does not appear in battle. Since the command does not appear in battle, the player will not be able to choose that option, but should still be able to escape with an item.
I did not use any battle or menu changing scripts when I tested this, so let me know if this does not work for you.
add_command(Vocab::escape, BattleManager.can_escape?)
If you simply add a # in front of that line it will comment out the text.
Just some info on what it will do in case you are unfamiliar with adjusting scripts. The # comments out a line, which means it will keep the line of code in the script, but when the script gets utilized in the background (read by the computer program), it will not use that line of code because basically it thinks it is not actual code. TIP: Anytime I comment out some code, whether it is in an RTP script, or a custom script, I always put my initials GS84. This way, if I adjust something, or add something later and something messes up, I can easily find which codes I've changed/commented out and I can try to fix it. I think it's a good idea to do this whether you are a seasoned scripter/coder or someone brand new to it. Anyways, when you comment out this piece of code, when you go into battle, the Escape command will not appear as an option. I even tried it on an evented battle with the option "Can Escape" check marked and still the Escape command does not appear in battle. Since the command does not appear in battle, the player will not be able to choose that option, but should still be able to escape with an item.
I did not use any battle or menu changing scripts when I tested this, so let me know if this does not work for you.
Original thread: https://forums.rpgmakerweb.com/threads/question-about-escaping-battle.63165/