pixel platformer

Instructions: spam the green flag to reduce lagging\nclick on play\ns to skip\narrow keys to move \ndon't touch the lava \nyou can climb walls

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen this sprite clicked\nhide\nbroadcast (go v)\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [thefatrat-unity v] until done\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume5 v)\n\nwhen I receive [go v]\ngo to x: (-214) y: (115)\nswitch backdrop to (backdrop2 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n        if <<(x position) > [222]> and <(backdrop [name v]) = [backdrop8]>> then\n            broadcast (stopp v)\n            stop [all v]\n        end\n    end\n    if <<(backdrop [name v]) = [backdrop11]> or <(backdrop [name v]) = [backdrop19]>> then\n    if <(backdrop [name v]) = [backdrop17]> then\nend\n\nif <([abs v] of (x) ) = (x)> then\n    set [x v] to [-10]\nelse\n    set [x v] to [10]\nend\n\nwhen flag clicked\nhide\n\nwhen [right arrow v] key pressed\nswitch costume to (costume5 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (costume1 v)\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-200) y: (-34)\n\n@Apple\n\nwhen flag clicked\nshow\nset size to (0) %\nrepeat (10)\n    change size by (20)\nend\nwait (2) seconds\nhide\nbroadcast (start v)\n\nwhen flag clicked\nforever\n    change [color v] effect by (12.5)\nend\n\n