Colorless A PLATFORMER

Instructions: Maze's and mysteries it what i feel in the dark. Is it a box? A bag? or even my bed? I don't know!!\nIn this project you must Navigate your self threw each level in the dark! Can you do it? Its really hard!\nArrow keys - to move\n\nAlso watch out for spikes! if you see one you better avoid it ;)

@Stage\n\n@ground\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\n@player\n\nwhen flag clicked\nReset\nforever\n    Run game\nend\n\ndefine Run game\nchange [speed y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [speed x v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (2)\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (ground v)?> then\n    change y by (-8)\n    repeat until <not <touching (ground v)?>>\n        change x by ((Speed X) * (-1))\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (ground v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\nif <(x position) > [238]> then\n    change [level v] by (1)\n    Reset\nend\nif <touching (dangers v)?> then\n    Reset\nend\n\ndefine Reset\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (-200) y: (100)\nset rotation style [left-right v]\n\nwhen I receive [message1 v]\nReset\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        hide\n    end\n    if <(Level) = [2]> then\n        hide\n    end\n    if <(Level) = [3]> then\n        show\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [4]> then\n        show\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [5]> then\n        show\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [6]> then\n        show\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [7]> then\n        hide\n    end\n    if <(Level) = [8]> then\n        show\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [9]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        broadcast (message1 v)\n    end\nend\n\nwhen [space v] key pressed\nchange [color v] effect by (25)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nchange [color v] effect by (25)\n\n