scene stepper for loading by code

the function advanceSceneToLastSavestate is called if a savecode was
entered and steps through the scene like a player would do by emulating
clicking. this works but has problems with steps involving character
movement. will hopefully be fixed next time, see comment in
codeGenerator.js