Winter ( A Platformer )

Instructions: --- STORY ---\nPrince Winterling was playing in the snow but suddenly a strong wind blows his crown. So he began to search and travel then the adventure awaits.\n\n- If the game is glitching try double click the ( Green flag )\n- Use the arrow keys for movement.\n- There is a *Shhhh * ....... ( secret ).

@Stage\n\nwhen flag clicked\nswitch backdrop to (lvl 1 v)\n\nwhen flag clicked\nforever\n    set volume to (50) %\n    play sound [Winter.Sound.Effect.mp3 v] until done\nend\n\n@Snow\n\nwhen flag clicked\nhide\nforever\n    wait (0.1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    change y by (-10)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (pick random (-237) to (237)) y: (179)\nforever\n    repeat until <touching color (#01efe0)?>\n        repeat (3)\n            change x by (2)\n        end\n        wait (0.1) seconds\n        repeat (6)\n            change x by (-2)\n        end\n        wait (0.1) seconds\n        repeat (3)\n            change x by (2)\n        end\n    end\n    wait until <<touching color (#01efe0)?> or <<touching color (#ff0000)?> or <(y position) = [-176]>>>\n    forever\n        delete this clone\n    end\nend\n\n@Player\n\nwhen flag clicked\nwait until <(backdrop [name v]) = [Lvl 1]>\nif <(backdrop [name v]) = [Lvl 1]> then\n    go to x: (-202) y: (-97)\nend\n\nwhen flag clicked\nforever\n    if <(Freeze!) = [0]> then\n        switch costume to (costume1 v)\n    else\n        if <(Freeze!) = [1]> then\n            switch costume to (costume2 v)\n        else\n            if <(Freeze!) = [2]> then\n                switch costume to (costume4 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [freeze! v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<(Freeze!) = [0]> or <(Freeze!) = [2]>> then\n        change [y v] by (-1)\n        if <key (left arrow v) pressed?> then\n            change [x v] by (-1)\n        end\n        if <key (right arrow v) pressed?> then\n            change [x v] by (1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if  then\n            change y by (1)\n        end\n        if  then\n            change y by (1)\n        end\n        if  then\n            change y by (1)\n        end\n        if  then\n            change y by (1)\n        end\n        if  then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <key (up arrow v) pressed?> then\n                set [y v] to [15]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-10]\n                else\n                    set [x v] to [10]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <touching color (#01efe0)?> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> and <touching color (#01efe0)?>> then\n            set [y v] to [15]\n        end\n        change y by (1)\n        if  then\n            start sound [Click_Button_3.mp3 v]\n            set [ghost v] effect to (60)\n            wait (0.1) seconds\n            set [ghost v] effect to (0)\n            go to x: (-227) y: (41)\n        end\n        if <(x position) > [211]> then\n            if <not <(backdrop [name v]) = [End]>> then\n                go to x: (-211) y: (41)\n                next backdrop\n            end\n            if <(backdrop [name v]) = [Lvl 5]> then\n                go to x: (-197) y: (-77)\n            else\n                if <(backdrop [name v]) = [Lvl 6]> then\n                    go to x: (-203) y: (38)\n                else\n                    if <(backdrop [name v]) = [Lvl 7]> then\n                        go to x: (-203) y: (-10)\n                    else\n                        if <(backdrop [name v]) = [Lvl 9]> then\n                            go to x: (-207) y: (-61)\n                        else\n                            if <(backdrop [name v]) = [Lvl 9]> then\n                                go to x: (-207) y: (-61)\n                            else\n                                if <(backdrop [name v]) = [Lvl 1]> then\n                                    go to x: (-195) y: (-89)\n                                else\n                                    if <(backdrop [name v]) = [Lvl 10]> then\n                                        change [freeze! v] by (1)\n                                        go to x: (-209) y: (-108)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(Freeze!) = [3]> then\n            change [y v] by (0)\n        else\n            if <(Freeze!) = [1]> then\n                change [x v] by (0)\n            end\n        end\n    end\nend\n\n@Mr. Reverse\n\nwhen flag clicked\ngo to x: (164) y: (-112)\nhide\n\nwhen flag clicked\nwait until <(Freeze!) = [1]>\nshow\nif <(Freeze!) = [1]> then\n    show\n    set size to (100) %\n    wait (0.8) seconds\n    switch costume to (hood v)\n    wait (0.8) seconds\n    start sound [Mario_Jump.mp3 v]\n    glide (0.3) secs to x: (164) y: (-96)\n    set size to (140) %\n    wait (0.1) seconds\n    set size to (150) %\n    wait (0.1) seconds\n    glide (0.3) secs to x: (164) y: (-212)\n    hide\n    change [freeze! v] by (-1)\nend\n\nset [freeze! v] to [1]\n\n@Ice Crown\n\nwhen flag clicked\ngo to x: (100) y: (-50)\nrepeat until <(backdrop [name v]) = [End]>\n    hide\nend\n\nwhen flag clicked\nrepeat (1)\n    set [freeze! v] to [0]\nend\n\nwhen backdrop switches to [end v]\nwait until <(backdrop [name v]) = [End]>\nshow\nrepeat until <touching (player v)?>\n    if <(backdrop [name v]) = [End]> then\n        repeat (3)\n            change y by (2)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        repeat (3)\n            change y by (2)\n        end\n    end\nend\nwait until <touching (player v)?>\nif <touching (player v)?> then\n    start sound [Click_Button_2.mp3 v]\n    set [ghost v] effect to (60)\n    wait (0.1) seconds\n    set [ghost v] effect to (0)\n    hide\n    set [freeze! v] to [2]\n    broadcast (Continue? v)\nend\n\n@:o\n\nwhen flag clicked\nset [stage v] to [0]\nforever\n    go to x: (130) y: (-117)\n    if <not <(backdrop [name v]) = [Lvl 5]>> then\n        repeat until <(backdrop [name v]) = [Lvl 5]>\n            hide\n        end\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Stage) = [1]> then\n        switch costume to (costume2 v)\n    else\n        if <(Stage) = [2]> then\n            switch costume to (costume3 v)\n        else\n            if <(Stage) = [3]> then\n                switch costume to (costume4 v)\n                wait (0.8) seconds\n                set [ghost v] effect to (60)\n                wait (0.1) seconds\n                set [ghost v] effect to (0)\n                hide\n                change [silence! v] by (1)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait until <(backdrop [name v]) = [Lvl 5]>\nif <(backdrop [name v]) = [Lvl 5]> then\n    show\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen this sprite clicked\nplay sound [Crystal.Crack.mp3 v] until done\nchange [stage v] by (1)\n\n@Remember this?\n\nwhen this sprite clicked\nstart sound [Collect.mp3 v]\nset [ghost v] effect to (60)\nwait (0.1) seconds\nset [ghost v] effect to (0)\nhide\nchange [silence! v] by (1)\nbroadcast (lol! v)\n\nwhen flag clicked\nset [silence! v] to [0]\nforever\n    if <(Silence!) = [1]> then\n        show\n        go to x: (141) y: (-131)\n    else\n        if <(Silence!) = [0]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set size to (90) %\n    wait (1) seconds\n    set size to (100) %\n    wait (1) seconds\nend\n\n@Hooray\n\nwhen flag clicked\ngo to x: (-284) y: (-45)\nhide\n\nwhen I receive [lol! v]\nstart sound [Click_Button_2.mp3 v]\nshow\nglide (1) secs to x: (-202) y: (-45)\nwait (1.5) seconds\nglide (1) secs to x: (-284) y: (-45)\nhide\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\ngo to [front v] layer\nshow\n\n@- Sign -\n\nwhen flag clicked\ngo to x: (178) y: (-201)\nhide\n\nwhen I receive [continue? v]\nshow\ngo to [front v] layer\nglide (1) secs to x: (178) y: (-155)\n\n