Four colors || A platformer

Instructions: =========== Four colors || A platformer=========== 日本語説明は下です\nI can speak Japanese\nSorry, I can’t speak English\nEnglish sentences use Google Translate\n==========================================\nOperate with arrow keys or tap\nIn this game, if you take all the coins on the map, you will get a goal, and if you go to that goal, you will clear the stage!\nTouching magma or thorns is out\nFour rotating color features\nRed ... smaller\nBlue ... The legs get faster, but the jumping power decreases.\nGreen ... Gravity is reduced and legs are slowed down\nYellow ... Jumping power is higher, but legs are slower\nLet's make full use of these and go to the goal!\n==========================================\n矢印キー又はタップで操作\nこのゲームではマップ内の全てのコインをとると、ゴールが出てきて、そのゴールに行けばステージクリアです！\nマグマやトゲに触れるとアウトです\n回転する4色の色の特徴\n赤…小さくなる\n青…足は速くなるが、ジャンプ力は低下する\n緑…重力が小さくなるほか、足が遅くなる\n黄…ジャンプ力が高くなるが、足は遅くなる\nこれらを駆使してゴールへ行こう！\n==========================================

@Stage\n\nwhen flag clicked\nset [gole v] to [0]\nset volume to (100) %\nplay sound [Sub Urban - Cradles \[NCS Release\] v] until done\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [スタート v]\nstop all sounds\nswitch backdrop to (背景2 v)\nset volume to (100) %\nrepeat until <(Gole) = [1]>\n    play sound [Zaza - Be Together \[NCS Release\] v] until done\nend\n\nwhen I receive [w v]\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\n\nwhen I receive [ゴール v]\nwait (2) seconds\nset [gole v] to [1]\nstop all sounds\nbroadcast (ゴール用 v)\nset volume to (100) %\n\nwhen I receive [ゴール用 v]\nwait (1) seconds\nforever\n    play sound [Y&V - Back In Time \[NCS Release\] v] until done\nend\n\n@スプライト1\n\nwhen I receive [next v]\nshow\nnext costume\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\n\nwhen flag clicked\n\nwhen I receive [結果 v]\nrepeat (15)\n    change y by (20)\n    change [ghost v] effect by (7)\nend\nhide\n\nwhen I receive [スタート v]\nshow\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nhide\n\n@主人公\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (5)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nwhen flag clicked\n\nwhen I receive [メッセージ1 v]\nchange x by (1)\nif <(move) = [1]> then\n    if <touching color (#a0feb1)?> then\n        set size to (100) %\n        set [color v] effect to (70)\n        set [gv v] to [-0.3]\n        set [yv v] to [0.9]\n        set [xv v] to [0.5]\n    end\n    if <touching color (#ffd5d5)?> then\n        set size to (75) %\n        set [color v] effect to (0)\n        set [gv v] to [-1]\n        set [yv v] to [1]\n        set [xv v] to [1]\n    end\n    if <touching color (#fefea2)?> then\n        set size to (100) %\n        set [color v] effect to (32)\n        set [gv v] to [-1]\n        set [yv v] to [1.25]\n        set [xv v] to [0.6]\n    end\n    if <touching color (#c6ddff)?> then\n        set size to (100) %\n        set [color v] effect to (120)\n        set [gv v] to [-1]\n        set [xv v] to [1.5]\n        set [yv v] to [0.85]\n    end\n    change x by (-1)\nend\n\nwhen I receive [next v]\ngo to [front v] layer\nshow\nset [y v] to [0]\nif <(stage) = [3]> then\n    go to x: (-165) y: (-91)\nelse\n    if <(stage) = [5]> then\n        go to x: (-176) y: (-45)\n    else\n        go to x: (-170) y: (20)\n    end\nend\nset rotation style [left-right v]\nset [ghost v] effect to (0)\npoint in direction (90)\n\nwhen I receive [ﾀﾋ v]\nset [y v] to [0]\nif <(stage) = [3]> then\n    go to x: (-165) y: (-91)\nelse\n    if <(stage) = [5]> then\n        go to x: (-176) y: (-45)\n    else\n        go to x: (-170) y: (20)\n    end\nend\nset rotation style [left-right v]\nset [ghost v] effect to (0)\npoint in direction (90)\n\nwhen I receive [くるりん v]\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [o v] to [0]\nset [move v] to [0]\nset [θ v] to [0]\ngo to x: ([x position v] of [gole v]) y: ([y position v] of [gole v])\nrepeat (50)\n    change [o v] by (0.2)\n    change [θ v] by (1)\n    turn right ((θ) + (15)) degrees\n    move ((o) * (0.6)) steps\n    change size by (-1)\nend\nset size to (100) %\nset [move v] to [1]\n\nwhen I receive [結果 v]\ngo to [front v] layer\nhide\n\nwhen flag clicked\n\nwhen I receive [スタート v]\nforever\n    if <(move) = [1]> then\n        if <touching color (#a0ffb1)?> then\n            set size to (100) %\n            set [color v] effect to (70)\n            set [gv v] to [-0.3]\n            set [xv v] to [0.5]\n            set [yv v] to [0.9]\n        end\n        if <touching color (#fed4d4)?> then\n            set size to (75) %\n            set [color v] effect to (0)\n            set [gv v] to [-1]\n            set [yv v] to [1]\n            set [xv v] to [1]\n        end\n        if <touching color (#fffea2)?> then\n            set [color v] effect to (32)\n            set size to (100) %\n            set [gv v] to [-1]\n            set [yv v] to [1.25]\n            set [xv v] to [0.6]\n        end\n        if <touching color (#c6ddff)?> then\n            set [gv v] to [-1]\n            set [xv v] to [1.5]\n            set [yv v] to [0.85]\n            set size to (100) %\n            set [color v] effect to (120)\n        end\n    end\nend\n\nwhen I receive [スタート v]\ngo to [front v] layer\nshow\nset [move v] to [1]\nset [y v] to [0]\ngo to x: (-170) y: (20)\nset rotation style [left-right v]\nset [ghost v] effect to (0)\npoint in direction (90)\nforever\n    if <(move) = [1]> then\n        create clone of (_myself_ v)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            change [x v] by (xv)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            point in direction (-90)\n            change [x v] by ((xv) * (-1))\n        end\n        if <touching (トゲ v)?> then\n            go to x: (-170) y: (20)\n            set [y v] to [0]\n        end\n        set [x v] to ((x) * (0.89))\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 (1)\n                                    if <touching (スプライト1 v)?> then\n                                        change x by ((x) * (-1))\n                                        change y by (-7)\n                                        if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                                            if <[0] < (x)> then\n                                                set [x v] to ((xv) * (-8))\n                                            else\n                                                set [x v] to ((xv) * (8))\n                                            end\n                                            set [y v] to ((yv) * (10))\n                                        else\n                                            set [x v] to [0]\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (-1)\n        if <touching (スプライト1 v)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                set [y v] to ((yv) * (14))\n            end\n        end\n        change y by (1)\n        change [y v] by (gv)\n        change y by (y)\n        if <touching (スプライト1 v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        if <(y position) < [-179]> then\n            broadcast (ﾀﾋ v)\n        end\n        if <<touching (トゲ v)?> or <touching (マグマ v)?>> then\n            broadcast (ﾀﾋ v)\n        end\n    end\nend\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nhide\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nhide\n\n@color\n\nwhen I receive [スタート v]\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\ngo to [back v] layer\nset [ghost v] effect to (30)\nset size to (300) %\nforever\n    wait (4) seconds\n    turn right (90) degrees\n    broadcast (メッセージ1 v)\nend\n\nwhen flag clicked\nhide\n\n@coin\n\nwhen I receive [next v]\nif <(stage) = [2]> then\n    show\n    go to x: (0) y: (63)\n    create clone of (_myself_ v)\n    go to x: (-105) y: (-64)\n    create clone of (_myself_ v)\n    go to x: (4) y: (-85)\n    create clone of (_myself_ v)\n    go to x: (196) y: (-19)\n    create clone of (_myself_ v)\n    go to x: (-134) y: (81)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [3]> then\n    show\n    go to x: (-30) y: (-113)\n    create clone of (_myself_ v)\n    go to x: (48) y: (-134)\n    create clone of (_myself_ v)\n    go to x: (151) y: (-138)\n    create clone of (_myself_ v)\n    go to x: (140) y: (76)\n    create clone of (_myself_ v)\n    go to x: (-128) y: (89)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [4]> then\n    show\n    go to x: (-119) y: (-18)\n    create clone of (_myself_ v)\n    go to x: (-40) y: (32)\n    create clone of (_myself_ v)\n    go to x: (-160) y: (135)\n    create clone of (_myself_ v)\n    go to x: (78) y: (87)\n    create clone of (_myself_ v)\n    go to x: (160) y: (85)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [5]> then\n    show\n    go to x: (-61) y: (-158)\n    create clone of (_myself_ v)\n    go to x: (29) y: (-61)\n    create clone of (_myself_ v)\n    go to x: (219) y: (3)\n    create clone of (_myself_ v)\n    go to x: (219) y: (3)\n    create clone of (_myself_ v)\n    go to x: (118) y: (102)\n    create clone of (_myself_ v)\n    go to x: (-83) y: (170)\n    create clone of (_myself_ v)\n    go to x: (-190) y: (92)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [6]> then\n    show\n    go to x: (-166) y: (-67)\n    create clone of (_myself_ v)\n    go to x: (-166) y: (0)\n    create clone of (_myself_ v)\n    go to x: (-166) y: (67)\n    create clone of (_myself_ v)\n    go to x: (-108) y: (140)\n    create clone of (_myself_ v)\n    go to x: (-29) y: (103)\n    create clone of (_myself_ v)\n    go to x: (75) y: (0)\n    create clone of (_myself_ v)\n    go to x: (190) y: (-77)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [7]> then\n    show\n    go to x: (-165) y: (-73)\n    create clone of (_myself_ v)\n    go to x: (-70) y: (-22)\n    create clone of (_myself_ v)\n    go to x: (24) y: (16)\n    create clone of (_myself_ v)\n    go to x: (172) y: (-31)\n    create clone of (_myself_ v)\n    go to x: (-144) y: (150)\n    create clone of (_myself_ v)\n    go to x: (40) y: (166)\n    create clone of (_myself_ v)\n    go to x: (61) y: (-163)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [8]> then\n    show\n    go to x: (160) y: (-45)\n    create clone of (_myself_ v)\n    go to x: (160) y: (-128)\n    create clone of (_myself_ v)\n    go to x: (25) y: (36)\n    create clone of (_myself_ v)\n    go to x: (6) y: (164)\n    create clone of (_myself_ v)\n    go to x: (181) y: (111)\n    create clone of (_myself_ v)\n    go to x: (-117) y: (37)\n    create clone of (_myself_ v)\n    go to x: (-37) y: (-139)\n    create clone of (_myself_ v)\n    hide\nend\nif <(stage) = [9]> then\n    大量\n    hide\nend\n\nwhen I start as a clone\nshow\nforever\n    if <touching (主人公 v)?> then\n        change [coin v] by (1)\n        start sound [Coin v]\n        delete this clone\n    end\nend\n\ndefine 大量\nshow\ngo to x: (-175) y: (100)\nrepeat (5)\n    repeat (13)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\n    set x to (-175)\n    change y by (-30)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nset [stage v] to [1]\npoint in direction (90)\ngo to x: (-75) y: (-81)\nrepeat (4)\n    create clone of (_myself_ v)\n    change x by (50)\nend\nrepeat (1)\n    change y by (15)\n    create clone of (_myself_ v)\nend\nhide\n\n@Gole\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nhide\nset [coin v] to [0]\nset [x v] to [0]\n\nwhen I receive [結果 v]\nhide\n\nwhen I receive [スタート v]\ngo to [front v] layer\ngo [backward v] (4) layers\nhide\nset [stage v] to [1]\nset [coin v] to [0]\nforever\n    if <(stage) = [1]> then\n        if <(coin) = [5]> then\n            show\n            go to x: (-131) y: (89)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [2]> then\n        if <(coin) = [5]> then\n            show\n            go to x: (0) y: (63)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [3]> then\n        if <(coin) = [5]> then\n            show\n            go to x: (205) y: (136)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [4]> then\n        if <(coin) = [5]> then\n            show\n            go to x: (107) y: (-149)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [5]> then\n        if <(coin) = [7]> then\n            show\n            go to x: (22) y: (-126)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [6]> then\n        if <(coin) = [7]> then\n            show\n            go to x: (193) y: (155)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [7]> then\n        if <(coin) = [7]> then\n            show\n            go to x: (-143) y: (161)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [8]> then\n        if <(coin) = [7]> then\n            show\n            go to x: (82) y: (-102)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (next v)\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\n    if <(stage) = [9]> then\n        if <(coin) = [70]> then\n            show\n            go to x: (143) y: (-50)\n            if <touching (主人公 v)?> then\n                broadcast (くるりん v) and wait\n                broadcast (結果 v) and wait\n                change [stage v] by (1)\n                broadcast (ゴール v)\n                hide\n                wait until <not <touching (主人公 v)?>>\n            end\n        end\n    end\nend\n\nchange [stage v] by (1)\n\n@トゲ\n\nwhen I receive [next v]\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nnext costume\nshow\n\nwhen I receive [結果 v]\nrepeat (15)\n    change y by (20)\n    change [ghost v] effect by (7)\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\n\nwhen I receive [スタート v]\nshow\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (0)\n\n@light\n\nwhen flag clicked\nhide\n\nwhen I receive [結果 v]\nrepeat (5)\n    change y by (50)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [next v]\nset [ghost v] effect to (0)\ngo to x: (220) y: (170)\nshow\n\nwhen I receive [スタート v]\nset [temp2 v] to [0]\ngo to x: (220) y: (170)\nforever\n    change [temp2 v] by (10)\n    if <touching color (#c6dcff)?> then\n        set [color v] effect to (110)\n    end\n    if <touching color (#ffd4d4)?> then\n        set [color v] effect to (0)\n    end\n    if <touching color (#ffffa3)?> then\n        set [color v] effect to (30)\n    end\n    if <touching color (#a0ffb1)?> then\n        set [color v] effect to (60)\n    end\n    set x to ((230) + (([sin v] of (temp2) ) * (5)))\n    set y to ((170) + (([sin v] of (temp2) ) * (5)))\nend\n\n@結果\n\nwhen I receive [結果 v]\nif <<[40] < (item (stage) of [time v])> or <(item (stage) of [time v]) = [40]>> then\n    switch costume to (コスチューム1 v)\nend\nif <<(item (stage) of [time v]) < [40]> and <[25] < (item (stage) of [time v])>> then\n    switch costume to (コスチューム2 v)\nend\nif <<(item (stage) of [time v]) < [25]> and <[15] < (item (stage) of [time v])>> then\n    switch costume to (コスチューム3 v)\nend\nif <(item (stage) of [time v]) < [15]> then\n    switch costume to (コスチューム4 v)\nend\nshow\ngo to x: (0) y: (-150)\nrepeat until <([costume # v] of [スプライト2 v]) = [2]>\n    change y by (((0) - (y position)) / (10))\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change size by (((90) - (size)) / (10))\n    else\n        change size by (((100) - (size)) / (10))\n    end\nend\nwait until <not <mouse down?>>\nrepeat (15)\n    change y by (30)\n    change [ghost v] effect by (7)\nend\nhide\nset [ghost v] effect to (75)\n\nwhen I receive [結果 v]\nrepeat (25)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nset drag mode [not draggable v]\nhide\n\nwhen I receive [next v]\nreset timer\n\nwhen I receive [くるりん v]\nadd (timer) to [time v]\n\nwhen I receive [スタート v]\ndelete all of [time v]\nreset timer\nhide\n\nplay sound [Teleport2 v] until done\n\nset volume to (100) %\n\nwhen I receive [結果 v]\nset drag mode [not draggable v]\nstart sound [Teleport2 v]\n\nwhen I receive [ゴール v]\nwait (3) seconds\nshow\nswitch costume to (コスチューム5 v)\ngo to x: (0) y: (-150)\nrepeat (30)\n    change y by (((0) - (y position)) / (8))\n    change [ghost v] effect by (-4)\nend\nbroadcast (タイム v)\nforever\n    set y to (([sin v] of ((timer) * (120)) ) * (12))\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change size by (((90) - (size)) / (10))\n    else\n        change size by (((100) - (size)) / (10))\n    end\nend\n\n@スプライト2\n\nwhen I receive [結果 v]\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nshow\ngo to x: (0) y: (-120)\nset [ghost v] effect to (75)\nrepeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n    change y by (((0) - (y position)) / (10))\nend\nstart sound [Rip v]\nswitch costume to (コスチューム2 v)\nwait until <not <mouse down?>>\nrepeat (15)\n    change y by (30)\n    change [ghost v] effect by (7)\nend\nhide\n\nwhen I receive [結果 v]\nrepeat (25)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nhide\n\n@スプライト3\n\nwhen flag clicked\ngo to [front v] layer\nwait (1) seconds\nshow\nswitch costume to (コスチューム2 v)\npoint in direction (0)\ngo to x: (-240) y: (-180)\nset [brightness v] effect to (0)\nset size to (90) %\nrepeat (9)\n    change size by (1)\n    create clone of (_myself_ v)\n    change x by (60)\n    change [brightness v] effect by (-7)\nend\nhide\nwait (2) seconds\nbroadcast (c v)\nwait (2.7) seconds\nbroadcast (k v)\n\nwhen I start as a clone\nrepeat (70)\n    turn left (((direction) - (90)) / (8)) degrees\n    change y by (((0) - (y position)) / (6))\nend\nrepeat (70)\n    turn left ((direction) / (8)) degrees\n    set x to ((x position) * (0.94))\nend\nif <(size) = [100]> then\n    delete this clone\nend\nrepeat (20)\n    set y to (((y position) + ((size) - (100))) * (1.1))\nend\nrepeat (20)\n    set y to (((y position) + ((size) - (100))) * (1.1))\nend\ndelete this clone\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (コスチューム3 v)\nhide\nrepeat (10)\n    change y by (-5)\nend\n\nturn left (15) degrees\nset x to ((x position) * (0.94))\n\nwhen I start as a clone\nforever\n    if <(y position) < [-179]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nreset timer\n\n@スプライト4\n\nwhen I receive [k v]\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nset [color v] effect to (0)\nshow\ngo to x: (0) y: (-100)\nrepeat (30)\n    change y by (((0) - (y position)) / (10))\nend\nbroadcast (a v)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\ngo [backward v] (2) layers\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\ngo [backward v] (1) layers\npoint in direction (90)\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nrepeat (45)\n    repeat (5)\n        change x by (22)\n    end\n    go to x: (0) y: (0)\n    set size to (100) %\nend\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen I receive [a v]\npoint in direction (90)\nset [kv v] to [0]\nrepeat (200)\n    if <(costume [number v]) = [1]> then\n        change [kv v] by (10)\n        point in direction ((([tan v] of ((timer) * (60)) ) * (4)) + (90))\n        set y to (([cos v] of (kv) ) * (10))\n    end\n    if <[20] < (([tan v] of ((timer) * (60)) ) * (4))> then\n        broadcast (ぶちまけ v)\n    end\nend\npoint in direction (90)\nbroadcast (w v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nwait (0.5) seconds\nbroadcast (スタート v)\n\nwhen I receive [a v]\nset [kv2 v] to [0]\nrepeat (100)\n    change [kv2 v] by (50)\nend\n\nwhen I receive [c v]\ncreate clone of (_myself_ v)\n\n@スプライト5\n\nwhen flag clicked\nhide\n\nwhen I receive [a v]\npoint in direction (90)\nshow\nset [ghost v] effect to (100)\ngo to x: (240) y: (0)\nrepeat (10)\n    change x by (((0) - (x position)) / (10))\n    change [ghost v] effect by (-10)\nend\nrepeat (170)\n    point in direction ((([sin v] of ((kv) / (2)) ) * (6)) + (90))\nend\npoint in direction (90)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@スプライト6\n\nwhen I receive [ぶちまけ v]\nset [cv v] to [0]\nshow\ngo to (スプライト4 v)\nrepeat (10)\n    create clone of (_myself_ v)\nend\nhide\nrepeat (50)\n    change [cv v] by (0.7)\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo [backward v] (6) layers\n\nwhen I start as a clone\nset size to (100) %\nswitch costume to (pick random (1) to (2))\nset [cv v] to [10]\npoint in direction (pick random (-179) to (180))\nrepeat until <touching (_edge_ v)?>\n    move (cv) steps\nend\ndelete this clone\n\npoint in direction (90)\n\nmove (cv) steps\nturn right (((180) - (direction)) / (5)) degrees\n\nmove (10) steps\n\nchange y by (() * (pick random (0.5) to (2)))\nchange x by (() * (pick random (-2) to (2)))\n\ngo to x: () y: (-10)\n\nwait (0) seconds\n\n@スプライト7\n\nwhen flag clicked\nhide\n\ndefine 数字\nshow\nset [t v] to [0]\nset [time v] to [0]\nrepeat (length of [time v])\n    change [t v] by (1)\n    change [time v] by (item (t) of [time v])\nend\nset [t v] to [0]\nset [time v] to ((round ((time) * (1000))) / (1000))\nrepeat (length of (time))\n    change [t v] by (1)\n    if <(letter (t) of (time)) = [.]> then\n        switch costume to (コスチューム11 v)\n    else\n        switch costume to ((letter (t) of (time)) + (1))\n    end\n    create clone of (_myself_ v)\n    change x by (15)\nend\nhide\n\nwhen I start as a clone\nshow\nset size to (150) %\nrepeat (30)\n    change y by (((([sin v] of ((timer) * (120)) ) * (12)) - (y position)) / (6))\nend\nforever\n    set y to (([sin v] of ((timer) * (120)) ) * (12))\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change size by (((135) - (size)) / (10))\n    else\n        change size by (((150) - (size)) / (10))\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change y by ((mouse y) / (10))\n    end\nend\n\nwhen I receive [タイム v]\nset x to (10)\nset y to (-150)\ngo to [front v] layer\n数字\n\n@マグマ\n\nwhen I receive [next v]\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nnext costume\nshow\n\nwhen I receive [結果 v]\nhide\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [スタート v]\nshow\n\nwhen I receive [スタート v]\nshow\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (0)\nforever\n    switch costume to (コスチューム1 v)\n    set y to (([sin v] of ((timer) * (200)) ) * (6))\n    switch costume to (stage)\nend\n\n@スプライト8\n\nwhen I receive [ゴール用 v]\nshow\ngo to [back v] layer\ngo [forward v] (3) layers\nswitch costume to (コスチューム2 v)\nset size to (160) %\ngo to x: (180) y: (240)\nswitch costume to (コスチューム1 v)\nrepeat (30)\n    change x by (((-600) - (x position)) / (5))\n    change y by (((-400) - (y position)) / (5))\nend\n\nbroadcast (ゴール v)\n\nwhen flag clicked\nhide\n\n