Desert - A 100 Level Platformer
@Stage\n\n@Aliens(Level 51 Boss)\n\nwhen flag clicked\nbroadcast (message1 v)\n\nwhen I receive [message1 v]\nforever\n    hide\n    wait until <(level) = [51]>\n    show\n    go to (random position v)\n    repeat until <touching (player v)?>\n        glide (0.5) secs to (random position v)\n        if <(level) = [52]> then\n            broadcast (message1 v)\n            stop [this script v]\n        end\n    end\n    set [level v] to [1]\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (-41)\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 (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#e4ff80)?> then\n        change y by (1)\n    end\n    if <touching color (#e4ff80)?> then\n        change y by (1)\n    end\n    if <touching color (#e4ff80)?> then\n        change y by (1)\n    end\n    if <touching color (#e4ff80)?> then\n        change y by (1)\n    end\n    if <touching color (#e4ff80)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> 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 (#e4ff80)?> 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?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#e4ff80)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        go to x: (-200) y: (-41)\n    end\n    if <<<(x position) > [236]> or <touching color (#ff00e9)?>> and <(level) < [100]>> then\n        change [level v] by (1)\n        go to x: (-200) y: (-41)\n    end\n    if <touching color (#e4ff80)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (-41)\n    end\n    if <touching color (#38ff00)?> then\n        go to [front v] layer\n        wait (0.01) seconds\n        change [x v] by (5)\n    end\n    if <touching color (#00fffa)?> then\n        wait (0.01) seconds\n        change [y v] by (10)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <<(x) = [0]> or <(y) = [0]>> then\n        switch costume to (idle v)\n    else\n        switch costume to (pick random (2) to (12))\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<key (u v) pressed?> and <(username) = [NiceGuy5]>> then\n        change y by (10)\n    end\nend\n\n@Platforms\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch costume to (level)\n    if <<key (space v) pressed?> and <(username) = [NiceGuy5]>> then\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nhide variable [☁ global wins: \(not including niceguy5\) v]\nwait (0.1) seconds\nforever\n    if <(level) = [100]> then\n        change [☁ global wins: \(not including niceguy5\) v] by (1)\n        show variable [☁ global wins: \(not including niceguy5\) v]\n        stop [this script v]\n    end\nend\n\n@TN\n\nwhen flag clicked\nhide\n\n