「❖拡散希望!❖」Minecraft Platformer !
@Stage\n\nwhen flag clicked\nforever\n    play sound [c418-sweden-minecraft-volume-alpha v] until done\nend\n\nwhen flag clicked\nbroadcast (スタート v)\n\n@武器\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [11]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [17]>\nset [剣ある？ v] to [0]\nwait until <(ステージ) = [21]>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [10]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset [剣ある？ v] to [1]\nwait until <touching (プレイヤー2 v)?>\nset [剣ある？ v] to [0]\n\nwhen I receive [スタート v]\nset size to (100) %\nclear graphic effects\nshow\nforever\n    switch costume to (ステージ)\n    if <touching (プレイヤー2 v)?> then\n        set [持ち物 v] to (costume [name v])\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    change size by ([cos v] of (た) )\nend\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [16]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nwait until <(ステージ) = [20]>\nset size to (100) %\nclear graphic effects\nshow\n\nwhen I receive [スタート v]\nchange [☁ 遊んでくれた人 v] by (1)\n\n@プレイヤー2\n\nwhen flag clicked\nforever\n    if <<not <(ライフ) = [0]>> and <<touching (ステージ v)?> and <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>>>>> then\n        play sound (pick random (5) to (6)) until done\n    end\nend\n\nwhen I receive [スタート v]\nset [ライフ v] to [20]\nset [x2 v] to [0]\nset [y2 v] to [0]\nset [重力 v] to [0.9]\nset [ステージ v] to [1]\nset [スピード v] to [0.7]\nset [ジャンプ力 v] to [13]\nset [命はあるんか v] to [1]\nset [地面の摩擦 v] to [0.9]\nset [壁キックの跳ね返り v] to [5]\nset [壁キックのジャンプ力 v] to [10]\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\ngo to [front v] layer\nset [x2 v] to [0]\nset [y2 v] to [0]\nclear graphic effects\ngo to x: (-200) y: (-80)\nshow\nforever\n    if <<not <(ライフ) = [0]>> and <(命はあるんか) = [1]>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(mouse x) < [0]>> and <(攻撃状態) = [0]>>> then\n            point in direction (-90)\n            if <<touching (水 v)?> or <touching (マグマ v)?>> then\n                change [x2 v] by ((0) - ((スピード) / (2)))\n            else\n                change [x2 v] by ((0) - (スピード))\n            end\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<<mouse down?> and <[0] < (mouse x)>> and <(攻撃状態) = [0]>>> then\n            point in direction (90)\n            if <<touching (水 v)?> or <touching (マグマ v)?>> then\n                change [x2 v] by ((スピード) / (2))\n            else\n                change [x2 v] by (スピード)\n            end\n        end\n        set [x2 v] to ((x2) * (地面の摩擦))\n        change x by (x2)\n        if <touching (ステージ v)?> then\n            change y by (1)\n            if <touching (ステージ v)?> then\n                change y by (1)\n                if <touching (ステージ v)?> then\n                    change y by (1)\n                    if <touching (ステージ v)?> then\n                        change y by (1)\n                        if <touching (ステージ v)?> then\n                            change y by (1)\n                            if <touching (ステージ v)?> then\n                                change y by (1)\n                                if <touching (ステージ v)?> then\n                                    change x by ((0) - (x2))\n                                    change y by (-6)\n                                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                                        if <not <touching (水 v)?>> then\n                                            if <(x2) > [0]> then\n                                                set [x2 v] to ((0) - (壁キックの跳ね返り))\n                                            else\n                                                set [x2 v] to (壁キックの跳ね返り)\n                                            end\n                                            set [y2 v] to (壁キックのジャンプ力)\n                                        end\n                                    else\n                                        set [x2 v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y2 v] by ((0) - (重力))\n        if <<touching (水 v)?> and <(y2) < [-2]>> then\n            set [y2 v] to [-2]\n        end\n        change y by (y2)\n        if <touching (ステージ v)?> then\n            change y by ((0) - (y2))\n            set [y2 v] to [0]\n        end\n        change y by (-1)\n        if <<touching (水 v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>>> then\n            set [y2 v] to [4]\n        else\n            if <touching (ステージ v)?> then\n                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <[0] < (mouse y)>> and <(攻撃状態) = [0]>>> then\n                    set [y2 v] to (ジャンプ力)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [スタート v]\nwait (0.3) seconds\nforever\n    if <<[225] < (x position)> and <not <(ステージ) = [30]>>> then\n        NEXT\n    end\nend\n\ndefine NEXT\nbroadcast (next v)\nset [x2 v] to [0]\nset [y2 v] to [100]\nset [命はあるんか v] to [0]\nwait (0.4) seconds\nchange [ステージ v] by (1)\nwait (0.1) seconds\nset [x2 v] to [0]\nset [y2 v] to [0]\ngo to x: (-200) y: (-80)\nwait (2) seconds\nset [命はあるんか v] to [1]\n\nwhen I receive [スタート v]\nforever\n    if <touching (マグマ v)?> then\n        repeat until <not <touching (マグマ v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-9)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) < [0.01]> then\n        broadcast (やられた v)\n        set [ライフ v] to [0]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ライフ) = [0]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-200) y: (0)\n        set [ghost v] effect to (0)\n        point in direction (90)\n        set [ライフ v] to [20]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (ゾンビ v)?> then\n        start sound [う v]\n        change [ライフ v] by (-8)\n        broadcast (ダメージ v)\n        if <(x position) < (ゾンビ位置x)> then\n            set [x2 v] to [-10]\n            set [y2 v] to [10]\n        else\n            set [x2 v] to [10]\n            set [y2 v] to [10]\n        end\n        wait (0.35) seconds\n    end\nend\n\nwhen I receive [ダメージ v]\nrepeat (10)\n    switch costume to (スティーブ やられた v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <(y position) < [-180]> then\n        repeat until <(ライフ) < [0.01]>\n            change [ライフ v] by (-20)\n            start sound [う v]\n        end\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (サボテン v)?> then\n        repeat until <not <touching (サボテン v)?>>\n            if <not <(ライフ) = [0]>> then\n                change [ライフ v] by (-7)\n                switch costume to (スティーブ やられた v)\n                start sound [う v]\n            end\n            wait (0.2) seconds\n        end\n    else\n        if <not <touching (マグマ v)?>> then\n            switch costume to (普通 v)\n        end\n    end\nend\n\n@ステージ\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@Health2\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to ((ライフ) + (1))\nend\n\n@武器2\n\nwhen I receive [next v]\nset size to (100) %\nclear graphic effects\nshow\n\nwhen flag clicked\nforever\n    if <[100] < (direction)> then\n        point in direction (100)\n    end\n    if <(direction) < [-100]> then\n        point in direction (-100)\n    end\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nset [攻撃 v] to [0]\nforever\n    switch costume to (持ち物)\n    if <[0] < ([direction v] of [プレイヤー2 v])> then\n        set [右左 v] to [右]\n        go to x: (([x position v] of [プレイヤー2 v]) + (23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (-100)\n        end\n    else\n        set [右左 v] to [左]\n        go to x: (([x position v] of [プレイヤー2 v]) + (-23)) y: (([y position v] of [プレイヤー2 v]) + (-5))\n        if <(攻撃) = [0]> then\n            point in direction (100)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [持ち物 v] to [1]\nforever\n    if <(右左) = [右]> then\n        switch costume to ((持ち物) + (1))\n    else\n        switch costume to (持ち物)\n    end\nend\n\nwhen I receive [attack v]\nset [攻撃 v] to [1]\nif <(右左) = [右]> then\n    repeat (4)\n        turn right (15) degrees\n    end\nelse\n    repeat (4)\n        turn left (15) degrees\n    end\nend\nset [攻撃 v] to [0]\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (attack v)\n    end\n    wait until <not <key (space v) pressed?>>\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 I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@地面2\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\nset [ステージ v] to [23]\n\n@水\n\nwhen I receive [スタート v]\ngo to [front v] layer\nforever\n    switch costume to (ステージ)\n    set [ghost v] effect to (40)\nend\n\nwhen I receive [スタート v]\nforever\n    if <touching (プレイヤー2 v)?> then\n        go to [front v] layer\n    end\nend\n\n@太陽\n\nwhen flag clicked\nset [た v] to [0]\ngo to [back v] layer\nset size to (100) %\nshow\nforever\n    change [た v] by (10)\nend\n\nwhen flag clicked\nforever\n    change size by ([cos v] of (た) )\nend\n\n@ゾンビ\n\nwhen I start as a clone\nset [hp v] to [20]\nforever\n    if <<touching (武器2 v)?> and <(攻撃) = [1]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            set [ゾンビx v] to [10]\n            set [ゾンビy v] to [10]\n        else\n            set [ゾンビx v] to [-10]\n            set [ゾンビy v] to [10]\n        end\n        change [hp v] by ([costume name v] of [武器2 v])\n        if <(HP) < [0.01]> then\n            switch costume to (player2 v)\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (4)\n                change [ghost v] effect by (25)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n                switch costume to (player2 v)\n            else\n                start sound [攻撃2 v]\n                switch costume to (player2 v)\n            end\n            wait until <(攻撃) = [0]>\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (70) %\nwait (0.01) seconds\npoint in direction (90)\nset [ゾンビx v] to [0]\nset [ゾンビy v] to [0]\nclear graphic effects\nshow\nforever\n    if <not <(ライフ) = [0]>> then\n        if <([x position v] of [プレイヤー2 v]) < (x position)> then\n            point in direction (-90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (-0.14)\n            else\n                change [ゾンビx v] by (-0.2)\n            end\n        end\n        if <(x position) < ([x position v] of [プレイヤー2 v])> then\n            point in direction (90)\n            if <touching (水 v)?> then\n                change [ゾンビx v] by (0.14)\n            else\n                change [ゾンビx v] by (0.2)\n            end\n        end\n        set [ゾンビx v] to ((ゾンビx) * (0.9))\n        change x by (ゾンビx)\n        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n            change y by (1)\n            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                change y by (1)\n                if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                    change y by (1)\n                    if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                        change y by (1)\n                        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                            change y by (1)\n                            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                                change y by (1)\n                                if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                                    change x by ((0) - (ゾンビx))\n                                    change y by (-5)\n                                    if <not <(y position) < ([y position v] of [プレイヤー2 v])>> then\n                                        set [ゾンビx v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [ゾンビy v] by (-0.9)\n        if <<touching (水 v)?> and <(ゾンビy) < [-2]>> then\n            set [ゾンビy v] to [-2]\n        end\n        change y by (ゾンビy)\n        if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n            change y by ((0) - (ゾンビy))\n            set [ゾンビy v] to [0]\n        end\n        change y by (-2)\n        if <<touching (水 v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [ゾンビy v] to [4]\n        else\n            if <<touching (ステージ v)?> or <touching (消える地面 v)?>> then\n                if <(y position) < ([y position v] of [プレイヤー2 v])> then\n                    set [ゾンビy v] to [12]\n                end\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen I start as a clone\nif <(ステージ) = [5]> then\n    go to x: (300) y: (0)\nend\nif <(ステージ) = [7]> then\n    go to x: (300) y: (0)\nend\n\nwhen I start as a clone\nswitch costume to (player v)\nforever\n    set [ゾンビ位置x v] to (x position)\n    set [ゾンビ位置y v] to (y position)\nend\n\nwhen I receive [やられた v]\nrepeat (10)\n    delete this clone\nend\nif <(ステージ) = [5]> then\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [7]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [14]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [17]> then\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nif <(ステージ) = [21]> then\n    repeat (12)\n        go to x: (250) y: (150)\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        wait (pick random (0.8) to (0.9)) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (マグマ v)?> then\n        change [hp v] by (-3)\n        if <(HP) < [0.01]> then\n            start sound [倒した v]\n            set [slime x v] to (x position)\n            set [slime y v] to (y position)\n            broadcast (Slime Death v)\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        else\n            if <(pick random (1) to (2)) = [1]> then\n                start sound [攻撃 v]\n            else\n                start sound [攻撃2 v]\n            end\n        end\n        wait (0.25) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (マグマ v)?> then\n        switch costume to (player2 v)\n    else\n        if <(攻撃) = [0]> then\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    wait (pick random (5) to (7)) seconds\n    if <(pick random (1) to (3)) = [1]> then\n        play sound [zombie1 v] until done\n    else\n        if <(pick random (1) to (2)) = [1]> then\n            play sound [zombie2 v] until done\n        else\n            play sound [zombie3 v] until done\n        end\n    end\nend\n\nwhen I receive [スタート v]\nset [削除 v] to [0]\nwait (1) seconds\nset [削除 v] to [1]\n\nwhen I start as a clone\nif <(削除) = [0]> then\n    delete this clone\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [スタート v]\ngo to x: (250) y: (0)\ngo to [front v] layer\nhide\nforever\n    wait until <(ステージ) = [5]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [7]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [14]>\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [17]>\n    go to x: (250) y: (150)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait (1) seconds\n    create clone of (_myself_ v)\n    wait until <(ステージ) = [21]>\n    wait (0.5) seconds\n    repeat (12)\n        go to x: (250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n        go to x: (-250) y: (150)\n        wait (pick random (0.8) to (0.9)) seconds\n        if <(ステージ) = [21]> then\n            create clone of (_myself_ v)\n        end\n    end\nend\n\n@Glow\n\nwhen flag clicked\nforever\n    go to x: ([x position v] of [武器 v]) y: (([y position v] of [武器 v]) + (-5))\n    point in direction ((timer) * (8))\n    set size to (500) %\n    go to [back v] layer\n    if <(剣ある？) = [1]> then\n        show\n        clear graphic effects\n    else\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (5)\n        end\n        hide\n    end\nend\n\n@(๑•̀ㅂ•́)و✧\n\nwhen I receive [最後 v]\nshow\nstop [all v]\n\nwhen I receive [スタート v]\nforever\n    if <(φ\(*￣0￣\)) > [10]> then\n        broadcast (最後 v)\n    end\nend\n\nwhen I receive [スタート v]\nset [φ\(*￣0￣\) v] to [0]\nforever\n    change [φ\(*￣0￣\) v] by (1)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\nforever\n    wait (0.01) seconds\n    set [φ\(*￣0￣\) v] to [0]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nhide variable [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v]\nhide variable [time v]\nwait (0.01) seconds\nwait until <(ステージ) = [23]>\nset [time v] to ((round ((timer) * (10))) / (10))\nwait (0.01) seconds\nif <(ステージ) = [23]> then\n    if <(time) < (☁ 世界記録＼\(^o^\)／ｵﾜﾀ)> then\n        wait (0.01) seconds\n        if <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n            set [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v] to (time)\n            broadcast (確認 v)\n        end\n    end\nend\nwait (2.5) seconds\nif <(ステージ) = [23]> then\n    show variable [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v]\n    show variable [time v]\nend\n\nwhen I receive [確認 v]\nif <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n    wait () seconds\n    if <not <(☁ 世界記録＼\(^o^\)／ｵﾜﾀ) < (time)>> then\n        wait () seconds\n        set [☁ 世界記録＼\(^o^\)／ｵﾜﾀ v] to (time)\n    end\nend\n\n@サボテン\n\nwhen I receive [スタート v]\nforever\n    switch costume to (ステージ)\nend\n\n@Slime Particles\n\nwhen flag clicked\nhide\n\nwhen I receive [slime death v]\nrepeat (2)\n    Particles\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-30) to (10))\ngo to x: (SLIME X) y: (SLIME Y)\nshow\nset [xv v] to (pick random (-8) to (8))\nset [yv v] to (pick random (5) to (20))\nrepeat until <touching (ステージ v)?>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\n    if <touching (ステージ v)?> then\n        change y by (1)\n        if <touching (ステージ v)?> then\n            change y by (1)\n            if <touching (ステージ v)?> then\n                change y by (1)\n                if <touching (ステージ v)?> then\n                    change y by (1)\n                    if <touching (ステージ v)?> then\n                        change y by (1)\n                        if <touching (ステージ v)?> then\n                            change y by (1)\n                            if <touching (ステージ v)?> then\n                                change y by (1)\n                                if <touching (ステージ v)?> then\n                                    change y by (1)\n                                    if <touching (ステージ v)?> then\n                                        change y by (1)\n                                        if <touching (ステージ v)?> then\n                                            change y by (1)\n                                            if <touching (ステージ v)?> then\n                                                change y by (1)\n                                                if <touching (ステージ v)?> then\n                                                    change y by (1)\n                                                else\n                                                    change y by (-1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Particles\nrepeat (4)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(複製対策) = [1]> then\n    delete this clone\nend\nset [複製対策 v] to [1]\n\n@スプライト1\n\nwhen flag clicked\nshow\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set [攻撃状態 v] to [1]\n        set [ghost v] effect to (10)\n        if <mouse down?> then\n            broadcast (attack v)\n            wait (0.1) seconds\n            wait until <not <mouse down?>>\n        end\n    else\n        set [ghost v] effect to (70)\n        set [攻撃状態 v] to [0]\n    end\nend\n\nwhen [space v] key pressed\nhide\n\n@宣伝\n\nwhen I receive [スタート v]\nif <(language::translate) = [日本語]> then\n    repeat until <(A 状態) = [4]>\n        switch costume to (pick random (1) to (2))\n        go to x: (3000) y: (-170)\n        show\n        set size to (70) %\n        repeat (350)\n            if <not <(A 状態) = [4]>> then\n                go to [front v] layer\n                go [backward v] (2) layers\n                change x by (-3)\n            else\n                hide\n                stop [this script v]\n            end\n        end\n    end\n    hide\nend\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (サムネ v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (サムネ v)\nset [ghost v] effect to (100)\n\n@Weather\n\nwhen I receive [layer sort v]\nif <(cloud_num) = [-1]> then\n    Z-index Sprite by [999]\nend\nif <(cloud_num) > [0]> then\n    Z-index Sprite by [998]\nend\n\ndefine Z-index Sprite by (z-index)\nset [i v] to [1]\nrepeat until <not <(z-index) < (item (i) of [z-index v])>>\n    change [i v] by (1)\nend\ninsert (z-index) at (i) of [z-index v] \ngo [forward v] ((i) - (1)) layers\n\nwhen I receive [menu - close v]\n\nwhen I start as a clone\nif <(cloud_num) = [-1]> then\n    show\n    forever\n        if <(#Daylight cycle) = [Day]> then\n            switch costume to (sun v)\n            go to x: ((140) + ((4) * ([cos v] of (#Frame) ))) y: ((100) + ((4) * ([sin v] of (#Frame) )))\n        end\n        if <(#Daylight cycle) = [Sunset]> then\n            switch costume to (sunset v)\n            go to x: ((140) + ((4) * ([cos v] of (#Frame) ))) y: ((100) + ((4) * ([sin v] of (#Frame) )))\n        end\n        if <(#Daylight cycle) = [Night]> then\n            switch costume to (moon v)\n            go to x: ((0) + ((220) * ([cos v] of (((#Frame) / (30)) + (180)) ))) y: ((-250) + ((380) * ([sin v] of ((#Frame) / (30)) )))\n        end\n    end\nend\nif <(cloud_num) > [0]> then\n    set [cloud y v] to (pick random (100) to (170))\n    if <(#Biome) = [2]> then\n        go [forward v] (5) layers\n        set [cloud y v] to (pick random (-80) to (0))\n        set [ghost v] effect to (50)\n    end\n    switch costume to ((1) + (pick random (1) to (11)))\n    set y to (cloud y)\n    repeat until <(cloud x) < [-400]>\n        show\n        set x to (cloud x)\n        if <(#Daylight cycle) = [Night]> then\n            set [ghost v] effect to (90)\n        else\n            set [ghost v] effect to (20)\n        end\n        if <(#Gamemode) = (item (1) of [#gamemode v])> then\n    end\n    change [cloud_num v] by (-1)\n    delete this clone\nend\n\nwhen flag clicked\nhide\nset [cloud_num v] to [-1]\ncreate clone of (_myself_ v)\nset [cloud_num v] to [1]\nset [cloud x v] to [-100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nset [cloud x v] to [100]\ncreate clone of (_myself_ v)\nchange [cloud_num v] by (1)\nforever\n    if <(cloud_num) < [10]> then\n        if <(pick random (1) to (5)) = [1]> then\n            set [cloud x v] to [300]\n            change [cloud_num v] by (1)\n            create clone of (_myself_ v)\n        end\n        wait (3) seconds\n    end\nend\n\n@Outro\n\nwhen I receive [outro v]\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nhide\nreset timer\nswitch costume to (night v)\ncreate clone of (_myself_ v)\nswitch costume to (your name v)\ncreate clone of (_myself_ v)\nLight Particle\nwait until <[3.4] < (timer)>\nswitch costume to (moon v)\ncreate clone of (_myself_ v)\nwait until <[5] < (timer)>\nswitch costume to (cloud v)\nrepeat (5)\n    create clone of (_myself_ v)\n    switch costume to ((costume [number v]) - (1))\n    wait (0.1) seconds\nend\nwait until <[6.5] < (timer)>\nswitch costume to (scratch v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [1]> then\n    set [free v] to [100]\n    go to x: (0) y: (0)\n    set size to (500) %\n    repeat until <[5] < (timer)>\n        set [ghost v] effect to (Free)\n        change [free v] by (((0) - (Free)) / (6))\n        change size by (((100) - (size)) / (6))\n    end\n    repeat until <[6.5] < (timer)>\n        set [ghost v] effect to (Free)\n        change [free v] by (((0) - (Free)) / (6))\n        change size by (((100) - (size)) / (6))\n        change y by (((120) - (y position)) / (6))\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        set [free v] to [100]\n        go to x: (0) y: (0)\n        repeat (50)\n            set [ghost v] effect to (Free)\n            change [free v] by (((0) - (Free)) / (6))\n        end\n        wait until <[5] < (timer)>\n        set [free v] to [0]\n        repeat until <[6.5] < (timer)>\n            set [brightness v] effect to (Free)\n            change [free v] by (((-20) - (Free)) / (6))\n        end\n        forever\n            set [brightness v] effect to ((([sin v] of (Free) ) * (10)) + (-10))\n            change [free v] by (2)\n        end\n    else\n        if <(costume [number v]) = [3]> then\n            set [free v] to [100]\n            go to x: (0) y: (0)\n            set size to (500) %\n            repeat until <[1.5] < (timer)>\n                set [ghost v] effect to (Free)\n                change [free v] by (((0) - (Free)) / (6))\n                change size by (((100) - (size)) / (6))\n            end\n            repeat until <[3] < (timer)>\n                change [ghost v] effect by (3)\n            end\n            wait until <[6.5] < (timer)>\n            clear graphic effects\n            set [free v] to [-240]\n            forever\n                change [free v] by (((0) - (Free)) / (10))\n                go to x: (0) y: ((([sin v] of ((timer) * (35)) ) * (10)) + (Free))\n                point in direction ((([cos v] of ((timer) * (35)) ) * (5)) + (90))\n                go to [front v] layer\n            end\n        else\n            if <(costume [number v]) = [4]> then\n                set [free v] to (pick random (2) to (12))\n                go to x: (pick random (-240) to (240)) y: (-500)\n                point in direction (pick random (-10) to (10))\n                set [ghost v] effect to (25)\n                set size to (pick random (50) to (75)) %\n                repeat (60)\n                    set [free v] to ((Free) * (0.98))\n                    move (Free) steps\n                    change [ghost v] effect by (1.25)\n                end\n                delete this clone\n            else\n                if <<[4] < (costume [number v])> and <(costume [number v]) < [10]>> then\n                    go to x: (0) y: (-500)\n                    repeat (40)\n                        change y by (((0) - (y position)) / (5))\n                    end\n                else\n                    if <(costume [number v]) = [10]> then\n                        forever\n                            set [ghost v] effect to (pick random (90) to (100))\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [outro判定 v] to [0]\nforever\n    set [free v] to (timer)\nend\n\ndefine Light Particle\nrepeat (15)\n    switch costume to (light particle v)\n    create clone of (_myself_ v)\nend\n\nwhen [timer v] > (Free)\nif <(Outro判定) = [0]> then\n    set [outro判定 v] to [1]\n    broadcast (Outro v)\nend\n\nwhen I receive [outro v]\nwait (0.1) seconds\ngo to [front v] layer\nforever\n    play sound [Lost Sky - Where We Started \(feat. Jex\) \[NCS Release\] \(Cut\) v] until done\nend\n\n
♥と★を押したら...........................................................\n------------------------❖English❖------------------------\n[Minecraft Platformer !]\n▼How to move\n・Jump with up key/tap\n・Go right with right key/tap\n・Go left with left key/tap\n\n\n------------------------❖日本語❖------------------------\n【マインクラフト プラットフォーマー】\n〜操作方法〜\n\n▼移動方法\n・上キー/ タップ でジャンプ\n・右キー / タップ で右へ行く\n・左キー / タップ で左へ行く