The Game(Platformer) Mobile Friendly

Instructions: The Instructions Are In The Game.

@Stage\n\nwhen flag clicked\nswitch backdrop to (bg v)\nset [stage v] to [1]\nset [player v] to [1]\nset [shop v] to [No]\nset [music v] to [Yes]\n\nset [coin v] to [26]\nset [level1 v] to [No]\nset [level2 v] to [No]\n\nwhen [m v] key pressed\n\nset [mouse v] to (join (mouse x) (join [,] (mouse y)))\n\nwhen I receive [menu v]\nforever\n    play sound [Cool BG Music v] until done\nend\n\nwhen I receive [play v]\nstop [other scripts in sprite v]\nforever\n    if <(Level) = [71]> then\n        wait (5) seconds\n        broadcast (Stop v)\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\n@Blank\n\n@Player\n\nwhen I receive [play v]\nbroadcast (Create Clones v)\nbroadcast (CreateClones v)\nbroadcast (Play Game v) and wait\n\nwhen I receive [green flag v]\nhide\ngo to [back v] layer\ngo [forward v] (5) layers\n\ndefine Game On\nset [x v] to [-200]\nset [y v] to [-139]\nset [sy v] to [0]\nset [sx v] to [0]\nset [in air v] to [0]\nset [falling? v] to [10]\nset [exit v] to []\npoint in direction (90)\nshow\n\nwhen I receive [play game v]\nforever\n    Game On\n    repeat until <(Exit) > []>\n        Tick\n    end\n    Game-Die\nend\n\ndefine Tick\nif <(Shop) = [No]> then\n    switch costume to (hitbox v)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [sx v] by (-1.5)\n    else\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            change [sx v] by (1.5)\n        else\n            set [frames v] to [0]\n        end\n    end\n    set [sx v] to ((sx) * (0.8))\n    if <([abs v] of (sx) ) > [0.9]> then\n        Change Player x by (round (sx))\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        if <<(jump key) = [0]> and <(falling?) < [3]>> then\n            if <<(in air) < [4]> and <not <touching (trampoline hitbox v)?>>> then\n                set [sy v] to [14]\n                set [falling? v] to [6]\n                set [jump key v] to [1]\n            end\n        end\n    else\n        set [jump key v] to [0]\n    end\n    change [sy v] by (-1)\n    Change Player y by (sy)\n    Set Costume\n    Test Die\n    Position\n    if <(y) < [-180]> then\n        set [exit v] to [Die]\n    end\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nchange [falling? v] by (1)\nPosition\nrepeat until <not <touching (platform v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n        set [falling? v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\nchange [frames v] by (0.5)\n\ndefine Position\ngo to x: (x) y: (y)\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platform v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <touching (platform v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game-Die\nset [skip v] to [No]\nset [exit v] to []\nrepeat (2)\n    hide\n    wait (0.05) seconds\n    show\n    wait (0.5) seconds\nend\nhide\nwait (1) seconds\nbroadcast (DeleteClones v)\nbroadcast (CreateClones v)\nset [skip v] to [Yes]\n\ndefine Test Die\nif <<touching (danger v)?> or <touching (enemy v)?>> then\n    set [exit v] to [Die]\nend\n\ndefine Set Costume\nif <(falling?) < [6]> then\n    if <(Player) = [1]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (stand2 v)\n                else\n                    switch costume to (stand v)\n                end\n            else\n                switch costume to (stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((71) + ((frames) mod (8))) )\n                else\n                    switch costume to ([floor v] of ((4) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((4) + ((frames) mod (8))) )\n            end\n        end\n    end\n    if <(Player) = [2]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (max stand2 v)\n                else\n                    switch costume to (max stand v)\n                end\n            else\n                switch costume to (max stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((82) + ((frames) mod (8))) )\n                else\n                    switch costume to ([floor v] of ((16) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((16) + ((frames) mod (8))) )\n            end\n        end\n    end\n    if <(Player) = [3]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (kofi stand2 v)\n                else\n                    switch costume to (kofi stand v)\n                end\n            else\n                switch costume to (kofi stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((93) + ((frames) mod (7))) )\n                else\n                    switch costume to ([floor v] of ((27) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((27) + ((frames) mod (8))) )\n            end\n        end\n    end\n    if <(Player) = [4]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (dora stand2 v)\n                else\n                    switch costume to (dora stand v)\n                end\n            else\n                switch costume to (dora stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((103) + ((frames) mod (8))) )\n                else\n                    switch costume to ([floor v] of ((38) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((38) + ((frames) mod (8))) )\n            end\n        end\n    end\n    if <(Player) = [5]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (akua stand2 v)\n                else\n                    switch costume to (akua stand v)\n                end\n            else\n                switch costume to (akua stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((114) + ((frames) mod (8))) )\n                else\n                    switch costume to ([floor v] of ((49) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((49) + ((frames) mod (8))) )\n            end\n        end\n    end\n    if <(Player) = [6]> then\n        if <<(frames) = [0.5]> or <(frames) = [0]>> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (eve stand2 v)\n                else\n                    switch costume to (eve stand v)\n                end\n            else\n                switch costume to (eve stand v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to ([floor v] of ((125) + ((frames) mod (8))) )\n                else\n                    switch costume to ([floor v] of ((60) + ((frames) mod (8))) )\n                end\n            else\n                switch costume to ([floor v] of ((60) + ((frames) mod (8))) )\n            end\n        end\n    end\nelse\n    if <(Player) = [1]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (jump2 v)\n                else\n                    switch costume to (jump v)\n                end\n            else\n                switch costume to (jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (fall2 v)\n                else\n                    switch costume to (fall v)\n                end\n            else\n                switch costume to (fall v)\n            end\n        end\n    end\n    if <(Player) = [2]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (max jump2 v)\n                else\n                    switch costume to (max jump v)\n                end\n            else\n                switch costume to (max jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (max fall2 v)\n                else\n                    switch costume to (max fall v)\n                end\n            else\n                switch costume to (max fall v)\n            end\n        end\n    end\n    if <(Player) = [3]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (kofi jump2 v)\n                else\n                    switch costume to (kofi jump v)\n                end\n            else\n                switch costume to (kofi jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (kofi fall2 v)\n                else\n                    switch costume to (kofi fall v)\n                end\n            else\n                switch costume to (kofi fall v)\n            end\n        end\n    end\n    if <(Player) = [4]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (dora jump2 v)\n                else\n                    switch costume to (dora jump v)\n                end\n            else\n                switch costume to (dora jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (dora fall2 v)\n                else\n                    switch costume to (dora fall v)\n                end\n            else\n                switch costume to (dora fall v)\n            end\n        end\n    end\n    if <(Player) = [5]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (akua jump2 v)\n                else\n                    switch costume to (akua jump v)\n                end\n            else\n                switch costume to (akua jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (akua fall2 v)\n                else\n                    switch costume to (akua fall v)\n                end\n            else\n                switch costume to (akua fall v)\n            end\n        end\n    end\n    if <(Player) = [6]> then\n        if <(sy) > [0]> then\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (eve jump2 v)\n                else\n                    switch costume to (eve jump v)\n                end\n            else\n                switch costume to (eve jump v)\n            end\n        else\n            if <<<(Level) = [20]> and <<(x position) = [40]> or <(x position) > [40]>>> or <<(Stage) = [2]> or <(Stage) = [3]>>> then\n                if <not <<<<(Stage) = [3]> and <(x position) > [28]>> and <(Level) = [70]>> or <(Level) = [71]>>> then\n                    switch costume to (eve fall2 v)\n                else\n                    switch costume to (eve fall v)\n                end\n            else\n                switch costume to (eve fall v)\n            end\n        end\n    end\nend\n\nwhen I receive [play game v]\nforever\n    if <<(x position) > [239]> and <not <(Level) = [71]>>> then\n        change [level v] by (1)\n        broadcast (Delete Clones v)\n        broadcast (DeleteClones v)\n        broadcast (Create Clones v)\n        broadcast (CreateClones v)\n        Game On\n        wait (1) seconds\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <touching (trampoline hitbox v)?> then\n        set [in air v] to [5]\n        set [sy v] to [20]\n    end\nend\n\nwhen I receive [skip v]\nGame On\nchange [level v] by (1)\nbroadcast (Delete Clones v)\nbroadcast (DeleteClones v)\nbroadcast (Create Clones v)\nbroadcast (CreateClones v)\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play game v]\nforever\n    if <<<(Level) = [21]> and <(Stage) = [1]>> or <<(Level) = [51]> and <(Stage) = [2]>>> then\n        broadcast (Completed v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [play v]\nset [skip v] to [Yes]\ngo to [back v] layer\ngo [forward v] (6) layers\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\n\n@Platform\n\nwhen I receive [play v]\ngo to [back v] layer\ngo [forward v] (2) layers\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Coins\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [create clones v]\nif <(Level) = [1]> then\n    Clone at x: [-60] y: [-48]\n    Clone at x: [-32] y: [-84]\n    Clone at x: [-94] y: [-84]\nend\nif <(Level) = [2]> then\n    Clone at x: [-31] y: [-13]\n    Clone at x: [12] y: [3]\n    Clone at x: [59] y: [5]\nend\nif <(Level) = [3]> then\n    Clone at x: [-5] y: [-7]\n    Clone at x: [-144] y: [-112]\n    Clone at x: [-120] y: [-112]\n    Clone at x: [-97] y: [-112]\n    Clone at x: [-74] y: [-112]\nend\nif <(Level) = [4]> then\n    Clone at x: [-174] y: [66]\n    Clone at x: [-152] y: [66]\n    Clone at x: [-130] y: [66]\n    Clone at x: [-108] y: [66]\n    Clone at x: [-85] y: [66]\nend\nif <(Level) = [5]> then\n    Clone at x: [-144] y: [-60]\n    Clone at x: [-144] y: [-35]\n    Clone at x: [-144] y: [-84]\n    Clone at x: [35] y: [-88]\n    Clone at x: [168] y: [-26]\n    Clone at x: [197] y: [-26]\n    Clone at x: [224] y: [-26]\nend\nif <(Level) = [6]> then\n    Clone at x: [-14] y: [35]\n    Clone at x: [-14] y: [6]\n    Clone at x: [-14] y: [-26]\n    Clone at x: [-14] y: [-58]\n    Clone at x: [8] y: [35]\n    Clone at x: [8] y: [6]\n    Clone at x: [8] y: [-26]\n    Clone at x: [8] y: [-58]\nend\nif <(Level) = [7]> then\n    Clone at x: [-14] y: [35]\n    Clone at x: [-14] y: [6]\n    Clone at x: [-14] y: [-26]\n    Clone at x: [-14] y: [-58]\n    Clone at x: [8] y: [35]\n    Clone at x: [8] y: [6]\n    Clone at x: [8] y: [-26]\n    Clone at x: [8] y: [-58]\n    Clone at x: [-38] y: [-58]\n    Clone at x: [-60] y: [-58]\n    Clone at x: [32] y: [-58]\n    Clone at x: [58] y: [-58]\nend\nif <(Level) = [8]> then\n    Clone at x: [-22] y: [-107]\n    Clone at x: [-2] y: [-107]\n    Clone at x: [18] y: [-107]\n    Clone at x: [38] y: [-107]\n    Clone at x: [-15] y: [-15]\n    Clone at x: [8] y: [-15]\nend\nif <(Level) = [9]> then\n    Clone at x: [-59] y: [-39]\n    Clone at x: [7] y: [-95]\n    Clone at x: [44] y: [-36]\nend\nif <(Level) = [10]> then\n    Clone at x: [-145] y: [118]\n    Clone at x: [-145] y: [95]\n    Clone at x: [-145] y: [70]\n    Clone at x: [-145] y: [48]\n    Clone at x: [-145] y: [26]\n    Clone at x: [-145] y: [2]\nend\nif <(Level) = [11]> then\n    Clone at x: [-26] y: [-92]\n    Clone at x: [-26] y: [-61]\n    Clone at x: [81] y: [-92]\n    Clone at x: [81] y: [-61]\nend\nif <(Level) = [12]> then\n    Clone at x: [-76] y: [17]\n    Clone at x: [-76] y: [-5]\n    Clone at x: [-76] y: [-52]\n    Clone at x: [-76] y: [-28]\nend\nif <(Level) = [13]> then\n    Clone at x: [-117] y: [-44]\n    Clone at x: [116] y: [10]\nend\nif <(Level) = [14]> then\n    Clone at x: [-80] y: [-50]\n    Clone at x: [58] y: [-2]\nend\nif <(Level) = [17]> then\n    Clone at x: [108] y: [-33]\n    Clone at x: [108] y: [-57]\n    Clone at x: [108] y: [-82]\n    Clone at x: [108] y: [-107]\nend\nif <(Level) = [19]> then\n    Clone at x: [137] y: [63]\n    Clone at x: [137] y: [90]\nend\nif <(Level) = [20]> then\n    Clone at x: [-77] y: [-18]\n    Clone at x: [-77] y: [-85]\n    Clone at x: [-77] y: [-52]\n    Clone at x: [-113] y: [-52]\n    Clone at x: [-113] y: [-85]\n    Clone at x: [-113] y: [-18]\n    Clone at x: [-40] y: [-52]\n    Clone at x: [-40] y: [-85]\n    Clone at x: [-40] y: [-18]\nend\nif <(Level) = [22]> then\n    Clone at x: [-92] y: [-65]\n    Clone at x: [60] y: [-65]\n    Clone at x: [-60] y: [-65]\n    Clone at x: [92] y: [-65]\n    Clone at x: [-32] y: [-65]\n    Clone at x: [32] y: [-65]\n    Clone at x: [-3] y: [-65]\n    Clone at x: [122] y: [-65]\nend\nif <(Level) = [23]> then\n    Clone at x: [-116] y: [2]\n    Clone at x: [-116] y: [-52]\n    Clone at x: [-116] y: [-26]\n    Clone at x: [68] y: [-57]\n    Clone at x: [68] y: [-83]\n    Clone at x: [68] y: [-110]\nend\nif <(Level) = [24]> then\n    Clone at x: [-32] y: [-15]\n    Clone at x: [52] y: [-15]\n    Clone at x: [131] y: [-15]\nend\nif <(Level) = [25]> then\n    Clone at x: [51] y: [-15]\n    Clone at x: [51] y: [-45]\n    Clone at x: [51] y: [-73]\nend\nif <(Level) = [26]> then\n    Clone at x: [-100] y: [-54]\n    Clone at x: [-78] y: [-54]\n    Clone at x: [43] y: [-92]\n    Clone at x: [200] y: [-38]\n    Clone at x: [200] y: [-71]\nend\nif <(Level) = [27]> then\n    Clone at x: [125] y: [-102]\n    Clone at x: [162] y: [-102]\n    Clone at x: [203] y: [-102]\nend\nif <(Level) = [28]> then\n    Clone at x: [226] y: [0]\n    Clone at x: [49] y: [-70]\n    Clone at x: [-36] y: [-110]\n    Clone at x: [139] y: [-34]\nend\nif <(Level) = [29]> then\n    Clone at x: [-92] y: [-65]\n    Clone at x: [60] y: [-65]\n    Clone at x: [-60] y: [-65]\n    Clone at x: [92] y: [-65]\n    Clone at x: [-32] y: [-65]\n    Clone at x: [32] y: [-65]\n    Clone at x: [-3] y: [-65]\n    Clone at x: [122] y: [-65]\n    Clone at x: [-92] y: [-98]\n    Clone at x: [60] y: [-98]\n    Clone at x: [-60] y: [-98]\n    Clone at x: [92] y: [-98]\n    Clone at x: [-32] y: [-98]\n    Clone at x: [32] y: [-98]\n    Clone at x: [-3] y: [-98]\n    Clone at x: [122] y: [-98]\n    Clone at x: [-92] y: [-31]\n    Clone at x: [60] y: [-31]\n    Clone at x: [-60] y: [-31]\n    Clone at x: [92] y: [-31]\n    Clone at x: [-32] y: [-31]\n    Clone at x: [32] y: [-31]\n    Clone at x: [-3] y: [-31]\n    Clone at x: [122] y: [-31]\n    Clone at x: [150] y: [-31]\n    Clone at x: [150] y: [-65]\n    Clone at x: [150] y: [-98]\n    Clone at x: [-120] y: [-31]\n    Clone at x: [-120] y: [-65]\n    Clone at x: [-120] y: [-98]\nend\nif <(Level) = [30]> then\n    Clone at x: [-11] y: [-106]\n    Clone at x: [119] y: [-106]\n    Clone at x: [-11] y: [-67]\n    Clone at x: [119] y: [-67]\nend\nif <(Level) = [32]> then\n    Clone at x: [8] y: [-90]\n    Clone at x: [183] y: [-109]\nend\nif <(Level) = [33]> then\n    Clone at x: [-74] y: [-60]\n    Clone at x: [-74] y: [-25]\n    Clone at x: [70] y: [-60]\n    Clone at x: [70] y: [-25]\nend\nif <(Level) = [34]> then\n    Clone at x: [-109] y: [-105]\n    Clone at x: [-47] y: [-105]\n    Clone at x: [13] y: [-105]\n    Clone at x: [72] y: [-105]\n    Clone at x: [137] y: [-105]\n    Clone at x: [-109] y: [-70]\n    Clone at x: [-47] y: [-70]\n    Clone at x: [13] y: [-70]\n    Clone at x: [72] y: [-70]\n    Clone at x: [137] y: [-70]\nend\nif <(Level) = [35]> then\n    Clone at x: [-11] y: [-112]\n    Clone at x: [25] y: [-112]\n    Clone at x: [6] y: [-81]\nend\nif <(Level) = [36]> then\n    Clone at x: [-210] y: [-8]\n    Clone at x: [-175] y: [-8]\n    Clone at x: [-137] y: [-8]\n    Clone at x: [-98] y: [-8]\n    Clone at x: [-64] y: [-8]\n    Clone at x: [-29] y: [-8]\n    Clone at x: [8] y: [-8]\n    Clone at x: [48] y: [-8]\n    Clone at x: [85] y: [-8]\n    Clone at x: [-25] y: [-108]\n    Clone at x: [101] y: [-108]\n    Clone at x: [-64] y: [87]\n    Clone at x: [-96] y: [87]\n    Clone at x: [-29] y: [87]\n    Clone at x: [4] y: [87]\n    Clone at x: [38] y: [87]\n    Clone at x: [70] y: [87]\n    Clone at x: [103] y: [87]\n    Clone at x: [165] y: [87]\n    Clone at x: [134] y: [87]\n    Clone at x: [199] y: [87]\nend\nif <(Level) = [37]> then\n    Clone at x: [-25] y: [-63]\n    Clone at x: [-25] y: [-8]\n    Clone at x: [75] y: [-8]\n    Clone at x: [191] y: [71]\nend\nif <(Level) = [38]> then\n    Clone at x: [-28] y: [-109]\n    Clone at x: [-28] y: [-71]\n    Clone at x: [113] y: [-71]\n    Clone at x: [113] y: [-34]\nend\nif <(Level) = [39]> then\n    Clone at x: [-7] y: [-108]\n    Clone at x: [-7] y: [-72]\nend\nif <(Level) = [42]> then\n    Clone at x: [-92] y: [-65]\n    Clone at x: [60] y: [-65]\n    Clone at x: [-60] y: [-65]\n    Clone at x: [92] y: [-65]\n    Clone at x: [-32] y: [-65]\n    Clone at x: [32] y: [-65]\n    Clone at x: [-3] y: [-65]\n    Clone at x: [122] y: [-65]\n    Clone at x: [-92] y: [-98]\n    Clone at x: [60] y: [-98]\n    Clone at x: [-60] y: [-98]\n    Clone at x: [92] y: [-98]\n    Clone at x: [-32] y: [-98]\n    Clone at x: [32] y: [-98]\n    Clone at x: [-3] y: [-98]\n    Clone at x: [122] y: [-98]\n    Clone at x: [-92] y: [-31]\n    Clone at x: [60] y: [-31]\n    Clone at x: [-60] y: [-31]\n    Clone at x: [92] y: [-31]\n    Clone at x: [-32] y: [-31]\n    Clone at x: [32] y: [-31]\n    Clone at x: [-3] y: [-31]\n    Clone at x: [122] y: [-31]\n    Clone at x: [150] y: [-31]\n    Clone at x: [150] y: [-65]\n    Clone at x: [150] y: [-98]\nend\nif <(Level) = [45]> then\n    Clone at x: [-19] y: [69]\n    Clone at x: [28] y: [69]\n    Clone at x: [-63] y: [69]\n    Clone at x: [-108] y: [69]\n    Clone at x: [74] y: [69]\n    Clone at x: [119] y: [69]\n    Clone at x: [166] y: [69]\nend\nif <(Level) = [46]> then\n    Clone at x: [1] y: [-60]\n    Clone at x: [101] y: [-16]\nend\nif <(Level) = [48]> then\n    Clone at x: [-92] y: [-65]\n    Clone at x: [60] y: [-65]\n    Clone at x: [-60] y: [-65]\n    Clone at x: [92] y: [-65]\n    Clone at x: [-32] y: [-65]\n    Clone at x: [32] y: [-65]\n    Clone at x: [-3] y: [-65]\n    Clone at x: [122] y: [-65]\n    Clone at x: [-92] y: [-98]\n    Clone at x: [60] y: [-98]\n    Clone at x: [-60] y: [-98]\n    Clone at x: [92] y: [-98]\n    Clone at x: [-32] y: [-98]\n    Clone at x: [32] y: [-98]\n    Clone at x: [-3] y: [-98]\n    Clone at x: [122] y: [-98]\n    Clone at x: [-92] y: [-31]\n    Clone at x: [60] y: [-31]\n    Clone at x: [-60] y: [-31]\n    Clone at x: [92] y: [-31]\n    Clone at x: [-32] y: [-31]\n    Clone at x: [32] y: [-31]\n    Clone at x: [-3] y: [-31]\n    Clone at x: [122] y: [-31]\nend\nif <(Level) = [52]> then\n    Clone at x: [-61] y: [-68]\n    Clone at x: [-32] y: [-68]\n    Clone at x: [-3] y: [-68]\n    Clone at x: [27] y: [-68]\n    Clone at x: [56] y: [-68]\nend\nif <(Level) = [53]> then\n    Clone at x: [-86] y: [-48]\n    Clone at x: [89] y: [-48]\n    Clone at x: [-1] y: [21]\nend\nif <(Level) = [54]> then\n    Clone at x: [3] y: [-54]\n    Clone at x: [-84] y: [-54]\n    Clone at x: [-58] y: [-54]\n    Clone at x: [-27] y: [-54]\n    Clone at x: [84] y: [9]\n    Clone at x: [31] y: [9]\n    Clone at x: [56] y: [9]\nend\nif <(Level) = [55]> then\n    Clone at x: [-73] y: [-1]\n    Clone at x: [-73] y: [-31]\n    Clone at x: [-73] y: [-60]\n    Clone at x: [122] y: [-1]\n    Clone at x: [122] y: [-31]\n    Clone at x: [122] y: [-60]\n    Clone at x: [161] y: [-1]\n    Clone at x: [161] y: [-31]\n    Clone at x: [161] y: [-60]\n    Clone at x: [199] y: [-1]\n    Clone at x: [199] y: [-31]\n    Clone at x: [199] y: [-60]\nend\nif <(Level) = [56]> then\n    Clone at x: [-56] y: [-61]\n    Clone at x: [37] y: [-19]\n    Clone at x: [123] y: [24]\nend\nif <(Level) = [57]> then\n    Clone at x: [31] y: [40]\n    Clone at x: [54] y: [40]\n    Clone at x: [-133] y: [-14]\n    Clone at x: [-20] y: [40]\n    Clone at x: [6] y: [40]\nend\nif <(Level) = [58]> then\n    Clone at x: [-35] y: [-89]\n    Clone at x: [-6] y: [-89]\n    Clone at x: [20] y: [-89]\n    Clone at x: [48] y: [-89]\n    Clone at x: [160] y: [-89]\n    Clone at x: [76] y: [-89]\n    Clone at x: [132] y: [-89]\n    Clone at x: [192] y: [-89]\n    Clone at x: [104] y: [-89]\nend\nif <(Level) = [59]> then\n    Clone at x: [-93] y: [103]\n    Clone at x: [-39] y: [103]\n    Clone at x: [-66] y: [103]\n    Clone at x: [-9] y: [103]\n    Clone at x: [-24] y: [-36]\n    Clone at x: [34] y: [32]\n    Clone at x: [58] y: [32]\n    Clone at x: [103] y: [32]\n    Clone at x: [80] y: [32]\n    Clone at x: [126] y: [32]\nend\nif <(Level) = [62]> then\n    Clone at x: [-181] y: [-16]\n    Clone at x: [-151] y: [-16]\n    Clone at x: [-121] y: [84]\n    Clone at x: [-93] y: [84]\n    Clone at x: [-66] y: [84]\nend\nif <(Level) = [65]> then\n    Clone at x: [-49] y: [-60]\n    Clone at x: [36] y: [-60]\n    Clone at x: [-49] y: [-22]\n    Clone at x: [36] y: [-22]\nend\nif <(Level) = [69]> then\n    Clone at x: [-92] y: [-65]\n    Clone at x: [60] y: [-65]\n    Clone at x: [-60] y: [-65]\n    Clone at x: [92] y: [-65]\n    Clone at x: [-32] y: [-65]\n    Clone at x: [32] y: [-65]\n    Clone at x: [-3] y: [-65]\n    Clone at x: [122] y: [-65]\n    Clone at x: [-92] y: [-98]\n    Clone at x: [60] y: [-98]\n    Clone at x: [-60] y: [-98]\n    Clone at x: [92] y: [-98]\n    Clone at x: [-32] y: [-98]\n    Clone at x: [32] y: [-98]\n    Clone at x: [-3] y: [-98]\n    Clone at x: [122] y: [-98]\n    Clone at x: [-92] y: [-31]\n    Clone at x: [60] y: [-31]\n    Clone at x: [-60] y: [-31]\n    Clone at x: [92] y: [-31]\n    Clone at x: [-32] y: [-31]\n    Clone at x: [32] y: [-31]\n    Clone at x: [-3] y: [-31]\n    Clone at x: [122] y: [-31]\nend\n\nwhen I receive [delete clones v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    go [forward v] (4) layers\n    set x to (x)\n    set y to (y)\n    if <touching (player v)?> then\n        if <(Music) = [Yes]> then\n            if <(costume [number v]) = [1]> then\n                start sound [collect v]\n            end\n        end\n        if <(costume [number v]) = [1]> then\n            change [coin v] by (1)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nif <(Level) = [27]> then\n    Clone at x: [125] y: [-102]\n    Clone at x: [162] y: [-102]\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Danger\n\nwhen I receive [play game v]\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nforever\n    switch costume to (Level)\n    set size to (110) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    if <not <<(Level) = [11]> or <<(Level) = [13]> or <<(Level) = [18]> or <<(Level) = [35]> or <(Level) = [61]>>>>>> then\n        show\n    else\n        hide\n    end\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (costume)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nforever\n    if <(Shop) = [No]> then\n        set size to (90) %\n        if <(Stage) = [1]> then\n            switch costume to (saw v)\n        else\n            switch costume to (level 2 14 v)\n        end\n        set x to (x)\n        set y to (y)\n        turn right (8) degrees\n    end\nend\n\nwhen I receive [delete clones v]\n\nwhen I receive [create clones v]\nif <(Level) = [11]> then\n    Clone at x: [27] y: [-90]\n    Clone at x: [138] y: [-90]\n    Clone at x: [-77] y: [-90]\nend\nif <(Level) = [13]> then\n    Clone at x: [0] y: [-30]\nend\nif <(Level) = [18]> then\n    Clone at x: [-102] y: [-60]\n    Clone at x: [138] y: [-60]\nend\nif <(Level) = [35]> then\n    Clone at x: [-51] y: [-126]\n    Clone at x: [74] y: [-126]\n    Clone at x: [0] y: [0]\nend\nif <(Level) = [61]> then\n    Clone at x: [-45] y: [-91]\nend\n\nwhen I receive [delete clones v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Enemy\n\ndefine clone at x: (x) y: (y) speed: (speed) size: (size) costume: (costume) Fish (yes/no)\nset size to (size) %\nswitch costume to (costume)\ngo to x: (x) y: (y)\nset [x v] to (speed)\nset [fish v] to (yes/no)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (3) layers\nshow\nforever\n    if <not <(fish) = [Yes]>> then\n        if <(Shop) = [No]> then\n            point in direction (90)\n            Physics\n        end\n    end\nend\n\ndefine Physics\nchange x by (x)\nchange [y v] by (-1)\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (1)\nend\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    change y by (-6)\n    repeat until <not <<touching (platform v)?> or <touching (_edge_ v)?>>>\n        change x by ((([abs v] of (x) ) / (x)) * (-1))\n    end\n    set [x v] to ((0) - (x))\nend\nchange y by (y)\nif <<touching (platform v)?> or <touching (_edge_ v)?>> then\n    repeat until <not <<touching (platform v)?> or <touching (_edge_ v)?>>>\n        change y by ((([abs v] of (y) ) / (y)) * (-1))\n    end\n    if <<(costume [number v]) = [2]> or <(costume [number v]) = [7]>> then\n        set [y v] to [16]\n    else\n        set [y v] to [0]\n    end\nend\n\nwhen I receive [createclones v]\nif <(Level) = [15]> then\n    clone at x: [0] y: [-117] speed: [2] size: [50] costume: [1] Fish [No]\nend\nif <(Level) = [16]> then\n    clone at x: [193] y: [-21] speed: [2] size: [50] costume: [1] Fish [No]\n    clone at x: [222] y: [-21] speed: [2] size: [50] costume: [2] Fish [No]\nend\nif <(Level) = [17]> then\n    clone at x: [4] y: [-170] speed: [2] size: [50] costume: [4] Fish [Yes]\nend\nif <(Level) = [18]> then\n    clone at x: [220] y: [-115] speed: [4] size: [50] costume: [3] Fish [No]\n    clone at x: [151] y: [-115] speed: [2] size: [50] costume: [1] Fish [No]\nend\nif <(Level) = [19]> then\n    clone at x: [-108] y: [-42] speed: [2] size: [50] costume: [2] Fish [No]\n    clone at x: [121] y: [-115] speed: [2] size: [50] costume: [2] Fish [No]\nend\nif <(Level) = [31]> then\n    clone at x: [196] y: [-98] speed: [3] size: [50] costume: [7] Fish [No]\nend\nif <(Level) = [40]> then\n    clone at x: [196] y: [-98] speed: [3] size: [50] costume: [7] Fish [No]\n    clone at x: [28] y: [-98] speed: [3] size: [50] costume: [7] Fish [No]\nend\nif <(Level) = [41]> then\n    clone at x: [34] y: [-31] speed: [3] size: [50] costume: [9] Fish [No]\n    clone at x: [-52] y: [-31] speed: [5] size: [50] costume: [8] Fish [No]\n    clone at x: [76] y: [-98] speed: [3] size: [50] costume: [9] Fish [No]\nend\nif <(Level) = [43]> then\n    clone at x: [210] y: [-57] speed: [3] size: [50] costume: [7] Fish [No]\nend\nif <(Level) = [58]> then\n    clone at x: [-37] y: [-110] speed: [3] size: [50] costume: [9] Fish [No]\nend\nif <(Level) = [60]> then\n    clone at x: [210] y: [-57] speed: [4] size: [50] costume: [7] Fish [No]\n    clone at x: [-12] y: [-57] speed: [4] size: [50] costume: [7] Fish [No]\nend\nif <(Level) = [61]> then\n    clone at x: [192] y: [-108] speed: [5] size: [50] costume: [7] Fish [No]\nend\nif <(Level) = [64]> then\n    clone at x: [100] y: [-120] speed: [6] size: [50] costume: [8] Fish [No]\n    clone at x: [192] y: [-108] speed: [5] size: [50] costume: [7] Fish [No]\nend\n\nwhen I receive [deleteclones v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    if <<touching (danger v)?> and <not <(fish) = [Yes]>>> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(fish) = [Yes]> then\n        go to [back v] layer\n        if <(Shop) = [No]> then\n            point in direction (0)\n            glide (0.8) secs to x: (x) y: (2)\n            point in direction (180)\n            glide (0.8) secs to x: (x) y: (-180)\n            point in direction (0)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(fish) = [Yes]> then\n        switch costume to (4 v)\n        wait (0.1) seconds\n        switch costume to (5 v)\n        wait (0.1) seconds\n        switch costume to (6 v)\n        wait (0.1) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Decorations\n\nwhen I receive [play v]\nshow\nforever\n    go to [back v] layer\n    go to x: (0) y: (0)\n    switch costume to ((Level) + (2))\n    go to [back v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nshow\nforever\n    go to [back v] layer\n    go to x: (0) y: (0)\n    switch costume to (menu v)\nend\n\nwhen I receive [level v]\nshow\nstop [other scripts in sprite v]\nforever\n    switch costume to (menu2 v)\n    go to [back v] layer\n    go to x: (0) y: (0)\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Text\n\nwhen I receive [play v]\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nforever\n    set size to (30) %\n    go to x: (((digits) * (12)) + (178)) y: (150)\n    if <(length of (Coin)) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (Coin))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        delete this clone\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Buttons\n\nwhen I receive [play v]\ngo to [back v] layer\ngo [forward v] (7) layers\nwait (0.05) seconds\ncreate clone of (_myself_ v)\nshow\nforever\n    go to x: (-192) y: (-160)\n    switch costume to (shop v)\n    if <(Shop) = [No]> then\n        broadcast (No Shop v)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                set [shop v] to [Yes]\n                set [page v] to [1]\n                wait until <not <mouse down?>>\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: (185) y: (-160)\n    switch costume to (skip v)\n    if <touching (mouse-pointer v)?> then\n        if <(Shop) = [No]> then\n            if <(Skip) = [Yes]> then\n                if <not <(Level) = [71]>> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <<(Coin) = [5]> or <(Coin) > [5]>> then\n                            if <(Music) = [Yes]> then\n                                start sound [Finger Snap v]\n                            end\n                            change [coin v] by (-5)\n                            broadcast (Skip v)\n                            wait until <not <mouse down?>>\n                        end\n                    end\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\ngo to [back v] layer\ngo [forward v] (7) layers\nset [screen v] to [1]\nshow\nforever\n    set x to (-192)\n    switch costume to (shop v)\n    if <(Shop) = [No]> then\n        broadcast (No Shop v)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(Level) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                set [shop v] to [Yes]\n                set [page v] to [1]\n                wait until <not <mouse down?>>\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [menu v]\nset y to (240)\nset [y v] to [0]\nforever\n    change [y v] by (-2)\n    change y by (y)\n    if <(y position) < [-160]> then\n        set [y v] to ((y) / (-2))\n        set y to (-160)\n    end\nend\n\nwhen I receive [play v]\nshow\ngo to [back v] layer\ngo [forward v] (7) layers\nforever\n    go to x: (-192) y: (-160)\n    switch costume to (shop v)\n    if <(Shop) = [No]> then\n        broadcast (No Shop v)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(Level) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                set [shop v] to [Yes]\n                set [page v] to [1]\n                wait until <not <mouse down?>>\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [level v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Shop\n\nwhen I receive [no shop v]\nforever\n    if <(Shop) = [Yes]> then\n        broadcast (Shop v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nset [page v] to [1]\ngo to [back v] layer\ngo [forward v] (9) layers\nforever\n    go to x: (2) y: (-4)\n    switch costume to (Page)\n    if <(Shop) = [Yes]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Health\n\nwhen I receive [play v]\nshow\ngo to [back v] layer\ngo [forward v] (7) layers\nforever\n    go to x: (-30) y: (20)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (close v)\n    go to [front v] layer\n    if <(Shop) = [Noo]> then\n        go to x: (165) y: (130)\n    end\n    if <(Shop) = [Noo]> then\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                set [shop v] to [No]\n                wait until <not <mouse down?>>\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        delete this clone\n    end\nend\n\nwhen I receive [help v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    if <(Shop) = [No]> then\n        delete this clone\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@ Arrows\n\nwhen I receive [menu v]\nset [page v] to [1]\nforever\n    switch costume to (page 1 v)\n    go to x: (2) y: (-4)\n    go to [front v] layer\n    if <(Shop) = [Yes]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                broadcast (No Shop v)\n                broadcast (Shop v)\n                change [page v] by (1)\n                if <(Page) > [3]> then\n                    set [page v] to [1]\n                end\n                wait until <not <mouse down?>>\n            end\n        end\n    else\n        go to [front v] layer\n        hide\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (close v)\n    go to [front v] layer\n    go to x: (140) y: (134)\n    if <(Shop) = [Yes]> then\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                set [shop v] to [No]\n                wait until <not <mouse down?>>\n            end\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        delete this clone\n    end\nend\n\nwhen I receive [shop v]\nforever\n    create clone of (_myself_ v)\n    stop [this script v]\nend\n\nwhen I receive [no shop v]\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Buy/Use\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    if <(clone#) = [1]> then\n        go to x: (-15) y: (-10)\n        if <(Player) = [1]> then\n            switch costume to (using v)\n        else\n            switch costume to (use v)\n            if <touching (mouse-pointer v)?> then\n                set [ghost v] effect to (20)\n                if <mouse down?> then\n                    set [player v] to [1]\n                    wait until <not <mouse down?>>\n                end\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    end\n    if <(clone#) = [2]> then\n        go to x: (-15) y: (-115)\n        if <(Player2Bought) = [Yes]> then\n            if <<(Player2Bought) = [Yes]> and <(Player) = [2]>> then\n                switch costume to (using v)\n            else\n                switch costume to (use v)\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [2]\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        else\n            switch costume to (buy v)\n            if <touching (mouse-pointer v)?> then\n                set [ghost v] effect to (20)\n                if <mouse down?> then\n                    if <<<(Page) = [1]> and <(clone#) = [2]>> and <(Player2Bought) = [No]>> then\n                        if <<(Coin) = [30]> or <(Coin) > [30]>> then\n                            if <(Music) = [Yes]> then\n                                start sound [Finger Snap v]\n                            end\n                            set [player v] to [2]\n                            change [coin v] by (-30)\n                            set [player2bought v] to [Yes]\n                            wait until <not <mouse down?>>\n                        end\n                    end\n                end\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    end\nend\n\nwhen I receive [shop v]\nif <(Page) = [1]> then\n    set [clone# v] to [1]\n    create clone of (_myself_ v)\n    set [clone# v] to [2]\n    create clone of (_myself_ v)\nend\nif <(Page) = [2]> then\n    set [clone# v] to [3]\n    create clone of (_myself_ v)\n    set [clone# v] to [4]\n    create clone of (_myself_ v)\nend\nif <(Page) = [3]> then\n    set [clone# v] to [5]\n    create clone of (_myself_ v)\n    set [clone# v] to [6]\n    create clone of (_myself_ v)\nend\nif <(Page) = [4]> then\n    set [clone# v] to [7]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    if <(Shop) = [No]> then\n        delete this clone\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen I receive [no shop v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    if <(clone#) = [3]> then\n        go to x: (-15) y: (-10)\n        if <(Player6Bought) = [No]> then\n            switch costume to (buy v)\n        else\n            if <<(Player6Bought) = [Yes]> and <(Player) = [6]>> then\n                switch costume to (using v)\n            else\n                switch costume to (use v)\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [6]\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        end\n    end\n    if <(clone#) = [4]> then\n        go to x: (-15) y: (-115)\n        if <(Player4Bought) = [No]> then\n            switch costume to (buy v)\n        else\n            if <<(Player4Bought) = [Yes]> and <(Player) = [4]>> then\n                switch costume to (using v)\n            else\n                switch costume to (use v)\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [4]\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (20)\n        if <mouse down?> then\n            if <<<(Page) = [2]> and <(clone#) = [3]>> and <(Player6Bought) = [No]>> then\n                if <<(Coin) = [90]> or <(Coin) > [90]>> then\n                    if <(Music) = [Yes]> then\n                        start sound [Finger Snap v]\n                    end\n                    set [player v] to [6]\n                    change [coin v] by (-90)\n                    set [player6bought v] to [Yes]\n                    wait until <not <mouse down?>>\n                end\n            else\n                if <<<(Page) = [2]> and <(clone#) = [4]>> and <(Player4Bought) = [No]>> then\n                    if <<(Coin) = [50]> or <(Coin) > [50]>> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [4]\n                        change [coin v] by (-50)\n                        set [player4bought v] to [Yes]\n                        wait until <not <mouse down?>>\n                    end\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    if <(clone#) = [5]> then\n        go to x: (-15) y: (-10)\n        if <(Player5Bought) = [No]> then\n            switch costume to (buy v)\n        else\n            if <<(Player5Bought) = [Yes]> and <(Player) = [5]>> then\n                switch costume to (using v)\n            else\n                switch costume to (use v)\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [5]\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        end\n    end\n    if <(clone#) = [6]> then\n        go to x: (-15) y: (-115)\n        if <(Player3Bought) = [No]> then\n            switch costume to (buy v)\n        else\n            if <<(Player3Bought) = [Yes]> and <(Player) = [3]>> then\n                switch costume to (using v)\n            else\n                switch costume to (use v)\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [3]\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (20)\n        if <mouse down?> then\n            if <<<(Page) = [3]> and <(clone#) = [5]>> and <(Player5Bought) = [No]>> then\n                if <<(Coin) = [80]> or <(Coin) > [80]>> then\n                    if <(Music) = [Yes]> then\n                        start sound [Finger Snap v]\n                    end\n                    set [player v] to [5]\n                    change [coin v] by (-80)\n                    set [player5bought v] to [Yes]\n                    wait until <not <mouse down?>>\n                end\n            else\n                if <<<(Page) = [3]> and <(clone#) = [6]>> and <(Player3Bought) = [No]>> then\n                    if <<(Coin) = [100]> or <(Coin) > [100]>> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        set [player v] to [3]\n                        change [coin v] by (-100)\n                        set [player3bought v] to [Yes]\n                        wait until <not <mouse down?>>\n                    end\n                end\n            end\n        end\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    if <(clone#) = [7]> then\n        go to x: (-15) y: (-10)\n        if <not <<(Health) = [5]> or <(Health) > [5]>>> then\n            switch costume to (buy v)\n            if <touching (mouse-pointer v)?> then\n                set [ghost v] effect to (20)\n                if <mouse down?> then\n                    if <<<(Coin) = [15]> or <(Coin) > [15]>> and <not <<(Health) = [5]> or <(Health) > [5]>>>> then\n                        if <(Music) = [Yes]> then\n                            start sound [Finger Snap v]\n                        end\n                        change [coin v] by (-15)\n                        change [health v] by (1)\n                        wait until <not <mouse down?>>\n                    end\n                end\n            else\n                set [ghost v] effect to (0)\n            end\n        else\n            switch costume to (full v)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen flag clicked\nset [player2bought v] to [No]\nset [player3bought v] to [No]\nset [player4bought v] to [No]\nset [player5bought v] to [No]\nset [player6bought v] to [No]\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Title\n\ndefine title | wiggle: (v) turn: (dr) d_size (ds) d_popup (ds') x: (x) y: (y) size: (s)\ngo to x: (x) y: (y)\npoint in direction (90)\nswitch costume to (title v)\nshow\ngo to [back v] layer\nset size to (110) %\nset [~angle v] to [0]\nrepeat (10)\n    set [~angle v] to (((~angle) + (v)) mod (360))\n    turn right (([sin v] of ((~angle) + (100)) ) * (dr)) degrees\n    set size to ((size) + (((s) - (size)) * (ds'))) %\nend\nforever\n    set [~angle v] to (((~angle) + (v)) mod (360))\n    turn right (([sin v] of ((~angle) + (100)) ) * (dr)) degrees\n    change size by (([sin v] of (~angle) ) * (ds))\nend\n\nwhen I receive [menu v]\ntitle | wiggle: (10) turn: (0.5) d_size (0.5) d_popup (1) x: (0) y: (40) size: (100)\n\nwhen I receive [menu v]\nset [clone# v] to [1]\ncreate clone of (_myself_ v)\nset [clone# v] to [2]\ncreate clone of (_myself_ v)\nset [clone# v] to [3]\ncreate clone of (_myself_ v)\npoint in direction (90)\nswitch costume to (title v)\nshow\ngo to x: (0) y: (230)\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    change y by (y)\n    if <(y position) < [40]> then\n        set [y v] to ((y) / (-2))\n        set y to (40)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nhide\nset size to (90) %\nif <(clone#) = [1]> then\n    set x to (-70)\n    switch costume to (start v)\nelse\n    if <(clone#) = [2]> then\n        set x to (70)\n        switch costume to (help v)\n    else\n        if <(clone#) = [3]> then\n            set x to (0)\n            if <(Music) = [Off]> then\n                switch costume to (music off v)\n            else\n                switch costume to (music on v)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Screen) = [1]> then\n    show\n    set y to (240)\n    set [clone y v] to [0]\n    point in direction (90)\n    forever\n        change [clone y v] by (-2)\n        change y by (clone y)\n        if <(y position) < [-90]> then\n            set [clone y v] to ((clone y) / (-2))\n            set y to (-90)\n            if <(Shop) = [No]> then\n                if <touching (mouse-pointer v)?> then\n                    set [ghost v] effect to (20)\n                    if <mouse down?> then\n                        start sound [Finger Snap v]\n                        if <(clone#) = [1]> then\n                            set [chooselevel v] to [1]\n                            broadcast (Level v)\n                        end\n                        if <(clone#) = [2]> then\n                            set [shop v] to [Noo]\n                            broadcast (Help v)\n                        end\n                        if <(clone#) = [3]> then\n                            if <(Music) = [Yes]> then\n                                switch costume to (music off v)\n                                set [music v] to [No]\n                            else\n                                set [music v] to [Yes]\n                                switch costume to (music on v)\n                            end\n                        end\n                        wait until <not <mouse down?>>\n                    end\n                else\n                    set [ghost v] effect to (0)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [level v]\nhide\nset [screen v] to [2]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(clone#) = [3]> then\n        if <(Music) = [Yes]> then\n            switch costume to (music on v)\n        else\n            switch costume to (music off v)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Choose Level\n\nwhen flag clicked\nhide\n\nwhen I receive [level v]\nset size to (110) %\nforever\n    go to x: (0) y: (-20)\n    if <(Screen) = [2]> then\n        show\n        if <<(Chooselevel) = [3]> and <(Level2) = [Completed]>> then\n            switch costume to (level3 v)\n        else\n            if <(Chooselevel) = [3]> then\n                switch costume to (level3locked v)\n            end\n        end\n        if <<(Chooselevel) = [2]> and <(Level1) = [Completed]>> then\n            switch costume to (level2 v)\n        else\n            if <(Chooselevel) = [2]> then\n                switch costume to (level2locked v)\n            end\n        end\n        if <(Chooselevel) = [1]> then\n            switch costume to (level1 v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [level v]\nwait (1) seconds\nforever\n    if <(Chooselevel) = [1]> then\n        switch costume to (level1 v)\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <(Chooselevel) = [1]> then\n                    set [stage v] to [1]\n                    set [level v] to [1]\n                    broadcast (Play v)\n                end\n            end\n        end\n    end\n    if <<(Chooselevel) = [2]> and <(Level1) = [Completed]>> then\n        switch costume to (level2 v)\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <<(Chooselevel) = [2]> and <(Level1) = [Completed]>> then\n                    set [stage v] to [2]\n                    set [level v] to [21]\n                    broadcast (Play v)\n                end\n            end\n        end\n    end\n    if <<(Chooselevel) = [3]> and <(Level2) = [Completed]>> then\n        switch costume to (level3 v)\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                if <<(Chooselevel) = [3]> and <(Level2) = [Completed]>> then\n                    set [level v] to [51]\n                    set [stage v] to [3]\n                    broadcast (Play v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [help v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\nforever\n    if <(Shop) = [Noo]> then\n        switch costume to (help v)\n        show\n        go to x: (0) y: (0)\n    else\n        delete this clone\n    end\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [level v]\nwait (1) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            if <(Music) = [Yes]> then\n                start sound [enter level v]\n                wait until <not <mouse down?>>\n            end\n        end\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Screen Arrow\n\nwhen I receive [level v]\nshow\ncreate clone of (_myself_ v)\nforever\n    go to x: (180) y: (-10)\n    go to [front v] layer\n    switch costume to (arrow v)\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        if <(Screen) = [2]> then\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                change [chooselevel v] by (1)\n                if <(Chooselevel) > [3]> then\n                    set [chooselevel v] to [1]\n                end\n                wait until <not <mouse down?>>\n            end\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to x: (-190) y: (150)\n    go to [front v] layer\n    switch costume to (menu v)\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n        if <(Screen) = [2]> then\n            if <mouse down?> then\n                if <(Music) = [Yes]> then\n                    start sound [Finger Snap v]\n                end\n                broadcast (Menu v)\n                delete this clone\n            end\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [play v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Intro\n\nwhen flag clicked\nset [intro v] to [Yes]\nstart sound [Zaza - Be Together v]\ngo to x: (0) y: (0)\nswitch costume to (logo v)\npoint in direction (-70)\nset [ghost v] effect to (100)\nset size to (20) %\nshow\nrepeat (17)\n    turn left (10) degrees\n    change [ghost v] effect by (-5)\n    change size by (4)\nend\nrepeat (3)\n    turn left (7.5) degrees\n    change [ghost v] effect by (-3.75)\n    change size by (3)\nend\nrepeat (1)\n    turn left (5) degrees\n    change [ghost v] effect by (-2.5)\n    change size by (2)\nend\nrepeat (1)\n    turn left (3) degrees\n    set size to (100) %\n    clear graphic effects\nend\nwait (0.5) seconds\nwait (5.5) seconds\nstart sound [car passing v]\ncreate clone of (_myself_ v)\nswitch costume to (glide v)\ngo to x: (-800) y: (0)\nglide (0.2) secs to x: (0) y: (0)\nbroadcast (del v)\nbroadcast (Intro Ended v)\nbroadcast (Menu v)\nglide (0.2) secs to x: (800) y: (0)\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait (1.7) seconds\nset [x v] to [2]\nrepeat (8)\n    wait (0.4) seconds\n    create clone of (_myself_ v)\n    change [x v] by (1)\nend\nset [x v] to [999]\n\nwhen I receive [del v]\ndelete this clone\n\nwhen I start as a clone\nif <(intro) = [Yes]> then\n    if <(x) = [999]> then\nelse\n    go to [back v] layer\n    clear graphic effects\n    set size to (110) %\n    go to x: (0) y: (0)\n    switch costume to (costume1 v)\nend\n\nwhen I receive [stop v]\ngo to x: (0) y: (-25)\nshow\nset [sine v] to [0]\nswitch costume to (logo v)\nset [intro v] to [No]\ncreate clone of (_myself_ v)\nforever\n    change [sine v] by (7.5)\n    point in direction ((([sin v] of (sine) ) * (15)) + (90))\n    set size to ((([sin v] of ((sine) * (2)) ) * (25)) + (150)) %\nend\n\nwhen I receive [stop v]\nforever\n    play sound [Outro Music v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to (80) %\nend\n\nwhen I receive [menu v]\nforever\n    if <(Music) = [Yes]> then\n        set volume to (80) %\n    else\n        set volume to (0) %\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    switch costume to ((Stage) - (1))\nend\n\nwhen I receive [completed v]\nshow\nset [shop v] to [Hmm]\nif <<(Level) = [21]> and <(Stage) = [1]>> then\n    switch costume to (2 v)\n    set [chooselevel v] to [2]\n    set [level1 v] to [Completed]\n    set [stage v] to [2]\n    if <(Music) = [Yes]> then\n        start sound [Tada v]\n    end\n    wait (2) seconds\n    broadcast (Level v)\n    hide\n    set [shop v] to [No]\nelse\n    switch costume to (1 v)\n    set [chooselevel v] to [3]\n    set [level2 v] to [Completed]\n    set [stage v] to [3]\n    if <(Level) = [Yes]> then\n        start sound [Tada v]\n    end\n    wait (2) seconds\n    broadcast (Level v)\n    hide\n    set [shop v] to [No]\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Music\n\nwhen I receive [play v]\nforever\n    if <(Music) = [Yes]> then\n        if <(Stage) = [1]> then\n            play sound [Lost Sky - Lost \[NCS Release\]\[Mpgun v] until done\n        end\n        if <(Stage) = [2]> then\n            play sound [Cleyton RX - Underwater v] until done\n        end\n        if <(Stage) = [3]> then\n            play sound [DEAF KEV - Invincible \[NCS Release\] \[Mpgun v] until done\n        end\n    end\nend\n\nwhen I receive [completed v]\nstop [other scripts in sprite v]\n\nwhen I receive [stop v]\nstop [other scripts in sprite v]\n\n@Trampoline Hitbox\n\nwhen I receive [play v]\nif <(Stage) = [3]> then\n    switch costume to (1a v)\nend\nif <(Stage) = [1]> then\n    switch costume to (1 v)\nend\nshow\nforever\n    if <touching (player v)?> then\n        if <(Music) = [Yes]> then\n            start sound [Big Boing v]\n        end\n        if <(Stage) = [3]> then\n            switch costume to (1a v)\n            repeat (6)\n                next costume\n            end\n            if <(costume [number v]) > [12]> then\n                switch costume to (1a v)\n            end\n        end\n        if <(Stage) = [1]> then\n            switch costume to (1 v)\n            repeat (6)\n                next costume\n            end\n            if <(costume [number v]) > [6]> then\n                switch costume to (1 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nforever\n    if <(Shop) = [Hmm]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [delete clones v]\ndelete this clone\n\nwhen I receive [create clones v]\nif <(Level) = [18]> then\n    Clone at x: [2] y: [-94]\nend\nif <(Level) = [67]> then\n    Clone at x: [-126] y: [-94]\n    Clone at x: [-31] y: [-94]\n    Clone at x: [61] y: [-94]\n    Clone at x: [153] y: [-94]\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nforever\n    set x to (x)\n    set y to (y)\nend\n\nwhen I receive [play v]\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <(Level) = [6]> then\n        go to x: (1) y: (-94)\n        show\n    else\n        if <(Level) = [10]> then\n            go to x: (-143) y: (-94)\n            show\n        else\n            if <(Level) = [18]> then\n                go to x: (-164) y: (-94)\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Stage) = [1]> then\n    switch costume to (1 v)\nend\nif <(Stage) = [3]> then\n    switch costume to (1a v)\nend\nshow\nforever\n    if <touching (player v)?> then\n        if <(Music) = [Yes]> then\n            start sound [Big Boing v]\n        end\n        if <(Stage) = [1]> then\n            switch costume to (1 v)\n            repeat (6)\n                next costume\n            end\n            if <(costume [number v]) > [6]> then\n                switch costume to (1 v)\n            end\n        end\n        if <(Stage) = [3]> then\n            switch costume to (1a v)\n            repeat (6)\n                next costume\n            end\n            if <(costume [number v]) > [12]> then\n                switch costume to (1a v)\n            end\n        end\n    end\nend\n\nwhen I receive [stop v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n