-=Block=-

Instructions: 1/21/2022: I don't want to get into copyright troubles, so I removed most of the songs :c\n12/16/15: new songs added c:\n                               <<Controls:>>\n[Up Arrow]: Jump (Or Swim Up)\n[Right Arrow]: Go Right\n[Left Arrow]: Go Left\n[Down Arrow]: Swim Down\n[R] Restart level\n[SPACE]: Change Music (And Pause)\n****the music "Coward starts of very quietly, so dont say that it's broken because you didn't hear it at first.\n\nPlot;\n You are n control of a block that needs to be guided back to his dimension he was doing a science experiment, that failed, and blasted him into a separate dimension. it is your job to get him home.

@Stage\n\n@Sprite1\n\nshow variable [sho v]\n\nwhen flag clicked\nset [song v] to [1]\nset [time v] to [0]\nforever\n    play sound (song) until done\nend\n\nwhen [space v] key pressed\n\nif <(song) = [1]> then\n    set [song v] to [2]\nend\n\nstop all sounds\nchange [song v] by (1)\nif <(song) = [3]> then\n    set [song v] to [1 ]\nend\nwait (0.5) seconds\n\nwait (2) seconds\n\nwait (1) seconds\n\nwhen I receive [newsong v]\nstop all sounds\n\nwhen flag clicked\nforever\n    set volume to (Volume) %\n    if <(pausedn) = [0]> then\n        hide\n        show variable [volume v]\n    end\nend\n\nclear graphic effects\nset [whirl v] effect to (300)\nrepeat (30)\n    change [whirl v] effect by (-10)\nend\n\nwhen flag clicked\nset pen size to (5)\nerase all\npen up\nset pen color to (#666666)\nswitch backdrop to (backdrop1 v)\nset [ghost v] effect to (0)\nset [sho v] to [0]\nset [level v] to [1]\nset [deaths v] to [0]\nset [clircles: v] to [0]\nset [volume v] to [100]\nset [pausedn v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nhide variable [sho v]\ngo to x: (-223) y: (-150)\npoint in direction (90)\nshow\nforever\n    go to [front v] layer\n    if <(pausedn) = [1]> then\n        hide variable [volume v]\n        show\n        change [yv v] by (-0.5)\n        if <key (right arrow v) pressed?> then\n            switch costume to (costume3 v)\n            change [xv v] by (0.7)\n            point in direction (90)\n        end\n        if <key (left arrow v) pressed?> then\n            switch costume to (costume2 v)\n            change [xv v] by (-0.7)\n            point in direction (90)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change x by ((Xv) * (-1))\n                                change x by (-1)\n                                change y by (-5)\n                                change x by (1)\n                                if <key (up arrow v) pressed?> then\n                                    start sound [jump v]\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-8]\n                                    else\n                                        set [xv v] to [8]\n                                    end\n                                    set [yv v] to [10]\n                                else\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (Yv)\n        if <touching color (#000008)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <touching color (#000008)?> then\n            if <key (up arrow v) pressed?> then\n                start sound [jump v]\n                set [yv v] to [10]\n            end\n        end\n        change y by (1)\n        if <touching color (#003fff)?> then\n            start sound [next lvl v]\n            set [yv v] to [0]\n            go to x: (-223) y: (-150)\n            change [level v] by (1)\n            broadcast (NXTLVL v)\n        end\n        if <key (r v) pressed?> then\n            go to x: (-223) y: (-150)\n        end\n        if <touching color (#00ffff)?> then\n            if <<key (down arrow v) pressed?> or <key (up arrow v) pressed?>> then\n                if <key (down arrow v) pressed?> then\n                    set [yv v] to [-5]\n                end\n                if <key (up arrow v) pressed?> then\n                    set [yv v] to [5]\n                end\n            else\n                set [yv v] to [-1]\n            end\n        end\n        if <touching color (#ff0000)?> then\n            start sound [bxsb v]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            set [yv v] to [0]\n            set [xv v] to [0]\n            go to x: (-223) y: (-150)\n            set [ghost v] effect to (0)\n            change [deaths v] by (1)\n        end\n        if <(level) = [101]> then\n            set [sho v] to [The end!]\n        end\n        if <(level) < [101]> then\n            set [sho v] to (join [Level ] (join (level) [/100]))\n        end\n        if <(backdrop [name v]) = [backdrop101]> then\n            set [sho v] to [¯\_\(ツ\)_/¯]\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    set [. v] to (join [Level ] (costume [number v]))\n    go to x: (0) y: (0)\nend\n\nwhen I receive [nxtlvl v]\nnext costume\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <(pausedn) = [0]> then\n        go [backward v] (1) layers\n    end\nend\n\nhide\nshow variable [volume v]\n\n@Sprite7\n\nwhen this sprite clicked\nset [song v] to [1]\nbroadcast (newsong v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [pause v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Sprite3\n\nforever\n\nshow\n\nclear graphic effects\nset [pixelate v] effect to (300)\nrepeat (30)\n    change [pixelate v] effect by (-10)\nend\n\nwhen flag clicked\nhide\n\nhide variable [volume v]\nhide variable [. v]\nshow\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nshow variable [. v]\nhide\n\n@Sprite4\n\nwhen [space v] key pressed\nchange [pausedn v] by (1)\nif <[1] < (pausedn)> then\n    set [pausedn v] to [0]\nend\nif <(pausedn) = [1]> then\n    broadcast (play v)\n    hide\nelse\n    show\n    broadcast (pause v)\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    if <(pausedn) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\nif  then\nend\n\n@Sprite15\n\n