Glitched, A Platformer With Twists

Instructions: Welcome to Glitched, a platformer that doesn't act like a platformer.\n***********************There IS a BOSS******************\nSpace to skip and R to restart.\n\nYour goal is to get to the light green color despite the "glitches" you face. \n\nAll you need are the arrow keys, the rest changes throughout the levels :)

@Stage\n\nwhen flag clicked\nset [your time v] to [0]\nswitch backdrop to (backdrop1 v)\nclear graphic effects\n\nwhen backdrop switches to [backdrop10 v]\nchange [pixelate v] effect by (25)\nchange [fisheye v] effect by (10)\n\nwhen backdrop switches to [backdrop11 v]\nchange [fisheye v] effect by (25)\n\nwhen backdrop switches to [backdrop12 v]\nchange [whirl v] effect by (25)\n\nwhen backdrop switches to [backdrop13 v]\nchange [fisheye v] effect by (100)\nchange [whirl v] effect by (-100)\nchange [pixelate v] effect by (100)\n\nwhen backdrop switches to [backdrop14 v]\nchange [mosaic v] effect by (5)\n\nwhen backdrop switches to [backdrop15 v]\nclear graphic effects\nwait until <key (any v) pressed?>\nwait (0.5) seconds\nclear graphic effects\nrepeat (7)\n    change [pixelate v] effect by (10)\n    change [fisheye v] effect by (10)\n    change [whirl v] effect by (10)\nend\nrepeat until <not <(backdrop [number v]) = [15]>>\n    repeat (14)\n        change [pixelate v] effect by (-10)\n        change [fisheye v] effect by (-10)\n        change [whirl v] effect by (-10)\n    end\n    repeat (14)\n        change [pixelate v] effect by (10)\n        change [fisheye v] effect by (10)\n        change [whirl v] effect by (10)\n    end\nend\n\nwhen backdrop switches to [backdrop17 v]\nclear graphic effects\n\nwhen backdrop switches to [backdrop20 v]\nclear graphic effects\nwait until <key (any v) pressed?>\nwait (0.5) seconds\nclear graphic effects\nrepeat until <not <(backdrop [number v]) = [20]>>\n    repeat (10)\n        change [color v] effect by (2)\n    end\nend\n\nwhen I receive [start v]\nset [cheat? v] to [0]\nreset timer\nrepeat until <<key (space v) pressed?> or <(backdrop [number v]) = [20]>>\n    set [your time v] to (timer)\nend\nif <key (space v) pressed?> then\n    set [your time v] to [Cheater!]\n    set [cheat? v] to [1]\nend\nwait until <(backdrop [number v]) = [20]>\nif <(cheat?) = [0]> then\n    if <(Your Time) < (☁ Fastest Time)> then\n        set [☁ fastest time v] to (Your Time)\n    end\nend\n\nset [☁ fastest time v] to [9999999999]\n\n@Sprite9\n\nchange size by (1)\n\nwhen flag clicked\nerase all\ngo to x: (-200) y: (-100)\nstop [other scripts in sprite v]\nset [xv v] to [0]\nset [yv v] to [0]\nset size to (100) %\n\nwhen backdrop switches to [backdrop5 v]\nset size to (40) %\n\nwhen backdrop switches to [backdrop3 v]\nset size to (100) %\n\nerase all\n\nwhen I start as a clone\nwait (7) seconds\nrepeat (20)\n    change size by (1)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [message1 v]\ndelete this clone\n\nwhen I receive [message1 v]\nset [xv v] to [0]\nset [yv v] to [0]\n\nif <(backdrop [number v]) = [9]> then\n    if <touching color (#47a940)?> then\n        set [yv v] to [-10]\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\nset size to (40) %\n\nwhen [space v] key pressed\nnext backdrop\nerase all\ngo to x: (-200) y: (-100)\nerase all\nif <(backdrop [number v]) = [14]> then\n    go to x: (-188) y: (100)\nend\n\nwhen backdrop switches to [backdrop1 v]\nset size to (100) %\n\nwhen backdrop switches to [backdrop14 v]\nset size to (19) %\n\nwhen backdrop switches to [backdrop17 v]\nwait until <key (any v) pressed?>\nwait (0.5) seconds\nrepeat until <not <(backdrop [number v]) = [17]>>\n    change size by (0.7)\nend\n\nwhen backdrop switches to [backdrop17 v]\nset size to (19) %\n\nwhen backdrop switches to [backdrop18 v]\nset size to (19) %\n\nif <(backdrop [number v]) = [18]> then\n    set size to (19) %\nend\n\nwhen I receive [start v]\nforever\n    if <touching color (#00ff6f)?> then\n        go to x: (202) y: (87)\n        change [yv v] by (10)\n    end\n    if <touching color (#11ff00)?> then\n        broadcast (message1 v)\n        next backdrop\n        go to x: (-200) y: (-100)\n        erase all\n        if <(backdrop [number v]) = [14]> then\n            go to x: (-188) y: (100)\n        end\n    end\n    if <<(backdrop [number v]) = [9]> or <(backdrop [number v]) = [3]>> then\n        change [yv v] by (0.5)\n    else\n        if <<(backdrop [number v]) = [20]> or <(backdrop [number v]) = [8]>> then\n            set [yv v] to ((Yv) * (0.97))\n        else\n            change [yv v] by (-0.5)\n        end\n    end\n    if <<(backdrop [number v]) = [5]> or <(backdrop [number v]) = [6]>> then\n        if <key (left arrow v) pressed?> then\n            switch costume to (costume2 v)\n            change [xv v] by (0.7)\n        end\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume3 v)\n            change [xv v] by (-0.7)\n        end\n    else\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume2 v)\n            change [xv v] by (0.7)\n        end\n        if <key (left arrow v) pressed?> then\n            switch costume to (costume3 v)\n            change [xv v] by (-0.7)\n        end\n    end\n    if <(backdrop [number v]) = [8]> then\n        set [xv v] to ((Xv) * (0.97))\n    else\n        set [xv v] to ((Xv) * (0.9))\n    end\n    change x by (Xv)\n    if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n        change y by (1)\n        if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n            change y by (1)\n            if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n                change y by (1)\n                if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#47a940)?> and <not <touching (sprite3 v)?>>> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <touching (null v)?> then\n                                change x by (Change)\n                            end\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <not <touching color (#00ff55)?>> 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                                end\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <(y position) > [180]> then\n        set [yv v] to [-2]\n    end\n    change y by (Yv)\n    if <<(backdrop [number v]) = [4]> or <(backdrop [number v]) = [5]>> then\n        if <touching color (#47a940)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [15.5]\n        end\n    else\n        if <touching color (#47a940)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n    end\n    change y by (-1)\n    if <touching (null v)?> then\n        change x by (Change)\n    end\n    if <(backdrop [number v]) = [2]> then\n        if <key (up arrow v) pressed?> then\n            if <not <touching color (#00ff55)?>> then\n                set [yv v] to [10]\n            end\n        end\n    else\n        if <<(backdrop [number v]) = [9]> or <(backdrop [number v]) = [3]>> then\n            if <key (up arrow v) pressed?> then\n                if <(backdrop [number v]) = [9]> then\n                    if <touching color (#56ff4a)?> then\n                        set [yv v] to [-10]\n                    end\n                else\n                    set [yv v] to [-10]\n                end\n            end\n        else\n            if <touching color (#47a940)?> then\n                if <key (up arrow v) pressed?> then\n                    if <not <touching color (#00ff55)?>> then\n                        set [yv v] to [10]\n                    end\n                end\n            end\n        end\n    end\n    if <<(backdrop [number v]) = [8]> or <(backdrop [number v]) = [20]>> then\n        if <key (up arrow v) pressed?> then\n            change [yv v] by (0.7)\n        end\n        if <key (down arrow v) pressed?> then\n            change [yv v] by (-0.7)\n        end\n    end\n    if <touching color (#2b6727)?> then\n        repeat (20)\n            change size by (1)\n            change [ghost v] effect by (5)\n        end\n        if <not <(backdrop [number v]) = [3]>> then\n            set size to (100) %\n            if <(backdrop [number v]) = [18]> then\n                set size to (19) %\n            end\n            if <(backdrop [number v]) = [19]> then\n                set size to (19) %\n            end\n        else\n            set size to (40) %\n        end\n        set [ghost v] effect to (0)\n        if <<<not <(backdrop [number v]) = [8]>> and <not <(backdrop [number v]) = [19]>>> and <not <(backdrop [number v]) = [20]>>> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-188) y: (-100)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<touching (_edge_ v)?> and <(backdrop [number v]) = [20]>> then\n        if <<(x position) > [210]> or <(x position) < [-210]>> then\n            set [xv v] to ((Xv) * (-1))\n        end\n        if <<(y position) < [-150]> or <(y position) > [150]>> then\n            set [yv v] to ((Yv) * (-1))\n        end\n    end\n    if <key (r v) pressed?> then\n        if <(backdrop [number v]) = [14]> then\n            go to x: (-188) y: (100)\n            set [xv v] to [0]\n            set [yv v] to [0]\n        else\n            go to x: (-188) y: (-100)\n            if <(backdrop [number v]) = [17]> then\n                set size to (19) %\n            end\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n    end\n    change y by (1)\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (19)\n    move (5) steps\nend\nrepeat until <<touching (_edge_ v)?> or <<touching color (#47a940)?> or <<touching (sprite9 v)?> or <touching color (#2b6727)?>>>>\n    move (5) steps\nend\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (2)\nend\ndelete this clone\n\nwhen flag clicked\ngo to x: (235) y: (171)\n\nwhen backdrop switches to [backdrop19 v]\nrepeat until <not <(backdrop [number v]) = [19]>>\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen backdrop switches to [backdrop19 v]\nclear graphic effects\nshow\nrepeat until <not <(backdrop [number v]) = [19]>>\n    point towards (sprite9 v)\nend\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\nwait until <(backdrop [number v]) = [19]>\ngo to [front v] layer\nshow\nwait until <not <(backdrop [number v]) = [19]>>\nhide\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume20 v)\nclear graphic effects\nforever\n    if <not <(costume [number v]) = (backdrop [number v])>> then\n        repeat (10)\n            change [pixelate v] effect by (10)\n        end\n        next costume\n        repeat (10)\n            change [pixelate v] effect by (-10)\n        end\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nshow\nclear graphic effects\nrepeat (100)\n    change [pixelate v] effect by (2)\n    change [ghost v] effect by (1)\nend\nbroadcast (start v)\n\nset [pixelate v] effect to (55)\n\n