『ice platformer』dragon! Ver1.22
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景3 v)\nforever\n\n@プレイヤー\n\ndefine 動作\nset [x v] to (x position)\nset [y v] to (y position)\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    change [x_1 v] by (1)\nend\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [x_1 v] by (-1)\nend\nset [x_1 v] to ((x_1) * (0.88))\nchange x by (x_1)\nif <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n    change y by (1)\n    if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n        change y by (1)\n        if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n            change y by (1)\n            if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n                change y by (1)\n                if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n                    change y by (1)\n                    if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n                        change y by (1)\n                        if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n                            change y by (-6)\n                            change x by ((0) - (x_1))\n                            if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <[0] < (x_1)> then\n                                    set [x_1 v] to [-10]\n                                else\n                                    set [x_1 v] to [10]\n                                end\n                                start sound [壁キック v]\n                                set [y_1 v] to [15]\n                            else\n                                set [x_1 v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y_1 v] by (-1)\nchange y by (y_1)\nif <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n    change y by ((0) - (y_1))\n    set [y_1 v] to [0]\nend\nchange y by (-1.1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <<touching color (#00ffec)?> or <touching (ステージ v)?>> then\n        start sound [壁キック v]\n        set [y_1 v] to [15]\n    end\nend\nchange y by (1.1)\nif <[245] < (x position)> then\n    broadcast (NEXT v)\n    set [動いていい？ v] to [0]\nend\n\ndefine 傾き\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    turn right (((120) - (direction)) / (15)) degrees\nelse\n    turn right (((90) - (direction)) / (15)) degrees\nend\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    turn right (((60) - (direction)) / (15)) degrees\nelse\n    turn right (((90) - (direction)) / (15)) degrees\nend\n\nchange x by (((X) - (x position)) / (2))\n\nset x to ((x_2) - (x position))\n\nwhen I receive [スタート v]\nset [動いていい？ v] to [1]\n初期位置\nset [ステージ v] to [1]\nforever\n    switch costume to (costume)\n    if <(動いていい？) = [1]> then\n        go to [front v] layer\n        動作\n        傾き\n        if <<touching (氷塊 v)?> or <(y position) < [-160]>> then\n            set [y_2 v] to [15]\n            broadcast (死 v)\n            repeat until <(y position) < [-183]>\n                turn right (15) degrees\n                change y by (y_2)\n                change [y_2 v] by (-1)\n            end\n            初期位置\n        end\n        if <(ドラゴン：種類) = [ice]> then\n            go to x: (([x position v] of [ドラゴン v]) + (63)) y: (([y position v] of [ドラゴン v]) + (12))\n            if <key (space v) pressed?> then\n                set [ドラゴン：種類 v] to []\n                set [x_1 v] to [0]\n                set [y_1 v] to [0]\n                broadcast (降りろ v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine 初期位置\npoint in direction (90)\ngo to x: (-208) y: (138)\nset [x_1 v] to [0]\nset [y_1 v] to [0]\ngo to [front v] layer\nclear graphic effects\nshow\n\nwhen I receive [next v]\n初期位置\nwait (1) seconds\nchange [ステージ v] by (1)\n\nwhen I receive [スタート v]\nhide variable [タイム v]\nset [タイム v] to [0]\nhide variable [☁ タイム v]\nrepeat until <(ステージ) = [13]>\n    wait (1) seconds\n    change [タイム v] by (1)\nend\nshow variable [タイム v]\nshow variable [☁ タイム v]\nif <(タイム) < (☁ タイム)> then\n    set [☁ タイム v] to (タイム)\nend\n\nset [costume v] to [1]\n\nwhen I receive [スタート v]\nforever\n    play sound [tonight-mountaineer-main-version-02-26-8479 v] until done\nend\n\nwhen flag clicked\nhide variable [タイム v]\nhide variable [☁ タイム v]\n\nset [☁ タイム v] to [100]\n\nwait (0.5) seconds\n\n\n\n@ステージ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@鳥\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    wait (0.1) seconds\n    next costume\nend\n\nwhen I start as a clone\nforever\n    show\n    go to x: (pick random (241) to (214)) y: (pick random (-45) to (-13))\n    glide (pick random (8) to (10)) secs to x: (-266) y: (100)\n    hide\n    wait (1) seconds\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (2) layers\nhide\nrepeat (3)\n    create clone of (_myself_ v)\nend\n\ngo to x: (-258) y: (100)\n\n@雪\n\nwhen I start as a clone\nshow\nrepeat until <<touching (ステージ v)?> or <(y position) < [-175]>>\n    change x by ([cos v] of (x position) )\n    change y by (-4)\nend\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen I receive [スタート v]\nhide\nforever\n    wait (0.8) seconds\n    go to x: (pick random (240) to (-240)) y: (180)\n    create clone of (_myself_ v)\nend\n\n@イントロ\n\nwhen flag clicked\npoint in direction (90)\nhide\n雫\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nshow\nset size to (10) %\nrepeat until <[99] < (size)>\n    change size by (((100) - (size)) / (10))\nend\nパン\n\ndefine 雫\nswitch backdrop to (背景2 v)\npoint in direction (90)\nset pen color to (#000000)\nset pen size to (5)\npen down\ngo to x: (0) y: (204)\nset [等加速運動 v] to [0]\nrepeat until <(y position) < [16]>\n    change [等加速運動 v] by (-1)\n    change y by (等加速運動)\n    change pen size by (1)\n    erase all\n    pen down\nend\nset [等加速運動 v] to [12]\nrepeat until <(y position) < [6]>\n    change [等加速運動 v] by (-1)\n    change y by (等加速運動)\n    erase all\n    pen down\nend\nrepeat (20)\n    erase all\n    change pen size by (30)\n    pen down\nend\nbroadcast (枠 v)\npen up\nerase all\nswitch backdrop to (背景2 v)\n\ndefine パン\nset size to (100) %\nset [ゆーらゆーら v] to [0]\nset [do v] to [0]\nrepeat (5)\n    point in direction (-45)\n    クラッカー\n    set [ok? v] to [1]\n    repeat (46)\n        set [do v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (do) degrees\n        set [ok? v] to [0]\n    end\nend\nset [nannkaime v] to [1]\ngo to x: (0) y: (0)\nhide\nset size to (100) %\nswitch backdrop to (背景4 v)\nbroadcast (終 v)\nset pen size to (550)\npen down\nrepeat (20)\n    erase all\n    change pen size by (-25)\n    pen down\nend\nset [等加速運動 v] to [13]\nrepeat until <(y position) < [-210]>\n    change pen size by (-1)\n    erase all\n    change y by (等加速運動)\n    change [等加速運動 v] by (-1)\n    pen down\nend\nbroadcast (終わり v)\nerase all\nbroadcast (ボタン v)\nswitch backdrop to (背景4 v)\n\nwait (1) seconds\n\ndefine クラッカー\nset size to (50) %\nrepeat (64)\n    go to x: (pick random (70) to (-70)) y: (-160)\n    switch costume to (pick random (2) to (4))\n    create clone of (_myself_ v)\nend\nset size to (100) %\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\n\nwhen I start as a clone\nset [e v] to (pick random (15) to (25))\nrepeat until <(y position) < [-170]>\n    change x by ([sin v] of (x position) )\n    change [e v] by (-1)\n    change y by (e)\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\n\nswitch costume to (コスチューム5 v)\n\nswitch backdrop to (背景3 v)\n\ngo to x: (-71) y: (-29)\n\nset [nannkaime v] to [1]\n\ndefine 中とろ\n\nrepeat (46)\n    set [do v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n    turn right (do) degrees\n    set [ok? v] to [0]\nend\n\nwhen flag clicked\nplay sound [New Soul v] until done\n\nwhen I receive [ボタン v]\nhide\nswitch backdrop to (背景4 v)\nerase all\nstop [other scripts in sprite v]\n\n@飾り\n\nwhen flag clicked\nhide\n\nwhen I receive [枠 v]\nrepeat (30)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (240) to (-240)) y: (pick random (180) to (-180))\nset size to (50) %\nset [ghost v] effect to (50)\ngo to [back v] layer\nrepeat (250)\n    turn right (5) degrees\n    move (0.5) steps\nend\ndelete this clone\n\nwhen I receive [終わり v]\nswitch backdrop to (背景4 v)\nhide\nswitch backdrop to (背景4 v)\n\nwhen I receive [ボタン v]\nhide\nstop [other scripts in sprite v]\n\n@スタート\n\nwhen I receive [ボタン v]\nset size to (50) %\nwait (1) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (10))\n    else\n        change size by (((50) - (size)) / (10))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (スタート v)\nswitch backdrop to (背景1 v)\nhide\n\n@？\n\nwhen I receive [ボタン v]\nwait (1) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (10))\n    else\n        change size by (((50) - (size)) / (10))\n    end\nend\n\nwhen flag clicked\nshow list [explanation v]\nhide\n\nwhen this sprite clicked\ndelete all of [explanation v]\nadd [Method of operation,] to [explanation v]\nadd [Use the arrow keys or WASD keys to navigate.] to [explanation v]\nadd [Press Space to go back one page.] to [explanation v]\nadd [] to [explanation v]\nadd [What not to do] to [explanation v]\nadd [Touch a needle or lava, or go into turbo mode. and modify the game.] to [explanation v]\nadd [] to [explanation v]\nhide list [explanation v]\nforever\n    if <key (space v) pressed?> then\n        show list [explanation v]\n    end\nend\n\nbroadcast (スタート v)\nswitch backdrop to (背景1 v)\nhide\n\nwhen I receive [スタート v]\nhide\n\n@NEXT\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nhide\ngo to x: (-166) y: (200)\nrepeat (4)\n    switch costume to (コスチューム1 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        next costume\n    end\n    create clone of (_myself_ v)\n    change x by (162)\nend\nwait (0) seconds\ngo to x: (510) y: (-131)\nrepeat (4)\n    switch costume to (コスチューム6 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        next costume\n    end\n    create clone of (_myself_ v)\n    change y by (126)\nend\nswitch costume to (コスチューム5 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nrepeat (60)\n    if <(costume [number v]) = [2]> then\n        go to [front v] layer\n        change y by (((-20) - (y position)) / (20))\n    else\n        if <(costume [number v]) = [3]> then\n            go to [front v] layer\n            go [backward v] (1) layers\n            change y by (((-20) - (y position)) / (15))\n        else\n            if <(costume [number v]) = [4]> then\n                go to [front v] layer\n                go [backward v] (2) layers\n                change y by (((-20) - (y position)) / (10))\n            else\n                if <(costume [number v]) = [5]> then\n                    go [backward v] (3) layers\n                    go to [back v] layer\n                    change y by (((-20) - (y position)) / (5))\n                else\n                    if <(costume [number v]) = [6]> then\n                        go to [front v] layer\n                        change x by (((-20) - (x position)) / (20))\n                    else\n                        if <(costume [number v]) = [7]> then\n                            go to [front v] layer\n                            go [backward v] (1) layers\n                            change x by (((-20) - (x position)) / (15))\n                        else\n                            if <(costume [number v]) = [8]> then\n                                go to [front v] layer\n                                go [backward v] (2) layers\n                                change x by (((-20) - (x position)) / (10))\n                            else\n                                if <(costume [number v]) = [9]> then\n                                    go to [back v] layer\n                                    go [backward v] (999) layers\n                                    change x by (((-20) - (x position)) / (5))\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\ndelete this clone\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nif <(costume [number v]) = [1]> then\n    go to x: (369) y: (0)\n    repeat until <(x position) < [0]>\n        go to [front v] layer\n        change x by (((-10) - (x position)) / (10))\n    end\n    repeat until <(x position) < [-350]>\n        go to [front v] layer\n        change x by (((-400) - (x position)) / (10))\n    end\n    set [動いていい？ v] to [1]\n    delete this clone\nend\n\n@影\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    set [ghost v] effect to (30)\n    go to (プレイヤー v)\n    go to [back v] layer\nend\n\n@氷塊\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@ライト\n\nwhen flag clicked\nhide\n\nwhen I receive [枠 v]\nrepeat (2)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (50)\nset [brightness v] effect to (50)\ngo to x: (0) y: (0)\nforever\n    if <(costume [number v]) = [1]> then\n        repeat until <[210] < (x position)>\n            change x by (((220) - (x position)) / (20))\n        end\n        repeat until <(x position) < [-200]>\n            change x by (((-210) - (x position)) / (20))\n        end\n    else\n        if <(costume [number v]) = [2]> then\n            repeat until <[-200] > (x position)>\n                change x by (((-210) - (x position)) / (20))\n            end\n            repeat until <[210] < (x position)>\n                change x by (((220) - (x position)) / (20))\n            end\n        end\n    end\nend\n\nwhen I receive [終 v]\nhide\n\nwhen I receive [ボタン v]\nhide\nstop [other scripts in sprite v]\n\n@タイトル\n\nwhen flag clicked\nhide\n\nwhen I receive [ボタン v]\nswitch costume to (コスチューム1 v)\nshow\ngo to x: (0) y: (-999)\nrepeat until <[123] < (y position)>\n    change y by (((129) - (y position)) / (10))\nend\nforever\n    repeat until <[135] < (y position)>\n        change y by (((145) - (y position)) / (20))\n    end\n    repeat until <(y position) < [115]>\n        change y by (((105) - (y position)) / (20))\n    end\nend\n\nwhen I receive [スタート v]\nhide\n\n\n\n@アウトロ\n\nwhen flag clicked\npoint in direction (90)\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nbroadcast (サムネ v)\nswitch backdrop to (背景2 v)\nwait (1) seconds\nhide\n\nswitch costume to (コスチューム1 v)\nrepeat (6)\n    point in direction (90)\n    create clone of (_myself_ v)\n    next costume\nend\nhide\n\ngo to x: (0) y: (0)\n\nwhen I start as a clone\n\npoint in direction (90)\ngo to [front v] layer\nshow\n\nrepeat (200)\n    if <(costume [number v]) = [1]> then\n        point in direction (90)\n        go to x: (0) y: (0)\n    else\n        if <(costume [number v]) = [2]> then\n            go to x: (0) y: (100)\n            point in direction (75)\n            repeat (46)\n                set [7 v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n                turn right (7) degrees\n            end\n        else\n            if <(costume [number v]) = [3]> then\n                go to x: (-113) y: (-21)\n                point in direction (45)\n                repeat (46)\n                    set [7 v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n                    turn right (7) degrees\n                end\n            else\n                if <(costume [number v]) = [4]> then\n                    go to x: (114) y: (-14)\n                    point in direction (45)\n                    repeat (46)\n                        set [7 v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n                        turn right (7) degrees\n                    end\n                else\n                    if <(costume [number v]) = [5]> then\n                        go to x: (-45) y: (-104)\n                        point in direction (45)\n                        repeat (46)\n                            set [7 v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n                            turn right (7) degrees\n                        end\n                    else\n                        if <(costume [number v]) = [6]> then\n                            go to x: (81) y: (-104)\n                            point in direction (45)\n                            repeat (46)\n                                set [7 v] to (((do) * (0.75)) + (((90) - (direction)) * (0.3)))\n                                turn right (7) degrees\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\npoint in direction (45)\n\nwhen [timer v] > (0)\nforever\n    play sound [Jackpot--TheFatRat v] until done\nend\n\nwhen I receive [サムネ v]\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\nhide\n\nwhen I receive [サムネ v]\ngo to [front v] layer\nswitch costume to (コスチューム2 v)\nset size to (100) %\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (-50)\nshow\nrepeat until <[-1] < (y position)>\n    change y by (((10) - (y position)) / (10))\nend\n\n@costume\n\nwhen flag clicked\nhide\n\nwhen I receive [ボタン v]\ngo to x: (107) y: (-25)\nswitch costume to (コスチューム1 v)\nshow\nset [ghost v] effect to (100)\nset [costume v] to [1]\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next costume\n        change [costume v] by (1)\n        if <(costume) = [5]> then\n            set [costume v] to [1]\n        end\n        wait until <not <mouse down?>>\n    end\nend\n\nwhen I receive [スタート v]\ngo to x: (999) y: (999)\nhide\n\n@ドラゴン\n\nwhen flag clicked\nset [ドラゴン：種類 v] to []\nset [ステージ v] to [1]\nhide\nforever\n    wait (0.035) seconds\n    change y by (0.3)\n    next costume\n    if <[8] < (costume [number v])> then\n        wait (0.03) seconds\n        repeat (8)\n            wait (0.035) seconds\n            change y by (-0.3)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [ドラゴン v]\nshow\nset [ghost v] effect to (100)\ngo to x: (([x position v] of [プレイヤー v]) - (63)) y: (([y position v] of [プレイヤー v]) - (12))\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nforever\n    set [ドラゴン：上下 v] to ((ドラゴン：上下) * (0.88))\n    change y by (ドラゴン：上下)\n    if <key (up arrow v) pressed?> then\n        change [ドラゴン：上下 v] by (1)\n    end\n    if <not <touching (ステージ v)?>> then\n        if <key (down arrow v) pressed?> then\n            change [ドラゴン：上下 v] by (-1)\n        end\n    else\n        change y by (2)\n    end\n    point in direction (90)\n    set [ドラゴン：左右 v] to ((ドラゴン：左右) * (0.88))\n    change x by (ドラゴン：左右)\n    if <key (right arrow v) pressed?> then\n        change [ドラゴン：左右 v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [ドラゴン：左右 v] by (-1)\n    end\n    if <touching (ステージ v)?> then\n        change x by ((0) - (ドラゴン：左右))\n    end\nend\n\nset [ドラゴン：上下 v] to [0]\n\nset [☁ タイム v] to [0]\n\nwhen I receive [ドラゴン v]\nforever\n\nwhen I receive [ドラゴン v]\nforever\n    if <key (right arrow v) pressed?> then\n        turn right (((105) - (direction)) / (20)) degrees\n    else\n        turn right (((90) - (direction)) / (20)) degrees\n    end\n    if <key (left arrow v) pressed?> then\n        turn right (((75) - (direction)) / (20)) degrees\n    else\n        turn right (((90) - (direction)) / (20)) degrees\n    end\nend\n\npoint in direction (75)\n\nwhen I receive [next v]\nwait (1) seconds\nrepeat (10)\n    go to x: (-235) y: (-23)\nend\n\ndefine 死\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ドラゴン：種類 v] to []\n\ngo to [front v] layer\n\nwhen I receive [降りろ v]\nhide\n\nwhen I receive [死 v]\nwait (1) seconds\ngo to x: (-235) y: (-23)\n\n@アイスドラゴン\n\nwhen flag clicked\ngo to x: (190) y: (141)\nhide\n\nwhen I receive [スタート v]\nforever\n    if <[10] < (ステージ)> then\n        show\n        go to [front v] layer\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (ドラゴン v)\n            wait (0.1) seconds\n            set [ドラゴン：種類 v] to [ice]\n        end\n    end\nend\n\n@息\n\nwhen flag clicked\nhide\nforever\n    if <<(ドラゴン：種類) = [ice]> and <mouse down?>> then\n        go to [front v] layer\n        go to x: (([x position v] of [ドラゴン v]) + (120)) y: (([y position v] of [ドラゴン v]) - (20))\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n    end\nend\n\nwhen I start as a clone\nset [表示する？ v] to [YES]\nshow\npoint towards (mouse-pointer v)\nrepeat until <<touching (ステージ v)?> or <touching color (#00ffec)?>>\n    move (20) steps\nend\nrepeat (10)\n    wait (1) seconds\n    if <(表示する？) = [NO]> then\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [next v]\nset [表示する？ v] to [NO]\n\n@スプライト1\n\n@SKIP\n\nwhen flag clicked\ngo to x: (202) y: (152)\ngo to [front v] layer\nshow\n\nwhen this sprite clicked\nbroadcast (ボタン v)\nhide\n\nwhen I receive [ボタン v]\nhide\n\n