Sky Platformer 

Instructions: Read the whole thing.\n全部読んでね\n\nPress the flag twice\n旗二回押し\n\nYou can skip the intro.\nイントロはスキップできるよ\n\nClouds have thorns growing on them!?\n雲に棘が生えてる!?\n\nLet's have an adventure in such an interesting world!\nそんな面白い世界で冒険しよう!!\n\nArrow keys to control\n矢印キーで操作\n\nRespawn is in the upper right corner\nリスポーンは右上\n\nFor skipping double-click\nスキップはダブルクリック\n\nSkip up to 5 times\nスキップは5回まで\n\nTake advantage of the crouch!!\nしゃがみを活用して!!\n\nNo turbo\nターボは禁止\n\n〈クレジット〉〈credit〉\n音楽・music\nDiamond Eyes - Stars [NCS Release] - from YouTube\nAxol x Alex Skrindo - You [NCS Release]\nPrismo - Weakness\n魔王魂\n効果音ラボ？\nロゴ及び画像ジェネレーター\n\nスプライト・sprite\nタボフィー  @boudannsyounenndann\nハート・星  @kumanomikun622\nALPHA @t9decode\n\n〈参考〉〈reference〉\n【基礎編】日本一(多分)分かりやすいプラットフォーマーの作り方\n【応用編】日本一(多分)分かりやすいプラットフォーマーの作り方\n〈ターボワープ〉\nhttps://turbowarp.org/629275521?interpolate&hqpen\n（多分）\n\n〈タグ〉〈tag〉\n#game #games \n#art #platformer \n#sky #music #utrit\nーーーーーーーーーーーーーーーーーーーーーーーーー\nHearts and stars, we look forward to following and remixing!!\nハートと星、フォロー、リミックスお待ちしてます!!\n\nI'm aiming for a stiff trend!!!! Please spread the word!\nガチで傾向狙ってます!!拡散お願いします!!\nーーーーーーーーーーーーーーーーーーーーーーーーー\n〈経歴〉\n5/25　共有\n5/27? !!100人突破‼ !!200人突破‼ !!300人突破‼\n5/28   !!400人突破‼  !!500人突破‼ \n5/29   !!600人突破‼  !!700人突破‼ !!800人突破‼\n　　　!!900人突破‼!\n5/30　!!1000人突破‼ !!1100人突破‼ !!1200人突破‼\n5/31　!!1300人突破‼\n6/3 　!!1400人突破!!\n6/5     !!1500人突破!!\n6/6     !!1600人突破!!\n6/9     !!1700人突破!!\n6/11   !!1800人突破!!\n6/12   !!1900人突破!!\n6/16   !!2000人突破!!\n6/18   !!2100人突破!!\n6/19   !!ハート100突破‼\n　　   !!2200人突破!!\n6/21   !!2300人突破!!\n6/23   !!星100突破‼\n          !!2400人突破!!\n6/25   !!2500人突破!!\n6/27   !!2600人突破!!\n6/29   !!2700人突破!!\n7/6     !!3000人突破!!（いきなり飛んでて草ww）

