Kawaii Platformer
@Stage\n\nwhen I receive [intro done v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\n@Music\n\nwhen I receive [start v]\nset volume to (150) %\nstart sound [Sounds of the Boreal Forest v]\nwait (Time Wait) seconds\nstop all sounds\nset volume to (100) %\nforever\n    play sound [AJR - Bummerland \(Official Video\) v] until done\n    wait (1) seconds\n    play sound [The Entertainment's Here v] until done\nend\n\nwhen flag clicked\nset volume to (90) %\nset [time wait v] to [5]\n\nwhen I receive [sound v]\nset volume to (0) %\n\nwhen I receive [sound on v]\nset volume to (100) %\n\nwhen I receive [start v]\n\nwait (1) seconds\nset volume to (0) %\nwait (1) seconds\nset volume to (100) %\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (95) y: (-27)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.03)\ngo to x: (95) y: (-1000)\nrepeat until <(round (y position)) = [-27]>\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change y by (((1) - (y position)) / (5))\nend\nset y to (-27)\n\n@Player\n\ndefine reset\ngo to [front v] layer\nclear graphic effects\ngo to x: (-200) y: (-50)\npoint in direction (90)\nset [dead? v] to [0]\nset [x v v] to [0]\nset [y v v] to [0]\nset size to (80) %\nshow\n\nwhen I receive [next level v]\nset [change? v] to [1]\nreset\nset [change? v] to [0]\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nset [level v] to [1]\ngo to [front v] layer\nset [dead? v] to [0]\nset size to (80) %\nreset\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (.9)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (-.9)\n    end\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n            if <touching (ground v)?> then\n                change y by (2)\n                if <touching (ground v)?> then\n                    change y by (2)\n                    if <touching (ground v)?> then\n                        change y by (2)\n                        if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n                            change x by ((X v) * (-2))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [13]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-0.8)\n    change y by (Y v)\n    if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [12]\n        end\n    end\n    change y by (1)\n    if <<<<<touching (gears v)?> or <touching (danger v)?>> or <touching (killer wheel2 v)?>> or <touching (lightning v)?>> and <(dead?) = [0]>> then\n        Spin off screen\n    end\n    if <touching (trampoline v)?> then\n        set [y v v] to [19]\n    end\nend\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nforever\n    set [direction v] to (direction)\nend\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nset [change? v] to [0]\nforever\n    if <touching (flag v)?> then\n        start sound [Ding Sound Effect v]\n        broadcast (NEXT LEVEL v)\n        change [level v] by (1)\n    end\nend\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nforever\n    if <(y position) = [-179]> then\n        Spin off screen\n    end\nend\n\nwhen [r v] key pressed\nif <(dead?) = [0]> then\n    reset\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nshow\n\ndefine Spin off screen\nset [dead? v] to [1]\nchange [player death v] by (1)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nreset\n\nwhen flag clicked\nswitch costume to (center v)\n\nwhen flag clicked\nforever\n    if <<touching (danger v)?> or <touching (gears v)?>> then\n        go to x: (-200) y: (-65)\n    end\n    if <touching (moving danger v)?> then\n        go to x: (-200) y: (-65)\n    end\n    if <touching (water death v)?> then\n        set [ghost v] effect to (80)\n    else\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nbroadcast (Start v)\n\nwhen [1 v] key pressed\nnext costume\n\n@Ground\n\nwhen I receive [intro done v]\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\n\n@Wheat\n\nwhen flag clicked\nset [how fast of wheat - test v] to [0.2]\nwait (0.03) seconds\ngo to [back v] layer\nhide\ngo to x: (-90) y: (-60)\n\nwhen I receive [start v]\nshow\nwait (0.1) seconds\nforever\n    switch costume to (costume1 v)\n    repeat (4)\n        wait (How Fast of Wheat - TEST) seconds\n        next costume\n    end\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume4 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume3 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume2 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume1 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume6 v)\n    repeat (3)\n        wait (How Fast of Wheat - TEST) seconds\n        next costume\n    end\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume8 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume7 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume6 v)\n    wait (How Fast of Wheat - TEST) seconds\n    switch costume to (costume1 v)\nend\n\nwhen I receive [intro done v]\nshow\nwait (1) seconds\nrepeat (20)\n    change y by (2.5)\nend\nif <(Level) = [1]> then\n    go to x: (-90) y: (-5)\nend\n\nwhen I receive [next level v]\nif <(Level) = [2]> then\n    go to x: (0) y: (-5)\nend\nif <(Level) = [3]> then\n    go to x: (-400) y: (40)\nend\nif <(Level) = [4]> then\n    go to x: (0) y: (-5)\n    go to [back v] layer\nend\nif <<(Level) = [5]> or <(Level) = [6]>> then\n    go to x: (0) y: (-5)\nend\nif <(Level) = [7]> then\n    go to x: (0) y: (-20)\n    wait (0.03) seconds\n    go to [back v] layer\nend\nif <(Level) = [8]> then\n    go to x: (-40) y: (130)\n    wait (0.03) seconds\n    go to [back v] layer\nend\nif <(Level) = [9]> then\n    go to x: (-205) y: (40)\n    wait (0.03) seconds\n    go to [back v] layer\nend\nif <(Level) = [10]> then\n    go to x: (-370) y: (70)\n    wait (0.03) seconds\n    go to [back v] layer\nend\nif <(Level) = [11]> then\n    hide\nend\nif <(Level) = [12]> then\n    show\n    go to x: (-40) y: (40)\n    wait (0.03) seconds\n    go to [back v] layer\nend\n\n@Stuff\n\nwhen I receive [intro done v]\nwait (1) seconds\nshow\nrepeat (10)\n    change y by (1)\nend\ngo to x: (36) y: (28)\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (36) y: (18)\ngo to [back v] layer\nhide\n\nwhen I receive [next level v]\nnext costume\nif <(Level) = [6]> then\n    go to [back v] layer\n    go [forward v] (1) layers\nend\nif <(Level) = [7]> then\n    go to [back v] layer\nend\n\n@Clouds\n\nwhen flag clicked\ngo to x: (0) y: (320)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [intro done v]\nhide\nwait (0.5) seconds\nshow\nrepeat (12)\n    change y by (-5)\nend\nset [cloud id v] to [1]\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nchange [cloud id v] by (1)\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nchange [cloud id v] by (1)\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nchange [cloud id v] by (1)\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nchange [cloud id v] by (1)\nset [ghost v] effect to (20)\nforever\n    repeat (12)\n        change y by (1)\n        wait (0.1) seconds\n    end\n    repeat (12)\n        change y by (-1)\n        wait (0.1) seconds\n    end\nend\n\nwhen I start as a clone\nif <(Cloud ID) = [1]> then\n    set [ghost v] effect to (20)\n    hide\n    go to x: (-100) y: (150)\n    switch costume to (costume1 v)\n    wait (0.5) seconds\n    show\n    repeat (pick random (10) to (17))\n        change y by (-4)\n    end\n    forever\n        repeat (12)\n            change y by (1)\n            wait (0.1) seconds\n        end\n        repeat (12)\n            change y by (-1)\n            wait (0.1) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Cloud ID) = [2]> then\n    set [ghost v] effect to (20)\n    hide\n    go to x: (-200) y: (150)\n    switch costume to (costume2 v)\n    wait (0.5) seconds\n    show\n    repeat (pick random (10) to (17))\n        change y by (-4)\n    end\n    forever\n        repeat (12)\n            change y by (1)\n            wait (0.1) seconds\n        end\n        repeat (12)\n            change y by (-1)\n            wait (0.1) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Cloud ID) = [3]> then\n    set [ghost v] effect to (20)\n    hide\n    go to x: (175) y: (150)\n    switch costume to (costume3 v)\n    wait (0.5) seconds\n    show\n    repeat (pick random (10) to (17))\n        change y by (-4)\n    end\n    forever\n        repeat (12)\n            change y by (1)\n            wait (0.1) seconds\n        end\n        repeat (12)\n            change y by (-1)\n            wait (0.1) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Cloud ID) = [4]> then\n    set [ghost v] effect to (20)\n    hide\n    go to x: (250) y: (150)\n    switch costume to (costume4 v)\n    wait (0.5) seconds\n    show\n    repeat (pick random (7) to (10))\n        change y by (-4)\n    end\n    forever\n        repeat (12)\n            change y by (1)\n            wait (0.1) seconds\n        end\n        repeat (12)\n            change y by (-1)\n            wait (0.1) seconds\n        end\n    end\nend\n\n@Intro\n\nwhen I start as a clone\nif < (CloneID) contains [Tile]?> then\n    set size to (0) %\n    set [color v] effect to (0)\n    set [brightness v] effect to (15)\n    switch costume to (square v)\n    show\n    repeat until <(round (size)) = (round (80))>\n        change size by (((80) - (size)) / (5))\n    end\n    wait (4) seconds\n    delete this clone\nend\n\ndefine Tiles\nset [cloneid v] to [Tile]\nrepeat (10)\n    change x by (60)\n    create clone of (_myself_ v)\nend\nset x to (-350)\n\nwhen I start as a clone\nif <(CloneID) = [Square]> then\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (0)\n    set size to (0) %\n    point in direction (45)\n    repeat (15)\n        turn right (((90) - (direction)) / (4)) degrees\n        switch costume to (blank v)\n        change size by (((600) - (size)) / (4))\n        switch costume to (square2 v)\n    end\n    wait (4) seconds\n    delete this clone\nend\n\nwhen flag clicked\nbroadcast (Start intro v)\n\ndefine Smooth Glide to x (x) y (y) Speed (s)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (s))\n    change y by (((y) - (y position)) / (s))\nend\ngo to x: (x) y: (y)\n\ndefine BounceToSize (size)\nrepeat (35)\n    set [movement v] to (((movement) * (.8)) + (((size) - (size)) * (.3)))\n    change size by (movement)\nend\n\ndefine Make a clone of : (#)\nset [cloneid v] to (#)\ncreate clone of (_myself_ v)\n\ndefine Clone Particles\nset [cloneid v] to [Particle]\nrepeat (75)\n    create clone of (_myself_ v)\n    turn right (15) degrees\nend\npoint in direction (90)\n\nwhen I start as a clone\nif <(CloneID) = [Explosion]> then\n    if <(Explosion type) = [1]> then\n        go to [front v] layer\n        show\n        switch costume to (circle explosion 1 v)\n        set [color v] effect to (0)\n        set [brightness v] effect to (-10)\n        set size to (0) %\n        repeat (12)\n            next costume\n            change size by (((100) - (size)) / (4))\n        end\n        repeat (9)\n            go to [front v] layer\n            change [ghost v] effect by (10)\n            next costume\n            change size by (((100) - (size)) / (4))\n            wait (.05) seconds\n        end\n        delete this clone\n    end\nend\n\ndefine Explosion at (x) (y) (type)\ngo to x: (x) y: (y)\nset [cloneid v] to [Explosion]\nset [explosion type v] to (type)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneID) = [Circle]> then\n    switch costume to (circle v)\n    show\n    set size to (0) %\n    set [ghost v] effect to (0)\n    set size to (0) %\n    repeat (18)\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (10))\n        switch costume to (circle v)\n    end\n    wait (0.3) seconds\n    repeat (30)\n        switch costume to (blank v)\n        change size by (((size) - (2000)) / (15))\n        switch costume to (circle v)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Right arrow]> then\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    show\n    switch costume to (right arrow v)\n    go to x: (500) y: (0)\n    Smooth Glide to x [0] y [0] Speed [5]\n    wait (2.8) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Logo]> then\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    show\n    switch costume to (logo v)\n    bouncy thing from [-500] [100]\n    wait (2.8) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Logo2]> then\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    show\n    switch costume to (logo2 v)\n    bouncy thing from [500] [100]\n    wait (2.8) seconds\n    delete this clone\nend\n\ndefine bouncy thing from (y) (speed)\nshow\nset size to (250) %\npoint in direction (0)\nset [direction vel. v] to [0]\nset [y vel. v] to [0]\nset y to (y)\nrepeat (speed)\n    set [y vel. v] to (((y Vel.) * (.8)) + (((0) - (y position)) / (9)))\n    set [direction vel. v] to (((Direction Vel.) * (.9)) + (((90) - (direction)) / (9)))\n    change y by (y Vel.)\n    turn right (Direction Vel.) degrees\n    change size by (((70) - (size)) / (9))\nend\n\nwhen I start as a clone\nif <(CloneID) = [OC]> then\n    set size to (100) %\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (0)\n    switch costume to (oc v)\n    show\n    set x to (150)\n    bouncy thing from [500] []\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I receive [start intro v]\ngo to x: (0) y: (0)\nhide\nstart sound [Unknown Brain - Dancing On The Moon \(ft Luke Burr\) -  \[NCS Release\] v]\nclear graphic effects\nset size to (100) %\ngo to x: (0) y: (-150)\nrepeat (4)\n    Make a clone of : [Square]\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\ngo to x: (300) y: (210)\nMake a clone of : [Oc part 1]\nrepeat (6)\n    Tiles\n    change y by (-70)\nend\ngo to x: (0) y: (0)\nMake a clone of : [Logo]\nClone Particles\nMake a clone of : [Logo2]\nExpluso group\nwait (0.5) seconds\nExpluso group\nwait (0.5) seconds\nExpluso group\nwait (0.7) seconds\nrepeat (3)\n    Make a clone of : [Right arrow]\n    change [brightness v] effect by (5)\n    wait (0.1) seconds\nend\nwait (0.2) seconds\nMake a clone of : [Letter h]\nwait (0.05) seconds\nMake a clone of : [Letter e]\nwait (0.05) seconds\nMake a clone of : [Letter n]\nwait (0.05) seconds\nMake a clone of : [Letter r]\nwait (0.05) seconds\nExpluso group\nMake a clone of : [Letter y]\nwait (0.05) seconds\nMake a clone of : [Letter w]\nwait (0.05) seconds\nMake a clone of : [Letter o]\nwait (0.05) seconds\nMake a clone of : [Letter l]\nwait (0.05) seconds\nMake a clone of : [Letter f]\nwait (0.05) seconds\nMake a clone of : [Letter e2]\nwait (0.3) seconds\nExpluso group\nMake a clone of : [LOGO YEEEET]\nMake a clone of : [OC YEEET]\nwait (1) seconds\nMake a clone of : [Circle]\nchange [brightness v] effect by (5)\nwait (1) seconds\nbroadcast (Intro done v)\n\nwhen I start as a clone\nif <(CloneID) = [Particle]> then\n    show\n    switch costume to (particle v)\n    clear graphic effects\n    set size to (80) %\n    go to x: (0) y: (0)\n    set [color v] effect to (pick random (-10) to (0))\n    set [brightness v] effect to (pick random (-10) to (10))\n    go to [front v] layer\n    go [backward v] (5) layers\n    set [var 1 v] to (pick random (10) to (15))\n    set [var 2 v] to (pick random (2) to (7))\n    turn right (pick random (-10) to (10)) degrees\n    show\n    repeat until <touching (_edge_ v)?>\n        move (Var 1) steps\n        change y by (Var 2)\n        change [var 2 v] by (-0.4)\n        set [var 1 v] to ((Var 1) * (0.95))\n    end\n    repeat (10)\n        move (Var 1) steps\n        change y by (Var 2)\n        change [var 2 v] by (-0.4)\n        set [var 1 v] to ((Var 1) * (0.95))\n        change [ghost v] effect by (10)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [Explosion]> then\n    if <(Explosion type) = [2]> then\n        go to [front v] layer\n        show\n        switch costume to (6 line explosion 1 v)\n        set [color v] effect to (20)\n        set size to (0) %\n        repeat (7)\n            next costume\n            change size by (((150) - (size)) / (4))\n        end\n        repeat (5)\n            go to [front v] layer\n            change [ghost v] effect by (10)\n            next costume\n            change size by (((150) - (size)) / (4))\n            set [color v] effect to (20)\n            wait (.05) seconds\n        end\n        delete this clone\n    end\nend\n\ndefine Expluso group\nExplosion at [160] [120] [1]\nExplosion at [-160] [120] [1]\nExplosion at [160] [-120] [1]\nExplosion at [-160] [-120] [1]\nExplosion at [0] [0] [2]\n\nwhen I start as a clone\nif <(CloneID) = [Letter h]> then\n    Get ready for letter thing\n    switch costume to ( letter h v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Right arrow]> then\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif < (CloneID) contains [Letter]?> then\n    forever\n        switch costume to (CloneID)\n        go to [front v] layer\n        go [forward v] (3) layers\n    end\nend\n\ndefine Letter thing\nset size to (0) %\npoint in direction (45)\nrepeat until <(round (direction)) = (round (90))>\n    turn right (((90) - (direction)) / (4)) degrees\n    change size by (((150) - (size)) / (5))\nend\nSmooth Glide to x [10] y [120] Speed [5]\nwait (1.2) seconds\ndelete this clone\n\nwhen I start as a clone\nif <(CloneID) = [Letter e]> then\n    Get ready for letter thing\n    switch costume to ( letter e v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter n]> then\n    Get ready for letter thing\n    switch costume to ( letter n v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter r]> then\n    Get ready for letter thing\n    switch costume to ( letter r v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter y]> then\n    Get ready for letter thing\n    switch costume to ( letter y v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter w]> then\n    Get ready for letter thing\n    switch costume to ( letter w v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter o]> then\n    Get ready for letter thing\n    switch costume to ( letter o v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter l]> then\n    Get ready for letter thing\n    switch costume to ( letter l v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter f]> then\n    Get ready for letter thing\n    switch costume to ( letter f v)\n    Letter thing\nend\n\ndefine Get ready for letter thing\npoint in direction (90)\nswitch costume to (poshack v)\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\nclear graphic effects\nset size to (200) %\nshow\n\nwhen I start as a clone\nif <(CloneID) = [LOGO YEEEET]> then\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    go to x: (-80) y: (0)\n    show\n    switch costume to (logo part 3 v)\n    bouncy thing from [-500] [70]\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneID) = [OC YEEET]> then\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    set size to (150) %\n    show\n    go to x: (120) y: (-40)\n    switch costume to (oc v)\n    BounceToSize [70]\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <<(CloneID) = [OC YEEET]> or <(CloneID) = [LOGO YEEEET]>> then\n    forever\n        go to [front v] layer\n        go [forward v] (3) layers\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [Letter e2]> then\n    Get ready for letter thing\n    switch costume to ( letter e2 v)\n    Letter thing\nend\n\nwhen I start as a clone\nif <(CloneID) = [Circle]> then\n    forever\n        go to [front v] layer\n        go [forward v] (141414) layers\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [Oc part 1]> then\n    go to x: (0) y: (500)\n    show\n    set size to (50) %\n    switch costume to (oc2 v)\n    set [color v] effect to (0)\n    set [brightness v] effect to (0)\n    Smooth Glide to x [0] y [110] Speed [10]\n    repeat (7)\n        next costume\n    end\n    wait (0.5) seconds\n    Smooth Glide to x [0] y [500] Speed [20]\nend\n\nwhen I start as a clone\nif <(CloneID) = [Oc part 1]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <(CloneID) = [Oc part 1]> then\n    wait (2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\n@Sound\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    switch costume to (costume2 v)\n    broadcast (Sound v)\nelse\n    switch costume to (costume1 v)\n    broadcast (Sound On v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (3))\n        point in direction (90)\n    else\n        change size by (((40) - (size)) / (3))\n    end\nend\n\n@Water Death\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (36) y: (-33)\nhide\n\nwhen I receive [intro done v]\nwait (0.01) seconds\ngo to [back v] layer\nshow\nforever\n    repeat (5)\n        change y by (-1)\n    end\n    wait (0.1) seconds\n    repeat (5)\n        change y by (1)\n    end\n    wait (0.1) seconds\nend\n\nwhen I receive [next level v]\nnext costume\nif <(Level) = [10]> then\n    go to [front v] layer\nend\nif <(Level) = [11]> then\n    wait (0.01) seconds\n    go to [back v] layer\nend\n\n@Sun\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [back v] layer\npoint in direction (90)\nset rotation style [all around v]\ngo to x: (142) y: (112)\nset [ghost v] effect to (20)\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    wait (0.03) seconds\n    repeat (10)\n        change size by (1.5)\n    end\n    wait (0.03) seconds\n    repeat (10)\n        change size by (-1.5)\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [next level v]\nif <(Level) = [11]> then\n    switch costume to (costume2 v)\nelse\n    switch costume to (costume1 v)\nend\n\n@Flag\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (green flag v)\nforever\n    set x to (0)\nend\n\nwhen I receive [start v]\nwait (0.1) seconds\nshow\ngo to [back v] layer\nforever\n    repeat (10)\n        change y by (0.5)\n    end\n    repeat (10)\n        change y by (-0.5)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Rocks\n\nwhen I receive [intro done v]\nshow\nwait (1) seconds\ngo to [back v] layer\nif <(Level) = [1]> then\n    go [backward v] (2) layers\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\nif <(Level) = [3]> then\n    wait (1) seconds\n    go [forward v] (1) layers\nend\n\n@Skip\n\nwhen flag clicked\nset volume to (100) %\nhide\n\nwhen I receive [start v]\nwait (Time Wait) seconds\nshow\nswitch costume to (costume1 v)\n\nwhen this sprite clicked\nbroadcast (NEXT LEVEL v)\nchange [level v] by (1)\n\nwhen I receive [start v]\nforever\n    if <([costume # v] of [ground v]) = [12]> then\n        change volume by (-10)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(volume) = [90]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((60) - (size)) / (3))\n        point in direction (90)\n    else\n        change size by (((40) - (size)) / (3))\n    end\nend\n\n@Danger\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\nswitch costume to (costume1 v)\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\n\nwhen I receive [next level v]\nnext costume\nif <(Level) = [3]> then\n    go to [back v] layer\nend\nif <(Level) = [4]> then\n    go [forward v] (5) layers\nend\nif <(Level) = [5]> then\n    go to [back v] layer\nend\nif <(Level) = [6]> then\n    wait (0.1) seconds\n    go to [back v] layer\n    go [forward v] (2) layers\nend\n\nwhen I receive [start v]\nwait (0.01) seconds\nshow\nforever\n    repeat (10)\n        change y by (0.5)\n    end\n    repeat (10)\n        change y by (-0.5)\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (costume1 v)\nwait (0.011) seconds\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nwait (0.01) seconds\nshow\nforever\n    repeat (10)\n        change y by (0.5)\n    end\n    repeat (10)\n        change y by (-0.5)\n    end\nend\n\n@Moving danger\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\nif <(costume [number v]) = [5]> then\n    wait (0.03) seconds\n    set [clone id moving enemy v] to [1]\n    create clone of (_myself_ v)\n    change [clone id moving enemy v] by (1)\n    create clone of (_myself_ v)\n    switch costume to (costume5 v)\n    go to x: (-23) y: (10)\n    repeat until <(costume [number v]) = [6]>\n        repeat (26)\n            change x by (4)\n        end\n        repeat (26)\n            change x by (-4)\n        end\n    end\n    delete this clone\nend\n\nwhen I receive [start v]\nset [clone id moving enemy v] to [0]\nshow\n\nwhen I start as a clone\nif <(Clone ID Moving Enemy) = [1]> then\n    if <(costume [number v]) = [5]> then\n        go to x: (-134) y: (-29)\n        wait (0.45) seconds\n        switch costume to (costume5 v)\n        repeat until <(costume [number v]) = [6]>\n            repeat (19)\n                change x by (4)\n            end\n            repeat (19)\n                change x by (-4)\n            end\n        end\n        delete this clone\n    end\nend\nif <(Clone ID Moving Enemy) = [2]> then\n    if <(costume [number v]) = [5]> then\n        go to x: (115) y: (48)\n        wait (1) seconds\n        switch costume to (costume5 v)\n        repeat until <(costume [number v]) = [6]>\n            repeat (25)\n                change x by (4)\n            end\n            repeat (25)\n                change x by (-4)\n            end\n        end\n        delete this clone\n    end\nend\n\n@Moving ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [next level v]\nnext costume\nif <(costume [number v]) = [7]> then\n    switch costume to (costume7 v)\n    go to x: (22) y: (-32)\n    repeat until <(costume [number v]) = [8]>\n        repeat (40)\n            change x by (-4)\n        end\n        wait (0.5) seconds\n        repeat (40)\n            change x by (4)\n        end\n        wait (0.5) seconds\n    end\nend\nif <(costume [number v]) = [9]> then\n    switch costume to (costume9 v)\n    go to x: (-130) y: (-100)\n    repeat until <(costume [number v]) = [10]>\n        repeat (60)\n            change x by (3)\n        end\n        wait (0.5) seconds\n        repeat (60)\n            change x by (-3)\n        end\n        wait (0.5) seconds\n    end\nend\nif <(costume [number v]) = [11]> then\n    point in direction (90)\n    set rotation style [left-right v]\n    wait (0.02) seconds\n    go to [back v] layer\n    switch costume to (costume11 v)\n    go to x: (170) y: (-77)\n    repeat until <(costume [number v]) = [12]>\n        repeat (85)\n            change x by (-3)\n        end\n        wait (0.5) seconds\n        point in direction (-90)\n        repeat (85)\n            change x by (3)\n        end\n        wait (0.5) seconds\n        point in direction (90)\n    end\nend\n\nwhen I receive [start v]\npoint in direction (90)\nshow\n\n@Bird\n\nwhen I receive [intro done v]\ngo to x: (251) y: (pick random (21) to (176))\nforever\n    repeat (6)\n        wait (Bird Flight Speed) seconds\n        next costume\n    end\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume9 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume8 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume7 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume6 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume5 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume3 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nset [ghost v] effect to (30)\nset [bird flight speed v] to [0.1]\nhide\nwait (3) seconds\ngo to [back v] layer\n\nwhen I receive [intro done v]\nswitch costume to (costume1 v)\nshow\nforever\n    if <(x position) < [-248]> then\n        hide\n        wait (1) seconds\n        go to x: (251) y: (pick random (21) to (176))\n        show\n    end\n    change x by (-2)\nend\n\n@Bird2\n\nwhen I receive [intro done v]\nwait (5) seconds\ngo to x: (251) y: (pick random (21) to (176))\nforever\n    repeat (6)\n        wait (Bird Flight Speed) seconds\n        next costume\n    end\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume9 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume8 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume7 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume6 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume5 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume3 v)\n    wait (Bird Flight Speed) seconds\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nset [ghost v] effect to (30)\nset [bird flight speed v] to [0.1]\nhide\nwait (3) seconds\ngo to [back v] layer\n\nwhen I receive [intro done v]\nwait (5) seconds\nswitch costume to (costume1 v)\nshow\nforever\n    if <(x position) < [-248]> then\n        hide\n        wait (1) seconds\n        go to x: (251) y: (pick random (21) to (176))\n        show\n    end\n    change x by (-2.5)\nend\n\n
このゲームの本当の共有日：3/10くらい？（（（\n❤と⭐数が2000を超えたのでアップデートしました！！(コインを追加した\n❤と⭐4000超えたらまたアップデートします！\nI will update again when ❤ and ⭐ exceed 4000!\nアップデートしました！\nアップデート内容\n・ステージ増量\n・ノコノコ追加\n・ファイヤーフラワー追加\n・次のステージに行くと敵が消えるようにした\n今回はマリオプラットフォーマーを作りました！！\n❤と⭐、フォロー、拡散をよろしくお願いします。\n《操作方法》\n矢印キーまたはタップで操作します。\nクリボーは踏むかファイヤーで倒せます\nノコノコは踏んでも甲羅になるだけです(ファイヤーだと倒せます)\n敵に当たると死にます\n《クレジット(足りなかったら言ってください)》\nBGM：NCS\n一部コスチューム、効果音：@Will_Wam