Villager Platformer ✩エンド編✩ 

Instructions: Villager Platformerです！（下に物語あり）\nVillager Platformer! (There is a story below)\n星とハート1000個ずつで続編\nバイオーム編↓\nhttps://scratch.mit.edu/projects/698935544/\nネザー編↓\nhttps://scratch.mit.edu/projects/608280261/\nこれやりなさい()⤵︎\nhttps://scratch.mit.edu/projects/713786165/\nまとめスタジオ↓\nhttps://scratch.mit.edu/studios/31855080/\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n最近マインクラフトのハイブで、アプデきたからうれしい！！\nI'm glad I came to Minecraft's hive recently! !!\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nあと、僕の作ってるアニメの勇者物語が、映画を投稿するので、ぜひ見てみてね！！\n６月29日～七月一日までの、16時に、放送いたします！\nAlso, the story of the brave man in the anime I'm making will post a movie, so be sure to check it out! !!\nIt will be broadcast at 16:00 from June 29th to July 1st!\nまず最初⤵︎\nhttps://scratch.mit.edu/projects/680678125/\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nクレジット\nブロックの素材@kuri-pa-2様　\nイントロ   @nishintokoyasan様\n村人と音楽の素材   @idontknow0315様\n素敵な素材をありがとうございます！！\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n面白いと思ったら、ハートと星よろしく！！\n\n\n\n【物語】\nやばいやばいやばいやばい！！この俺様、村人様の体が小さくなっちまっただと！？ま、まぁいい....とにかく家に帰るぜぇ！！\n\n\n\n\nタグ\n#minecraft#game #games #all #alt #platformer #minecraftplatformer #S_Fes #Game #Games #All 

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景2 v)\nwait (1) seconds\nswitch backdrop to (背景1 v)\nforever\n    if <key (space v) pressed?> then\n        switch backdrop to (背景2 v)\n    end\n    if <key (a v) pressed?> then\n        switch backdrop to (背景1 v)\n    end\n    if <(swyn数値) = [4]> then\n        switch backdrop to (ざえんど v)\n    end\nend\n\nwhen I receive [the end v]\nforever\n    start sound [minecraft v]\nend\n\n@マグマ\n\nwhen I receive [スタート v]\n\nshow\n\nclear graphic effects\nset [color v] effect to (80)\n\nforever\n    switch costume to (ステージ)\nend\n\nclear graphic effects\n\nwhen flag clicked\nforever\n    if <(サワヤンとは.....はいどーーーーーーーも皆さん今ちくわ！サワヤンゲームズでスター！しゃ！である.....) = (item (2) of [sawayan v])> then\n        switch costume to (コスチューム4 v)\n        show\n    else\n        if <(サワヤンとは.....はいどーーーーーーーも皆さん今ちくわ！サワヤンゲームズでスター！しゃ！である.....) = (item (3) of [sawayan v])> then\n            switch costume to (コスチューム5 v)\n            show\n        else\n            if <(サワヤンとは.....はいどーーーーーーーも皆さん今ちくわ！サワヤンゲームズでスター！しゃ！である.....) = (item (4) of [sawayan v])> then\n                switch costume to (コスチューム6 v)\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\n@Next!\n\nwhen I receive [next v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\nstart sound [High Whoosh v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    set [move v] to [OK]\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\n@村人\n\nwhen flag clicked\nset drag mode [not draggable v]\nswitch costume to (villager-walk-1 v)\nhide\n\nwhen I receive [the end v]\ngo to x: (-190) y: (-50)\nshow\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            next costume\n            wait (0.07) seconds\n            if <(costume [number v]) = [5]> then\n                switch costume to (villager-walk-1 v)\n            end\n            if <not <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>>> then\n                switch costume to (villager-walk-3 v)\n            end\n        end\n    end\nend\n\nwhen I receive [the end v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\ngo to [front v] layer\nset [saqwesrdtghyjik v] to []\nswitch costume to (villager-walk-3 v)\nset [45 v] to []\nset rotation style [left-right v]\npoint in direction (90)\nshow\nforever\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (-0.65)\n        point in direction (-90)\n        broadcast (左 v)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        set rotation style [left-right v]\n        change [動力\(x\) v] by (0.65)\n        point in direction (90)\n        broadcast (右 v)\n    end\n    set [動力\(x\) v] to ((動力\(x\)) * (0.9))\n    change x by (動力\(x\))\n    if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n                            change x by ((動力\(x\)) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(動力\(x\)) > [0]> then\n                                    set [動力\(x\) v] to [-5]\n                                else\n                                    set [動力\(x\) v] to [5]\n                                end\n                                set [動力\(y\) v] to [10]\n                            else\n                                set [動力\(x\) v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n        if <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> then\n            set [動力\(y\) v] to [13]\n        end\n    end\n    change y by (1)\n    change [動力\(y\) v] by (-1)\n    change y by (動力\(y\))\n    if <<touching (地面 v)?> or <<touching (ソウルサンド v)?> or <touching (マグマブロック v)?>>> then\n        change y by ((動力\(y\)) * (-1))\n        set [動力\(y\) v] to [0]\n    end\n    hide variable [動力\(x\) v]\n    if <<key (down arrow v) pressed?> or <<<mouse down?> and <(mouse y) < (y position)>> or <key (s v) pressed?>>> then\n        switch costume to (コスチューム4 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\n    if <(x position) > [230]> then\n        if <not <([costume # v] of [stage v]) = [10]>> then\n            set [動力\(y\) v] to [0]\n            set [動力\(x\) v] to [0]\n            go to x: (-180) y: (-50)\n            broadcast (Next v)\n            wait (1) seconds\n        end\n    end\n    if <<<<touching (障害物 v)?> or <(y position) < [-170]>> or <touching (マグマ v)?>> or <touching (敵mob2 v)?>> then\n        start sound [hurt v]\n        set [45 v] to [0]\n        broadcast (死んだ v) and wait\n        set [45 v] to []\n    end\n    if <touching (wa-pinngu v)?> then\n        go to x: (-190) y: (-50)\n        broadcast (NEXT v)\n        wait (1.5) seconds\n    end\nend\n\nwhen I receive [死んだ v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [1]\nset [saqwesrdtghyjik v] to [0]\nお前はもう死んでいる\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\n\ndefine お前はもう死んでいる\nswitch costume to (villager-walk-1-hurt v)\nset [動力\(y\) v] to [0]\nset [動力\(x\) v] to [0]\nbroadcast (しんだ⭐ v)\nrepeat (5)\n    change y by (10)\nend\nrepeat (3)\n    change y by (7)\nend\nrepeat (3)\n    change y by (4)\nend\nrepeat (3)\n    change y by (2)\nend\nrepeat (2)\n    change y by (-2)\nend\nrepeat (3)\n    change y by (-5)\nend\nrepeat (3)\n    change y by (-7)\nend\nrepeat until <(y position) < [-170]>\n    change y by (-15)\nend\nset rotation style [don't rotate v]\ngo to x: (-190) y: (-50)\nswitch costume to (villager-walk-1 v)\nset [saqwesrdtghyjik v] to []\n\nwhen I receive [しんだ⭐ v]\nset rotation style [all around v]\nrepeat until <(y position) < [-170]>\n    set rotation style [all around v]\n    turn right (15) degrees\nend\n\nwhen I receive [the end v]\nwait (4) seconds\nforever\n    if <(45) = []> then\n        if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) < (mouse x)>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            if <not <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                set [griffpatch様 v] to (pick random (1) to (2))\n                if <(Griffpatch様) = [1]> then\n                    play sound [fallbig1 v] until done\n                end\n                if <(Griffpatch様) = [2]> then\n                    play sound [fallbig2 v] until done\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [the end v]\nforever\n    if <key (r v) pressed?> then\n        start sound [hurt v]\n        switch costume to (villager-walk-1-hurt v)\n        glide (1) secs to x: (-190) y: (-50)\n        switch costume to (villager-walk-3 v)\n    end\nend\n\nwhen I receive [リスポーン v]\nset [ʕ⁎̯͡⁎ʔ༄ v] to [1]\nstart sound [hurt v]\nswitch costume to (villager-walk-1-hurt v)\nglide (1) secs to x: (-190) y: (-50)\nswitch costume to (villager-walk-3 v)\nset [ʕ⁎̯͡⁎ʔ༄ v] to [0]\n\nwhen I receive [ﾌﾞﾁｭ v]\nhide\n\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait (0.01) seconds\ngo to [front v] layer\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\ngo to x: (-3) y: (1)\n\n@スプライト2\n\nwhen flag clicked\nhide\nforever\n    if <(swyn数値) = [0]> then\n        switch costume to (コスチューム1 v)\n        go to x: (36) y: (28)\n        show\n    else\n        if <(swyn数値) = [1]> then\n            switch costume to (コスチューム2 v)\n            go to x: (36) y: (28)\n            show\n        else\n            hide\n        end\n    end\nend\n\n@  INTRO\n\nwhen I start as a clone\nif <(costume [name v]) = [font]> then\n    go to x: (0) y: (0)\n    point in direction (120)\n    go to [front v] layer\n    set size to (60) %\n    show\n    repeat (50)\n        turn right ([abs v] of (((90) - (direction)) / (2)) ) degrees\n    end\n    WAIT [1.7]\n    shake [l]\n    WAIT [2.3]\n    shake [r]\n    WAIT [2.8]\n    shake [l]\n    WAIT [3.3]\n    shake [r]\n    WAIT [3.8]\n    shake [l]\n    WAIT [4.3]\n    shake [r]\n    WAIT [4.8]\n    shake [l]\n    WAIT [5.3]\n    shake [r]\n    WAIT [5.8]\n    shake [l]\n    WAIT [6.3]\n    shake [r]\n    WAIT [6.8]\n    shake [l]\n    WAIT [7.3]\n    shake [r]\n    WAIT [7.8]\n    shake [l]\n    WAIT [8.3]\n    shake [r]\n    WAIT [8.8]\n    shake [l]\n    WAIT [9.3]\n    shake [r]\n    WAIT [9.8]\n    shake [l]\n    WAIT [10.3]\n    shake [r]\n    WAIT [10.8]\n    shake [l]\n    WAIT [11.3]\n    shake [r]\n    WAIT [11.8]\n    shake [l]\n    WAIT [12.3]\n    shake [s]\n    WAIT [12.8]\n    switch costume to (by v)\n    shake [r]\n    WAIT [13.3]\n    shake [l]\n    WAIT [13.8]\n    shake [l]\n    WAIT [14.3]\n    shake [s]\n    WAIT [14.8]\n    switch costume to (font v)\n    shake [r]\n    WAIT [15.3]\n    shake [l]\n    go to [back v] layer\nend\n\ndefine shake (lr)\nif <(lr) = [R]> then\n    set [s1 v] to [50]\n    set [s2 v] to [30]\nelse\n    set [s1 v] to [-50]\n    set [s2 v] to [-30]\nend\nrepeat (13)\n    go to [front v] layer\n    turn right (S1) degrees\n    change x by (S2)\n    change [s1 v] by ((((90) - (direction)) / (3)) - ((S1) / (3)))\n    change [s2 v] by ((((0) - (x position)) / (5)) - ((S2) / (5)))\n    insert (x position) at (1) of [x v] \n    insert (direction) at (1) of [direction v] \nend\ngo to x: (0) y: (0)\npoint in direction (90)\n\ndefine WAIT (time)\nwait until <(time) < (timer)>\n\nwhen flag clicked\ngo to x: (0) y: (0)\nwait (.0000000000000000000000000000000000000000000000000000000000000000000001) seconds\nset [n v] to [0]\nstart sound [Memes \[NCS Release\]3 v]\nswitch costume to (font v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (150)\nswitch costume to (ban v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (-150)\nswitch costume to (ban v)\ncreate clone of (_myself_ v)\nswitch costume to (che v)\ncreate clone of (_myself_ v)\nrepeat (12)\n    switch costume to (すぷらいん白 v)\n    create clone of (_myself_ v)\n    switch costume to (すぷらいん v)\n    create clone of (_myself_ v)\nend\nset [n v] to [0]\nswitch costume to (black v)\ncreate clone of (_myself_ v)\nset [n v] to [1]\nswitch costume to (black v)\ncreate clone of (_myself_ v)\nswitch costume to (p_pinwheel v)\ncreate clone of (_myself_ v)\ngo to x: (-130) y: (0)\nswitch costume to (ban v)\ncreate clone of (_myself_ v)\ngo to x: (130) y: (0)\nswitch costume to (ban v)\ncreate clone of (_myself_ v)\nwait (0.4) seconds\ngo to x: (0) y: (0)\nrepeat (12)\n    wait (0.4) seconds\n    switch costume to (ban v)\n    create clone of (_myself_ v)\nend\nrepeat (12)\n    wait (0.4) seconds\n    switch costume to (ben v)\n    go to x: (130) y: (60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-130) y: (60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-130) y: (0)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-130) y: (-60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (130) y: (-60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: () y: (-60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (0) y: (0)\n    create clone of (_myself_ v)\nend\nrepeat (6)\n    wait (0.4) seconds\n    switch costume to (ben v)\n    go to x: (200) y: (60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-200) y: (60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-200) y: (0)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (-200) y: (-60)\n    create clone of (_myself_ v)\n    switch costume to (ben v)\n    go to x: (200) y: (-60)\n    create clone of (_myself_ v)\nend\nwait (1.5) seconds\nswitch costume to (shakin v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [name v]) = [ban]> then\n    set x to ((X) + (item (1) of [x v]))\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set size to (100) %\n    show\n    repeat (15)\n        change [n v] by (((10000) - (N)) / (5))\n        change size by (((400) - (size)) / (5))\n        set [fisheye v] effect to (N)\n        set x to ((X) + (item (1) of [x v]))\n    end\n    repeat (5)\n        change [ghost v] effect by (20)\n        set x to ((X) + (item (1) of [x v]))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide\n\ndefine UP DOWN\ngo to [front v] layer\nif <(N) = [1]> then\n    set y to (250)\n    repeat (10)\n        change y by (((300) - (y position)) / (5))\n        if <(timer) < [10.7]> then\n            go to [front v] layer\n        end\n    end\nelse\n    set y to (-250)\n    repeat (10)\n        change y by (((-300) - (y position)) / (5))\n        if <(timer) < [10.7]> then\n            go to [front v] layer\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [black]> then\n    if <(N) = [1]> then\n        go to x: (0) y: (340)\n    else\n        go to x: (0) y: (-340)\n    end\n    point in direction (90)\n    go to [front v] layer\n    set size to (100) %\n    show\n    repeat (40)\n        if <(N) = [1]> then\n            change y by (((300) - (y position)) / (5))\n        else\n            change y by (((-300) - (y position)) / (5))\n        end\n    end\n    WAIT [1.8]\n    UP DOWN\n    WAIT [2.3]\n    UP DOWN\n    WAIT [2.8]\n    UP DOWN\n    WAIT [3.3]\n    UP DOWN\n    WAIT [3.8]\n    UP DOWN\n    WAIT [4.25]\n    UP DOWN\n    WAIT [4.7]\n    UP DOWN\n    WAIT [5.15]\n    UP DOWN\n    WAIT [5.6]\n    UP DOWN\n    WAIT [6.05]\n    UP DOWN\n    WAIT [6.5]\n    UP DOWN\n    WAIT [6.95]\n    UP DOWN\n    WAIT [7.4]\n    UP DOWN\n    WAIT [7.85]\n    UP DOWN\n    WAIT [8.3]\n    UP DOWN\n    WAIT [8.75]\n    UP DOWN\n    WAIT [9.2]\n    UP DOWN\n    WAIT [9.65]\n    UP DOWN\n    WAIT [10.1]\n    UP DOWN\n    WAIT [10.55]\n    UP DOWN\n    WAIT [11.1]\n    UP DOWN\n    WAIT [11.5]\n    UP DOWN\n    WAIT [12.1]\n    UP DOWN\n    WAIT [12.5]\n    UP DOWN\n    WAIT [13.1]\n    UP DOWN\n    WAIT [12.5]\n    UP DOWN\n    WAIT [13,1]\n    UP DOWN\n    WAIT [13.5]\n    UP DOWN\n    WAIT [14.1]\n    UP DOWN\n    WAIT [14,5]\n    UP DOWN\n    WAIT [15.1]\n    UP DOWN\n    WAIT [15.6]\n    UP DOWN\n    WAIT [16.1]\n    UP DOWN\n    WAIT [16.5]\n    UP DOWN\n    WAIT [17.1]\n    UP DOWN\n    WAIT [17.5]\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [ben]> then\n    set x to ((X) + (item (1) of [x v]))\n    switch costume to (ben v)\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set size to (100) %\n    show\n    repeat (15)\n        change [n v] by (((10000) - (N)) / (5))\n        change size by (((400) - (size)) / (5))\n        set [fisheye v] effect to (N)\n        set x to ((X) + (item (1) of [x v]))\n    end\n    repeat (5)\n        change [ghost v] effect by (20)\n        set x to ((X) + (item (1) of [x v]))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Panzoid]> then\n    show\n    go to [front v] layer\n    go [backward v] (1) layers\n    switch costume to (panzoid v)\n    go to x: (0) y: (0)\n    set size to (2) %\n    point in direction (90)\n    clear graphic effects\n    repeat (15)\n        change size by (((105) - (size)) / (10))\n        if <[150] < (size)> then\n            delete this clone\n        end\n    end\n    repeat (15)\n        switch costume to (size hack v)\n        change size by (((210) - (size)) / (10))\n        switch costume to (panzoid v)\n        if <[150] < (size)> then\n            delete this clone\n        end\n    end\n    repeat (15)\n        switch costume to (size hack v)\n        change size by (((315) - (size)) / (10))\n        switch costume to (panzoid v)\n        if <[150] < (size)> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (0.4) seconds\nrepeat (30)\n    wait (0.4) seconds\n    go to [back v] layer\n    switch costume to (panzoid v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [8]> then\n    go to [front v] layer\n    show\n    go to [front v] layer\n    go to x: (-3000000) y: (0)\n    go to [front v] layer\n    wait (.01) seconds\n    go to [front v] layer\n    glide (0.5) secs to x: (200) y: (0)\n    go to [front v] layer\n    broadcast (THE END v)\n    delete this clone\nend\n\nwhen I receive [the end v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [9]> then\n    go to x: (0) y: (0)\n    repeat (400)\n        turn right (6) degrees\n        show\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [すぷらいん白]> then\n    show\n    clear graphic effects\n    switch costume to (すぷらいん白 v)\n    set size to (100) %\n    go to [front v] layer\n    go to x: (0) y: (150)\n    point in direction (90)\n    forever\n        turn right (6) degrees\n        move (16) steps\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [すぷらいん]> then\n    show\n    clear graphic effects\n    switch costume to (すぷらいん v)\n    set size to (100) %\n    go to [front v] layer\n    go [backward v] (1) layers\n    go to x: (0) y: (150)\n    point in direction (90)\n    forever\n        turn right (6) degrees\n        move (16) steps\n    end\nend\n\n@地面\n\nwhen I receive [スタート v]\n\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\nforever\n    if <(costume [number v]) = [4]> then\n        set [swyn数値 v] to [0]\n        set [swyn v] to (swyn数値)\n    else\n        if <(costume [number v]) = [5]> then\n            set [swyn数値 v] to [1]\n            set [swyn v] to (swyn数値)\n        else\n            if <(costume [number v]) = [6]> then\n                set [swyn数値 v] to [2]\n                set [swyn v] to (swyn数値)\n            else\n                if <(costume [number v]) = [12]> then\n                    set [swyn数値 v] to [3]\n                    set [swyn v] to (swyn数値)\n                else\n                    if <(costume [number v]) = [16]> then\n                        set [swyn数値 v] to [4]\n                        set [swyn v] to (swyn数値)\n                    else\n                        if <(costume [number v]) = [15]> then\n                            set [swyn数値 v] to [5]\n                            set [swyn v] to (swyn数値)\n                        else\n                            set [swyn数値 v] to [-1]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [the end v]\nshow\n\nwhen flag clicked\nset [swyn数値 v] to [-1]\n\n@wa-pinngu\n\nwhen flag clicked\nhide\nforever\n    if <(swyn数値) = [2]> then\n        go to x: (-9) y: (-30)\n        switch costume to (コスチューム1 v)\n        show\n    else\n        if <(swyn数値) = [3]> then\n            go to x: (-9) y: (-30)\n            switch costume to (コスチューム1 v)\n            show\n        else\n            if <(swyn数値) = [5]> then\n                switch costume to (コスチューム2 v)\n                go to x: (-9) y: (-30)\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\n