Currently there are 4 layers up or down. You can delete the : sky, boardwalk and ocean. Move cat up & down with arrow keys to move between layers.
Keep track of what layer you are on with the variable "level". It starts at one. When going it up, it changes to the positive number associated with that level. When going down, it changes to the negative number associated with that level.