Cloud (a platformer)

Instructions: ARROW KEYS - MOVE\nUP KEY - JUMP            R - RESTART\n===================GAME=======================\nTHIS IS A CONTEST BY ARCHIVAL\n------STORY IS YOU NEED TO GO AND FIND YOUR PARENTS------\n ITS SHORT SORRY THO :P

@Stage\n\nwhen flag clicked\nforever\n    play sound [Kuba Te - Silence.mp3 v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (-200) y: (-147)\nforever\n    change [y v] by (-0.5)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (costume2 v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (costume1 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-6)\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\nwhen I receive [message1 v]\ngo to x: (-183) y: (-128)\n\nwhen flag clicked\nforever\n    if <touching color (#282828)?> then\n        start sound [Death JingleBL v]\n        go to x: (-183) y: (-128)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-183) y: (-128)\nstart sound [Death JingleBL v]\n\nwhen I receive [the ende v]\nhide\n\nwhen flag clicked\nshow\ngo to x: (-200) y: (-147)\nforever\n    change [y v] by (-0.5)\n    if <key (a v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (costume2 v)\n    end\n    if <key (d v) pressed?> then\n        change [x v] by (1)\n        switch costume to (costume1 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-6)\n                                if <key (w v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <key (w v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\n@Sprite2\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (mama v)\n    end\nend\n\nwhen I receive [the ende v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nshow\nforever\n    change [ghost v] effect by (25)\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (message1 v)\n    end\nend\n\nwhen I receive [the ende v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\nforever\n    change [ghost v] effect by (25)\nend\n\nwhen I receive [mama v]\nshow\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (the ende v)\n        hide\n        stop [this script v]\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [the ende v]\nshow\nwait (2) seconds\nswitch costume to (costume2 v)\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n