8-Bit (Platformer) V.1.9

Instructions: Click on the day button to switch from day to night.\nClick on the arrows for character selection.\nMost instructions are all in the game.\n\nDifferent skins have different difficulties.\nWARNING:\nIF YOU COMPLETE IT REFRESH THE PAGE BEFORE YOU PLAY IT AGAIN!!! (Just because of bugs)\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nwait (5.5) seconds\nswitch backdrop to (light v)\n\nwhen flag clicked\nforever\n    play sound [wav.wav v] until done\nend\n\nwhen [space v] key pressed\nbroadcast (Start v)\n\nwhen I receive [start v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [end 2 v]\nswitch backdrop to (backdrop4 v)\n\n@Player\n\nwhen flag clicked\nset [level v] to [1]\nhide variable [level v]\nhide\ngo to x: (-210) y: (-79)\n\nwhen I receive [start v]\nshow variable [level v]\nforever\n    if <touching color (#99b2ff)?> then\n        broadcast (next level v)\n        change [level v] by (1)\n        go to x: (-210) y: (-79)\n    end\nend\n\nwhen I receive [start v]\n\nwhen I receive [start v]\npoint in direction (90)\ngo to [front v] layer\nshow\nset size to (115) %\nforever\n    if <<(backdrop [name v]) = [backdrop1]> or <(backdrop [name v]) = [backdrop2]>> then\n        repeat until <<<touching color (#ff0000)?> or <touching color (#575757)?>> or <touching color (#7f7f7f)?>>\n            if <key (right arrow v) pressed?> then\n                change x by (6)\n            end\n            if <key (left arrow v) pressed?> then\n                change x by (-6)\n            end\n            if <<key (up arrow v) pressed?> and <(falling?) < [3]>> then\n                set [speedy v] to [10]\n            end\n        end\n    end\n    if <<(costume [number v]) = [29]> or <(costume [number v]) = [30]>> then\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume30 v)\n        end\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume30 v)\n        end\n    end\nend\n\nwhen I receive [start v]\nswitch costume to ([costume # v] of [costume chooser v])\n\nwhen I receive [start v]\nforever\n    if <touching color (#ff00bf)?> then\n        set [speedy v] to [13]\n    end\nend\n\nwhen I receive [end v]\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    if <touching color (#99b2ff)?> then\n        hide\n        broadcast (end 2 v)\n        hide variable [level v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    change [speedy v] by (-1)\n    change y by (speedY)\n    Touch Ground\nend\n\nif <key (up arrow v) pressed?> then\n    turn right (15) degrees\nend\n\nforever\n    \n        go to x: (-210) y: (-79)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-210) y: (-79)\n    end\nend\n\ndefine Touch Ground\nchange [falling? v] by (1)\nrepeat until <not <touching color (#00cc44)?>>\n    change y by (1)\n    set [falling? v] to [0]\n    set [speedy v] to [0]\nend\n\nwhen I receive [start v]\nforever\n    if <(falling?) = [0]> then\n        point in direction (90)\n        turn right (0) degrees\n    end\n    if <<key (up arrow v) pressed?> and <key (left arrow v) pressed?>> then\n        turn left (15) degrees\n    end\n    if <<key (up arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        turn right (15) degrees\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<<touching color (#ff0000)?> or <touching color (#575757)?>> or <touching color (#7f7f7f)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-210) y: (-79)\n        set [ghost v] effect to (0)\n    end\nend\n\n@Stages\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-13)\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [40]> then\n        broadcast (End v)\n    end\nend\n\nwhen I receive [end 2 v]\nhide\n\n@Intro\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1.6) seconds\nrepeat (13)\n    set x to (((1.5) * (x position)) - (1))\nend\nhide\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\nstart sound [pop v]\n\n@Intro2\n\nwhen flag clicked\nhide\nwait (2.5) seconds\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1.6) seconds\nrepeat (13)\n    set x to (((1.5) * (x position)) + (1))\nend\nhide\n\ngo to [front v] layer\n\n@Intro3\n\nwhen flag clicked\nset size to (100) %\nhide\nwait (2.5) seconds\nset [ghost v] effect to (100)\ngo to x: (100) y: (2)\ngo to [front v] layer\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\n@Costume Chooser\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nset size to (200) %\ngo to x: (0) y: (0)\nwait (5.5) seconds\nshow\n\nwhen I receive [next costume v]\nswitch costume to ((costume [number v]) + (1))\n\nwhen I receive [previous costume v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [start v]\nhide\n\n@Arrow 1\n\nwhen flag clicked\nhide\ngo to x: (-50) y: (0)\nwait (5.5) seconds\nshow\nrepeat until <(backdrop [name v]) = [backdrop1]>\n    if <key (left arrow v) pressed?> then\n        broadcast (Previous Costume v)\n        wait (0.3) seconds\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nbroadcast (Previous Costume v)\n\n@Arrow 2\n\nwhen flag clicked\nhide\ngo to x: (50) y: (0)\nwait (5.5) seconds\nshow\nrepeat until <(backdrop [name v]) = [backdrop1]>\n    if <key (right arrow v) pressed?> then\n        broadcast (Next Costume v)\n        wait (0.3) seconds\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Next Costume v)\n\nwhen I receive [start v]\nhide\n\n@Difficulty's\n\nwhen flag clicked\nhide\ngo to x: (2) y: (-34)\nswitch costume to (easy v)\nwait (5.5) seconds\nshow\n\nwhen flag clicked\nforever\n    if <<([costume # v] of [costume chooser v]) = [24]> or <<([costume # v] of [costume chooser v]) = [4]> or <<([costume # v] of [costume chooser v]) = [23]> or <<([costume # v] of [costume chooser v]) = [5]> or <<([costume # v] of [costume chooser v]) = [22]> or <<([costume # v] of [costume chooser v]) = [6]> or <<([costume # v] of [costume chooser v]) = [21]> or <<([costume # v] of [costume chooser v]) = [2]> or <<([costume # v] of [costume chooser v]) = [3]> or <<([costume # v] of [costume chooser v]) = [7]> or <<([costume # v] of [costume chooser v]) = [20]> or <<([costume # v] of [costume chooser v]) = [19]> or <<([costume # v] of [costume chooser v]) = [1]> or <<([costume # v] of [costume chooser v]) = [18]> or <<([costume # v] of [costume chooser v]) = [17]> or <([costume # v] of [costume chooser v]) = [9]>>>>>>>>>>>>>>>> then\n        switch costume to (easy v)\n    end\n    if <<([costume # v] of [costume chooser v]) = [25]> or <([costume # v] of [costume chooser v]) = [28]>> then\n        switch costume to (hard v)\n    end\n    if <<([costume # v] of [costume chooser v]) = [26]> or <([costume # v] of [costume chooser v]) = [27]>> then\n        switch costume to (medium v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<([costume # v] of [costume chooser v]) = [8]> or <<([costume # v] of [costume chooser v]) = [16]> or <<([costume # v] of [costume chooser v]) = [15]> or <<([costume # v] of [costume chooser v]) = [12]> or <<([costume # v] of [costume chooser v]) = [14]> or <<([costume # v] of [costume chooser v]) = [10]> or <<([costume # v] of [costume chooser v]) = [11]> or <([costume # v] of [costume chooser v]) = [13]>>>>>>>> then\n        switch costume to (easy v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@Day or Night\n\nwhen flag clicked\ngo to x: (212) y: (164)\nhide\nswitch costume to (day v)\nwait (5.5) seconds\nshow\n\nwhen this sprite clicked\nnext costume\nwait (0.01) seconds\n\nwhen I receive [start v]\nrepeat until <(backdrop [name v]) = [backdrop4]>\n    if <(costume [number v]) = [1]> then\n        wait (0.01) seconds\n        switch backdrop to (backdrop1 v)\n    end\n    if <(costume [number v]) = [2]> then\n        wait (0.01) seconds\n        switch backdrop to (backdrop2 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@light\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo [backward v] (10) layers\nforever\n    if <(backdrop [name v]) = [backdrop2]> then\n        show\n        go to (player v)\n    else\n        hide\n    end\nend\n\n@Blue Line\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\n\n