NinjaRun 2™ A Platformer
@Stage\n\nwhen I receive [あさ v]\nswitch backdrop to (morning v)\n\nwhen I receive [よる v]\nswitch backdrop to (night v)\n\nwhen I receive [ネザー v]\nswitch backdrop to (背景1 v)\n\nwhen I receive [start v]\nforever\n    play sound [Music1 v] until done\nend\n\nwhen flag clicked\nset [record v] to [0]\n\nif <(イントロ終？) = [1]> then\n    broadcast (I v)\nend\n\nstop all sounds\n\nwhen I receive [start v]\nshow variable [record v]\nshow variable [☁ highest record v]\nrepeat until <(コース) = [13]>\n    change [record v] by (1)\n    wait (1) seconds\nend\nif <(☁ Highest record) > (record)> then\n    broadcast (最高記録！ v)\n    set [☁ highest record v] to (record)\nend\n\nwhen I receive [mineend v]\nswitch backdrop to (背景2 v)\n\n@地面\n\ndefine X (x) Y (y) に () 番目のコスチュームのブロックを配置する\nset [x v] to (x)\nset [y v] to (y)\n少し待つ\nset [コスチューム v] to ()\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to x: (X) y: (Y)\nswitch costume to (コスチューム)\n\nwhen I receive [so v]\nswitch backdrop to (morning v)\nwait (0.05) seconds\nif <(コース) = [1]> then\n    set [xx v] to [-220]\n    repeat (12)\n        X (XX) Y [-160] に [1] 番目のコスチュームのブロックを配置する\n        change [xx v] by (40)\n    end\n    set [yy v] to [-160]\n    repeat (6)\n        X [40] Y (YY) に [2] 番目のコスチュームのブロックを配置する\n        change [yy v] by (40)\n    end\nelse\n    if <(コース) = [2]> then\n        set [xx v] to [-220]\n        repeat (12)\n            X (XX) Y [-160] に [4] 番目のコスチュームのブロックを配置する\n            change [xx v] by (40)\n        end\n        set [xx v] to [-180]\n        repeat (11)\n            X (XX) Y [-120] に [4] 番目のコスチュームのブロックを配置する\n            change [xx v] by (40)\n        end\n        set [xx v] to [-140]\n        repeat (10)\n            X (XX) Y [-80] に [4] 番目のコスチュームのブロックを配置する\n            change [xx v] by (40)\n        end\n        X [0] Y [-40] に [4] 番目のコスチュームのブロックを配置する\n        wait (0.0000001) seconds\n        X [120] Y [-40] に [4] 番目のコスチュームのブロックを配置する\n    else\n        if <(コース) = [3]> then\n            set [xx v] to [-220]\n            repeat (12)\n                X (XX) Y [-160] に [2] 番目のコスチュームのブロックを配置する\n                change [xx v] by (40)\n            end\n            set [xx v] to [-180]\n            repeat (11)\n                X (XX) Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                change [xx v] by (40)\n            end\n            set [xx v] to [-140]\n            repeat (10)\n                X (XX) Y [-80] に [2] 番目のコスチュームのブロックを配置する\n                change [xx v] by (40)\n            end\n            set [xx v] to [-100]\n            repeat (10)\n                X (XX) Y [-40] に [2] 番目のコスチュームのブロックを配置する\n                change [xx v] by (40)\n            end\n            wait (0.0000000000001) seconds\n            X [0] Y [120] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [0] Y [0] に [19] 番目のコスチュームのブロックを配置する\n            wait (0.0000001) seconds\n            X [160] Y [0] に [19] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [0] Y [160] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [40] Y [160] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [80] Y [160] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [120] Y [160] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [160] Y [160] に [18] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [160] Y [120] に [18] 番目のコスチュームのブロックを配置する\n        else\n            if <(コース) = [4]> then\n                set [xx v] to [-220]\n                go to [front v] layer\n                repeat (2)\n                    X (XX) Y [-180] に [47] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [47] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [47] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n                set [xx v] to [-140]\n                repeat (2)\n                    X (XX) Y [-180] に [48] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [48] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [48] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n                set [xx v] to [-60]\n                repeat (2)\n                    X (XX) Y [-180] に [49] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [49] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [49] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n                set [xx v] to [20]\n                repeat (2)\n                    X (XX) Y [-180] に [50] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [50] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [50] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n                set [xx v] to [100]\n                repeat (2)\n                    X (XX) Y [-180] に [51] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [51] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [51] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n                set [xx v] to [180]\n                repeat (2)\n                    X (XX) Y [-180] に [53] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-140] に [53] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X (XX) Y [-100] に [53] 番目のコスチュームのブロックを配置する\n                    change [xx v] by (40)\n                end\n            else\n                if <(コース) = [5]> then\n                    set [xx v] to [-220]\n                    repeat (12)\n                        wait (0.000000001) seconds\n                        X (XX) Y [-160] に [2] 番目のコスチュームのブロックを配置する\n                        wait (0.000000001) seconds\n                        change [xx v] by (40)\n                    end\n                else\n                    if <(コース) = [6]> then\n                        set [xx v] to [-220]\n                        repeat (12)\n                            X (XX) Y [-160] に [54] 番目のコスチュームのブロックを配置する\n                            wait (0.001) seconds\n                            wait (0.000000001) seconds\n                            change [xx v] by (40)\n                        end\n                    else\n                        if <(コース) = [7]> then\n                            set [xx v] to [-220]\n                            repeat (4)\n                                X (XX) Y [-160] に [22] 番目のコスチュームのブロックを配置する\n                                change [xx v] by (40)\n                            end\n                            set [xx v] to [-60]\n                            repeat (4)\n                                X (XX) Y [-160] に [23] 番目のコスチュームのブロックを配置する\n                                change [xx v] by (40)\n                            end\n                            set [xx v] to [100]\n                            repeat (4)\n                                X (XX) Y [-160] に [26] 番目のコスチュームのブロックを配置する\n                                change [xx v] by (40)\n                            end\n                        else\n                            wait (0.000000000000001) seconds\n                            wait (0.000000000000001) seconds\n                            if <(コース) = [8]> then\n                                wait (0.000000000000001) seconds\n                                X [-220] Y [-160] に [44] 番目のコスチュームのブロックを配置する\n                                wait (0.000000000000001) seconds\n                                set [xx v] to [-180]\n                                repeat (2)\n                                    X (XX) Y [-160] に [5] 番目のコスチュームのブロックを配置する\n                                    change [xx v] by (40)\n                                    wait (0.000000000000001) seconds\n                                end\n                                repeat (2)\n                                    X (XX) Y [-160] に [6] 番目のコスチュームのブロックを配置する\n                                    change [xx v] by (40)\n                                end\n                                repeat (2)\n                                    X (XX) Y [-160] に [7] 番目のコスチュームのブロックを配置する\n                                    change [xx v] by (40)\n                                end\n                                repeat (2)\n                                    X (XX) Y [-160] に [17] 番目のコスチュームのブロックを配置する\n                                    change [xx v] by (40)\n                                end\n                                repeat (2)\n                                    X (XX) Y [-160] に [81] 番目のコスチュームのブロックを配置する\n                                    change [xx v] by (40)\n                                end\n                                X (XX) Y [-160] に [44] 番目のコスチュームのブロックを配置する\n                            else\n                                if <(コース) = [9]> then\n                                    broadcast (ネザー v)\n                                    set [xx v] to [-240]\n                                    repeat (13)\n                                        X (XX) Y [-160] に [102] 番目のコスチュームのブロックを配置する\n                                        change [xx v] by (40)\n                                    end\n                                    set [xx v] to [-80]\n                                    repeat (3)\n                                        X (XX) Y [-120] に [96] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                        X (XX) Y [-80] に [96] 番目のコスチュームのブロックを配置する\n                                        change [xx v] by (120)\n                                    end\n                                else\n                                    if <(コース) = [10]> then\n                                        set [xx v] to [-140]\n                                        repeat (7)\n                                            X (XX) Y [-80] に [60] 番目のコスチュームのブロックを配置する\n                                            change [xx v] by (40)\n                                        end\n                                        set [xx v] to [-220]\n                                        repeat (12)\n                                            X (XX) Y [-160] に [62] 番目のコスチュームのブロックを配置する\n                                            change [xx v] by (40)\n                                        end\n                                        set [xx v] to [-120]\n                                        repeat (6)\n                                            X [220] Y (XX) に [61] 番目のコスチュームのブロックを配置する\n                                            change [xx v] by (40)\n                                        end\n                                        X [100] Y [-40] に [60] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                        X [60] Y [-40] に [60] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                        X [180] Y [80] に [61] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                        X [140] Y [80] に [61] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                        X [180] Y [120] に [61] 番目のコスチュームのブロックを配置する\n                                        set [xx v] to [-40]\n                                        repeat (6)\n                                            X [20] Y (XX) に [44] 番目のコスチュームのブロックを配置する\n                                            change [xx v] by (40)\n                                        end\n                                        X [-140] Y [-40] に [60] 番目のコスチュームのブロックを配置する\n                                        wait (0.000000000000001) seconds\n                                    else\n                                        if <(コース) = [11]> then\n                                            X [-220] Y [120] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [-180] Y [80] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [-140] Y [40] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [-100] Y [0] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [-60] Y [-40] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [-20] Y [-80] に [77] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [20] Y [-120] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [140] Y [80] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [140] Y [80] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [100] Y [80] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [20] Y [-160] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [60] Y [-40] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [60] Y [-80] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [100] Y [0] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [100] Y [40] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [180] Y [80] に [64] 番目のコスチュームのブロックを配置する\n                                            wait (0.000000000000001) seconds\n                                            X [220] Y [80] に [64] 番目のコスチュームのブロックを配置する\n                                        else\n                                            if <(コース) = [12]> then\n                                                broadcast (mineend v)\n                                                set [xx v] to [-220]\n                                                repeat (12)\n                                                    X (XX) Y [-160] に [107] 番目のコスチュームのブロックを配置する\n                                                    change [xx v] by (40)\n                                                end\n                                                X [-80] Y [-120] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [-40] Y [-120] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [0] Y [-120] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [40] Y [-120] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [80] Y [-120] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [0] Y [-80] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [0] Y [-40] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [0] Y [0] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [80] Y [-80] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                                X [-80] Y [-80] に [108] 番目のコスチュームのブロックを配置する\n                                                wait (0.0000000000001) seconds\n                                            else\n                                                if <(コース) = [13]> then\n                                                    X [-220] Y [-160] に [65] 番目のコスチュームのブロックを配置する\n                                                    wait (0.000000000000001) seconds\n                                                    set [xx v] to [-180]\n                                                    repeat (2)\n                                                        X (XX) Y [-160] に [89] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\n                                                    set [xx v] to [-100]\n                                                    repeat (2)\n                                                        X (XX) Y [-160] に [90] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\n                                                    set [xx v] to [-20]\n                                                    repeat (2)\n                                                        X (XX) Y [-160] に [91] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\n                                                    set [xx v] to [60]\n                                                    repeat (2)\n                                                        X (XX) Y [-160] に [92] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\n                                                    set [xx v] to [140]\n                                                    repeat (2)\n                                                        X (XX) Y [-160] に [69] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\n                                                    wait (0.000000000000001) seconds\n                                                    X [220] Y [-160] に [65] 番目のコスチュームのブロックを配置する\n                                                    wait (0.000000000000001) seconds\n                                                    set [xx v] to [-120]\n                                                    repeat (8)\n                                                        X [220] Y (XX) に [55] 番目のコスチュームのブロックを配置する\n                                                        change [xx v] by (40)\n                                                    end\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\n\nwhen I receive [kie v]\ndelete this clone\n\ndefine 少し待つ\nwait (0.0000001) seconds\n\nwait (0.000000001) seconds\n\nwait (0.0000000000001) seconds\n\nshow\n\ngo to x: (0) y: (120)\n\nset [コース v] to [3]\n\nwait (0.000000000000001) seconds\n\nX [] Y [] に [] 番目のコスチュームのブロックを配置する\n\nwait (0.00000000000000001) seconds\n\nset [コース v] to [11]\n\nwait (0.000000000000001) seconds\nX [] Y [] に [] 番目のコスチュームのブロックを配置する\n\nwait (0.000000000000001) seconds\n\nif <(コース) = [11]> then\n\nrepeat (4)\n    X [] Y [] に [] 番目のコスチュームのブロックを配置する\nend\n\nset [コース v] to [11]\n\nwhen I receive [start v]\nset [コース v] to [1]\nbroadcast (so v)\n\nset [コース v] to [12]\n\n@障害物\n\ndefine X (x) Y (y) に () 番目のコスチュームのブロックを配置する\nset [xxx v] to (x)\nset [yyy v] to (y)\nset [koko v] to ()\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to x: (xxx) y: (yyy)\nswitch costume to (koko)\n\nwhen [timer v] > (0.001)\ndelete this clone\n\nwhen I receive [so v]\nif <(コース) = [1]> then\n    X [200] Y [-120] に [1] 番目のコスチュームのブロックを配置する\nelse\n    if <(コース) = [2]> then\n        X [40] Y [-40] に [4] 番目のコスチュームのブロックを配置する\n        wait (0.0000000001) seconds\n        X [80] Y [-40] に [4] 番目のコスチュームのブロックを配置する\n    else\n        if <(コース) = [3]> then\n            X [40] Y [0] に [2] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [80] Y [0] に [2] 番目のコスチュームのブロックを配置する\n            wait (0.0000000000001) seconds\n            X [120] Y [0] に [2] 番目のコスチュームのブロックを配置する\n        else\n            if <(コース) = [5]> then\n                set [xxx v] to [-200]\n                repeat (12)\n                    X (xxx) Y [-40] に [2] 番目のコスチュームのブロックを配置する\n                    change [xxx v] by (40)\n                end\n            else\n                if <(コース) = [6]> then\n                    set [xxx v] to [-200]\n                    repeat (3)\n                        X (xxx) Y [-140] に [3] 番目のコスチュームのブロックを配置する\n                        change [xxx v] by (120)\n                    end\n                else\n                    if <(コース) = [7]> then\n                        X [-40] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n                        wait (0.0000001) seconds\n                        X [0] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n                        wait (0.0000001) seconds\n                        X [40] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n                    else\n                        if <(コース) = [8]> then\n                            X [-120] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                            wait (0.0000001) seconds\n                            X [-80] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                            wait (0.0000001) seconds\n                            X [80] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                            wait (0.0000001) seconds\n                            X [120] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                        else\n                            if <(コース) = [10]> then\n                                X [-100] Y [-40] に [8] 番目のコスチュームのブロックを配置する\n                                wait (0.0000001) seconds\n                                X [-60] Y [-40] に [8] 番目のコスチュームのブロックを配置する\n                                wait (0.0000001) seconds\n                                X [-20] Y [-40] に [8] 番目のコスチュームのブロックを配置する\n                            else\n                                if <(コース) = [9]> then\n                                    X [-40] Y [-120] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [0] Y [-120] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [80] Y [-120] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [120] Y [-120] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [-40] Y [-80] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [0] Y [-80] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [80] Y [-80] に [4] 番目のコスチュームのブロックを配置する\n                                    wait (0.0000001) seconds\n                                    X [120] Y [-80] に [4] 番目のコスチュームのブロックを配置する\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [コース v] to [1]\nbroadcast (メッセージ1 v)\n\nif <(コース) = []> then\n\nwait (0.0000001) seconds\n\nwait (0.0000000001) seconds\n\nwhen I receive [kie v]\ndelete this clone\n\nset [コース v] to [8]\n\nwhen [timer v] > (0.01)\nforever\n    if <(イントロ終？) = [1]> then\n        broadcast (I v)\n    end\nend\n\n@プレーヤー\n\nwhen flag clicked\n\nwhen I start as a clone\nset size to (65) %\nset rotation style [all around v]\nclear graphic effects\npoint in direction (90)\ngo to (プレーヤー v)\nrepeat (20)\n    change size by (-2)\n    change [ghost v] effect by (5)\n    change [color v] effect by (3)\nend\ndelete this clone\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <not <mouse down?>> then\n        switch costume to (コスチューム3 v)\n    end\nend\n\nwhen I receive [プディング v]\ndelete this clone\n\nwhen [space v] key pressed\nhide\nbroadcast (死んだ v) and wait\ngo to x: (-201) y: (180)\nshow\nset [ぷりん v] to [0]\nset [プリン v] to [0]\n\nwhen I receive [start v]\nset [コース v] to [0]\nhide\ngo to x: (-201) y: (-50)\nshow\nset size to (65) %\nset drag mode [not draggable v]\nif <touching (地面 v)?> then\n    go to x: (-201) y: (50)\nend\npoint in direction (90)\nforever\n    set rotation style [left-right v]\n    if <<<mouse down?> and <[20] > (mouse x)>> or <key (left arrow v) pressed?>> then\n        switch costume to (コスチューム2 v)\n        change [プリン v] by (-0.85)\n        point in direction (90)\n    end\n    if <<<mouse down?> and <[20] < (mouse x)>> or <key (right arrow v) pressed?>> then\n        switch costume to (コスチューム1 v)\n        change [プリン v] by (0.85)\n        point in direction (90)\n    end\n    set [プリン v] to ((プリン) * (0.9))\n    change x by (プリン)\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 ((プリン) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <[20] < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                start sound [Jump v]\n                                if <(プリン) > [0]> then\n                                    set [プリン v] to [-8]\n                                else\n                                    set [プリン v] to [8]\n                                end\n                                set [ぷりん v] to [13]\n                            else\n                                set [プリン 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)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [ぷりん v] to [15]\n        end\n    end\n    change y by (1)\n    change [ぷりん v] by (-1)\n    change y by (ぷりん)\n    if <touching (地面 v)?> then\n        change y by ((ぷりん) * (-1))\n        set [ぷりん v] to [0]\n    end\n    hide variable [プリン v]\n    if <(x position) > [230]> then\n        if <not <([x position v] of [地面 v]) = [30]>> then\n            hide\n            broadcast (kie v)\n            change [コース v] by (1)\n            broadcast (so v)\n            set [ぷりん v] to [0]\n            set [プリン v] to [0]\n            wait (3) seconds\n            show\n            go to x: (-200) y: (180)\n        end\n    end\n    if <(y position) < [-170]> then\n        go to x: (-201) y: (-50)\n    end\n    if <touching (障害物 v)?> then\n        start sound [Oops v]\n        hide\n        broadcast (死んだ v) and wait\n        go to x: (-201) y: (180)\n        show\n        set [ぷりん v] to [0]\n        set [プリン v] to [0]\n    end\nend\n\nwhen I receive [start v]\n\nreset timer\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [ターボ v]\nhide\n\n@装飾\n\ndefine X (x) Y (y) に () 番目のコスチュームのブロックを配置する\nset [xxxx v] to (x)\nset [yyyy v] to (y)\nset [kosukosu v] to ()\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\ngo to x: (xxxx) y: (yyyy)\nswitch costume to (kosukosu)\n\nwhen [timer v] > (0.001)\ndelete this clone\n\nwhen I receive [so v]\nwait (0.0000000001) seconds\nset [xxxx v] to [0]\nset [kosukosu v] to [40]\nif <(コース) = [3]> then\n    wait (0.0001) seconds\n    X [0] Y [80] に [8] 番目のコスチュームのブロックを配置する\n    wait (0.0001) seconds\n    X [160] Y [80] に [8] 番目のコスチュームのブロックを配置する\n    wait (0.0001) seconds\n    wait (0.0001) seconds\n    X [0] Y [40] に [9] 番目のコスチュームのブロックを配置する\n    wait (0.0001) seconds\n    X [160] Y [40] に [9] 番目のコスチュームのブロックを配置する\nelse\n    if <(コース) = [4]> then\n        set [s v] to [-40]\n        repeat (5)\n            X (s) Y [120] に [3] 番目のコスチュームのブロックを配置する\n            change [s v] by (40)\n        end\n        wait (0.0000001) seconds\n        set [s v] to [80]\n        repeat (5)\n            X [40] Y (s) に [4] 番目のコスチュームのブロックを配置する\n            change [s v] by (-40)\n        end\n        wait (0.0000001) seconds\n    else\n        if <(コース) = [12]> then\n            set [s v] to [-120]\n            repeat (10)\n                X [-140] Y (s) に [21] 番目のコスチュームのブロックを配置する\n                wait (0.0000000000001) seconds\n                change [s v] by (40)\n            end\n            set [s v] to [-120]\n            repeat (10)\n                X [140] Y (s) に [21] 番目のコスチュームのブロックを配置する\n                wait (0.0000000000001) seconds\n                change [s v] by (40)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [コース v] to [1]\nbroadcast (メッセージ1 v)\n\nif <(コース) = []> then\n\nwait (0.0000000001) seconds\n\nwhen I receive [kie v]\ndelete this clone\n\nset [コース v] to [7]\n\nwait (0.0000000001) seconds\nX [80] Y [-40] に [4] 番目のコスチュームのブロックを配置する\n\nif <(コース) = [3]> then\n    X [40] Y [0] に [2] 番目のコスチュームのブロックを配置する\n    wait (0.0000000000001) seconds\n    X [80] Y [0] に [2] 番目のコスチュームのブロックを配置する\n    wait (0.0000000000001) seconds\n    X [120] Y [0] に [2] 番目のコスチュームのブロックを配置する\nelse\n    if <(コース) = [5]> then\n        set [xxx v] to [-200]\n        repeat (12)\n            X (xxx) Y [-40] に [2] 番目のコスチュームのブロックを配置する\n            change [xxx v] by (40)\n        end\n    else\n        if <(コース) = [6]> then\n            set [xxx v] to [-200]\n            repeat (3)\n                X (xxx) Y [-140] に [3] 番目のコスチュームのブロックを配置する\n                change [xxx v] by (120)\n            end\n        else\n            if <(コース) = [7]> then\n                X [-40] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n                wait (0.0000001) seconds\n                X [0] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n                wait (0.0000001) seconds\n                X [40] Y [-120] に [5] 番目のコスチュームのブロックを配置する\n            else\n                if <(コース) = [8]> then\n                    X [-120] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X [-80] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X [80] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                    wait (0.0000001) seconds\n                    X [120] Y [-120] に [2] 番目のコスチュームのブロックを配置する\n                end\n            end\n        end\n    end\nend\n\nshow\n\ngo to x: (0) y: (40)\n\nhide\n\nset [コース v] to [8]\n\nwait (0.0000000001) seconds\n\nset [コース v] to [2]\n\nX [80] Y [0] に [2] 番目のコスチュームのブロックを配置する\nwait (0.0000000000001) seconds\nX [120] Y [0] に [2] 番目のコスチュームのブロックを配置する\n\n@ec2d84ee0813229930873cd2ce24762b\n\nwhen flag clicked\nhide\nforever\n    if <(コース) = [13]> then\n        show\n    end\nend\n\n@intro\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (logo v)\n    repeat until <[101] > (size)>\n        switch costume to (bit v)\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (logo v)\n    end\n    repeat until <[66] > (size)>\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n    end\n    set [clone_dir v] to [0.5]\n    repeat until <(size) > [100]>\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n    end\n    repeat (7)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n        switch costume to (logo v)\n    end\n    hide\n    switch costume to (square1 v)\n    set [cloneid v] to [square2]\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    set [cloneid v] to [square3]\n    create clone of (_myself_ v)\n    set [cloneid v] to [kirbyzaz]\n    create clone of (_myself_ v)\n    set [cloneid v] to [back3]\n    create clone of (_myself_ v)\n    repeat (8)\n        set [clone_size v] to [50]\n        set [cloneid v] to [square1]\n        create clone of (_myself_ v)\n        set [cloneid v] to [back2]\n        create clone of (_myself_ v)\n        broadcast (\[INTRO\]size v)\n        switch costume to (square1 v)\n        wait (0.561) seconds\n    end\n    broadcast (\[INTRO\]spin v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (blackbar1 v)\n    repeat until <[175] > (size)>\n        switch costume to (bit v)\n        change size by (((174) - (size)) / (6.9))\n        change [clone_dir v] by (((65) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (back v)\n    end\n    set [clone_dir v] to [0.5]\n    repeat (15)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        switch costume to (back v)\n        turn right ((clone_dir) / (12)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [b1]> then\n    switch costume to (blackbar1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((125) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((-1) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    broadcast (\[INTRO\]end v)\nend\n\nwhen I start as a clone\nif <(cloneID) = [b2]> then\n    switch costume to (blackbar2 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((-125) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((1) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\nend\n\nwhen flag clicked\nset [イントロ終？ v] to [0]\npoint in direction (90)\nreset timer\nstart sound [Foxsky - Kirby Smash v]\nhide\nset [cloneid v] to [b1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [b2]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [cloneid v] to [back]\ncreate clone of (_myself_ v)\nset [cloneid v] to [logo]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [square1]> then\n    go to [back v] layer\n    go [forward v] (3) layers\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((clone_size) - (size)) / (5))\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by (((clone_size) - (size)) / (5))\n        switch costume to (clone_cos)\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back2]> then\n    switch costume to (back2 v)\n    clear graphic effects\n    set [ghost v] effect to (50)\n    show\n    go to [front v] layer\n    repeat (25)\n        change [ghost v] effect by (2)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (back3 v)\n    set [s v] to [90]\n    show\n    set [clone_dir v] to [90]\n    \n        switch costume to (bit v)\n        set size to (100) %\n        go to [back v] layer\n        change [clone_dir v] by (((s) - (clone_dir)) / (5))\n        point in direction (clone_dir)\n        switch costume to (back3 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [square3]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [square2]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\]size v]\nif < (cloneID) contains [square]?> then\n    if <[350] < (clone_dir)> then\n        set [clone_dir v] to [0]\n    end\n    change [clone_size v] by ((clone_size) * (1.5))\n    change [clone_dir v] by (22.5)\nend\nif <(cloneID) = [back3]> then\n    change [s v] by (90)\nend\n\nwhen I receive [\[intro\]spin v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [kirbyzaz]> then\n    set [clone_cos v] to (pick random (5) to (10))\n    change size by (30)\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [kirbyzaz]> then\n    show\n    set [clone_dir v] to [90]\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (bit v)\n    set size to (200) %\n    switch costume to (yourname v)\n    \n        switch costume to (bit v)\n        change size by (((120) - (size)) / (5))\n        switch costume to (yourname v)\n        go to [front v] layer\n        go [backward v] (2) layers\n    end\nend\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [b1]> then\n    set [clone_cos v] to [2]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\nif <(cloneID) = [b2]> then\n    set [clone_cos v] to [-5]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I receive [\[intro\]end v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n    wait (1) seconds\n    if <(cloneID) = [b1]> then\n        change y by (1.5)\n        repeat until <(y position) > [200]>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar1 v)\n        end\n    else\n        change y by (-1.5)\n        repeat until <[-200] > (y position)>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar2 v)\n        end\n    end\n    delete this clone\nelse\n    hide\n    delete this clone\nend\nbroadcast (start v)\nset [イントロ終？ v] to [1]\n\nwhen I receive [ターボ v]\nhide\n\n@Next level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [so v]\nif <not <(コース) = [1]>> then\n    start sound [Connect v]\n    go to [front v] layer\n    go [forward v] (1) layers\n    set x to (500)\n    show\n    repeat (6)\n        change x by (-80)\n    end\n    change x by (-15)\n    wait (0.3) seconds\n    repeat (5)\n        change x by (-80)\n    end\n    hide\nend\n\n@cooltext393975060727395\n\nwhen I receive [最高記録！ v]\nforever\n    go to [front v] layer\n    wait (0.5) seconds\n    show\n    wait (0.5) seconds\n    hide\nend\n\n@タボフィー\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n        go to [front v] layer\n        broadcast (ターボ v)\n        wait (0.1) seconds\n        stop [all v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\n