#1|| *･Ice Adventure!!!･*|| ~a scroll platformer~

Instructions: in the event of a lag↓\nhttps://turbowarp.org/704970503\n〜English〜\n[How to use]\nPC…arrow keys, WASD keys.\nMobile…tap.\n\nSequel in the works!!!\n\n[credit]\n@-Xaf-\n\n[tags]\n#all #games #platformer #art #katsuo777

@Stage\n\nwhen I receive [game start v]\nrepeat until <(gameちゅう？) = [0]>\n    play sound [Goodbye v] until done\nend\n\nwhen flag clicked\nset [音量 v] to [100]\nbroadcast (画面 v)\n\nwhen I receive [画面 v]\nrepeat until <(gameちゅう？) = [1]>\n    play sound [Summit v] until done\nend\n\nwhen I receive [game start v]\nstop all sounds\n\nwhen flag clicked\nforever\n    set volume to (音量) %\nend\n\nwhen I receive [画面 v]\nstop all sounds\n\n@スプライト1\n\ndefine 配置\nset [my x v] to [-256]\nrepeat (17)\n    set [my y v] to [-208]\n    repeat (14)\n        create clone of (_myself_ v)\n        change [my y v] by (32)\n    end\n    change [my x v] by (32)\nend\n\ndefine 位置確認\nrepeat until <not <[32] < ((My x) + ((scroll x) - ((My x) + (+x))))>>\n    change [+x v] by (32)\nend\nrepeat until <not <((My x) + ((scroll x) - ((My x) + (+x)))) < [-32]>>\n    change [+x v] by (-32)\nend\nrepeat until <not <[32] < ((My y) + ((scroll y) - ((My y) + (+y))))>>\n    change [+y v] by (32)\nend\nrepeat until <not <((My y) + ((scroll y) - ((My y) + (+y)))) < [-32]>>\n    change [+y v] by (-32)\nend\n\ndefine 数 (数) (個数)\nset [数 v] to []\nrepeat (個数)\n    set [数 v] to (join (数) (数))\nend\n\ndefine 入れ替え (元の数) (入れ替え番目) (入れ替える数)\nset [数2 v] to [0]\nset [数 v] to []\nrepeat (length of (item (元の数) of [地面 v]))\n    change [数2 v] by (1)\n    if <(入れ替え番目) = (数2)> then\n        set [数 v] to (join (数) (入れ替える数))\n    else\n        set [数 v] to (join (数) (letter (数2) of (item (元の数) of [地面 v])))\n    end\nend\nreplace item (元の数) of [地面 v] with (数)\n\nwhen I start as a clone\nforever\n    if <<[0] < (モード)> and <[0] < (HP)>> then\n        if << (costume [name v]) contains [台]?> and <<(Y) < [-5]> and <touching (スプライト2 v)?>>> then\n            start sound [Jump v]\n            broadcast (ジャンプ台 v)\n            set [雑用 v] to ((500) - (round (((My y) + (+y)) / (32))))\n            set [雑用2 v] to ((500) - (round (((My x) + (+x)) / (32))))\n            repeat (2)\n                入れ替え (雑用) (雑用2) (item (19) of [変換用 v])\n            end\n            repeat (2)\n                入れ替え (雑用) (雑用2) (item (18) of [変換用 v])\n            end\n            repeat (1)\n                入れ替え (雑用) (雑用2) (item (17) of [変換用 v])\n            end\n        end\n    end\nend\n\nwhen I receive [game start v]\ndelete all of [旗よう v]\ndelete all of [押された箱 v]\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nhide\n配置\nforever\n    if <(モード) = [0]> then\n        show\n        switch costume to ((2) + (入れ替え))\n        set size to (100) %\n        go to x: (-200) y: (-150)\n    else\n        hide\n    end\nend\n\ndelete all of [地面 v]\n数 [0] [10000]\nrepeat (10000)\n    add (数) to [地面 v]\nend\n\nwhen I receive [画面 v]\ndelete this clone\n\nwhen I start as a clone\nset [+x v] to [0]\nset [+y v] to [0]\nforever\n    位置確認\n    switch costume to ( v)\n    go to x: (((My x) + (+x)) - (scroll x)) y: (((My y) + (+y)) - (scroll y))\n    set [こす v] to ((1) + (item # of (letter ((500) - (round (((My x) + (+x)) / (32)))) of (item ((500) - (round (((My y) + (+y)) / (32)))) of [地面 v])) in [変換用 v]))\n    switch costume to (こす)\n    show\n    set size to (100) %\n    if <(モード) = [0]> then\n        if <<([abs v] of ((((My x) + (+x)) - (scroll x)) - (mouse x)) ) < [15]> and <<([abs v] of ((((My y) + (+y)) - (scroll y)) - (mouse y)) ) < [15]> and <<<([abs v] of (mouse y) ) < [150]> and <([abs v] of (mouse x) ) < [200]>> and <mouse down?>>>> then\n            入れ替え ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32)))) (item ((入れ替え) + (1)) of [変換用 v])\n        end\n    end\n    if <(こす) = [27]> then\n        point in direction ((50) * (timer))\n    else\n        point in direction (90)\n    end\n    if <[押された箱 v] contains (join ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32)))))?> then\n        switch costume to (空 v)\n    else\n        if <[旗よう v] contains (join ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32)))))?> then\n            switch costume to (コスチューム35 v)\n        end\n    end\n    if <[0] < (モード)> then\n        if <touching (スプライト2 v)?> then\n            if <(こす) = [30]> then\n                delete all of [押された箱用 v]\n                add ((My x) + (+x)) to [押された箱用 v]\n                add ((My y) + (+y)) to [押された箱用 v]\n                change [hp v] by (1)\n                broadcast (ブロック v)\n                add (join ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32))))) to [押された箱 v]\n                switch costume to (空 v)\n                set [y v] to [0]\n                start sound [Kick Drum v]\n            else\n                if <<(こす) = [44]> and <not <[旗よう v] contains (join ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32)))))?>>> then\n                    add (join ((500) - (round (((My y) + (+y)) / (32)))) ((500) - (round (((My x) + (+x)) / (32))))) to [旗よう v]\n                    set [初期x v] to ((My x) + (+x))\n                    set [初期y v] to ((My y) + (+y))\n                    start sound [Collect v]\n                    if <(HP) < [3]> then\n                        set [hp v] to [3]\n                    end\n                else\n                    if <(こす) = [46]> then\n                        broadcast (ごーる v)\n                        set [モード v] to [-2]\n                        start sound [Collect v]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    set volume to (音量) %\nend\n\n@スプライト2\n\ndefine 動き\nswitch costume to (コスチューム v)\nset rotation style [left-right v]\nif <<<[50] < (mouse x)> and <mouse down?>> or <<key (d v) pressed?> or <key (right arrow v) pressed?>>> then\n    point in direction (90)\n    change [x v] by (1)\n    switch costume to (コスチューム1 v)\nend\nif <<<[-50] > (mouse x)> and <mouse down?>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> then\n    point in direction (-90)\n    change [x v] by (-1)\n    switch costume to (コスチューム1 v)\nend\nif <<<[50] < (mouse y)> and <mouse down?>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n    if <(costume [number v]) = [1]> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム3 v)\n    end\nend\nif <(costume [number v]) = [1]> then\n    set [x v] to ((x) * (0.96))\nelse\n    set [x v] to ((x) * (0.83))\nend\nchange x by (x)\nrepeat (10)\n    if <<touching color (#81fffd)?> or <<touching color (#a9d4ff)?> or <<touching color (#62c9ff)?> or <touching color (#e3a406)?>>>> then\n        change y by (1)\n    end\nend\nif <<touching color (#81fffd)?> or <<touching color (#a9d4ff)?> or <<touching color (#62c9ff)?> or <touching color (#e3a406)?>>>> then\n    壁\nend\nchange [y v] by (-1)\nchange y by (Y)\nif <<touching color (#81fffd)?> or <<touching color (#a9d4ff)?> or <<touching color (#62c9ff)?> or <touching color (#e3a406)?>>>> then\n    床\nend\nchange [scroll x v] by (round ((x position) / (7)))\nchange [scroll y v] by (round ((y position) / (10)))\nif <(scroll x) < [0]> then\n    set [scroll x v] to [0]\nelse\n    change x by ((0) - (round ((x position) / (7))))\nend\nif <(scroll y) < [0]> then\n    set [scroll y v] to [0]\nelse\n    change y by ((0) - (round ((y position) / (10))))\nend\nif <(Y) < [-15]> then\n    set [y v] to [-15]\nend\nif <<(無敵？) = [0]> and <<touching color (#27dbff)?> or <touching color (#66e6ff)?>>> then\n    start sound [Crunch v]\n    change [hp v] by (-1)\n    set [無敵？ v] to ((4) + (timer))\nend\nif <(y position) < [-179]> then\n    start sound [Crunch v]\n    change [hp v] by ((0) - (HP))\nend\n\ndefine 床\nif <<touching color (#e3a406)?> and <[0] < (Y)>> then\n\ndefine 壁\nchange y by (-10)\nrepeat until <not <<touching color (#81fffd)?> or <<touching color (#a9d4ff)?> or <<touching color (#62c9ff)?> or <touching color (#e3a406)?>>>>>\n    change x by ((-0.83) * ((x) / ([abs v] of (x) )))\nend\nset [x v] to [0]\n\nwhen I receive [初期値 v]\npoint in direction (90)\nswitch costume to (コスチューム v)\ngo to x: (0) y: (0)\nset [scroll x v] to (初期x)\nset [scroll y v] to (初期y)\nset [x v] to [0]\nset [y v] to [0]\nset [hp v] to [-1]\n\nwhen I receive [復活 v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset [hp v] to [3]\n\nwhen I receive [ジャンプ台 v]\nif <[0] < (HP)> then\n    set [y v] to [17]\nend\n\nif <<<[50] < (mouse y)> and <mouse down?>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n    set [y v] to [17]\nelse\n    set [y v] to [8.5]\nend\n\nwhen I receive [game start v]\nset [gameちゅう？ v] to [1]\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nset [無敵？ v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nrepeat until <not <(gameちゅう？) = [1]>>\n    if <[0] = (モード)> then\n        if <<<[200] < (mouse x)> and <mouse down?>> or <<key (d v) pressed?> or <key (right arrow v) pressed?>>> then\n            change [scroll x v] by (8)\n        end\n        if <<<[-200] > (mouse x)> and <mouse down?>> or <<key (a v) pressed?> or <key (left arrow v) pressed?>>> then\n            change [scroll x v] by (-8)\n        end\n        if <<<[150] < (mouse y)> and <mouse down?>> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n            change [scroll y v] by (8)\n        end\n        if <<<(mouse y) < [-150]> and <mouse down?>> or <<key (s v) pressed?> or <key (down arrow v) pressed?>>> then\n            change [scroll y v] by (-8)\n        end\n    else\n        if <(モード) < [0]> then\n            if <(モード) = [-2]> then\n                switch costume to (コスチューム v)\n                change [scroll x v] by (round ((x position) / (7)))\n                change [scroll y v] by (round ((y position) / (10)))\n                if <(scroll x) < [0]> then\n                    set [scroll x v] to [0]\n                else\n                    change x by ((0) - (round ((x position) / (7))))\n                end\n                if <(scroll y) < [0]> then\n                    set [scroll y v] to [0]\n                else\n                    change y by ((0) - (round ((y position) / (10))))\n                end\n            end\n        else\n            if <[0] < (HP)> then\n                動き\n            end\n        end\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <[0] < (HP)> then\n        if <(無敵？) < (timer)> then\n            set [無敵？ v] to [0]\n            set [ghost v] effect to (0)\n        else\n            set [ghost v] effect to (50)\n        end\n    end\nend\n\nwhen I receive [game start v]\npoint in direction (90)\nwait until <(HP) = [3]>\nforever\n    if <(HP) = [0]> then\n        set [y v] to [15]\n        change y by (1)\n        repeat until <(y position) < [-179]>\n            change [y v] by (-1)\n            change y by (Y)\n            set rotation style [all around v]\n            turn right (5) degrees\n        end\n        set rotation style [left-right v]\n        set [ghost v] effect to (100)\n        broadcast (幕 v) and wait\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [画面 v]\nhide\n\nwhen I receive [game start v]\nforever\n    set volume to (音量) %\nend\n\nwhen I receive [ごーる v]\nif <(gameちゅう？) = [？]> then\n    hide\nend\n\n@スプライト3\n\nwhen I receive [game start v]\nshow\nset [hp v] to [3]\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    go to x: (-180) y: (160)\n    switch costume to ((4) - (HP))\n    if <[3] < (HP)> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen I receive [画面 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [ごーる v]\nif <(gameちゅう？) = [？]> then\n    hide\nend\n\n@スプライト4\n\nwhen flag clicked\nhide\n\nwhen I receive [幕 v]\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\ngo to x: (0) y: (999)\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (5))\n    change [ghost v] effect by (-7)\nend\ngo to x: (0) y: (0)\nif <(gameちゅう？) = [0]> then\n    set [初期x v] to [0]\n    set [初期y v] to [0]\n    broadcast (game start v)\nelse\n    if <(gameちゅう？) = [1]> then\n        wait (0) seconds\n        broadcast (初期値 v)\n    else\n        broadcast (画面 v)\n    end\nend\nset [モード v] to [-1]\nwait (1) seconds\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nrepeat until <(round (y position)) = [345]>\n    change y by (((345) - (y position)) / (5))\n    set [ghost v] effect to ((y position) - (245))\nend\nhide\ngo to x: (0) y: (0)\nbroadcast (復活 v)\nset [モード v] to [1]\n\nwhen I receive [game start v]\ngo to [front v] layer\n\nwhen I receive [ごーる v]\nif <(gameちゅう？) = [？]> then\n    hide\nend\n\n@雪\n\ndefine 雪\nrepeat (15)\n    set [x v] to (pick random (-240) to (240))\n    set [y v] to (pick random (180) to (-180))\n    set [おおきさ v] to (pick random (25) to (150))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nforever\n    show\n    switch costume to (コスチューム2 v)\n    if <(gameちゅう？) = [0]> then\n        go to [back v] layer\n        go [forward v] (1) layers\n        set [すくろるx v] to (((mouse x) / (-7)) / (10))\n        set [すくろるy v] to (((mouse y) / (-7)) / (10))\n    else\n        go to [front v] layer\n        go [backward v] (1) layers\n        set [すくろるx v] to (scroll x)\n        set [すくろるy v] to (scroll y)\n    end\n    go to x: ((x) - (すくろるx)) y: ((y) - (すくろるy))\n    set size to (おおきさ) %\n    change [x v] by (((2) * ((おおきさ) / (100))) * ([sin v] of (((100) * ((おおきさ) / (100))) * ((timer) - ((60) * ((おおきさ) / (100))))) ))\n    change [y v] by ((-3.5) * ((おおきさ) / (100)))\n    if <[200] < ([abs v] of (y position) )> then\n        set [x v] to ((すくろるx) + (pick random (-240) to (240)))\n        set [y v] to ((すくろるy) + ((199) * (((0) - (x position)) / ([abs v] of (x position) ))))\n    end\n    switch costume to (コスチューム1 v)\n    if <touching (スプライト2 v)?> then\n        hide\n    end\n    if <[260] < ([abs v] of (x position) )> then\n        set [x v] to ((すくろるx) + ((239) * (((0) - (x position)) / ([abs v] of (x position) ))))\n        set [y v] to ((すくろるy) + (pick random (200) to (-180)))\n    end\nend\n\nwhen I receive [game start v]\nbroadcast (雪 v)\ndelete this clone\n\nwhen I receive [雪 v]\nhide\n雪\n\nwhen I receive [初期値 v]\nbroadcast (雪 v)\ndelete this clone\n\nwhen I receive [画面 v]\nset [gameちゅう？ v] to [0]\nbroadcast (雪 v)\ndelete this clone\n\n@スプライト5\n\nwhen I start as a clone\nshow\nif <(もーど) = [1]> then\n    forever\n        set size to (100) %\n        switch costume to (コスチューム1 v)\n        change x by ((((mouse x) / (-7)) - (x position)) / (10))\n        change y by ((((mouse y) / (-7)) - (y position)) / (10))\n        go to [back v] layer\n    end\nend\nif <(もーど) = [2]> then\n    forever\n        switch costume to (コスチューム2 v)\n        change x by ((((mouse x) / (15)) - (x position)) / (10))\n        change y by ((((100) + ((mouse y) / (15))) - (y position)) / (10))\n        set size to ((110) + ((5) * ([sin v] of ((120) * (timer)) ))) %\n        go to [front v] layer\n        go [backward v] (4) layers\n    end\nend\nif <(もーど) = [3]> then\n    set [ざつ v] to [100]\n    forever\n        switch costume to (コスチューム3 v)\n        change x by ((((-25) + ((mouse x) / (15))) - (x position)) / (10))\n        change y by ((((-100) + ((mouse y) / (15))) - (y position)) / (10))\n        set size to ((ざつ) + ((-5) * ([sin v] of ((120) * (timer)) ))) %\n        go to [front v] layer\n        go [backward v] (2) layers\n        set [brightness v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            change [ざつ v] by (((110) - (ざつ)) / (5))\n            if <mouse down?> then\n                set [brightness v] effect to (-15)\n            end\n        else\n            change [ざつ v] by (((100) - (ざつ)) / (5))\n        end\n    end\nend\nif <(もーど) = [4]> then\n    switch costume to (コスチューム4 v)\n    set [ざつ v] to [100]\n    forever\n        change x by ((((75) + ((mouse x) / (15))) - (x position)) / (10))\n        change y by ((((-100) + ((mouse y) / (15))) - (y position)) / (10))\n        set size to ((ざつ) + ((-5) * ([sin v] of ((120) * (timer)) ))) %\n        go to [front v] layer\n        go [backward v] (3) layers\n        set [brightness v] effect to (0)\n        if <touching (mouse-pointer v)?> then\n            change [ざつ v] by (((115) - (ざつ)) / (5))\n            if <mouse down?> then\n                set [brightness v] effect to (-15)\n            end\n        else\n            change [ざつ v] by (((100) - (ざつ)) / (5))\n        end\n    end\nend\n\nwhen I receive [画面 v]\nhide\nset size to (100) %\ngo to x: (0) y: (0)\nset [もーど v] to [1]\ncreate clone of (_myself_ v)\ngo to x: (0) y: (100)\nset [もーど v] to [2]\ncreate clone of (_myself_ v)\ngo to x: (-25) y: (-100)\nset [もーど v] to [3]\ncreate clone of (_myself_ v)\ngo to x: (75) y: (-100)\nset [もーど v] to [4]\ncreate clone of (_myself_ v)\n\nwhen I receive [game start v]\ndelete this clone\n\nwhen I start as a clone\nif <(もーど) = [1]> then\n    forever\nend\nif <(もーど) = [2]> then\n    forever\nend\nif <(もーど) = [3]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                if <touching (mouse-pointer v)?> then\n                    start sound [Magic Spell v]\n                    broadcast (幕 v)\n                    \n                end\n            end\n        end\n    end\nend\nif <(もーど) = [4]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                if <touching (mouse-pointer v)?> then\n                    if <(costume [number v]) = [4]> then\n                        switch costume to (コスチューム5 v)\n                        set [音量 v] to [0]\n                    else\n                        start sound [Collect v]\n                        switch costume to (コスチューム4 v)\n                        set [音量 v] to [100]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    set volume to (音量) %\nend\n\n@スプライト6\n\nwhen I receive [ブロック v]\nif <(costume [number v]) = [3]> then\n    switch costume to (コスチューム2 v)\n    set [自分x v] to (item (1) of [押された箱用 v])\n    set [自分y v] to (item (2) of [押された箱用 v])\n    create clone of (_myself_ v)\n    if <[3] < (HP)> then\n        switch costume to (コスチューム1 v)\n        set [自分x v] to ((-247.5) + ((34) * (HP)))\n        set [自分y v] to [160]\n        create clone of (_myself_ v)\n    end\n    switch costume to (コスチューム3 v)\nend\n\nwhen flag clicked\nswitch costume to (コスチューム3 v)\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nif <(costume [number v]) = [1]> then\n    forever\n        set size to (20) %\n        go to x: (自分x) y: (自分y)\n        if <(HP) < (((自分x) - (-247.5)) / (34))> then\n            delete this clone\n        end\n    end\nend\nif <(costume [number v]) = [2]> then\n    set size to (100) %\n    repeat (7)\n        go to x: ((自分x) - (scroll x)) y: ((自分y) - (scroll y))\n        change [ghost v] effect by (15)\n        change size by (5)\n    end\n    delete this clone\nend\n\nwhen I receive [画面 v]\ndelete this clone\n\n@スプライト7\n\nwhen I receive [ごーる v]\nif <not <(gameちゅう？) = [？]>> then\n    クローン2\n    wait (0.5) seconds\nend\nクローン\n\nwhen flag clicked\nhide\n\ndefine クローン\nset [番号 v] to [0]\nrepeat (9)\n    change [番号 v] by (1)\n    switch costume to (番号)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(costume [number v]) < [10]> then\n    set size to (55) %\n    show\n    go to x: (0) y: (-180)\n    repeat until <(round (y position)) = [-100]>\n        change y by (((-100) - (y position)) / (7.5))\n        if <(y position) < [-120]> then\n            set [ghost v] effect to ((1.5) * ((-120) - (y position)))\n            if <<[2] < (costume [number v])> and <[1] = ((costume [number v]) mod (2))>> then\n                set [ghost v] effect to (100)\n            end\n        end\n    end\nend\n\ndefine クローン2\nset [番号 v] to [9]\nrepeat (2)\n    change [番号 v] by (1)\n    switch costume to (番号)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) < [10]> then\n        if <[-120] < (y position)> then\n            if <<[2] < (costume [number v])> and <[1] = ((costume [number v]) mod (2))>> then\n                wait ((0.075) * (costume [number v])) seconds\n                repeat (10)\n                    change [ghost v] effect by (-10)\n                end\n                if <<(costume [number v]) = [5]> or <(costume [number v]) = [9]>> then\n                    start sound [Collect v]\n                end\n                if <<(costume [number v]) = [9]> and <not <(gameちゅう？) = [？]>>> then\n                    wait (1.5) seconds\n                    set [gameちゅう？ v] to [2]\n                    broadcast (幕 v)\n                end\n                stop [this script v]\n            else\n                if <[3] < (costume [number v])> then\n                    wait (((0.075) * (costume [number v])) - (0.01)) seconds\n                    repeat (10)\n                        change [ghost v] effect by (10)\n                    end\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <[9] < (costume [number v])> then\n    set size to (75) %\n    show\n    if <(costume [number v]) = [10]> then\n        go to x: (-100) y: (180)\n    end\n    if <(costume [number v]) = [11]> then\n        go to x: (100) y: (180)\n    end\n    repeat until <(round (y position)) = [100]>\n        change y by (((100) - (y position)) / (10))\n        if <[120] < (y position)> then\n            set [ghost v] effect to ((1.5) * ([abs v] of ((120) - (y position)) ))\n        end\n    end\nend\n\nwhen I receive [画面 v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    set volume to (音量) %\nend\n\n@サムネイルにしよう\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\nhide\nforever\n    set [ちめ v] to (timer)\nend\n\nwhen [timer v] > (ちめ)\ngo to [back v] layer\nset [gameちゅう？ v] to [？]\nbroadcast (ごーる v)\nshow\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n