Summer Platformer / 夏のプラットフォーマー　【拡散希望】
@Stage\n\nwhen flag clicked\nset [ゴール v] to [0]\nswitch backdrop to (背景1 v)\n\nwhen I receive [設定 v]\nswitch backdrop to (背景2 v)\n\nwhen I receive [はじまり v]\nforever\n    play sound [You_and_Me v] until done\n    if <(ゴール) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [ゴール v]\nset [ゴール v] to [1]\nstop all sounds\nplay sound [ゲームクリアー！ v] until done\n\n@■\n\ndefine 動作\nif <not <touching (水 v)?>> then\n    change [yの力 v] by (-1)\nelse\n    change [yの力 v] by (-0.1)\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>> then\n    if <not <touching (水 v)?>> then\n        point in direction (90)\n        change [xの力 v] by (1)\n    else\n        point in direction (90)\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 <not <touching (水 v)?>> then\n        point in direction (-90)\n        change [xの力 v] by (-1)\n    else\n        point in direction (-90)\n        change [xの力 v] by (-0.5)\n    end\nend\nset [xの力 v] to ((xの力) * (0.88))\nchange x by (xの力)\nrepeat (6)\n    if <touching (ステージ v)?> then\n        change y by (1)\n    end\nend\nif <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        else\n            set [xの力 v] to [0]\n        end\n    end\nend\nchange y by (yの力)\nif <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)?> 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    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 <<(Y) < [-400]> or <touching (障害物 v)?>> then\n    初期位置\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 <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change x by (向き)\nend\nchange x by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <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 <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change y by (向き)\nend\nchange y by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <touching (ステージ v)?>>)))\nset [yの力 v] to [0]\n\ndefine 初期位置\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 (復活x)\nset [y v] to (復活y)\n\nwhen I receive [はじまり v]\nset size to (100) %\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]\nset [復活x v] to [-200]\nset [復活y v] to [-20]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [2 v]\nswitch costume to (コスチューム2 v)\n\nwhen I receive [3 v]\nswitch costume to (コスチューム3 v)\n\nwhen I receive [4 v]\nswitch costume to (コスチューム4 v)\n\nwhen I receive [5 v]\nswitch costume to (コスチューム5 v)\n\nwhen I receive [6 v]\nswitch costume to (コスチューム6 v)\n\nwhen I receive [7 v]\nswitch costume to (コスチューム7 v)\n\nwhen I receive [8 v]\nswitch costume to (コスチューム8 v)\n\nwhen I receive [はじまり v]\nforever\n    set rotation style [left-right v]\nend\n\nwhen I receive [はじまり v]\nforever\n    if <touching (旗 v)?> then\n        broadcast (ゴール v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [猫 v]\nswitch costume to (コスチューム9 v)\n\n@ステージ\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 start as a clone\nshow\n\nwhen I receive [はじまり 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]\nステージ配置 [4800] [0] [11]\nステージ配置 [5280] [0] [12]\nステージ配置 [5760] [0] [13]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen flag clicked\nhide\n\n@ステージ（背面）日本語\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    if <(言語日本語) = [1]> then\n        show\n    else\n        hide\n    end\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 start as a clone\nif <(言語日本語) = [1]> then\n    show\nend\n\nwhen I receive [はじまり v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [0] [4]\nステージ配置 [1920] [100] [5]\nステージ配置 [2400] [0] [6]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen flag clicked\nhide\n\n@障害物\n\nwhen flag clicked\nhide\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 <not <(costume [number v]) = [1]>> then\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [はじまり v]\nhide\nステージ配置 [480] [0] [1]\nステージ配置 [960] [0] [2]\nステージ配置 [1440] [0] [3]\nステージ配置 [1920] [0] [4]\nステージ配置 [2400] [0] [5]\nステージ配置 [2880] [0] [6]\nステージ配置 [3360] [0] [7]\nステージ配置 [3840] [0] [8]\nステージ配置 [4800] [0] [9]\nステージ配置 [5280] [0] [10]\nステージ配置 [5760] [0] [11]\nswitch costume to (none v)\n\n@チェックポイント\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\n移動 ((1135) - (Camera_x)) ((85) - (Camera _y))\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        set [復活x v] to [1135]\n        set [復活y v] to [150]\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.01)\ngo to [front v] layer\nhide variable [☁ 世界記録 v]\nhide variable [タイム v]\nshow\n\n@水\n\nwhen flag clicked\nhide\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 <not <(costume [number v]) = [1]>> then\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [はじまり v]\nhide\ngo to [front v] layer\nset [ghost v] effect to (60)\nswitch costume to (none v)\nステージ配置 [960] [0] [1]\nステージ配置 [1920] [0] [2]\nステージ配置 [3840] [0] [3]\nステージ配置 [4800] [0] [4]\nステージ配置 [5280] [0] [5]\n\n@スプライト1\n\nwhen I receive [パン v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\n\n@スプライト2\n\nwhen flag clicked\nset [回転 v] to [0]\npoint in direction (90)\nrepeat (28)\n    turn right (回転) degrees\n    change [回転 v] by (0.5)\nend\nrepeat (28)\n    turn right (回転) degrees\n    change [回転 v] by (-0.5)\nend\nrepeat (12)\n    turn left (回転) degrees\n    change [回転 v] by (0.5)\nend\npoint in direction (90)\nwait (1.5) seconds\nbroadcast (パン v)\n\nwhen flag clicked\nwait (0.7) seconds\nstart sound [キラッ2 v]\n\nwhen flag clicked\nrepeat (70)\n    change [color v] effect by (1)\nend\n\nwhen I receive [パン v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (設定 v)\n\n@選択\n\nwhen I receive [設定 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen I receive [次の色 v]\nset size to (110) %\nwait (0.02) seconds\nnext costume\nwait (0.02) seconds\nset size to (100) %\n\nwhen I receive [前の色 v]\nset size to (110) %\nwait (0.02) seconds\nswitch costume to ((costume [number v]) - (1))\nwait (0.02) seconds\nset size to (100) %\n\nwhen I receive [遊び方 v]\nhide\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nset size to (100) %\nhide\n\nwhen I receive [設定 v]\nset [タイマー v] to [0]\npoint in direction (90)\nforever\n    point in direction ((90) + (([cos v] of ((タイマー) * (150)) ) * (5)))\nend\n\nwhen I receive [設定 v]\nforever\n    wait (0.01) seconds\n    change [タイマー v] by (0.08)\nend\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen I receive [始まり手前 v]\nif <(costume [number v]) = [1]> then\n    broadcast (1 v)\nelse\n    if <(costume [number v]) = [2]> then\n        broadcast (2 v)\n    else\n        if <(costume [number v]) = [3]> then\n            broadcast (3 v)\n        else\n            if <(costume [number v]) = [4]> then\n                broadcast (4 v)\n            else\n                if <(costume [number v]) = [5]> then\n                    broadcast (5 v)\n                else\n                    if <(costume [number v]) = [6]> then\n                        broadcast (6 v)\n                    else\n                        if <(costume [number v]) = [7]> then\n                            broadcast (7 v)\n                        else\n                            if <(costume [number v]) = [8]> then\n                                broadcast (8 v)\n                            else\n                                if <(costume [number v]) = [9]> then\n                                    broadcast (猫 v)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@選択2\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [設定 v]\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    set [ghost v] effect to (-2)\nend\n\nwhen this sprite clicked\nstart sound [ポップ v]\nbroadcast (次の色 v)\n\nwhen I receive [遊び方 v]\nhide\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@選択3\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [設定 v]\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen this sprite clicked\nstart sound [ポップ v]\nbroadcast (前の色 v)\n\nwhen I receive [遊び方 v]\nhide\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@スプライト3\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [設定 v]\nhide\nforever\n    wait (pick random (2) to (7)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (180) y: (pick random (150) to (10))\nshow\nforever\n    change x by (-2)\n    if <(x position) < [-220]> then\n        delete this clone\n    end\nend\n\n@スプライト4\n\nwhen flag clicked\npoint in direction (90)\nhide\n\nwhen I receive [設定 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen I receive [設定 v]\nset volume to (100) %\nplay sound [MusMus-BGM-139 v] until done\n\nwhen I receive [始まり手前 v]\nrepeat (50)\n    change volume by (-2)\nend\nstop all sounds\n\nwhen I receive [設定 v]\nset [タイマー v] to [0]\npoint in direction (90)\nforever\n    point in direction ((90) + (([cos v] of ((タイマー) * (100)) ) * (3)))\nend\n\nwhen I receive [設定 v]\ngo to x: (0) y: (0)\nforever\n    repeat (10)\n        change y by (0.5)\n    end\n    repeat (10)\n        change y by (-0.5)\n    end\nend\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@START\n\nwhen flag clicked\nset [2回も押すな！ v] to [0]\nset size to (100) %\nhide\ngo to [front v] layer\n\nwhen I receive [設定 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    set [ghost v] effect to (-2)\nend\n\nwhen I receive [遊び方 v]\nhide\n\nwhen this sprite clicked\nif <(2回も押すな！) = [0]> then\n    broadcast (始まり手前 v)\nend\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (はじまり v)\nhide\n\nwhen this sprite clicked\nwait (0.1) seconds\nset [2回も押すな！ v] to [1]\n\n@遊び方\n\nwhen flag clicked\nset size to (100) %\nhide\ngo to [front v] layer\n\nwhen I receive [設定 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    set [ghost v] effect to (-2)\nend\n\nwhen this sprite clicked\nbroadcast (遊び方 v)\nhide\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@言語チェンジ\n\nwhen flag clicked\nset [言語 1日本語 2english v] to [1]\nset [言語english v] to [0]\nset [言語日本語 v] to [1]\nswitch costume to (コスチューム1 v)\nset size to (100) %\nhide\ngo to [front v] layer\n\nwhen I receive [設定 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    set [ghost v] effect to (-2)\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    set [言語english v] to [1]\nelse\n    set [言語english v] to [0]\nend\nif <(costume [number v]) = [2]> then\n    set [言語日本語 v] to [1]\nelse\n    set [言語日本語 v] to [0]\nend\n\nwhen this sprite clicked\nstart sound [カーソル移動12 v]\nnext costume\nwait (0.1) seconds\nset size to (105) %\nwait (0.1) seconds\nset size to (100) %\n\nwhen I receive [遊び方 v]\nhide\n\nwhen I receive [始まり手前 v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@遊び方の説明\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [遊び方 v]\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [説明進む v]\nset [ghost v] effect to (100)\nnext costume\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [説明戻る v]\nset [ghost v] effect to (100)\nswitch costume to ((costume [number v]) - (1))\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [設定 v]\nswitch costume to (コスチューム1 v)\nhide\n\n@スプライト6\n\nwhen flag clicked\nhide\n\nwhen I receive [遊び方 v]\nshow\n\nwhen this sprite clicked\nbroadcast (説明進む v)\n\nwhen I receive [設定 v]\nhide\n\n@スプライト7\n\nwhen flag clicked\nhide\n\nwhen I receive [遊び方 v]\nshow\n\nwhen this sprite clicked\nbroadcast (説明戻る v)\n\nwhen I receive [設定 v]\nhide\n\n@スプライト8\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [遊び方の説明 v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen this sprite clicked\nbroadcast (設定 v)\nhide\n\n@ステージ（背面）英語\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    if <(言語English) = [1]> then\n        show\n    else\n        hide\n    end\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 [はじまり v]\nhide\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [0] [4]\nステージ配置 [1920] [100] [5]\nステージ配置 [2400] [0] [6]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\n\n@チェックポイント2\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\n移動 ((3115) - (Camera_x)) ((-55) - (Camera _y))\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        set [復活x v] to [3115]\n        set [復活y v] to [0]\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\n@旗\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 start as a clone\nshow\n\nwhen I receive [はじまり v]\nhide\nステージ配置 [5840] [-59] [1]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen flag clicked\nhide\n\n@スプライト5\n\nwhen flag clicked\nhide\n\nwhen I receive [ゴール v]\nswitch costume to (コスチューム1 v)\nrepeat (4)\n    wait (0.5) seconds\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset [上から v] to [0]\ngo to x: (0) y: (341)\nshow\nrepeat (19)\n    change y by (上から)\n    change [上から v] by (-1.85)\n    if <<(costume [number v]) = [4]> and <(y position) < [0]>> then\n        go to x: (0) y: (0)\n        broadcast (スコア v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [はじまり v]\nset [タイム v] to [0]\nforever\n    wait (1) seconds\n    change [タイム v] by (1)\n    if <(ゴールした) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [ゴール v]\nset [ゴールした v] to [1]\n\nwhen flag clicked\nset [ゴールした v] to [0]\n\nwhen I receive [スコア v]\nshow variable [タイム v]\nshow variable [☁ 世界記録 v]\nif <(タイム) < (☁ 世界記録)> then\n    set [☁ 世界記録 v] to (タイム)\nend\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nhide variable [タイム v]\n\nset [☁ 世界記録 v] to [200]\n\n
　　　　　　　　　　   　✿  絶対みて↓  ✿\n\n  　　　　　　　　✿  旗は2回押してください  ✿　　　　　　　　\n　　   　　　　❀  The flag must be pressed twice.  ❀\n\n　　　　　　　　  ✿  英語にも対応しています  ✿\n　　　　　　　　 ❀  English is also supported.  ❀\n\n　　　　  ✿  遊び方はプロジェクト内に書いてあります  ✿\n　　　　　　❀  How to play is written in the project.  ❀\n\n　　　　　　　  ✿  星には特に意味はありません  ✿\n　　　　　❀  The stars are not particularly meaningful.  ❀\n\n　　　　　　　　✿  ♡と☆、拡散お願いします  ✿\n　　　　　　 ❀  ♡ and ☆, please spread the word!  ❀\n\n　　　　　✿  今、期間限定のコスチュームがあります  ✿\n　　　 ❀  There are limited time costumes available now!  ❀\n\n　　　  　　✿  リミックスでの拡散、無変更リミックス、\n 　 無断リミックスはやめてください。言ってくれれば良いです  ✿\n \n　　　　　　　　　   ✿  作者最高記録49秒  ✿\n\n　　　　　　　　　　 ✿  クレジット/credit  ✿\n　　　　　　　@-Hinomaru-　@newHNT　@yuki384\n\n　　　　　　　　　　　　　✿  音楽  ✿\n　　　　　　　　 ゲームクリアー / You_and_Me\n\n　　　　　　　  ✿  @kage-919をフォローして！  ✿\n\n　　　　  ✿  ↓のスタジオに入ってくれると嬉しいです  ✿\nhttps://scratch.mit.edu/studios/33585449　←なんでもスタジオ\n\n＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n\n#Summer #summer #Platformer #game #games #1 #simple #cat\n#block #star #watermelon #melon #flower #hoshimon19 #yellow #orange\n#green #pink #short #time #fun #scroll #Japan #English #モバイル対応\n#すいか #夏 #星 #涼しい #赤 #楽しい #雲 #all #game #game #game\n#game #games #game #暇 #free #Fun #6 #1 #costume #you summer\n#flower #まっさー #hoshimon19 #platformer\n＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n❏メモ\n\n08/01　共有開始　　午後9時現在　390　♡176☆171\n　 　　変更点…STARTボタン数回押し防止をした。\n　　　　　　　 ステージを少し増やした。\n08/02　午後9時現在　2300　♡306☆291\n08/03　午後9時現在　5200　♡405☆377\n08/04　8000　♡466☆427\n08/05　変更点…麦わら帽子を消しました→地面に入ることがなくなる\n　　　10000　♡520☆490\n08/06　12000\n08/07　14900  ♡649☆588\n08/08　16300  ♡685☆626\n＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n✰メモ\n\n08/02  13:00　参照数1000超え確認\n          16:00　1500超え確認\n          19:00　2000超え確認\n08/03  09:00　3000超え確認\nいつのまにか  4000超え確認\n          20:00　5000超え確認\n　　　1日で参照数+3000\n08/04  13:51　7000超え\n　　　19:00　7777\n08/05  17:14　10000超えた！\n08/07  21:50　15000超えた！\n＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n\n無変更リミックスや、へんな気持ちの悪いコスチュームにするのは\nやめてください。