@Stage\n\nwhen flag clicked\nset [音量　sound v] to [100]\nswitch backdrop to (alpha v)\n\nwhen I receive [スタート v]\nswitch backdrop to (screenshot 2022-03-10 11 v)\nwait until <(ステージ) = [10]>\nswitch backdrop to (screenshot 2022-03-10 2 v)\nwait until <(ステージ) = [15]>\nswitch backdrop to (screenshot 2022-03-10 11 v)\n\n@プレーヤー\n\nwhen I receive [さようなら v]\nchange [☁ みんなが遊んだ回数 v] by (1)\nset volume to (音量　sound) %\n初期位置\nset [ステージ v] to [1]\nshow\nforever\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        point in direction (90)\n        change [動いたねチラッ v] by (1)\n        change [x v] by (1.75)\n        start sound [se_chakuchi01 \(1\) v]\n    end\n    if <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n        point in direction (-90)\n        change [動いたねチラッ v] by (1)\n        change [x v] by (-1.75)\n        start sound [se_chakuchi01 \(1\) v]\n    end\n    set [x v] to ((x) * (0.8))\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) > [0]> and <mouse down?>>> then\n                                switch costume to ( v)\n                                start sound [se_jump1 v]\n                                change [動いたねチラッ v] by (1)\n                                if <(x) > [0]> then\n                                    set [x v] to [-15]\n                                else\n                                    set [x v] to [15]\n                                end\n                                set [y v] to [14.5]\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 v] by (-1)\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-5)\n    if <<touching (ステージ v)?> and <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n        switch costume to ( v)\n        change [動いたねチラッ v] by (1)\n        set [y v] to [16]\n        start sound [se_jump1 v]\n    end\n    change y by (5)\n    if <<<touching (とげ・マグマ v)?> or <(y position) < [-160]>> or <touching (とげ v)?>> then\n        wait (0.05) seconds\n        start sound [Pew v]\n        初期位置\n    end\n    if <not <(ステージ) = [18]>> then\n        if <(x position) > [210]> then\n            broadcast (ネクストステージ v)\n            wait (0.5) seconds\n            wait (0.05) seconds\n            start sound [Ding Sound Effect v]\n            初期位置\n        end\n    end\n    if <key (r v) pressed?> then\n        broadcast (リセッター v)\n    end\n    if <<key (down arrow v) pressed?> or <<(y position) > (mouse y)> and <mouse down?>>> then\n        switch costume to (2 v)\n        set [しゃがんでる v] to [1]\n    end\n    if <not <<key (down arrow v) pressed?> or <<(y position) > (mouse y)> and <mouse down?>>>> then\n        switch costume to ( v)\n        set [しゃがんでる v] to [0]\n    end\n    if <(動くか判定) = [1]> then\n        repeat until <(動くか判定) = [0]>\n            初期位置\n        end\n    end\nend\n\nwhen I receive [さようなら v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\nif <(しゃがんでる) = [0]> then\n    switch costume to (3 v)\n    repeat (10)\n        change size by (-4)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nelse\n    switch costume to (4 v)\n    repeat (10)\n        change size by (-4)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine 初期位置\nswitch costume to ( v)\nset size to (70) %\ngo to x: (-210) y: (-50)\nset rotation style [left-right v]\npoint in direction (90)\nset [動いたねチラッ v] to [0]\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nset [ステージ v] to [0]\nhide\n\nwhen I receive [初期化（リスタート） v]\n初期位置\nset [ステージ v] to [0]\nbroadcast (さようなら v)\n\nwhen I receive [リセッター v]\nwait (0.05) seconds\n初期位置\n\nwhen I receive [結果発表終了 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [intro v]\nshow\n\n@ステージ\n\nwhen I receive [さようなら v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nset [ステージ v] to [0]\n\nwhen I receive [結果発表終了 v]\nhide\n\nwhen I receive [intro v]\nshow\n\n@とげ・マグマ\n\nwhen flag clicked\nhide\n\nwhen I receive [さようなら v]\nhide\nswitch costume to (2 v)\nforever\n    wait until <(ステージ) = [2]>\n    go to x: (132) y: (-6)\n    show\n    wait until <(ステージ) = [3]>\n    next costume\n    go to x: (-3) y: (50)\n    show\n    wait until <(ステージ) = [4]>\n    hide\n    wait until <(ステージ) = [5]>\n    go to x: (-6) y: (-40)\n    next costume\n    show\n    wait until <(ステージ) = [6]>\n    hide\n    wait until <(ステージ) = [7]>\n    go to x: (113) y: (-140)\n    next costume\n    show\n    wait until <(ステージ) = [8]>\n    go to x: (-5) y: (-159)\n    next costume\n    show\n    wait until <(ステージ) = [9]>\n    hide\nend\n\n@sky platformer\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to [front v] layer\nset [動くか判定 v] to [0]\ngo [backward v] (1) layers\nhide\n\nwhen I receive [ネクストステージ v]\nif <(だめ) = [1]> then\n    go to x: (0) y: (348)\n    set [動くか判定 v] to [1]\n    show\n    glide (0.5) secs to x: (0) y: (0)\n    change [ステージ v] by (1)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (0) y: (-348)\n    hide\n    set [動くか判定 v] to [0]\nelse\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [元タイム v] to (タイム)\n    set [動くか判定 v] to [1]\n    show\n    go to x: (0) y: (348)\n    glide (0.5) secs to x: (0) y: (0)\n    change [ステージ v] by (1)\n    wait (0.5) seconds\n    glide (0.5) secs to x: (0) y: (-348)\n    hide\n    set [動くか判定 v] to [0]\n    set [タイム v] to (元タイム)\nend\n\nwhen I receive [さようなら v]\nset [タイム v] to [0]\nwait (0.5) seconds\nwait until <(動いたねチラッ) > [1]>\nrepeat until <(ステージ) = [18]>\n    wait (1) seconds\n    change [タイム v] by (1)\n    if <(だめ) = [1]> then\n        set [タイム v] to [✕]\n        stop [this script v]\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (0) y: (-187)\nhide\n\nwhen I receive [スタート v]\nwait (2) seconds\nshow\nglide (0.1) secs to x: (0) y: (60)\n\nwhen I receive [さようなら v]\nhide\n\nwhen I receive [スタート v]\nwait (2) seconds\nshow\n\n@スプライト3\n\nwhen flag clicked\nset [音量終了 v] to [0]\ngo to x: (0) y: (-182)\nhide\n\nwhen I receive [スタート v]\npoint in direction (90)\nwait (2) seconds\nshow\nglide (0.15) secs to x: (0) y: (-60)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nwait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\nbroadcast (さようなら v)\nset [音量終了 v] to [1]\nhide\n\nwhen I receive [さようなら v]\nhide\n\nwhen I receive [記録を見る v]\nhide\n\nwhen I receive [戻る v]\nshow\n\nwhen I receive [初期化（リスタート） v]\nerase all\n\n@スプライト4\n\nwhen flag clicked\ngo to x: (0) y: (230)\nhide\n\nwhen I receive [さようなら v]\nset size to (50) %\nset [id v] to [1]\nwait until <(ステージ) = [10]>\nrepeat until <(ステージ) = [12]>\n    go to x: (pick random (-200) to (200)) y: (140)\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\nset [id v] to [2]\nrepeat until <(ステージ) = [17]>\n    point in direction (110)\n    go to x: (pick random (-190) to (200)) y: (140)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(id) = [1]> then\n    point in direction (90)\n    repeat until <touching (_edge_ v)?>\n        change y by (-10)\n        wait (0) seconds\n    end\n    delete this clone\nelse\n    point in direction (110)\n    repeat until <touching (_edge_ v)?>\n        change y by (-10)\n        change x by (-1)\n        wait (0) seconds\n    end\n    delete this clone\nend\n\nwhen I receive [さようなら v]\nwait until <(ステージ) = [10]>\nrepeat until <(ステージ) = [12]>\n    start sound [雨・傘の下 v]\nend\nstart sound [ポップ v]\nrepeat until <(ステージ) = [17]>\n    start sound [雨の音 v]\nend\nstop all sounds\nbroadcast (音復旧 v)\n\n@記録\n\nwhen flag clicked\nset [順番一 v] to [0]\nset [順番二 v] to [0]\nerase all\nswitch costume to (コスチューム11 v)\nhide\n\nwhen I receive [さようなら v]\nhide\nwait until <(ステージ) = [18]>\nset [終わり v] to [0]\nif <(タイム) = [✕]> then\n    set [何番 v] to [2]\n    set [id v] to (☁ ハイスコア)\n    wait (1) seconds\n    go to x: (-160) y: (-2)\n    switch costume to (コスチューム11 v)\n    stamp\n    go to x: (-23) y: (60)\n    定義\nelse\n    if <(タイム) < (☁ ハイスコア)> then\n        set [☁ ハイスコア v] to (タイム)\n    end\nend\nset [何番 v] to [2]\nset [id v] to (☁ ハイスコア)\nwait (1) seconds\ngo to x: (-160) y: (-2)\nswitch costume to (コスチューム11 v)\nstamp\ngo to x: (-23) y: (60)\n定義\n\ndefine 定義\nif <(終わり) = [1]> then\n    wait (1) seconds\n    broadcast (intro v)\n    stop [this script v]\nelse\n    if <(letter (1) of (ID)) = [✕]> then\n        switch costume to (コスチューム12 v)\n        stamp\n        change x by (25)\n        start sound [ポップ v]\n    else\n        if <(letter (1) of (ID)) = [0]> then\n            switch costume to (コスチューム10 v)\n            stamp\n            change x by (25)\n            start sound [ポップ v]\n        else\n            switch costume to (letter (1) of (ID))\n            stamp\n            change x by (25)\n            start sound [ポップ v]\n        end\n        wait (1) seconds\n        repeat ((length of (ID)) - (1))\n            if <(letter (何番) of (ID)) = [0]> then\n                switch costume to (コスチューム10 v)\n                stamp\n                change [何番 v] by (1)\n            else\n                switch costume to (letter (何番) of (ID))\n                stamp\n                change [何番 v] by (1)\n            end\n            start sound [ポップ v]\n            wait (1) seconds\n            change x by (30)\n        end\n    end\n    次\nend\n\ndefine 次\nif <(ID) = (☁ ハイスコア)> then\n    go to x: (-50) y: (0)\n    set [何番 v] to [2]\n    set [id v] to (タイム)\nelse\n    if <(ID) = (タイム)> then\n        go to x: (-30) y: (-72)\n        set [id v] to (☁ みんなが遊んだ回数)\n    else\n        set [終わり v] to [1]\n    end\nend\n定義\n\n@スプライト6\n\nwhen flag clicked\ngo to x: (184) y: (-157)\nswitch costume to (コスチューム2 v)\nhide\n\nwhen I receive [intro v]\ngo to x: (184) y: (-157)\nset [プレイ数 v] to [1]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nwait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\nbroadcast (初期化（リスタート） v)\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nwait (0.5) seconds\nhide\n\n@とげ\n\nwhen flag clicked\ngo to x: (-4) y: (-35)\npoint in direction (90)\nhide\n\nwhen I receive [さようなら v]\nwait until <(ステージ) = [17]>\nshow\nrepeat until <(ステージ) = [18]>\n    turn right (-3) degrees\nend\nhide\n\n@タボフィー\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n        stop [other scripts in sprite v]\n        go to [front v] layer\n        stop [all v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    change [turbo v] by (1)\nend\n\n@スプライト7\n\nwhen flag clicked\ngo to x: (185) y: (160)\nhide\n\nwhen I receive [さようなら v]\ngo to x: (195) y: (156)\ngo to [front v] layer\ngo [backward v] (4) layers\nset [ghost v] effect to (50)\nshow\nrepeat until <(ステージ) = [19]>\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (リセッター v)\n    end\nend\nhide\n\n@スプライト8\n\nwhen flag clicked\ngo to x: (175) y: (184)\nhide\n\nwhen I receive [さようなら v]\nset [ghost v] effect to (45)\nrepeat until <(ステージ) = [9]>\n    switch costume to (pick random (1) to (2))\n    go to x: (200) y: (pick random (150) to (170))\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nshow\nrepeat until <(x position) < [-200]>\n    change x by (-4.5)\nend\ndelete this clone\n\n@スプライト9\n\nwhen flag clicked\ngo to x: (-85) y: (110)\nhide\n\nwhen I receive [結果発表終了 v]\nshow\n\nwhen I receive [さようなら v]\nhide\n\nwhen I receive [intro v]\nshow\n\nwhen I receive [結果発表終了 v]\nhide\n\n@スプライト11\n\nwhen flag clicked\ngo to x: (-299) y: (164)\nhide\n\nwhen I receive [さようなら v]\nshow\ngo to [front v] layer\nforever\n    repeat (70)\n        change x by (((-160) - (x position)) / (13))\n    end\n    wait (5) seconds\n    repeat (70)\n        change x by (((-300) - (x position)) / (13))\n    end\n    wait (10) seconds\nend\n\n@BGM\n\nwhen flag clicked\ngo to x: (-210) y: (145)\nhide\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    stop all sounds\n    switch costume to (なし v)\nelse\n    switch costume to (あり v)\n    broadcast (bgm終わ v)\n    wait (1) seconds\nend\n\nwhen I receive [bgm終わ v]\nplay sound [Axol x Alex Skrindo - You \[NCS Release\] v] until done\nbroadcast (bgm終わ v)\n\nwhen I receive [スタート v]\nshow\nswitch costume to (あり v)\nplay sound [Axol x Alex Skrindo - You \[NCS Release\] v] until done\nbroadcast (bgm終わ v)\n\nwhen I receive [intro v]\nshow\n\nwhen I receive [結果発表終了 v]\nstop [other scripts in sprite v]\nstop all sounds\nhide\n\nwhen I receive [初期化（リスタート） v]\nshow\nswitch costume to (あり v)\nplay sound [Axol x Alex Skrindo - You \[NCS Release\] v] until done\nbroadcast (bgm終わ v)\n\n@intro2\n\nwhen flag clicked\npoint in direction (90)\nset rotation style [all around v]\nset size to (100) %\ngo to x: (0) y: (120)\nset [上 v] to [0]\nset [上2 v] to [0]\nset [上3 v] to [0]\nset [上4 v] to [0]\nset [上5 v] to [0]\nset [brightness v] effect to (0)\nerase all\nhide\nreset timer\nstart sound [Prismo - Weakness v]\nrepeat (2)\n    set pen size to (100)\n    set pen color to (#000000)\n    repeat (15)\n        pen down\n        change pen size by (60)\n    end\n    pen up\n    wait (0) seconds\n    set pen size to (100)\n    set pen color to (#fafafa)\n    repeat (15)\n        pen down\n        change pen size by (60)\n    end\n    pen up\n    wait (0) seconds\nend\ngo to [front v] layer\nクローン [1]\nタイマー [3.199]\nクローン [2]\nタイマー [3.299]\nクローン [3]\nタイマー [3.399]\nクローン [4]\nタイマー [3.499]\nクローン [5]\nタイマー [3.599]\nクローン [6]\nタイマー [6.864]\ngo to [front v] layer\nクローン [7]\nクローン [8]\nタイマー [7.821]\nクローン [9]\nクローン [10]\nタイマー [10]\nクローン [11]\nタイマー [13.519]\nrepeat (4)\n    クローン [12]\nend\nstart sound [〆 v]\n\ndefine クローン (番号)\nswitch costume to (番号)\ncreate clone of (_myself_ v)\n\ndefine タイマー (何秒まで)\nwait until <(timer) > (何秒まで)>\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    go to x: (0) y: (180)\n    show\n    glide (0.6) secs to x: (0) y: (-180)\n    set pen size to (100)\n    set pen color to (#fa0000)\n    hide\n    repeat (15)\n        pen down\n        change pen size by (60)\n    end\n    pen up\n    wait (0) seconds\n    タイマー [8.712]\n    erase all\n    set pen size to (1000)\n    set pen color to (#000000)\n    pen down\n    pen up\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        go to x: (-10) y: (180)\n        show\n        repeat until <(round (y position)) = [0]>\n            change [上 v] by ((((0) - (y position)) / (5)) - ((上) / (4)))\n            change y by (上)\n        end\n        タイマー [4.622]\n        set [s v] to [90]\n        repeat until <(s) > ((90) + (180))>\n            change [s v] by ((s) / (8))\n            point in direction (s)\n        end\n        repeat until <(round (s)) = ((90) + (360))>\n            change [s v] by ((((90) + (360)) - (s)) / (8))\n            point in direction (s)\n        end\n        タイマー [7.821]\n        delete this clone\n    else\n        if <(costume [number v]) = [3]> then\n            go to x: (-10) y: (180)\n            show\n            repeat until <(round (y position)) = [0]>\n                change [上2 v] by ((((0) - (y position)) / (5)) - ((上2) / (4)))\n                change y by (上2)\n            end\n            タイマー [4.722]\n            set [s2 v] to [90]\n            repeat until <(s2) > ((90) + (180))>\n                change [s2 v] by ((s2) / (8))\n                point in direction (s2)\n            end\n            repeat until <(round (s2)) = ((90) + (360))>\n                change [s2 v] by ((((90) + (360)) - (s2)) / (8))\n                point in direction (s2)\n            end\n            タイマー [7.821]\n            delete this clone\n        else\n            if <(costume [number v]) = [4]> then\n                go to x: (-10) y: (180)\n                show\n                repeat until <(round (y position)) = [0]>\n                    change [上3 v] by ((((0) - (y position)) / (5)) - ((上3) / (4)))\n                    change y by (上3)\n                end\n                タイマー [4.822]\n                set [s3 v] to [90]\n                repeat until <(s3) > ((90) + (180))>\n                    change [s3 v] by ((s3) / (8))\n                    point in direction (s3)\n                    repeat until <(round (s3)) = ((90) + (360))>\n                        change [s3 v] by ((((90) + (360)) - (s3)) / (8))\n                        point in direction (s3)\n                    end\n                    タイマー [7.821]\n                    delete this clone\n                end\n            else\n                if <(costume [number v]) = [5]> then\n                    go to x: (-10) y: (180)\n                    show\n                    repeat until <(round (y position)) = [0]>\n                        change [上4 v] by ((((0) - (y position)) / (5)) - ((上4) / (4)))\n                        change y by (上4)\n                    end\n                    タイマー [4.922]\n                    set [s4 v] to [90]\n                    repeat until <(s4) > ((90) + (180))>\n                        change [s4 v] by ((s4) / (8))\n                        point in direction (s4)\n                    end\n                    repeat until <(round (s4)) = ((90) + (360))>\n                        change [s4 v] by ((((90) + (360)) - (s4)) / (8))\n                        point in direction (s4)\n                    end\n                    タイマー [7.821]\n                    delete this clone\n                else\n                    if <(costume [number v]) = [6]> then\n                        go to x: (-10) y: (180)\n                        show\n                        repeat until <(round (y position)) = [0]>\n                            change [上5 v] by ((((0) - (y position)) / (5)) - ((上5) / (4)))\n                            change y by (上5)\n                        end\n                        タイマー [5.022]\n                        set [s5 v] to [90]\n                        repeat until <(s5) > ((90) + (180))>\n                            change [s5 v] by ((s5) / (8))\n                            point in direction (s5)\n                        end\n                        repeat until <(round (s5)) = ((90) + (360))>\n                            change [s5 v] by ((((90) + (360)) - (s5)) / (8))\n                            point in direction (s5)\n                        end\n                        タイマー [7.821]\n                        delete this clone\n                    else\n                        if <(costume [number v]) = [7]> then\n                            go to x: (-345) y: (0)\n                            show\n                            repeat until <(round (x position)) = [-100]>\n                                change x by (((-100) - (x position)) / (5))\n                            end\n                            タイマー [8.70]\n                            delete this clone\n                        else\n                            if <(costume [number v]) = [8]> then\n                                go to x: (345) y: (0)\n                                show\n                                repeat until <(round (x position)) = [100]>\n                                    change x by (((100) - (x position)) / (5))\n                                end\n                                タイマー [8.70]\n                                delete this clone\n                            else\n                                if <(costume [number v]) = [9]> then\n                                    go to x: (0) y: (345)\n                                    show\n                                    repeat until <(round (y position)) = [90]>\n                                        change y by (((90) - (y position)) / (5))\n                                    end\n                                    タイマー [8.75]\n                                    set [brightness v] effect to (100)\n                                    repeat until <(round (y position)) = [200]>\n                                        change y by (((200) - (y position)) / (8))\n                                    end\n                                    タイマー [14.5]\n                                    delete this clone\n                                else\n                                    if <(costume [number v]) = [10]> then\n                                        go to x: (0) y: (-345)\n                                        show\n                                        repeat until <(round (y position)) = [-90]>\n                                            change y by (((-90) - (y position)) / (5))\n                                        end\n                                        タイマー [8.75]\n                                        set [brightness v] effect to (100)\n                                        repeat until <(round (y position)) = [-200]>\n                                            change y by (((-200) - (y position)) / (8))\n                                        end\n                                        タイマー [14.5]\n                                        delete this clone\n                                    else\n                                        if <(costume [number v]) = [11]> then\n                                            go to x: (-20) y: (0)\n                                            hide\n                                            タイマー [10.122]\n                                            set [s v] to [70]\n                                            show\n                                            point in direction (90)\n                                            repeat (2)\n                                                set [s v] to [70]\n                                                repeat (46)\n                                                    set [s v] to (((s) * (0.75)) + (((90) - (direction)) * (0.3)))\n                                                    turn right (s) degrees\n                                                end\n                                                wait (0.03) seconds\n                                            end\n                                            repeat (10)\n                                                change [ghost v] effect by (10)\n                                            end\n                                            delete this clone\n                                        else\n                                            if <(costume [number v]) = [12]> then\n                                                go to x: (600) y: (0)\n                                                show\n                                                repeat until <(round (x position)) = [-40]>\n                                                    change x by (((-40) - (x position)) / (10))\n                                                end\n                                                erase all\n                                                タイマー [16]\n                                                repeat (10)\n                                                    change [ghost v] effect by (10)\n                                                end\n                                                delete this clone\n                                            else\n                                                if <<(costume [number v]) = [13]> or <<(costume [number v]) = [14]> or <(costume [number v]) = [15]>>> then\n                                                    go to [front v] layer\n                                                    show\n                                                    set [θ v] to [0]\n                                                    repeat until <(timer) > [14]>\n                                                        change [θ v] by (1)\n                                                        change y by ([sin v] of (θ) )\n                                                    end\n                                                    delete this clone\n                                                else\n                                                    if <(costume [number v]) = [16]> then\n                                                        set [ghost v] effect to (0)\n                                                        go to x: (-121) y: (24)\n                                                        show\n                                                        set size to (100) %\n                                                        repeat (20)\n                                                            change [ghost v] effect by (5)\n                                                            change size by (5)\n                                                        end\n                                                        hide\n                                                        set [ghost v] effect to (0)\n                                                        タイマー [10.122]\n                                                        go to x: (130) y: (-25)\n                                                        set size to (100) %\n                                                        show\n                                                        repeat (20)\n                                                            change [ghost v] effect by (5)\n                                                            change size by (5)\n                                                        end\n                                                        hide\n                                                        set [ghost v] effect to (0)\n                                                        wait (1.15) seconds\n                                                        set size to (100) %\n                                                        set [ghost v] effect to (0)\n                                                        go to x: (-121) y: (24)\n                                                        show\n                                                        repeat (20)\n                                                            change [ghost v] effect by (5)\n                                                            change size by (5)\n                                                        end\n                                                        hide\n                                                        set [ghost v] effect to (0)\n                                                        delete this clone\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nset [順番 v] to [1]\nrepeat (8)\n    add (item (順番) of [元x v]) to [場所x v]\n    add (item (順番) of [元y v]) to [場所y v]\n    change [順番 v] by (1)\nend\nタイマー [3.119]\nrepeat (8)\n    go to x: (item (1) of [場所x v]) y: (item (1) of [場所y v])\n    クローン (pick random (13) to (15))\n    delete (1) of [場所x v]\n    delete (1) of [場所y v]\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        erase all\n        stop all sounds\n        stop [other scripts in sprite v]\n        stop [other scripts in sprite v]\n        broadcast (スタート v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nタイマー [4.622]\nクローン [16]\nタイマー [16]\nbroadcast (スタート v)\n\nwhen I start as a clone\nforever\n    if <mouse down?> then\n        delete this clone\n    end\nend\n\n@スプライト5\n\nwhen I receive [さようなら v]\nset size to (100) %\nset [id v] to [1]\nset [θしい v] to [0]\nshow\nrepeat until <(ステージ) = [10]>\n    change [θしい v] by (5)\n    change size by ([sin v] of (θしい) )\nend\nhide\nwait until <(ステージ) = [17]>\nshow\nrepeat until <(ステージ) = [18]>\n    change [θしい v] by (5)\n    change size by ([sin v] of (θしい) )\nend\n\nwhen flag clicked\ngo to x: (220) y: (160)\nhide\n\nwhen I receive [結果発表終了 v]\nstop [other scripts in sprite v]\nhide\n\n@スプライト10\n\nwhen flag clicked\nset [だめ v] to [0]\nhide\n\nwhen I receive [さようなら v]\ncreate clone of (_myself_ v)\n\nwhen I receive [結果発表終了 v]\nhide\n\nwhen I start as a clone\ngo to x: (195) y: (115)\ngo to [front v] layer\nset [スキップ回数 v] to [5]\ngo [backward v] (4) layers\nset [ghost v] effect to (50)\nshow\nrepeat until <(ステージ) = [19]>\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        wait (0) seconds\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            if <not <(スキップ回数) = [0]>> then\n                broadcast (ネクストステージ v)\n                set [だめ v] to [1]\n                change [スキップ回数 v] by (-1)\n                wait (1) seconds\n            else\n            end\n        end\n    end\nend\nhide\n\nwhen I start as a clone\nforever\n    if <(ステージ) = [18]> then\n        delete this clone\n    else\n        show\n    end\nend\n\n@スプライト12\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\ngo to x: (210) y: (-150)\nset [ghost v] effect to (50)\nshow\nforever\n    go to [front v] layer\nend\n\n