sorry, i deleted that comment, because in it, i promised to go through that tutorial and find a solution, but then i looked at the length of the tutorial and got lazy. lately i have been trying to stay away from programming to focus on my environment art pipeline.
enums are like booleans, but instead of true or false, you can have up to 256 different states the variable can be in, so its useful for representing mutually exclusive choices, like (red, green, blue), or (north, south, west, east).