Color (A platformer) 

Instructions: Welcome Everyone to my FIRST platformer in High Def!\nPress L arrow to move left \nPress R arrow to move right\nPress up arrow to jump.\n*5/8/20; everything has been fixed, very sorry about the level detection sprite not doing its job!\n\n Curated! TY @Novakitty! 2/13/2016

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop6 v)\n\nwhen I receive [message1 v]\nnext backdrop\n\nwhen I receive [sequel! v]\nnext backdrop\nwait (7.5) seconds\nnext backdrop\nbroadcast (endmusic v)\n\n@Sprite1\n\nwhen this sprite clicked\nswitch backdrop to (backdrop2 v)\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\n@Sprite2\n\ndefine Touch Ground <>\nchange [falling v] by (1)\nrepeat until <not <touching (ground v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume1 v)\nset size to (50) %\nset rotation style [left-right v]\ngo to x: (-222) y: (-5)\nshow\nset [speed y v] to [0]\nset [falling v] to [10]\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    Touch Ground <(speed y) > [0]>\n    if <key (left arrow v) pressed?> then\n        walk (-90) (-5)\n    end\n    if <key (right arrow v) pressed?> then\n        walk (90) (5)\n    end\n    if <<key (up arrow v) pressed?> and <(falling) < [3]>> then\n        set [speed y v] to [12]\n    end\n    if <[-176] > (y position)> then\n        go to x: (-222) y: (-5)\n        set [speed y v] to [0]\n    end\n    if <touching (sprite3 v)?> then\n        broadcast (message1 v)\n    end\n    if <touching (sprite4 v)?> then\n        go to x: (-222) y: (-143)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nrepeat (10)\n    start sound [Vexento - Masked Heroes.mp3 v]\nend\n\nwhen I receive [message1 v]\ngo to x: (-222) y: (-143)\nset [speed y v] to [0]\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nswitch costume to (costume2 v)\nstop all sounds\n\nwhen I receive [dave v]\nswitch costume to (costume3 v)\nwait (0.5) seconds\nswitch costume to (costume2 v)\nbroadcast (dave2 v)\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen I receive [endmusic v]\nrepeat (10)\n    start sound [Vexento - Masked Heroes.mp3 v]\nend\n\ndefine None\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (ground v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    if <<key (up arrow v) pressed?> > ([abs v] of (speed) )> then\n        if <(wall jump) = [0]> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [11]\n            set [falling v] to [6]\n            set [wall jump v] to [15]\n        end\n    else\n        set [speed x v] to [0]\n    end\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\nend\n\n@ground\n\nwhen backdrop switches to [backdrop2 v]\nshow\nswitch costume to (level 1 v)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen I receive [message1 v]\nnext costume\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        broadcast (message1 v)\n    end\nend\n\n@Sprite4\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (level2 lava v)\nshow\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (level2 lava v)\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nswitch costume to (level3 lava v)\nshow\n\nwhen flag clicked\nhide\n\n@123aPikachu_used_Thunderbolt\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (375) %\nset [ghost v] effect to (0)\nwait (0.1) seconds\nshow\nswitch costume to (123apikachu_used_thunderbolt-0 v)\nrepeat (30)\n    next costume\n    wait (0.08) seconds\nend\nbroadcast (2 v)\n\nwhen I receive [2 v]\nrepeat (10)\n    change [ghost v] effect by (12)\nend\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\n\nwhen I receive [2 v]\nwait (0.5) seconds\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (2) seconds\nhide\nswitch backdrop to (backdrop1 v)\n\n@DAVIDIUS!\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nset size to (50) %\nshow\nsay [Hello, Red! I 've been waiting for you!] for (2) seconds\nbroadcast (Dave v)\n\nwhen I receive [dave2 v]\nsay [Confused? I was the one that put the wall there in the first place!] for (3.5) seconds\nsay [I am DAVE! The one who led you HERE!] for (2) seconds\nsay [But that is not my real name!] for (2) seconds\nsay [MY NAME IS DAVIDIUS! Ruler of the Dark!] for (2) seconds\nsay [Your brother you may ask?] for (2) seconds\nsay [I threw him in jail when I had the chance!] for (2) seconds\nsay [You will be here Forever...] for (2) seconds\nbroadcast (sequel! v)\nhide\n\n