【拡散希望】Flash Platformer【コラボ】

Instructions: 傾向1p2位ありがとうございます！\n\n※必ず読んで下さい\n\n【操作方法】\n矢印キーで操作or画面タッチ\n\n【アップデート】\n4/17 タイムがクリアしても止まらないというバグがあったようなので直しました。\n\n【説明】\n3秒ごとにフラッシュしていきます\n背景にも注目してください\nあえて壁に埋まるのもありです\n※壁に埋まることがあるので埋まった場合、スペース　　　　　　キーを押して下さい\nステージ数 15\n@-Mwinter-と@OTAKUGAMER009のフォローよろしくお願いします。\n@OTAKUGAMER009はコメント欄にコメントしたらフォロバしてくれます。\n二人で何度も話あって内容をまとめ、完成させました\n\n【タグ】\n#PLATFORMER #platformer #GAMES #games #GAME #game #-Mwinter- #OTAKUGAMER009 #collaboration \n#Flash #jump

@Stage\n\nwhen flag clicked\nswitch backdrop to (春 v)\nwait (3.5) seconds\nforever\n    set volume to (15) %\nend\n\nwhen flag clicked\nwait (4) seconds\nforever\n    play sound [Sunset\(instrumental\) v] until done\nend\n\nwhen I receive [チェンジ v]\nnext backdrop\n\nwhen flag clicked\nhide variable [ステージ v]\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (0)\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (メッセージ1 v)\n\nhide\ngo to [back v] layer\n\n@platformer\n\nwhen I receive [メッセージ1 v]\nswitch costume to (前 v)\ngo to x: (-210) y: (-90)\nshow\nset size to (20) %\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\ngo to x: (-201) y: (152)\ngo to x: (-213) y: (-34)\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (コスチューム1 v)\n        change [x2 v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (cat-a v)\n        change [x2 v] by (0.8)\n    end\n    if <not <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> then\n        switch costume to (前 v)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\n    if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n        change y by (1)\n        if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n            change y by (1)\n            if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n                change y by (1)\n                if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n                    change y by (1)\n                    if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n                        change y by (1.0)\n                        if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n                            change x by ((X2) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                start sound [ジャンプ2 v]\n                                if <(X2) > [0]> then\n                                    set [x2 v] to [-7]\n                                else\n                                    set [x2 v] to [7]\n                                end\n                                set [y2 v] to [15]\n                            else\n                                set [x2 v] to [0.0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            start sound [ジャンプ v]\n            set [y2 v] to [15]\n        end\n    end\n    change y by (1)\n    change [y2 v] by (-1)\n    change y by (Y2)\n    if <<touching (ステージ1 v)?> or <<touching (ステージ2 v)?> or <<touching (ステージ3 v)?> or <<touching (ステージ4 v)?> or <<touching (ステージ5 v)?> or <<touching (ステージ6 v)?> or <<touching (ステージ7 v)?> or <<touching (ステージ8 v)?> or <<touching (ステージ9 v)?> or <<touching (ステージ10 v)?> or <<touching (ステージ11 v)?> or <<touching (ステージ12 v)?> or <<touching (ステージ13 v)?> or <<touching (ステージ14 v)?> or <touching (ステージ15 v)?>>>>>>>>>>>>>>> then\n        change y by ((Y2) * (-1))\n        set [y2 v] to [0]\n    end\n    if <(x position) > [230]> then\n        change [ステージ v] by (1)\n        broadcast (次 v)\n        hide\n        set [x2 v] to [0]\n        wait (2.5) seconds\n        go to x: (-201) y: (-60)\n        show\n    end\n    if <<touching (針 v)?> or <(y position) < [-174]>> then\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n        start sound [crashed oof v]\n        repeat (20)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-201) y: (-60)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        set [ghost v] effect to (0)\n    end\n    if <touching (バネ v)?> then\n        set [y2 v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [リセット v]\nset [x2 v] to [0]\nset [y2 v] to [0]\nstart sound [crashed oof v]\nrepeat (20)\n    change [ghost v] effect by (20)\nend\ngo to x: (-201) y: (-60)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset [ghost v] effect to (0)\n\n@針\n\nwhen I receive [ステージ1 v]\nshow\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ2-1 v]\nswitch costume to (コスチューム2 v)\n\nwhen I receive [ステージ2-2 v]\nswitch costume to (コスチューム3 v)\n\nwhen I receive [ステージ3-1 v]\nswitch costume to (コスチューム4 v)\n\nwhen I receive [ステージ3-2 v]\nswitch costume to (コスチューム5 v)\n\nwhen I receive [ステージ3-3 v]\nswitch costume to (コスチューム6 v)\n\nwhen flag clicked\nset [タイム v] to [0]\nhide variable [タイム v]\nhide variable [ステージ v]\n\nwhen I receive [ステージ4-1 v]\nswitch costume to (コスチューム5 v)\n\nwhen I receive [ステージ4-2 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ5-1 v]\nswitch costume to (コスチューム9 v)\n\nwhen I receive [ステージ5-2 v]\nswitch costume to (コスチューム10 v)\n\nwhen I receive [ステージ6-1 v]\nswitch costume to (コスチューム11 v)\n\nwhen I receive [ステージ6-2 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ7-1 v]\nswitch costume to (コスチューム17 v)\n\nwhen I receive [ステージ7-2 v]\nswitch costume to (コスチューム12 v)\n\nwhen I receive [ステージ8-1 v]\nswitch costume to (コスチューム14 v)\n\nwhen I receive [ステージ8-2 v]\nswitch costume to (コスチューム13 v)\n\nwhen I receive [ステージ9-1 v]\nswitch costume to (コスチューム15 v)\n\nwhen I receive [ステージ9-2 v]\nswitch costume to (コスチューム16 v)\n\nwhen I receive [ステージ10-1 v]\nswitch costume to (コスチューム18 v)\n\nwhen I receive [ステージ12-2 v]\nswitch costume to (コスチューム19 v)\n\nwhen I receive [ステージ12-1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ13-1 v]\nswitch costume to (コスチューム20 v)\n\nwhen I receive [ステージ13-2 v]\nswitch costume to (コスチューム21 v)\n\nwhen I receive [ステージ14-1 v]\nswitch costume to (コスチューム22 v)\n\nwhen I receive [ステージ14-2 v]\nswitch costume to (コスチューム23 v)\n\nwhen I receive [ステージ15-1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ15-2 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ11-1 v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [ステージ11-2 v]\nswitch costume to (コスチューム1 v)\n\n@フラッシュ\n\nwhen flag clicked\nset [ステージ v] to [1]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [メッセージ1 v]\nset [ghost v] effect to (100)\nhide\ngo to [back v] layer\n\nwhen I receive [チェンジ v]\ngo [forward v] (13) layers\nset [ghost v] effect to (0)\nshow\nrepeat (30)\n    change [ghost v] effect by (5)\nend\nwait (1) seconds\nset [ghost v] effect to (100)\ngo to [back v] layer\nhide\n\n@NEXTだお\n\nwhen I start as a clone\nif <<(costume [name v]) = [1]> or <<(costume [name v]) = [2]> or <<(costume [name v]) = [3]> or <(costume [name v]) = [next]>>>> then\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    set x to (-465)\n    set y to (0)\n    show\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\n    wait (0.9) seconds\n    delete this clone\nend\nif <<(costume [name v]) = [4]> or <<(costume [name v]) = [5]> or <(costume [name v]) = [6]>>> then\n    go to [front v] layer\n    change [color v] effect by (10)\n    set x to (0)\n    set y to (345)\n    show\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\nend\nif <<(costume [name v]) = [☆]> or <<(costume [name v]) = [♡]> or <(costume [name v]) = [👤]>>> then\n    set [color v] effect to (0)\n    go to [front v] layer\n    set x to (0)\n    set y to (345)\n    show\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7))\n    end\nend\nif <(costume [name v]) = [4]> then\n    wait (0.3) seconds\n    repeat until <[464] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [name v]) = [5]> then\n    wait (0.2) seconds\n    repeat until <[464] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [name v]) = [6]> then\n    wait (0.1) seconds\n    repeat until <[464] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [name v]) = [♡]> then\n    wait (0.2) seconds\n    repeat until <[319] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [name v]) = [👤]> then\n    wait (0.125) seconds\n    repeat until <[360] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [name v]) = [☆]> then\n    wait (0.2) seconds\n    repeat until <[185] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    show variable [ステージ v]\n    show variable [タイム v]\n    broadcast (再開 v)\n    delete this clone\nend\n\ndefine クローン (名前)\nswitch costume to (名前)\ncreate clone of (_myself_ v)\n\nwhen I receive [次 v]\nhide\nhide variable [タイム v]\nhide variable [ステージ v]\nstart sound [High Whoosh v]\nクローン [1]\nwait (0.15) seconds\nクローン [2]\nwait (0.15) seconds\nクローン [3]\nwait (0.15) seconds\nクローン [next]\nwait (0.75) seconds\nクローン [5]\nwait (0.15) seconds\nクローン [6]\nstart sound [Finger Snap v]\nwait (0.15) seconds\nクローン [7]\nクローン [☆]\nクローン [♡]\nクローン [👤]\nchange [color v] effect by (15)\n\nwhen flag clicked\nset [color v] effect to (pick random (-200) to (200))\ngo to [front v] layer\n\n@ステージ1\n\nwhen I receive [メッセージ1 v]\nshow\nset [ステージ v] to [1]\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (コスチューム1 v)\n        broadcast (ステージ1 v)\n    end\n    if <(ステージ) = [2]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@ステージ2\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [2]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ2-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ2-2 v)\n        end\n    end\n    if <(ステージ) = [3]> then\n        hide\n    end\nend\n\n@ステージ3\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム4 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [3]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ3-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ3-2 v)\n        end\n        if <(costume [number v]) = [3]> then\n            broadcast (ステージ3-3 v)\n        end\n    end\n    if <(ステージ) = [4]> then\n        hide\n    end\nend\n\n@ステージ4\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム7 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [4]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ4-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ4-2 v)\n        end\n    end\n    if <(ステージ) = [5]> then\n        hide\n    end\nend\n\n@ステージ5\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム10 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [5]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ5-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ5-2 v)\n        end\n    end\n    if <(ステージ) = [6]> then\n        hide\n    end\nend\n\n@ステージ6\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [6]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ6-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ6-2 v)\n        end\n    end\n    if <(ステージ) = [7]> then\n        hide\n    end\nend\n\n@ステージ7\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [7]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ7-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ7-2 v)\n        end\n    end\n    if <(ステージ) = [8]> then\n        hide\n    end\nend\n\n@ステージ8\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [8]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ8-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ8-2 v)\n        end\n    end\n    if <(ステージ) = [9]> then\n        hide\n    end\nend\n\n@ステージ9\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [9]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ9-2 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ9-1 v)\n        end\n    end\n    if <(ステージ) = [10]> then\n        hide\n    end\nend\n\n@ステージ10\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [10]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ10-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ10-2 v)\n        end\n    end\n    if <(ステージ) = [11]> then\n        hide\n    end\nend\n\n@ステージ11\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [11]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ11-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ11-2 v)\n        end\n    end\n    if <(ステージ) = [12]> then\n        hide\n    end\nend\n\n@ステージ12\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [12]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ12-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ12-2 v)\n        end\n    end\n    if <(ステージ) = [13]> then\n        hide\n    end\nend\n\n@ステージ13\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [13]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ13-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ13-2 v)\n        end\n    end\n    if <(ステージ) = [14]> then\n        hide\n    end\nend\n\n@ステージ14\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム2 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [14]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ14-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ14-2 v)\n        end\n    end\n    if <(ステージ) = [15]> then\n        hide\n    end\nend\n\n@ステージ15\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nforever\n    hide variable [ステージ v]\n    if <(ステージ) = [15]> then\n        show\n        wait (3) seconds\n        next costume\n        broadcast (チェンジ v)\n        if <(costume [number v]) = [1]> then\n            broadcast (ステージ15-1 v)\n        end\n        if <(costume [number v]) = [2]> then\n            broadcast (ステージ15-2 v)\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nshow variable [タイム v]\nhide variable [ステージ v]\nforever\n    repeat until <(ステージ) = [15]>\n        wait (1) seconds\n        change [タイム v] by (1)\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (180) y: (-150)\nswitch costume to (コスチューム1 v)\nset size to (100) %\n\nwhen I receive [メッセージ1 v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (コスチューム2 v)\n        if <mouse down?> then\n            broadcast (リセット v)\n            repeat (2)\n                change size by (8)\n            end\n            repeat (2)\n                change size by (-8)\n            end\n            wait (0.2) seconds\n        end\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen I receive [次 v]\nhide\n\nwhen I receive [再開 v]\nshow\n\n