Usage Example:
if $gameSwitches.value(1)
action effect
else if $gameSwitches.value(2)
action effect
action effect
else
action effect
action effect
action effect
end
*Note: You do not have to indent the code in between to work. It just
looks better that way in your action sequences.
其实你也并不用多用一个变量,直接用变量赋值后面的内容弄到IF后面就行了吧