Pride Platformer

Instructions: Arrow Keys to Move\n\nThis is meant for LGBTQIADP+ people, but really almost everyone can relate to at least part of it!

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nhide\nbroadcast (go v)\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (lgbtqiadp+ v)\n\nwhen I receive [go v]\ngo to x: (-214) y: (115)\nswitch costume to (costume1 v)\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            switch costume to (costume4 v)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume5 v)\n        end\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        switch costume to (costume2 v)\n    end\n    if <(backdrop [name v]) = [backdrop17]> then\n        switch costume to (costume3 v)\n    end\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\nset size to (15) %\ngo to x: (-1) y: (-12)\n\nwhen this sprite clicked\nnext costume\n\n