150 level platformer

Instructions: This is a platformer. Obviously.\n- It was based on geometry dash\n- Ya might need to hit the flag twice\n- Use arrow keys to move\n- Touch yellow to move onto the next level\nNOTE: All levels are possible. Also, don't ask me to add more levels because it gets extremely laggy if I do.\nMy personal record:\nTime: 18:29\nDeaths: 48\n\n1.0: Shared w/ 100 lvls\n1.1: Changed player color\n1.2: Teleportation color\n1.3: 150 lvls\n1.4: Color changer (Top right corner)\n1.5: Choose to jump: space bar OR arrow key.\n1.6: Made level 94 easier.\n1.7: Changed position of minions in level 150\n1.8: Added one song!\n1.9: Changed the bugginess in level 100!\n2.0: Made level 100 even less buggy!\n2.1: Nerfed levels 12, 24, 26, 27, 66, 84, 89, 112, and 114\n2.2: Added death count!\n2.3: My biggest update yet: Changed levels 33, 45, 47, 57, 58, 59, 60, 68, 69, 70, 71, 76, 80, 81, 82, 85, 93, 94, 99, 103, 105, 114, 119, 126, 133, 135, 138, 139, 140, and made both bosses much easier to play!\n2.4: Nerfed/Changed Gameplay of levels 3 (I know, one of my OG Levels), 101, 102, and 150\n2.5: Lots of changes to boss fight dialogue and Gameplay

