Disney princess platformer 2.0

Instructions: use the arrow keys to move and jump go to pink you can  beat all of them! press the 1 key to show variables and the 2 key to hide them! ten more likes and seven more favorites and I will add a frozen 2 level! in the frozen level press e to be Elsa and a to be Anna. all levels are possible and personally tested by me.

@Stage\n\nwhen flag clicked\nswitch backdrop to (os-lightning-over-cinderella-castle-disney-world-20150703 v) and wait\nwait (18) seconds\nnext backdrop\n\nwhen flag clicked\nhide variable [deaths v]\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [deaths v]\n\nhide variable [deaths v]\n\nwhen backdrop switches to [backdrop1 v]\nstop all sounds\nplay sound [jasmen v] until done\n\nwhen backdrop switches to [backdrop2 v]\nstop all sounds\nplay sound [cinderella v] until done\n\nwhen backdrop switches to [backdrop3 v]\nstop all sounds\nplay sound [Snow White v] until done\n\nwhen backdrop switches to [backdrop4 v]\nstop all sounds\nplay sound [rapunzal v] until done\n\nwhen backdrop switches to [backdrop5 v]\nstop all sounds\nplay sound [Ariel v] until done\n\nwhen backdrop switches to [backdrop6 v]\nstop all sounds\nplay sound [briar rose v] until done\n\nwhen backdrop switches to [backdrop7 v]\nstop all sounds\nplay sound [belle v] until done\n\nwhen backdrop switches to [backdrop9 v]\nstop all sounds\nplay sound [mulan v] until done\n\nwhen backdrop switches to [os-lightning-over-cinderella-castle-disney-world-20150703 v]\nstop all sounds\nstart sound [villen v]\n\nwhen backdrop switches to [backdrop10 v]\nstop all sounds\nplay sound [frozen1 v] until done\n\nwhen backdrop switches to [end v]\nstop all sounds\nstop all sounds\nstart sound [end v]\n\nwhen backdrop switches to [end v]\nstop all sounds\nplay sound [end v] until done\n\n@Sprite1\n\nwhen flag clicked\nset [hi v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [hi v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [hi v] by (-1)\n    end\n    set [hi v] to ((hi) * (0.9))\n    change x by (hi)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((hi) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(hi) > [0]> then\n                                    set [hi v] to [-5]\n                                else\n                                    set [hi v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [hi v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen flag clicked\nforever\n    if <touching color (#f4b6ff)?> then\n        start sound [Magic Spell v]\n        go to x: (-199) y: (148)\n        next costume\n        next backdrop\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen backdrop switches to [end v]\nhide\n\nwhen flag clicked\nswitch costume to (unknown-1 v)\n\nwhen flag clicked\nforever\n    if <touching color (#bb0000)?> then\n        broadcast (died v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-199) y: (148)\n\nwhen I receive [died v]\nstart sound [Suction Cup v]\ngo to x: (-221) y: (-131)\nchange [deaths v] by (1)\n\nwhen flag clicked\nset [deaths v] to [0]\n\nwhen backdrop switches to [os-lightning-over-cinderella-castle-disney-world-20150703 v]\nbroadcast (done v)\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen backdrop switches to [backdrop1 v]\nrepeat until <touching color (#ffb066)?>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen backdrop switches to [end v]\nif <(☁ time record) > (time)> then\n    set [☁ time record v] to (time)\nend\n\nwhen backdrop switches to [end v]\nhide variable [time v]\nhide variable [☁ time record v]\nhide variable [☁ death record v]\nhide variable [deaths v]\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [time v]\nshow variable [☁ time record v]\nshow variable [☁ death record v]\nshow variable [deaths v]\n\nwhen backdrop switches to [end v]\nhide variable [☁ time record v]\nhide variable [time v]\nhide variable [deaths v]\nhide variable [☁ death record v]\n\nwhen [2 v] key pressed\nhide variable [deaths v]\nhide variable [time v]\nhide variable [☁ time record v]\nhide variable [☁ death record v]\n\nwhen [1 v] key pressed\nshow variable [deaths v]\nshow variable [time v]\nshow variable [☁ time record v]\nshow variable [☁ death record v]\n\nwhen backdrop switches to [end v]\nif <(☁ death record) > (deaths)> then\n    set [☁ death record v] to (deaths)\nend\n\nwhen backdrop switches to [backdrop10 v]\nforever\n    if <key (e v) pressed?> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen backdrop switches to [backdrop10 v]\nforever\n    if <key (a v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [os-lightning-over-cinderella-castle-disney-world-20150703 v]\nhide variable [☁ time record v]\nhide variable [time v]\nhide variable [☁ death record v]\nhide variable [deaths v]\n\nwhen backdrop switches to [end v]\nhide\n\n@beauty-and-the-beast\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop7 v]\nshow\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Sprite2\n\nwhen this sprite clicked\nask [whats the password] and wait\nif <(username) = [50]> then\n    if <(answer) = [lntothewoods1]> then\n        switch costume to (costume1 v)\n    end\nelse\n    if <(answer) = [lntothewoods1]> then\nend\n\nwhen [space v] key pressed\nhide\n\nwhen flag clicked\nif <(username) = [peppergirlpa]> then\n    show\nelse\n    hide\nend\n\nshow\n\nshow\n\n