Falling- A Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Mysterious Sleeper v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen I receive [previous level v]\nswitch backdrop to ((backdrop [number v]) - (1))\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\n        broadcast (DONE v)\n    end\nend\n\n@Player\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [previous level v]\ngo to x: (-216) y: (-59)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen I receive [start v]\nshow\nset [yy v] to [0]\nset [y v] to [0]\ngo to x: (-216) y: (-59)\nforever\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (hello3 v)\n        change [x v] by (-1)\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        switch costume to (hello2 v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    change [y v] by (-0.6)\n    change y by (y)\n    go to [front v] layer\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (1)\n                                if <touching (level v)?> then\n                                    change y by (1)\n                                    if <touching (level v)?> then\n                                        change y by (-8)\n                                        change x by ((x) * (-1))\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <touching (level v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> and <touching (level v)?>> then\n        switch costume to (hello4 v)\n        set [y v] to [9]\n    end\n    change y by (1)\n    set [level v] to ([x position v] of [level v])\n    if <<touching (spikes v)?> or <<touching (saw v)?> or <touching (sprite1 v)?>>> then\n        repeat (10)\n            wait (0.001) seconds\n            change [ghost v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-216) y: (-59)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<<touching (_edge_ v)?> and <(x position) > [220]>> and <(backdrop [number v]) < [9]>> then\n        set [done v] to [10]\n        wait (0.1) seconds\n        set [done v] to [0]\n        go to x: (216) y: (-59)\n        broadcast (Next Level v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-161]> then\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-216) y: (-59)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (zoom v)?> then\n        wait (0.01) seconds\n        change [x v] by (5)\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-216) y: (-59)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen I receive [restart v]\ngo to x: (-216) y: (-59)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    if <<touching (trampoline v)?> or <<touching (trampoline2 v)?> or <<touching (trampoline3 v)?> or <<touching (trampoline4 v)?> or <touching (trampoline5 v)?>>>>> then\n        wait (0.01) seconds\n        change [y v] by (10)\n    end\nend\n\n\n\nwhen I receive [done v]\ngo to x: (0) y: (-59)\nset [x v] to [0]\nset [yv v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    wait (4.5) seconds\n    broadcast (Blinkity v)\nend\n\nwhen I receive [blinkity v]\nswitch costume to (hello v)\nrepeat (5)\n    wait (0.05) seconds\n    next costume\nend\nswitch costume to (hello v)\n\nwhen flag clicked\nforever\n    if <<<touching (_edge_ v)?> and <[-220] > (x position)>> and <(backdrop [number v]) = [9]>> then\n        set [done v] to [10]\n        wait (0.1) seconds\n        set [done v] to [0]\n        go to x: (216) y: (-59)\n        broadcast (Next Level v)\n    end\nend\n\n@Level\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        repeat (10)\n            go to x: (-23) y: (-96)\n        end\n    end\n    if <(costume [number v]) = [1]> then\n        repeat (10)\n            go to x: (-33) y: (-87)\n        end\n    end\nend\n\nwhen I receive [previous level v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [start v]\nshow\n\nwhen I receive [stop v]\nhide\n\n@Menu\n\nwhen flag clicked\ngo to x: (203) y: (141)\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Open MENU v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Restart\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nrepeat (5)\n    change [brightness v] effect by (4)\nend\nbroadcast (Restart v)\nset [brightness v] effect to (0)\n\nwhen I receive [open menu v]\ngo to x: (146) y: (93)\nshow\n\nwhen this sprite clicked\nbroadcast (Restart v)\n\nwhen flag clicked\ngo to [front v] layer\n\n@Last Level\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [open menu v]\ngo to x: (202) y: (92)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Previous level v)\n\nwhen I receive [delete all clones v]\n\n@Sound\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [close menu v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [open menu v]\ngo to x: (204) y: (39)\nshow\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [2]> then\n    set volume to (0) %\nend\nif <(costume [number v]) = [1]> then\n    set volume to (100) %\nend\n\nwhen I receive [start v]\nforever\n    play sound [Overwatch - Time is Running Out!.mp3 v] until done\nend\n\n@Close menu\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [open menu v]\ngo to x: (150) y: (39)\nshow\n\nwhen this sprite clicked\nbroadcast (Close MENU v)\n\nwhen flag clicked\nhide\n\nwhen I receive [close menu v]\nhide\n\n@Spikes\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [previous level v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(backdrop [number v]) = [1]> then\n        go to x: (-38) y: (-115)\n    end\n    if <(backdrop [number v]) = [2]> then\n        go to x: (-38) y: (-115)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Skip\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen this sprite clicked\nbroadcast (Next Level v)\n\nwhen flag clicked\nhide\n\nwhen I receive [close menu v]\nhide\n\nwhen I receive [open menu v]\ngo to x: (124) y: (142)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\n@Particles1\n\nwhen I receive [stop v]\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (15) to (75))\nshow\ngo to x: (pick random (200) to (-200)) y: (151)\nset [y vel v] to [0]\nset [x vel v] to [0]\nset [accel v] to [8]\nset [t v] to [0]\nset [timestep v] to ((1) / (10))\nset [velocity v] to (pick random (-70) to (-10))\nset [angle v] to (pick random (-10) to (10))\nset [x vel v] to ((Velocity) * ([sin v] of (Angle) ))\nset [y vel v] to ((Velocity) * ([cos v] of (Angle) ))\nrepeat until <(y position) < [-165]>\n    change [t v] by (Timestep)\n    change x by ((X Vel) * (Timestep))\n    change y by (((Y Vel) * (Timestep)) - ((Accel) * ((T) * (Timestep))))\nend\nset y to (-164)\ndelete this clone\n\nwhen I start as a clone\ngo to [back v] layer\nset [rotation v] to (pick random (5) to (20))\nforever\n    repeat (pick random (1) to (10))\n        turn right (Rotation) degrees\n    end\n    repeat (pick random (1) to (10))\n        turn left (Rotation) degrees\n    end\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (6))\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nhide\nforever\n    wait (0.001) seconds\n    create clone of (_myself_ v)\nend\n\n@Light\n\nwhen I receive [stop v]\nhide\n\nwhen flag clicked\nforever\n    go to (player v)\n    set [color v] effect to (Color)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Trampoline\n\nwhen I receive [stop v]\nhide\n\nwhen flag clicked\nswitch costume to (3 v)\nhide\nforever\n    if <(backdrop [number v]) = [5]> then\n        show\n        go to x: (-135) y: (-108)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@saw\n\nwhen flag clicked\nforever\n    if <(level2) = [46]> then\n        go to x: (-82) y: (16)\n        glide (2) secs to x: (-82) y: (86)\n        wait (.5) seconds\n        glide (2) secs to x: (-82) y: (16)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [49]> then\n        go to x: (152) y: (-9)\n        glide (3) secs to x: (-127) y: (-9)\n        glide (3) secs to x: (152) y: (-9)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [50]> then\n        go to x: (175) y: (-75)\n        glide (3) secs to x: (-96) y: (-75)\n        glide (3) secs to x: (175) y: (-75)\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [3]> then\n        go to x: (184) y: (-110)\n        show\n        repeat until <not <(backdrop [number v]) = [3]>>\n            glide (1) secs to x: (-5) y: (-150)\n            glide (1) secs to x: (184) y: (-150)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    next costume\nend\n\n@Trampoline2\n\nwhen flag clicked\nswitch costume to (3 v)\nhide\nforever\n    if <(backdrop [number v]) = [5]> then\n        show\n        go to x: (14) y: (-108)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@Intro\n\nwhen flag clicked\nset [intro? v] to [1]\nIntro\n\nhide\nwait until <(Intro?) = [0]>\nshow\n\ndefine Intro\nerase all\npen up\nstart sound [-Xaf- Inferno v]\nreset timer\nhide\npoint in direction (90)\ngo to x: (0) y: (400)\nset size to (100) %\nswitch costume to (bk v)\ncreate clone of (_myself_ v)\nswitch costume to (tnunderlay v)\ncreate clone of (_myself_ v)\nswitch costume to (tntext v)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\ngo to x: (0) y: (0)\nset [intro? v] to [2]\nwait (.4) seconds\nswitch costume to (timmccool v)\ncreate clone of (_myself_ v)\nParticles\nset [θ v] to [0]\nset [j v] to [0]\nrepeat (50)\n    change [j v] by (((75) - (j)) / (5))\n    change [θ v] by (((300) - (ϴ)) / (5))\n    Box W (ϴ) H (j) R [10]\nend\nwait (.75) seconds\nset [intro? v] to [2.5]\nrepeat (15)\n    change [j v] by (((5) - (j)) / (5))\n    change [θ v] by (((0) - (ϴ)) / (5))\n    Box W (ϴ) H (j) R [10]\nend\nFill\nset [intro? v] to [3]\nset [θ v] to [0]\nset size to (0) %\nswitch costume to (logo1 v)\ncreate clone of (_myself_ v)\nParticles\nset [j v] to [0]\nrepeat (50)\n    change [j v] by (((360) - (j)) / (5))\n    Ellipse Start [0] Length (round (j)) Size [75]\nend\nFill\nset [intro? v] to [4]\nbroadcast (Start v)\n\nwhen I start as a clone\nif <(costume [name v]) = [BK]> then\n    show\n    repeat until <(Intro?) = [2]>\n        change y by (((0) - (y position)) / (3))\n    end\n    wait (.4) seconds\n    hide\n    wait until <(Intro?) = [4]>\n    show\n    erase all\n    repeat until <(y position) > [200]>\n        change y by (((300) - (y position)) / (3))\n    end\n    set [intro? v] to [0]\n    delete this clone\nelse\n    if <(costume [name v]) = [TNtext]> then\n        go to x: (-400) y: (0)\n        show\n        repeat until <(Intro?) = [2]>\n            change x by (((0) - (x position)) / (5))\n        end\n        repeat until <(y position) > [170]>\n            change y by (((300) - (y position)) / (3))\n        end\n        delete this clone\n    else\n        if <(costume [name v]) = [TNunderlay]> then\n            go to x: (400) y: (0)\n            show\n            repeat until <(Intro?) = [2]>\n                change x by (((0) - (x position)) / (5))\n            end\n            repeat until <(y position) > [170]>\n                change y by (((300) - (y position)) / (3))\n            end\n            delete this clone\n        else\n            if <(costume [name v]) = [Logo1]> then\n                show\n                repeat until <(Intro?) = [4]>\n                    set [θ v] to (((ϴ) * (.65)) + (((150) - (size)) / (5)))\n                    change size by (ϴ)\n                end\n                repeat until <(y position) > [170]>\n                    change size by (((0) - (size)) / (3))\n                    change y by (((200) - (y position)) / (5))\n                end\n                delete this clone\n            else\n                if <(costume [name v]) = [TimMcCool]> then\n                    set size to (0) %\n                    show\n                    set [θ v] to [0]\n                    repeat until <(Intro?) = [2.5]>\n                        set [θ v] to (((ϴ) * (.7)) + (((60) - (size)) / (5)))\n                        change size by (ϴ)\n                    end\n                    repeat until <[12] > (size)>\n                        change size by (((0) - (size)) / (3))\n                    end\n                    delete this clone\n                else\n                    if <(costume [name v]) = [Particle]> then\n                        show\n                        set size to (100) %\n                        set [j v] to (pick random (-10) to (10))\n                        set [θ v] to [5]\n                        set [ghost v] effect to (80)\n                        repeat until <touching (_edge_ v)?>\n                            change [ghost v] effect by (1)\n                            change x by (j)\n                            change y by (ϴ)\n                            change [θ v] by (-2)\n                        end\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen [space v] key pressed\nif <not <(Intro?) = [0]>> then\n    stop [other scripts in sprite v]\n    set [intro? v] to [0]\nend\n\nset [intro? v] to []\n\ndefine @Save\nshow\ngo to [front v] layer\nset [intro? v] to [1]\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (tn v)\nstop [all v]\n\n@Save\n\ndefine Box W (width) H (height) R (radius)\nFill\nset pen color to (#ffffff)\nset pen size to ((radius) * (2))\ngo to x: ((radius) - ((width) / (2))) y: ((radius) - ((height) / (2)))\npen down\ngo to x: (((width) / (2)) - (radius)) y: ((radius) - ((height) / (2)))\ngo to x: (((width) / (2)) - (radius)) y: (((height) / (2)) - (radius))\ngo to x: ((radius) - ((width) / (2))) y: (((height) / (2)) - (radius))\ngo to x: ((radius) - ((width) / (2))) y: ((radius) - ((height) / (2)))\nif <(height) > ((radius) * (4))> then\n    pen up\n    set pen size to ((radius) * (4))\n    go to x: (((radius) * (2)) - ((width) / (2))) y: (0)\n    pen down\n    go to x: (((width) / (2)) - ((radius) * (2))) y: (0)\nend\npen up\n\ndefine Ellipse Start (start) Length (length) Size (size)\nFill\nset pen color to (#ffffff)\nset pen size to (10)\nset [θ v] to (start)\ngo to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\npen down\nrepeat (((length) * (4)) - (1))\n    go to [front v] layer\n    change [θ v] by (.25)\n    go to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\nend\nset [θ v] to ((length) + (start))\ngo to x: (([sin v] of (ϴ) ) * (size)) y: (([cos v] of (ϴ) ) * (size))\npen up\n\ndefine Fill\ngo to x: (0) y: (0)\nerase all\nset pen color to (#0090ff)\nset pen size to (999)\npen down\npen up\n\ndefine Particles\nswitch costume to (particle v)\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\n@Zoom\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [6]> then\n        show\n        go to x: (24) y: (85)\n    else\n        hide\n    end\nend\n\n@Trampoline3\n\nwhen flag clicked\nswitch costume to (3 v)\nhide\nforever\n    if <(backdrop [number v]) = [5]> then\n        show\n        go to x: (160) y: (-108)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@Trampoline4\n\nwhen flag clicked\nswitch costume to (3 v)\nhide\nforever\n    if <(backdrop [number v]) = [6]> then\n        show\n        go to x: (-108) y: (-108)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@Sprite1\n\nwhen I receive [stop v]\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [7]> then\n        go to x: (221) y: (161)\n        show\n        repeat until <not <(backdrop [number v]) = [7]>>\n            show\n            go to x: (221) y: (161)\n            point towards (player v)\n            repeat (30)\n                wait (0.001) seconds\n                move (15) steps\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nwait (0.1) seconds\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@sb\n\nwhen flag clicked\nforever\n    set [sb v] to <touching (mouse-pointer v)?>\nend\n\nwhen this sprite clicked\nbroadcast (STOP v)\n\n@saw2\n\nwhen flag clicked\nforever\n    if <(level2) = [46]> then\n        go to x: (-82) y: (16)\n        glide (2) secs to x: (-82) y: (86)\n        wait (.5) seconds\n        glide (2) secs to x: (-82) y: (16)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [49]> then\n        go to x: (152) y: (-9)\n        glide (3) secs to x: (-127) y: (-9)\n        glide (3) secs to x: (152) y: (-9)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [50]> then\n        go to x: (175) y: (-75)\n        glide (3) secs to x: (-96) y: (-75)\n        glide (3) secs to x: (175) y: (-75)\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [9]> then\n        go to x: (89) y: (13)\n        show\n        repeat until <not <(backdrop [number v]) = [9]>>\n            glide (1) secs to x: (89) y: (-109)\n            glide (1) secs to x: (89) y: (13)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    next costume\nend\n\nshow\n\n@saw3\n\nwhen flag clicked\nforever\n    if <(level2) = [46]> then\n        go to x: (-82) y: (16)\n        glide (2) secs to x: (-82) y: (86)\n        wait (.5) seconds\n        glide (2) secs to x: (-82) y: (16)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [49]> then\n        go to x: (152) y: (-9)\n        glide (3) secs to x: (-127) y: (-9)\n        glide (3) secs to x: (152) y: (-9)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level2) = [50]> then\n        go to x: (175) y: (-75)\n        glide (3) secs to x: (-96) y: (-75)\n        glide (3) secs to x: (175) y: (-75)\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [9]> then\n        show\n        go to x: (-17) y: (5)\n        repeat until <not <(backdrop [number v]) = [9]>>\n            glide (1) secs to x: (-17) y: (-109)\n            glide (1) secs to x: (-17) y: (5)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    next costume\nend\n\n@Trampoline5\n\nwhen flag clicked\nswitch costume to (3 v)\nhide\nforever\n    if <(backdrop [number v]) = [9]> then\n        show\n        go to x: (192) y: (-103)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@signs\n\nwhen flag clicked\nhide\n\ndefine say (text)\nset [say v] to []\nset [letter v] to []\nrepeat (length of (text))\n    change [letter v] by (1)\n    set [say v] to (join (say) (letter (letter) of (text)))\n    say (say)\nend\nwait (1.5) seconds\nsay []\n\nwhen flag clicked\nforever\n    if <<touching (player v)?> and <(backdrop [number v]) = [1]>> then\n        say [Use Mobile, WASD, or Arrow keys to move. Avoid saws, spikes, and projectiles.]\n        wait (5) seconds\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n
------FALLING-------\nControls: WASD, Arrow Keys, and Mobile mode.\nSelect the menu button. Menu buttons:\nBottom-Right- Sound. Click to turn sound on and off.\nBottom-Left- Click to close menu\nMiddle-Right- Click to go back a level\nMiddle-Left- Click to restart\nTop-Left- Click to skip\nDifficulty- Easy\nGo follow duoof!\nChangelog: 4/1/20 shared!