PICKLEMAN: Retro Style Platformer V4
@Stage\n\nwhen flag clicked\nset [shop v] to [0]\nset [magic v] to [0]\nforever\n    if <(Shop) = [0]> then\n        switch backdrop to (backdrop1 v)\n        if <(Level) = [5]> then\n            switch backdrop to (backdrop3 v)\n        end\n        if <(Level) = [7]> then\n            switch backdrop to (backdrop4 v)\n        end\n    else\n        switch backdrop to (backdrop2 v)\n    end\nend\n\nwhen flag clicked\nforever\n\n@PickleMan\n\nwhen flag clicked\nshow\nset size to (200) %\nforever\n    if <not <(Flying) = [2]>> then\n        if <<(speed y) < [4]> or <key (up arrow v) pressed?>> then\n            change [speed y v] by (-1)\n        else\n            change [speed y v] by (-2)\n        end\n        change y by (speed y)\n        Touch Ground <(speed y) > [0]>\n        if <(y position) < [-180]> then\n        if <<(Title) > [0]> and <(Full) < [9.2]>> then\n            if <(Stop) = [0]> then\n                if <key (left arrow v) pressed?> then\n                    Walk (-90) (-6)\n                else\n                    if <key (right arrow v) pressed?> then\n                        Walk (90) (6)\n                    else\n                        set [frame v] to [0]\n                    end\n                end\n            end\n        else\n            if <(wall jump) > [0]> then\n                change [wall jump v] by (-1)\n            else\n                if <(Stop) = [0]> then\n                    set [speed x v] to ((speed x) * (0.7))\n                    if <key (left arrow v) pressed?> then\n                        change [speed x v] by (-2)\n                    end\n                    if <key (right arrow v) pressed?> then\n                        change [speed x v] by (2)\n                    end\n                end\n            end\n            if <(Stop) = [0]> then\n                if <(speed x) < [-0.5]> then\n                    Walk (-90) (speed x)\n                else\n                    if <(speed x) > [0.5]> then\n                        Walk (90) (speed x)\n                    else\n                        set [frame v] to [0]\n                    end\n                end\n            end\n        end\n        if <key (up arrow v) pressed?> then\n            if <<(jump key) = [0]> and <(falling?) < [3]>> then\n                if <(Bunny) = [0]> then\n                    set [speed y v] to [16]\n                    set [falling? v] to [6]\n                    set [jump key v] to [1]\n                end\n                if <(Bunny) = [1]> then\n                    set [speed y v] to [24]\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        Set Costume\n        broadcast (tick v) and wait\n    end\nend\n\ndefine Touch Ground <up?>\nif <not <(Flying) = [2]>> then\n    change [falling? v] by (1)\n    Get Touching <not <up?>>\n    if <<(speed y) = [0]> and <(touch) = [1]>> then\n        set [in platforrm v] to [2]\n    else\n        if <(touch) = [0]> then\n            set [in platforrm v] to [1]\n        end\n    end\n    repeat until <(touch) < (in platforrm)>\n        if <up?> then\n            change y by (-1)\n        else\n            change y by (1)\n            set [falling? v] to [0]\n        end\n        set [speed y v] to [0]\n        Get Touching <not <up?>>\n    end\nend\n\ndefine Get Touching <check platform?>\nif <not <(Flying) = [2]>> then\n    if <<touching color (#000000)?> or <touching (sprite5 v)?>> then\n        set [downward v] to [0]\n        set [touch v] to [9]\n    else\n        if <<check platform?> and <touching (sprite5 v)?>> then\n            set [downward v] to [0]\n            set [touch v] to [1]\n        else\n            set [touch v] to [0]\n            set [grounded v] to [0]\n        end\n    end\nend\n\ndefine Walk (direction) (speed)\nif <not <(Flying) = [2]>> then\n    point in direction (direction)\n    change x by (speed)\n    set [slope v] to [0]\n    Get Touching <>\n    repeat until <<(slope) = [8]> or <(touch) = [0]>>\n        change y by (1)\n        change [slope v] by (1)\n        Get Touching <>\n    end\n    if <(slope) = [8]> then\n        change x by ((0) - (speed))\n        change y by ((0) - (slope))\n        if <(Full) > [11.1]> then\n            if <<key (up arrow v) pressed?> and <([abs v] of (speed) ) > [3]>> then\n                if <(wall jump) = [0]> then\n                    set [speed x v] to ((-1.2) * (speed))\n                    set [speed y v] to [12]\n                    set [falling? v] to [6]\n                    set [wall jump v] to [15]\n                end\n            else\n                set [speed x v] to [0]\n            end\n        end\n    end\n    if <<(Title) > [0]> and <(Full) < [9.3]>> then\n        change [frame v] by (0.5)\n    else\n        if <(speed) < [0]> then\n            change [frame v] by ((speed) / (-8))\n        else\n            change [frame v] by ((speed) / (8))\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    set [stage forward v] to [1]\n    show\n    go to x: (-200) y: (-98)\n    stop [this script v]\nend\n\ndefine Set Costume\n\nwhen flag clicked\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling? v] to [10]\nset [in platforrm v] to [1]\nset [frame v] to [0]\nset [wall v] to [0]\n\nwhen flag clicked\nwait (0.1) seconds\ngo to x: (-200) y: (-98)\nforever\n    if <(x position) = [240]> then\n        if <(Wall) = [0]> then\n            set [shop v] to [0]\n            change [stage forward v] by (1)\n            go to x: (-235) y: (y position)\n        end\n    end\nend\n\nwhen flag clicked\nset [health v] to [0]\ngo to [front v] layer\nhide\nset [checkpole v] to [1]\nforever\n    if <(y position) = [-187]> then\n        if <<<(Level) = [2]> and <(Stage Forward) = [11]>> or <<(Level) = [2]> and <(Stage Forward) = [12]>>> then\n            set y to (187)\n            change [stage forward v] by (1)\n        else\n            set [game over v] to [1]\n        end\n    end\n    if <(y position) = [-196]> then\n        set [game over v] to [1]\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    if <(x position) = [-240]> then\n        if <(Wall) = [0]> then\n            set [shop v] to [0]\n            if <not <(Stage Forward) = [1]>> then\n                change [stage forward v] by (-1)\n                go to x: (235) y: (y position)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        set [direction v] to [L]\n    end\n    if <key (right arrow v) pressed?> then\n        set [direction v] to [R]\n    end\nend\n\nwhen flag clicked\nset [health v] to [3]\nset [airslash v] to [0]\nset [stop v] to [0]\nhide\nforever\n    switch costume to (normal v)\n    if <(Bunny) = [1]> then\n        switch costume to (normal2 v)\n    end\n    if <not <(Flying) = [2]>> then\n        if <(Direction) = [R]> then\n            if <key (z v) pressed?> then\n                set [airslash v] to [1]\n                repeat (3)\n                    change [speed x v] by (17)\n                end\n                switch costume to (charging v)\n                wait (0.5) seconds\n                set [airslash v] to [0]\n                switch costume to (normal v)\n            end\n        end\n        if <(Direction) = [L]> then\n            if <key (z v) pressed?> then\n                set [airslash v] to [1]\n                repeat (3)\n                    change [speed x v] by (-17)\n                end\n                switch costume to (charging v)\n                wait (0.5) seconds\n                set [airslash v] to [0]\n                switch costume to (normal v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [bounce v] to [0]\nforever\n    if <(Bounce) = [1]> then\n        set [speed y v] to [24]\n        wait (0.6) seconds\n        set [bounce v] to [0]\n    end\nend\n\nwhen flag clicked\nset [bunny v] to [0]\nforever\n    if <key (down arrow v) pressed?> then\n        if <(Bounce) = [0]> then\n            set [downward v] to [1]\n            set [speed y v] to [-12]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Game Over) = [1]> then\n        wait (1) seconds\n        set [stage forward v] to (Checkpole)\n        go to x: (-200) y: (-98)\n        set [health v] to (MAX Health)\n        set [game over v] to [0]\n        set [wall v] to [0]\n    end\nend\n\nif <(Showtime) = [0]> then\n    go to x: (-200) y: (-98)\n    if <(Showtime) = [1]> then\n        wait until <(Showtime) = [0]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (speed boost v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <[0] < (Level)> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Got Hit?) = [1]> then\n        change [health v] by (-1)\n        set [ghost v] effect to (25)\n        wait (Frames) seconds\n        set [ghost v] effect to (0)\n        set [got hit? v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level Complete) = [1]> then\n        go to x: (-220) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (speed boost2 v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (leftspeed boost v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (-30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nset [wind v] to [0]\nforever\n    change x by (Wind)\nend\n\nwhen flag clicked\nset [bounce v] to [0]\nforever\n    if <(Bounce) = [2]> then\n        set [speed y v] to [30]\n        wait (0.6) seconds\n        set [bounce v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Magic) = [2]> then\n        set size to (100) %\n    else\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (speed boost3 v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (speed boost4 v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (leftspeed boost2 v)?> and <(AirSlash) = [1]>> then\n        repeat (3)\n            change x by (-30)\n            change y by (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Flying) = [2]> then\n        if <key (down arrow v) pressed?> then\n            change y by (-6)\n            if <<touching (sprite5 v)?> or <touching color (#000000)?>> then\n                change y by (6)\n            end\n        end\n        if <key (up arrow v) pressed?> then\n            change y by (6)\n            if <<touching (sprite5 v)?> or <touching color (#000000)?>> then\n                change y by (-6)\n            end\n        end\n        if <key (right arrow v) pressed?> then\n            change x by (6)\n            if <<touching (sprite5 v)?> or <touching color (#000000)?>> then\n                change x by (-6)\n            end\n        end\n        if <key (left arrow v) pressed?> then\n            change x by (-6)\n            if <<touching (sprite5 v)?> or <touching color (#000000)?>> then\n                change x by (6)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [brightness v] effect to (0)\nforever\n    if <(Flying) = [1]> then\n        if <<key (left arrow v) pressed?> and <key (right arrow v) pressed?>> then\n            set [brightness v] effect to (0)\n            set [flying v] to [2]\n            wait (5) seconds\n            set [brightness v] effect to (20)\n            set [flying v] to [1]\n            wait (5) seconds\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<not <touching (movingplatform v)?>> or <<not <touching (movingplatform2 v)?>> or <not <touching (movingplatform3 v)?>>>> then\n        set [wind v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (slashgello v)?> and <(AirSlash) = [1]>> then\n        if <(direction) = [-90]> then\n            repeat (3)\n                change x by (-30)\n                change y by (2)\n            end\n        end\n        if <(direction) = [90]> then\n            repeat (3)\n                change x by (30)\n                change y by (2)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Rainbow Slashable) = [1]> then\n        if <(direction) = [-90]> then\n            repeat (3)\n                change x by (-30)\n                change y by (2)\n            end\n            set [rainbow slashable v] to [0]\n        end\n        if <(direction) = [90]> then\n            repeat (3)\n                change x by (30)\n                change y by (2)\n            end\n            set [rainbow slashable v] to [0]\n        end\n    end\nend\n\n@Background Details\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [1]> then\n            set size to (500) %\n            switch costume to (tree v)\n            show\n            go to x: (170) y: (-190)\n        end\n        if <(Stage Forward) = [2]> then\n            hide\n        end\n        if <(Stage Forward) = [3]> then\n            set size to (500) %\n            switch costume to (tree v)\n            show\n            go to x: (-180) y: (-190)\n        end\n        if <(Stage Forward) = [4]> then\n            set size to (300) %\n            switch costume to (sign v)\n            show\n            go to x: (-150) y: (-90)\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n        if <(Stage Forward) = [7]> then\n            set size to (500) %\n            switch costume to (tree v)\n            show\n            go to x: (170) y: (-188)\n        end\n        if <(Stage Forward) = [8]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [1]> then\n            set size to (300) %\n            switch costume to (sign2 v)\n            show\n            go to x: (-30) y: (-103)\n        end\n        if <(Stage Forward) = [2]> then\n            set size to (300) %\n            switch costume to (sign3 v)\n            show\n            go to x: (100) y: (40)\n        end\n        if <(Stage Forward) = [3]> then\n            set size to (500) %\n            switch costume to (tree v)\n            show\n            go to x: (150) y: (-190)\n        end\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [1]> then\n            set size to (300) %\n            switch costume to (sign4 v)\n            show\n            go to x: (-30) y: (-103)\n        end\n        if <(Stage Forward) = [2]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [4]> then\n            set size to (300) %\n            switch costume to (sign5 v)\n            show\n            go to x: (150) y: (-103)\n        end\n        if <(Stage Forward) = [5]> then\n            set [level v] to [6]\n            set [stage forward v] to [1]\n            hide\n        end\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Background Details2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n        if <(Stage Forward) = [2]> then\n            show\n            go to x: (150) y: (-220)\n        end\n        if <(Stage Forward) = [3]> then\n            show\n            go to x: (180) y: (-220)\n        end\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n        if <(Stage Forward) = [6]> then\n            show\n            go to x: (-140) y: (-216)\n        end\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n        if <(Stage Forward) = [4]> then\n            show\n            go to x: (150) y: (-220)\n        end\n        if <(Stage Forward) = [5]> then\n            show\n            go to x: (150) y: (-90)\n        end\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Sourd\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        if <(Direction) = [R]> then\n            if <key (x v) pressed?> then\n                if <(Downward) = [0]> then\n                    if <(AirSlash) = [0]> then\n                        point in direction (-10)\n                        show\n                        repeat (8)\n                            if <(AirSlash) = [0]> then\n                                if <(Downward) = [0]> then\n                                    turn right (20) degrees\n                                end\n                            end\n                        end\n                        hide\n                        wait until <not <key (x v) pressed?>>\n                    end\n                end\n            end\n        end\n        if <(Direction) = [L]> then\n            if <key (x v) pressed?> then\n                if <(Downward) = [0]> then\n                    if <(AirSlash) = [0]> then\n                        point in direction (10)\n                        show\n                        repeat (8)\n                            if <(AirSlash) = [0]> then\n                                turn right (-20) degrees\n                            end\n                        end\n                        hide\n                        wait until <not <key (x v) pressed?>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [swordsize v] to [200]\nhide\nforever\n    go to (pickleman v)\n    set size to (SwordSize) %\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        if <(Direction) = [R]> then\n            if <key (z v) pressed?> then\n                show\n            end\n        end\n        if <(Direction) = [L]> then\n            if <key (z v) pressed?> then\n                show\n                point in direction (-90)\n                wait (0.5) seconds\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (down arrow v) pressed?> then\n        if <[0] < (Level)> then\n            show\n            point in direction (180)\n            wait until <not <key (down arrow v) pressed?>>\n            hide\n            wait (0.3) seconds\n        end\n    end\nend\n\nwait (0.3) seconds\n\nwhen flag clicked\nforever\n    if <(Direction) = [R]> then\n        if <key (z v) pressed?> then\n            show\n            point in direction (90)\n            wait (0.5) seconds\n            hide\n        end\n    end\n    if <(Direction) = [L]> then\n        if <key (z v) pressed?> then\n            show\n            point in direction (-90)\n            wait (0.5) seconds\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Flying) = [1]> then\n        change [swordsize v] by (25)\n        stop [this script v]\n    end\nend\n\n@Gello's\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (25) y: (-105)\n            repeat until <not <(Stage Forward) = [5]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [5]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        set [got hit? v] to [1]\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [9]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (50) y: (-105)\n            repeat until <not <(Stage Forward) = [8]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [8]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (25) y: (-105)\n            repeat until <not <(Stage Forward) = [10]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [10]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        show\n        if <(Health) = [6]> then\n            switch costume to (6 v)\n        end\n        if <(Health) = [5]> then\n            switch costume to (5 v)\n        end\n        if <(Health) = [4]> then\n            switch costume to (4 v)\n        end\n        if <(Health) = [3]> then\n            switch costume to (3 v)\n        end\n        if <(Health) = [2]> then\n            switch costume to (2 v)\n        end\n        if <(Health) = [1]> then\n            switch costume to (1 v)\n        end\n        if <(Health) = [0]> then\n            switch costume to (0 v)\n            wait (1) seconds\n            set [game over v] to [1]\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [level v] to [0]\nset [menu v] to [0]\nforever\n    if <(Level) < [1]> then\n        if <key (x v) pressed?> then\n            set [menu v] to [1]\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [level v] to [0]\nforever\n    if <[0] < (Level)> then\n        wait (1) seconds\n        repeat until <not <[0] < (Level)>>\n            if <(Game Over) = [1]> then\n                go to [front v] layer\n                switch costume to (game over v)\n                set [ghost v] effect to (100)\n                show\n                set [stop v] to [1]\n                repeat (10)\n                    change [ghost v] effect by (-10)\n                end\n                wait (2) seconds\n                if <<(Stage Forward) = [10]> and <(Level) = [1]>> then\n                    wait (4) seconds\n                end\n                if <<(Stage Forward) = [11]> and <(Level) = [6]>> then\n                    wait (7.5) seconds\n                end\n                if <<(Stage Forward) = [13]> and <(Level) = [7]>> then\n                    wait (11) seconds\n                end\n                repeat (10)\n                    change [ghost v] effect by (10)\n                end\n                set [stop v] to [0]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [level v] to [0]\nforever\n    if <(Game Completed) = [1]> then\n        set [ghost v] effect to (0)\n        show\n        go to [front v] layer\n        switch costume to (costume2 v)\n        wait (2) seconds\n        switch costume to (costume3 v)\n        if <(Timer) < ((☁ Speedrun Record) + (0.5))> then\n            switch costume to (costume4 v)\n            stop [all v]\n        end\n        if <<<<(Egg) = [1]> and <(Magic) = [1]>> and <(Collector Coin) = [23]>> and <(Timer) < ((☁ 100% Speedrun Record) + (2.5))>> then\n            switch costume to (costume5 v)\n            stop [all v]\n        else\n            if <(Bunny) = [1]> then\n                switch costume to (bunny v)\n                stop [all v]\n            else\n                stop [all v]\n            end\n        end\n    end\nend\n\n@Big Block\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [4]> then\n            show\n            if <touching (sourd v)?> then\n                next costume\n                if <(Downward) = [1]> then\n                    set [bounce v] to [1]\n                end\n                wait (0.3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nforever\n    if <(Stage Forward) = [4]> then\n        switch costume to (costume1 v)\n        wait until <not <(Stage Forward) = [4]>>\n    end\nend\n\n@Coins\n\nwhen flag clicked\nset [collector coin v] to [0]\nset [g v] to [0]\nhide\nforever\n    if <(Level) = [1]> then\n        set [coin screen v] to [1]\n        set [coin x v] to [-80]\n        set [coin y v] to [0]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin x v] by (40)\n        end\n        set [coin screen v] to [2]\n        set [coin x v] to [50]\n        set [coin y v] to [100]\n        repeat (5)\n            create clone of (_myself_ v)\n            change [coin x v] by (30)\n        end\n        \n    end\nend\n\nwhen I start as a clone\nset size to (200) %\ngo to x: (Coin X) y: (Coin Y)\nif <(Level) = [1]> then\n    if <(Coin Screen) = [1]> then\n        forever\n            if <(Level) = [1]> then\n                if <(Stage Forward) = [2]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\n    if <(Coin Screen) = [2]> then\n        forever\n            if <(Level) = [1]> then\n                if <(Stage Forward) = [4]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [airslash v]\nforever\n    if <[0] < (Level)> then\n        show variable [g v]\n    else\n        hide variable [g v]\n    end\nend\n\nwhen I start as a clone\nforever\n    next costume\nend\n\nwhen flag clicked\nset [g v] to [0]\nhide\nforever\n    if <(Level) = [2]> then\n        set [coin screen v] to [1]\n        set [coin x v] to [-90]\n        set [coin y v] to [80]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin x v] by (40)\n        end\n        set [coin screen v] to [2]\n        set [coin x v] to [-90]\n        set [coin y v] to [80]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin x v] by (40)\n        end\n        set [coin screen v] to [3]\n        set [coin x v] to [-32]\n        set [coin y v] to [-50]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin y v] by (50)\n        end\n        \n    end\nend\n\nwhen I start as a clone\nset size to (200) %\ngo to x: (Coin X) y: (Coin Y)\nif <(Level) = [2]> then\n    if <(Coin Screen) = [1]> then\n        forever\n            if <(Level) = [2]> then\n                if <(Stage Forward) = [2]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\n    if <(Coin Screen) = [2]> then\n        forever\n            if <(Level) = [2]> then\n                if <(Stage Forward) = [5]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\n    if <(Coin Screen) = [3]> then\n        forever\n            if <(Level) = [2]> then\n                if <(Stage Forward) = [7]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [g v] to [0]\nhide\nforever\n    if <(Level) = [3]> then\n        set [coin screen v] to [1]\n        set [coin x v] to [-100]\n        set [coin y v] to [100]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin x v] by (40)\n        end\n        set [coin screen v] to [2]\n        set [coin x v] to [-80]\n        set [coin y v] to [100]\n        repeat (3)\n            create clone of (_myself_ v)\n            change [coin x v] by (40)\n        end\n        \n    end\nend\n\nwhen I start as a clone\nset size to (200) %\ngo to x: (Coin X) y: (Coin Y)\nif <(Level) = [3]> then\n    if <(Coin Screen) = [1]> then\n        forever\n            if <(Level) = [3]> then\n                if <(Stage Forward) = [1]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\n    if <(Coin Screen) = [2]> then\n        forever\n            if <(Level) = [3]> then\n                if <(Stage Forward) = [5]> then\n                    show\n                    if <touching (pickleman v)?> then\n                        change [g v] by (1)\n                        change [collector coin v] by (1)\n                        hide\n                        \n                    end\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n@Checkpint\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [6]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to [3]\n                forever\n                    if <(Level) = [1]> then\n                        if <(Stage Forward) = [6]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [6]\n                        if <(Stage Forward) = [5]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [7]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (0) y: (-75)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to [3]\n                forever\n                    if <(Level) = [1]> then\n                        if <(Stage Forward) = [10]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [10]\n                        if <(Stage Forward) = [9]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [11]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [4]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to [3]\n                forever\n                    if <(Level) = [2]> then\n                        if <(Stage Forward) = [4]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [4]\n                        if <(Stage Forward) = [3]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [5]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [2]> then\n                        if <(Stage Forward) = [10]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [10]\n                        if <(Stage Forward) = [9]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [11]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [3]> then\n                        if <(Stage Forward) = [3]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [3]\n                        if <(Stage Forward) = [2]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [4]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [2]> then\n            hide\n        end\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [11]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [3]> then\n                        if <(Stage Forward) = [11]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [11]\n                        if <(Stage Forward) = [10]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [12]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [6]> then\n                        if <(Stage Forward) = [6]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [6]\n                        if <(Stage Forward) = [5]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [7]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [6]> then\n                        if <(Stage Forward) = [11]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [11]\n                        if <(Stage Forward) = [10]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [12]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [7]> then\n                        if <(Stage Forward) = [8]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [8]\n                        if <(Stage Forward) = [7]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [9]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [13]> then\n            go to x: (0) y: (-109)\n            show\n            switch costume to (costume1 v)\n            if <touching (pickleman v)?> then\n                set [health v] to (MAX Health)\n                forever\n                    if <(Level) = [7]> then\n                        if <(Stage Forward) = [13]> then\n                            show\n                        end\n                        switch costume to (costume2 v)\n                        set [checkpole v] to [13]\n                        if <(Stage Forward) = [12]> then\n                            hide\n                        end\n                        if <(Stage Forward) = [14]> then\n                            hide\n                        end\n                    end\n                end\n            end\n        end\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n        if <(Stage Forward) = [14]> then\n            hide\n        end\n    end\nend\n\n@Gello's2\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [9]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        set [got hit? v] to [1]\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (-50) y: (-105)\n            repeat until <not <(Stage Forward) = [8]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [8]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (-50) y: (-105)\n            repeat until <not <(Stage Forward) = [10]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [10]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [2]> then\n            go to x: (0) y: (-105)\n            repeat until <not <(Stage Forward) = [2]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    hide\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                    end\n                    wait until <not <(Stage Forward) = [2]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        show\n        if <(BadGuyHealth) = [10]> then\n            switch costume to (10 v)\n        end\n        if <(BadGuyHealth) = [9]> then\n            switch costume to (9 v)\n        end\n        if <(BadGuyHealth) = [8]> then\n            switch costume to (8 v)\n        end\n        if <(BadGuyHealth) = [7]> then\n            switch costume to (7 v)\n        end\n        if <(BadGuyHealth) = [6]> then\n            switch costume to (6 v)\n        end\n        if <(BadGuyHealth) = [5]> then\n            switch costume to (5 v)\n        end\n        if <(BadGuyHealth) = [4]> then\n            switch costume to (4 v)\n        end\n        if <(BadGuyHealth) = [3]> then\n            switch costume to (3 v)\n        end\n        if <(BadGuyHealth) = [2]> then\n            switch costume to (2 v)\n        end\n        if <(BadGuyHealth) = [1]> then\n            switch costume to (1 v)\n        end\n        if <(BadGuyHealth) = [0]> then\n            switch costume to (0 v)\n        end\n    end\nend\n\n@Talk/Timer\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Talk) = [1]> then\n            go to x: (0) y: (-40)\n            show\n            switch costume to (costume3 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (costume4 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (costume5 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (costume6 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (costume7 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [0]\n            set [stop v] to [0]\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [1]> then\n        if <(Talk) = [2]> then\n            show\n            switch costume to (costume8 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [3]\n            set [showtime v] to [0]\n            set [level complete v] to [1]\n            hide\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nforever\n    if <(Game Completed) = [1]> then\n        if <<<(Egg) = [1]> and <(Magic) = [1]>> and <(Collector Coin) = [23]>> then\n            if <(timer) < (☁ 100% Speedrun Record)> then\n                set [☁ 100% speedrun record v] to (timer)\n                set [☁ speedrun holder v] to (username)\n            end\n        else\n            if <(timer) < (☁ Speedrun Record)> then\n                set [☁ speedrun record v] to (timer)\n                set [☁ speedrun holder v] to (username)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        reset timer\n        \n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Talk) = [1]> then\n            go to x: (0) y: (-40)\n            wait (1) seconds\n            show\n            switch costume to (level2 1 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [0]\n            set [stop v] to [0]\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Talk) = [2]> then\n            show\n            switch costume to (level2 2 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [3]\n            set [showtime v] to [0]\n            set [level complete v] to [1]\n            hide\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Talk) = [1]> then\n            go to x: (0) y: (-120)\n            show\n            switch costume to (3-1 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [0]\n            set [stop v] to [0]\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Talk) = [2]> then\n            show\n            switch costume to (3-2 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [3]\n            set [showtime v] to [0]\n            set [level complete v] to [1]\n            hide\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Talk) = [1]> then\n            go to x: (0) y: (-40)\n            show\n            switch costume to (6-1 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (6-2 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (6-3 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (6-4 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (6-5 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [0]\n            set [stop v] to [0]\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Talk) = [2]> then\n            show\n            switch costume to (6-6 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [3]\n            set [showtime v] to [0]\n            set [level complete v] to [1]\n            hide\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Talk) = [1]> then\n            show\n            switch costume to (final 1 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            switch costume to (final 2 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [0]\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Talk) = [2]> then\n            show\n            switch costume to (final 3 v)\n            wait (0.3) seconds\n            wait until <key (x v) pressed?>\n            hide\n            set [talk v] to [3]\n            set [showtime v] to [0]\n            set [level complete v] to [1]\n            hide\n            wait until <(Talk) = [1]>\n        end\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        show\n        if <<<(Stage Forward) = [1]> or <(Stage Forward) = [4]>> or <<(Stage Forward) = [5]> or <<(Stage Forward) = [6]> or <(Stage Forward) = [8]>>>> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (1-1-2 v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (1-1-3 v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (1-1-7 v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (1-1-9 v)\n        end\n        if <<(Stage Forward) = [10]> or <(Stage Forward) = [11]>> then\n            switch costume to (1-1-10 v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [2]> then\n        show\n        if <(Stage Forward) = [1]> then\n            set size to (200) %\n            switch costume to (2-1 v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (2-2 v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (2-3 v)\n        end\n        if <(Stage Forward) = [4]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [5]> then\n            switch costume to (2-5 v)\n        end\n        if <(Stage Forward) = [6]> then\n            switch costume to (2-6 v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (2-7 v)\n        end\n        if <(Stage Forward) = [8]> then\n            switch costume to (2-8 v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (2-8 v)\n        end\n        if <(Stage Forward) = [10]> then\n            set size to (200) %\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [11]> then\n            switch costume to (your dead boi v)\n        end\n        if <(Stage Forward) = [12]> then\n            switch costume to (2-12 v)\n        end\n        if <(Stage Forward) = [13]> then\n            set size to (100) %\n            switch costume to (2-boss v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [3]> then\n        show\n        if <(Stage Forward) = [1]> then\n            set size to (200) %\n            switch costume to (3-1 v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (3-2 v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [4]> then\n            switch costume to (3-5 v)\n        end\n        if <(Stage Forward) = [5]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [6]> then\n            switch costume to (2-6 v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (3-7 v)\n        end\n        if <(Stage Forward) = [8]> then\n            switch costume to (3-8 v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (3-9 v)\n        end\n        if <(Stage Forward) = [10]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [11]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [12]> then\n            switch costume to (flat v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [4]> then\n        show\n        if <(Stage Forward) = [1]> then\n            set size to (200) %\n            switch costume to (flat v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [5]> then\n        show\n        if <(Stage Forward) = [1]> then\n            set size to (200) %\n            switch costume to (2-1 v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (2-2 v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (2-3 v)\n        end\n        if <(Stage Forward) = [4]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [5]> then\n            switch costume to (2-5 v)\n        end\n        if <(Stage Forward) = [6]> then\n            switch costume to (2-6 v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (2-7 v)\n        end\n        if <(Stage Forward) = [8]> then\n            switch costume to (2-8 v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (2-8 v)\n        end\n        if <(Stage Forward) = [10]> then\n            set size to (200) %\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [11]> then\n            switch costume to (2-11 v)\n        end\n        if <(Stage Forward) = [12]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [13]> then\n            set size to (100) %\n            switch costume to (2-boss v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [6]> then\n        show\n        if <(Stage Forward) = [1]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (6-1 v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (6-8 v)\n        end\n        if <(Stage Forward) = [4]> then\n            switch costume to (6-9 v)\n        end\n        if <(Stage Forward) = [5]> then\n            switch costume to (6-10 v)\n        end\n        if <(Stage Forward) = [6]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (6-1 v)\n        end\n        if <(Stage Forward) = [8]> then\n            switch costume to (6-5 v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (6-9 v)\n        end\n        if <(Stage Forward) = [10]> then\n            switch costume to (6-6 v)\n        end\n        if <(Stage Forward) = [11]> then\n            switch costume to (flat v)\n        end\n        if <(Stage Forward) = [12]> then\n            switch costume to (flat v)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (-150)\nhide\nforever\n    if <(Level) = [7]> then\n        go to x: (0) y: (-132)\n        show\n        if <(Stage Forward) = [1]> then\n            switch costume to (castle flat v)\n        end\n        if <(Stage Forward) = [2]> then\n            switch costume to (castle flat v)\n        end\n        if <(Stage Forward) = [3]> then\n            switch costume to (castle flat2 v)\n        end\n        if <(Stage Forward) = [4]> then\n            switch costume to (castle flat3 v)\n        end\n        if <(Stage Forward) = [5]> then\n            switch costume to (castle flat4 v)\n        end\n        if <(Stage Forward) = [6]> then\n            switch costume to (castle flat5 v)\n        end\n        if <(Stage Forward) = [7]> then\n            switch costume to (castle flat v)\n        end\n        if <(Stage Forward) = [8]> then\n            switch costume to (castle flat v)\n        end\n        if <(Stage Forward) = [9]> then\n            switch costume to (castle flat4 v)\n        end\n        if <(Stage Forward) = [10]> then\n            switch costume to (castle flat6 v)\n        end\n        if <(Stage Forward) = [11]> then\n            switch costume to (castle flat7 v)\n        end\n        if <(Stage Forward) = [12]> then\n            switch costume to (castle flat8 v)\n        end\n        if <(Stage Forward) = [13]> then\n            switch costume to (castle flat v)\n        end\n        if <(Stage Forward) = [14]> then\n            switch costume to (castle flat v)\n        end\n    end\nend\n\n@Ground\n\n@Father Gello\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [11]> then\n        if <(Level) = [1]> then\n            go to x: (192) y: (-60)\n            show\n            set [stop v] to [1]\n            set [talk v] to [1]\n            wait until <not <(Stage Forward) = [11]>>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [10]> then\n        set [badguyhealth v] to [10]\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [12]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Downward) = [0]> then\n            if <(AirSlash) = [0]> then\n                if <not <(BadGuyHealth) = [0]>> then\n                    set [got hit? v] to [1]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        change [badguyhealth v] by (-2)\n        set [ghost v] effect to (25)\n        wait (1) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [11]> then\n        wait (0.1) seconds\n        point in direction (90)\n        if <(Talk) = [0]> then\n            repeat until <<(BadGuyHealth) = [0]> or <not <(Stage Forward) = [11]>>>\n                glide (1.8) secs to x: (-192) y: (-60)\n                wait (1) seconds\n                point in direction (-90)\n                wait (1) seconds\n                glide (1.8) secs to x: (192) y: (-60)\n                wait (1) seconds\n                point in direction (90)\n                wait (1) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [11]> then\n        if <(BadGuyHealth) = [0]> then\n            set [stop v] to [1]\n            set [talk v] to [2]\n            wait until <(Talk) = [3]>\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nset [wall v] to [0]\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [11]> then\n            set [wall v] to [1]\n        end\n    end\nend\n\n@New Game Button\n\nwhen flag clicked\ngo to x: (0) y: (100)\nhide\nforever\n    if <(Level) < [1]> then\n        if <(Menu) = [1]> then\n            show\n            if <touching (mouse-pointer v)?> then\n                switch costume to (costume2 v)\n                if <mouse down?> then\n                    go to x: (0) y: (0)\n                    switch costume to (costume3 v)\n                    wait until <key (x v) pressed?>\n                    set [level v] to [1]\n                end\n            else\n                switch costume to (costume1 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nset [max health v] to [3]\nforever\n    if <(Level Complete) = [1]> then\n        show\n        wait (1) seconds\n        set [level complete v] to [0]\n        change [level v] by (1)\n        set [stage forward v] to [1]\n        set [stop v] to [0]\n        set [wall v] to [0]\n        set [checkpole v] to [1]\n        set [health v] to (MAX Health)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [game completed v] to [0]\nforever\n    if <(Level) = [7]> then\n        if <(Level Complete) = [1]> then\n            set [game completed v] to [1]\n        end\n    end\nend\n\n@Small Block\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [2]> then\n            show\n            if <touching (sourd v)?> then\n                next costume\n                if <(Downward) = [1]> then\n                    set [bounce v] to [1]\n                end\n                wait (0.3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [2]> then\n            switch costume to (costume1 v)\n            wait until <not <(Stage Forward) = [2]>>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Speed Boost\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (-76) y: (-88)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [6]> then\n            go to x: (0) y: (30)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [4]> then\n            go to x: (50) y: (0)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Speed Boost2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (100) y: (-88)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [9]> then\n            go to x: (20) y: (-40)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [8]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@LeftSpeed Boost\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [8]> then\n            point in direction (90)\n            go to x: (110) y: (20)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [9]> then\n            point in direction (90)\n            go to x: (20) y: (-100)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@GelloBird\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [13]> then\n            wait (1.1) seconds\n            wait until <(Talk) = [0]>\n            repeat until <not <(Stage Forward) = [13]>>\n                glide (1) secs to x: (50) y: (70)\n                glide (1) secs to x: (-50) y: (70)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [13]> then\n        if <(Level) = [2]> then\n            set [stop v] to [1]\n            set [wall v] to [1]\n            set [talk v] to [1]\n            wait (1) seconds\n            go to x: (0) y: (70)\n            show\n            wait until <not <(Stage Forward) = [13]>>\n        end\n    end\nend\n\nwhen flag clicked\nset size to (300) %\nforever\n    switch costume to (costume1 v)\n    change y by (2)\n    wait (0.08) seconds\n    switch costume to (costume2 v)\n    change y by (-2)\n    wait (0.08) seconds\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [13]> then\n            wait (1.1) seconds\n            wait until <(Talk) = [0]>\n            repeat until <not <(Stage Forward) = [13]>>\n                create clone of (_myself_ v)\n                wait (1.5) seconds\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nset size to (200) %\nswitch costume to (costume3 v)\ngo to x: (x position) y: (y position)\nset rotation style [all around v]\npoint towards (pickleman v)\nrepeat until <<touching (sprite5 v)?> or <touching (_edge_ v)?>>\n    move (5) steps\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Downward) = [0]> then\n            if <(AirSlash) = [0]> then\n                if <not <(BadGuyHealth) = [0]>> then\n                    if <(Talk) = [0]> then\n                        set [got hit? v] to [1]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            if <not <(BadGuyHealth) = [0]>> then\n                set [got hit? v] to [1]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        change [badguyhealth v] by (-2)\n        set [ghost v] effect to (25)\n        wait (1) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [10]> then\n        set [badguyhealth v] to [10]\n        hide\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [13]> then\n        if <(BadGuyHealth) = [0]> then\n            set [stop v] to [1]\n            set [talk v] to [2]\n            wait until <(Talk) = [3]>\n            hide\n            stop [this script v]\n        end\n    end\nend\n\n@New Game Button2\n\nwhen flag clicked\n\nhide\nforever\n    if <(Menu) = [1]> then\n        if <(Level) < [1]> then\n            show\n            if <touching (mouse-pointer v)?> then\n                switch costume to (costume2 v)\n                if <mouse down?> then\n                    ask [Level Code] and wait\n                    if <(answer) = [Intro]> then\n                        set [level v] to [1]\n                    else\n                        if <(answer) = [Slash]> then\n                            set [level v] to [2]\n                        else\n                            if <(answer) = [Jump]> then\n                                set [level v] to [3]\n                            else\n                                if <(answer) = [Town]> then\n                                    set [level v] to [4]\n                                else\n                                    if <(answer) = [Magic]> then\n                                        set [level v] to [5]\n                                    else\n                                        if <(answer) = [Move]> then\n                                            set [level v] to [6]\n                                        else\n                                            if <(answer) = [King]> then\n                                                set [level v] to [7]\n                                            else\n                                                say [Error] for (2) seconds\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                switch costume to (costume1 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        hide\n    end\nend\n\n@New Game Button4\n\nwhen flag clicked\nhide variable [timer v]\nhide variable [☁ speedrun record v]\nhide\nforever\n    if <(Level) < [1]> then\n        if <(Menu) = [1]> then\n            show\n            if <touching (mouse-pointer v)?> then\n                switch costume to (costume2 v)\n                if <mouse down?> then\n                    set [level v] to [1]\n                    show variable [timer v]\n                    show variable [☁ speedrun record v]\n                end\n            else\n                switch costume to (costume1 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    repeat until <(Game Completed) = [1]>\n        set [timer v] to (timer)\n    end\nend\n\n@JumpJello\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [1]> then\n            point in direction (90)\n            go to x: (130) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [2]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [2]> then\n            point in direction (90)\n            go to x: (-65) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [4]> then\n            point in direction (90)\n            go to x: (-190) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [7]> then\n            point in direction (90)\n            go to x: (-32) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [8]> then\n            point in direction (90)\n            go to x: (-128) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            point in direction (90)\n            go to x: (-160) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            point in direction (90)\n            go to x: (-224) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\n@JumpGello's\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (0) y: (-103)\n            repeat until <not <(Stage Forward) = [5]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [5]>>\n                    else\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [3]> then\n            go to x: (0) y: (-103)\n            repeat until <not <(Stage Forward) = [3]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [3]>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [2]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@JumpGello's2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        set [got hit? v] to [1]\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [6]> then\n            set size to (200) %\n            show\n            go to x: (20) y: (-40)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [6]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    next costume\n    change y by (2)\n    wait (0.08) seconds\n    change y by (-2)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [8]> then\n            set size to (100) %\n            show\n            go to x: (0) y: (-10)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [8]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            set size to (200) %\n            show\n            go to x: (178) y: (-70)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [9]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [7]> then\n            go to x: (0) y: (-10)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (0) y: (-42)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            go to x: (160) y: (-106)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Spikes) = [0]> then\n            set [game over v] to [1]\n        else\n            change [got hit? v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (200) y: (0)\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (200) y: (0)\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (49) y: (-42)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (-11) y: (-42)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Spikes) = [0]> then\n            set [game over v] to [1]\n        else\n            change [got hit? v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [8]> then\n            go to x: (128) y: (22)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            go to x: (192) y: (-106)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\ngo to x: (200) y: (0)\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (200) y: (0)\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [8]> then\n            point in direction (-90)\n            go to x: (49) y: (100)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (-11) y: (100)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\n@JumpGello's3\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        set [got hit? v] to [1]\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    next costume\n    change y by (2)\n    wait (0.08) seconds\n    change y by (-2)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [8]> then\n            set size to (100) %\n            show\n            go to x: (128) y: (50)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [8]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [5]> then\n            set size to (200) %\n            show\n            go to x: (-80) y: (-90)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [5]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [6]> then\n            set size to (100) %\n            show\n            go to x: (-145) y: (-40)\n            if <touching (sourd v)?> then\n                if <(Downward) = [1]> then\n                    set [bounce v] to [2]\n                    hide\n                    wait until <not <(Stage Forward) = [6]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@JumpGelloBird\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            wait (1.1) seconds\n            wait until <(Talk) = [0]>\n            repeat until <<not <(Stage Forward) = [12]>> or <(BadGuyHealth) = [0]>>\n                glide (1.5) secs to x: (200) y: (70)\n                glide (1.5) secs to x: (-200) y: (69)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [12]> then\n        if <(Level) = [3]> then\n            wait (1) seconds\n            go to x: (0) y: (70)\n            show\n            set [stop v] to [1]\n            set [wall v] to [1]\n            set [talk v] to [1]\n            wait until <not <(Stage Forward) = [12]>>\n        end\n    end\nend\n\nwhen flag clicked\nset size to (300) %\nforever\n    switch costume to (costume1 v)\n    change y by (2)\n    wait (0.08) seconds\n    switch costume to (costume2 v)\n    change y by (-2)\n    wait (0.08) seconds\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            wait (1.1) seconds\n            wait until <(Talk) = [0]>\n            repeat until <<not <(Stage Forward) = [12]>> or <(BadGuyHealth) = [0]>>\n                create clone of (_myself_ v)\n                wait (2) seconds\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nset size to (200) %\nswitch costume to (costume3 v)\ngo to x: (x position) y: (y position)\nset rotation style [all around v]\npoint towards (pickleman v)\nrepeat until <<touching (_edge_ v)?> or <touching (sprite5 v)?>>\n    move (5) steps\nend\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Downward) = [0]> then\n            if <(AirSlash) = [0]> then\n                if <not <(BadGuyHealth) = [0]>> then\n                    set [got hit? v] to [1]\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (pickleman v)?> then\n        if <not <(BadGuyHealth) = [0]>> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            change [badguyhealth v] by (-2)\n            set [ghost v] effect to (25)\n            wait (1) seconds\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [2]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [11]> then\n            set [badguyhealth v] to [10]\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            if <(BadGuyHealth) = [0]> then\n                set [stop v] to [1]\n                set [talk v] to [2]\n                wait until <(Talk) = [3]>\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@JumpJello2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [2]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            point in direction (90)\n            go to x: (224) y: (-102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\n@Weapon Shop\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [1]> then\n            switch costume to (costume1 v)\n            go to x: (-50) y: (-58)\n            show\n            if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                set [shop v] to [1]\n            end\n        else\n            if <(Stage Forward) = [3]> then\n                show\n                switch costume to (costume2 v)\n                go to x: (-50) y: (-58)\n                if <(Magic) = [0]> then\n                    if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                        ask [Hello Traveler. I am a mighty wizard. I have lost a magic orb in the Magic Realm. Will you go there and retrieve my orb. I will pay you 5 coins. But beware, the Magic Realm is full of danger and I will not be able to bring you back until you collect the orb. Y/N] and wait\n                        if <<(answer) = [Y]> or <(answer) = [Yes]>> then\n                            set [shop v] to [0]\n                            set [stage forward v] to [1]\n                            set [level v] to [5]\n                        else\n                            set [shop v] to [0]\n                        end\n                    end\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) > [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        hide\n    end\nend\n\n@Weapon Shop2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [1]> then\n            go to [back v] layer\n            switch costume to (costume2 v)\n            go to x: (150) y: (-58)\n            show\n            if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                set [shop v] to [2]\n            end\n        else\n            if <(Stage Forward) = [3]> then\n                go to [back v] layer\n                switch costume to (costume3 v)\n                go to x: (150) y: (-58)\n                show\n                if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                    set [shop v] to [4]\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) > [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        hide\n    end\nend\n\n@Weapon Shop3\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [2]> then\n            go to x: (50) y: (-58)\n            go to [back v] layer\n            show\n            if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                set [shop v] to [3]\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) > [0]> then\n        hide\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [1]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Shop Talk\n\nwhen flag clicked\ngo to x: (0) y: (-38)\nhide\nforever\n    if <(Shop) = [1]> then\n        go to [front v] layer\n        show\n        switch costume to (costume3 v)\n        wait (0.3) seconds\n        wait until <key (x v) pressed?>\n        switch costume to (costume4 v)\n        wait (0.3) seconds\n        wait until <key (x v) pressed?>\n        hide\n        \n    end\nend\n\nwhen flag clicked\ngo to x: (0) y: (-38)\nhide\nforever\n    if <(Shop) = [2]> then\n        go to [front v] layer\n        show\n        switch costume to (costume5 v)\n        wait (0.3) seconds\n        wait until <key (x v) pressed?>\n        hide\n        \n    end\nend\n\n@Sprite9\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [1]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Increase Sword size by 50%  5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [swordsize v] by (25)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite10\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [1]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Increase Sword size by 50%  5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [swordsize v] by (25)\n                    change [g v] by (-5)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite11\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [1]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Increase Sword size by 50%  5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [swordsize v] by (25)\n                    change [g v] by (-5)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Straberry Susy(Teacher)\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [2]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite12\n\nwhen flag clicked\nset [frames v] to [1]\nhide\nforever\n    if <(Shop) = [2]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Double Invincibility Frames 5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [frames v] by (1)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite13\n\nwhen flag clicked\nset [spikes v] to [0]\nhide\nforever\n    if <(Shop) = [2]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Only take 1 damage from spikes. 5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [spikes v] by (1)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite14\n\nwhen flag clicked\nset [spikes v] to [0]\nhide\nforever\n    if <(Shop) = [3]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Extra HP 5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [max health v] by (1)\n                    change [health v] by (1)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite15\n\nwhen flag clicked\nset [spikes v] to [0]\nhide\nforever\n    if <(Shop) = [3]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Extra HP 5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [max health v] by (1)\n                    change [health v] by (1)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite16\n\nwhen flag clicked\nset [spikes v] to [0]\nhide\nforever\n    if <(Shop) = [3]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Extra HP 5 Gold]\n            if <mouse down?> then\n                if <[4] < (G)> then\n                    change [g v] by (-5)\n                    change [max health v] by (1)\n                    change [health v] by (1)\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Speed Boost3\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (-76) y: (-88)\n            show\n            repeat until <not <(Stage Forward) = [5]>>\n                glide (1) secs to x: (-76) y: (-200)\n                glide (1) secs to x: (-76) y: (-88)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [6]> then\n            go to x: (0) y: (30)\n            show\n            repeat until <not <(Stage Forward) = [6]>>\n                glide (1) secs to x: (100) y: (30)\n                glide (1) secs to x: (0) y: (30)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [11]> then\n            go to x: (-60) y: (-70)\n            show\n            if <touching (pickleman v)?> then\n                broadcast (Trickster v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\n@Speed Boost4\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [5]> then\n            go to x: (100) y: (-88)\n            show\n            repeat until <not <(Stage Forward) = [5]>>\n                glide (1) secs to x: (100) y: (-200)\n                glide (1) secs to x: (100) y: (-88)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [9]> then\n            go to x: (20) y: (-100)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [8]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\n@LeftSpeed Boost2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [10]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [8]> then\n            point in direction (90)\n            go to x: (100) y: (-70)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [9]> then\n            point in direction (90)\n            go to x: (20) y: (-50)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [11]> then\n            point in direction (90)\n            show\n            repeat until <not <(Stage Forward) = [11]>>\n                go to x: (70) y: (-60)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [12]> then\n            hide\n        end\n    end\nend\n\n@Sprite17\n\nwhen flag clicked\nhide\nset [magic v] to [0]\nforever\n    if <(Level) = [5]> then\n        if <(Stage Forward) = [13]> then\n            show\n            set [wall v] to [1]\n            if <touching (pickleman v)?> then\n                change [g v] by (5)\n                set [wall v] to [0]\n                set [level v] to [4]\n                set [stage forward v] to [1]\n                set [magic v] to [1]\n                hide\n            end\n        end\n    end\nend\n\n@Sprite18\n\nwhen flag clicked\nset [spikes v] to [0]\nhide\nset [flying v] to [0]\nforever\n    if <(Shop) = [4]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [No one knows what this item does. 25G]\n            if <mouse down?> then\n                if <[24] < (G)> then\n                    say [Press Left and Right to use.] for (2) seconds\n                    change [g v] by (-25)\n                    change [flying v] by (1)\n                    hide\n                    stop [this script v]\n                else\n                    say [Not enough gold.] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@Sprite19\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [2]> then\n            show\n            go to x: (100) y: (0)\n            if <not <(Stage Forward) = [2]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [4]> then\n            show\n            go to x: (-30) y: (-80)\n            if <not <(Stage Forward) = [4]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [8]> then\n            show\n            go to x: (150) y: (-65)\n            if <not <(Stage Forward) = [8]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [6]> then\n            show\n            go to x: (-143) y: (5)\n            if <not <(Stage Forward) = [6]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [7]> then\n            hide\n        end\n    end\nend\n\n@Sprite20\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [2]> then\n            show\n            go to x: (-25) y: (-60)\n            if <not <(Stage Forward) = [2]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [4]> then\n            show\n            go to x: (90) y: (0)\n            if <not <(Stage Forward) = [4]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [5]> then\n            hide\n        end\n    end\nend\n\n@Sprite21\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [3]> then\n            show\n            go to x: (20) y: (-150)\n            if <not <(Stage Forward) = [3]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-10)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [2]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [4]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [5]> then\n            show\n            go to x: (-150) y: (-15)\n            if <not <(Stage Forward) = [5]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (-4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\n@Sprite22\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [7]> then\n            show\n            go to x: (100) y: (-100)\n            if <not <(Stage Forward) = [7]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [8]> then\n            show\n            go to x: (-50) y: (-160)\n            if <not <(Stage Forward) = [8]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            show\n            go to x: (-50) y: (-160)\n            if <not <(Stage Forward) = [9]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            show\n            go to x: (-90) y: (-160)\n            if <not <(Stage Forward) = [10]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\n@Sprite23\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            show\n            go to x: (100) y: (-160)\n            if <not <(Stage Forward) = [10]>> then\n                hide\n            end\n            if <touching (pickleman v)?> then\n                wait (0.5) seconds\n                repeat until <touching (_edge_ v)?>\n                    set drag mode [draggable v]\n                    change y by (4)\n                end\n                hide\n                wait (3) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\n@Sprite24\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (194) y: (-40)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Spikes) = [0]> then\n            set [game over v] to [1]\n        else\n            change [got hit? v] by (1)\n        end\n    end\nend\n\n@Sprite25\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [10]> then\n            point in direction (-90)\n            go to x: (194) y: (102)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [9]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(Spikes) = [0]> then\n            set [game over v] to [1]\n        else\n            change [got hit? v] by (1)\n        end\n    end\nend\n\n@WizardJello\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [12]> then\n        if <(Level) = [6]> then\n            go to x: (192) y: (-95)\n            show\n            set [stop v] to [1]\n            set [talk v] to [1]\n            wait until <not <(Stage Forward) = [12]>>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [11]> then\n            set [badguyhealth v] to [10]\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        change [badguyhealth v] by (-2)\n        set [ghost v] effect to (25)\n        wait (1) seconds\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset size to (300) %\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(Downward) = [1]> then\n            set [bounce v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [12]> then\n            point in direction (90)\n            show\n            switch costume to (costume1 v)\n            if <(Talk) = [0]> then\n                repeat until <<(BadGuyHealth) = [0]> or <not <(Stage Forward) = [12]>>>\n                    repeat (5)\n                        go to x: (pick random (-192) to (192)) y: (100)\n                        set rotation style [left-right v]\n                        point towards (pickleman v)\n                        set [random v] to [1]\n                        create clone of (_myself_ v)\n                        wait (0.5) seconds\n                    end\n                    repeat (10)\n                        go to x: (pick random (-192) to (192)) y: (100)\n                        set rotation style [left-right v]\n                        point towards (pickleman v)\n                        set [random v] to [2]\n                        create clone of (_myself_ v)\n                        wait (0.25) seconds\n                    end\n                    hide\n                    wait (3.5) seconds\n                    show\n                    set [random v] to (pick random (1) to (2))\n                    if <(Random) = [1]> then\n                        point in direction (90)\n                        go to x: (192) y: (-95)\n                        wait (1) seconds\n                        glide (1) secs to x: (-192) y: (-95)\n                    else\n                        point in direction (-90)\n                        go to x: (-192) y: (-95)\n                        wait (1) seconds\n                        glide (1) secs to x: (192) y: (-95)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [12]> then\n            if <(BadGuyHealth) = [0]> then\n                set [stop v] to [1]\n                set [talk v] to [2]\n                wait until <(Talk) = [3]>\n                stop [other scripts in sprite v]\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nset [wall v] to [0]\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [12]> then\n            set [wall v] to [1]\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    set rotation style [all around v]\nend\n\nwhen I start as a clone\nif <(Random) = [1]> then\n    set size to (100) %\n    switch costume to (costume2 v)\n    point towards (pickleman v)\n    repeat until <<touching (_edge_ v)?> or <touching (sprite5 v)?>>\n        move (7) steps\n    end\n    delete this clone\nend\nif <(Random) = [2]> then\n    set size to (100) %\n    switch costume to (costume2 v)\n    point towards (pickleman v)\n    wait (3) seconds\n    repeat until <<touching (_edge_ v)?> or <touching (sprite5 v)?>>\n        move (7) steps\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <touching (pickleman v)?> then\n        if <not <(BadGuyHealth) = [0]>> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\n@SlashGello\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [4]> then\n            set size to (200) %\n            show\n            go to x: (30) y: (50)\n            if <touching (sourd v)?> then\n                if <(AirSlash) = [1]> then\n                    wait (0.1) seconds\n                    hide\n                    wait until <not <(Stage Forward) = [4]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    next costume\n    change y by (2)\n    wait (0.08) seconds\n    change y by (-2)\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [3]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [5]> then\n            set size to (200) %\n            show\n            go to x: (100) y: (100)\n            if <touching (sourd v)?> then\n                if <(AirSlash) = [1]> then\n                    wait (0.1) seconds\n                    hide\n                    wait until <not <(Stage Forward) = [5]>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [1]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@RainbowJello\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nset [rainbow slashable v] to [0]\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [7]> then\n            go to x: (200) y: (-103)\n            repeat until <not <(Stage Forward) = [7]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    if <(costume [number v]) = [2]> then\n                        if <(Downward) = [1]> then\n                            set [bounce v] to [2]\n                            hide\n                            wait until <not <(Stage Forward) = [7]>>\n                        end\n                    end\n                    if <(costume [number v]) = [3]> then\n                        if <(AirSlash) = [1]> then\n                            set [rainbow slashable v] to [1]\n                            hide\n                            wait until <not <(Stage Forward) = [7]>>\n                        end\n                    end\n                    if <(costume [number v]) = [1]> then\n                        if <(Downward) = [1]> then\n                            set [bounce v] to [1]\n                            hide\n                            wait until <not <(Stage Forward) = [7]>>\n                        else\n                            hide\n                            wait until <not <(Stage Forward) = [7]>>\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [7]> then\n            switch costume to (blue-slash v)\n            repeat until <not <(Stage Forward) = [7]>>\n                wait (0.5) seconds\n                next costume\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [10]> then\n            go to x: (0) y: (-103)\n            repeat until <not <(Stage Forward) = [10]>>\n                set rotation style [left-right v]\n                show\n                point towards (pickleman v)\n                if <(direction) < [0]> then\n                    point in direction (-90)\n                else\n                    point in direction (90)\n                end\n                move (3) steps\n                if <not <touching (sprite5 v)?>> then\n                    move (-3) steps\n                end\n                if <touching (sourd v)?> then\n                    if <(costume [number v]) = [2]> then\n                        if <(Downward) = [1]> then\n                            set [bounce v] to [2]\n                            hide\n                            wait until <not <(Stage Forward) = [10]>>\n                        end\n                    end\n                    if <(costume [number v]) = [3]> then\n                        if <(AirSlash) = [1]> then\n                            set [rainbow slashable v] to [1]\n                            hide\n                            wait until <not <(Stage Forward) = [10]>>\n                        end\n                    end\n                    if <(costume [number v]) = [1]> then\n                        if <(Downward) = [1]> then\n                            set [bounce v] to [1]\n                            hide\n                            wait until <not <(Stage Forward) = [10]>>\n                        else\n                            hide\n                            wait until <not <(Stage Forward) = [10]>>\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [10]> then\n            switch costume to (blue-slash v)\n            repeat until <not <(Stage Forward) = [10]>>\n                wait (1) seconds\n                next costume\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [9]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@RainbowJello2\n\nwhen flag clicked\nhide\nset [rainbow slashable v] to [0]\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [9]> then\n            go to x: (50) y: (-103)\n            show\n            if <touching (sourd v)?> then\n                if <<(costume [number v]) = [3]> or <(costume [number v]) = [4]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [9]>>\n                    end\n                end\n                if <<(costume [number v]) = [5]> or <(costume [number v]) = [6]>> then\n                    if <(AirSlash) = [1]> then\n                        set [rainbow slashable v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [9]>>\n                    end\n                end\n                if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [9]>>\n                    else\n                        hide\n                        wait until <not <(Stage Forward) = [9]>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [10]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [9]> then\n            repeat (5)\n                switch costume to (red1 v)\n                wait (0.1) seconds\n                switch costume to (red2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (green1 v)\n                wait (0.1) seconds\n                switch costume to (green2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (blue1 v)\n                wait (0.1) seconds\n                switch costume to (blue2 v)\n                wait (0.1) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    change y by (2)\n    wait (0.08) seconds\n    change y by (-2)\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [11]> then\n            repeat (5)\n                switch costume to (red1 v)\n                wait (0.1) seconds\n                switch costume to (red2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (green1 v)\n                wait (0.1) seconds\n                switch costume to (green2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (blue1 v)\n                wait (0.1) seconds\n                switch costume to (blue2 v)\n                wait (0.1) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [11]> then\n            go to x: (0) y: (100)\n            show\n            if <touching (sourd v)?> then\n                if <<(costume [number v]) = [3]> or <(costume [number v]) = [4]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [11]>>\n                    end\n                end\n                if <<(costume [number v]) = [5]> or <(costume [number v]) = [6]>> then\n                    if <(AirSlash) = [1]> then\n                        set [rainbow slashable v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [11]>>\n                    end\n                end\n                if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [11]>>\n                    else\n                        hide\n                        wait until <not <(Stage Forward) = [11]>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [12]> then\n            go to x: (-100) y: (-50)\n            show\n            if <touching (sourd v)?> then\n                if <<(costume [number v]) = [3]> or <(costume [number v]) = [4]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n                if <<(costume [number v]) = [5]> or <(costume [number v]) = [6]>> then\n                    if <(AirSlash) = [1]> then\n                        set [rainbow slashable v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n                if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    else\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [12]> then\n            repeat (5)\n                switch costume to (red1 v)\n                wait (0.1) seconds\n                switch costume to (red2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (green1 v)\n                wait (0.1) seconds\n                switch costume to (green2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (blue1 v)\n                wait (0.1) seconds\n                switch costume to (blue2 v)\n                wait (0.1) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@RainbowJello3\n\nwhen flag clicked\nhide\nset [rainbow slashable v] to [0]\nforever\n    if <touching (pickleman v)?> then\n        if <(AirSlash) = [0]> then\n            set [got hit? v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [13]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    change y by (2)\n    wait (0.08) seconds\n    change y by (-2)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [12]> then\n            go to x: (100) y: (140)\n            show\n            if <touching (sourd v)?> then\n                if <<(costume [number v]) = [3]> or <(costume [number v]) = [4]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [2]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n                if <<(costume [number v]) = [5]> or <(costume [number v]) = [6]>> then\n                    if <(AirSlash) = [1]> then\n                        set [rainbow slashable v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n                if <<(costume [number v]) = [1]> or <(costume [number v]) = [2]>> then\n                    if <(Downward) = [1]> then\n                        set [bounce v] to [1]\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    else\n                        hide\n                        wait until <not <(Stage Forward) = [12]>>\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [12]> then\n            repeat (5)\n                switch costume to (red1 v)\n                wait (0.1) seconds\n                switch costume to (red2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (green1 v)\n                wait (0.1) seconds\n                switch costume to (green2 v)\n                wait (0.1) seconds\n            end\n            repeat (5)\n                switch costume to (blue1 v)\n                wait (0.1) seconds\n                switch costume to (blue2 v)\n                wait (0.1) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Stage Forward) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@King Jello\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Stage Forward) = [14]> then\n        if <(Level) = [7]> then\n            go to x: (180) y: (-92)\n            show\n            set [stop v] to [1]\n            set [talk v] to [1]\n            wait until <not <(Stage Forward) = [14]>>\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [13]> then\n            set [badguyhealth v] to [10]\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(costume [number v]) = [2]> then\n            if <(Downward) = [1]> then\n                set [bounce v] to [2]\n                change [badguyhealth v] by (-1)\n                set [ghost v] effect to (25)\n                wait (1) seconds\n                set [ghost v] effect to (0)\n            end\n        end\n        if <(costume [number v]) = [3]> then\n            if <(AirSlash) = [1]> then\n                set [rainbow slashable v] to [1]\n                change [badguyhealth v] by (-1)\n                set [ghost v] effect to (25)\n                wait (1) seconds\n                set [ghost v] effect to (0)\n            end\n        end\n        if <(costume [number v]) = [1]> then\n            change [badguyhealth v] by (-1)\n            set [ghost v] effect to (25)\n            wait (1) seconds\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nset size to (300) %\nset [badguyhealth v] to [10]\nset [ghost v] effect to (0)\nforever\n    if <touching (sourd v)?> then\n        if <(costume [number v]) = [1]> then\n            if <(Downward) = [1]> then\n                set [bounce v] to [1]\n            end\n        end\n        if <(costume [number v]) = [2]> then\n            if <(Downward) = [1]> then\n                set [bounce v] to [2]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [14]> then\n            point in direction (90)\n            show\n            switch costume to (red v)\n            if <(Talk) = [0]> then\n                set [stop v] to [0]\n                repeat until <<(BadGuyHealth) = [0]> or <not <(Stage Forward) = [14]>>>\n                    show\n                    repeat (5)\n                        point in direction (90)\n                        glide (1) secs to x: (-200) y: (-92)\n                        point in direction (-90)\n                        glide (1) secs to x: (200) y: (-92)\n                    end\n                    point in direction (90)\n                    glide (1) secs to x: (200) y: (300)\n                    hide\n                    go to x: (pick random (-200) to (200)) y: (300)\n                    wait (1) seconds\n                    show\n                    glide (1) secs to x: (x position) y: (-92)\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [14]> then\n            if <(BadGuyHealth) = [0]> then\n                stop [other scripts in sprite v]\n                set [stop v] to [1]\n                set [talk v] to [2]\n                wait until <(Talk) = [3]>\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [talk v] to [0]\nset [wall v] to [0]\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [14]> then\n            set [wall v] to [1]\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    set rotation style [all around v]\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [14]> then\n            if <(Talk) = [0]> then\n                repeat until <<(BadGuyHealth) = [0]> or <not <(Stage Forward) = [14]>>>\n                    switch costume to (red v)\n                    wait (1) seconds\n                    switch costume to (green v)\n                    wait (1) seconds\n                    switch costume to (blue v)\n                    wait (1) seconds\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nset [rainbow slashable v] to [0]\nforever\n    if <touching (pickleman v)?> then\n        if <(costume [number v]) = [3]> then\n            if <(AirSlash) = [0]> then\n                set [got hit? v] to [1]\n            end\n        end\n        if <(costume [number v]) = [2]> then\n            if <(Downward) = [0]> then\n                set [got hit? v] to [1]\n            end\n        end\n        if <(costume [number v]) = [1]> then\n            if <<(Downward) = [0]> and <(AirSlash) = [0]>> then\n                set [got hit? v] to [1]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Game Over) = [1]> then\n        hide\n    end\nend\n\n@Music\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        if <not <(Stage Forward) = [11]>> then\n            stop all sounds\n            play sound [Level 1 and 3 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        stop all sounds\n        play sound [Level 2 and 2 v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        if <(Stage Forward) = [11]> then\n            stop all sounds\n            play sound [Boss Music v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        if <not <(Stage Forward) = [13]>> then\n            stop all sounds\n            play sound [Level 2 and 4 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        if <(Stage Forward) = [13]> then\n            stop all sounds\n            play sound [Boss Music v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <not <(Stage Forward) = [12]>> then\n            stop all sounds\n            play sound [Level 1 and 3 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        if <(Stage Forward) = [12]> then\n            stop all sounds\n            play sound [Boss Music v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <not <(Stage Forward) = [12]>> then\n            stop all sounds\n            play sound [Level 2 and 4 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Stage Forward) = [12]> then\n            stop all sounds\n            play sound [Boss Music v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        stop all sounds\n        play sound [Level 2 and 4 v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <not <(Stage Forward) = [14]>> then\n            stop all sounds\n            play sound [Level 5 v] until done\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        if <(Stage Forward) = [14]> then\n            stop all sounds\n            play sound [Level 5 v] until done\n        end\n    end\nend\n\n@Easter Egg\n\nwhen flag clicked\nset [egg v] to [0]\nforever\n    if <<(Level) = [2]> and <(Stage Forward) = [10]>> then\n        set [egg v] to [1]\n    end\nend\n\nwhen flag clicked\nset [egg v] to [0]\nset [easter v] to [0]\nforever\n    if <<<(Level) = [2]> and <(Stage Forward) = [1]>> and <(Egg) = [1]>> then\n        show\n        if <touching (pickleman v)?> then\n            set [easter v] to [1]\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\n@Ms.Carrot\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@Weapon Shop4\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        if <(Stage Forward) = [2]> then\n            show\n            switch costume to (costume2 v)\n            go to x: (-120) y: (-58)\n            if <<touching (pickleman v)?> and <key (down arrow v) pressed?>> then\n                set [shop v] to [6]\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) > [0]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [5]> then\n        hide\n    end\nend\n\n@Sprite26\n\n@Sprite27\n\n@Sprite28\n\nwhen flag clicked\nset [frames v] to [1]\nset [bunny v] to [0]\nhide\nforever\n    if <(Shop) = [6]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            say [Bunny Ears. Jump super high. Can't buy. Will trade for an Egg.]\n            if <mouse down?> then\n                if <(Easter) = [1]> then\n                    set [bunny v] to [1]\n                    say [Purchase Complete] for (2) seconds\n                    hide\n                    stop [this script v]\n                else\n                    say [Restart the game and go find the Easter Egg!] for (2) seconds\n                end\n            end\n        else\n            say []\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Shop) = [0]> then\n        hide\n    end\nend\n\n@New Game Button3\n\nwhen flag clicked\nhide variable [timer v]\nhide variable [☁ speedrun record v]\nhide variable [☁ 100% speedrun record v]\nhide\nforever\n    if <(Level) < [1]> then\n        if <(Menu) = [1]> then\n            show\n            if <touching (mouse-pointer v)?> then\n                say [Collect the Egg, Magic Orb and all 23 Coins!]\n                switch costume to (costume2 v)\n                if <mouse down?> then\n                    set [level v] to [1]\n                    show variable [timer v]\n                    show variable [☁ 100% speedrun record v]\n                end\n            else\n                switch costume to (costume1 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <[0] < (Level)> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    repeat until <(100% Complete) = [1]>\n        set [timer v] to (timer)\n    end\nend\n\n
THE SEQUEL IS OUT!\nhttps://scratch.mit.edu/projects/396126528/\nUpdated Version!\nhttps://scratch.mit.edu/projects/417911423/\n EASTER EGG UPDATE IS OUT NOW! Here is a clue.\nhttps://scratch.mit.edu/projects/384649294/\nBeat the game with the bunny powerup and unlock a secret.\nSpeedrun World Record\n5/5/20 Awesome6543210 148.072 Seconds\n4/16/20 Awesome6543210 151.766 Seconds\n4/10/20 Awesome6543210 151.998 Seconds\n4/10/20 Awesome6543210 161.336 Seconds\n4/9/20 Awesome6543210 165.924 Seconds\n4/9/20 Awesome6543210 204.633 seconds\n4/9/20 Awesome6543210 264.331 seconds.\n4/9/20 Pinapulz 285.627 seconds.\n4/9/20 djokaner 302.137 seconds (Unconfirmed)\n4/9/20  Sava_B 373.711 seconds.\n4/8/20  junseo0912 387.117 seconds\n2/18/20 Nolpro-1794.651 Seconds	\n