"Ice 2" A platformer

Instructions: Welcome again to the Ice.\nIf you have not played the first part yet make sure you play it.\nI hope you enjoy.\nNew game: https://scratch.mit.edu/projects/340608843\n------------------------------------------\n- Play with Arrow keys\n- Tap and drag\n- Skip levels with Space Bar\n------------------------------------------\nHave fun

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [You raise me up von David Doering v] until done\nend\n\nwhen I receive [next level v]\nnext backdrop\n\n@Sprite1\n\nwhen flag clicked\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set size to (size) %\n    set [size v] to [100]\n    show\n    set rotation style [all around v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (sprite2 v)?> then\n        change y by (1)\n        if <touching (sprite2 v)?> then\n            change y by (1)\n            if <touching (sprite2 v)?> then\n                change y by (1)\n                if <touching (sprite2 v)?> then\n                    change y by (1)\n                    if <touching (sprite2 v)?> then\n                        change y by (1)\n                        if <touching (sprite2 v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (sprite2 v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [yv v] to [17]\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    set [yv v] to ((Yv) * (0.99))\n    change y by (Yv)\n    if <touching (sprite2 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (0)\n    end\n    if touching\nend\n\ndefine if touching\nif <<touching (sprite3 v)?> or <touching (sprite9 v)?>> then\n    broadcast (blue v)\n    repeat (10)\n        turn right (5) degrees\n        change [size v] by (-10)\n        set size to (size) %\n    end\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to x: (-200) y: (0)\n    point in direction (90)\nend\nif <touching (sprite4 v)?> then\n    set [yv v] to [20]\nend\nif <touching (sprite5 v)?> then\n    set [xv v] to [21]\nend\n\nwhen I receive [next level v]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nwait (1) seconds\ngo to x: (-200) y: (0)\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        repeat (1)\n            wait (1) seconds\n            broadcast (next level v)\n        end\n    end\nend\n\nwhen I receive [stop v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume 1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [end]> then\n        broadcast (stop v)\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nshow\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (1) seconds\nshow\n\n@Sprite5\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (1) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (1) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite6\n\nwhen flag clicked\nshow\ngo to [front v] layer\nwait (1) seconds\nforever\n    set [ghost v] effect to (100)\nend\n\n@Sprite7\n\nwhen flag clicked\nset size to (130) %\ngo to [back v] layer\nforever\n    set y to (([y position v] of [sprite1 v]) * (-0.5))\n    set x to (([x position v] of [sprite1 v]) * (-0.07))\nend\n\n@Sprite8\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (86)\nend\n\nwhen flag clicked\nwait (1) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [blue v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Sprite9\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to x: (36) y: (28)\nshow\ngo to [back v] layer\ngo [forward v] (2) layers\nforever\n    repeat (32)\n        change y by (-3)\n    end\n    wait (0.7) seconds\n    repeat (32)\n        change y by (3)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\nif <(backdrop [number v]) = [8]> then\n\n@Sprite11\n\nwhen flag clicked\nset [ghost v] effect to (90)\nswitch costume to (costume2 v)\ngo to x: (-41) y: (-53)\nshow\ngo to [back v] layer\ngo [forward v] (2) layers\nforever\n    repeat (32)\n        change y by (-3)\n    end\n    wait (0.7) seconds\n    repeat (32)\n        change y by (3)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n