Park Platformer!

Instructions: ARROW KEYS TO MOVE\n\n\n\n          \n \n\n\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (blue sky3 v)\n\nwhen I receive [no nyps v]\nswitch backdrop to (blue sky3 v)\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <not <(costume [number v]) = [6]>> then\n        broadcast (hide frisbee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        broadcast (frisbee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (waterfall v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (no waterfall2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) < [8]> then\n        broadcast (no water v)\n    end\nend\n\nwhen I receive [nyps v]\nif <(costume [number v]) < [10]> then\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [  10]> then\n        broadcast (no water v)\n        broadcast (no nyps v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [804109_Rules-are-Simple-The-Wizar.mp3 v] until done\nend\n\nturn left (15) degrees\n\n@Platformer\n\ndefine Touch Ground <>\nchange [falling? v] by (1)\nrepeat until <not <<touching (ground v)?> or <touching (frisbee v)?>>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine None\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (ground v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<key (up arrow v) pressed?> and <([abs v] of (speed) ) > [3]>> then\n        if <(wall jump) = [0]> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [11]\n            set [falling? v] to [6]\n            set [wall jump v] to [15]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nif <(speed) < [0]> then\n    change [frame v] by ((speed) / (-8))\nelse\n    change [frame v] by ((speed) / (8))\nend\n\ndefine Set Costume\nif <(falling?) < [6]> then\n    if <(frame) = [0]> then\n        switch costume to (stand_1 v)\n    else\n        switch costume to ([floor v] of ((4) + ((frame) mod (8))) )\n    end\nelse\n    if <(speed y) > [0]> then\n        switch costume to (jump_1 v)\n    else\n        switch costume to (fall_1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#62d3ee)?> then\n        go to x: (-230) y: (0)\n        broadcast (NYPS v)\n    end\nend\n\nwhen flag clicked\nset size to (25) %\nset rotation style [left-right v]\ngo to x: (-230) y: (0)\nshow\nset [speed y v] to [0]\nset [falling? v] to [10]\nforever\n    switch costume to (hitbox v)\n    if <<(speed y) < [4]> or <key (up arrow v) pressed?>> then\n        change [speed y v] by (-1)\n    else\n        change [speed y v] by (-2)\n    end\n    change y by (speed y)\n    Touch Ground <(speed y) > [0]>\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        set [speed x v] to ((speed x) * (0.7))\n        if <key (left arrow v) pressed?> then\n            change [speed x v] by (-1.5)\n        end\n        if <key (right arrow v) pressed?> then\n            change [speed x v] by (1.5)\n        end\n    end\n    if <(speed x) < [-0.5]> then\n        Walk (-90) (speed x)\n    else\n        if <(speed x) > [0.5]> then\n            Walk (90) (speed x)\n        else\n            set [frame v] to [0]\n        end\n    end\n    if <key (up arrow v) pressed?> then\n        if <<(jump key) = [0]> and <(falling?) < [3]>> then\n            set [speed y v] to [14]\n            set [falling? v] to [6]\n            set [jump key v] to [1]\n        end\n        Set Costume\n    else\n        set [jump key v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#003fff)?> then\n        set [speed x v] to [0]\n    end\nend\n\nforever\n    if <<(y position) < [-180]> or <touching color (#ff0000)?>> then\n        go to x: (-230) y: (0)\n        set [speed y v] to [0]\n    end\nend\n\n@frisbee\n\nwhen flag clicked\nhide\n\nwhen I receive [frisbee v]\nshow\n\nwhen flag clicked\nforever\n    wait (0.5) seconds\n    glide (3) secs to x: (150) y: (-86)\n    wait (0.5) seconds\n    glide (3) secs to x: (-80) y: (-86)\nend\n\nwhen I receive [hide frisbee v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n