Maze - a Scrolling Platformer

Instructions: Use the keys WASD to move, or the arrow keys. Wall jumping is also possible.\n\n\nThis platformer can be finished because I have done it multiple times!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Tobu - Higher v] until done\nend\n\nwhen flag clicked\nforever\n\n\n\nwhen I receive [you win!!!! v]\nswitch backdrop to (backdrop1 v)\nwait (5) seconds\n\n@Sprite1\n\n@uber Chubby Platforms2\n\nwhen I receive [poo flag start v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [scroll y v] to [0]\nset [scroll x v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (xy-grid-20px v)\n    hide\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [x v] by (y)\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (400) %\nswitch costume to (level 1-1 v)\n\nwhen I receive [you win!!!! v]\nhide\n\n@I am Thy Player\n\nwhen flag clicked\nbroadcast (Poo Flag start v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [poo flag start v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\ncreate clone of (_myself_ v)\nforever\n    broadcast (REset v) and wait\n    broadcast (Setup v) and wait\n    Game ON!\n    repeat until <(EXITE) > []>\n        Tick\n        broadcast (tick v) and wait\n    end\n    if <(EXITE) = [win]> then\n        game win yea\n    else\n        Game - You are Die\n    end\nend\n\ndefine Game ON!\nset [sx asdf v] to [0]\nset [x v] to [-200]\nset [y v] to [0]\nset [sy v] to [0]\nset [in da air v] to [0]\nset [exite v] to []\npoint in direction (90)\nset size to (50) %\nclear graphic effects\nshow\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change [sx asdf v] by (-2)\n    switch costume to (cool kid a;sldkfj3 v)\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    change [sx asdf v] by (2)\n    switch costume to (cool kid a;sldkfj2 v)\nend\nset [sx asdf v] to ((sx asdf) * (0.8))\nif <([abs v] of (sx asdf) ) > [0.9]> then\n    Change pasldkj player x by (round (sx asdf))\nend\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    if <(in da air) < [4]> then\n        set [sy v] to [16]\n        switch costume to (cool kid a;sldkfj4 v)\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange play dude y by yeet (sy)\nTest - Are you Die\nif <touching (you won yaya!!!! v)?> then\n    set [exite v] to [win]\nend\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nif <(SCROLL X) > [988]> then\n    set [scroll x v] to [988]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nif <[711] < (SCROLL Y)> then\n    set [scroll y v] to [711]\nend\nposition chickin fingas\nif <not <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <mouse down?>>>>>>> then\n    switch costume to (cool kid a;sldkfj v)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    switch costume to (cool kid a;sldkfj5 v)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    switch costume to (cool kid a;sldkfj6 v)\nend\n\ndefine Change play dude y by yeet (sy)\nchange [y v] by (sy)\nchange [in da air v] by (1)\nposition chickin fingas\nrepeat until <not <touching (cheezy chubby platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in da air v] to [0]\n    end\n    position chickin fingas\n    set [sy v] to [0]\nend\n\ndefine position chickin fingas\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change pasldkj player x by (sx)\nchange [x v] by (sx)\nposition chickin fingas\nif <touching (cheezy chubby platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        position chickin fingas\n        if <not <touching (cheezy chubby platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(sx) > [0]> then\n            set [sx asdf v] to [-16]\n        else\n            set [sx asdf v] to [16]\n        end\n        set [in da air v] to [0]\n    else\n        set [sx asdf v] to [0]\n    end\n    repeat until <not <touching (cheezy chubby platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        position chickin fingas\n    end\nend\n\ndefine Game - You are Die\nset [exite v] to []\nwait (0.05) seconds\n\ndefine Test - Are you Die\nif <touching (ouch that hurt! v)?> then\n    set [exite v] to [die]\nend\n\ndefine game win yea\nbroadcast (You Win!!!! v) and wait\nstop [all v]\n\nrepeat (50)\n    point towards (exite tasdf v)\n    turn right (65) degrees\n    move ((distance to [exite tasdf v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nclear graphic effects\npoint in direction (90)\nset size to (90) %\nchange [level v] by (1)\nwait (1) seconds\n\nrepeat (3)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\n\nwhen I receive [you win!!!! v]\nhide\n\n@cheezy Chubby Platforms\n\nwhen I receive [poo flag start v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [scroll y v] to [0]\nset [scroll x v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    hide\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [x v] by (y)\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (costume1 v)\nset size to (400) %\nswitch costume to (level 1-1 v)\n\nwhen I receive [you win!!!! v]\nhide\n\n@ouch that hurt!\n\nwhen I receive [poo flag start v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [scroll y v] to [0]\nset [scroll x v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    hide\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [x v] by (y)\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (400) %\nswitch costume to (level 1-1 v)\ngo [forward v] (1) layers\n\nwhen I receive [you win!!!! v]\nhide\n\n@you won yaya!!!!\n\nwhen I receive [poo flag start v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [scroll y v] to [0]\nset [scroll x v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    hide\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [x v] by (y)\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (400) %\nswitch costume to (level 1-1 v)\nshow\ngo to [front v] layer\n\nwhen I receive [you win!!!! v]\nhide\n\n@I have a nail in my thumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\n\nwhen I receive [tick v]\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n