Soccer A Platformer 

Instructions: IF YOU JUMP OFF FROM HIGH PLACES, YOU WILL DIE!\nUse arrow keys to move.\nI hope you like this scrolling platformer.\nMade for SDS GROW...\nGo to my profile for much much more.\nI have 30 platformers on this account.\n

@Stage\n\nwhen I receive [message1 v]\nstop [other scripts in sprite v]\nstop all sounds\nswitch backdrop to (背景3 v)\nforever\n    play sound [Nebula v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nstop all sounds\nswitch backdrop to (背景1 v)\nforever\n    play sound [Newer Super Mario Bros5 v] until done\nend\n\nwhen I receive [messege2 v]\nstop [other scripts in sprite v]\nstop all sounds\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [1 v] until done\nend\n\n@プレイヤー\n\nwhen I receive [message1 v]\nforever\n    wait until <touching (水 v)?>\n    play sound [水1 v] until done\n    wait until <not <touching (水 v)?>>\n    start sound [水2 v]\nend\n\nwhen I receive [初期化して！ v]\n初期位置\n\ndefine 動作\nif <(ステージナンバー) = [2]> then\n    change [xの力 v] by (-0.15)\nend\nif <not <touching (水 v)?>> then\n    change [yの力 v] by (-1)\nelse\n    change [yの力 v] by (-0.1)\nend\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n    if <(プレイヤーコスチューム) = [1]> then\n        switch costume to (水上 v)\n    else\n        if <(プレイヤーコスチューム) = [2]> then\n            switch costume to (りんご v)\n        else\n            if <(プレイヤーコスチューム) = [3]> then\n                switch costume to (水猫上 v)\n            else\n                if <(プレイヤーコスチューム) = [4]> then\n                    switch costume to (黄上 v)\n                else\n                    if <(プレイヤーコスチューム) = [5]> then\n                        switch costume to (黄緑上 v)\n                    else\n                        if <(プレイヤーコスチューム) = [6]> then\n                            switch costume to (ぶどう v)\n                        else\n                            if <(プレイヤーコスチューム) = [7]> then\n                                switch costume to (黒上 v)\n                            else\n                                if <(プレイヤーコスチューム) = [8]> then\n                                    switch costume to (緑上 v)\n                                else\n                                    if <(プレイヤーコスチューム) = [9]> then\n                                        switch costume to (りんご猫 v)\n                                    else\n                                        if <(プレイヤーコスチューム) = [10]> then\n                                            switch costume to (みかんっぽい v)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>> then\n    if <(プレイヤーコスチューム) = [1]> then\n        switch costume to (水右 v)\n    else\n        if <(プレイヤーコスチューム) = [2]> then\n            switch costume to (りんご v)\n        else\n            if <(プレイヤーコスチューム) = [3]> then\n                switch costume to (水猫右 v)\n            else\n                if <(プレイヤーコスチューム) = [4]> then\n                    switch costume to (黄右 v)\n                else\n                    if <(プレイヤーコスチューム) = [5]> then\n                        switch costume to (黄緑右 v)\n                    else\n                        if <(プレイヤーコスチューム) = [6]> then\n                            switch costume to (ぶどう v)\n                        else\n                            if <(プレイヤーコスチューム) = [7]> then\n                                switch costume to (黒右 v)\n                            else\n                                if <(プレイヤーコスチューム) = [8]> then\n                                    switch costume to (緑右 v)\n                                else\n                                    if <(プレイヤーコスチューム) = [9]> then\n                                        switch costume to (りんご猫 v)\n                                    else\n                                        if <(プレイヤーコスチューム) = [10]> then\n                                            switch costume to (みかんっぽい v)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    point in direction (90)\n    if <not <touching (水 v)?>> then\n        change [xの力 v] by (1)\n    else\n        change [xの力 v] by (0.5)\n    end\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<[0] > (mouse x)> and <mouse down?>>>> then\n    if <(プレイヤーコスチューム) = [1]> then\n        switch costume to (水右 v)\n    else\n        if <(プレイヤーコスチューム) = [2]> then\n            switch costume to (りんご v)\n        else\n            if <(プレイヤーコスチューム) = [3]> then\n                switch costume to (水猫右 v)\n            else\n                if <(プレイヤーコスチューム) = [4]> then\n                    switch costume to (黄右 v)\n                else\n                    if <(プレイヤーコスチューム) = [5]> then\n                        switch costume to (黄緑右 v)\n                    else\n                        if <(プレイヤーコスチューム) = [6]> then\n                            switch costume to (ぶどう v)\n                        else\n                            if <(プレイヤーコスチューム) = [7]> then\n                                switch costume to (黒右 v)\n                            else\n                                if <(プレイヤーコスチューム) = [8]> then\n                                    switch costume to (緑右 v)\n                                else\n                                    if <(プレイヤーコスチューム) = [9]> then\n                                        switch costume to (りんご猫 v)\n                                    else\n                                        if <(プレイヤーコスチューム) = [10]> then\n                                            switch costume to (みかんっぽい v)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    point in direction (-90)\n    if <not <touching (水 v)?>> then\n        change [xの力 v] by (-1)\n    else\n        change [xの力 v] by (-0.5)\n    end\nend\nif <not <<<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> or <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>>> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<[0] > (mouse x)> and <mouse down?>>>>>> then\n    if <(プレイヤーコスチューム) = [1]> then\n        switch costume to (水中 v)\n    else\n        if <(プレイヤーコスチューム) = [2]> then\n            switch costume to (りんご v)\n        else\n            if <(プレイヤーコスチューム) = [3]> then\n                switch costume to (水猫中 v)\n            else\n                if <(プレイヤーコスチューム) = [4]> then\n                    switch costume to (黄中 v)\n                else\n                    if <(プレイヤーコスチューム) = [5]> then\n                        switch costume to (黄緑中 v)\n                    else\n                        if <(プレイヤーコスチューム) = [6]> then\n                            switch costume to (ぶどう v)\n                        else\n                            if <(プレイヤーコスチューム) = [7]> then\n                                switch costume to (黒中 v)\n                            else\n                                if <(プレイヤーコスチューム) = [8]> then\n                                    switch costume to (緑中 v)\n                                else\n                                    if <(プレイヤーコスチューム) = [9]> then\n                                        switch costume to (りんご猫 v)\n                                    else\n                                        if <(プレイヤーコスチューム) = [10]> then\n                                            switch costume to (みかんっぽい v)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (バネ v)?> then\n    broadcast (バネ v)\n    start sound [バネ v]\n    set [yの力 v] to [18]\nend\nif <touching (バネ v)?> then\n    broadcast (バネ２ v)\n    start sound [バネ v]\n    set [yの力 v] to [18]\nend\nset [xの力 v] to ((xの力) * (0.88))\nchange x by (xの力)\nrepeat (6)\n    if <<touching (地面 v)?> or <touching (動く地面 v)?>> then\n        change y by (1)\n    end\nend\nif <<touching (地面 v)?> or <touching (動く地面 v)?>> then\n    change y by (-6)\n    位置補正x (() - ((xの力) / ([abs v] of (xの力) ))) ([ceiling v] of ([abs v] of (xの力) ) )\n    if <not <touching (水 v)?>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n            set [yの力 v] to [12]\n            set [xの力 v] to ((7) - (<(xの力) > [0]> * (14)))\n            start sound [壁キック v]\n        else\n            set [xの力 v] to [0]\n        end\n    end\nend\nchange y by (yの力)\nif <<touching (地面 v)?> or <touching (動く地面 v)?>> then\n    位置補正y (() - ((yの力) / ([abs v] of (yの力) ))) ([ceiling v] of ([abs v] of (yの力) ) )\nend\nchange y by (-1.1)\nif <not <touching (水 v)?>> then\n    if <<<touching (地面 v)?> or <touching (動く地面 v)?>> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>>> then\n        set [yの力 v] to [15]\n        start sound [ジャンプ  v]\n    end\nelse\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n        set [yの力 v] to [3]\n    end\nend\nchange y by (1.1)\nif <<touching (針 v)?> or <<touching (回る針 v)?> or <touching (回る針 v)?>>> then\n    if <(許してやってもいいだろう...) = [0]> then\n        初期位置\n    end\n    if <(触れたかい？) = [1]> then\n        broadcast (ええと v)\n    end\nend\nif <(Y) < [-500]> then\n    set [触れたかい？ v] to [0]\n    set [許してやってもいいだろう... v] to [0]\n    初期位置\nend\nif <touching (ゴール v)?> then\n    set [ゴール v] to [1]\n    broadcast (ゴール v)\n    wait until <(ゴール) = [0]>\nend\n処理\nbroadcast (プログラム2 v)\n\nwhen I receive [プログラム v]\n動作\n\ndefine 処理\nchange [x v] by ((x position) - ((X) - (Camera_x)))\nchange [y v] by ((y position) - (((Y) - (Camera _y)) - (20)))\nchange [camera_x v] by ([floor v] of (((X) - (Camera_x)) * (0.1)) )\nchange [camera _y v] by ([floor v] of (((Y) - (Camera _y)) * (0.2)) )\nset x to ((X) - (Camera_x))\nset y to (((Y) - (Camera _y)) - (20))\n\ndefine 位置補正x (向き) (回数)\nif <(xの力) = [0]> then\n    stop [this script v]\nend\nset [i v] to [0]\nrepeat until <<not <<touching (地面 v)?> or <touching (動く地面 v)?>>> or <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change x by (向き)\nend\nchange x by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <<touching (地面 v)?> or <touching (動く地面 v)?>>>)))\n\ndefine 位置補正y (向き) (回数)\nif <(yの力) = [0]> then\n    stop [this script v]\nend\nset [i v] to [0]\nrepeat until <<not <<touching (地面 v)?> or <touching (動く地面 v)?>>> or <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change y by (向き)\nend\nchange y by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <<touching (地面 v)?> or <touching (動く地面 v)?>>>)))\nset [yの力 v] to [0]\n\ndefine 初期位置\nstart sound [やられる  v]\nset [プラットフォーマー v] to [0]\nset [！ v] to [1]\nchange [hp v] by (-1)\ngo to x: (0) y: (-20)\nset [xの力 v] to [0]\nset [yの力 v] to [0]\nset [camera_x v] to (復活x)\nset [camera _y v] to (復活y)\nset [x v] to [0]\nset [y v] to [0]\nset [！ v] to [0]\nset [プラットフォーマー v] to [1]\nbroadcast (初期化 v)\n\nwhen I receive [message1 v]\ngo to [back v] layer\nset size to (130) %\nshow\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (-20)\nset [xの力 v] to [0]\nset [yの力 v] to [0]\nset [camera_x v] to [-200]\nset [camera _y v] to [-20]\nset [x v] to [-200]\nset [y v] to [-20]\n\nwhen flag clicked\nset [復活x v] to [0]\nset [復活y v] to [0]\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\nhide\n\nstop [this script v]\n\nbroadcast (プログラム2 v)\n\nwhen I receive [ええと v]\nrepeat (3)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nrepeat (3)\n    repeat (10)\n        change [ghost v] effect by (5)\n    end\n    repeat (10)\n        change [ghost v] effect by (-5)\n    end\nend\nwait (5) seconds\nset [触れたかい？ v] to [0]\nset [許してやってもいいだろう... v] to [0]\n\nwhen I receive [ええと v]\nrepeat (2)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nrepeat (2)\n    repeat (15)\n        change [ghost v] effect by (4)\n    end\n    repeat (15)\n        change [ghost v] effect by (-4)\n    end\nend\n\nwhen I receive [ええと v]\n\nwhen I receive [ええと v]\nstart sound [power-down  v]\nset [触れたかい？ v] to [0]\nrepeat (2)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nrepeat (2)\n    repeat (20)\n        change [ghost v] effect by (2)\n    end\n    repeat (20)\n        change [ghost v] effect by (-2)\n    end\nend\nset [許してやってもいいだろう... v] to [0]\n\nwhen I receive [隠す v]\nset [復活x v] to [0]\nset [復活y v] to [0]\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\n\nset [触れたかい？ v] to [1]\nset [camera_x v] to [5200]\n\nwait (12.5) seconds\nbroadcast (message1 v)\n\nwhen I receive [messege2 v]\ngo to [back v] layer\nset size to (130) %\nshow\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (-20)\nset [xの力 v] to [0]\nset [yの力 v] to [0]\nset [camera_x v] to [-200]\nset [camera _y v] to [-20]\nset [x v] to [-200]\nset [y v] to [-20]\n\nwhen I receive [messege2 v]\nshow\nforever\n    wait until <touching (水 v)?>\n    play sound [水1 v] until done\n    wait until <not <touching (水 v)?>>\n    start sound [水2 v]\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\n@地面\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [0] [0] [12]\nステージ配置 [480] [0] [13]\nステージ配置 [480] [-200] [26]\nステージ配置 [300] [-300] [27]\nステージ配置 [960] [300] [14]\nステージ配置 [1440] [0] [15]\nステージ配置 [1700] [0] [16]\nステージ配置 [2100] [0] [17]\nステージ配置 [2600] [0] [18]\nステージ配置 [3000] [0] [19]\nステージ配置 [3400] [0] [20]\nステージ配置 [4000] [0] [21]\nステージ配置 [4500] [0] [22]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nステージ配置 [5740] [0] [13]\nステージ配置 [6220] [0] [14]\nステージ配置 [6700] [0] [15]\nステージ配置 [7180] [0] [16]\nステージ配置 [7660] [0] [17]\nステージ配置 [8120] [0] [18]\n\nステージ配置 [7180] [0] [16]\nステージ配置 [7660] [0] [17]\nステージ配置 [8120] [0] [18]\n\nステージ配置 [2600] [0] [18]\nステージ配置 [3200] [0] [19]\nステージ配置 [3800] [0] [20]\nステージ配置 [4320] [0] [21]\nステージ配置 [4800] [0] [22]\nステージ配置 [5280] [0] [23]\nステージ配置 [5740] [0] [24]\nステージ配置 [6220] [0] [25]\n\nwhen I receive [goal v]\ndelete this clone\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\n    broadcast (プログラム v)\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\n\nwhen flag clicked\nset [復活 v] to [0]\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [message1 v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [100] [4]\nステージ配置 [1700] [400] [5]\nステージ配置 [2100] [0] [6]\nステージ配置 [2600] [0] [7]\nステージ配置 [3200] [0] [8]\nステージ配置 [3800] [0] [9]\nステージ配置 [4320] [0] [10]\nステージ配置 [4800] [0] [11]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\n@背景\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [0] [0] [11]\nステージ配置 [480] [0] [12]\nステージ配置 [480] [-200] [25]\nステージ配置 [300] [-300] [26]\nステージ配置 [571] [345] [27]\nステージ配置 [960] [300] [13]\nステージ配置 [1440] [0] [14]\nステージ配置 [1700] [0] [15]\nステージ配置 [2100] [0] [16]\nステージ配置 [2600] [0] [17]\nステージ配置 [3200] [0] [18]\nステージ配置 [3800] [0] [19]\nステージ配置 [4320] [0] [20]\nステージ配置 [4800] [0] [21]\nステージ配置 [5280] [0] [22]\nステージ配置 [5740] [0] [23]\nステージ配置 [6220] [0] [24]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nset [camera_x v] to [2400]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo [backward v] (2) layers\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen flag clicked\nset [復活 v] to [0]\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [message1 v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [0] [4]\nステージ配置 [1920] [0] [5]\nステージ配置 [2400] [0] [6]\nステージ配置 [2880] [0] [7]\nステージ配置 [3360] [0] [8]\nステージ配置 [3840] [0] [9]\nステージ配置 [4320] [0] [10]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (コスチューム4 v)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@影\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [背景3 v]\ngo to [back v] layer\nshow\nforever\n    go to (プレイヤー v)\n    point towards (プレイヤー v)\nend\n\nwhen I receive [goal v]\nhide\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\n@針\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [0] [0] [8]\nステージ配置 [480] [0] [9]\nステージ配置 [1440] [0] [11]\nステージ配置 [2400] [0] [12]\nステージ配置 [480] [-300] [16]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nステージ配置 [3000] [0] [14]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen flag clicked\nset [復活 v] to [0]\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I receive [message1 v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [100] [4]\nステージ配置 [1920] [50] [5]\nステージ配置 [2400] [0] [6]\nステージ配置 [3000] [0] [7]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\n@チェックポイント\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\nset [復活x v] to [0]\nset [復活y v] to [0]\n\nwhen I receive [プログラム2 v]\nif <(ステージナンバー) = [1]> then\n    移動 ((3370) - (Camera_x)) ((50) - (Camera _y))\nelse\n    移動 ((2475) - (Camera_x)) ((100) - (Camera _y))\nend\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((チェックポイント到達) + (2))\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\n    if <<touching (プレイヤー v)?> and <(チェックポイント到達) = [0]>> then\n        set [チェックポイント到達 v] to [1]\n        if <(ステージナンバー) = [1]> then\n            set [復活x v] to [3370]\n            set [復活y v] to [100]\n            start sound [チェック v]\n        else\n            if <(ステージナンバー) = [2]> then\n                set [復活x v] to [2475]\n                set [復活y v] to [100]\n                start sound [チェック v]\n            end\n        end\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\nwhen I receive [goal v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [隠す v]\nset [復活x v] to [0]\nset [復活y v] to [0]\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [キャラクターセレクト v]\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\nset [復活x v] to [0]\nset [復活y v] to [0]\n\nwhen I receive [message1 v]\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\nset [復活x v] to [0]\nset [復活y v] to [0]\n\nwhen I receive [messege2 v]\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\nset [復活x v] to [0]\nset [復活y v] to [0]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@水\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [480] [0] [5]\nステージ配置 [2630] [0] [6]\nステージ配置 [3620] [0] [7]\nステージ配置 [4220] [0] [8]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nステージ配置 [960] [0] [7]\nステージ配置 [1440] [100] [8]\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to [front v] layer\n\nステージ配置 [2880] [0] [7]\nステージ配置 [3360] [0] [8]\nステージ配置 [3840] [0] [9]\nステージ配置 [4320] [0] [10]\nステージ配置 [4800] [0] [11]\nステージ配置 [5280] [0] [12]\nステージ配置 [5740] [0] [13]\nステージ配置 [6220] [0] [14]\nステージ配置 [6700] [0] [15]\nステージ配置 [7180] [0] [16]\nステージ配置 [7660] [0] [17]\nステージ配置 [8120] [0] [18]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\n    broadcast (プログラム v)\nend\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [message1 v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [100] [4]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen flag clicked\nset [復活 v] to [0]\n\n@動く地面\n\nwhen I start as a clone\nforever\n    if <(ステージナンバー) = [1]> then\n        repeat (30)\n            change [my_x v] by (6)\n        end\n        wait (2.5) seconds\n        repeat (30)\n            change [my_x v] by (-6)\n        end\n        wait (2.5) seconds\n    end\n    if <(ステージナンバー) = [2]> then\n        repeat (50)\n            change [my_y v] by (-5)\n        end\n        repeat (50)\n            change [my_y v] by (5)\n        end\n    end\nend\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [1100] [269] [2]\nswitch costume to (none v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen flag clicked\nhide\nset [復活 v] to [0]\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I receive [message1 v]\nhide\nステージ配置 [2440] [76] [1]\nswitch costume to (none v)\n\n@ぼうし配置\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        start sound [new power-up v]\n        set [触れたかい？ v] to [1]\n        set [許してやってもいいだろう... v] to [1]\n    else\n        point in direction ((90) + (([sin v] of ((timer) * (250)) ) * (10)))\n    end\nend\n\nwhen flag clicked\nhide\nset [触れたかい？ v] to [0]\nset [許してやってもいいだろう... v] to [0]\n\nwhen I start as a clone\nforever\n    repeat (20)\n        change [my_y v] by (1)\n        wait (0.01) seconds\n    end\n    repeat (20)\n        change [my_y v] by (-1)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [隠す v]\nset [触れたかい？ v] to [0]\nset [許してやってもいいだろう... v] to [0]\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [459] [-377] [1]\nステージ配置 [1399] [-29] [1]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> or <(触れたかい？) = [1]>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I receive [message1 v]\nhide\nステージ配置 [1200] [10] [1]\nステージ配置 [4250] [400] [1]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\n@ぼうし\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nforever\n    if <(触れたかい？) = [1]> then\n        go to [front v] layer\n        show\n        repeat until <not <(触れたかい？) = [1]>>\n            go to (プレイヤー v)\n            point towards (プレイヤー v)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (watermelon v)\nend\n\nwhen I receive [goal v]\nhide\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\n\nwhen I receive [キャラクターセレクト v]\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\n\nwhen I receive [message1 v]\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\n\nwhen I receive [messege2 v]\nset [許してやってもいいだろう... v] to [0]\nset [触れたかい？ v] to [0]\n\nwhen I receive [messege2 v]\nforever\n    if <(触れたかい？) = [1]> then\n        go to [front v] layer\n        show\n        repeat until <not <(触れたかい？) = [1]>>\n            go to (プレイヤー v)\n            point towards (プレイヤー v)\n        end\n    else\n        hide\n    end\nend\n\n@コインのカウント\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I start as a clone\ngo to [front v] layer\nset [a v] to (桁)\nchange x by ((桁) * (16))\nshow\ngo to [front v] layer\nforever\n    go to [front v] layer\n    switch costume to (letter (桁) of (コインの枚数))\n    if <<((20) - (aa)) = ((20) - (a))> or <((20) - (aa)) < ((20) - (a))>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [message1 v]\nset [桁 v] to [1]\ngo to x: (-20) y: (150)\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    change [桁 v] by (1)\nend\n\nwhen I receive [message1 v]\nset [変数 v] to [0]\nforever\n    set [aa v] to (length of (コインの枚数))\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [messege2 v]\nset [桁 v] to [1]\ngo to x: (-20) y: (150)\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    change [桁 v] by (1)\nend\n\nwhen I receive [messege2 v]\nset [変数 v] to [0]\nforever\n    set [aa v] to (length of (コインの枚数))\nend\n\n@敵\n\ndefine 配置 (x) (y) (コスチューム) (動かす距離)\nset [+ v] to (動かす距離)\nset [1 v] to (x)\nset [2 v] to (y)\nset [3 v] to (コスチューム)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    set size to (200) %\n    switch costume to (コスチューム1 v)\n    go to x: (((1) + (+X)) - (Camera_x)) y: ((2) - (Camera _y))\n    if <<(x position) = (((1) + (+X)) - (Camera_x))> and <<(OK？) = [0]> and <(y position) = ((2) - (Camera _y))>>> then\n        show\n    else\n        hide\n    end\n    switch costume to ((1) + (3))\n    if <[0] < (monster X)> then\n        switch costume to ((3) + (2))\n    else\n        switch costume to ((3) + (3))\n    end\nend\n\nwhen I start as a clone\nset [+x v] to [0]\nset [monster x v] to [0]\nforever\n    repeat (+)\n        change [monster x v] by (1)\n        set [monster x v] to ((monster X) * (0.85))\n        change [+x v] by (monster X)\n    end\n    repeat (+)\n        change [monster x v] by (-1)\n        set [monster x v] to ((monster X) * (0.85))\n        change [+x v] by (monster X)\n    end\nend\n\nwhen I start as a clone\nset [ok？ v] to [0]\nforever\n    if <touching (プレイヤー v)?> then\n        if <(yの力) < [0]> then\n            start sound [つぶれる v]\n            set [yの力 v] to [10]\n            set [monster coin x v] to ((1) + (+X))\n            set [monster coin y v] to (2)\n            broadcast (monster coin v)\n            change [ok？ v] by (1)\n        else\n            if <(許してやってもいいだろう...) = [0]> then\n                broadcast (初期化して！ v)\n            end\n            if <(触れたかい？) = [1]> then\n                broadcast (ええと v)\n            end\n        end\n    end\nend\n\nwhen I receive [初期化 v]\nset [ok？ v] to [0]\n\nwhen I receive [message1 v]\nhide\n配置 [1400] [-200] [8] [30]\n配置 [1600] [-220] [11] [20]\n配置 [3020] [150] [1] [30]\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [goal v]\nchange [ゴールの回数 v] by (-1)\n\nwhen I receive [messege2 v]\nhide\n配置 [2043] [-20] [1] [30]\n配置 [3530] [-100] [8] [30]\n配置 [3650] [-140] [11] [40]\n配置 [3900] [-120] [11] [35]\n配置 [4000] [-100] [8] [30]\n配置 [4200] [-100] [8] [25]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@かざり\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\n\nwhen I receive [2 v]\nwait (10) seconds\nstop [other scripts in sprite v]\n\nwhen I receive [goal v]\nhide\n\nwhen I receive [プログラム2 v]\nif <[1.1] > (制限時間・カウント)> then\n    go to [front v] layer\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [messege2 v]\nshow\n\n@回る針\n\nwhen I start as a clone\nshow\nforever\n    if <<(costume [number v]) = [2]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [3]>>> then\n        turn left (3) degrees\n    else\n        if <(costume [number v]) = [5]> then\n            turn right (3) degrees\n        end\n        if <(costume [number v]) = [6]> then\n            turn left (3) degrees\n        end\n    end\nend\n\nwhen I receive [goal v]\ndelete this clone\n\nbroadcast (キャラクターセレクト v)\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [3000] [98] [5]\nステージ配置 [] [] []\nステージ配置 [] [] []\nステージ配置 [] [] []\nswitch costume to (none v)\n\nrepeat (30)\n    change [my_x v] by (5)\nend\nwait (0.1) seconds\nrepeat (30)\n    change [my_x v] by (-5)\nend\nwait (0.1) seconds\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [3]> then\n        repeat (30)\n            change [my_x v] by (5)\n        end\n        wait (0.1) seconds\n        repeat (30)\n            change [my_x v] by (-5)\n        end\n        wait (0.1) seconds\n    else\n        if <(costume [number v]) = [4]> then\n            repeat (75)\n                change [my_y v] by (2)\n            end\n            wait (0.1) seconds\n            repeat (75)\n                change [my_y v] by (-2)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [復活 v] to [0]\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [message1 v]\nhide\nステージ配置 [1825] [30] [1]\nステージ配置 [3730] [2] [2]\nステージ配置 [5745] [-100] [3]\nステージ配置 [2098] [40] [4]\nswitch costume to (none v)\n\n@バネ\n\nwhen flag clicked\nhide\n\nwhen I receive [バネ２ v]\nif <(ステージナンバー) = [1]> then\n    switch costume to (コスチューム5 v)\n    wait (0.05) seconds\n    switch costume to (コスチューム6 v)\n    wait (0.05) seconds\n    switch costume to (コスチューム5 v)\n    wait (0.05) seconds\n    switch costume to (コスチューム4 v)\nelse\n    if <(ステージナンバー) = [2]> then\n        switch costume to (コスチューム2 v)\n        wait (0.05) seconds\n        switch costume to (コスチューム3 v)\n        wait (0.05) seconds\n        switch costume to (コスチューム2 v)\n        wait (0.05) seconds\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [message1 v]\nset [ステージナンバー v] to [1]\n\nwhen I receive [messege2 v]\nset [ステージナンバー v] to [2]\n\nwhen I start as a clone\nshow\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to (コスチューム4 v)\ncreate clone of (_myself_ v)\n\ndefine 移動 (x) (y)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    if <(ステージナンバー) = [1]> then\n        移動 ((4700) - (Camera_x)) ((385) - (Camera _y))\n    else\n        if <(ステージナンバー) = [2]> then\n            移動 ((4370) - (Camera_x)) ((150) - (Camera _y))\n        end\n    end\nend\n\nwhen I receive [message1 v]\nhide\nステージ配置 [4700] [385] [1]\nbroadcast (プログラム v)\n\nwhen flag clicked\nset [復活 v] to [0]\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [4370] [150] [4]\nbroadcast (プログラム v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(ステージナンバー) = [1]> then\n    switch costume to (コスチューム4 v)\nend\nif <(ステージナンバー) = [2]> then\n    switch costume to (コスチューム1 v)\nend\n\n@ゴール\n\nwhen flag clicked\nhide\n\ndefine clone at (x) (y) (costume)\nswitch costume to (costume)\nset [my_x v] to (x)\nset [my_y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((My_x) - (Camera_x)) y: ((My_y) - (Camera _y))\n    if <<([abs v] of ((My_y) - (Camera _y)) ) > ([abs v] of (y position) )> or <([abs v] of ((My_x) - (Camera_x)) ) > ([abs v] of (x position) )>> then\n        hide\n    else\n        show\n    end\n    if <touching (プレイヤー v)?> then\n        broadcast (GOAL v)\n        broadcast (ゴール v)\n    end\nend\n\nwhen I receive [goal v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    switch costume to (コスチューム1 v)\n    repeat (12)\n        next costume\n        wait (0.1) seconds\n    end\n    set size to (200) %\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nclone at [5050] [300] [1]\n\nwhen I receive [messege2 v]\nclone at [4800] [70] [1]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@あざす\n\nwhen flag clicked\nhide\n\nwhen I receive [goal v]\nshow\nforever\n    if <(language::translate) = [日本語]> then\n        if <(プレイヤーコスチューム) = [1]> then\n            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                switch costume to (日mizustar v)\n            else\n                switch costume to (日mizu v)\n            end\n        else\n            if <(プレイヤーコスチューム) = [2]> then\n                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                    switch costume to (日りんごstar v)\n                else\n                    switch costume to (日りんご v)\n                end\n            else\n                if <(プレイヤーコスチューム) = [3]> then\n                    if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                        switch costume to (日水猫s v)\n                    else\n                        switch costume to (日水猫 v)\n                    end\n                else\n                    if <(プレイヤーコスチューム) = [4]> then\n                        if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                            switch costume to (日黄緑s v)\n                        else\n                            switch costume to (日黃 v)\n                        end\n                    else\n                        if <(プレイヤーコスチューム) = [5]> then\n                            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                switch costume to (日黄緑s v)\n                            else\n                                switch costume to (日黄緑 v)\n                            end\n                        else\n                            if <(プレイヤーコスチューム) = [6]> then\n                                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                    switch costume to (日ぶどうｓ v)\n                                else\n                                    switch costume to (日ぶどう v)\n                                end\n                            else\n                                if <(プレイヤーコスチューム) = [7]> then\n                                    if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                        switch costume to (日くろｓ v)\n                                    else\n                                        switch costume to (日黒 v)\n                                    end\n                                else\n                                    if <(プレイヤーコスチューム) = [8]> then\n                                        if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                            switch costume to (日緑s v)\n                                        else\n                                            switch costume to (日緑 v)\n                                        end\n                                    else\n                                        if <(プレイヤーコスチューム) = [9]> then\n                                            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                                switch costume to (日りんご猫ｓ v)\n                                            else\n                                                switch costume to (日りんご猫 v)\n                                            end\n                                        else\n                                            if <(プレイヤーコスチューム) = [10]> then\n                                                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                                    switch costume to (日みかんｓ v)\n                                                else\n                                                    switch costume to (日みかん v)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(プレイヤーコスチューム) = [1]> then\n            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                switch costume to (外mizustar v)\n            else\n                switch costume to (外mizu v)\n            end\n        else\n            if <(プレイヤーコスチューム) = [2]> then\n                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                    switch costume to (りんご v)\n                else\n                    switch costume to (りんごs v)\n                end\n            else\n                if <(プレイヤーコスチューム) = [3]> then\n                    if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                        switch costume to (水猫s v)\n                    else\n                        switch costume to (水猫 v)\n                    end\n                else\n                    if <(プレイヤーコスチューム) = [4]> then\n                        if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                            switch costume to (黄s v)\n                        else\n                            switch costume to (黄 v)\n                        end\n                    else\n                        if <(プレイヤーコスチューム) = [5]> then\n                            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                switch costume to (黄緑ｓ v)\n                            else\n                                switch costume to (黄緑 v)\n                            end\n                        else\n                            if <(プレイヤーコスチューム) = [6]> then\n                                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                    switch costume to (ぶどうｓ v)\n                                else\n                                    switch costume to (ぶどう v)\n                                end\n                            else\n                                if <(プレイヤーコスチューム) = [7]> then\n                                    if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                        switch costume to (くろｓ v)\n                                    else\n                                        switch costume to (くろ v)\n                                    end\n                                else\n                                    if <(プレイヤーコスチューム) = [8]> then\n                                        if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                            switch costume to (みどりs v)\n                                        else\n                                            switch costume to (みどり v)\n                                        end\n                                    else\n                                        if <(プレイヤーコスチューム) = [9]> then\n                                            if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                                switch costume to (り猫s v)\n                                            else\n                                                switch costume to (り猫 v)\n                                            end\n                                        else\n                                            if <(プレイヤーコスチューム) = [10]> then\n                                                if <<(スター１) = [1]> and <<(スター２) = [1]> and <(スター３) = [1]>>> then\n                                                    switch costume to (みかんs v)\n                                                else\n                                                    switch costume to (みかん v)\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 [隠す v]\nhide\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\n@リプレイ\n\nwhen flag clicked\ngo to x: (100) y: (-110)\nhide\n\nwhen I receive [goal v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (12)\n            change [brightness v] effect by (2.5)\n            change size by (2.5)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n    else\n        set size to (80) %\n        set [brightness v] effect to (-30)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (隠す v)\nif <(ステージナンバー) = [1]> then\n    broadcast (message1 v)\nelse\n    if <(ステージナンバー) = [2]> then\n        broadcast (messege2 v)\n    end\nend\n\nwhen I receive [隠す v]\nhide\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\n@スタ3\n\nwhen I receive [goal v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\n\nwhen I start as a clone\nforever\n    if <(ステージナンバー) = [1]> then\n        go to x: ((4250) - (Camera_x)) y: ((320) - (Camera _y))\n        if <<(x position) = ((4250) - (Camera_x))> and <(y position) = ((320) - (Camera _y))>> then\n            show\n        else\n            hide\n        end\n    else\n        go to x: ((2790) - (Camera_x)) y: ((-155) - (Camera _y))\n        if <<(x position) = ((2790) - (Camera_x))> and <(y position) = ((-155) - (Camera _y))>> then\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [message1 v]\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\nhide\n配置 [4250] [380] [1]\n\nwhen I start as a clone\nforever\n    set size to (150) %\n    set volume to (80) %\n    if <touching (プレイヤー v)?> then\n        set [スター３ v] to [1]\n        start sound [Coin v]\n        stop [other scripts in sprite v]\n        change [2 v] by (30)\n        clear graphic effects\n        switch costume to (+1 v)\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            移動 ((1) - ()) ((2) - ())\n            change size by ((((0) - (size)) + (-5)) / (10))\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    end\nend\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nforever\n    if <not <(costume [number v]) = [10]>> then\n        switch costume to (1 v)\n        repeat until <(costume [number v]) = [9]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\nwhen I receive [messege2 v]\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\nhide\n配置 [2790] [-150] [1]\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@すたーせんたー\n\nwhen flag clicked\ngo to x: (-185) y: (158)\nhide\n\nwhen I receive [message1 v]\nshow\nforever\n    go to [front v] layer\n    if <<<(スター１) = [0]> and <(スター２) = [0]>> and <(スター３) = [0]>> then\n        switch costume to (ある,ある,ある v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [0]>> and <(スター３) = [1]>> then\n        switch costume to (ある,ある,ない v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [1]>> and <(スター３) = [0]>> then\n        switch costume to (ある,ない,ある v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [0]>> and <(スター３) = [0]>> then\n        switch costume to (ない,ある,ある v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [1]>> and <(スター３) = [1]>> then\n        switch costume to (ある,ない,ない v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [0]>> and <(スター３) = [1]>> then\n        switch costume to (ない,ある,ない v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [1]>> and <(スター３) = [0]>> then\n        switch costume to (ない,ない,ある v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [1]>> and <(スター３) = [1]>> then\n        switch costume to (ない,ない,ない v)\n    end\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [messege2 v]\nshow\nforever\n    go to [front v] layer\n    if <<<(スター１) = [0]> and <(スター２) = [0]>> and <(スター３) = [0]>> then\n        switch costume to (ある,ある,ある v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [0]>> and <(スター３) = [1]>> then\n        switch costume to (ある,ある,ない v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [1]>> and <(スター３) = [0]>> then\n        switch costume to (ある,ない,ある v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [0]>> and <(スター３) = [0]>> then\n        switch costume to (ない,ある,ある v)\n    end\n    if <<<(スター１) = [0]> and <(スター２) = [1]>> and <(スター３) = [1]>> then\n        switch costume to (ある,ない,ない v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [0]>> and <(スター３) = [1]>> then\n        switch costume to (ない,ある,ない v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [1]>> and <(スター３) = [0]>> then\n        switch costume to (ない,ない,ある v)\n    end\n    if <<<(スター１) = [1]> and <(スター２) = [1]>> and <(スター３) = [1]>> then\n        switch costume to (ない,ない,ない v)\n    end\nend\n\n@隠し地面\n\nwhen flag clicked\nhide\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n\nshow\ngo to [front v] layer\nforever\n\nrepeat (10)\n\nwhen I receive [プログラム2 v]\nif <[1] > (制限時間・カウント)> then\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (none v)\nhide\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [157] [-493] [3]\nステージ配置 [1440] [0] [4]\nステージ配置 [2770] [-125] [5]\nswitch costume to (none v)\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I start as a clone\n\nwhen flag clicked\nset [復活 v] to [0]\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [message1 v]\nhide\nステージ配置 [1305] [-274] [1]\nステージ配置 [2955] [-50] [2]\nswitch costume to (none v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@スタ2\n\nwhen I receive [goal v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\n\nwhen I start as a clone\nforever\n    if <(ステージナンバー) = [1]> then\n        go to x: ((2800) - (Camera_x)) y: ((10) - (Camera _y))\n    end\n    if <<(x position) = ((2800) - (Camera_x))> and <(y position) = ((10) - (Camera _y))>> then\n        show\n    else\n        hide\n    end\n    if <(ステージナンバー) = [2]> then\n        go to x: ((1418) - (Camera_x)) y: ((-144) - (Camera _y))\n        if <<(x position) = ((1418) - (Camera_x))> and <(y position) = ((-144) - (Camera _y))>> then\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [message1 v]\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\nhide\n配置 [2800] [10] []\n\nwhen I start as a clone\nforever\n    set size to (150) %\n    set volume to (80) %\n    if <touching (プレイヤー v)?> then\n        set [スター２ v] to [1]\n        start sound [Coin v]\n        stop [other scripts in sprite v]\n        change [2 v] by (30)\n        clear graphic effects\n        switch costume to (+1 v)\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            移動 ((1) - ()) ((2) - ())\n            change size by ((((0) - (size)) + (-5)) / (10))\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    end\nend\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nforever\n    if <not <(costume [number v]) = [10]>> then\n        switch costume to (1 v)\n        repeat until <(costume [number v]) = [9]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\nwhen I receive [messege2 v]\nhide\n配置 [1418] [-144] []\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@スタ1\n\nwhen I receive [messege2 v]\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\nhide\n配置 [139] [-493] []\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [goal v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\n\nwhen I start as a clone\nforever\n    if <(ステージナンバー) = [1]> then\n        go to x: ((1280) - (Camera_x)) y: ((-276) - (Camera _y))\n        if <<(x position) = ((1280) - (Camera_x))> and <(y position) = ((-276) - (Camera _y))>> then\n            show\n        else\n            hide\n        end\n    else\n        if <(ステージナンバー) = [2]> then\n            go to x: ((140) - (Camera_x)) y: ((-493) - (Camera _y))\n            if <<(x position) = ((140) - (Camera_x))> and <(y position) = ((-493) - (Camera _y))>> then\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [message1 v]\nset [スター１ v] to [0]\nset [スター２ v] to [0]\nset [スター３ v] to [0]\nhide\n配置 [1280] [-276] []\n\nwhen I start as a clone\nforever\n    set size to (150) %\n    set volume to (80) %\n    if <touching (プレイヤー v)?> then\n        set [スター１ v] to [1]\n        start sound [Coin v]\n        stop [other scripts in sprite v]\n        change [2 v] by (30)\n        clear graphic effects\n        switch costume to (+1 v)\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            移動 ((1) - (Camera_x)) ((2) - (Camera _y))\n            change size by ((((0) - (size)) + (-5)) / (10))\n            change [ghost v] effect by (5)\n        end\n    end\nend\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\n\nwhen I start as a clone\nforever\n    if <not <(costume [number v]) = [10]>> then\n        switch costume to (1 v)\n        repeat until <(costume [number v]) = [9]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\n@コイン\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\n\nwhen I receive [初期化 v]\nset [ok？ v] to [0]\nset [ok? v] to [0]\n\nwhen I receive [monster coin v]\nif <(costume [number v]) = [1]> then\n    wait (0.5) seconds\n    set [monster coin？ v] to [1]\n    配置 (monster coin X) ((monster coin Y) + (10)) [1]\nend\n\nwhen I start as a clone\nshow\nif <(monster coin？) = [1]> then\n    wait until <<(！) = [1]> and <(OK？) = [1]>>\n    wait until <(！) = [0]>\n    delete this clone\nend\n\nset [camera_x v] to [1950]\nset [camera _y v] to [30]\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen flag clicked\nset [コインの枚数 v] to [0]\nset [ok? v] to [0]\nset [ok？ v] to [0]\n\nwhen I receive [messege2 v]\nset [コインの枚数 v] to [0]\nhide\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [messege2 v]\n配置 [10] [-105] [1]\n配置 [60] [-55] [1]\n配置 [110] [-5] [1]\n配置 [160] [-5] [1]\n配置 [210] [-55] [1]\n配置 [415] [-39] [1]\n配置 [415] [-89] [1]\n配置 [415] [-139] [1]\n配置 [415] [-189] [1]\n配置 [415] [-239] [1]\n配置 [440] [-255] [1]\n配置 [465] [-271] [1]\n配置 [493] [-378] [1]\n配置 [443] [-378] [1]\n配置 [393] [-378] [1]\n配置 [343] [-428] [1]\n配置 [293] [-478] [1]\n配置 [243] [-478] [1]\n配置 [140] [-420] [1]\n配置 [370] [21] [1]\n配置 [320] [21] [1]\n配置 [270] [1] [1]\n配置 [660] [-372] [1]\n配置 [710] [-322] [1]\n配置 [760] [-272] [1]\n配置 [810] [-322] [1]\n配置 [860] [-372] [1]\n配置 [910] [-372] [1]\n配置 [960] [-372] [1]\n配置 [660] [-300] [1]\n配置 [660] [-250] [1]\n配置 [660] [-200] [1]\n配置 [660] [-150] [1]\n配置 [660] [-100] [1]\n配置 [660] [-50] [1]\n配置 [660] [0] [1]\n配置 [660] [50] [1]\n配置 [660] [100] [1]\n配置 [660] [150] [1]\n配置 [660] [200] [1]\n配置 [660] [250] [1]\n配置 [660] [300] [1]\n配置 [576] [345] [1]\n配置 [576] [395] [1]\n配置 [576] [445] [1]\n配置 [748] [272] [1]\n配置 [798] [272] [1]\n配置 [848] [272] [1]\n配置 [898] [272] [1]\n配置 [948] [272] [1]\n配置 [1111] [210] [1]\n配置 [1111] [160] [1]\n配置 [1111] [110] [1]\n配置 [1111] [60] [1]\n配置 [1111] [10] [1]\n配置 [1386] [-32] [1]\n配置 [1436] [-32] [1]\n配置 [1486] [-32] [1]\n配置 [1511] [-82] [1]\n配置 [1486] [-132] [1]\n配置 [1690] [-100] [1]\n配置 [1690] [-50] [1]\n配置 [1690] [0] [1]\n配置 [1690] [50] [1]\n配置 [1690] [100] [1]\n配置 [1740] [100] [1]\n配置 [1790] [100] [1]\n配置 [1840] [100] [1]\n配置 [1935] [-6] [1]\n配置 [1985] [-6] [1]\n配置 [2035] [-6] [1]\n配置 [2085] [-6] [1]\n配置 [2135] [-6] [1]\n配置 [2185] [-6] [1]\n配置 [2235] [-56] [1]\n配置 [2285] [-106] [1]\n配置 [2335] [-106] [1]\n配置 [2375] [100] [1]\n配置 [2375] [50] [1]\n配置 [2375] [0] [1]\n配置 [2375] [-50] [1]\n配置 [2554] [63] [1]\n配置 [2554] [13] [1]\n配置 [2554] [-37] [1]\n配置 [2554] [-87] [1]\n配置 [2554] [-137] [1]\n配置 [2614] [63] [1]\n配置 [2614] [13] [1]\n配置 [2614] [-37] [1]\n配置 [2614] [-87] [1]\n配置 [2614] [-137] [1]\n配置 [2664] [-153] [1]\n配置 [2714] [-153] [1]\n配置 [2645] [-7] [1]\n配置 [2695] [-7] [1]\n配置 [2745] [-7] [1]\n配置 [2795] [-7] [1]\n配置 [2845] [-7] [1]\n配置 [2902] [8] [1]\n配置 [2952] [58] [1]\n配置 [3002] [58] [1]\n配置 [3052] [58] [1]\n配置 [3209] [-49] [1]\n配置 [3259] [-24] [1]\n配置 [3309] [1] [1]\n配置 [3359] [26] [1]\n配置 [3409] [51] [1]\n配置 [3480] [-150] [1]\n配置 [3480] [-100] [1]\n配置 [3530] [-150] [1]\n配置 [3530] [-100] [1]\n配置 [3580] [-150] [1]\n配置 [3580] [-100] [1]\n配置 [3630] [-150] [1]\n配置 [3630] [-100] [1]\n配置 [3680] [-150] [1]\n配置 [3680] [-100] [1]\n配置 [3730] [-150] [1]\n配置 [3730] [-100] [1]\n配置 [3780] [-150] [1]\n配置 [3780] [-100] [1]\n配置 [3830] [-150] [1]\n配置 [3830] [-100] [1]\n配置 [3880] [-150] [1]\n配置 [3880] [-100] [1]\n配置 [3930] [-150] [1]\n配置 [3930] [-100] [1]\n配置 [3980] [-150] [1]\n配置 [3980] [-100] [1]\n配置 [4030] [-150] [1]\n配置 [4030] [-100] [1]\n配置 [4080] [-150] [1]\n配置 [4080] [-100] [1]\n配置 [4130] [-150] [1]\n配置 [4130] [-100] [1]\n配置 [4180] [-150] [1]\n配置 [4180] [-100] [1]\n配置 [4230] [-150] [1]\n配置 [4230] [-100] [1]\n配置 [4280] [-150] [1]\n配置 [4280] [-100] [1]\n配置 [4330] [-150] [1]\n配置 [4330] [-100] [1]\n配置 [4380] [-150] [1]\n配置 [4380] [-100] [1]\n配置 [4430] [-150] [1]\n配置 [4430] [-100] [1]\n\nwhen I start as a clone\nforever\n    if <not <(costume [number v]) = [10]>> then\n        switch costume to (1 v)\n        repeat until <(costume [number v]) = [9]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    go to x: ((1) - (Camera_x)) y: ((2) - (Camera _y))\n    if <<(x position) = ((1) - (Camera_x))> and <<(OK？) = [0]> and <(y position) = ((2) - (Camera _y))>>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [message1 v]\n配置 [-300] [0] [1]\n配置 [-300] [50] [1]\n配置 [-300] [100] [1]\n配置 [101] [-45] [1]\n配置 [151] [5] [1]\n配置 [201] [55] [1]\n配置 [251] [5] [1]\n配置 [311] [20] [1]\n配置 [376] [70] [1]\n配置 [441] [20] [1]\n配置 [800] [-58] [1]\n配置 [800] [-8] [1]\n配置 [800] [42] [1]\n配置 [862] [-8] [1]\n配置 [912] [20] [1]\n配置 [962] [0] [1]\n配置 [1012] [-50] [1]\n配置 [1384] [-118] [1]\n配置 [1434] [-118] [1]\n配置 [1484] [-118] [1]\n配置 [1534] [-118] [1]\n配置 [1584] [-118] [1]\n配置 [1634] [-118] [1]\n配置 [1684] [-118] [1]\n配置 [1734] [-118] [1]\n配置 [1384] [-168] [1]\n配置 [1434] [-168] [1]\n配置 [1484] [-168] [1]\n配置 [1534] [-168] [1]\n配置 [1584] [-168] [1]\n配置 [1634] [-168] [1]\n配置 [1684] [-168] [1]\n配置 [1384] [-218] [1]\n配置 [1434] [-218] [1]\n配置 [1484] [-218] [1]\n配置 [1534] [-218] [1]\n配置 [1584] [-218] [1]\n配置 [1634] [-218] [1]\n配置 [1684] [-218] [1]\n配置 [1384] [-268] [1]\n配置 [1434] [-268] [1]\n配置 [1484] [-268] [1]\n配置 [1534] [-268] [1]\n配置 [1584] [-268] [1]\n配置 [1634] [-268] [1]\n配置 [1684] [-268] [1]\n配置 [1783] [-111] [1]\n配置 [1833] [-111] [1]\n配置 [1883] [-65] [1]\n配置 [1933] [-15] [1]\n配置 [2007] [80] [1]\n配置 [2057] [130] [1]\n配置 [2107] [180] [1]\n配置 [2157] [130] [1]\n配置 [2209] [112] [1]\n配置 [2259] [112] [1]\n配置 [2309] [112] [1]\n配置 [2359] [112] [1]\n配置 [2409] [112] [1]\n配置 [2459] [112] [1]\n配置 [2509] [112] [1]\n配置 [2559] [112] [1]\n配置 [2609] [112] [1]\n配置 [2940] [19] [1]\n配置 [2940] [69] [1]\n配置 [2940] [119] [1]\n配置 [2940] [169] [1]\n配置 [3361] [62] [1]\n配置 [3411] [112] [1]\n配置 [3461] [112] [1]\n配置 [3511] [112] [1]\n配置 [3561] [112] [1]\n配置 [3611] [62] [1]\n配置 [4025] [105] [1]\n配置 [4025] [155] [1]\n配置 [4025] [205] [1]\n配置 [4025] [255] [1]\nset [コインの枚数 v] to [0]\nhide\n\nwhen I start as a clone\nforever\n    set size to (100) %\n    set volume to (80) %\n    if <touching (プレイヤー v)?> then\n        set [ok？ v] to [1]\n        set [ok? v] to [1]\n        start sound [Coin v]\n        change [コインの枚数 v] by (1)\n    end\nend\n\ndefine 配置 (x) (y) (コスチューム)\nset [1 v] to (x)\nset [2 v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム1 v)\n\n@制限時間\n\nwhen I receive [message1 v]\nset [制限時間・カウント v] to [0]\nset [信仰具合（進行具合ですよｗｗｗ） v] to [Yes]\nset [制限時間・カウント v] to [0]\nif <<not <(信仰具合（進行具合ですよｗｗｗ）) = [No]>> and <(信仰具合（進行具合ですよｗｗｗ）) = [Yes]>> then\n    repeat until <(信仰具合（進行具合ですよｗｗｗ）) = [No]>\n        wait (1) seconds\n        change [制限時間・カウント v] by (1)\n    end\nend\n\nwhen I receive [ステージを消す v]\nset [信仰具合（進行具合ですよｗｗｗ） v] to [No]\n\nwhen flag clicked\nset [信仰具合（進行具合ですよｗｗｗ） v] to [No]\n\nwhen I receive [goal v]\nset [信仰具合（進行具合ですよｗｗｗ） v] to [No]\n\nwhen flag clicked\nhide\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\ngo to [front v] layer\nset [a v] to (桁)\nchange x by ((桁) * (16))\nshow\ngo to [front v] layer\nforever\n    go to [front v] layer\n    switch costume to (letter (桁) of (制限時間・カウント))\n    if <<((20) - (長さ)) = ((20) - (a))> or <((20) - (長さ)) < ((20) - (a))>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [message1 v]\nset [桁 v] to [1]\ngo to x: (165) y: (130)\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    change [桁 v] by (1)\nend\n\nwhen I receive [message1 v]\nset [変数 v] to [0]\nforever\n    set [長さ v] to (length of (制限時間・カウント))\nend\n\nwhen I receive [messege2 v]\nset [桁 v] to [1]\ngo to x: (165) y: (130)\nhide\nrepeat (5)\n    create clone of (_myself_ v)\n    change [桁 v] by (1)\nend\n\nwhen I receive [messege2 v]\nset [制限時間・カウント v] to [0]\nset [信仰具合（進行具合ですよｗｗｗ） v] to [Yes]\nset [制限時間・カウント v] to [0]\nif <<not <(信仰具合（進行具合ですよｗｗｗ）) = [No]>> and <(信仰具合（進行具合ですよｗｗｗ）) = [Yes]>> then\n    repeat until <(信仰具合（進行具合ですよｗｗｗ）) = [No]>\n        wait (1) seconds\n        change [制限時間・カウント v] by (1)\n    end\nend\n\nwhen I receive [messege2 v]\nset [変数 v] to [0]\nforever\n    set [長さ v] to (length of (制限時間・カウント))\nend\n\n@日の丸からのヒント1\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [829] [-372] [1]\nswitch costume to (none v)\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nif <touching (プレイヤー v)?> then\n    if <(language::translate) = [日本語]> then\n        say [一つ目のスターコインは近いです！]\n    else\n        say (translate [一つ目のスターコインは近いです！] to ((language::translate) v)::translate)\n    end\nelse\n    say []\nend\nswitch costume to (My_n)\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [message1 v]\nhide\nステージ配置 [1100] [-100] [1]\nswitch costume to (none v)\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [プログラム2 v]\nif <not <(costume [number v]) = [1]>> then\n    if <(ステージナンバー) = [1]> then\n        移動 ((1100) - (Camera_x)) ((-100) - (Camera _y))\n    else\n        if <(ステージナンバー) = [2]> then\n            移動 ((690) - (Camera_x)) ((-372) - (Camera _y))\n        end\n    end\nend\nbroadcast (プログラム v)\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@日の丸からのヒント2\n\nwhen I receive [messege2 v]\nhide\nステージ配置 [1240] [-32] [1]\nステージ配置 [2880] [-9] [2]\nswitch costume to (none v)\n\nwhen I start as a clone\nforever\n    if <touching (プレイヤー v)?> then\n        if <<<(ステージナンバー) = [2]> or <(ステージナンバー) = [1]>> and <(costume [number v]) = [2]>> then\n            if <(language::translate) = [日本語]> then\n                say [二つ目のスターコインは近いです！]\n            else\n                say (translate [二つ目のスターコインは近いです！] to ((language::translate) v)::translate)\n            end\n        end\n        if <<(ステージナンバー) = [2]> and <(costume [number v]) = [3]>> then\n            if <(language::translate) = [日本語]> then\n                say [三つ目のスターコインは近いです！]\n            else\n                say (translate [三つ目のスターコインは近いです！] to ((language::translate) v)::translate)\n            end\n        end\n    else\n        say []\n    end\n    switch costume to (My_n)\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ndefine 移動 (x) (y)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\n\nwhen I receive [goal v]\ndelete this clone\n\nwhen I receive [message1 v]\nhide\nステージ配置 [2668] [200] [1]\nswitch costume to (none v)\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\nwhen I receive [プログラム2 v]\nif <not <(costume [number v]) = [1]>> then\n    if <(ステージナンバー) = [1]> then\n        移動 ((2668) - (Camera_x)) ((200) - (Camera _y))\n    else\n        if <(ステージナンバー) = [2]> then\n            if <(costume [number v]) = [2]> then\n                移動 ((1240) - (Camera_x)) ((-32) - (Camera _y))\n            end\n            if <(costume [number v]) = [3]> then\n                移動 ((2880) - (Camera_x)) ((-9) - (Camera _y))\n            end\n        end\n    end\nend\nbroadcast (プログラム v)\n\n@ intro\n\nwhen I start as a clone\nset size to (100) %\ngo to x: (0) y: (0)\nif <(costume [number v]) = [1]> then\n    go to [back v] layer\n    set size to (100) %\n    show\n    point in direction (90)\n    go to x: (1) y: (350)\n    repeat until <(y position) < [1]>\n        change y by ((y position) / (-7))\n    end\n    wait (2) seconds\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    go to [front v] layer\n    set size to (100) %\n    show\n    point in direction (90)\n    go to x: (-303) y: (30)\n    repeat until <(x position) > [1]>\n        change x by (((2) - (x position)) / (7))\n    end\n    wait (0.1) seconds\n    repeat (7)\n        point in direction (-90)\n        set size to (100) %\n        set [変数2 v] to [0]\n        repeat (46)\n            set [変数2 v] to (((変数2) * (0.2)) + (((90) - (direction)) * (0.1)))\n            turn right (変数2) degrees\n        end\n        wait (0.28) seconds\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    go to [front v] layer\n    set size to (100) %\n    show\n    point in direction (90)\n    go to x: (303) y: (-88)\n    repeat until <[-1] > (x position)>\n        change x by (((-2) - (x position)) / (7))\n    end\n    repeat (7)\n        point in direction (90)\n        set [変数 v] to [0]\n        set size to (0) %\n        repeat (50)\n            set [変数 v] to (((変数) * (0.75)) + (((120) - (size)) * (0.3)))\n            change size by (変数)\n        end\n        wait (0.18) seconds\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.2) seconds\n    show\n    set size to (60) %\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [brightness v] effect to (20)\n    point in direction (pick random (0) to (360))\n    repeat until <touching (_edge_ v)?>\n        change size by (-2)\n        switch costume to (pick random (4) to (5))\n        move (10) steps\n    end\n    delete this clone\nend\nif <(costume [number v]) = [6]> then\n    wait (0.95) seconds\n    show\n    point in direction (90)\n    go to x: (-473) y: (-5)\n    repeat until <(x position) > [0]>\n        change x by (((2) - (x position)) / (7))\n    end\n    wait (13) seconds\n    broadcast (1 v)\n    delete this clone\nend\nif <(costume [number v]) = [7]> then\n    go [backward v] (2) layers\n    wait (0.5) seconds\n    show\n    point in direction (90)\n    go to x: (437) y: (-5)\n    repeat until <(x position) < [0]>\n        change x by (((2) - (x position)) / (7))\n    end\n    wait (13) seconds\n    delete this clone\nend\nif <(costume [number v]) = [8]> then\n    wait (2) seconds\n    show\n    point in direction (90)\n    set size to (100) %\n    go to [front v] layer\n    go to x: (0) y: (350)\n    broadcast (2 v)\n    set [イントロ v] to [0]\n    repeat until <(y position) < [1]>\n        change y by ((y position) / (-7))\n    end\n    repeat until <[400] < (y position)>\n        change y by ((y position) / (7))\n    end\nend\nif <(costume [number v]) = [9]> then\n    wait (2) seconds\n    show\n    go [forward v] (3) layers\n    go to x: (0) y: (0)\n    set size to (150) %\n    set [brightness v] effect to (-4)\n    switch costume to (コスチューム8 v)\n    create clone of (_myself_ v)\n    repeat (3)\n        repeat (9)\n            change size by (10)\n        end\n        repeat (7)\n            change size by (6)\n        end\n    end\n    repeat (5)\n        repeat (9)\n            switch costume to (コスチューム11 v)\n            change size by (((size) / (100)) * (4.2))\n            switch costume to (コスチューム8 v)\n        end\n        repeat (7)\n            switch costume to (コスチューム11 v)\n            change size by (((size) / (100)) * (1))\n            switch costume to (コスチューム8 v)\n        end\n    end\n    delete this clone\nend\nif <(costume [number v]) = [11]> then\n    wait (1.9) seconds\n    show\n    set size to (60) %\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (30)\n    go to (random position v)\n    point in direction (pick random (0) to (360))\n    switch costume to (pick random (11) to (13))\n    repeat until <touching (_edge_ v)?>\n        move (1) steps\n    end\n    delete this clone\nend\n\nwhen flag clicked\nclear graphic effects\nwait (1) seconds\nbroadcast (イントロ v)\n\nwhen I receive [1 v]\nif <(costume [number v]) = [7]> then\n    delete this clone\nend\n\nwhen I receive [2 v]\nwait (2.7) seconds\ndelete this clone\n\nwhen I receive [イントロ v]\nhide\nstart sound [electro-light-discovery-vyW3wznZ v]\nswitch costume to (コスチューム3 v)\ncreate clone of (_myself_ v)\nwait (1) seconds\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム2 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム8 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム6 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム10 v)\ncreate clone of (_myself_ v)\nブロック名\nswitch costume to (コスチューム7 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム14 v)\ncreate clone of (_myself_ v)\nwait (5) seconds\nbroadcast (start v)\n\nwhen I receive [2 v]\nif <(costume [number v]) = [9]> then\n    delete this clone\nend\n\ndefine ブロック名\nrepeat (350)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム4 v)\nend\n\nwhen I receive [イントロ v]\nrepeat (60)\n    create clone of (_myself_ v)\n    switch costume to (コスチューム9 v)\nend\n\nwhen I receive [2 v]\nwait (3) seconds\nbroadcast (キャラクターセレクト v)\n\nwhen I receive [イントロ v]\nset [イントロ v] to [1]\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <(イントロ) = [1]>> then\n        stop [other scripts in sprite v]\n        broadcast (! v)\n        delete this clone\n    end\nend\n\nwhen I receive [! v]\nstop all sounds\nshow\nswitch costume to (コスチューム7 v)\npoint in direction (90)\nset size to (100) %\ngo to [front v] layer\ngo to x: (0) y: (350)\nbroadcast (2 v)\nset [イントロ v] to [0]\nrepeat until <(y position) < [1]>\n    change y by ((y position) / (-7))\nend\nrepeat until <[400] < (y position)>\n    change y by ((y position) / (7))\nend\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@ホーム画面\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nforever\n    if <(costume [name v]) = [2]> then\n        set y to (([sin v] of ((timer) * (100)) ) * (10))\n    else\n        if <(costume [name v]) = [3]> then\n            set y to (([cos v] of ((timer) * (100)) ) * (10))\n        else\n            if <not <(costume [name v]) = [1]>> then\n                set y to (([sin v] of ((timer) * (100)) ) * (20))\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine クローン\nswitch costume to (1 v)\nset size to (100) %\ncreate clone of (_myself_ v)\nswitch costume to (5 v)\nset size to (80) %\nrepeat (4)\n    create clone of (_myself_ v)\n    switch costume to ((costume [name v]) - (1))\nend\n\nwhen I start as a clone\nforever\n    if <[4] < (costume [name v])> then\n        switch costume to (5 v)\n        repeat until <(costume [number v]) = [12]>\n            wait (0.05) seconds\n            next costume\n        end\n    end\nend\n\nwhen I receive [キャラクターセレクト v]\nクローン\n\nwhen I receive [message1 v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [messege2 v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@はてな\n\nwhen I receive [ステージセレクト v]\nset [ghost v] effect to (0)\nset size to (100) %\nhide\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset size to (100) %\nhide\n\nwhen this sprite clicked\nstart sound [選択 v]\nbroadcast (説明 v)\n\nwhen I receive [キャラクターセレクト v]\nset [ghost v] effect to (0)\nshow\ngo to x: (120) y: (-150)\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (250)) ) * (10)))\nend\n\n@前\n\nwhen flag clicked\nhide\n\nwhen I receive [ステージセレクト v]\nhide\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (前 v)\n\nwhen I receive [キャラクターセレクト v]\nshow\n\n@次\n\nwhen flag clicked\nhide\n\nwhen I receive [ステージセレクト v]\nhide\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (次 v)\n\nwhen I receive [キャラクターセレクト v]\nshow\n\n@説明\n\nwhen flag clicked\nhide\n\nwhen I receive [説明 v]\nstop [other scripts in sprite v]\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\nset size to (5) %\ngo to [front v] layer\nshow\nrepeat (8)\n    change size by (((size) + (5)) / (4))\nend\nrepeat (25)\n    change size by (((100) - (size)) / (4))\nend\n\nwhen I receive [戻る v]\nstop [other scripts in sprite v]\nif <(costume [name v]) = [3]> then\n    repeat (10)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nelse\n    repeat (10)\n        change size by ((((0) - (size)) + (-5)) / (4))\n    end\n    hide\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (1) layers\nset [ghost v] effect to (100)\nset size to (100) %\nswitch costume to (3 v)\nshow\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\n\nwhen this sprite clicked\nstart sound [次 v]\nif <not <(costume [number v]) = [3]>> then\n    if <(costume [number v]) = [1]> then\n        switch costume to (2 v)\n    else\n        switch costume to (1 v)\n    end\n    set [なめらか v] to [0]\n    set size to (80) %\n    set [なめらか v] to ((((100) - (size)) / (4)) - ((なめらか) / (3)))\n    repeat (20)\n        change size by (なめらか)\n        change [なめらか v] by ((((100) - (size)) / (4)) - ((なめらか) / (3)))\n    end\n    set size to (100) %\nend\n\n@セレクト\n\nwhen flag clicked\nhide\n\nwhen I receive [キャラクターセレクト v]\nswitch costume to (コスチューム1 v)\ngo to x: (120) y: (35)\nset [brightness v] effect to (0)\nshow\n\nwhen I receive [ステージセレクト v]\nhide\n\nwhen I receive [前 v]\nset [セレクト: ムーブ v] to [0]\nset size to (30) %\nset [セレクト: ムーブ v] to ((((100) - (size)) / (4)) - ((セレクト: ムーブ) / (3)))\nif <(ゴールの回数) > [3]> then\n    if <not <(costume [number v]) = [7]>> then\n        if <not <(costume [number v]) = [11]>> then\n            if <not <(costume [number v]) = [13]>> then\n                switch costume to ((costume [number v]) - (1))\n            else\n                switch costume to (コスチューム11 v)\n            end\n        else\n            switch costume to (コスチューム9 v)\n        end\n    else\n        switch costume to (コスチューム5 v)\n    end\nelse\n    if <(ゴールの回数) > [2]> then\n        if <not <(costume [number v]) = [7]>> then\n            if <not <(costume [number v]) = [13]>> then\n                switch costume to ((costume [number v]) - (1))\n            else\n                switch costume to (コスチューム10 v)\n            end\n        else\n            switch costume to (コスチューム5 v)\n        end\n    else\n        if <(ゴールの回数) > [0]> then\n            if <not <(costume [number v]) = [8]>> then\n                if <not <(costume [number v]) = [13]>> then\n                    switch costume to ((costume [number v]) - (1))\n                else\n                    switch costume to (コスチューム10 v)\n                end\n            else\n                switch costume to (コスチューム6 v)\n            end\n        else\n            if <not <(costume [number v]) = [8]>> then\n                if <not <(costume [number v]) = [12]>> then\n                    if <not <(costume [number v]) = [1]>> then\n                        switch costume to ((costume [number v]) - (1))\n                    else\n                        switch costume to (コスチューム12 v)\n                    end\n                else\n                    switch costume to (コスチューム10 v)\n                end\n            else\n                switch costume to (コスチューム6 v)\n            end\n        end\n    end\nend\nrepeat (20)\n    change size by (セレクト: ムーブ)\n    change [セレクト: ムーブ v] by ((((100) - (size)) / (4)) - ((セレクト: ムーブ) / (3)))\nend\nset size to (100) %\n\nwhen I receive [次 v]\nset [セレクト: ムーブ v] to [0]\nset size to (30) %\nset [セレクト: ムーブ v] to ((((100) - (size)) / (4)) - ((セレクト: ムーブ) / (3)))\nif <(ゴールの回数) > [3]> then\n    if <not <(costume [number v]) = [5]>> then\n        if <not <(costume [number v]) = [9]>> then\n            if <not <(costume [number v]) = [11]>> then\n                next costume\n            else\n                switch costume to (コスチューム13 v)\n            end\n        else\n            switch costume to (コスチューム11 v)\n        end\n    else\n        switch costume to (コスチューム7 v)\n    end\nelse\n    if <(ゴールの回数) > [2]> then\n        if <not <(costume [number v]) = [5]>> then\n            if <not <(costume [number v]) = [10]>> then\n                next costume\n            else\n                switch costume to (コスチューム13 v)\n            end\n        else\n            switch costume to (コスチューム7 v)\n        end\n    else\n        if <(ゴールの回数) > [0]> then\n            if <not <(costume [number v]) = [6]>> then\n                if <not <(costume [number v]) = [10]>> then\n                    next costume\n                else\n                    switch costume to (コスチューム13 v)\n                end\n            else\n                switch costume to (コスチューム8 v)\n            end\n        else\n            if <not <(costume [number v]) = [6]>> then\n                if <not <(costume [number v]) = [10]>> then\n                    if <not <(costume [number v]) = [12]>> then\n                        next costume\n                    else\n                        switch costume to (コスチューム1 v)\n                    end\n                else\n                    switch costume to (コスチューム12 v)\n                end\n            else\n                switch costume to (コスチューム8 v)\n            end\n        end\n    end\nend\nrepeat (20)\n    change size by (セレクト: ムーブ)\n    change [セレクト: ムーブ v] by ((((100) - (size)) / (4)) - ((セレクト: ムーブ) / (3)))\nend\nset size to (100) %\n\nwhen I receive [コスチューム v]\nif <(costume [number v]) = [1]> then\n    set [プレイヤーコスチューム v] to [1]\nelse\n    if <(costume [number v]) = [2]> then\n        set [プレイヤーコスチューム v] to [2]\n    else\n        if <(costume [number v]) = [3]> then\n            set [プレイヤーコスチューム v] to [3]\n        else\n            if <(costume [number v]) = [4]> then\n                set [プレイヤーコスチューム v] to [4]\n            else\n                if <(costume [number v]) = [5]> then\n                    set [プレイヤーコスチューム v] to [5]\n                else\n                    if <<(costume [number v]) = [6]> or <<(costume [number v]) = [10]> or <(costume [number v]) = [12]>>> then\n                        stop [this script v]\n                    end\n                    if <(costume [number v]) = [7]> then\n                        broadcast (念のため v)\n                    else\n                        if <(costume [number v]) = [8]> then\n                            set [プレイヤーコスチューム v] to [7]\n                        else\n                            if <(costume [number v]) = [9]> then\n                                set [プレイヤーコスチューム v] to [8]\n                            else\n                                if <(costume [number v]) = [11]> then\n                                    set [プレイヤーコスチューム v] to [9]\n                                else\n                                    if <(costume [number v]) = [13]> then\n                                        set [プレイヤーコスチューム v] to [10]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nbroadcast (ステージセレクト v)\n\nwhen flag clicked\nset [ゴールの回数 v] to [0]\n\nwhen I receive [ゴール v]\nchange [ゴールの回数 v] by (1)\n\nwhen I receive [念のため v]\nswitch costume to (コスチューム7 v)\nset [プレイヤーコスチューム v] to [6]\nbroadcast (ステージセレクト v)\n\n@決定ボタン\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset size to (100) %\nhide\n\nwhen I receive [ステージセレクト v]\nset [ghost v] effect to (0)\nset size to (100) %\nhide\n\nwhen I receive [キャラクターセレクト v]\nset [ghost v] effect to (0)\nshow\ngo to x: (120) y: (-90)\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (250)) ) * (10)))\n    if <([costume # v] of [セレクト v]) = [12]> then\n        switch costume to (コスチューム1 v)\n    else\n        if <([costume # v] of [セレクト v]) = [10]> then\n            switch costume to (コスチューム3 v)\n        else\n            if <([costume # v] of [セレクト v]) = [6]> then\n                switch costume to (コスチューム2 v)\n            else\n                switch costume to (ボタン v)\n            end\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (2)\n            change [ghost v] effect by (0.5)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n    else\n        set [ghost v] effect to (0)\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nplay sound [決定、ボタン押下33 v] until done\nbroadcast (コスチューム v)\n\nwhen I receive [キャラクターセレクト v]\nset [ghost v] effect to (0)\nshow\ngo to x: (120) y: (-90)\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (250)) ) * (10)))\nend\n\n@題名\n\nwhen flag clicked\nhide\n\nwhen I receive [キャラクターセレクト v]\ngo to x: (85) y: (80)\ngo to [front v] layer\nset size to (5) %\nshow\nrepeat (23)\n    change size by (((80) - (size)) / (4))\nend\n\nwhen I receive [キャラクターセレクト v]\nforever\n    set y to ((80) + (([sin v] of ((300) * (timer)) ) * (10)))\nend\n\nwhen I receive [message1 v]\nhide\n\nwhen I receive [messege2 v]\nhide\n\nwhen I receive [ステージセレクト v]\nstop [other scripts in sprite v]\nhide\n\n@戻るボタン\n\nwhen I receive [説明 v]\nwait (0.1) seconds\ngo to x: (-200) y: (-189)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nstop [other scripts in sprite v]\nbroadcast (大きさ v)\nrepeat (20)\n    change y by (((-150) - (y position)) / (4))\nend\n\nwhen this sprite clicked\nstart sound [選択 v]\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nstart sound [キャンセル v]\nswitch costume to (1 v)\nbroadcast (戻る v)\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-210) - (y position)) / (4))\nend\nhide\n\nwhen flag clicked\nhide\n\n@ステージセレクト2\n\nwhen flag clicked\nset size to (85) %\nhide\n\nwhen I receive [ステージセレクト v]\nstop [other scripts in sprite v]\nshow\ngo to x: (-150) y: (0)\nset [ghost v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (2)\n            change [ghost v] effect by (0.5)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n    else\n        set [ghost v] effect to (0)\n        set size to (85) %\n    end\n    switch costume to (コスチューム1 v)\nend\n\nwhen this sprite clicked\nstop [other scripts in sprite v]\nplay sound [決定 v] until done\nset [ステージセレクト v] to [2]\nhide\nbroadcast (message1 v)\n\nwhen I receive [message1 v]\nhide\n\nwhen I receive [messege2 v]\nhide\n\nwhen I receive [messege2 v]\nforever\n    hide\nend\n\nwhen I receive [messege2 v]\nforever\n    hide\nend\n\n@ステージセレクト3\n\nwhen flag clicked\nset size to (85) %\nhide\n\nwhen I receive [ステージセレクト v]\nstop [other scripts in sprite v]\nshow\ngo to x: (150) y: (0)\nset [ghost v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (2)\n            change [ghost v] effect by (0.5)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n    else\n        set [ghost v] effect to (0)\n        set size to (85) %\n    end\n    if <[1] < (ゴールの回数)> then\n        switch costume to (コスチューム1 v)\n    else\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen this sprite clicked\nif <[1] < (ゴールの回数)> then\n    stop [other scripts in sprite v]\n    play sound [決定 v] until done\n    set [ステージセレクト v] to [2]\n    hide\n    broadcast (messege2 v)\nelse\n    stop [this script v]\nend\n\nwhen I receive [message1 v]\nhide\n\nwhen I receive [messege2 v]\nhide\n\nwhen I receive [messege2 v]\nforever\n    hide\nend\n\nwhen I receive [messege2 v]\nforever\n    hide\nend\n\n@ホームボタン\n\nwhen flag clicked\ngo to x: (-210) y: (-155)\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [message1 v]\nshow\nforever\n    go to [front v] layer\n    set [ホームボタン: ムーブ v] to [0]\n    set size to (30) %\n    set [ホームボタン: ムーブ v] to ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    repeat (20)\n        change size by (ホームボタン: ムーブ)\n        change [ホームボタン: ムーブ v] by ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    end\n    set size to (100) %\nend\n\nwhen this sprite clicked\nstart sound [選択 v]\nswitch costume to (2 v)\nwait until <not <mouse down?>>\nstart sound [キャンセル v]\nswitch costume to (1 v)\nbroadcast (ステージを消す v)\nwait (0.1) seconds\nbroadcast (キャラクターセレクト v)\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-210) - (y position)) / (4))\nend\nhide\n\nwhen I receive [ゴール v]\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [messege2 v]\nshow\nforever\n    go to [front v] layer\n    set [ホームボタン: ムーブ v] to [0]\n    set size to (30) %\n    set [ホームボタン: ムーブ v] to ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    repeat (20)\n        change size by (ホームボタン: ムーブ)\n        change [ホームボタン: ムーブ v] by ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    end\n    set size to (100) %\nend\n\nwhen I receive [message1 v]\nwait (0.1) seconds\ngo to x: (-210) y: (-155)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-150) - (y position)) / (4))\nend\n\nwhen I receive [gameover v]\ngo to x: (-210) y: (-155)\nhide\n\nwhen I receive [ゴール v]\nshow\nforever\n    go to [front v] layer\n    set [ホームボタン: ムーブ v] to [0]\n    set size to (30) %\n    set [ホームボタン: ムーブ v] to ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    repeat (20)\n        change size by (ホームボタン: ムーブ)\n        change [ホームボタン: ムーブ v] by ((((100) - (size)) / (4)) - ((ホームボタン: ムーブ) / (3)))\n    end\n    set size to (100) %\nend\n\nwhen I receive [キャラクターセレクト v]\ngo to x: (-210) y: (-155)\nhide\n\nwhen I receive [messege2 v]\nwait (0.1) seconds\ngo to x: (-210) y: (-155)\nset size to (100) %\nswitch costume to (1 v)\ngo to [front v] layer\nshow\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-150) - (y position)) / (4))\nend\n\nwhen I receive [ゴール v]\nwait (0.1) seconds\ngo to x: (-210) y: (-155)\nset size to (100) %\nswitch costume to (1 v)\nrepeat (10)\n    go to [front v] layer\nend\nshow\nstop [other scripts in sprite v]\nrepeat (20)\n    change y by (((-150) - (y position)) / (4))\n    go to [front v] layer\nend\nforever\n    go to [front v] layer\nend\n\n@Wind\n\nwhen I start as a clone\npoint in direction (pick random (-180) to (180))\ngo to x: (240) y: (pick random (-240) to (240))\nset size to (pick random (140) to (40)) %\nset [brightness v] effect to (200)\nshow\npoint in direction (pick random (75) to (105))\nrepeat until <<(x position) < [-220]> and <touching (_edge_ v)?>>\n    change x by ((size) / (-20))\nend\ndelete this clone\n\nwhen I receive [messege2 v]\nhide\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [キャラクターセレクト v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\ndelete this clone\n\n