your very brave posting code of this quality on here, you know these guys are flame war ninjas :-s
looks good so far, but i do have some suggestions
1. Code in this state should Never disable the escapekey, it's just too early for that
2. when using a subroutine, such as 'move left', 1 thing to ask yourself is, does this code need to only happen on 'move left', or will it happen anyway, if it happens everytime it should be included in tthe main loop (to avoid duplicating code in every option
Looks like you got a good start on it, i threw in an actiontype variable but it is not implemented.
if you want i can make more animations with that little guy, but would be better to get a char with clean copyright.
Do or do not, there is no try. -Yoda