❏WINTER PLATFORMER❏

Instructions: 日本語は下です\n「ｳｺﾞｹｲｺｳ」と唱えよう！\nクレジットは下ですぞい\n旗は必ず2回押してください（これは忠告です\n──────────────────────────────────\nThis is my second platformer in my life.\n*Advertisement is OK! Let's spread the word Janjan!\n→It's good to have your work seen.\n[Please bless us with ❤ and ★! ]\n\nI really hope it spreads!! ‼\n\n\nMobile + PCm, compatible with all models!\n\n──────────────── Goal ──────────────\n❏Number of references: 50000\n❏❤ and ★: 1000\n❏remix: 50\n\ncheck\n❏Number of references: 1000\n❏Number of references: 3000\n❏Number of references: 5000\n❏Number of references: 8000\n❏Number of references: 10000\n❏Number of references: 20000\n❏Number of references: 22500\n❏Number of references: 25000\n❏Number of references: 30000\n❏Number of references: 35000\n❏Number of references: 40000\n❏Number of references: 45000\n❏Number of references: 50000\n\nFollow recommended recommended\n@kenabcdef!\n@sakkae!\n@Sei_chan_egoist!\n@Konohakonoha!\n@HP1nohito!\n\nBy the way, I'm the person who created the "Nekokuni Tenka Unification Game"!\n\nIf you enjoyed it, please comment “happy winter”\n──────────────────────────────────\n人生2回目のプラットフォーマーです。\n※宣伝OKです！ジャンジャン広めましょう！\n　→作品を見てもらうのはいいことです\n〔❤と★をお恵みください！〕\n\nマジで拡散希望‼‼\n\n\nモバイル+PC、全機種対応！\n\n────────────────目標──────────────\n❏参照数：50000\n❏❤と★：1000\n❏remix：50\n\nチェック\n❏参照数：1000　✅\n❏参照数：3000　✅\n❏参照数：5000　✅\n❏参照数：8000\n❏参照数：10000\n❏参照数：20000\n❏参照数：22500\n❏参照数：25000\n❏参照数：30000\n❏参照数：35000\n❏参照数：40000\n❏参照数：45000\n❏参照数：50000\n\nフォロー推奨\n@kenabcdefさん！\n@sakkarさん！\n@Sei_chan_egoistさん！\n@Konohakonohaさん！\n@HP1nohitoさん！\n\nちなみに僕は「ネコ国天下統一ゲーム」を作った人！\n\n楽しかったらコメントで「happy winter」とコメント\n\n\n\n\n--------------------------**クレジット**--------------------------\nintro：@_MARUTO_様（イントロコンテストですぞい\n\noutro：@sochanpiko様\n\nNEXT：@e1717084様\n\n背景：@KS6-1様\n\nBGM：https://pocket-se.info/rules/\n\n~タグ~\n#game #winter #snow #platformer #globers0207\n\n\nｳｺﾞｹｲｺｳと言ってくれた人\n@nyanyanyaneko\n@sakusaku7777\n@yoshiki0201\n@obas4\n@qwklll\n@syabo63\n@kiyo_jojo_love\n@ko_nisinn\n@chingensai\n@akirappaa\n@POKA2847\n@tomso106\n@K_sann191\n@RT2231\n@miura2011\n@Nuoor1295\n@kako_mirai\n@harupuse\n@notirasu-47\n@_motomotio_sabu\n@sasaemon\n@MANAMOA\n@s-2215n\n@Vitamin_scratch\n@ioqj\n@tetudo233\n@yuno719\n@yzpo\n@Nissy_930\n@usabobon\n@shuumaipasuta123\n@aoiroscratch\n@munkun0604\n@jinseich0928\n@678865766\n@godryuutyan\n@TAMAGO55\n@rekirekinoshatatu\n@usaneko2772\n@stomon-yukia\n@kanakou2023\n@Mushroom-Liam\n@Sato-310\n@KNTO1221\n@88831\n@9uest\n@ireisuimusamaosi\n@MO-MI-ZI\n@Chicken_Tank\n@TOMATO4789\n@karintou_\n@sushi-and-chocolate\n@yu-ta22\n@utina-ntyu\n@Sakuragi-Reno\n@takonoosasimi\n@nattou3939\n\nごめん。書くの面倒くさくなったので、気持ちだけもらっておきます。

