I've looked in the FAQ and have searched, but can't seem to find an answer. I know how to set a switch true or false with a script, but how exactly do you make something (like part of a window) only appear when a switch is on. I tried
but it doesn't seem to work.
Code:
if $game_switches[x] = true
but it doesn't seem to work.