Fixed IR case statement compiler error

Pushed Luke's maze movement correction code.
Able to compile code again.