Stars (mobile-friendly platformer)
@Stage\n\nwhen I receive [flag v]\nstop [other scripts in sprite v]\nforever\n    play sound (Music) until done\nend\n\nwhen [p v] key pressed\nif <not <(Level) = [19]>> then\n    if <(?Paused) = [0]> then\n        set [?paused v] to [1]\n        broadcast (Pause v)\n    else\n        set [?paused v] to [0]\n        broadcast (Unpause v)\n    end\nend\n\nwhen I receive [menutick v]\nset volume to (VolumeLevel) %\n\nwhen I receive [setup v]\nswitch backdrop to (day v)\nset volume to (40) %\nset [volumelevel v] to [40]\nplay sound [BR5 - Centaurea v] until done\n\nwhen I receive [gamewin v]\nstop [other scripts in sprite v]\nplay sound [BR5 - Achillea v] until done\n\nwhen I receive [musicchange v]\nstop [other scripts in sprite v]\nforever\n    play sound (Music) until done\nend\n\n@Lag is cringe\n\n@Player\n\nwhen flag clicked\nhide\nset [?paused v] to [1]\nbroadcast (Setup v)\nSetup\nforever\n    if <<(?Paused) = [0]> and <(?Clone) = [0]>> then\n        broadcast (Tick v)\n    end\n    if <<(?Paused) = [1]> and <(?Clone) = [0]>> then\n        broadcast (MenuTick v)\n    end\nend\n\ndefine Actions\nNote: [Input checks and velocity changes starts below]\nset [?running v] to (?AutoRun)\nif <<key (space v) pressed?> or <<mouse down?> and <([abs v] of ((mouse x) - (x position)) ) > [75]>>> then\n    set [?running v] to [1]\nend\nset [xv v] to ((xV) * ((0.9) - (((?TouchingWater) * (0.1)) + (<<(?Running) = [0]> and <(?TouchingWater) = [0]>> * (0.1)))))\nset [yv v] to ((yV) * ((0.95) - (<(?TouchingWater) = [1]> * (0.2))))\nif <<<(?TouchingGround) = [1]> and <(?TouchingWater) = [0]>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <((mouse y) - (15)) > (y position)>> and <(?MouseControlActive) = [1]>>>> then\n    set [yv v] to [11]\n    if <(?LowGraphics) = [0]> then\n        switch costume to (dust v)\n        repeat (7)\n            create clone of (_myself_ v)\n        end\n    end\n    start sound [Low Whoosh v]\nend\nif <<(?TouchingWater) = [1]> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <((mouse y) - (15)) > (y position)>> and <(?MouseControlActive) = [1]>>>> then\n    change [yv v] by ((1.1) + ((0.65) * <<(?Running) = [1]> or <<mouse down?> and <((mouse y) - (y position)) > [100]>>>))\nend\nchange [xv v] by (((0.9) + ((((0.3) + ((0.25) * (?TouchingWater))) * (?Running)) - ((0.2) * (?TouchingWater)))) * (<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <((mouse x) - (8)) > (x position)>> and <(?MouseControlActive) = [1]>>> - <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <((mouse x) + (8)) < (x position)>> and <(?MouseControlActive) = [1]>>>))\nchange [yv v] by (<(?TouchingGround) = [0]> * ((-0.8) + (((0.4) * (?TouchingWater)) - (<<not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <((mouse y) - (15)) > (y position)>> and <(?MouseControlActive) = [1]>>>> and <(yV) > [4]>> + (<<(?TouchingWater) = [1]> and <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<<mouse down?> and <((mouse y) + (15)) < (y position)>> and <(?MouseControlActive) = [1]>>>> * (0.6))))))\nif <([abs v] of (xV) ) > [15]> then\n    set [xv v] to ((15) * ((xV) / ([abs v] of (xV) )))\nend\nif <([abs v] of (yV) ) > [15]> then\n    set [yv v] to ((15) * ((yV) / ([abs v] of (yV) )))\nend\nNote: [Collision starts below]\nswitch costume to (hitbox v)\npoint in direction (90)\nchange x by (xV)\nif <touching (ground v)?> then\n    set [slope v] to [0]\n    repeat until <<not <touching (ground v)?>> or <(Slope) > ([abs v] of (xV) )>>\n        change y by (1)\n        change [slope v] by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (() - (Slope))\n        change x by (() - (xV))\n        set [xv v] to [0]\n    else\n        set [xv v] to ((xV) * ((1) - ((0.7) * ([abs v] of ((Slope) / (xV)) ))))\n    end\nelse\n    Water Detection\nend\nchange y by (yV)\nif <touching (ground v)?> then\n    if <(yV) = [0]> then\n        repeat until <not <touching (ground v)?>>\n            change y by (1)\n        end\n        set [?touchingground v] to [1]\n    else\n        if <(yV) > [3]> then\n            start sound [Drum Bass1 v]\n        end\n        repeat until <not <touching (ground v)?>>\n            change y by (() - ((yV) / ([abs v] of (yV) )))\n        end\n    end\n    set [?touchingground v] to (<not <(yV) > [0]>> * (1))\n    set [yv v] to [0]\nelse\n    Water Detection\nend\nif <<touching (danger v)?> or <(y position) < [-175]>> then\n    if <(?LowGraphics) = [0]> then\n        set [?corpse v] to [1]\n        set [xvparticle v] to (xV)\n        set [yvparticle v] to (yV)\n        Set Costume\n        create clone of (_myself_ v)\n        set [?corpse v] to [0]\n    end\n    start sound [Drum Boing v]\n    Reset Player\nend\nNote: [Other business starts below]\nif <<<(?TouchingWater) = [1]> and <<(Cycles) = [0]> or <<(?Running) = [1]> and <((Cycles) mod (2)) = [0]>>>> and <(?LowGraphics) = [0]>> then\n    switch costume to (bubble v)\n    create clone of (_myself_ v)\nend\nSet Costume\nif <<<<(?Running) = [1]> and <((Cycles) mod (3)) = [0]>> and <(?TouchingWater) = [0]>> and <(?LowGraphics) = [0]>> then\n    create clone of (_myself_ v)\nend\nif <(StarsLeft) = [0]> then\n    switch costume to (transed v)\n    set [?trans v] to [1]\n    set [transitiontimeline v] to [0]\nend\nset [cycles v] to ((FrameCounter) mod (12))\nchange [framecounter v] by (1)\nif <(FrameCounter) > [29999999]> then\n    set [framecounter v] to [29999999]\nend\nset [pan left/right v] effect to ((x position) / (3))\n\ndefine Start\nset rotation style [left-right v]\nset size to (90) %\nshow\nset [?trans v] to [0]\nset [?clone v] to [0]\nset [?corpse v] to [0]\nset [?paused v] to [0]\nset [framecounter v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\nset [?touchingground v] to [0]\nset [?touchingwater v] to [0]\nset [level v] to [1]\nset [?mousecontrolactive v] to [0]\nset [starsleft v] to [3]\nrepeat until <not <touching (ground v)?>>\n    change y by (1)\nend\n\ndefine Note: (number or text)\n\nwhen I start as a clone\nCloneSetup\nif <(?Corpse) = [1]> then\n    go to [front v] layer\n    repeat (33)\n        change [yvparticle v] by (-0.8)\n        change [ghost v] effect by (3)\n        change [brightness v] effect by (3)\n        change x by (xVParticle)\n        change y by (yVParticle)\n    end\nelse\n    if <(costume [name v]) = [bubble]> then\n        repeat (50)\n            change x by (xVParticle)\n            change y by (yVParticle)\n            if <<touching (ground v)?> or <not <touching (water v)?>>> then\n                delete this clone\n            end\n            change [ghost v] effect by (1)\n            change size by (-1)\n        end\n    else\n        if <(costume [name v]) = [dust]> then\n            repeat (33)\n                change x by (xVParticle)\n                change y by (yVParticle)\n                if <touching (ground v)?> then\n                    delete this clone\n                end\n                change [ghost v] effect by (3)\n                change [yvparticle v] by (-0.8)\n            end\n        else\n            if <(costume [name v]) = [drop]> then\n                repeat (25)\n                    if <<touching (ground v)?> or <touching (water v)?>> then\n                        delete this clone\n                    end\n                    change x by (xVParticle)\n                    change y by (yVParticle)\n                    change [ghost v] effect by (2)\n                    change size by (-2)\n                    change [yvparticle v] by (-0.8)\n                end\n            else\n                repeat (12)\n                    change [ghost v] effect by (8)\n                end\n            end\n        end\n    end\nend\ndelete this clone\n\ndefine CloneSetup\nset [?clone v] to [1]\nchange x by (() - (xV))\nchange y by (() - (yV))\nif <(costume [name v]) = [bubble]> then\n    set size to (pick random (70) to (100)) %\n    set [xvparticle v] to ((pick random (-10) to (10)) / (10))\n    set [yvparticle v] to ((pick random (8) to (15)) / (10))\n    point in direction (pick random (0) to (179))\n    move (pick random (-10) to (10)) steps\n    change y by (10)\n    set [ghost v] effect to (50)\nend\nif <(costume [name v]) = [dust]> then\n    change x by (pick random (-5) to (5))\n    set [yvparticle v] to [7]\n    repeat until <<touching (ground v)?> or <(yVParticle) = [0]>>\n        change y by (-2)\n        change [yvparticle v] by (-1)\n    end\n    set [yvparticle v] to [7]\n    repeat until <<not <touching (ground v)?>> or <(yVParticle) = [0]>>\n        change y by (2)\n        change [yvparticle v] by (-1)\n    end\n    set [xvparticle v] to ((pick random (-10) to (10)) / (10))\n    set [yvparticle v] to ((pick random (6) to (12)) / (2))\nend\nif <(costume [name v]) = [drop]> then\n    change x by (pick random (-10) to (10))\n    set [yvparticle v] to [5]\n    set [ghost v] effect to (50)\n    repeat until <<<touching (water v)?> or <touching (ground v)?>> or <(yVParticle) = [0]>>\n        change y by (-4)\n        change [yvparticle v] by (-1)\n    end\n    set [yvparticle v] to [20]\n    repeat until <<not <<touching (water v)?> or <touching (ground v)?>>> or <(yVParticle) = [0]>>\n        change y by (1)\n        change [yvparticle v] by (-1)\n    end\n    set [xvparticle v] to ((pick random (-20) to (20)) / (10))\n    set [yvparticle v] to ((pick random (12) to (20)) / (2))\nend\n\nwhen I receive [tick v]\nif <(?Clone) = [0]> then\n    if <(?Trans) = [0]> then\n        Actions\n    else\n        Trans Actions, Trans Rights\n    end\nend\n\ndefine Set Costume\nif <(?TouchingGround) = [1]> then\n    if <<(?TouchingWater) = [1]> or <([abs v] of (xV) ) < [0.5]>> then\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<<mouse down?> and <((mouse y) + (30)) < (y position)>> and <(?MouseControlActive) = [1]>>> then\n            switch costume to (waterfall v)\n        else\n            if <([abs v] of (xV) ) < [0.5]> then\n                switch costume to (still v)\n            else\n                switch costume to ((3) + ([floor v] of ((Cycles) / (3)) ))\n            end\n        end\n    else\n        switch costume to ((3) + ([floor v] of ((Cycles) / (3)) ))\n    end\nelse\n    if <(yV) > [8]> then\n        switch costume to (jump1 v)\n    else\n        if <(yV) > [0]> then\n            switch costume to (jump2 v)\n        else\n            if <(?TouchingWater) = [1]> then\n                if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<<mouse down?> and <((mouse y) + (30)) < (y position)>> and <(?MouseControlActive) = [1]>>> then\n                    switch costume to (waterfall v)\n                else\n                    if <(yV) > [-1]> then\n                        if <([abs v] of (xV) ) < [0.5]> then\n                            switch costume to (still v)\n                        else\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <((mouse y) - (30)) > (y position)>> and <(?MouseControlActive) = [1]>>> then\n                                switch costume to (jump2 v)\n                            else\n                                switch costume to ((3) + ([floor v] of ((Cycles) / (3)) ))\n                            end\n                        end\n                    else\n                        switch costume to (fall v)\n                    end\n                end\n            else\n                switch costume to (fall v)\n            end\n        end\n    end\nend\npoint in direction ((xV) / ([abs v] of (xV) ))\n\ndefine Load Level Position Lists\ndelete all of [xstart v]\ndelete all of [ystart v]\nLevel: [1] StartX: [-200] StartY: [0]\nLevel: [2] StartX: [-150] StartY: [-50]\nLevel: [3] StartX: [-220] StartY: [160]\nLevel: [4] StartX: [230] StartY: [140]\nLevel: [5] StartX: [170] StartY: [-20]\nLevel: [6] StartX: [-170] StartY: [-55]\nLevel: [7] StartX: [210] StartY: [170]\nLevel: [8] StartX: [-60] StartY: [-40]\nLevel: [9] StartX: [-185] StartY: [-40]\nLevel: [10] StartX: [0] StartY: [0]\nLevel: [11] StartX: [215] StartY: [120]\nLevel: [12] StartX: [-60] StartY: [170]\nLevel: [13] StartX: [215] StartY: [160]\nLevel: [14] StartX: [215] StartY: [-85]\nLevel: [15] StartX: [-200] StartY: [145]\nLevel: [16] StartX: [-200] StartY: [-100]\nLevel: [17] StartX: [140] StartY: [160]\nLevel: [18] StartX: [0] StartY: [0]\n\ndefine Level: (level) StartX: (startx) StartY: (starty)\ninsert (startx) at (level) of [xstart v] \ninsert (starty) at (level) of [ystart v] \n\nwhen [r v] key pressed\nReset Player\n\ndefine Reset Player\nhide\nbroadcast (LevelStart v)\nset [xv v] to [0]\nset [yv v] to [0]\nset [?touchingground v] to [0]\nset [?touchingwater v] to [0]\ngo to [back v] layer\ngo [forward v] (5) layers\ngo to x: (item (Level) of [xstart v]) y: (item (Level) of [ystart v])\nshow\n\ndefine Trans Actions, Trans Rights\nif <(TransitionTimeline) > [19]> then\n    if <(Level) > [17]> then\n        hide\n        clear graphic effects\n        switch costume to (still v)\n        broadcast (GameWin v)\n        change [☁ clears v] by (1)\n        set [?paused v] to [1]\n        set [level v] to [19]\n    else\n        clear graphic effects\n        switch costume to (still v)\n        change [level v] by (1)\n        Reset Player\n        set [?trans v] to [0]\n    end\nelse\n    change [transitiontimeline v] by (1)\n    change [brightness v] effect by (-6)\nend\n\ndefine Water Detection\nif <touching (water v)?> then\n    if <(?TouchingWater) = [0]> then\n        start sound [Splash v]\n        if <(?LowGraphics) = [0]> then\n            switch costume to (drop v)\n            repeat (7)\n                create clone of (_myself_ v)\n            end\n        end\n    end\n    set [?touchingwater v] to [1]\n    set [?touchingground v] to [0]\nelse\n    if <(?TouchingWater) = [1]> then\n        change [yv v] by (([abs v] of (yV) ) / (2))\n        start sound [Splash v]\n        if <(?LowGraphics) = [0]> then\n            switch costume to (drop v)\n            repeat (7)\n                create clone of (_myself_ v)\n            end\n        end\n    end\n    set [?touchingwater v] to [0]\n    change y by (() - ((([abs v] of (xV) ) / ((1) + (?Running))) + (1)))\n    if <not <touching (ground v)?>> then\n        change y by ((([abs v] of (xV) ) / ((1) + (?Running))) + (1))\n        set [?touchingground v] to [0]\n    else\n        repeat until <not <touching (ground v)?>>\n            change y by (1)\n        end\n        set [?touchingground v] to [1]\n    end\nend\n\ndefine Setup\nset [music v] to [1]\nset [?timershown v] to [0]\nset [?lowgraphics v] to [0]\nset [?autorun v] to [0]\nset [?texthidden v] to [0]\nset [?nightsky v] to [0]\nset [level v] to [19]\nset [framecounter v] to [0]\n\nwhen I receive [flag v]\nLoad Level Position Lists\nReset Player\nStart\nReset Player\n\ngo to [back v] layer\ngo [forward v] (5) layers\n\n@Goal\n\nwhen I receive [tick v]\nActions\n\nwhen I receive [levelstart v]\nif <(Clone) = [0]> then\n    set [starsleft v] to [1]\n    clear graphic effects\n    set size to (100) %\n    point in direction (90)\n    set [active v] to [1]\n    set [clone v] to [1]\n    show\n    if <(Level) = [1]> then\n        Load Clone X: [-90] Y: [-75]\n        Load Clone X: [20] Y: [-30]\n        Load Clone X: [160] Y: [-80]\n    end\n    if <(Level) = [2]> then\n        Load Clone X: [-80] Y: [-60]\n        Load Clone X: [35] Y: [-20]\n        Load Clone X: [145] Y: [65]\n        Load Clone X: [220] Y: [30]\n    end\n    if <(Level) = [3]> then\n        Load Clone X: [80] Y: [0]\n        Load Clone X: [180] Y: [0]\n        Load Clone X: [135] Y: [-95]\n        Load Clone X: [-55] Y: [-90]\n        Load Clone X: [-200] Y: [-70]\n    end\n    if <(Level) = [4]> then\n        Load Clone X: [-30] Y: [35]\n        Load Clone X: [-120] Y: [100]\n        Load Clone X: [45] Y: [155]\n    end\n    if <(Level) = [5]> then\n        Load Clone X: [100] Y: [140]\n        Load Clone X: [100] Y: [-50]\n        Load Clone X: [-212] Y: [152]\n    end\n    if <(Level) = [6]> then\n        Load Clone X: [35] Y: [-100]\n        Load Clone X: [85] Y: [135]\n        Load Clone X: [45] Y: [140]\n        Load Clone X: [5] Y: [145]\n        Load Clone X: [-160] Y: [140]\n        Load Clone X: [-180] Y: [125]\n        Load Clone X: [-195] Y: [105]\n    end\n    if <(Level) = [7]> then\n        Load Clone X: [75] Y: [165]\n        Load Clone X: [-190] Y: [100]\n        Load Clone X: [-150] Y: [-75]\n        Load Clone X: [-110] Y: [-140]\n        Load Clone X: [20] Y: [-65]\n        Load Clone X: [150] Y: [-37]\n        Load Clone X: [215] Y: [10]\n    end\n    if <(Level) = [8]> then\n        Load Clone X: [-170] Y: [-30]\n        Load Clone X: [225] Y: [-100]\n        Load Clone X: [20] Y: [22]\n        Load Clone X: [200] Y: [140]\n        Load Clone X: [-200] Y: [160]\n        Load Clone X: [-225] Y: [50]\n    end\n    if <(Level) = [9]> then\n        Load Clone X: [-185] Y: [50]\n        Load Clone X: [-25] Y: [-10]\n        Load Clone X: [195] Y: [130]\n    end\n    if <(Level) = [10]> then\n        Load Clone X: [0] Y: [110]\n        Load Clone X: [-130] Y: [-110]\n        Load Clone X: [120] Y: [50]\n        Load Clone X: [115] Y: [-50]\n        Load Clone X: [60] Y: [-5]\n        Load Clone X: [180] Y: [-15]\n    end\n    if <(Level) = [11]> then\n        Load Clone X: [0] Y: [0]\n    end\n    if <(Level) = [12]> then\n        Load Clone X: [-200] Y: [95]\n        Load Clone X: [-210] Y: [45]\n        Load Clone X: [-215] Y: [-10]\n        Load Clone X: [220] Y: [-55]\n        Load Clone X: [60] Y: [115]\n    end\n    if <(Level) = [13]> then\n        Load Clone X: [-205] Y: [-30]\n        Load Clone X: [-175] Y: [35]\n        Load Clone X: [-155] Y: [160]\n        Load Clone X: [-73] Y: [165]\n        Load Clone X: [0] Y: [60]\n    end\n    if <(Level) = [14]> then\n        Load Clone X: [100] Y: [-145]\n        Load Clone X: [50] Y: [-102]\n        Load Clone X: [-9] Y: [-95]\n        Load Clone X: [-65] Y: [-110]\n        Load Clone X: [-120] Y: [-145]\n        Load Clone X: [-170] Y: [-30]\n        Load Clone X: [-4] Y: [0]\n        Load Clone X: [85] Y: [70]\n        Load Clone X: [180] Y: [30]\n        Load Clone X: [130] Y: [-35]\n        Load Clone X: [-130] Y: [85]\n    end\n    if <(Level) = [15]> then\n        Load Clone X: [200] Y: [135]\n    end\n    if <(Level) = [16]> then\n        Load Clone X: [-35] Y: [115]\n    end\n    if <(Level) = [17]> then\n        Load Clone X: [-180] Y: [100]\n        Load Clone X: [-53] Y: [-5]\n        Load Clone X: [200] Y: [80]\n        Load Clone X: [180] Y: [0]\n        Load Clone X: [200] Y: [-125]\n    end\n    if <(Level) = [18]> then\n        Load Clone X: [0] Y: [50]\n        Load Clone X: [0] Y: [-111]\n        Load Clone X: [-20] Y: [75]\n        Load Clone X: [20] Y: [75]\n        Load Clone X: [-50] Y: [95]\n        Load Clone X: [50] Y: [95]\n        Load Clone X: [-85] Y: [103]\n        Load Clone X: [85] Y: [103]\n        Load Clone X: [-125] Y: [95]\n        Load Clone X: [125] Y: [95]\n        Load Clone X: [-150] Y: [65]\n        Load Clone X: [150] Y: [65]\n        Load Clone X: [-140] Y: [28]\n        Load Clone X: [140] Y: [28]\n        Load Clone X: [-115] Y: [-6]\n        Load Clone X: [115] Y: [-6]\n        Load Clone X: [-90] Y: [-35]\n        Load Clone X: [90] Y: [-35]\n        Load Clone X: [-60] Y: [-65]\n        Load Clone X: [60] Y: [-65]\n        Load Clone X: [-30] Y: [-90]\n        Load Clone X: [30] Y: [-90]\n    end\n    change [starsleft v] by (-1)\n    set [active v] to [0]\n    set [clone v] to [0]\n    go to x: (0) y: (0)\n    hide\nelse\n    delete this clone\nend\n\ndefine Load Clone X: (xstart) Y: (ystart)\ngo to x: (xstart) y: (ystart)\nchange [starsleft v] by (1)\nswitch costume to (pick random (1) to (4))\ncreate clone of (_myself_ v)\n\ndefine Actions\nif <(Clone) = [1]> then\n    if <(Active) = [1]> then\n        if <(?LowGraphics) = [0]> then\n            point in direction ((100) * ([sin v] of (FrameCounter) ))\n            set size to ((100) + ((25) * ([cos v] of (FrameCounter) ))) %\n            if <<(Level) > [11]> and <(Level) < [16]>> then\n                set [brightness v] effect to ((10) + ((10) * ([sin v] of ((2) * (FrameCounter)) )))\n            end\n        end\n        if <(distance to [player v]) < [20]> then\n            set [active v] to ((10) + (costume [number v]))\n            change [starsleft v] by (-1)\n            start sound [C v]\n            set [pan left/right v] effect to ((x position) / (3))\n        end\n    else\n        if <<(StarsLeft) = [0]> and <(Active) < [20]>> then\n            start sound [G v]\n        end\n        if <<(?LowGraphics) = [0]> and <(Active) < [100]>> then\n            change size by (-10)\n            turn right (15) degrees\n            change [ghost v] effect by (10)\n            change [brightness v] effect by (10)\n            change [active v] by (10)\n            switch costume to (particle v)\n            set [clone v] to [2]\n            create clone of (_myself_ v)\n            switch costume to (letter (2) of (Active))\n            set [clone v] to [1]\n        else\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <<(Clone) = [1]> and <<(Level) > [15]> and <(Level) < [19]>>> then\n    go to [front v] layer\nend\nif <(Clone) = [2]> then\n    set size to (100) %\n    point in direction (pick random (-179) to (180))\n    repeat (20)\n        move (2) steps\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\n@Ground\n\nwhen I receive [setup v]\nswitch costume to (bounder v)\nset size to (100) %\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [levelstart v]\nswitch costume to (Level)\n\nwhen I receive [gamewin v]\nswitch costume to (bounder v)\n\n@Danger\n\nwhen I receive [flag v]\ngo to [back v] layer\ngo [forward v] (4) layers\nswitch costume to (level1 v)\n\nwhen I receive [levelstart v]\nclear graphic effects\nif <(?Clone) = [0]> then\n    set [?clone v] to [1]\n    set size to (100) %\n    if <(Level) = [12]> then\n        Load Clone X: [-35] Y: [-82]\n    end\n    if <(Level) = [13]> then\n        Load Clone X: [170] Y: [70]\n        Load Clone X: [-90] Y: [40]\n    end\n    if <(Level) = [14]> then\n        Load Clone X: [-190] Y: [65]\n        Load Clone X: [100] Y: [-10]\n    end\n    set [?clone v] to [0]\n    switch costume to (Level)\n    go to x: (0) y: (0)\n    point in direction (90)\nelse\n    delete this clone\nend\n\ndefine Load Clone X: (xstart) Y: (ystart)\nset [turretnumber v] to (pick random (1) to (4))\nswitch costume to (join [turret] (TurretNumber))\ngo to x: (xstart) y: (ystart)\ncreate clone of (_myself_ v)\n\nwhen I receive [tick v]\nif <(?Clone) = [1]> then\n    Turret Actions\nend\nif <(?Clone) = [2]> then\n    Bullet Actions\nend\nif <<(?Clone) = [0]> and <(?LowGraphics) = [0]>> then\n    if <<(Level) > [11]> and <(Level) < [16]>> then\n        set [brightness v] effect to ((10) * ([cos v] of ((2) * (FrameCounter)) ))\n    end\nend\n\ndefine Turret Actions\nturn right (2) degrees\nif <(Cycles) = [0]> then\n    switch costume to (bullet v)\n    set [?clone v] to [2]\n    set [size v] to [100]\n    if <(?LowGraphics) = [0]> then\n        set [brightness v] effect to (35)\n    end\n    create clone of (_myself_ v)\n    switch costume to (join [turret] (TurretNumber))\n    set [?clone v] to [1]\nend\nif <(?LowGraphics) = [0]> then\n    set [brightness v] effect to ((8) * ([sin v] of ((5) * (FrameCounter)) ))\nend\n\ndefine Bullet Actions\nmove (2) steps\nif <(?LowGraphics) = [0]> then\n    change size by (-0.5)\n    change [size v] by (-0.5)\n    change [brightness v] effect by (-0.5)\n    repeat until <<not <<<touching (ground v)?> or <touching (water v)?>> or <touching (_edge_ v)?>>> or <(Size) < [30]>>\n        change size by (-10)\n        change [brightness v] effect by (-10)\n        change [size v] by (-10)\n    end\nelse\n    change size by (-0.5)\n    change [size v] by (-0.5)\n    if <<<<touching (ground v)?> or <touching (water v)?>> or <touching (_edge_ v)?>> or <(Size) < [30]>> then\n        delete this clone\n    end\nend\nif <(Size) < [30]> then\n    delete this clone\nend\n\nwhen I receive [setup v]\nswitch costume to (level1 v)\n\n@Water\n\nwhen I receive [setup v]\nset [?clone v] to [0]\nswitch costume to (level1 v)\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\n\nwhen I receive [levelstart v]\nif <(?Clone) = [0]> then\n    set [?clone v] to [1]\n    set [ghost v] effect to (45)\n    switch costume to (bubble v)\n    set size to (100) %\n    if <(Level) = [9]> then\n        Load Clone X: [-100] Y: [-80]\n        Load Clone X: [-40] Y: [-120]\n        Load Clone X: [80] Y: [-80]\n        Load Clone X: [100] Y: [10]\n        Load Clone X: [195] Y: [130]\n    end\n    if <(Level) = [10]> then\n        Load Clone X: [60] Y: [-45]\n        Load Clone X: [-65] Y: [-25]\n        Load Clone X: [-115] Y: [-50]\n        Load Clone X: [-210] Y: [125]\n        Load Clone X: [120] Y: [50]\n        Load Clone X: [165] Y: [-60]\n    end\n    if <(Level) = [11]> then\n        Load Clone X: [-70] Y: [-135]\n        Load Clone X: [5] Y: [-140]\n        Load Clone X: [85] Y: [-135]\n        Load Clone X: [180] Y: [-65]\n        Load Clone X: [190] Y: [0]\n        Load Clone X: [175] Y: [70]\n    end\n    if <(Level) = [14]> then\n        Load Clone X: [-170] Y: [-30]\n        Load Clone X: [-9] Y: [-40]\n        Load Clone X: [0] Y: [40]\n        Load Clone X: [180] Y: [30]\n    end\n    set [?clone v] to [0]\n    set [ghost v] effect to (45)\n    switch costume to (Level)\n    go to x: (0) y: (0)\n    point in direction (90)\nelse\n    delete this clone\nend\n\nwhen I receive [tick v]\nif <(?Clone) = [0]> then\n    set y to ((8) * ([sin v] of ((3) * (FrameCounter)) ))\nelse\n    if <(?LowGraphics) = [0]> then\n        if <(distance to [player v]) < [50]> then\n            if <(Size) < [30]> then\n                change [size v] by (5)\n            else\n                set [size v] to [30]\n            end\n        else\n            set [size v] to ((Size) / (1.5))\n        end\n        point in direction ((10) * ([sin v] of (FrameCounter) ))\n        set size to ((100) + ((Size) + ((5) * ([cos v] of (FrameCounter) )))) %\n    else\n        if <(distance to [player v]) < [50]> then\n            set size to (130) %\n        else\n            set size to (100) %\n        end\n    end\nend\n\ndefine Load Clone X: (xstart) Y: (ystart)\ngo to x: (xstart) y: (ystart)\ncreate clone of (_myself_ v)\n\nif <(Level) = [9]> then\n    Load Clone X: [-100] Y: [-100]\nend\n\nset y to ((8) * ([sin v] of ((3) * (FrameCounter)) ))\n\n@Foreground\n\nwhen I receive [levelstart v]\nswitch costume to (Level)\nclear graphic effects\n\nwhen I receive [setup v]\nswitch costume to (level18 v)\nset size to (100) %\nshow\n\nwhen I receive [tick v]\nif <(?LowGraphics) = [0]> then\n    if <<(Level) > [11]> and <(Level) < [16]>> then\n        set [brightness v] effect to (((15) * ([cos v] of ((4) * (FrameCounter)) )) - (15))\n    end\nend\n\n@Background\n\nwhen I receive [levelstart v]\nif <(?Clone) = [0]> then\n    if <<(Level) > [15]> and <(Level) < [19]>> then\n        Load Animations\n    end\n    switch costume to (Level)\nelse\n    delete this clone\nend\n\nwhen I receive [setup v]\ngo to [back v] layer\nset size to (100) %\nshow\nswitch costume to (title v)\n\ndefine Load Animations\nswitch costume to (animation1 v)\nset [?clone v] to [1]\nset [spinspeed v] to [-3.5]\nrepeat (8)\n    create clone of (_myself_ v)\n    change [spinspeed v] by (1)\n    next costume\nend\nset [?clone v] to [0]\nset [spinspeed v] to [0]\n\nwhen I receive [tick v]\nif <(?Clone) = [1]> then\n    turn right (SpinSpeed) degrees\nend\n\nwhen I start as a clone\ngo [forward v] (8) layers\n\nwhen I receive [gamewin v]\nif <(?Clone) = [0]> then\n    switch costume to (title v)\nelse\n    delete this clone\nend\n\n@UI\n\nwhen I receive [tick v]\nMenu Actions\nif <(?Clone) = [0]> then\n    if <mouse down?> then\n        set [?mouseup v] to [0]\n    else\n        set [?mouseup v] to [1]\n    end\nend\n\ndefine Menu Actions\nif <(costume [number v]) = [2]> then\n    if <touching (mouse-pointer v)?> then\n        set [?mousecontrolactive v] to [0]\n        set [brightness v] effect to (-20)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?Paused) = [0]> then\n                set [?paused v] to [1]\n                broadcast (Pause v)\n            else\n                set [?paused v] to [0]\n                broadcast (Unpause v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        if <(?Unpause) = [0]> then\n            set [?mousecontrolactive v] to [1]\n        else\n            set [?mousecontrolactive v] to [0]\n        end\n        set [brightness v] effect to (0)\n    end\nend\nif <(costume [number v]) = [3]> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(Level) = [19]> then\n                broadcast (Unpause v)\n                broadcast (MainMenu v)\n                Load Costume [56]\n                Load Costume [57]\n                set [brightness v] effect to (0)\n                switch costume to (stars v)\n            else\n                set [?paused v] to [0]\n                broadcast (Unpause v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <(costume [number v]) = [4]> then\n    if <touching (mouse-pointer v)?> then\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            set [?pickedup v] to [1]\n        end\n    end\n    if <(?PickedUp) = [1]> then\n        if <mouse down?> then\n            set x to (mouse x)\n            if <(x position) < [-38]> then\n                set x to (-38)\n            end\n            if <(x position) > [70]> then\n                set x to (70)\n            end\n        else\n            set [?pickedup v] to [0]\n        end\n    end\n    set [volumelevel v] to (((x position) / (1.08)) + ((35) + ((5) / (27))))\nend\nif <<(costume [number v]) = [6]> or <(costume [number v]) = [7]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (12)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?TimerShown) = [0]> then\n                set [?timershown v] to [1]\n                broadcast (ShowTimer v)\n                switch costume to (timer on v)\n            else\n                set [?timershown v] to [0]\n                broadcast (HideTimer v)\n                switch costume to (timer off v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <<(costume [number v]) = [8]> or <(costume [number v]) = [9]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?LowGraphics) = [0]> then\n                set [?lowgraphics v] to [1]\n                switch costume to (fast graphics v)\n            else\n                set [?lowgraphics v] to [0]\n                switch costume to (fancy graphics v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <<(costume [number v]) = [10]> or <(costume [number v]) = [11]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?NightSky) = [0]> then\n                set [?nightsky v] to [1]\n                switch backdrop to (night v)\n                switch costume to (night sky v)\n            else\n                set [?nightsky v] to [0]\n                switch backdrop to (day v)\n                switch costume to (day sky v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <<(costume [number v]) = [12]> or <(costume [number v]) = [13]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?TextHidden) = [0]> then\n                set [?texthidden v] to [1]\n                switch costume to (text off v)\n            else\n                set [?texthidden v] to [0]\n                switch costume to (text on v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <<(costume [number v]) = [14]> or <(costume [number v]) = [15]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(?AutoRun) = [0]> then\n                set [?autorun v] to [1]\n                switch costume to (auto run on v)\n            else\n                set [?autorun v] to [0]\n                switch costume to (auto run off v)\n            end\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <<(costume [number v]) > [15]> and <(costume [number v]) < [22]>> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            if <(Music) > [5]> then\n                set [music v] to [1]\n            else\n                change [music v] by (1)\n            end\n            set [?mouseup v] to [0]\n            broadcast (MusicChange v)\n            switch costume to ((15) + (Music))\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <(TimerPlace) > [0]> then\n    if <(?RecordTimer) = [1]> then\n        if <((length of (☁ World Record)) + (TimerPlace)) > [7]> then\n            show\n            switch costume to (join [no] (letter (((TimerPlace) - (7)) + (length of (☁ World Record))) of (☁ World Record)))\n        else\n            if <(TimerPlace) > [5]> then\n                show\n                switch costume to (no0 v)\n            else\n                hide\n            end\n        end\n    else\n        if <((length of ([floor v] of ((FrameCounter) / (3)) )) + (TimerPlace)) > [7]> then\n            show\n            switch costume to (join [no] (letter (((TimerPlace) - (7)) + (length of ([floor v] of ((FrameCounter) / (3)) ))) of ([floor v] of ((FrameCounter) / (3)) )))\n        else\n            if <(TimerPlace) > [5]> then\n                show\n                switch costume to (no0 v)\n            else\n                hide\n            end\n        end\n    end\n    if <<(Level) > [15]> and <(Level) < [19]>> then\n        set [brightness v] effect to (-35)\n    else\n        clear graphic effects\n    end\nend\nif <(costume [number v]) = [32]> then\n    if <<(Level) > [15]> and <(Level) < [19]>> then\n        set [brightness v] effect to (-35)\n    else\n        clear graphic effects\n    end\nend\nif <<(costume [number v]) > [32]> and <(costume [number v]) < [51]>> then\n    if <(?TextHidden) = [0]> then\n        clear graphic effects\n    else\n        set [ghost v] effect to (100)\n    end\nend\nif <(costume [number v]) = [56]> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            set [level v] to [1]\n            broadcast (Flag v)\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <(costume [number v]) = [57]> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            broadcast (Pause v)\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\nif <(costume [number v]) = [62]> then\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <(?MouseUp) = [1]>> then\n            broadcast (MainMenu v)\n            broadcast (HideTimer v)\n            set [brightness v] effect to (0)\n            switch costume to (stars v)\n            set [?mouseup v] to [0]\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [menutick v]\nMenu Actions\nif <(?Clone) = [0]> then\n    if <mouse down?> then\n        set [?mouseup v] to [0]\n    else\n        set [?mouseup v] to [1]\n    end\nend\n\nwhen I receive [flag v]\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    Load Costume [2]\n    Load Costume [33]\n    switch costume to (governor v)\n    go to x: (0) y: (0)\n    set [timerplace v] to [0]\n    set size to (100) %\n    show\n    set [?unpause v] to [1]\n    set [?mousecontrolactive v] to [0]\n    wait until <not <mouse down?>>\n    set [?unpause v] to [0]\n    set [?mousecontrolactive v] to [1]\nelse\n    if <<(costume [number v]) > [21]> and <(costume [number v]) < [33]>> then\n        go to [front v] layer\n    else\n        delete this clone\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nif <(costume [number v]) = [5]> then\n    go [backward v] (2) layers\nend\nif <(TimerPlace) > [0]> then\n    if <(?RecordTimer) = [1]> then\n        if <((length of (☁ World Record)) + (TimerPlace)) > [7]> then\n            show\n            switch costume to (join [no] (letter (((TimerPlace) - (7)) + (length of (☁ World Record))) of (☁ World Record)))\n        else\n            if <(TimerPlace) > [5]> then\n                show\n                switch costume to (no0 v)\n            else\n                hide\n            end\n        end\n    else\n        if <((length of ([floor v] of ((FrameCounter) / (3)) )) + (TimerPlace)) > [7]> then\n            show\n            switch costume to (join [no] (letter (((TimerPlace) - (7)) + (length of ([floor v] of ((FrameCounter) / (3)) ))) of ([floor v] of ((FrameCounter) / (3)) )))\n        else\n            if <(TimerPlace) > [5]> then\n                show\n                switch costume to (no0 v)\n            else\n                hide\n            end\n        end\n    end\n    if <<(Level) > [15]> and <(Level) < [19]>> then\n        set [brightness v] effect to (-35)\n    else\n        clear graphic effects\n    end\nend\nif <(costume [number v]) = [32]> then\n    if <<(Level) > [15]> and <(Level) < [19]>> then\n        set [brightness v] effect to (-35)\n    else\n        clear graphic effects\n    end\nend\nif <<(costume [number v]) > [32]> and <(costume [number v]) < [51]>> then\n    go [backward v] (2) layers\n    if <(?TextHidden) = [0]> then\n        show\n    else\n        hide\n    end\nend\nif <(costume [number v]) = [51]> then\n    set x to (-180)\n    set [ghost v] effect to (100)\n    wait (3) seconds\n    repeat (20)\n        change x by (9)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    broadcast (MenuText v)\nend\nif <(costume [number v]) = [52]> then\n    set [ghost v] effect to (100)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nif <(costume [number v]) = [53]> then\n    set y to (180)\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    repeat (20)\n        change y by (-9)\n        change [ghost v] effect by (-5)\n    end\nend\n\ndefine Load Costume (costume)\nset [?clone v] to [1]\nswitch costume to (costume)\ncreate clone of (_myself_ v)\nset [?clone v] to [0]\nswitch costume to (governor v)\n\nwhen I receive [unpause v]\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    if <(Level) = [19]> then\n        Load Costume [54]\n        Load Costume [55]\n    end\n    set [?unpause v] to [1]\n    set [?mousecontrolactive v] to [0]\n    wait until <not <mouse down?>>\n    set [?unpause v] to [0]\n    set [?mousecontrolactive v] to [1]\nelse\n    if <<<(costume [number v]) > [2]> and <(costume [number v]) < [22]>> or <(costume [number v]) = [1]>> then\n        delete this clone\n    end\nend\n\nwhen I receive [pause v]\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    ​​log​​ (join (costume [name v]) (?Clone))\n    set x to (0)\n    Load Costume [3]\n    set x to (((VolumeLevel) - ((35) + ((5) / (27)))) * (1.08))\n    Load Costume [4]\n    set x to (0)\n    Load Costume [5]\n    Load Costume ((6) + (?TimerShown))\n    Load Costume ((8) + (?LowGraphics))\n    Load Costume ((10) + (?NightSky))\n    Load Costume ((12) + (?TextHidden))\n    Load Costume ((14) + (?AutoRun))\n    Load Costume ((15) + (Music))\n    switch costume to (governor v)\nelse\n    if <<(costume [number v]) = [3]> or <<(costume [number v]) > [53]> or <(costume [number v]) = [1]>>> then\n        delete this clone\n    end\nend\n\nwhen I receive [showtimer v]\nif <(?Clone) = [0]> then\n    go to x: (199) y: (-170)\n    Load Timer\nend\n\nwhen I receive [hidetimer v]\nif <<(costume [number v]) > [21]> and <(costume [number v]) < [33]>> then\n    delete this clone\nend\n\ndefine Load Timer\nset [timerplace v] to [0]\nrepeat (6)\n    change [timerplace v] by (1)\n    change x by (4)\n    Load Costume [22]\nend\nchange x by (3)\nset [timerplace v] to [0]\nLoad Costume [32]\nset [timerplace v] to [7]\nchange x by (3)\nLoad Costume [22]\ngo to x: (0) y: (0)\nset [timerplace v] to [0]\nswitch costume to (governor v)\n\nwhen I receive [levelstart v]\nif <(costume [number v]) > [32]> then\n    switch costume to (join [level] (Level))\nend\n\nwhen I receive [gamewin v]\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    if <(([floor v] of ((FrameCounter) / (3)) ) / (10)) < (☁ World Record)> then\n        set [☁ world record v] to (([floor v] of ((FrameCounter) / (3)) ) / (10))\n        if <not <(letter ((length of (☁ World Record)) - (1)) of (☁ World Record)) = [.]>> then\n            set [☁ world record v] to (join (☁ World Record) [.0])\n        end\n    end\n    Load Costume [58]\n    Load Costume [59]\n    Load Costume [60]\n    Load Costume [61]\n    Load Costume [62]\n    switch costume to (governor v)\n    go to x: (28) y: (14)\n    Load Big Timer\n    go to x: (38) y: (-40)\n    set [?recordtimer v] to [1]\n    Load Weird Timer\n    go to x: (0) y: (0)\n    set [?recordtimer v] to [0]\n    set size to (100) %\nelse\n    delete this clone\nend\n\nwhen I receive [setup v]\nshow\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    Load Costume [51]\n    Load Costume [52]\n    Load Costume [53]\n    switch costume to (governor v)\nelse\n    delete this clone\nend\n\nwhen I receive [menutext v]\nif <<(costume [number v]) > [50]> and <(costume [number v]) < [54]>> then\n    repeat (10)\n        change size by (5)\n        change [ghost v] effect by (10)\n    end\n    if <(costume [number v]) > [51]> then\n        set size to (100) %\n        switch costume to ((costume [number v]) + (2))\n        clear graphic effects\n        if <(costume [number v]) = [54]> then\n            broadcast (MainMenu v)\n        end\n        if <(costume [number v]) = [55]> then\n            delete this clone\n        end\n    else\n        delete this clone\n    end\nend\n\ndefine Load Big Timer\nset size to (250) %\nset [timerplace v] to [0]\nrepeat (6)\n    change [timerplace v] by (1)\n    change x by (10)\n    Load Costume [22]\nend\nchange x by (7)\nset [timerplace v] to [0]\nLoad Costume [32]\nset [timerplace v] to [7]\nchange x by (7)\nLoad Costume [22]\nset [timerplace v] to [0]\nswitch costume to (governor v)\n\nwhen I receive [mainmenu v]\nif <<(?Clone) = [0]> and <(costume [number v]) = [1]>> then\n    go to x: (0) y: (0)\n    Load Costume [54]\n    Load Costume [55]\n    Load Costume [56]\n    Load Costume [57]\n    switch costume to (governor v)\nelse\n    if <<(costume [number v]) > [56]> and <(costume [number v]) < [62]>> then\n        delete this clone\n    end\nend\n\nif <(costume [number v]) = [2]> then\n    set [?unpause v] to [1]\n    wait until <not <mouse down?>>\n    set [?unpause v] to [0]\nend\n\nforever\n    broadcast (MenuTick v)\nend\n\ndefine Load Weird Timer\nset size to (250) %\nset [timerplace v] to [0]\nrepeat (5)\n    change [timerplace v] by (1)\n    change x by (10)\n    Load Costume [22]\nend\nchange x by (7)\nset [timerplace v] to [0]\nLoad Costume [32]\nset [timerplace v] to [7]\nchange x by (7)\nLoad Costume [22]\nset [timerplace v] to [0]\nswitch costume to (governor v)\n\nLoad Big Timer\n\nset [?mouseup v] to [0]\n\nclear graphic effects\nswitch costume to (a platformer v)\n\nclear graphic effects\nswitch costume to (play now v)\n\nclear graphic effects\nswitch costume to (menu options v)\n\n\n    delete this clone\nend\nif <(costume [number v]) = [60]> then\n    delete this clone\nend\nif <(costume [number v]) = [61]> then\n    delete this clone\nend\n\nswitch costume to (stars v)\n\n