Sunny platformer 2 v1.0.0 サニー　プラットフォーマー
@Stage\n\n@スプライト2\n\nwhen flag clicked\nshow\ngo to x: (-220) y: (-30)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [back v] layer\n    if <<<mouse down?> and <(mouse x) < [0]>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-0.8)\n        point in direction (-90)\n    end\n    if <<<mouse down?> and <[0] < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [x v] by (0.8)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n        if <touching (スプライト1 v)?> then\n            change y by (1)\n            if <touching (スプライト1 v)?> then\n                change y by (1)\n                if <touching (スプライト1 v)?> then\n                    change y by (1)\n                    if <touching (スプライト1 v)?> then\n                        change y by (1)\n                        if <touching (スプライト1 v)?> then\n                            change y by (1)\n                            if <touching (スプライト1 v)?> then\n                                change y by (-5)\n                                change x by ((0) - (x))\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (スプライト1 v)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <touching (スプライト1 v)?> then\n        if <<<mouse down?> and <[0] < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[235] < (x position)> then\n        go to x: (-230) y: (0)\n        broadcast (次 v)\n        change [ステージ v] by (1)\n    end\n    if <<touching color (#ff0000)?> or <(y position) < [-178]>> then\n        go to x: (-230) y: (0)\n    end\nend\n\nwhen I receive [次 v]\n\nwhen I receive [次 v]\ngo to x: (-230) y: (0)\n\n@スプライト1\n\nwhen I receive [次 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen flag clicked\nforever\n    play sound [Time To Leaf v] until done\nend\n\n@スプライト4\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <<([costume # v] of [スプライト1 v]) = [3]> or <([costume # v] of [スプライト1 v]) = [10]>> then\n        show\n        if <([costume # v] of [スプライト1 v]) = [3]> then\n            go to x: (-4) y: (-10)\n        else\n            go to x: (89) y: (-48)\n        end\n    else\n        hide\n    end\nend\n\n@スプライト5\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (36) y: (28)\ngo to x: (111) y: (140)\nhide\nwait (1) seconds\nwait until <([costume # v] of [スプライト1 v]) = [3]>\nswitch costume to (コスチューム1 v)\nshow\nwait until <(カギ?) = [はい]>\nswitch costume to (コスチューム2 v)\nwait until <([costume # v] of [スプライト1 v]) = [4]>\nhide\n\nwhen flag clicked\nforever\n    if <([costume # v] of [スプライト1 v]) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@スプライト6\n\nwhen flag clicked\nset [カギ? v] to [いいえ]\ngo to [front v] layer\nrepeat (10)\n    hide\nend\nwait until <([costume # v] of [スプライト1 v]) = [3]>\ngo to x: (-220) y: (104)\nshow\nwait until <touching (スプライト2 v)?>\nset [カギ? v] to [はい]\nrepeat until <([costume # v] of [スプライト1 v]) = [4]>\n    glide (0) secs to (スプライト2 v)\nend\nhide\n\nwhen flag clicked\nforever\n    if <([costume # v] of [スプライト1 v]) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@スプライト7\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@スプライト8\n\nwhen flag clicked\nshow\nforever\n    set [ghost v] effect to (20)\n    set size to ((100) - ((([sin v] of ((timer) * (50)) ) * (200)) / (10))) %\nend\n\n@スプライト9\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [回数 v] to [0]\nwait until <(回数) = [3]>\nforever\n    hide\nend\n\nwhen this sprite clicked\nbroadcast (次 v)\nchange [回数 v] by (1)\n\n@スプライト3\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n