THE SUPER HARD PLATFORMER
@Stage\n\nwhen flag clicked\nforever\n    play sound [Waterflame - Sunwalker.mp3 v] until done\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [21]> then\n        wait (10) seconds\n        change [thingy v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop) = [21]>> then\n        set [thingy v] to [0]\n    end\nend\n\nwhen I receive [dead v]\nset [thingy v] to [0]\n\nwhen I receive [dead v]\nset [damadge v] to [0]\n\nwhen [m v] key pressed\nchange [music v] by (1)\n\nwhen flag clicked\nforever\n    if <(music) = [1]> then\n        stop all sounds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(music) = [2]> then\n        set [music v] to [0]\n    end\nend\n\nwhen flag clicked\nset [music v] to [0]\n\nset [backdrop v] to [21]\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        if <not <touching color (#02ff56)?>> then\n            change x by (-5)\n        else\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        if <not <touching color (#02ff56)?>> then\n            change x by (5)\n        else\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#02ff56)?> then\n        if <key (right arrow v) pressed?> then\n            change x by (-5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#02ff56)?> then\n        if <key (left arrow v) pressed?> then\n            change x by (5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#02ff56)?> then\n        if <key (left arrow v) pressed?> then\n            change x by (-10)\n        end\n        if <key (up arrow v) pressed?> then\n            change y by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#02ff56)?> then\n        if <key (right arrow v) pressed?> then\n            change x by (10)\n        end\n        if <key (up arrow v) pressed?> then\n            change y by (-2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-224) y: (-107)\n        broadcast (dead v)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#02289a)?> then\n        set [gravity v] to [5]\n        if <(backdrop) = [7]> then\n            change [damadge v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#7f00ff)?> then\n        go to x: (-224) y: (-107)\n        broadcast (dead v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(mauvais) = [1]> then\n        set [damadge v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cc0099)?> then\n        go to x: (-224) y: (-107)\n        set [backdrop v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#66004c)?> then\n        go to x: (-224) y: (-107)\n        set [backdrop v] to [9]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        set [gravity v] to [0]\n    else\n        change y by (gravity)\n        change [gravity v] by (-0.2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#990072)?> then\n        go to x: (-224) y: (-107)\n        set [backdrop v] to [16]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff99e5)?> then\n        say [comming soon] for (5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        go to x: (-224) y: (-107)\n        set [backdrop v] to [22]\n        set [gravity v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffccf2)?> then\n        change [gravity v] by (0.167)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(damadge) = [5]> then\n        go to x: (-229) y: (-109)\n        set [gravity v] to [0]\n        say [WORLD ONE BEAT!] for (5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [15]> then\n        if <(banana) = [3]> then\n            go to x: (-229) y: (-109)\n            set [gravity v] to [0]\n            set [backdrop v] to [8]\n            say [WORLD TWO BEAT!] for (5) seconds\n            set [banana v] to [0]\n            set [boss2 v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#0033cc)?> then\n        set [gravity v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#b2b2b2)?> then\n        go to x: (-224) y: (-107)\n        broadcast (dead v)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cc7700)?> then\n        go to x: (-14) y: (-100)\n        change [backdrop v] by (1)\n        set [gravity v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite9 v)?> then\n        go to x: (-2) y: (-101)\n        set [gravity v] to [0]\n        set [banana v] to [0]\n        broadcast (dead v)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(thingy) = [3]> then\n        set [thingy v] to [0]\n        set [backdrop v] to [8]\n        go to x: (-222) y: (-103)\n        say [WORLD THREE BEAT!] for (5) seconds\n        set [boss3 v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(backdrop) = [21]>> then\n        if <touching (sprite6 v)?> then\n            go to x: (-224) y: (-107)\n            set [gravity v] to [0]\n            set [banana v] to [0]\n            broadcast (dead v)\n            change [deaths v] by (1)\n        end\n    else\n        if <touching (sprite6 v)?> then\n            broadcast (dead v)\n            change [deaths v] by (1)\n            set [thingy v] to [0]\n            set [gravity v] to [0]\n            go to x: (-2) y: (-101)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    switch backdrop to (backdrop)\nend\n\nwhen flag clicked\nset [damadge v] to [0]\nset [backdrop v] to [8]\nset [gravity v] to [0]\ngo to x: (-224) y: (-107)\nforever\n    if <<key (up arrow v) pressed?> and <touching color (#000000)?>> then\n        set [gravity v] to [3]\n        change y by (gravity)\n        repeat until <touching color (#000000)?>\n            change y by (gravity)\n        end\n    end\nend\n\nwhen flag clicked\nset [deaths v] to [0]\n\nwhen flag clicked\nforever\n    if <touching (sprite10 v)?> then\n        go to x: (-2) y: (-101)\n        set [gravity v] to [0]\n        set [banana v] to [0]\n        broadcast (dead v)\n        change [deaths v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff9400)?> then\n        set [gravity v] to [-3]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ff55)?> then\n        change y by (-3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#006622)?> then\n        say [comming soon] for (3) seconds\n        go to x: (-216) y: (-101)\n    end\nend\n\nwhen I receive [dead v]\nset [damadge v] to [0]\n\nwhen flag clicked\nset size to (100) %\npoint in direction (90)\n\nwhen [r v] key pressed\nbroadcast (dead v)\nchange [deaths v] by (1)\nset [banana v] to [0]\nset [thingy v] to [0]\nset [damadge v] to [0]\nif <not <(backdrop) = [21]>> then\n    go to x: (-224) y: (-107)\nelse\n    go to x: (-5) y: (-102)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#999900)?> then\n        go to x: (-224) y: (-107)\n        change [backdrop v] by (1)\n        set [gravity v] to [0]\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(boss1) = [1]> then\n        forever\n            if <(boss2) = [1]> then\n                forever\n                    if <(boss3) = [1]> then\n                        show variable [your time: v]\n                        set [backdrop v] to [23]\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [boss3 v] to [1]\nset [boss2 v] to [1]\nset [boss1 v] to [1]\n\nwhen flag clicked\nshow variable [deaths v]\n\n@Sprite2\n\nwhen flag clicked\nforever\n    point towards (sprite1 v)\n    move (3) steps\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [4]> then\n        show\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [10]> then\n        hide\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [9]> then\n        show\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [17]> then\n        show\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [5]> then\n        hide\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [18]> then\n        hide\n    else\n    end\nend\n\nwhen I receive [dead v]\ngo to x: (-6) y: (130)\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\nforever\n    repeat until <(damadge) = [5]>\n        glide (1) secs to x: (3) y: (114)\n        glide (1) secs to x: (159) y: (110)\n        glide (1) secs to x: (-12) y: (116)\n        glide (2) secs to x: (-5) y: (-111)\n        glide (1) secs to x: (173) y: (-111)\n        glide (1) secs to x: (5) y: (-111)\n        glide (1) secs to x: (-173) y: (-109)\n        glide (1) secs to x: (-12) y: (123)\n        glide (1) secs to x: (147) y: (-100)\n        glide (1) secs to x: (-19) y: (116)\n        glide (1) secs to x: (-171) y: (-104)\n        glide (1) secs to x: (-16) y: (122)\n        glide (0.75) secs to x: (-6) y: (-106)\n        glide (0.75) secs to x: (-25) y: (124)\n        glide (0.75) secs to x: (58) y: (-104)\n        glide (0.25) secs to x: (-78) y: (-107)\n        glide (0.25) secs to x: (58) y: (-104)\n        glide (0.25) secs to x: (-78) y: (-107)\n        glide (0.25) secs to x: (58) y: (-104)\n        glide (0.25) secs to x: (-78) y: (-107)\n        glide (0.25) secs to x: (58) y: (-104)\n        glide (1) secs to x: (-171) y: (-109)\n        glide (1) secs to x: (170) y: (-109)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(damadge) = [5]> then\n        set [backdrop v] to [8]\n        set [damadge v] to [0]\n        set [boss1 v] to [1]\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <(backdrop) = [17]> then\n        show\n        go to x: (204) y: (12)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [18]> then\n        show\n        go to x: (216) y: (-86)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [19]> then\n        hide\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (211) y: (24)\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop) = [15]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    glide (1.3) secs to x: (211) y: (25)\n    glide (1.3) secs to x: (216) y: (153)\n    glide (1.3) secs to x: (211) y: (25)\n    glide (1.3) secs to x: (214) y: (-117)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [8]> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <(backdrop) = [15]> then\n        repeat (20)\n            wait (0.5) seconds\n            create clone of (_myself_ v)\n        end\n        repeat (15)\n            wait (0) seconds\n            create clone of (_myself_ v)\n        end\n        wait (0.5) seconds\n        repeat (15)\n            wait (0) seconds\n            create clone of (_myself_ v)\n        end\n        repeat (10)\n            wait (0.5) seconds\n            create clone of (_myself_ v)\n        end\n        repeat (20)\n            wait (0) seconds\n            create clone of (_myself_ v)\n        end\n        repeat (5)\n            wait (0.5) seconds\n            create clone of (_myself_ v)\n        end\n        repeat (20)\n            wait (0) seconds\n            create clone of (_myself_ v)\n        end\n        change [banana v] by (1)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nif <(backdrop) = [15]> then\n    show\n    go to (sprite5 v)\n    repeat (82)\n        change x by (-5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [8]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [17]> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\n\nwhen I start as a clone\nif <not <(backdrop) = [15]>> then\n    show\n    go to (sprite4 v)\n    repeat (82)\n        change x by (-5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [9]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [1]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [16]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [19]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [18]> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [dead v]\nset [banana v] to [0]\n\nwhen I receive [dead v]\ndelete this clone\n\nwhen I receive [dead v]\nset [thingy v] to [0]\n\nwhen I receive [dead v]\ndelete this clone\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (-170) y: (170)\n    glide (1) secs to x: (-170) y: (41)\n    glide (1) secs to x: (-170) y: (-94)\n    glide (1) secs to x: (-170) y: (41)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [21]> then\n        show\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop) = [21]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (165) y: (41)\n    glide (1) secs to x: (165) y: (170)\n    glide (1) secs to x: (165) y: (41)\n    glide (1) secs to x: (165) y: (-94)\nend\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop) = [21]> then\n        create clone of (_myself_ v)\n        wait (0.7) seconds\n    end\nend\n\nwhen I start as a clone\nif <(backdrop) = [21]> then\n    show\n    go to (sprite8 v)\n    repeat (75)\n        change x by (-5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <touching color (#995900)?> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [8]> then\n        delete this clone\n    end\nend\n\nwhen I receive [dead v]\ndelete this clone\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(backdrop) = [21]> then\n        create clone of (_myself_ v)\n        wait (0.7) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop) = [8]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(backdrop) = [21]> then\n    show\n    go to (sprite7 v)\n    repeat (75)\n        change x by (5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <touching color (#995900)?> then\n        delete this clone\n    end\nend\n\nwhen I receive [dead v]\ndelete this clone\n\n@Sprite11\n\nwhen flag clicked\nforever\n    if <key (w v) pressed?> then\n        change y by (3.5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        change y by (-3.5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (a v) pressed?> then\n        change x by (-3.5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (d v) pressed?> then\n        change x by (3.5)\n    end\nend\n\nwhen I receive [dead v]\ngo to x: (24) y: (166)\n\nwhen flag clicked\nforever\n    if <(backdrop) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop) = [22]> then\n        show\n    end\nend\n\nwhen flag clicked\ngo to x: (31) y: (162)\n\nwhen flag clicked\nhide\n\n@Sprite12\n\nwhen flag clicked\nset [your time: v] to [0]\nhide variable [your time: v]\nset [boss1 v] to [0]\nset [boss2 v] to [0]\nset [boss3 v] to [0]\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <(boss1) = [1]> then\n        forever\n            if <(boss2) = [1]> then\n                forever\n                    if <(boss3) = [1]> then\n                        show variable [your time: v]\n                        set [backdrop v] to [23]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    if <not <(backdrop) = [23]>> then\n        wait (1) seconds\n        change [your time: v] by (1)\n    end\nend\n\n
Use the arrow keys to move\n\nWrite a comment if you beat the game!\n\nPress m to mute\n\nPress r to reset the level