Escape - A Platformer

Instructions: LET"S GET TO 200 LOVES!! \nSmash that love button!!!!!!!\n\n☮ Basic Story:\nYou are a little indigo ball (sorry for the bad art) that got stuck in a faraway planet in who-knows-where. You will have to escape to get back to your home planet called...um...Indigo World?\nAll levels are 100% possible! Tested this exactly 68 times!! (yes, I counted)\n●・○・●・○・●・○・●・○・ ●・○・●・○・●・○・●・○・ ●・○ ・●\n☮ Instructions:\nUse the arrow keys to move. Avoid the green goo-ish slime. There are twenty levels to beat. Some are quite simple, others are not.  There will be a voice "talking" to you along the way. Take your time. Have fun. Try to escape. And good luck, because you'll need it.... 

@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nplay sound [escape_music v] until done\n\n@ball\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch backdrop to (backdrop1 v)\nforever\n    if <[210] < (x position)> then\n        broadcast (next level v)\n        go to x: (-202) y: (-42)\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-202) y: (-42)\nshow\nset [yvel v] to [0]\nset [xvel v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xvel v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xvel v] by (-1)\n    end\n    set [xvel v] to ((XVel) * (0.9))\n    change x by (XVel)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change y by (1)\n                        if <touching color (#ffffff)?> then\n                            change y by (-2)\n                            change x by ((XVel) * (-1))\n                        end\n                        if <key (up arrow v) pressed?> then\n                            if <(XVel) > [0]> then\n                                set [xvel v] to [-5]\n                            else\n                                set [xvel v] to [5]\n                            end\n                            set [yvel v] to [10]\n                        else\n                            set [yvel v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvel v] by (-1)\n    change y by (YVel)\n    if <touching color (#ffffff)?> then\n        change y by ((YVel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ffffff)?> then\n        if <key (up arrow v) pressed?> then\n            start sound [jump_08 v]\n            set [yvel v] to [15]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [start v]\nforever\n    if <touching color (#00ff55)?> then\n        stop [other scripts in sprite v]\n        switch costume to (costume5 v)\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        go to x: (-202) y: (-42)\n        switch costume to (costume1 v)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n        broadcast (restarting_script v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <[22] < (backdrop [number v])> then\n        broadcast (hide v)\n        stop [all v]\n    end\nend\n\nwhen I receive [hide v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [restarting_script v]\ngo to x: (-202) y: (-42)\nshow\nset [yvel v] to [0]\nset [xvel v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xvel v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xvel v] by (-1)\n    end\n    set [xvel v] to ((XVel) * (0.9))\n    change x by (XVel)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change y by (1)\n                        if <touching color (#ffffff)?> then\n                            change y by (-2)\n                            change x by ((XVel) * (-1))\n                        end\n                        if <key (up arrow v) pressed?> then\n                            if <(XVel) > [0]> then\n                                set [xvel v] to [-5]\n                            else\n                                set [xvel v] to [5]\n                            end\n                            set [yvel v] to [10]\n                        else\n                            set [yvel v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvel v] by (-1)\n    change y by (YVel)\n    if <touching color (#ffffff)?> then\n        change y by ((YVel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ffffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [yvel v] to [15]\n            start sound [jump_08 v]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [restarting_script v]\nforever\n    if <[210] < (x position)> then\n        broadcast (next level v)\n        go to x: (-202) y: (-42)\n    end\nend\n\nwhen I receive [restarting_script v]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n        wait until <not <key (right arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume3 v)\n        wait until <not <key (left arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume4 v)\n        wait until <not <key (up arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume4 v)\n        wait until <not <key (up arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n        wait until <not <key (right arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume3 v)\n        wait until <not <key (left arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume4 v)\n        wait until <not <key (up arrow v) pressed?>>\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\n\n@play\n\nwhen this sprite clicked\nstart sound [click v]\nchange size by (5)\nwait (0.2) seconds\nchange size by (-5)\nbroadcast (start v)\nswitch backdrop to (backdrop14 v)\nhide\n\nwhen flag clicked\nswitch backdrop to (backdrop14 v)\nshow\n\n