This shows some of the fixes I have employed.
1) It no longer flashes and sits there, when it sees a list element is 0, it now just goes right to the next list element.
2) Prof Oak is no longer pushed up the front of his lab
3) It now recognizes going into doors.
I am not happy that it automatically kicks you up 1 space above the door from where you should start. I am working on a way to make it work correctly, but as of this moment, I do not have a solution. I also do not like the fact that Gary walks in, as he is supposed to be there when you show up, however... I don't want to make separate maps for the lab...