Windows Enum trans_mode not working

X

xtrapnation

Guest
I have seen a guy with a similar problem but it's different for me.
for some reason the "OFF," and "NEXT," don't work. The OFF, turns into a variable and the NEXT, doesn't do anything just stays gray. Please help fast.

Code:

/// @desc Size variables and mode setup

w = display_get_gui_width();
h = display_get_gui_height();
h_half = h * 0.5;
enum TRANS_MODE
{
OFF,
NEXT,
GOTO,
RESTART,
INTRO,
}
MODE = TRANS_MODE.INTRO;
percent = 1;
target = room;
 

TheouAegis

Member
Close Game Maker and reopen it. Enums are for the IDE, so they don't always update right away. As Simon said, usually it's just a graphical error.
 
Top