@Stage\n\nwhen flag clicked\nwait (12) seconds\nforever\n    play sound [winter v] until done\nend\n\n@スプライト1\n\n@intro\n\ndefine intro バウンディング (バウンディング大きさ) クローン削除前幽霊化 (幽霊化true?) (変化量)\nif <(幽霊化true?) = [true]> then\n    repeat ((100) / ([abs v] of (変化量) ))\n        change [ghost v] effect by ([abs v] of (変化量) )\n    end\nelse\n    set [intro logo move v] to [0]\n    set size to (0) %\n    repeat (50)\n        go to x: (intro Camera X) y: (intro Camera Y)\n        set [intro logo move v] to (((intro logo move) * (0.80)) + (((バウンディング大きさ) - (size)) / (5)))\n        change size by (intro logo move)\n        change [ghost v] effect by (-20)\n    end\nend\n\ndefine intro 滑らか移動 (初期x) (初期y) (移動後x) (移動後y) (/) (タイマー) 種類 (1,2) (回数)\nif <(1,2) = [1]> then\n    go to x: (初期x) y: (初期y)\n    wait until <(タイマー) < (timer)>\n    repeat until <(round ((x position) + (y position))) = ((移動後x) + (移動後y))>\n        change x by (((移動後x) - (x position)) / (/))\n        change y by (((移動後y) - (y position)) / (/))\n        change [ghost v] effect by (-5)\n    end\nelse\n    go to x: (初期x) y: (初期y)\n    wait until <(タイマー) < (timer)>\n    set [intro logo move v] to [0]\n    repeat (回数)\n        set [intro logo move v] to (((intro logo move) * (0.70)) + (((移動後y) - (y position)) / (/)))\n        change y by (intro logo move)\n        change [ghost v] effect by (-5)\n    end\nend\n\ndefine intro クローン (id) (数)\nswitch costume to (id)\nrepeat (数)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif < (costume [name v]) contains [logo]?> then\n    set [ghost v] effect to (100)\n    show\n    if < (costume [name v]) contains [2]?> then\n        intro 滑らか移動 [0] [-200] [0] [0] [4] [0.1] 種類 [2] [30]\n        wait until <[2.3] < (timer)>\n        hide\n        ⏱timer list\n        delete this clone\n    else\n        if < (costume [name v]) contains [3]?> then\n            intro 滑らか移動 [0] [200] [0] [0] [4] [0.7] 種類 [2] [30]\n            wait until <[2.3] < (timer)>\n            hide\n            ⏱timer list\n            delete this clone\n        else\n            intro 滑らか移動 [0] [-200] [0] [0] [4] [1.2] 種類 [2] [30]\n            wait until <[2.3] < (timer)>\n            switch costume to (logo1 v)\n            repeat until <(round (size)) = [10]>\n                change size by (((10) - (size)) / (1.5))\n                change [ghost v] effect by (20)\n            end\n            intro バウンディング [100] クローン削除前幽霊化 [] []\n            wait until <[4.0] < (timer)>\n            go to x: (0) y: (0)\n            intro ロゴ動き [170] [70] [] [] []\n            wait until <[4.8] < (timer)>\n            intro ロゴ動き [170] [100] [] [] [true]\n            wait until <[5.4] < (timer)>\n            go to x: (0) y: (0)\n            set size to (180) %\n            repeat until <(round (direction)) = [-90]>\n                turn right (((-90) - (direction)) / (4)) degrees\n                go to x: (() - (intro Camera X)) y: (() - (intro Camera Y))\n                change size by (((100) - (size)) / (4))\n            end\n            set size to (180) %\n            repeat until <(round (direction)) = [90]>\n                turn right (((90) - (direction)) / (4)) degrees\n                go to x: (intro Camera X) y: (intro Camera Y)\n                change size by (((100) - (size)) / (2))\n            end\n            go to x: (0) y: (0)\n            wait until <[6.5] < (timer)>\n            intro ロゴ動き [170] [100] [true] [80] []\n            wait until <[7.3] < (timer)>\n            intro ロゴ動き [180] [100] [true] [-80] []\n            wait until <[8.0] < (timer)>\n            intro ロゴ動き [170] [100] [true] [0] []\n            wait until <[9.3] < (timer)>\n            delete this clone\n        end\n    end\nend\nif < (costume [name v]) contains [背景]?> then\n    go to [back v] layer\n    set size to (0) %\n    wait until <[2.5] < (timer)>\n    show\n    if < (costume [name v]) contains [2]?> then\n        repeat until <(round (size)) = [1152]>\n            change size by (((1152) - (size)) / (7))\n            go to [back v] layer\n        end\n    else\n        repeat until <(round (size)) = [1152]>\n            change size by (((1152) - (size)) / (4))\n            go to [back v] layer\n        end\n    end\n    repeat until <[9.3] < (timer)>\n        go to [back v] layer\n    end\n    delete this clone\nend\nif < (costume [name v]) contains [Rotator]?> then\n    wait until <[2.7] < (timer)>\n    show\n    set [intro rotator v] to [1]\n    go to [back v] layer\n    go [forward v] (2) layers\n    if < (costume [name v]) contains [2]?> then\n        repeat until <(round (size)) = [200]>\n            change size by (((200) - (size)) / (4))\n            turn right (intro rotator) degrees\n        end\n    else\n        repeat until <(round (size)) = [80]>\n            change size by (((80) - (size)) / (7))\n            turn left (intro rotator) degrees\n        end\n    end\n    repeat until <[9.3] < (timer)>\n        if < (costume [name v]) contains [2]?> then\n            turn right (intro rotator) degrees\n            set size to ((197) + ((intro rotator) * (3))) %\n        else\n            turn left (intro rotator) degrees\n            set size to ((77) + ((intro rotator) * (3))) %\n        end\n        if <not <(intro rotator) = [1]>> then\n            change [intro rotator v] by (-0.5)\n        end\n    end\n    delete this clone\nend\nif <(costume [name v]) = [動く玉]> then\n    go to x: (pick random (240) to (-240)) y: (-200)\n    set size to (pick random (30) to (60)) %\n    set [ghost v] effect to (pick random (20) to (60))\n    set [intro 動く玉　y座標 v] to (pick random (5) to (10))\n    set [intro 動く玉　x座標 v] to [0]\n    set [intro 動く玉　初期x座標 v] to (x position)\n    set [intro 動く玉　初期大きさ v] to (size)\n    show\n    go to [back v] layer\n    go [forward v] (2) layers\n    repeat until <<[179] < (y position)> or <[9.3] < (timer)>>\n        change [intro 動く玉　x座標 v] by (1)\n        set size to ((intro 動く玉　初期大きさ) + ((intro rotator) * (0.9))) %\n        change y by ((intro 動く玉　y座標) + ((intro rotator) * (0.3)))\n        set x to ((y position) + (intro Camera Y))\n        set x to (((intro 動く玉　初期x座標) + (([cos v] of ((intro 動く玉　x座標) * (5)) ) * (5))) + (intro Camera X))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [10]> then\n    wait until <[2.7] < (timer)>\n    show\n    go to [back v] layer\n    go [forward v] (2) layers\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (4))\n        turn right (2) degrees\n    end\n    repeat until <[9.3] < (timer)>\n        turn right (2) degrees\n        go to x: (intro Camera X) y: (intro Camera Y)\n        set [whirl v] effect to ((intro rotator) * (timer))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [11]> then\n    show\n    intro 滑らか移動 [483] [0] [-10] [0] [7] [] 種類 [1] []\n    wait until <[9.5] < (timer)>\n    intro バウンディング [] クローン削除前幽霊化 [true] [10]\n    delete this clone\nend\nif <(costume [number v]) = [12]> then\n    show\n    set [ghost v] effect to (100)\n    repeat until <[9.5] < (timer)>\n        wait until <(intro フラッシュ) = [true]>\n        clear graphic effects\n        go to [front v] layer\n        intro バウンディング [] クローン削除前幽霊化 [true] [10]\n        set [intro フラッシュ v] to [false]\n    end\n    delete this clone\nend\nif <<[12] < (costume [number v])> and <(costume [number v]) < [16]>> then\n    intro パーティクル [0] [0] [2.3] [-0.5]\n    intro パーティクル [-50] [50] [5.4] [-0.5]\n    intro パーティクル [50] [-50] [6.1] [-0.5]\n    intro パーティクル [0] [0] [7.9] [-0.5]\n    delete this clone\nend\nif <(costume [number v]) = [16]> then\n    go to x: (0) y: (2)\n    hide\n    set size to (120) %\n    wait until <[4.1] < (timer)>\n    show\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (4))\n    end\n    wait until <[4.8] < (timer)>\n    repeat until <(round (size)) = [119]>\n        change size by (((119) - (size)) / (4))\n        change [ghost v] effect by (5)\n    end\n    repeat (10)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [17]> then\n    go to x: (0) y: (0)\n    hide\n    set size to (135) %\n    set [ghost v] effect to (100)\n    wait until <[2.7] < (timer)>\n    show\n    repeat until <[9.3] < (timer)>\n        go to [back v] layer\n        go [forward v] (5) layers\n        change size by (((100) - (size)) / (4))\n        turn right (((90) - (direction)) / (4)) degrees\n        change [ghost v] effect by (-10)\n        go to x: (intro Camera X) y: (intro Camera Y)\n        if <(intro フラッシュ) = [true]> then\n            set size to ((100) + (round ((intro rotator) * (pick random (1.0) to (1.3))))) %\n            set [ghost v] effect to ((intro rotator) * (([ceiling v] of ([sqrt v] of (timer) ) ) * ([floor v] of (pick random ([abs v] of (([sin v] of ((timer) * (50)) ) * (5)) ) to ([abs v] of (([cos v] of ((timer) * (50)) ) * (5)) )) )))\n            point in direction ((90) + (((intro Camera X) + (intro Camera Y)) * (0.2)))\n        end\n    end\n    delete this clone\nend\n\ndefine intro ロゴ動き (サイズ) (サイズ２) (角度true?) (true=x) (camera)\nset size to (サイズ) %\nrepeat until <(round (size)) = (サイズ２)>\n    change size by (((サイズ２) - (size)) / (4))\n    if <(角度true?) = [true]> then\n        change x by (((true=x) - (x position)) / (2))\n        if <(x position) < (true=x)> then\n            turn right ((((90) + (([sqrt v] of (true=x) ) * (3))) - (direction)) / (4)) degrees\n        else\n            turn right ((((90) - (([sqrt v] of ([abs v] of (true=x) ) ) * (3))) - (direction)) / (4)) degrees\n        end\n    end\n    if <(camera) = [true]> then\n        go to x: (intro Camera X) y: (intro Camera Y)\n    end\nend\n\nwhen I start as a clone\nif <not <<(costume [number v]) = [11]> or <<[12] < (costume [number v])> and <(costume [number v]) < [16]>>>> then\n    wait until <[4.1] < (timer)>\n    repeat (10)\n        change [brightness v] effect by (-5)\n        change [pixelate v] effect by (3)\n    end\n    wait until <[4.8] < (timer)>\n    repeat (10)\n        change [brightness v] effect by (5)\n        change [pixelate v] effect by (-3)\n        set [mosaic v] effect to (0)\n    end\n    wait until <[6.7] < (timer)>\n    change [color v] effect by (([sqrt v] of (round (timer)) ) * (50))\n    wait until <[7.3] < (timer)>\n    change [color v] effect by (([sqrt v] of (round (timer)) ) * (-20))\n    wait until <[7.9] < (timer)>\n    clear graphic effects\nend\n\ndefine intro パーティクル (パーティクルx) (パーティクルy) (パーティクルタイマー) (パーティクル変化量)\ngo to x: (パーティクルx) y: (パーティクルy)\npoint in direction (pick random (0) to (360))\nset [intro 動く玉　x座標 v] to (pick random (10) to (13))\nset [intro 動く玉　初期x座標 v] to (intro 動く玉　x座標)\nset size to (pick random (30) to (120)) %\nswitch costume to (pick random (13) to (15))\nclear graphic effects\nwait until <(パーティクルタイマー) < (timer)>\nshow\ngo to [back v] layer\ngo [forward v] (6) layers\nrepeat until <(intro 動く玉　x座標) = [0]>\n    move (intro 動く玉　x座標) steps\n    change [ghost v] effect by ((100) / ((intro 動く玉　x座標) / ([abs v] of (パーティクル変化量) )))\n    change size by (() - ((intro 動く玉　初期大きさ) / ((intro 動く玉　x座標) / ([abs v] of (パーティクル変化量) ))))\n    change [intro 動く玉　x座標 v] by (パーティクル変化量)\nend\nhide\n\ndefine ⏱timer list\nif <<not <(length of [intro rotar and flash list v]) = [10]>> and <not <((item (9) of [intro rotar and flash list v]) + (item (10) of [intro rotar and flash list v])) = [2]>>> then\n    delete all of [intro rotar and flash list v]\n    add [3.4] to [intro rotar and flash list v]\n    add [4.1] to [intro rotar and flash list v]\n    add [4.8] to [intro rotar and flash list v]\n    add [5.4] to [intro rotar and flash list v]\n    add [6.1] to [intro rotar and flash list v]\n    add [6.7] to [intro rotar and flash list v]\n    add [7.3] to [intro rotar and flash list v]\n    add [7.9] to [intro rotar and flash list v]\n    add [1] to [intro rotar and flash list v]\n    add [1] to [intro rotar and flash list v]\nend\nrepeat until <((length of [intro rotar and flash list v]) - (2)) < (item ((7) + (costume [number v])) of [intro rotar and flash list v])>\n    wait until <(item (item ((7) + (costume [number v])) of [intro rotar and flash list v]) of [intro rotar and flash list v]) < (timer)>\n    if < (costume [name v]) contains [2]?> then\n        set [intro rotator v] to [15]\n        set [intro フラッシュ v] to [true]\n    else\n        set [intro shaker timer v] to ((timer) + (0.6))\n        change [intro shaker v] by (60)\n        repeat until <((intro shaker timer) - (.1)) < (timer)>\n            change [intro shaker v] by (((100) - (intro shaker)) / (5))\n            set [intro camera x v] to ((((100) - (intro shaker)) * ([sin v] of ((timer) * (500)) )) * (0.9))\n            set [intro camera y v] to ((((100) - (intro shaker)) * ([cos v] of ((timer) * (500)) )) * (0.9))\n        end\n    end\n    replace item ((7) + (costume [number v])) of [intro rotar and flash list v] with ((item ((7) + (costume [number v])) of [intro rotar and flash list v]) + (1))\nend\n\nwhen flag clicked\nstart sound [♬Mike Perry - The Ocean \(ft. Shy Martin\) \[Lyrics CC\] MARUTO v]\nstop all sounds\nhide\nclear graphic effects\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (100) %\nwait (0.5) seconds\nstart sound [♬Mike Perry - The Ocean \(ft. Shy Martin\) \[Lyrics CC\] MARUTO v]\nreset timer\nintro クローン [17] [1]\nintro クローン [2] [1]\nintro クローン [3] [1]\nintro クローン [4] [1]\nintro クローン [12] [1]\nintro クローン [8] [1]\nintro クローン [7] [1]\nintro クローン [5] [1]\nintro クローン [6] [1]\nintro クローン [10] [1]\nintro クローン (pick random (13) to (15)) [20]\nintro クローン [16] [1]\nwait until <[2.7] < (timer)>\nrepeat (30)\n    wait (0.1) seconds\n    intro クローン [9] [1]\nend\nwait until <[8.3] < (timer)>\nset [brightness v] effect to (100)\ngo to [front v] layer\nstart sound [END v]\nrepeat (6)\n    intro クローン [11] [1]\n    wait (0.1) seconds\n    change [brightness v] effect by (-20)\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (52) y: (30)\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [next v]\nwait (1) seconds\nnext costume\n\nwhen flag clicked\nwait (12) seconds\ngo to [front v] layer\ngo to x: (52) y: (30)\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [outro v]\nhide\n\n@player\n\nwhen I receive [suta-to  v]\nset volume to (100) %\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nset size to (60) %\ngo to x: (-220) y: (50)\ngo to [back v] layer\n\nwhen I start as a clone\nswitch costume to (player3 v)\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen [z v] key pressed\n\nwhen flag clicked\nwait (12) seconds\nswitch backdrop to (コスチューム1 v)\nshow\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [front v] layer\n    if <<touching (とげ v)?> or <(y position) < [-164]>> then\n        go to x: (-220) y: (-50)\n        start sound [フウ v]\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <touching (地面 v)?> then\n        change y by (1)\n        if <touching (地面 v)?> then\n            change y by (1)\n            if <touching (地面 v)?> then\n                change y by (1)\n                if <touching (地面 v)?> then\n                    change y by (1)\n                    if <touching (地面 v)?> then\n                        change y by (1)\n                        if <touching (地面 v)?> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [ニュッ v]\n                                if <(xのやつ) > [0]> then\n                                    set [xのやつ v] to [-7]\n                                else\n                                    set [xのやつ v] to [7]\n                                end\n                                set [ｙだー v] to [15]\n                            else\n                                set [xのやつ v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [15]\n            start sound [ニュッ v]\n            if <(君に力を与えるっ\(｡◕ˇдˇ​◕｡\)/) = [与える！]> then\n                if <key (space v) pressed?> then\n                    set [ｙだー v] to [25]\n                end\n            end\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <touching (地面 v)?> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        hide\n        go to x: (-220) y: (-50)\n        start sound [Rip v]\n        broadcast (NEXT v)\n        wait (3) seconds\n        show\n    end\n    if <touching (ばね v)?> then\n        if <key (up arrow v) pressed?> then\n            set [ｙだー v] to [25]\n            start sound [ワピチ v]\n        else\n            set [ｙだー v] to [17]\n            start sound [ワピチ v]\n        end\n    end\n    if <touching (敵！ v)?> then\n        if <([y position v] of [敵！ v]) < (y position)> then\n            set [敵 v] to [あっ]\n            set [ｙだー v] to [10]\n        else\n            go to x: (-220) y: (-50)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ngo to x: (-210) y: (100)\n\nif <(x position) > [230]> then\n\nwait (0.5) seconds\ngo to x: (-216) y: (50)\n\nwhen I receive [outro v]\nhide\n\n@スプライト2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (110) %\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <(costume [number v]) = [3]>>> then\n    go to x: (0) y: (-342)\n    forever\n        change y by (((0) - (y position)) / (5))\n    end\nelse\n    go to x: (-493) y: (0)\n    if <(costume [number v]) = [7]> then\n        forever\n            change x by (((0) - (x position)) / (5))\n        end\n    else\n        forever\n            change x by (((30) - (x position)) / (5))\n        end\n    end\nend\n\nwhen I start as a clone\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [next v]\ngo to [front v] layer\nswitch costume to (コスチューム3 \(1\) v)\nrepeat (7)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.1) seconds\nend\n\nmove (10) steps\n\n@とげ\n\nwhen flag clicked\nset [すていじ v] to [1]\nswitch costume to (コスチューム1 v)\nhide\nwait (12) seconds\nshow\n\nwhen I receive [next v]\nwait (1) seconds\ngo to [back v] layer\nset rotation style [left-right v]\npoint in direction (90)\nchange [すていじ v] by (1)\nnext costume\n\n@Outro\n\nwhen I receive [outro v]\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nhide\nreset timer\nswitch costume to (night v)\ncreate clone of (_myself_ v)\nswitch costume to (your name v)\ncreate clone of (_myself_ v)\nLight Particle\nwait until <[3.4] < (timer)>\nswitch costume to (moon v)\ncreate clone of (_myself_ v)\nwait until <[5] < (timer)>\nswitch costume to (cloud v)\nrepeat (5)\n    create clone of (_myself_ v)\n    switch costume to ((costume [number v]) - (1))\n    wait (0.1) seconds\nend\nwait until <[6.5] < (timer)>\nswitch costume to (scratch v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [1]> then\n    set [free v] to [100]\n    go to x: (0) y: (0)\n    set size to (500) %\n    repeat until <[5] < (timer)>\n        set [ghost v] effect to (Free)\n        change [free v] by (((0) - (Free)) / (6))\n        change size by (((100) - (size)) / (6))\n    end\n    repeat until <[6.5] < (timer)>\n        set [ghost v] effect to (Free)\n        change [free v] by (((0) - (Free)) / (6))\n        change size by (((100) - (size)) / (6))\n        change y by (((120) - (y position)) / (6))\n    end\nelse\n    if <(costume [number v]) = [2]> then\n        set [free v] to [100]\n        go to x: (0) y: (0)\n        repeat (50)\n            set [ghost v] effect to (Free)\n            change [free v] by (((0) - (Free)) / (6))\n        end\n        wait until <[5] < (timer)>\n        set [free v] to [0]\n        repeat until <[6.5] < (timer)>\n            set [brightness v] effect to (Free)\n            change [free v] by (((-20) - (Free)) / (6))\n        end\n        forever\n            set [brightness v] effect to ((([sin v] of (Free) ) * (10)) + (-10))\n            change [free v] by (2)\n        end\n    else\n        if <(costume [number v]) = [3]> then\n            set [free v] to [100]\n            go to x: (0) y: (0)\n            set size to (500) %\n            repeat until <[1.5] < (timer)>\n                set [ghost v] effect to (Free)\n                change [free v] by (((0) - (Free)) / (6))\n                change size by (((100) - (size)) / (6))\n            end\n            repeat until <[3] < (timer)>\n                change [ghost v] effect by (3)\n            end\n            wait until <[6.5] < (timer)>\n            clear graphic effects\n            set [free v] to [-240]\n            forever\n                change [free v] by (((0) - (Free)) / (10))\n                go to x: (0) y: ((([sin v] of ((timer) * (35)) ) * (10)) + (Free))\n                point in direction ((([cos v] of ((timer) * (35)) ) * (5)) + (90))\n                go to [front v] layer\n            end\n        else\n            if <(costume [number v]) = [4]> then\n                set [free v] to (pick random (2) to (12))\n                go to x: (pick random (-240) to (240)) y: (-500)\n                point in direction (pick random (-10) to (10))\n                set [ghost v] effect to (25)\n                set size to (pick random (50) to (75)) %\n                repeat (60)\n                    set [free v] to ((Free) * (0.98))\n                    move (Free) steps\n                    change [ghost v] effect by (1.25)\n                end\n                delete this clone\n            else\n                if <<[4] < (costume [number v])> and <(costume [number v]) < [10]>> then\n                    go to x: (0) y: (-500)\n                    repeat (40)\n                        change y by (((0) - (y position)) / (5))\n                    end\n                else\n                    if <(costume [number v]) = [10]> then\n                        forever\n                            set [ghost v] effect to (pick random (90) to (100))\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [outro判定 v] to [0]\nforever\n    set [free v] to (timer)\nend\n\ndefine Light Particle\nrepeat (15)\n    switch costume to (light particle v)\n    create clone of (_myself_ v)\nend\n\nwhen [timer v] > (Free)\nif <(Outro判定) = [0]> then\n    set [outro判定 v] to [1]\n    broadcast (Outro v)\nend\n\nwhen I receive [outro v]\nwait (0.1) seconds\ngo to [front v] layer\nforever\n    play sound [Lost Sky - Where We Started \(feat. Jex\) \[NCS Release\] \(Cut\) v] until done\nend\n\n@スプライト3\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\n\n