Let's touch the... WHAAAT!? (a platformer)

Instructions: "Let's touch the ... WHAAAT !?" It is a platform game in which you will have to be clever to be able to complete all the levels. There may be hidden messages!\n\nCONTROLS:\n\nMovement: Right / left arrows.\n\nJump: Arrow up.\n\nMaking this game was very complicated for me, so do not be rude

@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (level)\nend\n\n@player\n\nwhen I receive [next v]\ngo to x: (-200) y: (16)\n\nwhen I receive [troll v]\ngo to x: (-200) y: (16)\n\nwhen flag clicked\nset size to (300) %\nswitch costume to (disfraz2 v)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen I receive [play v]\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\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 ((xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 (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?> then\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        broadcast (troll v)\n    end\n    if <<touching color (#00ff55)?> and <(level) = [8]>> then\n        go to x: (-107) y: (156)\n    end\n    if <<touching color (#00ff55)?> and <(level) = [9]>> then\n        go to x: (178) y: (156)\n    end\n    if <touching color (#ffff00)?> then\n        go to x: (-200) y: (16)\n        broadcast (you won! v)\n    end\nend\n\nwhen I receive [play v]\nforever\n    play sound [TheFatRat - Unity v] until done\nend\n\nwhen flag clicked\ngo to x: (-200) y: (16)\n\nwhen I receive [you won! v]\nstop [other scripts in sprite v]\nstop all sounds\n\n@Touch! 1\n\nwhen flag clicked\ngo to x: (206) y: (109)\nforever\n    if <(level) = [1]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\n@Touch! 2\n\nwhen flag clicked\ngo to x: (206) y: (109)\nforever\n    if <(level) = [2]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\n@Touch! (bad)\n\nwhen flag clicked\ngo to x: (161) y: (-17)\nforever\n    if <(level) = [2]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (troll v)\n    end\nend\n\n@Touch! (bad)2\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\n@Touch! 3\n\nwhen flag clicked\ngo to x: (204) y: (120)\nforever\n    if <(level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@smiley thing\n\nwhen flag clicked\ngo to x: (-71) y: (92)\nforever\n    if <(level) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (-71) y: (-67)\n    wait (1) seconds\n    glide (1) secs to x: (-71) y: (92)\nend\n\n@Touch! 4\n\nwhen flag clicked\ngo to x: (204) y: (35)\nforever\n    if <(level) = [4]> then\n        show\n    else\n        hide\n    end\n    if <<touching (player v)?> and <(costume [number v]) = [1]>> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    next costume\nend\n\n@Touch! 5\n\nwhen flag clicked\ngo to x: (197) y: (-130)\nforever\n    if <(level) = [5]> then\n        show\n    else\n        hide\n    end\n    if <<touching (player v)?> and <(costume [number v]) = [1]>> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    next costume\nend\n\n@Objeto1\n\nwhen flag clicked\ngo to x: (95) y: (55)\nforever\n    if <(level) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\n@Touch! 6\n\nwhen flag clicked\ngo to x: (95) y: (37)\nforever\n    if <(level) = [6]> then\n        show\n    else\n        hide\n    end\n    if <<touching (player v)?> and <(costume [number v]) = [1]>> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    next costume\nend\n\n@hidden message!\n\nwhen flag clicked\ngo to x: (168) y: (-135)\nforever\n    if <(level) = [7]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\n@impossible\n\nwhen flag clicked\ngo to x: (-191) y: (150)\nforever\n    if <(level) = [8]> then\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\n@x\n\nwhen flag clicked\ngo to x: (0) y: (-29)\nforever\n    if <(level) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    next costume\nend\n\n@Touch! 7\n\nwhen flag clicked\ngo to x: (0) y: (144)\nforever\n    if <(level) = [9]> then\n        show\n    else\n        hide\n    end\n    if <<touching (player v)?> and <(costume [number v]) = [1]>> then\n        broadcast (next v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    next costume\nend\n\n@Objeto2\n\nwhen I receive [you won! v]\nset [ghost v] effect to (0)\nswitch costume to (disfraz2 v)\nshow\ngo to [front v] layer\nforever\n    play sound [Back On Track v] until done\nend\n\nwhen flag clicked\nswitch costume to (disfraz1 v)\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\nbroadcast (play v)\n\n