Night Light || A platformer #games #game #all || A Mobile platformer


@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [boss fight time? v] to [no]\nrepeat until <(Boss fight time?) = [yes]>\n    play sound [TheFatRat - Xenogenesis v] until done\nend\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        stop all sounds\n        wait (.5) seconds\n        forever\n            play sound [Megalovania v] until done\n        end\n    end\nend\n\n@player\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [no]> then\n        if <<(x position) > [220]> and <(blink thing) = [0]>> then\n            broadcast (NEXT LEVEL v)\n            set [xv v] to [0]\n            set [yv v] to [0]\n            go to x: (-193) y: (-50)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [lvl start v]\ngo to x: (-193) y: (-50)\n\nwhen I receive [next level v]\ngo to x: (-193) y: (-50)\nchange [level v] by (1)\n\ndefine die\nset [no clone v] to [1]\nset [blink thing v] to [0]\nbroadcast (blink v)\nset [yv v] to [18]\nrepeat until <(y position) < [-180]>\n    go to [front v] layer\n    change [yv v] by (-1)\n    change y by (Yv)\nend\nset [no clone v] to [0]\nset [blink thing v] to [1]\n\nwhen I receive [blink v]\nif <not <(Level) = [11]>> then\n    repeat until <(blink thing) = [1]>\n        set [brightness v] effect to (0)\n        wait (.2) seconds\n        set [brightness v] effect to (100)\n        wait (.2) seconds\n    end\n    set [brightness v] effect to (0)\n    set [blink thing v] to [0]\nelse\n    set [immortality? v] to [1]\n    repeat (3)\n        set [brightness v] effect to (0)\n        wait (.2) seconds\n        set [brightness v] effect to (100)\n        wait (.2) seconds\n    end\n    set [brightness v] effect to (0)\n    set [immortality? v] to [0]\nend\n\nwhen flag clicked\nset [hp v] to [3]\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [start v]\nset [yv v] to [0]\nset [xv v] to [0]\nset [no clone v] to [0]\nswitch costume to (central v)\nshow\ngo to x: (-193) y: (-50)\ngo to [front v] layer\nset [brightness v] effect to (0)\nset [immortality? v] to [0]\nforever\n    go to [front v] layer\n    go [backward v] (4) layers\n    if <(go now?) = [1]> then\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [xv v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            change [xv v] by (-1)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n            change y by (1)\n            if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n                change y by (1)\n                if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n                    change y by (1)\n                    if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n                        change y by (1)\n                        if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n                            change y by (1)\n                            if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n                                change x by ((Xv) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\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 [13]\n                                else\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [yv v] by (-1)\n        change y by (Yv)\n        if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <<touching (ground v)?> or <touching (moving platforms v)?>> then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n        if <(Boss defeated!!!) = [1]> then\n            hide\n            stop [other scripts in sprite v]\n            stop [this script v]\n        end\n        if <(Level) = [11]> then\n            set [boss fight time? v] to [yes]\n        end\n        if <<<touching (particles v)?> or <<touching (poison ball v)?> or <<touching (sharp toxic stuff v)?> or <touching (boss acid v)?>>>> and <(immortality?) = [0]>> then\n            change [hp v] by (-1)\n            broadcast (blink v)\n            set [immortality? v] to [1]\n        end\n        if <touching (speed boost right v)?> then\n            set [xv v] to [20]\n        end\n        if <touching (speed boost left v)?> then\n            set [xv v] to [-20]\n        end\n        if <touching (trampolines v)?> then\n            set [yv v] to [20]\n        end\n        if <<touching (acid v)?> or <<touching (spikes v)?> or <<touching (crushers v)?> or <<touching (saws v)?> or <touching (gas minions v)?>>>>> then\n            die\n            go to x: (-193) y: (-50)\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n        if <touching (note v)?> then\n            set [player touching note? v] to [1]\n        else\n            set [player touching note? v] to [0]\n        end\n        if <key (any v) pressed?> then\n            if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                    switch costume to (left up v)\n                else\n                    switch costume to (left v)\n                end\n            end\n            if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                    switch costume to (right up v)\n                else\n                    switch costume to (right v)\n                end\n            end\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                if <not <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n                    switch costume to (central up v)\n                end\n            end\n        else\n            switch costume to (central v)\n        end\n    end\nend\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\nwhen I receive [hideeeee v]\nhide\nforever\n    if <<(Level) = [11]> and <(Boss defeated!!!) = [0]>> then\n        show\n    end\nend\n\n@ground\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [hideeeee v]\nhide\nforever\n    if <<(Level) = [11]> and <(Boss defeated!!!) = [0]>> then\n        show\n        if <mouse down?> then\n            hide\n        end\n    end\n    if <<(Level) = [11]> and <(Boss defeated!!!) = [1]>> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@deco\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        broadcast (hideeeee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@note\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        broadcast (hideeeee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@text\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [level v] to [1]\nshow\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (10))\n    go to [front v] layer\n    go [backward v] (5) layers\n    if <(Player touching note?) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (100)\n    end\n    if <(Level) = [11]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        broadcast (hideeeee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@acid\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (10))\n    go to [back v] layer\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        broadcast (hideeeee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@trail\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (100) %\nshow\nrepeat (10)\n    change size by (-1)\n    change [ghost v] effect by (10)\n    if <touching (moving platforms v)?> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [start v]\nset [no clone v] to [0]\nforever\n    if <(no clone) = [0]> then\n        go to [back v] layer\n        go [forward v] (18) layers\n        go to (player v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [hideeeee v]\nforever\n    hide\n    if <<(Level) = [11]> and <(Boss defeated!!!) = [0]>> then\n        forever\n            show\n        end\n    end\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\n@spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Boss fight time?) = [yes]> then\n        broadcast (hideeeee v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@trampolines\n\nwhen flag clicked\nhide\ngo to x: (50000000) y: (50000000)\nset size to (90) %\n\ndefine insert clone at (x) (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (costume1 v)\n    if <touching (player v)?> then\n        repeat (2)\n            next costume\n            wait (.05) seconds\n        end\n        repeat (2)\n            switch costume to ((costume [number v]) - (1))\n            wait (.05) seconds\n        end\n    end\n    if <<(Level) = [1]> or <<(Level) = [2]> or <<(Level) = [4]> or <<(Level) = [6]> or <(Level) = [11]>>>>> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [1]> then\n        delete this clone\n    end\n    if <(Level) = [2]> then\n        delete this clone\n    end\n    if <(Level) = [3]> then\n        insert clone at [-111] [-65]\n        wait until <(Level) = [4]>\n    end\n    if <(Level) = [4]> then\n        delete this clone\n    end\n    if <(Level) = [5]> then\n        insert clone at [-212] [33]\n        wait until <(Level) = [6]>\n    end\n    if <(Level) = [6]> then\n        delete this clone\n    end\n    if <(Level) = [7]> then\n        delete this clone\n    end\n    if <(Level) = [8]> then\n        delete this clone\n    end\n    if <(Level) = [9]> then\n        delete this clone\n    end\n    if <(Level) = [10]> then\n        insert clone at [15] [13]\n        wait until <(Level) = [11]>\n    end\n    if <(Level) = [11]> then\n        delete this clone\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@crushers\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I start as a clone\nshow\nif <(Level) = [3]> then\n    forever\n        repeat (20)\n            change y by (5)\n            detect lvl [3]\n        end\n        detect lvl [3]\n        wait (.5) seconds\n        detect lvl [3]\n        repeat (20)\n            change y by (-5)\n            detect lvl [3]\n        end\n        detect lvl [3]\n        wait (.5) seconds\n        detect lvl [3]\n    end\nend\nif <(Level) = [5]> then\n    forever\n        repeat (20)\n            change y by (-4)\n            detect lvl [5]\n        end\n        detect lvl [5]\n        wait (.5) seconds\n        detect lvl [5]\n        repeat (20)\n            change y by (4)\n            detect lvl [5]\n        end\n        detect lvl [5]\n        wait (.5) seconds\n        detect lvl [5]\n    end\nend\nif <(Level) = [9]> then\n    forever\n        show\n        repeat (25)\n            change y by (4)\n            detect lvl [9]\n        end\n        hide\n        detect lvl [9]\n        wait (.5) seconds\n        detect lvl [9]\n        show\n        repeat (22)\n            change y by (-4)\n            detect lvl [9]\n        end\n        detect lvl [9]\n        wait (.5) seconds\n        detect lvl [9]\n    end\nend\n\ndefine detect lvl (level number)\nif <not <(Level) = (level number)>> then\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [1]> then\n        delete this clone\n    end\n    if <(Level) = [2]> then\n        delete this clone\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [4]>\n    end\n    if <(Level) = [4]> then\n        delete this clone\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [6]>\n    end\n    if <(Level) = [6]> then\n        delete this clone\n    end\n    if <(Level) = [7]> then\n        delete this clone\n    end\n    if <(Level) = [8]> then\n        delete this clone\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [10]>\n    end\n    if <(Level) = [11]> then\n        delete this clone\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@speed boost right\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@saws\n\nwhen flag clicked\nhide\ngo to x: (50000000) y: (50000000)\nset size to (100) %\nforever\n    if <(Level) = [1]> then\n        delete this clone\n    end\n    if <(Level) = [2]> then\n        delete this clone\n    end\n    if <(Level) = [3]> then\n        delete this clone\n    end\n    if <(Level) = [4]> then\n        insert clone at [-43] [70]\n        wait until <(Level) = [5]>\n    end\n    if <(Level) = [5]> then\n        delete this clone\n    end\n    if <(Level) = [6]> then\n        insert clone at [-30] [-9]\n        wait until <(Level) = [7]>\n    end\n    if <(Level) = [7]> then\n        delete this clone\n    end\n    if <(Level) = [8]> then\n        delete this clone\n    end\n    if <(Level) = [9]> then\n        delete this clone\n    end\n    if <(Level) = [10]> then\n        insert clone at [-80] [-87]\n        wait until <(Level) = [11]>\n    end\n    if <(Level) = [11]> then\n        delete this clone\n    end\nend\n\ndefine insert clone at (x) (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    if <<(Level) = [1]> or <<(Level) = [2]> or <<(Level) = [3]> or <<(Level) = [5]> or <<(Level) = [7]> or <(Level) = [11]>>>>>> then\n        delete this clone\n    end\n    turn right (5) degrees\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@moving platforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    if <(Level) = [1]> then\n        delete this clone\n    end\n    if <(Level) = [2]> then\n        delete this clone\n    end\n    if <(Level) = [3]> then\n        delete this clone\n    end\n    if <(Level) = [4]> then\n        delete this clone\n    end\n    if <(Level) = [5]> then\n        delete this clone\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [7]>\n    end\n    if <<(Level) > [7]> or <(Level) = [7]>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nif <(Level) = [6]> then\n    show\n    forever\n        repeat (20)\n            change y by (5)\n            detect lvl [6]\n        end\n        detect lvl [6]\n        wait (.5) seconds\n        detect lvl [6]\n        repeat (20)\n            change y by (-5)\n            detect lvl [6]\n        end\n        detect lvl [6]\n        wait (.5) seconds\n        detect lvl [6]\n    end\nend\n\ndefine detect lvl (level number)\nif <not <(Level) = (level number)>> then\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@Skip\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [mouse touching skip? v] to [1]\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n        if <mouse down?> then\n            broadcast (NEXT LEVEL v)\n            set [mouse touching skip? v] to [0]\n            wait (.2) seconds\n            wait until <(skip wait) = [0]>\n        end\n    else\n        set [mouse touching skip? v] to [0]\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [start v]\nshow\ngo to x: (-202) y: (-143)\nforever\n    point in direction ((([sin v] of ((timer) * (100)) ) * (10)) + (90))\n    go to [front v] layer\n    go [backward v] (4) layers\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@gas minions\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset size to (50) %\nforever\n    if <(Level) = [1]> then\n        delete this clone\n    end\n    if <(Level) = [2]> then\n        delete this clone\n    end\n    if <(Level) = [3]> then\n        delete this clone\n    end\n    if <(Level) = [4]> then\n        delete this clone\n    end\n    if <(Level) = [5]> then\n        delete this clone\n    end\n    if <(Level) = [6]> then\n        delete this clone\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [8]>\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [9]>\n    end\n    if <(Level) = [9]> then\n        delete this clone\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume9 v)\n        create clone of (_myself_ v)\n        wait until <(Level) = [11]>\n    end\n    if <(Level) = [11]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nif <(Level) = [7]> then\n    show\n    forever\n        repeat (25)\n            change x by (3)\n            detect lvl [7]\n        end\n        detect lvl [7]\n        wait (.5) seconds\n        detect lvl [7]\n        repeat (25)\n            change x by (-3)\n            detect lvl [7]\n        end\n        detect lvl [7]\n        wait (.5) seconds\n        detect lvl [7]\n    end\nend\nif <(Level) = [8]> then\n    show\n    forever\n        repeat (25)\n            change x by (3)\n            detect lvl [8]\n        end\n        detect lvl [8]\n        wait (.5) seconds\n        detect lvl [8]\n        repeat (25)\n            change x by (-3)\n            detect lvl [8]\n        end\n        detect lvl [8]\n        wait (.5) seconds\n        detect lvl [8]\n    end\nend\nif <(Level) = [10]> then\n    show\n    forever\n        repeat (25)\n            change x by (3)\n            detect lvl [10]\n        end\n        detect lvl [10]\n        wait (.5) seconds\n        detect lvl [10]\n        repeat (25)\n            change x by (-3)\n            detect lvl [10]\n        end\n        detect lvl [10]\n        wait (.5) seconds\n        detect lvl [10]\n    end\nend\n\ndefine detect lvl (level number)\nif <not <(Level) = (level number)>> then\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@Word thingies\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    go to (mouse-pointer v)\n    set [ghost v] effect to (50)\n    go to [front v] layer\n    go [backward v] (3) layers\n    if <(mouse touching skip?) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@banner\n\nwhen flag clicked\nhide\nset [go now? v] to [1]\nset [skip wait v] to [0]\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next level v]\nif <not <(Level) = [11]>> then\n    set [skip wait v] to [1]\n    set [go now? v] to [0]\n    show\n    go to x: (-500) y: (0)\n    set [next level xv v] to [50]\n    repeat (100)\n        change x by (NEXT LEVEL Xv)\n        set [next level xv v] to ((NEXT LEVEL Xv) * (.9))\n    end\n    set [next level xv v] to [50]\n    set [go now? v] to [1]\n    repeat (120)\n        change x by (NEXT LEVEL Xv)\n        set [next level xv v] to ((NEXT LEVEL Xv) * (.9))\n        if <(x position) > [490]> then\n            hide\n            set [skip wait v] to [0]\n            stop [this script v]\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [hideeeee v]\nhide\n\n@speed boost left\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [hideeeee v]\nhide\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(Level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(Level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(Level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(Level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(Level) = [8]> then\n        switch costume to (costume8 v)\n    end\n    if <(Level) = [9]> then\n        switch costume to (costume9 v)\n    end\n    if <(Level) = [10]> then\n        switch costume to (costume10 v)\n    end\n    if <(Level) = [11]> then\n        switch costume to (costume11 v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [go menu v]\nshow\nswitch costume to (costume1 v)\nforever\n    go to [back v] layer\n    repeat (7)\n        next costume\n        wait (.02) seconds\n    end\n    wait (.08) seconds\n    repeat (7)\n        switch costume to ((costume [number v]) - (1))\n        wait (.02) seconds\n    end\n    wait (.08) seconds\nend\n\nwhen I receive [start v]\nhide\n\n@fet gas monster\n\nwhen flag clicked\nhide\nset [boss defeated!!! v] to [0]\nset [level v] to [1]\nset [boss fight time? v] to [no]\nforever\n    if <(Boss fight time?) = [yes]> then\n        go to x: (86) y: (98)\n        show\n        set [ghost v] effect to (100)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n        wait (1) seconds\n        broadcast (MWAHAHAHAHAHA v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [atttaacckkkk v]\nrepeat until <(Boss defeated!!!) = [1]>\n    wait (pick random (1.5) to (4.1)) seconds\n    set [what attack? v] to (pick random (1) to (3))\n    if <(what attack?) = [1]> then\n        broadcast (poison ball v)\n    end\n    if <(what attack?) = [2]> then\n        broadcast (sharp toxic stuffs v)\n    end\n    if <(what attack?) = [3]> then\n        broadcast (acid v)\n    end\nend\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [you lose :\(\(\( v]\nset [no clone v] to [1]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [atttaacckkkk v]\nwait (40) seconds\nbroadcast (oh no oh no oh nonononono v)\nset [boss defeated!!! v] to [1]\nset [no clone v] to [1]\nstop [other scripts in sprite v]\nhide\n\n@the mwhahahaha\n\nwhen I receive [mwahahahahaha v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nwait (5) seconds\nswitch costume to (costume2 v)\nwait (4) seconds\nswitch costume to (costume3 v)\nwait (3) seconds\nhide\nbroadcast (ATTTAACCKKKK v)\n\nwhen flag clicked\nhide\n\n@poison ball\n\nwhen flag clicked\nhide\n\nwhen I receive [poison ball v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to x: (102) y: (144)\npoint towards (player v)\nrepeat until <<touching (player v)?> or <<touching (ground v)?> or <touching (_edge_ v)?>>>\n    move (10) steps\nend\ndelete this clone\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\n@HP\n\nwhen flag clicked\nhide\nswitch costume to (3 hearts v)\nforever\n    if <(Boss fight time?) = [yes]> then\n        go to x: (0) y: (0)\n        show\n        if <(HP) = [3]> then\n            switch costume to (3 hearts v)\n        end\n        if <(HP) = [2]> then\n            switch costume to (2 hearts v)\n        end\n        if <(HP) = [1]> then\n            switch costume to (1 heart :\( v)\n        end\n        if <(HP) = [0]> then\n            broadcast (you lose :\(\(\( v)\n        end\n    end\nend\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\n@sharp toxic stuff\n\nwhen flag clicked\nhide\n\nwhen I receive [sharp toxic stuffs v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to x: (([x position v] of [player v]) + (pick random (-150) to (150))) y: (148)\nrepeat until <<touching (player v)?> or <touching (ground v)?>>\n    change y by (-15)\nend\ndelete this clone\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\n@boss acid\n\nwhen flag clicked\nhide\n\nwhen I receive [acid v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to x: (110) y: (57)\nset [acid yv v] to [15]\nrepeat until <<touching (ground v)?> or <touching (player v)?>>\n    go to [front v] layer\n    change [acid yv v] by (-1)\n    change y by (acid yv)\n    change x by (pick random (-1) to (-3))\nend\nset [acid x v] to (x position)\nset [acid y v] to (y position)\nbroadcast (particles v)\ndelete this clone\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\n@particles\n\nwhen I start as a clone\ngo to [front v] layer\npoint in direction (pick random (-180) to (180))\nset size to (pick random (75) to (150)) %\ngo to x: (acid x) y: (acid y)\nset [brightness v] effect to (pick random (-30) to (50))\nset [ghost v] effect to (pick random (0) to (40))\nset [i v] to (pick random (5) to (9))\nset [v v] to (pick random (10) to (12))\nshow\nrepeat until <touching (_edge_ v)?>\n    change y by (i)\n    move (v) steps\n    set [v v] to ((v) * (0.95))\n    change [i v] by (-0.4)\nend\ndelete this clone\n\ndefine Particles\nhide\nswitch costume to (particle  v)\nrepeat (10)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [particles v]\nParticles\n\nwhen I receive [oh no oh no oh nonononono v]\nhide\n\nwhen I receive [you lose :\(\(\( v]\nhide\n\n@victory\n\nwhen flag clicked\nhide\nset [boss defeated!!! v] to [0]\nset [level v] to [1]\nset [boss fight time? v] to [no]\n\nwhen I receive [oh no oh no oh nonononono v]\nshow\nswitch costume to (costume1 v)\nwait (3) seconds\nbroadcast (transition v)\nnext costume\nwait (3) seconds\nrepeat (50)\n    go to x: (pick random (-10) to (10)) y: (pick random (-10) to (10))\nend\nbroadcast (transition v)\ngo to x: (0) y: (0)\nnext costume\nwait (5) seconds\nbroadcast (transition v)\nnext costume\nwait (5) seconds\nbroadcast (transition v)\nnext costume\nwait (5) seconds\nbroadcast (transition v)\nnext costume\nwait (5) seconds\nbroadcast (transition v)\nnext costume\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (10))\nend\n\nwhen I receive [you lose :\(\(\( v]\nstop [other scripts in sprite v]\nforever\n    hide\nend\n\nwhen I receive [oh no oh no oh nonononono v]\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\n    if <mouse down?> then\n        broadcast (hideeeee v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transition v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@TB\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\n@Intro\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\npoint in direction (90)\nclear graphic effects\nset size to (100) %\nhide\nset [___intro v] to [1]\ngo to x: (200) y: (0)\nrepeat (6)\n    switch costume to (filter back v)\n    create clone of (_myself_ v)\n    change x by (-80)\n    wait (0.05) seconds\nend\ngo to x: (-200) y: (0)\nrepeat (6)\n    switch costume to (filter blue v)\n    create clone of (_myself_ v)\n    change x by (80)\n    wait (0.05) seconds\nend\ngo to x: (200) y: (0)\nrepeat (6)\n    switch costume to (filter white v)\n    create clone of (_myself_ v)\n    change x by (-80)\n    wait (0.05) seconds\nend\nset [___intro v] to [2]\nswitch costume to (background v)\ncreate clone of (_myself_ v)\nParticles\nswitch costume to (logo\(pt 1\) v)\ncreate clone of (_myself_ v)\nswitch costume to (logo pt 3 v)\ncreate clone of (_myself_ v)\nswitch costume to (logo\(pt 2\) v)\ncreate clone of (_myself_ v)\nwait (2) seconds\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nswitch costume to (letter s v)\nset [___intro v] to [4]\nset [x v] to [-140]\nrepeat (11)\n    create clone of (_myself_ v)\n    next costume\n    change [x v] by (35)\n    wait (0.05) seconds\nend\nwait (3) seconds\nswitch costume to (end2 v)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\nend\nwait (1) seconds\nbroadcast (go menu v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    point in direction (90)\n    set size to (0) %\n    show\n    set [ghost v] effect to (100)\n    repeat (35)\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    point in direction (90)\n    set size to (0) %\n    show\n    set [brightness v] effect to (0)\n    repeat (35)\n        change size by (((100) - (size)) / (5))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set [brightness v] effect to (0)\n    set y to (1000)\n    show\n    repeat (30)\n        change y by (((0) - (y position)) / (5))\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Logo\(pt 1\)]> then\n    point in direction (90)\n    set size to (0) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (0) y: (0)\n    show\n    repeat (30)\n        change size by (((100) - (size)) / (5))\n    end\n    wait until <(___Intro) = [3]>\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Logo pt 3]> then\n    point in direction (90)\n    set size to (0) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (-100) y: (0)\n    show\n    repeat (30)\n        change x by (((0) - (x position)) / (5))\n        set y to (0)\n        change size by (((100) - (size)) / (5))\n    end\n    wait (1) seconds\n    set [___intro v] to [3]\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Logo\(pt 2\)]> then\n    point in direction (90)\n    set size to (0) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (100) y: (0)\n    show\n    repeat (30)\n        change x by (((0) - (x position)) / (5))\n        change size by (((100) - (size)) / (5))\n    end\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Logo]> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (0) y: (0)\n    show\n    wait (0.2) seconds\n    repeat (30)\n        change y by (((50) - (y position)) / (5))\n        point in direction ((90) + ((6) * ([tan v] of ((timer) * (100)) )))\n        change size by (((80) - (size)) / (5))\n    end\n    repeat until <(___Intro) = [5]>\n        point in direction ((90) + ((6) * ([tan v] of ((timer) * (100)) )))\n    end\n    repeat (10)\n        change y by (((-180) - (y position)) / (4))\n        change size by (((20) - (size)) / (5))\n        change [ghost v] effect by (10)\n        turn right ((join [-] ((direction) / (3))) / (10)) degrees\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) > [7]> and <[19] > (costume [number v])>> then\n    show\n    set size to (0) %\n    point in direction (90)\n    repeat (30)\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((-120) - (y position)) / (5))\n        change size by (((130) - (size)) / (5))\n        change x by (((x) - (x position)) / (5))\n    end\n    wait (2) seconds\n    repeat (30)\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((180) - (y position)) / (5))\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Background]> then\n    point in direction (90)\n    show\n    set [ghost v] effect to (100)\n    set y to (0)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) > [7]> and <[19] > (costume [number v])>> then\n    wait (4) seconds\n    set [___intro v] to [5]\nend\n\nwhen I start as a clone\nif <<(costume [name v]) = [end3]> or <<(costume [name v]) = [end1]> or <(costume [name v]) = [end2]>>> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (-5000) y: (0)\n    repeat until <(x position) = [0]>\n        change x by (((0) - (x position)) / (5))\n    end\nend\n\nwhen I start as a clone\nif <<(costume [name v]) = [end3]> or <<(costume [name v]) = [end1]> or <(costume [name v]) = [end2]>>> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set [brightness v] effect to (0)\n    set y to (0)\n    go to x: (-5000) y: (0)\n    repeat until <(x position) = [0]>\n        change x by (((0) - (x position)) / (5))\n    end\nend\n\nwhen flag clicked\nstart sound [Ping! v]\n\nwhen I receive [go menu v]\nstop all sounds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [19]> then\n    go to [front v] layer\n    point in direction (pick random (-180) to (180))\n    set size to (pick random (75) to (150)) %\n    go to x: (0) y: (0)\n    set [brightness v] effect to (pick random (-30) to (50))\n    set [ghost v] effect to (pick random (0) to (40))\n    set [i v] to (pick random (5) to (9))\n    set [v v] to (pick random (10) to (12))\n    show\n    repeat until <touching (_edge_ v)?>\n        change y by (i)\n        move (v) steps\n        set [v v] to ((v) * (0.95))\n        change [i v] by (-0.4)\n    end\n    delete this clone\nend\n\ndefine Particles\nhide\nswitch costume to (particle  v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\ncreate clone of (_myself_ v)\n\n@menu\n\nwhen flag clicked\nhide\n\nwhen I receive [go menu v]\ngo to x: (0) y: (0)\nshow\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (10))\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [120]>\n            change size by (5)\n        end\n        if <mouse down?> then\n            broadcast (start v)\n            hide\n        end\n    else\n        repeat until <(size) = [100]>\n            change size by (-5)\n        end\n    end\nend\n\n@lose\n\nwhen flag clicked\nhide\n\nwhen I receive [you lose :\(\(\( v]\nbroadcast (transition v)\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\n\n@variable reset\n\nwhen flag clicked\nset [no clone v] to [0]\nset [level v] to [1]\nset [level2 v] to [1]\nset [immortality? v] to [0]\nset [boss fight time? v] to [no]\nset [boss defeated!!! v] to [0]\nset [mouse touching skip? v] to [0]\nset [skip wait v] to [0]\ngo to x: (0) y: (0)\nforever\n    if <<(Level) > (Level2)> or <(Level) = (Level2)>> then\n        set [level2 v] to (Level)\n    end\n    set [level v] to (Level2)\nend\n\n