@Stage\n\nwhen flag clicked\nshow variable [level v]\nset [level v] to [1]\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    repeat until <(sound) = [1]>\n        play sound (pick random (1) to (28)) until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [151]> then\n        hide variable [level v]\n    end\nend\n\nwhen I receive [go v]\nchange [level v] by (1)\nnext backdrop\n\nwhen flag clicked\nhide variable [stop v]\nhide variable [death by fireball v]\nset [sound v] to [0]\nforever\n    wait (0.1) seconds\n    if <(Level) = [150]> then\n        stop all sounds\n        change [sound v] by (1)\n        stop [this script v]\n    end\nend\n\nset [level v] to [149]\nswitch backdrop to (backdrop149 v)\n\nset [death by fireball v] to [0]\n\nwhen I receive [level 999999 v]\nwait (0.1) seconds\nset [level v] to [999999]\nswitch backdrop to (backdrop999999 v)\n\nbroadcast (Level 999999 v)\n\nwhen I receive [level 150 pt 2 v]\nswitch backdrop to (backdrop150 v)\n\nwhen I receive [end! v]\nhide variable [level v]\nswitch backdrop to (backdrop151 v)\n\n@ \n\nwhen flag clicked\nset [death by fireball v] to [0]\nshow variable [deaths v]\nset [deaths v] to [0]\nshow\ngo to x: (-221) y: (136)\nforever\n    set [x v] to [0]\n    set [y v] to [0]\n    forever\n        if <touching color (#ffff00)?> then\n            start sound [collect v]\n            broadcast (go v)\n            show\n            go to x: (-221) y: (136)\n        end\n        if <touching color (#ff0000)?> then\n            start sound [PUNCH v]\n            show\n            if <not <(Level) = [999999]>> then\n                go to x: (-221) y: (136)\n                change [deaths v] by (1)\n                if <(Fireballs) = [0]> then\n                    change [death by fireball v] by (1)\n                end\n            else\n                go to x: (17) y: (20)\n                change [actual death v] by (1)\n            end\n        end\n        if <touching color (#cc99ff)?> then\n            if <(Level) = [115]> then\n                go to x: (43) y: (9)\n                start sound [zoop v]\n            else\n                if <(Level) = [116]> then\n                    go to x: (-20) y: (158)\n                    start sound [zoop v]\n                else\n                    if <(Level) = [117]> then\n                        go to x: (-34) y: (93)\n                        start sound [zoop v]\n                    else\n                        if <(Level) = [125]> then\n                            go to x: (3) y: (160)\n                            start sound [zoop v]\n                        else\n                            if <(Level) = [126]> then\n                                go to x: (19) y: (113)\n                                start sound [zoop v]\n                            else\n                                if <(Level) = [128]> then\n                                    go to x: (-126) y: (-77)\n                                    start sound [zoop v]\n                                else\n                                    if <(Level) = [135]> then\n                                        go to x: (-13) y: (-153)\n                                        start sound [zoop v]\n                                    else\n                                        if <(Level) = [137]> then\n                                            start sound [zoop v]\n                                            go to x: (-193) y: (-94)\n                                        else\n                                            if <(Level) = [139]> then\n                                                go to x: (28) y: (-42)\n                                                start sound [zoop v]\n                                            else\n                                                if <(Level) = [140]> then\n                                                    go to x: (123) y: (-121)\n                                                    start sound [zoop v]\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        go to [front v] layer\n        change [y v] by (-1)\n        if <key (left arrow v) pressed?> then\n            change [x v] by (-1)\n        end\n        if <key (right arrow v) pressed?> then\n            change [x v] by (1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by (1)\n        end\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by (1)\n        end\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by (1)\n        end\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by (1)\n        end\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n                set [y v] to [15]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-10]\n                else\n                    set [x v] to [10]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <<touching color (#00cc44)?> or <touching color (#cc7700)?>> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<<key (up arrow v) pressed?> or <key (space v) pressed?>> and <<touching color (#00cc44)?> or <touching color (#cc7700)?>>> then\n            set [y v] to [15]\n        end\n        if <<touching color (#99b2ff)?> or <touching color (#003fff)?>> then\n            set [y v] to [25]\n        end\n        if <touching color (#009999)?> then\n            set [y v] to [5]\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [100]> and <key (z v) pressed?>> then\n        broadcast (pew v)\n    end\nend\n\nwhen I receive [purple v]\nset [color v] effect to (0)\n\nwhen I receive [bye! v]\ngo to x: (-221) y: (136)\n\nwhen I receive [message2 v]\nsay [Yes!!!!] for (3) seconds\nbroadcast (message3 v)\n\nwhen I receive [color v]\nchange [color v] effect by (10)\n\nshow variable [deaths v]\n\nturn left (15) degrees\n\nwhen flag clicked\nset [actual death v] to [0]\nforever\n    set [player x v] to (x position)\nend\n\nset [level v] to [149]\n\nwhen I receive [fireballs v]\nset [death by fireball v] to [0]\n\n\n\nwhen I receive [hide death v]\nhide variable [deaths v]\nwait (2.5) seconds\nshow variable [deaths v]\n\nwhen I receive [level 999999 v]\nhide\nhide variable [deaths v]\nwait (0.1) seconds\nset [actual death v] to (Deaths)\nset [deaths v] to [999999]\nwait (0.5) seconds\ngo to x: (17) y: (20)\nshow variable [deaths v]\nshow variable [level v]\nshow\n\nwhen I receive [level 150 pt 2 v]\ngo to x: (-221) y: (136)\nset [level v] to [150]\nset [deaths v] to (Actual Death)\nwait (0.5) seconds\nset [ghost v] effect to (0)\n\nwhen I receive [exit 999999 v]\nrepeat (4)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [dead v]\nwait (5) seconds\nhide\n\nwhen I receive [end! v]\nwait (0.1) seconds\ngo to x: (-221) y: (136)\nshow\n\nwhen I receive [backdrop v]\nhide variable [deaths v]\nhide variable [level v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nif <(Level) = [41]> then\n    show\n    go to x: (89) y: (-209)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [44]> then\n    show\n    go to x: (17) y: (98)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [92]> then\n    show\n    go to x: (107) y: (11)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [87]> then\n    show\n    go to x: (145) y: (-221)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [82]> then\n    show\n    go to x: (229) y: (-214)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [67]> then\n    show\n    go to x: (-150) y: (-8)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [81]> then\n    show\n    go to x: (98) y: (-166)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [127]> then\n    show\n    go to x: (235) y: (-154)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [116]> then\n    show\n    go to x: (52) y: (6)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [46]> then\n    show\n    go to x: (259) y: (3)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [105]> then\n    show\n    go to x: (-60) y: (-187)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [42]> then\n    show\n    go to x: (264) y: (-3)\n    forever\n        if <touching (  v)?> then\n            hide\n            broadcast (message1 v)\n        end\n    end\nend\n\nwhen I receive [key! v]\nset [ghost v] effect to (100)\nwait (2) seconds\ngo to x: (243) y: (-161)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <touching (  v)?>\nbroadcast (What v)\nhide\n\n@Sprite3\n\nwhen I receive [message1 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nif <(Level) = [42]> then\n    switch costume to (costume2 v)\n    show\n    go to x: (61) y: (191)\nend\n\nwhen I receive [go v]\nif <(Level) = [44]> then\n    switch costume to (costume3 v)\n    show\n    go to x: (-66) y: (-47)\nend\n\nwhen I receive [go v]\nif <(Level) = [46]> then\n    switch costume to (costume4 v)\n    show\n    go to x: (-19) y: (-26)\nend\n\nwhen I receive [go v]\nif <(Level) = [67]> then\n    switch costume to (costume5 v)\n    show\n    go to x: (-19) y: (-26)\nend\n\nwhen I receive [go v]\nif <(Level) = [81]> then\n    switch costume to (costume6 v)\n    show\n    go to x: (39) y: (-31)\nend\n\nwhen I receive [go v]\nif <(Level) = [82]> then\n    switch costume to (costume7 v)\n    show\n    go to x: (-205) y: (86)\nend\n\nwhen I receive [go v]\nif <(Level) = [92]> then\n    switch costume to (costume9 v)\n    show\n    go to x: (-213) y: (-174)\nend\n\nwhen I receive [go v]\nif <(Level) = [87]> then\n    switch costume to (costume8 v)\n    show\n    go to x: (-83) y: (-110)\nend\n\nwhen I receive [go v]\nif <(Level) = [105]> then\n    switch costume to (costume10 v)\n    show\n    go to x: (185) y: (-128)\nend\n\nwhen I receive [go v]\nif <(Level) = [41]> then\n    switch costume to (costume1 v)\n    show\n    go to x: (217) y: (-4)\nend\n\nwhen I receive [go v]\nif <(Level) = [116]> then\n    switch costume to (costume5 v)\n    show\n    go to x: (1) y: (-68)\nend\n\nwhen I receive [go v]\nif <(Level) = [127]> then\n    switch costume to (costume11 v)\n    show\n    go to x: (-146) y: (-122)\nend\n\nset [level v] to [91]\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nhide\n\nwhen I receive [backdrop v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\n\nbroadcast (Backdrop v)\n\n@Ghoul\n\nwhen flag clicked\nset [death v] to [0]\nhide variable [death v]\nhide\n\nwhen I receive [message3 v]\nsay [Bwahahahahahahhahahahahahahahaha!!!] for (2) seconds\nsay [We'll see about that!!] for (2) seconds\nrepeat until <<(death) = [3]> or <(death) > [3]>>\n    glide (3) secs to x: (pick random (-180) to (180)) y: (pick random (-240) to (240))\nend\nswitch costume to (ghoul-a v)\ngo to x: (185) y: (-117)\nforever\n    if <(Level) = [101]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite5 v)?> then\n        change [death v] by (1)\n        say [Argh!!!] for (1) seconds\n    end\nend\n\nwhen I receive [go v]\ngo to x: (185) y: (-117)\nif <(Level) = [99]> then\n    switch costume to (ghoul-b v)\n    show\n    say [See, I wasn't lying!!!] for (3) seconds\n    say [Do you think you could ever defeat me?] for (4) seconds\n    broadcast (message2 v)\nend\n\nwhen I receive [ghoul v]\nshow\nforever\n    if <(Level) = [151]> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (72) y: (82)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [go v]\nif <(Level) = [99]> then\n    show\nend\nforever\n    if <(death) = [0]> then\n        switch costume to (costume1 v)\n    else\n        if <(death) = [1]> then\n            switch costume to (costume2 v)\n        else\n            if <(death) = [2]> then\n                switch costume to (costume3 v)\n            else\n                hide\n            end\n        end\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [pew v]\nwait (0.1) seconds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to (  v)\nrepeat until <<touching (_edge_ v)?> or <touching (ghoul v)?>>\n    change y by (5)\nend\nhide\ndelete this clone\n\n@Sprite7\n\nwhen flag clicked\nhide\nforever\n    go to (mouse-pointer v)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [134]> then\n        show\n        switch costume to (costume1 v)\n    else\n        if <(Level) = [136]> then\n            show\n            switch costume to (costume1 v)\n            repeat until <not <(Level) = [136]>>\n                if <mouse down?> then\n                    stamp\n                end\n            end\n        else\n            hide\n        end\n    end\nend\n\nhide\n\nwhen flag clicked\nhide\nforever\n    if <key (r v) pressed?> then\n        erase all\n    end\nend\n\nwhen I receive [go v]\nerase all\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nstop all sounds\n\nwhen flag clicked\nwait (0.5) seconds\nforever\n    if <(Level) = [150]> then\n        switch costume to (costume1 v)\n        wait (4) seconds\n        show\n        wait (3) seconds\n        hide\n        switch costume to (costume2 v)\n        wait (3) seconds\n        show\n        wait (1.5) seconds\n        hide\n        broadcast (boo!! v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [go v]\nif <(Level) = [150]> then\n    stop all sounds\n    stop [this script v]\nend\n\n@Sprite9\n\nwhen I receive [boo!! v]\ngo to x: (159) y: (-43)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\n    wait (0.1) seconds\nend\nwait (0.5) seconds\nbroadcast (Song Play v)\nsay [Hello, my evil nemesis.] for (2.5) seconds\nsay [You've come a long way.] for (3) seconds\nsay [You have completed 149 total levels.] for (2.5) seconds\nsay [Yet your failure was inevitable.] for (2.5) seconds\nsay (join [You may be strong, ] (username)) for (2.5) seconds\nsay [But I am here to end it all.] for (2.5) seconds\nswitch costume to (costume1 v)\nchange [stop v] by (1)\nset [fireballs v] to [0]\nbroadcast (Fireballs v)\nwait (8) seconds\nset [fireballs v] to [1]\nwait (1) seconds\nbroadcast (no!! v)\n\nwhen I receive [no!! v]\nglide (1) secs to x: (159) y: (-43)\nif <(Death by Fireball) = [0]> then\n    say [You impressively dodged all my attacks.] for (3) seconds\n    say [However, this was only but a warm-up.] for (3) seconds\n    say [Now we will truly fight.] for (3) seconds\nelse\n    say [You see?] for (2) seconds\n    if <(Death by Fireball) = [1]> then\n        say [I already killed you once from that one move.] for (2.5) seconds\n    else\n        say (join [I already killed you ] (join (Death by Fireball) [ times in that one move.])) for (2.5) seconds\n    end\n    say [Now I shall finish my duty.] for (2) seconds\nend\nsay [Kill the player, my minions] for (3) seconds\nbroadcast (minions v)\n\nwhen I receive [bye! v]\nrepeat (100)\n    change size by (-1)\nend\nhide\n\nwhen I receive [bye! v]\nwait (1) seconds\nbroadcast (ghoul v)\n\nwhen I receive [go v]\nhide\n\nwhen I receive [song play v]\nstart sound [29728_newgrounds_i_don_ v]\n\nwhen flag clicked\npoint in direction (90)\nset [ghost v] effect to (100)\nhide\nset size to (100) %\nset [stop v] to [0]\nrepeat until <(Stop) = [1]>\n    next costume\n    wait (0.003) seconds\nend\nwait (2) seconds\nrepeat until <(Level) = [999999]>\n    next costume\n    wait (0.003) seconds\nend\n\nwhen I receive [??? v]\nwait (1) seconds\nsay (join [You're certainly stronger than I imagined, ] (username)) for (3) seconds\nsay [If you're still standing in my way after all that.] for (3) seconds\nsay [But I'm still not finished.] for (3) seconds\nsay [After all, I am the king of this land] for (2.5) seconds\nsay [I can change this world into whatever I want!] for (3) seconds\nbroadcast (Level 999999 v)\nhide\n\nbroadcast (??? v)\n\nwhen I receive [help me v]\ngo to x: (54) y: (20)\nset size to (50) %\nhide\nset [ghost v] effect to (100)\nswitch costume to (costume1 v)\nshow\nwait (0.7) seconds\nrepeat (4)\n    change [ghost v] effect by (-25)\nend\nwait (0.3) seconds\nrepeat (6)\n    next costume\nend\nrepeat (4)\n    change [ghost v] effect by (25)\nend\nhide\nbroadcast (Out of Bounds v)\nstop [this script v]\n\nwhen I receive [level 999999 v]\nhide\n\nwhen I receive [fireballs again v]\nswitch costume to (costume7 v)\nset size to (50) %\nset [ghost v] effect to (100)\ngo to x: (168) y: (-127)\npoint in direction (pick random (90) to (135))\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nbroadcast (Fireballs v)\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (7) seconds\nset [fireballs v] to [1]\nbroadcast (Exit 999999 v)\n\nwhen I receive [level 150 pt 2 v]\npoint in direction (90)\ngo to x: (159) y: (-43)\nset size to (100) %\nset [ghost v] effect to (0)\nshow\nwait (2) seconds\nsay [Huff... Puff...] for (3) seconds\nsay (username) for (2) seconds\nsay [It is clear that I cannot defeat you.] for (3) seconds\nsay [However, you can't defeat me.] for (3) seconds\nsay [We are both in each other's ways.] for (3) seconds\nsay [And it becomes a stalemate.] for (3) seconds\nbroadcast (Key! v)\n\nwhen I receive [level 150 pt 2 v]\nforever\n    next costume\n    wait (0.003) seconds\nend\n\nwhen I receive [what v]\nsay [What...] for (2) seconds\nsay [Did you...] for (2) seconds\nsay [Just do?] for (2) seconds\nsay [Don't touch that block!]\nbroadcast (Level 151! v)\n\nwhen I receive [dead v]\nsay []\nsay [NO!] for (2) seconds\nsay [What you have any idea of what you've just done!?] for (3) seconds\nrepeat (100)\n    change x by (10)\n    wait (0.1) seconds\n    change x by (-10)\n    wait (0.1) seconds\nend\n\nwhen I receive [dead v]\nwait (5) seconds\nsay [NOOOOO!] for (3) seconds\n\nwhen I receive [end! v]\nhide\n\n@Sprite11\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen I receive [minions v]\nrepeat (10)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\nbroadcast (??? v)\n\nwhen I start as a clone\npoint in direction (90)\nshow\ngo to x: (Player x) y: (83)\nrepeat until <touching (  v)?>\n    change y by (-10)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen I start as a clone\nwait (3) seconds\ndelete this clone\n\nwhen I receive [chomp v]\nchange [marks remain v] by (-1)\nset [ghost v] effect to (100)\nswitch costume to (costume1 v)\nshow\nwait (0.1) seconds\nif <(Mark Location) = [1]> then\n    point in direction (90)\n    go to x: (-115) y: (180)\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\n    wait (0.3) seconds\n    repeat (36)\n        change y by (-10)\n    end\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    broadcast (Out of Bounds v)\nelse\n    if <(Mark Location) = [2]> then\n        point in direction (90)\n        go to x: (115) y: (180)\n        repeat (4)\n            change [ghost v] effect by (-25)\n        end\n        wait (0.3) seconds\n        repeat (36)\n            change y by (-10)\n        end\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        broadcast (Out of Bounds v)\n    else\n        if <(Mark Location) = [3]> then\n            point in direction (180)\n            go to x: (240) y: (-50)\n            repeat (4)\n                change [ghost v] effect by (-25)\n            end\n            wait (0.3) seconds\n            repeat (48)\n                change x by (-10)\n            end\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            broadcast (Out of Bounds v)\n        else\n            if <(Mark Location) = [4]> then\n                point in direction (180)\n                go to x: (240) y: (120)\n                repeat (4)\n                    change [ghost v] effect by (-25)\n                end\n                wait (0.3) seconds\n                repeat (48)\n                    change x by (-10)\n                end\n                repeat (4)\n                    change [ghost v] effect by (25)\n                end\n                broadcast (Out of Bounds v)\n            else\n                if <(Mark Location) = [5]> then\n                    broadcast (Help me v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [level 999999 v]\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nset [seconds test 2 v] to [0.6]\n\n@Sprite12\n\nwhen this sprite clicked\nbroadcast (color v)\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [name v]) = [backdrop130]> then\n        hide\n        broadcast (purple v)\n    else\n        show\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide variable [fireballs v]\nset [fireballs v] to [1]\nhide\n\nwhen I receive [fireballs v]\nset [fireballs v] to [0]\ngo to (sprite9 v)\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I receive [fireballs v]\npoint towards (  v)\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nrepeat until <(Fireballs) = [1]>\n    move (10) steps\n    if on edge, bounce\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nshow variable [fireballs v]\n\n@Sprite10\n\nwhen I receive [level 999999 v]\ngo to [front v] layer\nhide variable [level v]\nset volume to (0) %\ngo to x: (0) y: (0)\nshow\nwait (0.5) seconds\nset volume to (100) %\nhide\n\nwhen flag clicked\nhide\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen I receive [level 999999 v]\nset [marks remain v] to [6]\nset [seconds test v] to [2.3]\nhide\nset [mark location v] to [0]\nwait (1.5) seconds\nset [ghost v] effect to (100)\nset [mark location v] to (pick random (1) to (5))\nshow\nif <(Mark Location) = [1]> then\n    go to x: (-136) y: (46)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    broadcast (CHOMP v)\nelse\n    if <(Mark Location) = [2]> then\n        go to x: (118) y: (46)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        broadcast (CHOMP v)\n    else\n        if <(Mark Location) = [3]> then\n            go to x: (-2) y: (-33)\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n            broadcast (CHOMP v)\n        else\n            if <(Mark Location) = [4]> then\n                go to x: (-2) y: (124)\n                repeat (10)\n                    change [ghost v] effect by (-10)\n                end\n                broadcast (CHOMP v)\n            else\n                if <(Mark Location) = [5]> then\n                    go to x: (0) y: (39)\n                    repeat (10)\n                        change [ghost v] effect by (-10)\n                    end\n                    broadcast (CHOMP v)\n                end\n            end\n        end\n    end\nend\n\nshow\n\nset [ghost v] effect to (0)\n\nwhen I receive [out of bounds v]\nif <(Marks Remain) > [0]> then\n    set [ghost v] effect to (100)\n    set [mark location v] to (pick random (1) to (5))\n    show\n    if <(Mark Location) = [1]> then\n        go to x: (-136) y: (46)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        broadcast (CHOMP v)\n    else\n        if <(Mark Location) = [2]> then\n            go to x: (118) y: (46)\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n            broadcast (CHOMP v)\n        else\n            if <(Mark Location) = [3]> then\n                go to x: (-2) y: (-33)\n                repeat (10)\n                    change [ghost v] effect by (-10)\n                end\n                broadcast (CHOMP v)\n            else\n                if <(Mark Location) = [4]> then\n                    go to x: (-2) y: (124)\n                    repeat (10)\n                        change [ghost v] effect by (-10)\n                    end\n                    broadcast (CHOMP v)\n                else\n                    if <(Mark Location) = [5]> then\n                        go to x: (0) y: (39)\n                        repeat (10)\n                            change [ghost v] effect by (-10)\n                        end\n                        broadcast (CHOMP v)\n                    end\n                end\n            end\n        end\n    end\nelse\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    wait (1.5) seconds\n    broadcast (Lava Flow v)\nend\n\n@Sprite15\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [lava flow v]\ngo to [back v] layer\nhide\ngo to x: (-150) y: (-27)\nset [ghost v] effect to (50)\nwait (0.5) seconds\nshow\nrepeat (5)\n    set [ghost v] effect to (50)\n    repeat (5)\n        change [ghost v] effect by (10)\n    end\n    change [ghost v] effect by (-50)\n    repeat (5)\n        change [ghost v] effect by (10)\n    end\n    change x by (83)\n    wait (1) seconds\nend\n\nbroadcast (Lava Flow v)\n\n@Sprite16\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [lava flow v]\ngo to [back v] layer\nhide\ngo to x: (-150) y: (-27)\nwait (1) seconds\nshow\nrepeat (5)\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    change x by (83)\n    wait (0.7) seconds\nend\nbroadcast (Fireballs Again v)\n\n@Sprite14\n\nwhen flag clicked\ngo to x: (-10) y: (10)\nhide\n\nwhen I receive [level 999999 v]\ngo to [back v] layer\nshow\nwait (4) seconds\ngo to [front v] layer\n\nwhen I receive [fireballs again v]\ngo to [back v] layer\n\nwhen I receive [level 150 pt 2 v]\nhide\n\n@Sprite17\n\nwhen flag clicked\nhide\n\nwhen I receive [exit 999999 v]\nset [ghost v] effect to (100)\nwait (1) seconds\nshow\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nbroadcast (Level 150 pt 2 v)\nrepeat (4)\n    change [ghost v] effect by (25)\nend\n\nwhen I receive [dead v]\nwait (5) seconds\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nbroadcast (END! v)\nrepeat (4)\n    change [ghost v] effect by (25)\nend\n\n@Sprite18\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [level 151! v]\ngo to x: (-2) y: (-80)\nshow\nwait until <touching (  v)?>\nswitch costume to (costume2 v)\nwait (0.1) seconds\nswitch costume to (costume1 v)\nhide\nwait (1) seconds\nbroadcast (Dead v)\n\n