Save Earth: A Platformer

Instructions: Earth is sick! Why? How can we help? Find out in this platformer! \n———\nArrow Keys = Move\nS = Skip\nR = Restart\n———\nEvery level is possible.\n———\n#GLOBAL #WARMING #GREENHOUSE #EFFECT #GASES #HOT #EARTH #CO2 #N2O #CH4 

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [rise-and-shine v] until done\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        switch backdrop to (backdrop2 v)\n    end\nend\n\n@Earth\n\nwhen flag clicked\nswitch costume to (3d1b3e23-f84f-42cd-a859-45dcf39dbc40 v)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\ngo to x: (-189) y: (-71)\nset y to (50)\nforever\n    if <<key (right arrow v) pressed?> and <not <touching color (#000000)?>>> then\n        point in direction (90)\n        change x by (7)\n    end\n    if <<key (left arrow v) pressed?> and <not <touching color (#000000)?>>> then\n        point in direction (-90)\n        change x by (-7)\n    end\nend\n\nwhen flag clicked\nset [y v] to [0]\nforever\n    change [y v] by (-0.5)\n    if <not <touching color (#b1b1b1)?>> then\n        change y by (Y)\n    end\n    if <key (up arrow v) pressed?> then\n        if <touching color (#b1b1b1)?> then\n            broadcast (Jump v)\n            set [y v] to [7]\n            change y by (Y)\n        end\n    end\nend\n\nwhen I receive [next level v]\nset [y v] to [-1]\ngo to x: (-189) y: (0)\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <touching (_edge_ v)?> then\n        if on edge, bounce\n    end\n    if <touching color (#ff8080)?> then\n        set [y v] to [0]\n        go to x: (-189) y: (0)\n    end\n    if <touching color (#75a2ff)?> then\n        broadcast (Next level v)\n        change [level v] by (1)\n    end\n    if <touching color (#00b0ce)?> then\n        set [y v] to [0]\n        go to x: (-189) y: (0)\n    end\n    if <key (s v) pressed?> then\n        if <(Skip) > [0]> then\n            broadcast (Next level v)\n            change [level v] by (1)\n            change [skip v] by (-1)\n            wait (1) seconds\n        end\n    end\n    if <key (r v) pressed?> then\n        set [y v] to [0]\n        go to x: (-189) y: (0)\n    end\n    if <(y position) < [-145]> then\n        set [y v] to [0]\n        go to x: (-189) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        switch costume to (00d58c99-a306-419d-b820-160a11ce5ff6-removebg-preview v)\n    end\nend\n\nwhen flag clicked\nshow variable [level v]\nset [skip v] to [3]\nhide variable [skip v]\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nrepeat (200)\n    change [ghost v] effect by (5)\nend\n\n@Level\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo [backward v] (2) layers\n\nwhen I receive [next level v]\nnext costume\n\n@BGClone\n\nwhen flag clicked\nhide\ngo to x: (pick random (-217) to (133)) y: (175)\nforever\n    create clone of (_myself_ v)\n    wait (pick random (0.3) to (0.5)) seconds\nend\n\nwhen I start as a clone\ngo to x: (pick random (-217) to (94)) y: (175)\nset size to (pick random (50) to (90)) %\ngo to [back v] layer\nswitch costume to (pick random (1) to (10))\nset [ghost v] effect to (10)\nshow\nrepeat until <touching (_edge_ v)?>\n    show\n    change y by (pick random (-3) to (-7))\n    if <touching (earth v)?> then\n        create clone of (_myself_ v)\n        delete this clone\n    end\nend\nif <touching (_edge_ v)?> then\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Level) = [17]> then\n    set y to (263)\n    set size to (200) %\n    forever\n        change [color v] effect by (3)\n    end\nend\n\n@Icon\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\nend\n\n