Mario Platformer!

Instructions: ➊ Use ARROW keys, ASDW, touchscreen or mouse.\n➋ Press SPACEBAR to chop, hit or craft.\n❸ Love, Follow and Fav! Also this is not a copy, it’s a version of the game =)\nPress M to turn off shuffle music and change the track.\n     ---------------Search Tags-----------------------\n#games #minecraft  #platformer #platform #music #1  #animation #atomicmagicnumber  #episode #mobile\n#mario #2020 #popular #famous #game #ipad #tablet\n#touchscreen #jump #top #fun #episode

@Stage\n\nwhen I receive [gamemusic v]\nforever\n    set [track v] to [1]\n    play sound [SUPER MARIO RUN \(Trap Remix\) v] until done\n    set [track v] to [2]\n    play sound [minecraft_holder_trap_remix v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (yellow v)\nset [track v] to [1]\n\nwhen I receive [levelup v]\nBackdrops\n\nwhen I receive [gameover v]\nswitch backdrop to (won v)\n\nwhen I receive [instructionsstickers v]\nwait (0.1) seconds\nswitch backdrop to (startscreen2 v)\n\nwhen I receive [start v]\nBackdrops\n\nwhen [m v] key pressed\nstop [other scripts in sprite v]\nchange [track v] by (1)\nstop all sounds\nforever\n    if <(track) = [1]> then\n        play sound [SUPER MARIO RUN \(Trap Remix\) v] until done\n    end\n    if <(track) = [2]> then\n        play sound [minecraft_holder_trap_remix v] until done\n    end\n    if <(track) = [3]> then\n    if <(track) = [4]> then\n        set [track v] to [1]\n    end\nend\n\nswitch backdrop to (1 v)\n\nbroadcast (gameover v)\n\n\n\ndefine Backdrops\nswitch backdrop to (Level)\nclear graphic effects\nif <(Level) = [4]> then\n    set [brightness v] effect to (-10)\nend\n\nset [color v] effect to (4)\n\nwhen stage clicked\nchange [xp v] by (12)\n\n@Platforms\n\nwhen I receive [levelup v]\nif <(Level) = [9]> then\n    broadcast (gameover v)\nelse\n    switch costume to (Level)\nend\n\nwhen I receive [start v]\nshow\nswitch costume to (Level)\n\nwhen I receive [restartlevel v]\nswitch costume to (Level)\n\nwhen I receive [launchfirstlevel v]\nswitch costume to (1 v)\nshow\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    change [score v] by (51)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <(score) > (☁ Top Score Earned)> then\n        set [☁ top score earned v] to (score)\n    end\nend\n\nwhen flag clicked\nset [score v] to [0]\n\nwhen flag clicked\nset [xp v] to [0]\nforever\n    wait (0.2) seconds\n    change [xp v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <(XP) > (☁ Top XP)> then\n        set [☁ top xp v] to (XP)\n    end\nend\n\nwhen flag clicked\nforever\n    \nend\n\nchange [☁ top score earned v] by (52222)\n\n@Start End screens\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nswitch costume to (title v)\nshow\ngo to [front v] layer\nclear graphic effects\nset size to (100) %\nbroadcast (gamemusic v)\nwait (1) seconds\nrepeat (40)\n    change [brightness v] effect by (-2.5)\nend\nswitch costume to (title faceplate v)\nrepeat (40)\n    change [brightness v] effect by (2.5)\nend\nswitch costume to (title faceplate2 v)\nbroadcast (Into Blag v) and wait\nwait (8) seconds\nbroadcast (ShowEpisode v)\n\nset [level v] to [2]\nbroadcast (Start v)\n\nwhen I receive [start v]\nhide\nplay sound [start v] until done\n\nwhen I receive [instructionspage v]\nbroadcast (InstructionsStickers v)\n\nrepeat (30)\n    change size by (-1)\n    change y by (1.5)\nend\n\nwhen I receive [gameover v]\nswitch costume to (you win! v)\ngo to [front v] layer\ngo to x: (0) y: (300)\nset size to (100) %\nshow\nglide (1) secs to x: (0) y: (0)\n\nbroadcast (ShowEpisode v)\nswitch costume to (title faceplate v)\n\nrepeat (40)\n    change size by (-1)\n    change y by (1.5)\nend\n\nbroadcast (gameover v)\n\nbroadcast (Into Blag v)\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [mushroom v] by (0.01)\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [power v] by (2.25)\nend\n\n@YellowSticker\n\nwhen I receive [instructionsstickers v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\ncreate clone of (_myself_ v)\nswitch costume to (sticker1 v)\nwait (0.1) seconds\nrepeat (200)\n    change x by (5)\nend\n\nwhen I start as a clone\nswitch costume to (sticker2 v)\nwait (3) seconds\nrepeat (200)\n    change x by (5)\nend\nwait (0.1) seconds\nbroadcast (ShowPlayButton v) and wait\n\nwhen I receive [start v]\nhide\ndelete this clone\n\nwhen [any v] key pressed\nchange [xp v] by (1)\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-400)\n\nwhen I receive [showplaybutton v]\nshow\nset size to (75) %\ngo to [front v] layer\nshow\ngo to x: (0) y: (-450)\nglide (0.8) secs to x: (0) y: (-60)\nforever\n    repeat (10)\n        change size by (0.2)\n        if <<<touching (mouse-pointer v)?> and <mouse down?>> or <key (space v) pressed?>> then\n            broadcast (FadeOutInstructions v)\n            hide\n            stop [this script v]\n        end\n    end\n    repeat (10)\n        change size by (-0.2)\n        if <<<touching (mouse-pointer v)?> and <mouse down?>> or <key (space v) pressed?>> then\n            broadcast (FadeOutInstructions v)\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [start v]\ndelete this clone\n\n@Score\n\nwhen I receive [deletemyball v]\nset size to (215) %\nset [color v] effect to (-25)\nwait (1) seconds\nset size to (190) %\nclear graphic effects\n\nwhen I receive [dollarcollected v]\n\nbroadcast (DollarCollected v)\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (10 v)\n    switch costume to (letter ((length of (Score)) - (Numeral)) of (Score))\nend\n\nwhen I receive [start v]\nhide\nswitch costume to (0 v)\nwait (0.5) seconds\nset size to (60) %\ngo to x: (-90) y: (160)\nset [numeral v] to [0]\ngo to [front v] layer\nrepeat (5)\n    wait (0) seconds\n    create clone of (_myself_ v)\n    change x by (-15)\n    change [numeral v] by (1)\nend\nswitch costume to (score v)\nshow\nset size to (60) %\nforever\n    go to [front v] layer\n    wait (1) seconds\nend\n\nset size to (215) %\nset [color v] effect to (-25)\nwait (1) seconds\nset size to (190) %\nclear graphic effects\n\nwhen flag clicked\nset [brightness v] effect to (-100)\nset [score v] to [0]\nhide\n\nset [brightness v] effect to (100)\n\nwhen I receive [gameover v]\nwait (1) seconds\nshow\nset [brightness v] effect to (-100)\ngo to [front v] layer\nset y to (0)\n\n@Score2\n\nwhen I receive [gameover v]\nwait (1) seconds\nshow\nset [brightness v] effect to (-100)\ngo to [front v] layer\nset y to (-20)\n\nwhen I receive [start v]\nhide\nset size to (40) %\ngo to x: (-150) y: (140)\nset [numeral v] to [0]\nwait (0.5) seconds\ngo to [front v] layer\nrepeat (5)\n    create clone of (_myself_ v)\n    change x by (-10)\n    change [numeral v] by (1)\nend\nswitch costume to (score v)\nshow\nforever\n    if <(Score) > [0]> then\n        if <(Score) > (☁ MinecraftMarioBestEverScore)> then\n            set [☁ minecraftmariobesteverscore v] to (Score)\n        end\n    end\n    wait (1) seconds\nend\n\nwhen I start as a clone\nshow\nswitch costume to (0 v)\nforever\n    switch costume to (10 v)\n    switch costume to (letter ((length of (☁ MinecraftMarioBestEverScore)) - (Numeral)) of (☁ MinecraftMarioBestEverScore))\n    wait (1) seconds\nend\n\nwait (1) seconds\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [brightness v] effect to (-100)\nhide\n\n@lava\n\nwhen flag clicked\ngo to [back v] layer\nhide\ngo to x: (-198) y: (-175)\nrepeat (3)\n    next costume\n    create clone of (_myself_ v)\n    change x by (170)\nend\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    repeat (3)\n        if <touching (controlcharacter v)?> then\n            if <(HoldingBoat?) = [No]> then\n                start sound [Mine v]\n                broadcast (RestartLevel v)\n            end\n        end\n    end\nend\n\nwhen I receive [gameover v]\nwait (0.2) seconds\ndelete this clone\n\nset size to (100) %\n\nset [ghost v] effect to (50)\n\n@HERO\n\nwhen I receive [costumechange v]\nnext costume\nwait (0.05) seconds\nif <<not <(costume [number v]) = [4]>> and <not <(costume [number v]) = [10]>>> then\n    repeat until <<(costume [number v]) = [4]> or <(costume [number v]) = [10]>>\n        next costume\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [levelup v]\nswitch costume to (mariorun24 v)\ngo to [front v] layer\nset size to (25) %\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nControl\n\ngo to [front v] layer\n\nwhen I receive [heropointleft v]\npoint in direction (-90)\nnext costume\n\nwhen I receive [heropointright v]\npoint in direction (90)\nnext costume\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [footsteps v]\nforever\n    if <not <(OldX) = (x position)>> then\n        play sound [Walk v] until done\n    end\n    set [oldx v] to (x position)\nend\n\nwhen I receive [hidemario v]\nhide\n\nwhen I receive [showmario v]\nshow\n\nwhen I receive [shringmario! v]\nset size to (15) %\n\nwhen I receive [restartlevel v]\nControl\n\nwhen I receive [growmario v]\ngo to [front v] layer\nset size to (25) %\n\ngo to [front v] layer\n\nwhen I receive [hugemario v]\ngo to [front v] layer\nset size to (45) %\n\nwhen I receive [intheboat v]\nstop [other scripts in sprite v]\nforever\n    hide\n    go to [front v] layer\n    go to (controlcharacter v)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xvelocity v] by (1.5)\n        point in direction (90)\n        next costume\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xvelocity v] by (-1.5)\n        point in direction (-90)\n        next costume\n    end\nend\n\npoint in direction (90)\nnext costume\n\nshow\nset size to (25) %\n\ndefine Control\nstop [other scripts in sprite v]\nswitch costume to (mariorun24 v)\npoint in direction (90)\nset size to (25) %\ngo to [front v] layer\nbroadcast (Footsteps v)\nshow\nforever\n    go to (controlcharacter v)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xvelocity v] by (1.5)\n        point in direction (90)\n        next costume\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xvelocity v] by (-1.5)\n        point in direction (-90)\n        next costume\n    end\nend\n\nControl\n\nwhen flag clicked\nswitch costume to (mariorun24 v)\n\ngo to [front v] layer\nset size to (25) %\n\nwhen I receive [..mario to front v]\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    change [color v] effect by (25)\nend\n\n@Joystick\n\nwhen I receive [start v]\nwait (0.1) seconds\ngo to x: (162) y: (-90)\nbroadcast (JoyMouseSenseDown v)\nforever\n    if <<mouse down?> and <(mouse y) < [30]>> then\n        point towards (mouse-pointer v)\n        if <<(direction) > [-23]> and <(direction) < [23]>> then\n            switch costume to (n v)\n            broadcast (Upladder? v)\n            if <(ControlOnGround) = [Yes]> then\n                set [yvelocity v] to [5]\n            end\n        end\n        if <<(direction) > [-68]> and <(direction) < [-23]>> then\n            switch costume to (nw v)\n            change [xvelocity v] by (-1.5)\n            broadcast (HeroPointLeft v)\n            broadcast (Upladder? v)\n            if <(ControlOnGround) = [Yes]> then\n                set [yvelocity v] to [5]\n            end\n        end\n        if <<(direction) > [-140]> and <(direction) < [-68]>> then\n            switch costume to (w v)\n            broadcast (HeroPointLeft v)\n            change [xvelocity v] by (-1.5)\n        end\n        if <<(direction) > [23]> and <(direction) < [68]>> then\n            switch costume to (ne v)\n            broadcast (Upladder? v)\n            change [xvelocity v] by (1.5)\n            broadcast (HeroPointRight v)\n            if <(ControlOnGround) = [Yes]> then\n                set [yvelocity v] to [5]\n            end\n        end\n        if <<(direction) > [68]> and <(direction) < [140]>> then\n            broadcast (HeroPointRight v)\n            change [xvelocity v] by (1.5)\n            switch costume to (e v)\n        end\n        if <<(direction) < [-140]> or <(direction) > [140]>> then\n            if <(distance to [mouse-pointer v]) > [55]> then\n                broadcast (#ACTION v) and wait\n                broadcast (#Crafting v)\n                switch costume to (action v)\n                wait (0.3) seconds\n            else\n                switch costume to (south v)\n                broadcast (Downladder v)\n            end\n            wait until <not <mouse down?>>\n        end\n    end\nend\n\nhide\n\nwhen I receive [joymousesensedown v]\nclear graphic effects\nforever\n    if <<mouse down?> and <(mouse y) < [30]>> then\n        show\n        go to [front v] layer\n        set [ghost v] effect to (50)\n        set [joyshowcounter v] to [0]\n    else\n        change [joyshowcounter v] by (1)\n        if <(JoyShowCounter) > [25]> then\n            switch costume to (neutral v)\n        end\n        if <(JoyShowCounter) > [50]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nsay [Hello!] for (2) seconds\n\nwait (0.3) seconds\n\nset [yvelocity v] to [5]\n\n\n\nbroadcast (Upladder? v)\n\nwhen this sprite clicked\nchange [xp v] by (55)\n\n@Layercake\n\nwhen flag clicked\nhide\nrepeat (100)\n    create clone of (_myself_ v)\n    go to [front v] layer\nend\n\n@crafting\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\nCostumeSort\nforever\n    if <(Level) = [5]> then\n        go to x: (141) y: (92)\n        set size to (60) %\n    else\n        go to x: (116) y: (63)\n        set size to (80) %\n    end\nend\n\nif <(letter (1) of (costume [name v])) = [*]> then\n    set size to (100) %\n    repeat (10)\n        change size by (0.5)\n    end\n    repeat (10)\n        change size by (-0.5)\n    end\nend\n\nwhen I receive [nextcraftingstage v]\nnext costume\n\nwhen this sprite clicked\nbroadcast (#Crafting v)\n\nwhen [space v] key pressed\nbroadcast (#Crafting v)\n\nwhen I receive [#crafting v]\nif <(Level) = [1]> then\n    if <(costume [number v]) = [5]> then\n        if <([x position v] of [controlcharacter v]) < [0]> then\n            broadcast (#L1ladder v)\n            next costume\n        else\n            switch costume to (5 v)\n        end\n    end\n    stop [this script v]\nend\nif <(Level) = [2]> then\n    if <(costume [number v]) < [10]> then\n        if <<([y position v] of [controlcharacter v]) > [-34]> and <<([y position v] of [controlcharacter v]) < [-30]> and <([x position v] of [controlcharacter v]) > [111]>>> then\n            if <(#HoldingPickaxe?) = [Yes]> then\n                broadcast (#Level2Dig v)\n                next costume\n                stop [this script v]\n            end\n        end\n    end\n    if <(costume [number v]) = [10]> then\n        broadcast (ArmWithSword v)\n        next costume\n        set [#holdingsword? v] to [Yes]\n        stop [this script v]\n    end\n    stop [this script v]\nend\nif <(Level) = [3]> then\n    if <(costume [number v]) < [16]> then\n        if <<([y position v] of [controlcharacter v]) > [30]> and <<(#HoldingPickaxe?) = [Yes]> and <([x position v] of [controlcharacter v]) > [130]>>> then\n            broadcast (Level3Dig v)\n            next costume\n            stop [this script v]\n        end\n    end\nend\nif <(Level) = [4]> then\n    if <(costume [number v]) < [21]> then\n        if <<([y position v] of [controlcharacter v]) > [50]> and <<(#HoldingPickaxe?) = [Yes]> and <([x position v] of [controlcharacter v]) > [150]>>> then\n            broadcast (Level4Dig v)\n            next costume\n            stop [this script v]\n        end\n    end\n    if <(costume [number v]) = [21 ]> then\n        broadcast (ArmWithSword v)\n        next costume\n        set [#holdingsword? v] to [Yes]\n        stop [this script v]\n    end\n    stop [this script v]\nend\nif <(Level) = [5]> then\n    if <(costume [number v]) < [26]> then\n        if <<<(#HoldingPickaxe?) = [Yes]> and <<([x position v] of [controlcharacter v]) > [-208]> and <([x position v] of [controlcharacter v]) < [-60]>>> and <([y position v] of [controlcharacter v]) > [22]>> then\n            broadcast (Level5Dig v)\n            next costume\n            stop [this script v]\n        end\n    end\n    if <(costume [number v]) = [26]> then\n        broadcast (MadeTap v)\n        next costume\n        stop [this script v]\n    end\n    stop [this script v]\nend\n\nif <(costume [number v]) = [10]> then\n    broadcast (ArmWithSword v)\n    next costume\n    set [#holdingsword? v] to [Yes]\n    stop [this script v]\nend\nstop [this script v]\n\nwhen I receive [levelup v]\nCostumeSort\n\nwhen I receive [level3mining v]\nif <(costume [number v]) < [17]> then\n    next costume\nend\nif <(costume [number v]) = [17]> then\n    broadcast (-L3Mined v)\n    stop [this script v]\nend\n\nwhen I receive [l4mining v]\nif <(costume [number v]) < [22]> then\n    next costume\nend\nif <(costume [number v]) = [22]> then\n    broadcast (-L4Mined v)\n    wait (1) seconds\n    next costume\n    stop [this script v]\nend\n\nstop [this script v]\n\nwhen I receive [joycrafting v]\nbroadcast (#Crafting v)\n\nwhen I receive [restartlevel v]\nCostumeSort\n\nwhen I receive [#crafting v]\nstart sound [Chop v]\nbroadcast (#ACTION v)\n\nswitch costume to (5 v)\n\nif  then\n\nnext costume\n\nbroadcast (L2Ladderprompt v)\nbroadcast (-L2Ladder v)\nstop [this script v]\n\ndefine CostumeSort\nif <(Level) = [1]> then\n    switch costume to (level1 v)\n    stop [this script v]\nend\nif <(Level) = [2]> then\n    switch costume to (l1endl2start v)\n    stop [this script v]\nend\nif <(Level) = [3]> then\n    switch costume to (level2end3start v)\n    stop [this script v]\nend\nif <(Level) = [4]> then\n    switch costume to (level3end4start2 v)\n    stop [this script v]\nend\nif <(Level) = [5]> then\n    switch costume to (l4/5 v)\n    stop [this script v]\nend\n\nif <(costume [number v]) = [17]> then\n    broadcast (ArmWithSword v)\n    next costume\n    set [#holdingsword? v] to [Yes]\nend\nstop [this script v]\n\nset [#holdingsword? v] to [Yes]\n\nwhen I receive [gameover v]\nstop [other scripts in sprite v]\nhide\n\ngo [forward v] (1) layers\n\nbroadcast (gameover v)\n\n@HINTS\n\nwhen I receive [start v]\nhints\n\nwhen flag clicked\nforever\n    go to (controlcharacter v)\n    change y by (35)\nend\n\nwhen I receive [l1bridgeprompt v]\n\nsay [Get closer to the river!] for (5) seconds\n\nwhen I receive [l2ladderprompt v]\n\nsay [Go higher first!] for (5) seconds\n\nif <<(#XP seconds left) < [0]> and <(Level) = [1]>> then\n    say [A W E S O M E !] for (3) seconds\nend\nif <<(#XP seconds left) < [0]> and <(Level) = [1]>> then\n    say [Grab the XP!] for (5) seconds\nend\n\nwhen I receive [hidemario v]\nhide\n\nwhen I receive [showmario v]\nwait (1) seconds\nshow\n\nwhen I receive [#releasethefruit v]\nstop [other scripts in sprite v]\nthink []\nhide\n\nwhen I receive [restartlevel v]\nhints\n\ndefine hints\nreset timer\nif <not <(Level) = [1]>> then\n    stop [this script v]\nend\nhide\nwait (15) seconds\nshow\nrepeat until <<(x position) > [4]> or <([costume # v] of [crafting v]) > [1]>>\n    think [Go ←  to cross using pipe.]\nend\nthink []\nwait (5) seconds\nrepeat until <([costume # v] of [crafting v]) > [4]>\n    think [Go to the tree.  Press SPACEBAR or click ACTION to chop 4 logs.]\nend\nthink []\nwait (5) seconds\nrepeat until <([costume # v] of [crafting v]) > [5]>\n    if <(x position) > [4]> then\n        think [Go →  to cross using pipe.]\n    else\n        think [Press SPACEBAR or click ACTION to CRAFT!]\n    end\nend\nthink []\nwait (5) seconds\nrepeat until <<not <(Level) = [1]>> or <touching (flag v)?>>\n    think [Go to flag.]\nend\nthink []\n\n@Trees\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [levelup v]\nbroadcast (ShowTrees v)\n\nwhen I receive [off v]\nhide\n\nwhen flag clicked\nhide\nswitch costume to (tree v)\n\nwhen I start as a clone\nshow\nswitch costume to (tree v)\n\ngo to [front v] layer\n\nwhen I receive [#action v]\nif <(distance to [controlcharacter v]) < [50]> then\n    next costume\n    broadcast (NextCraftingStage v)\n    if <(costume [number v]) > [4]> then\n        delete this clone\n    end\nend\n\nwhen I receive [start v]\nbroadcast (ShowTrees v)\n\ngo to x: (500) y: (500)\n\nshow\n\nshow\n\nwhen I receive [showtrees v]\ngo to x: (500) y: (500)\nswitch costume to (tree v)\nif <[2] > [1]> then\n    delete this clone\nend\nif <(Level) = [1]> then\n    go to x: (100) y: (-100)\n    create clone of (_myself_ v)\n    clear graphic effects\nend\ngo to x: (500) y: (500)\n\nif <(Level) = [2]> then\n    go to x: (175) y: (-58)\n    set [color v] effect to (-30)\n    create clone of (_myself_ v)\nend\nif <(Level) = [5]> then\n    go to x: (-76) y: (117)\n    set [color v] effect to (-50)\n    create clone of (_myself_ v)\nend\ngo to x: (500) y: (500)\n\nwhen I receive [restartlevel v]\nbroadcast (ShowTrees v)\n\ngo to x: (500) y: (500)\n\n@Goomba\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [levelup v]\nstop [other scripts in sprite v]\nPoomba\n\nwhen I receive [start v]\nhide\ngo to [back v] layer\nPoomba\n\nwhen flag clicked\nhide\n\ngo to x: (-150) y: (-142)\n\nset y to (58)\n\nset [level v] to [6]\n\nwhen I receive [restartlevel v]\nstop [other scripts in sprite v]\nPoomba\n\ndefine Poomba\nhide\nswitch costume to (creeper v)\nif <(Level) = [2]> then\n    show\n    go to x: (-120) y: (38)\n    go to [front v] layer\n    forever\n        point in direction (90)\n        repeat (20)\n            next costume\n            Sensing\n            change x by (2)\n            wait (0.1) seconds\n            Sensing\n        end\n        Sensing\n        point in direction (-90)\n        repeat (20)\n            Sensing\n            wait (0.1) seconds\n            Sensing\n            change x by (-2)\n            next costume\n        end\n    end\nend\nif <(Level) = [4]> then\n    show\n    go to x: (-160) y: (-15)\n    go to [front v] layer\n    forever\n        point in direction (90)\n        repeat (20)\n            next costume\n            Sensing\n            change x by (2)\n            wait (0.1) seconds\n            Sensing\n        end\n        Sensing\n        point in direction (-90)\n        repeat (20)\n            Sensing\n            wait (0.1) seconds\n            Sensing\n            change x by (-2)\n            next costume\n        end\n    end\nend\n\ndefine Sensing\nif <touching (holding v)?> then\n    if <(#HoldingSword?) = [Yes]> then\n        start sound [Clink v]\n        stop [other scripts in sprite v]\n        hide\n    else\n        broadcast (BombHit v)\n        broadcast (RestartLevel v)\n        start sound [mine v]\n    end\nend\nif <touching (controlcharacter v)?> then\n    broadcast (RestartLevel v)\n    start sound [mine v]\nend\n\n@LevelText\n\nwhen I receive [start v]\nShowsign\n\nwhen I receive [gameover v]\nhide\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [levelupsoundonly v]\nstart sound [minecraft-rare-achievements-sound v]\nwait (0.5) seconds\nrepeat (10)\n    play sound [xp-sound-minecraft v] until done\nend\n\nwhen I receive [levelup v]\nShowsign\n\ngo to x: (0) y: (0)\n\ndefine Showsign\nif <(Level) = [1]> then\n    go to x: (-180) y: (73)\n    set size to (80) %\n    switch costume to (1 v)\nend\nif <(Level) = [2]> then\n    go to x: (-135) y: (90)\n    switch costume to (2 v)\nend\nif <(Level) = [3]> then\n    go to x: (-150) y: (40)\n    switch costume to (3 v)\nend\nif <(Level) = [4]> then\n    go to x: (-50) y: (-111)\n    switch costume to (4 v)\nend\nif <(Level) = [5]> then\n    go to x: (-130) y: (90)\n    switch costume to (5 v)\nend\nset size to (100) %\nshow\nrepeat (3)\n    repeat (20)\n        change size by (1)\n    end\n    repeat (20)\n        change size by (-1)\n    end\nend\n\n@blue flame\n\nwhen I receive [#releasethefruit v]\nif <(Level) < [5]> then\n    show\n    go to [front v] layer\n    repeat (10)\n        go to (controlcharacter v)\n        change y by (25)\n        change [yvelocity v] by (0.35)\n    end\n    repeat until <(#XP seconds left) < [0]>\n        go to (controlcharacter v)\n        change y by (25)\n        change [yvelocity v] by (0.35)\n    end\n    hide\nend\n\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [hidemario v]\nhide\n\nwhen I receive [levelup v]\nhide\n\nwait (0.1) seconds\n\n@Sprite1\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (99)\nshow\nforever\n    go to (controlcharacter v)\n    if <<touching (digablesblocks v)?> or <touching (platforms v)?>> then\n        set [controlonground v] to [Yes]\n    else\n        set [controlonground v] to [No]\n    end\nend\n\n@Powerups Collection\n\nwhen I receive [restartlevel v]\nif <[1] = [1]> then\n    delete this clone\nend\nstop [other scripts in sprite v]\n\nwhen I receive [levelup v]\nif <[1] = [1]> then\n    delete this clone\nend\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\nset [clonelock v] to [Off]\n\nwhen I receive [streamofcash v]\nif <(Clonelock) = [Off]> then\n    set [distancetoscore v] to (distance to [score v])\n    switch costume to (b50a020a782c9b7f574c3e5ff9be92163 v)\n    repeat (5)\n        set [xvelocityxp v] to (pick random (-3) to (3))\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n    end\nend\n\nwhen I start as a clone\nset [clonelock v] to [On]\ngo to x: (StreamofCashX) y: (StreamOfCashY)\nclear graphic effects\nshow\npoint in direction (pick random (-30) to (30))\nset size to (20) %\nset [yvelocityxp v] to [5]\nrepeat (20)\n    if <(YVelocityXP) > [-6]> then\n        change [yvelocityxp v] by (-0.2)\n    end\n    set [xvelocityxp v] to ((XVelocityXP) * (0.95))\n    next costume\n    change y by (YVelocityXP)\n    turn right (FruitTwistLocal) degrees\n    change x by (XVelocityXP)\nend\nrepeat (20)\n    if <(YVelocityXP) > [-6]> then\n        change [yvelocityxp v] by (-0.2)\n    end\n    set [xvelocityxp v] to ((XVelocityXP) * (0.95))\n    next costume\n    change y by (YVelocityXP)\n    turn right (FruitTwistLocal) degrees\n    change x by (XVelocityXP)\n    if <touching (hero v)?> then\n        glide (0.6) secs to x: (-100) y: (168)\n        start sound [xp-sound-minecraft v]\n        change [score v] by (100)\n        delete this clone\n    end\n    if <([abs v] of (x position) ) > [237]> then\n        delete this clone\n    end\nend\nforever\n    next costume\n    if <touching (hero v)?> then\n        glide (0.6) secs to x: (-100) y: (168)\n        start sound [xp-sound-minecraft v]\n        change [score v] by (100)\n        delete this clone\n    end\n    if <([abs v] of (x position) ) > [237]> then\n        delete this clone\n    end\nend\n\ndelete this clone\n\n@Boat\n\nwhen I receive [gamemusic v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nBoatposition\n\nwhen I receive [restartlevel v]\nBoatposition\n\nwhen I receive [levelup v]\nBoatposition\n\nset [holdingboat? v] to [No]\n\ndefine Boatposition\nset [boat positioned? v] to [No]\nset [holdingboat? v] to [No]\nif <not <(Level) = [5]>> then\n    stop [this script v]\nend\nstop [other scripts in sprite v]\nhide\nswitch costume to (empty v)\nshow\nset size to (50) %\ngo to x: (-106) y: (-124)\n\nwhen I receive [madetap v]\nwait (3.3) seconds\nglide (1) secs to x: (-109) y: (-105)\nglide (4) secs to x: (192) y: (-103)\nset [boat positioned? v] to [Yes]\nstop [other scripts in sprite v]\nwait until <touching (hero v)?>\nbroadcast (InTheBoat v) and wait\nswitch costume to (full v)\n\nif <(HoldingBoat?) = [Yes]> then\n\nbroadcast (MadeTap v)\n\nhide\n\ngo to x: (-2) y: (0)\n\nwhen I receive [intheboat v]\ngo to [front v] layer\nforever\n    switch costume to (full v)\n    go to (controlcharacter v)\n    point in direction ([direction v] of [hero v])\n    change y by (20)\n    show\nend\n\nwait until <(HoldingBoat?) = [Yes]>\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nclear graphic effects\ngo to x: (0) y: (2)\nset size to (0) %\nwait (1) seconds\nshow\nrepeat (95)\n    change size by (1)\nend\nforever\n    repeat (10)\n        change size by (1)\n        change [color v] effect by (5)\n    end\n    repeat (10)\n        change size by (-1)\n        change [color v] effect by (5)\n    end\nend\n\n@XP\n\nwhen I start as a clone\nshow\nrepeat until <(y position) < [-175]>\n    if <(YVelocityXP) > [-6]> then\n        change [yvelocityxp v] by (-0.2)\n    end\n    set [xvelocityxp v] to ((XVelocityXP) * (0.95))\n    next costume\n    change y by (YVelocityXP)\n    turn right (FruitTwistLocal) degrees\n    change x by (XVelocityXP)\n    if <touching (hero v)?> then\n        next costume\n        glide (0.6) secs to x: (-100) y: (168)\n        start sound [xp-sound-minecraft v]\n        change [score v] by (100)\n        delete this clone\n    end\n    if <([abs v] of (x position) ) > [237]> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [#releasethefruit v]\nset [#xp seconds left v] to [20]\nswitch costume to (sandia v)\nclear graphic effects\npoint in direction (90)\nforever\n    set [fruittwistlocal v] to (pick random (-3) to (3))\n    set [xvelocityxp v] to (pick random (-12) to (-8))\n    set [yvelocityxp v] to [4]\n    switch costume to (((pick random (1) to (5)) * (3)) - (2))\n    create clone of (_myself_ v)\n    go to x: (-237) y: (pick random (0) to (150))\n    set [fruittwistlocal v] to (pick random (-3) to (3))\n    set [xvelocityxp v] to (pick random (15) to (20))\n    set [yvelocityxp v] to [4]\n    switch costume to (((pick random (1) to (5)) * (3)) - (2))\n    create clone of (_myself_ v)\n    wait (0.2) seconds\n    if <(#XP seconds left) < [0]> then\n        broadcast (#ShowLevelTransition v)\n        stop [this script v]\n    end\nend\n\nwait (0.2) seconds\ngo to x: (237) y: (pick random (60) to (150))\nset [fruittwistlocal v] to (pick random (-3) to (3))\nset [xvelocityxp v] to (pick random (-14) to (-10))\nset [yvelocityxp v] to [2]\nswitch costume to (((pick random (1) to (5)) * (3)) - (2))\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [#xp seconds left v] to [0]\nhide\n\nwhen I receive [levelup v]\nif <[1] = [1]> then\n    delete this clone\nend\nstop [other scripts in sprite v]\n\nwait (1) seconds\n\nstop [other scripts in sprite v]\n\nstop [other scripts in sprite v]\n\nwhen I receive [restartlevel v]\nif <[1] = [1]> then\n    delete this clone\nend\nstop [other scripts in sprite v]\n\n@Ladder\n\nwhen I receive [#l1ladder v]\nshow\ngo to x: (-135) y: (-2)\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [levelup v]\nhide\nstop [other scripts in sprite v]\n\nif <touching (controlcharacter v)?> then\n    set [yvelocity v] to [2]\nend\n\nforever\n\ngo to x: (0) y: (0)\n\n@Holding\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nswitch costume to (pickaxe v)\ngo to x: (30) y: (12)\nhide\n\ngo to x: (0) y: (0)\nswitch costume to (blank v)\n\nwhen I receive [levelup v]\nPostionItems\n\nwhen I receive [#crafting v]\nif <(#HoldingPickaxe?) = [No]> then\n    stop [this script v]\nend\nif <(#HoldingSword?) = [Yes]> then\n    stop [this script v]\nend\n\nwhen I receive [armwithsword v]\nswitch costume to (sword v)\nset [#holdingsword? v] to [Yes]\n\nwhen I receive [restartlevel v]\nPostionItems\n\nwhen I receive [hidemario v]\nhide\n\nwhen I receive [showmario v]\nshow\n\nwhen I receive [start v]\nPostionItems\n\ndefine PostionItems\nsay []\nhide\nswitch costume to (blank v)\nset [#holdingpickaxe? v] to [No]\nset [#holdingsword? v] to [No]\nstop [other scripts in sprite v]\nif <(Level) = [2]> then\n    switch costume to (pickaxe v)\n    go to x: (30) y: (12)\n    show\n    wait until <<touching (controlcharacter v)?> and <([size v] of [controlcharacter v]) = [75]>>\n    set [#holdingpickaxe? v] to [Yes]\n    forever\n        go to (controlcharacter v)\n        change y by (30)\n        point in direction ([direction v] of [hero v])\n    end\nend\nif <(Level) = [3]> then\n    switch costume to (pickaxe v)\n    go to x: (-64) y: (114)\n    show\n    wait until <touching (controlcharacter v)?>\n    set [#holdingpickaxe? v] to [Yes]\n    forever\n        go to (controlcharacter v)\n        change y by (30)\n        point in direction ([direction v] of [hero v])\n    end\nend\nif <(Level) = [4]> then\n    switch costume to (pickaxe v)\n    go to x: (15) y: (84)\n    show\n    wait until <touching (controlcharacter v)?>\n    set [#holdingpickaxe? v] to [Yes]\n    forever\n        go to (controlcharacter v)\n        change y by (30)\n        point in direction ([direction v] of [hero v])\n    end\nend\nif <(Level) = [5]> then\n    switch costume to (pickaxe v)\n    go to x: (-215) y: (33)\n    show\n    wait until <touching (controlcharacter v)?>\n    set [#holdingpickaxe? v] to [Yes]\n    forever\n        go to (controlcharacter v)\n        change y by (30)\n        point in direction ([direction v] of [hero v])\n    end\nend\n\nwait (0.2) seconds\n\nwhen I receive [#releasethefruit v]\nPostionItems\n\nwhen I receive [shringmario! v]\nif <<not <(Level) = [2]>> and <not <(Level) = [3]>>> then\n    stop [other scripts in sprite v]\n    change y by (-20)\nend\n\nwhen I receive [madetap v]\nif <(Level) = [5]> then\n    stop [other scripts in sprite v]\n    go to (hero v)\n    point in direction (90)\n    switch costume to (tap v)\n    glide (1) secs to x: (-53) y: (40)\n    show\nend\n\n@blocksx3\n\nwhen I receive [dropcongrats v]\nif <(Level) = [5]> then\n    stop [this script v]\nend\nstart sound [clash-royale-soundtrack-win v]\nwait (1.5) seconds\nclear graphic effects\ngo to [front v] layer\nhide\nswitch costume to (1 v)\ngo to x: (0) y: (300)\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nswitch costume to (3 v)\ngo to x: (0) y: (300)\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nswitch costume to (2 v)\ngo to x: (0) y: (300)\ncreate clone of (_myself_ v)\nwait (1.4) seconds\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (all v)\nshow\nbroadcast (DeleteLocalClones v)\nrepeat (75)\n    change y by (3)\nend\nhide\n\nwhen I start as a clone\nshow\nglide (0.6) secs to x: (0) y: (0)\nglide (0.3) secs to x: (0) y: (50)\nglide (0.3) secs to x: (0) y: (0)\nglide (0.1) secs to x: (0) y: (20)\nglide (0.1) secs to x: (0) y: (0)\n\nchange [pixelate v] effect by (0.5)\n\nwhen I receive [deletelocalclones v]\ndelete this clone\n\nwhen flag clicked\nhide\n\n@Episode 1\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nglide (0.5) secs to x: (0) y: (-100)\nglide (0.2) secs to x: (0) y: (-50)\nglide (0.2) secs to x: (0) y: (-100)\nglide (0.1) secs to x: (0) y: (-75)\nglide (0.1) secs to x: (0) y: (-100)\n\nwhen I receive [showepisode v]\nhide\nclear graphic effects\ngo to x: (0) y: (400)\nswitch costume to (episode 1 v)\ngo to [front v] layer\nrepeat (9)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.3) seconds\nend\nwait (1.5) seconds\ngo to x: (0) y: (0)\nclear graphic effects\nbroadcast (DropLetters v)\n\nwhen I receive [instructionspage v]\ndelete this clone\n\nwhen I receive [dropletters v]\nif <<(costume [number v]) = [1]> or <(costume [number v]) = [9]>> then\n    wait (0.1) seconds\nend\nif <<(costume [number v]) = [2]> or <(costume [number v]) = [8]>> then\n    wait (0.4) seconds\nend\nif <<(costume [number v]) = [3]> or <(costume [number v]) = [7]>> then\n    wait (0.7) seconds\nend\nif <<(costume [number v]) = [4]> or <(costume [number v]) = [6]>> then\n    wait (1) seconds\nend\nif <(costume [number v]) = [5]> then\n    wait (1.33) seconds\nend\nglide (0.2) secs to x: (0) y: (-155)\nrepeat (40)\n    change y by (-1)\nend\nif <(costume [number v]) = [5]> then\n    broadcast (InstructionsPage v)\nend\ndelete this clone\n\nwhen I receive [fadeoutinstructions v]\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\nshow\nset [ghost v] effect to (100)\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (-5)\nend\nbroadcast (Start v)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\ndelete this clone\n\n@Sprite6\n\nwhen I receive [#releasethefruit v]\nHowManyBonusChests?\nwait (0.1) seconds\nPositionTheChests\n\nwhen flag clicked\nhide\ngo to x: (400) y: (400)\n\nwhen I start as a clone\nshow\nrepeat until <touching (controlcharacter v)?>\n    next costume\nend\nstart sound [456966__funwithsound__success-fanfare-trumpets v]\nchange [score v] by (1000)\nset [streamofcashx v] to (x position)\nset [streamofcashy v] to (y position)\nbroadcast (StreamOfCash v)\ndelete this clone\n\nwhen I receive [levelup v]\nreset timer\ndelete this clone\n\ndefine HowManyBonusChests?\nif <(Level) = [1]> then\n    set [numberofxpbonusclones v] to [5]\n    set [timerstampforchests v] to (timer)\n    repeat until <(TimerStampForChests) < [7]>\n        change [numberofxpbonusclones v] by (-1)\n        change [timerstampforchests v] by (-3)\n    end\nend\nif <(Level) = [2]> then\n    set [numberofxpbonusclones v] to [5]\n    set [timerstampforchests v] to (timer)\n    repeat until <(TimerStampForChests) < [10]>\n        change [numberofxpbonusclones v] by (-1)\n        change [timerstampforchests v] by (-3)\n    end\nend\nif <(Level) = [3]> then\n    set [numberofxpbonusclones v] to [5]\n    set [timerstampforchests v] to (timer)\n    repeat until <(TimerStampForChests) < [12]>\n        change [numberofxpbonusclones v] by (-1)\n        change [timerstampforchests v] by (-3)\n    end\nend\nif <(Level) = [4]> then\n    set [numberofxpbonusclones v] to [5]\n    set [timerstampforchests v] to (timer)\n    repeat until <(TimerStampForChests) < [18]>\n        change [numberofxpbonusclones v] by (-1)\n        change [timerstampforchests v] by (-3)\n    end\nend\nif <(Level) = [5]> then\n    set [numberofxpbonusclones v] to [5]\n    set [timerstampforchests v] to (timer)\n    repeat until <(TimerStampForChests) < [14]>\n        change [numberofxpbonusclones v] by (-1)\n        change [timerstampforchests v] by (-3)\n    end\nend\n\ndefine PositionTheChests\nif <(Level) = [1]> then\n    go to x: (80) y: (-50)\n    repeat (NumberofXPbonusClones)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\nend\nif <(Level) = [2]> then\n    go to x: (30) y: (100)\n    repeat (NumberofXPbonusClones)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\nend\nif <(Level) = [3]> then\n    go to x: (80) y: (80)\n    repeat (NumberofXPbonusClones)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\nend\nif <(Level) = [4]> then\n    go to x: (-80) y: (-100)\n    repeat (NumberofXPbonusClones)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\nend\nif <(Level) = [5]> then\n    go to x: (-120) y: (-110)\n    repeat (NumberofXPbonusClones)\n        create clone of (_myself_ v)\n        change x by (45)\n    end\nend\n\nwhen I receive [start v]\nreset timer\ndelete this clone\n\nwhen I receive [restartlevel v]\nreset timer\ndelete this clone\n\ngo to x: (0) y: (0)\n\n@flame\n\nwhen I receive [#releasethefruit v]\ngo to x: (400) y: (400)\nwait (1) seconds\nrepeat until <(#XP seconds left) < [8]>\n    create clone of (_myself_ v)\n    wait (2.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to x: (pick random (-150) to (150)) y: (180)\ngo to [front v] layer\nshow\nrepeat until <(y position) < [-175]>\n    next costume\n    change y by (-2)\n    if <touching (hero v)?> then\n        set [#xp seconds left v] to [-1]\n        start sound [Ow v]\n        delete this clone\n    end\nend\ndelete this clone\n\n@Timer\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (10 v)\n    switch costume to (letter ((length of (#XP seconds left)) - (Numeral)) of (#XP seconds left))\n    if <(#XP seconds left) > [0]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [#releasethefruit v]\nset [#xp seconds left v] to [20]\nif <[1] = [1]> then\n    delete this clone\nend\nhide\nswitch costume to (0 v)\nwait (0.5) seconds\nset size to (50) %\ngo to x: (-147) y: (120)\nset [numeral v] to [0]\nrepeat (2)\n    wait (0) seconds\n    create clone of (_myself_ v)\n    change x by (-13)\n    change [numeral v] by (1)\nend\nswitch costume to (score v)\nshow\nforever\n    go to [front v] layer\n    change [#xp seconds left v] by (-1)\n    if <(#XP seconds left) = [0]> then\n        broadcast (#ShowLevelTransition v)\n    else\n    end\n    if <(#XP seconds left) > [0]> then\n        show\n    else\n        hide\n    end\n    wait (1) seconds\nend\n\nset [score v] to [0]\n\nwhen flag clicked\nset [brightness v] effect to (100)\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [#showleveltransition v]\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (-3)\nend\nbroadcast (DropCongrats v)\nwait (2) seconds\nwait (3) seconds\nif <(Level) = [5]> then\nend\nchange [level v] by (1)\nif <(Level) = [6]> then\n    broadcast (gameover v)\nelse\n    broadcast (LevelUp v)\nend\nrepeat (20)\n    change [ghost v] effect by (3)\nend\nhide\n\nwait (1) seconds\n\nset [level v] to [1]\n\nwait (3) seconds\n\n@tinyrunner\n\nwhen I receive [endtalk v]\nif <(length of (username)) < [3]> then\n    set [username v] to [YOU]\nelse\n    set [username v] to (username)\nend\nforever\n    wait (0.2) seconds\n    say [] for (2) seconds\n    wait (3) seconds\n    say [★★★ AWESOME! ★★★] for (7) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [This game is to say thank you to my 18,000 followers!] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [It is the 100th game i have shared!] for (10) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [Please love ♥ fav  ♥ follow!] for (7) seconds\n    wait (3) seconds\n    say [] for (9) seconds\n    wait (3) seconds\n    say [Please love ♥ fav  ♥ follow!] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say (join (Username) [ is a PRO-GAMER!]) for (7) seconds\n    wait (3) seconds\n    say [] for (3) seconds\n    wait (3) seconds\n    say [Don't look away... jokes coming up?] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [Platform shoes!] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [In a box factory!] for (4) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [I dig you!] for (7) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [He didn't have the GUTS!] for (7) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [How WOOD I know?] for (7) seconds\n    wait (1) seconds\nend\n\nbroadcast (gameover v)\n\nwhen I receive [gameover v]\nswitch costume to (tinyrunner40 v)\nwait (1) seconds\ngo to [front v] layer\ngo to x: (30) y: (300)\nshow\nglide (1) secs to x: (30) y: (-51)\nbroadcast (EndTalk v)\nforever\n    next costume\n    repeat (1)\nend\n\nwait (0.05) seconds\n\nwhen flag clicked\nhide\n\nwhen I receive [..mario to front v]\ngo to [front v] layer\n\n@LoveB\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    go to x: ((Scroll) + (480)) y: (-14)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nwait (0.1) seconds\ngo to [front v] layer\ngo to x: (0) y: (-100)\nglide (1.5) secs to x: (0) y: (-14)\npoint in direction (90)\nshow\nset [scroll v] to [0]\nset size to (103) %\ncreate clone of (_myself_ v)\nforever\n    go to [front v] layer\n    change [scroll v] by (-6)\n    if <(Scroll) > [-480]> then\n        go to x: (Scroll) y: (-14)\n    else\n        go to x: ((Scroll) + (960)) y: (-14)\n        if <(Scroll) < [-959]> then\n            set [scroll v] to [0]\n        end\n    end\nend\n\nbroadcast (gameover v)\n\n@SkipLevel\n\nwhen this sprite clicked\nset [skiplevel v] to [Yes]\nif <(Level) = [5]> then\n    broadcast (gameover v)\n    stop [this script v]\nend\nchange [level v] by (1)\nbroadcast (LevelUp v)\n\nwhen I receive [levelup v]\nhide\nset [skiplevellag v] to [0]\n\nset [☁ #bestscore v] to [0]\n\nwhen I receive [restartlevel v]\nchange [skiplevellag v] by (1)\nif <(SkipLevelLag) > [3]> then\n    switch costume to (Level)\n    go to [back v] layer\n    show\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [skiplevellag v] to [0]\nset [skiplevel v] to [No]\nhide\ngo to [back v] layer\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go to (flag v)\n    next costume\n    wait (0.1) seconds\nend\n\n@ControlCharacter\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen [up arrow v] key pressed\nchange y by (-1)\nif <<touching (digablesblocks v)?> or <touching (platforms v)?>> then\n    set [yvelocity v] to [5]\nend\nif <touching (ladder v)?> then\n    if <(Level) = [1]> then\n        broadcast (..Mario to front v)\n        glide (1) secs to x: (-140) y: (30)\n        set [yvelocity v] to [0]\n    end\nend\nchange y by (1)\n\nwhen I receive [start v]\ngo to x: (-155) y: (-120)\nbroadcast (Walk v)\nbroadcast (PositionControlCharacter v)\nset [yvelocity v] to [0]\nset [xvelocity v] to [0]\nclear graphic effects\nset [ghost v] effect to (99)\nshow\nforever\n    change [yvelocity v] by (-0.5)\n    if <[0] > (YVelocity)> then\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [0]> then\n                change y by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [-1]> then\n                change y by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [-2]> then\n                change y by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [-3]> then\n                change y by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [-4]> then\n                change y by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(YVelocity) < [-5]> then\n                change y by (-1)\n            end\n        end\n        if <(YVelocity) < [-6]> then\n            set [yvelocity v] to [-6]\n        end\n        if <<touching (platforms v)?> or <touching (digablesblocks v)?>> then\n            set [yvelocity v] to [0]\n            change y by (1)\n        end\n    end\n    if <(YVelocity) > [0]> then\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [0]> then\n                change y by (1)\n            end\n        end\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [1]> then\n                change y by (1)\n            end\n        end\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [1]> then\n                change y by (1)\n            end\n        end\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [1]> then\n                change y by (1)\n            end\n        end\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [1]> then\n                change y by (1)\n            end\n        end\n        if <not <touching (platforms v)?>> then\n            if <(YVelocity) > [1]> then\n                change y by (1)\n            end\n        end\n        if <(YVelocity) < [-5]> then\n            set [yvelocity v] to [-5]\n        end\n        if <touching (platforms v)?> then\n            change y by (-1)\n            set [yvelocity v] to [0]\n        end\n    end\n    set [xvelocity v] to ((XVelocity) * (0.85))\n    if <<(XVelocity) < [1]> and <(XVelocity) > [-1]>> then\n        set [xvelocity v] to [0]\n    end\n    if <[0] > (XVelocity)> then\n        broadcast (CostumeChange v)\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [0]> then\n                change x by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [-1]> then\n                change x by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [-2]> then\n                change x by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [-3]> then\n                change x by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [-4]> then\n                change x by (-1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) < [-5]> then\n                change x by (-1)\n            end\n        end\n        if <<touching (platforms v)?> or <touching (digablesblocks v)?>> then\n            change x by (1)\n            set [xvelocity v] to [0]\n        end\n        if <(XVelocity) < [-5]> then\n            set [xvelocity v] to [-5]\n        end\n    end\n    if <(XVelocity) > [0]> then\n        broadcast (CostumeChange v)\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [0]> then\n                change x by (1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [1]> then\n                change x by (1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [2]> then\n                change x by (1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [3]> then\n                change x by (1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [4]> then\n                change x by (1)\n            end\n        end\n        if <<not <touching (platforms v)?>> and <not <touching (digablesblocks v)?>>> then\n            if <(XVelocity) > [5]> then\n                change x by (1)\n            end\n        end\n        if <<touching (platforms v)?> or <touching (digablesblocks v)?>> then\n            change x by (-1)\n            set [xvelocity v] to [0]\n        end\n        if <[5] < (XVelocity)> then\n            set [xvelocity v] to [5]\n        end\n    end\nend\n\nif <touching (ladder v)?> then\nrepeat until <not <touching (ladder v)?>>\n    if <(YVelocity) > [3]> then\n        change y by (4)\n    end\n    if <(YVelocity) < [-3]> then\n        change y by (4)\n    end\nend\n\nwhen [w v] key pressed\nchange y by (-1)\nif <<touching (digablesblocks v)?> or <touching (platforms v)?>> then\n    set [yvelocity v] to [5]\nend\nif <touching (ladder v)?> then\n    if <(Level) = [1]> then\n        glide (1) secs to x: (-140) y: (30)\n        set [yvelocity v] to [0]\n    end\nend\nchange y by (1)\n\nwhen I receive [restartlevel v]\nbroadcast (PositionControlCharacter v)\n\nwhen I receive [levelup v]\nbroadcast (PositionControlCharacter v)\n\nwhen I receive [controlleft v]\ngo to x: (-220) y: (78)\nset [xvelocity v] to [0]\n\nwhen I receive [positioncontrolcharacter v]\nif <(Level) = [1]> then\n    go to x: (-155) y: (-120)\n    forever\n        if <<(x position) < [-180]> and <(y position) < [-120]>> then\n            set [xvelocity v] to [0]\n            glide (0.2) secs to x: (-210) y: (-140)\n            Pipe\n            go to x: (205) y: (-140)\n            glide (0.1) secs to x: (175) y: (-140)\n            set [xvelocity v] to [-4]\n        end\n        if <<(x position) > [195]> and <(y position) < [-120]>> then\n            set [xvelocity v] to [0]\n            glide (0.1) secs to x: (207) y: (-140)\n            Pipe\n            go to x: (-205) y: (-140)\n            glide (0.1) secs to x: (-175) y: (-140)\n            set [xvelocity v] to [4]\n        end\n    end\nend\nif <(Level) = [2]> then\n    go to x: (-100) y: (-120)\n    forever\n        if <<(x position) < [-180]> and <(y position) < [-120]>> then\n            set [xvelocity v] to [0]\n            glide (0.2) secs to x: (-210) y: (-140)\n            Pipe\n            go to x: (205) y: (50)\n            glide (0.1) secs to x: (175) y: (50)\n            set [xvelocity v] to [-2]\n        end\n        if <<(x position) > [195]> and <(y position) < [-120]>> then\n            set [xvelocity v] to [0]\n            glide (0.1) secs to x: (207) y: (-140)\n            Pipe\n            go to x: (-205) y: (40)\n            glide (0.1) secs to x: (-175) y: (20)\n            set [xvelocity v] to [2]\n        end\n        if <<(x position) < [-180]> and <(y position) > [10]>> then\n            set [xvelocity v] to [0]\n            glide (0.2) secs to x: (-210) y: (20)\n            Pipe\n            go to x: (205) y: (-140)\n            glide (0.1) secs to x: (175) y: (-140)\n            set [xvelocity v] to [-2]\n        end\n    end\nend\nif <(Level) = [3]> then\n    go to x: (-150) y: (-150)\n    forever\n        if <<(x position) > [180]> and <(y position) < [-120]>> then\n            set [xvelocity v] to [0]\n            glide (0.2) secs to x: (210) y: (-140)\n            Pipe\n            go to x: (-205) y: (-65)\n            glide (0.1) secs to x: (-175) y: (-65)\n            set [xvelocity v] to [3]\n        end\n        if <<(x position) < [-180]> and <<(y position) > [-72]> and <(y position) < [-68]>>> then\n            set [xvelocity v] to [0]\n            glide (0.2) secs to x: (-207) y: (-70)\n            Pipe\n            go to x: (205) y: (-140)\n            glide (0.1) secs to x: (175) y: (-140)\n            set [xvelocity v] to [-4]\n        end\n    end\nend\nif <(Level) = [4]> then\n    go to x: (-195) y: (80)\nend\nif <(Level) = [5]> then\n    go to x: (-50) y: (35)\n    forever\n        if <<(y position) > [20]> and <(y position) < [24]>> then\n            Pipe\n            go to x: (190) y: (-76)\n            if <(Boat Positioned?) = [No]> then\n                glide (0.1) secs to x: (190) y: (-110)\n                set [yvelocity v] to [-3]\n            else\n                glide (0.2) secs to x: (190) y: (-127)\n                set [holdingboat? v] to [Yes]\n                Stopmesinking\n            end\n        end\n    end\nend\n\nif <(Level) = [4]> then\n    go to x: (-210) y: (0)\nend\nif <(Level) = [5]> then\n    go to x: (-210) y: (-50)\nend\n\nwhen I receive [restartlevel v]\nbroadcast (PositionControlCharacter v)\nset size to (75) %\n\ndefine PlotTrail\n\nwhen flag clicked\ngo to x: (-170) y: (175)\nhide\n\nwhen I receive [levelup v]\nbroadcast (PositionControlCharacter v)\nset size to (75) %\n\nbroadcast (Start v)\n\ngo to x: (-200) y: (-100)\n\nclear graphic effects\n\ndefine Pipe\nhide\nbroadcast (HideMario v)\nstart sound [Teleport2 v]\nwait (0.7) seconds\nbroadcast (ShowMario v)\nshow\n\n\n\n\n\nset [#holdingpickaxe? v] to [0]\n\nchange y by (4)\n\nstop [this script v]\n\nwhen I receive [upladder? v]\nif <touching (ladder v)?> then\n    if <(Level) = [1]> then\n        glide (1) secs to x: (-140) y: (30)\n        set [yvelocity v] to [0]\n    end\nend\n\nwhen I receive [downladder v]\nif <touching (ladder v)?> then\n    if <(Level) = [1]> then\n        glide (1) secs to x: (-140) y: (-124)\n        set [yvelocity v] to [0]\n    end\nend\n\nwhen [down arrow v] key pressed\nbroadcast (Downladder v)\n\nwhen [s v] key pressed\nbroadcast (Downladder v)\n\nwhen I receive [showtrees v]\nset size to (75) %\n\nwhen I receive [shringmario! v]\nset size to (34) %\n\nwhen I receive [growmario v]\nset size to (75) %\n\nclear graphic effects\n\nif  then\n    set [xvelocity v] to [0]\n    glide (0.2) secs to x: (-210) y: (-140)\n    Pipe\n    go to x: (205) y: (50)\n    glide (0.1) secs to x: (175) y: (50)\n    set [xvelocity v] to [-2]\nend\nif <<(x position) > [195]> and <(y position) < [-120]>> then\n    set [xvelocity v] to [0]\n    glide (0.1) secs to x: (207) y: (-140)\n    Pipe\n    go to x: (-205) y: (40)\n    glide (0.1) secs to x: (-175) y: (20)\n    set [xvelocity v] to [2]\nend\nif <<(x position) < [-180]> and <(y position) > [10]>> then\n    set [xvelocity v] to [0]\n    glide (0.2) secs to x: (-210) y: (20)\n    Pipe\n    go to x: (205) y: (-140)\n    glide (0.1) secs to x: (175) y: (-140)\n    set [xvelocity v] to [-2]\nend\n\nforever\n    if <(HoldingBoat?) = [Yes]> then\n        if <(y position) < [-150]> then\n            set y to (-150)\n            set [yvelocity v] to [0]\n        end\n    end\nend\n\nwhen I receive [hugemario v]\nset size to (125) %\n\nset [xvelocity v] to [0]\nset [xvelocity v] to [0]\nglide (0.1) secs to x: (190) y: (-110)\n\nset [xvelocity v] to [3]\n\nif <<(x position) < [-180]> and <<(y position) > [-72]> and <(y position) < [-68]>>> then\n    set [xvelocity v] to [0]\n    glide (0.2) secs to x: (-207) y: (-70)\n    Pipe\n    go to x: (205) y: (-140)\n    glide (0.1) secs to x: (175) y: (-140)\n    set [xvelocity v] to [-4]\nend\n\nPipe\ngo to x: (190) y: (-76)\n\ndefine Stopmesinking\nforever\n    set [yvelocity v] to [0]\n    set y to (-127)\nend\n\n@mushroom mini2\n\nwhen I receive [showtrees v]\nhide\nwait (0.1) seconds\nif <(Level) = [2]> then\n    show\n    go to x: (97) y: (-15)\n    wait until <touching (controlcharacter v)?>\n    broadcast (GrowMario v)\n    hide\nend\nif <(Level) = [4]> then\n    show\n    go to x: (-200) y: (-20)\n    wait until <touching (controlcharacter v)?>\n    broadcast (HugeMario v)\n    hide\nend\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nbroadcast (GrowMario v)\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait (0.05) seconds\nend\n\n@DigablesBlocks\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [levelup v]\nstop [other scripts in sprite v]\ndIGABLES\n\nwhen I receive [#level2dig v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\ndIGABLES\n\ndefine dIGABLES\nhide\nif <[1] = [1]> then\n    delete this clone\nend\nwait (0.1) seconds\nif <(Level) = [2]> then\n    go to x: (0) y: (0)\n    switch costume to (costume1 v)\n    show\nend\nif <(Level) = [3]> then\n    go to x: (0) y: (0)\n    switch costume to (earth full v)\n    show\nend\nif <(Level) = [4]> then\n    go to x: (189) y: (59)\n    switch costume to (costume14 v)\n    show\n    create clone of (_myself_ v)\n    switch costume to (springfull v)\n    show\n    forever\n        go to x: (198) y: (-178)\n        if <([y position v] of [controlcharacter v]) > [-145]> then\n            if <touching (sprite1 v)?> then\n                if <([size v] of [controlcharacter v]) > [100]> then\n                    if <(costume [number v]) < [27]> then\n                        next costume\n                        if <(costume [number v]) = [27]> then\n                            wait until <([x position v] of [controlcharacter v]) < [0]>\n                        end\n                    end\n                else\n                    if <(costume [number v]) < [18]> then\n                        next costume\n                    end\n                end\n                wait (0.2) seconds\n            else\n                if <(costume [number v]) > [13]> then\n                    switch costume to ((costume [number v]) - (1))\n                end\n            end\n            wait (0.2) seconds\n        end\n        repeat until <<(costume [number v]) = [13]> or <touching (sprite1 v)?>>\n            switch costume to ((costume [number v]) - (1))\n            wait (0.2) seconds\n        end\n    end\nend\nif <(Level) = [5]> then\n    go to x: (0) y: (0)\n    switch costume to (level 5 full v)\n    show\nend\n\nwhen I receive [level4dig v]\nif <(y position) < [0]> then\n\nnext costume\n\nwhen I start as a clone\ngo to x: (189) y: (59)\nswitch costume to (costume14 v)\nshow\n\nif <(Level) = [4]> then\nend\n\ngo to x: (0) y: (0)\n\ngo to x: (189) y: (58)\nswitch costume to (costume14 v)\nshow\n\nif <(Level) = [4]> then\n\nwhen I receive [restartlevel v]\nstop [other scripts in sprite v]\ndIGABLES\n\nwhen I receive [level5dig v]\nnext costume\n\nwait (0.1) seconds\n\nwhen I receive [level3dig v]\nnext costume\n\nswitch costume to ((costume [number v]) - (1))\n\nwait (0.2) seconds\n\nwait (1) seconds\n\n@Water\n\nwhen flag clicked\nhide\n\nwhen I receive [madetap v]\nwait (1.5) seconds\nstart sound [Ocean Wave v]\nswitch costume to (full v)\nrepeat (22)\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I receive [restartlevel v]\nposition\n\nwhen I receive [levelup v]\nposition\n\ndefine position\nstop [other scripts in sprite v]\nif <(Level) = [5]> then\n    switch costume to (full v)\n    show\nelse\n    hide\nend\n\nwhen I receive [start v]\nposition\n\n@mushroom mini\n\nwhen I receive [showtrees v]\nhide\nwait (0.1) seconds\nif <(Level) = [2]> then\n    show\n    go to x: (97) y: (-134)\n    wait until <touching (controlcharacter v)?>\n    broadcast (ShringMario! v)\n    hide\nend\nif <(Level) = [4]> then\n    show\n    go to x: (50) y: (-134)\n    wait until <touching (controlcharacter v)?>\n    broadcast (ShringMario! v)\n    hide\nend\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [shringmario! v]\n\nwhen flag clicked\nhide\n\n@tinyrunner2\n\nwhen I receive [endtalk v]\nif <(length of (username)) < [3]> then\n    set [username v] to [YOU]\nelse\n    set [username v] to (username)\nend\nforever\n    wait (0.2) seconds\n    say [] for (2) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say (join (join [★★★ ] (Username)) [ WON! ★★★ ]) for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say (join (Username) [ please LOVE ♥ FAV  ♥ FOLLOW!]) for (7) seconds\n    wait (3) seconds\n    say [] for (10) seconds\n    wait (3) seconds\n    say (join (Username) [ is the BEST!]) for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say (join (Username) [ beat Minecraft Mario Platformer Episode 1!]) for (9) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [★★★You RULE! ★★★] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [Still watching?] for (3) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [Platform shoes!] for (7) seconds\n    wait (3) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [In a box factory!] for (4) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [I dig you!] for (7) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [He didn't have the GUTS!] for (7) seconds\n    wait (1) seconds\n    say [] for (7) seconds\n    wait (1) seconds\n    say [How WOOD I know?] for (7) seconds\n    wait (1) seconds\nend\n\nbroadcast (gameover v)\n\nwhen I receive [gameover v]\nswitch costume to (tinyrunner40 v)\nwait (1) seconds\ngo to [front v] layer\ngo to x: (-30) y: (300)\nshow\nglide (1) secs to x: (-30) y: (-51)\nbroadcast (EndTalk v)\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@minecraft font\n\nwhen I start as a clone\nif <(y position) > [160]> then\n    show\n    go to [front v] layer\n    show\n    go to [front v] layer\n    glide (0.5) secs to x: (x position) y: (LineHeight)\n    show\n    go to [front v] layer\n    glide (0.25) secs to x: (x position) y: ((LineHeight) + (50))\n    show\n    go to [front v] layer\n    glide (0.25) secs to x: (x position) y: (LineHeight)\n    show\n    go to [front v] layer\n    glide (0.1) secs to x: (x position) y: ((LineHeight) + (20))\n    show\n    go to [front v] layer\n    glide (0.1) secs to x: (x position) y: (LineHeight)\n    set [digitclonenumber v] to [0]\nend\nwait (1) seconds\nrepeat (300)\n    change [color v] effect by (1)\n    go to [front v] layer\nend\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nset [digitx v] to (x position)\nset [digity v] to (y position)\n\nwait (1) seconds\nrepeat (2)\n    create clone of (_myself_ v)\n    change x by (-1)\n    change y by (1)\n    change [digitclonenumber v] by (1)\nend\nhide\nforever\n\nwait (0) seconds\n\nbroadcast (3DTextRipple v)\n\ngo to x: (DigitX) y: (DigitY)\npoint towards (textcentredot v)\nmove (DigitCloneNumber) steps\n\ndefine CapitalsCheck\nset [costumetoswitchto v] to (letter (WhichLetterToSwitchTo?) of (TextToShow))\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [A]> then\n    set [costumetoswitchto v] to [a]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [B]> then\n    set [costumetoswitchto v] to [b]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [C]> then\n    set [costumetoswitchto v] to [c]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [D]> then\n    set [costumetoswitchto v] to [d]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [E]> then\n    set [costumetoswitchto v] to [e]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [F]> then\n    set [costumetoswitchto v] to [f]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [G]> then\n    set [costumetoswitchto v] to [g]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [H]> then\n    set [costumetoswitchto v] to [h]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [I]> then\n    set [costumetoswitchto v] to [i]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [J]> then\n    set [costumetoswitchto v] to [j]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [K]> then\n    set [costumetoswitchto v] to [k]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [L]> then\n    set [costumetoswitchto v] to [l]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [M]> then\n    set [costumetoswitchto v] to [m]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [N]> then\n    set [costumetoswitchto v] to [n]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [O]> then\n    set [costumetoswitchto v] to [o]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [P]> then\n    set [costumetoswitchto v] to [p]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [Q]> then\n    set [costumetoswitchto v] to [q]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [R]> then\n    set [costumetoswitchto v] to [r]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [S]> then\n    set [costumetoswitchto v] to [s]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [T]> then\n    set [costumetoswitchto v] to [t]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [U]> then\n    set [costumetoswitchto v] to [u]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [V]> then\n    set [costumetoswitchto v] to [v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [W]> then\n    set [costumetoswitchto v] to [w]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [X]> then\n    set [costumetoswitchto v] to [x]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [Y]> then\n    set [costumetoswitchto v] to [y]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [Z]> then\n    set [costumetoswitchto v] to [z]\n    stop [this script v]\nend\nif <(letter (WhichLetterToSwitchTo?) of (TextToShow)) = [ ]> then\n    set [costumetoswitchto v] to [space]\nend\n\ndefine ShowTextOnScreen\ngo to x: (0) y: (300)\nrepeat (length of (TextToShow))\n    change x by ((size) * (-0.1))\nend\nif <not <((length of (TextToShow)) / (2)) = (round (length of (TextToShow)))>> then\n    change x by ((size) * (0.1))\nend\nset [whichlettertoswitchto? v] to [1]\nstart sound [FunWin v]\nrepeat (length of (TextToShow))\n    switch costume to (  v)\n    CapitalsCheck\n    switch costume to (CostumeToSwitchTo)\n    if <not <(CostumeToSwitchTo) = [space]>> then\n        create clone of (_myself_ v)\n    end\n    change x by ((size) * (0.2))\n    wait (0.05) seconds\n    change [whichlettertoswitchto? v] by (1)\nend\nset [secondline? v] to [Yes]\ngo to x: (0) y: (300)\n\nwhen I receive [#showleveltransition v]\n\nwhen I receive [showthefont v]\nhide\nclear graphic effects\nwait (0.1) seconds\nset [color v] effect to (-100)\ngo to [front v] layer\nset size to (130) %\nset [lineheight v] to [130]\nset [texttoshow v] to (join [WR ] (join (WR) [ seconds]))\nShowTextOnScreen\nset size to (120) %\nset [lineheight v] to [-120]\nset [texttoshow v] to (username)\nShowTextOnScreen\nset size to (140) %\nset [lineheight v] to [-160]\nset [texttoshow v] to (TimerTextToSay)\nShowTextOnScreen\n\nset [wr v] to (☁ L1Time)\n\nwhen I receive [launchminecraftvictory v]\nif <(Mode) = [Hardcore]> then\n    if <(TimeSoFar) < (☁ HardcoreTime)> then\n        wait (1) seconds\n        set [☁ hardcoretime v] to (TimeSoFar)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ HardcoreTime)\n    set [timertexttosay v] to (join (TimeSoFar) [ seconds])\nend\nif <(Mode) = [Normal]> then\n    if <(TimeSoFar) < (☁ NormalTime)> then\n        wait (1) seconds\n        set [☁ normaltime v] to (TimeSoFar)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ NormalTime)\n    set [timertexttosay v] to (join (TimeSoFar) [ seconds])\nend\nbroadcast (ShowTheFont v)\n\nwhen flag clicked\nhide\n\npoint towards (textcentredot v)\nmove (2) steps\n\nchange [digitclonenumber v] by (1)\n\ngo to x: (DigitX) y: (DigitY)\npoint towards (textcentredot v)\nmove (DigitCloneNumber) steps\nchange [color v] effect by (1)\n\nchange y by (10)\n\nset y to (DigitY)\n\nwait (0.1) seconds\n\nset [☁ minecraftmariobesteverscore v] to [0]\nset [☁ l1time v] to [60]\nset [☁ l2time v] to [60]\nset [☁ l3time v] to [60]\nset [☁ l4time v] to [60]\nset [☁ l5time v] to [60]\n\nbroadcast (DeleteLocalClones v)\n\nwhen I receive [deletelocalclones v]\n\nwait (5) seconds\n\nstop [this script v]\n\nstop [this script v]\n\nwhen I receive [showbesttimes v]\nset [timetakenonlevel v] to (round (timer))\nset [timertexttosay v] to (join (TimeTakenOnLevel) [ seconds])\nif <(Level) = [1]> then\n    if <(TimeTakenOnLevel) < (☁ L1Time)> then\n        wait (1) seconds\n        set [☁ l1time v] to (TimeTakenOnLevel)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ L1Time)\nend\nif <(Level) = [2]> then\n    if <(TimeTakenOnLevel) < (☁ L2Time)> then\n        wait (1) seconds\n        set [☁ l2time v] to (TimeTakenOnLevel)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ L2Time)\nend\nif <(Level) = [3]> then\n    if <(TimeTakenOnLevel) < (☁ L3Time)> then\n        wait (1) seconds\n        set [☁ l3time v] to (TimeTakenOnLevel)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ L3Time)\nend\nif <(Level) = [4]> then\n    if <(TimeTakenOnLevel) < (☁ L4Time)> then\n        wait (1) seconds\n        set [☁ l4time v] to (TimeTakenOnLevel)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ L4Time)\nend\nif <(Level) = [5]> then\n    if <(TimeTakenOnLevel) < (☁ L4Time)> then\n        wait (1) seconds\n        set [☁ l5time v] to (TimeTakenOnLevel)\n        wait (1) seconds\n    end\n    set [wr v] to (☁ L5Time)\nend\nbroadcast (ShowTheFont v)\n\nstop [other scripts in sprite v]\n\nwhen I receive [levelup v]\nif <[1] = [1]> then\n    delete this clone\nend\nrepeat (3)\n    hide\n    stop [other scripts in sprite v]\n    delete this clone\nend\nhide\nstop [this script v]\n\nset [☁ normaltime v] to [300]\nset [☁ hardcoretime v] to [240]\n\n@Flag\n\nwhen flag clicked\nhide\n\nwhen I receive [gameover v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [portalpositioning v]\n\nwhen I receive [levelup v]\nPlacePortal\n\ngo to x: (-65) y: (68)\n\nwhen I receive [start v]\nPlacePortal\n\ndefine PlacePortal\nshow\nif <(Level) = [1]> then\n    go to x: (-80) y: (53)\nend\nif <(Level) = [2]> then\n    go to x: (-70) y: (60)\nend\nif <(Level) = [3]> then\n    go to x: (205) y: (-13)\nend\nif <(Level) = [4]> then\n    go to x: (-226) y: (-104)\nend\nif <(Level) = [5]> then\n    go to x: (-184) y: (-106)\nend\nshow\nset size to (33) %\nforever\n    if <touching (hero v)?> then\n        broadcast (ShowBestTimes v)\n        broadcast (#ReleaseTheFruit v)\n        set [levelwas v] to (Level)\n        start sound [minecraft-rare-achievements-sound v]\n        stop [this script v]\n    end\n    next costume\n    if <(Level) = [5]> then\n        if <touching (boat v)?> then\n            broadcast (#ReleaseTheFruit v)\n            set [levelwas v] to (Level)\n            start sound [minecraft-rare-achievements-sound v]\n            stop [this script v]\n        end\n    end\nend\n\nbroadcast (PortalPositioning v)\n\nhide\n\nnext costume\n\nnext costume\n\n@Apple\n\nwhen this sprite clicked\nswitch costume to (shopid10 v)\n\nsay [Coming Soon!] for (2) seconds\n\nwhen flag clicked\nswitch costume to (iconid5 v)\n\n@Arrow1\n\n@Sprite5\n\nwhen this sprite clicked\nstop all sounds\nchange [xp v] by (15)\n\n@925FB56E-8547-44A2-A2F8-E0F13C042B37\n\nwhen flag clicked\nforever\n    turn right (15) degrees\nend\n\nwhen this sprite clicked\nsay [You need 212K Score to buy this,... Do you wanna buy it.] for (4) seconds\nif <(Score) > [212000]> then\n    change [score v] by (-212000)\n    forever\n        glide (1) secs to (hero v)\n    end\nend\n\nchange [score v] by (1000000)\n\nwhen flag clicked\nchange [color v] effect by (125)\n\n