Pusheen Platformer

Instructions: ❤Arrow keys (the rest is in the game)\n\n❤Sry for the bad art and glitches and that it's a bit easy.\n\n❤Hope you have fun!

@Stage\n\nwhen I receive [message1 v]\nnext backdrop\nbroadcast (2 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nif <(backdrop [number v]) = [6]> then\n    broadcast (3 v)\nend\n\nwhen backdrop switches to [backdrop10 v]\nstop [all v]\n\n@Angel\n\nwhen flag clicked\nset [speed y v] to [0]\nforever\n    change [speed y v] by (-1)\n    set y to (speed y)\n    if <touching color (#99ffbb)?> then\n        set [speed y v] to [0]\n        change y by (1)\n    end\n    forever\n        change [speed y v] by (-1)\n        change y by (speed y)\n        touch ground <(speed y) > [0]>\n    end\nend\n\ndefine None\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching color (#99ffbb)?>>>\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))\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (message1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (up arrow v) pressed?> and <(falling) < [3]>> then\n        set [speed y v] to [12]\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    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    else\n        set [jump key v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    set rotation style [left-right v]\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        walk (-90) (-4)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        walk (90) (4)\n    end\nend\n\ndefine touch ground <>\nchange [falling v] by (1)\nrepeat until <not <touching color (#99ffbb)?>>\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\nwhen I receive [2 v]\ngo to x: (-160) y: (-128)\n\nwhen flag clicked\ngo to x: (-160) y: (-128)\nforever\n    if <touching (evil pusheen boss v)?> then\n        go to x: (-160) y: (-128)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-160) y: (-128)\n    end\n    if <touching (unicorn boost v)?> then\n        set [speed y v] to [22]\n    end\nend\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (pu v)\n\nwhen flag clicked\nswitch costume to (pusheen v)\n\n@Rose\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\nstop [all v]\n\n@Unicorn Boost\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nrepeat (20)\n    go to x: (-82) y: (-158)\n    show\nend\n\nwhen I receive [2 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nrepeat (20)\n    go to x: (-82) y: (-158)\n    show\nend\n\n@Evil Pusheen Boss\n\nwhen flag clicked\nset rotation style [left-right v]\npoint in direction (-90)\ngo to x: (187) y: (-128)\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\nstop [all v]\n\nwhen backdrop switches to [backdrop11 v]\nshow\nforever\n    move (7) steps\n    if on edge, bounce\nend\n\n@Sprite108\n\nwhen flag clicked\ngo to [front v] layer\nhide\nset [ghost v] effect to (50)\nforever\n    wait (0.05) seconds\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\ngo to (random position v)\nshow\nrepeat (30)\n    change x by (-1)\n    change y by (-1)\n    change [ghost v] effect by (3)\nend\ndelete this clone\n\n@스프라이트 1\n\nwhen flag clicked\nforever\n    hide\nend\n\n