Hi. I spent all day working on this and am pretty happy with it! Uh, just replace all of the "when green flag clicked" when you're putting the map together. I don't need any of them for it to work.
I made this in Anime Studio 9. Then I exported the frames at half the normal frame rate (24 fps/2 = 12 fps) and put them in Scratch.