I am using Yanfly's main menu manager which uses eval conditions to check whether to show/enable a menu option. Could someone please tell me the eval functions to check for a switch/variable value?
Basic eval function to check a certain variable/switch
Javascript/Plugin Support
Code:
$gameVariables.value(n)
$gameSwitches.value(n)
Code:
$gameSelfSwitches.value([mapId, eventId, "A"]);
Example:
Code:
$gameSelfSwitches.value([$gameMap._mapId, 7, "D"])
Hey that worked thanks.
Original thread: https://forums.rpgmakerweb.com/threads/basic-eval-function-to-check-a-certain-variable-switch.116219/