Mars || A Platformer #games

Instructions: Arrows or WASD to move\nthx for #11 trending for games :D\n-------------------------------------------------------------\nTo show support, pls love, star, and follow!\nDust and martians by me, @crow_pro_ as well as redoing all the art\ncooltext for thumbnail font\nmusic is a remix of a undertale song\nalien art by @hanngousuihann edited by me\n@glizzygobbler765 @ozzie123125 @professorxp for coding\n@theinternetiscoool for the helmet

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop6 v)\nforever\n    play sound [CORE.mp3 v] until done\nend\n\n@Thingy\n\nwhen flag clicked\ngo to x: (-200) y: (0)\npoint in direction (90)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n        switch costume to (costume4 v)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n        switch costume to (costume3 v)\n        point in direction (-120)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#b36b61)?> or <<touching color (#b3b397)?> or <touching color (#66652e)?>>> then\n        fast\n        if <<touching color (#b36b61)?> or <<touching color (#b3b397)?> or <touching color (#66652e)?>>> then\n            xcoll\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [12]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-8]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <<touching color (#b36b61)?> or <<touching color (#b3b397)?> or <touching color (#66652e)?>>> then\n        ycoll\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(y) < [0]>> then\n            set [y v] to [12]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <(x position) > [240]> then\n        broadcast (next level v)\n    end\nend\n\nwhen I receive [next level v]\nif <(backdrop [number v]) = [10]> then\n    broadcast (thumb v)\n    stop [all v]\nelse\n    go to x: (-162) y: (-14)\n    next backdrop\nend\n\ndefine xcoll\nrepeat until <not <<touching color (#03cd00)?> or <<touching color (#039f00)?> or <touching color (#66652e)?>>>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <<touching color (#b36b61)?> or <<touching color (#b3b397)?> or <touching color (#66652e)?>>>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (sprite2 v)?> or <<touching color (#7b7b7b)?> or <<touching color (#bbbbbb)?> or <<touching color (#ff8000)?> or <touching color (#ff5f00)?>>>>> then\n        broadcast (Death v)\n    end\nend\n\nwhen I receive [death v]\ngo to x: (-217) y: (-14)\n\nwhen flag clicked\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (40)\nhide\nforever\n    go to x: (300) y: (pick random (200) to (-200))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat until <(x position) < [-220]>\n    change x by (pick random (-2) to (-20))\nend\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (150) y: (-43)\nshow\nrepeat until <(backdrop [name v]) = [backdrop1]>\n    glide (1) secs to x: (210) y: (-43)\n    glide (1) secs to x: (150) y: (-43)\nend\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (50) y: (92)\nshow\nrepeat until <(backdrop [name v]) = [backdrop7]>\n    glide (0.6) secs to x: (90) y: (150)\n    glide (0.4) secs to x: (90) y: (92)\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@TB\n\nwhen flag clicked\nhide\n\nwhen I receive [thumb v]\ngo to [front v] layer\nshow\n\n