RPG Maker Forums

How do I code a script to only work in either the menu or in battle?

I have a script that allows the manual sorting of items/skills at any time from their respective menus - Selecting an item/skill will select it then selecting a diff. one will swap them. Double selecting one twice will use it.

Due to an oversight on my part by micro-testing pieces of my game, i have found that this is in effect during battle as well. I need to resolve this issue.

Advance thanks to anyone who can help!

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top