プラットフォーマーplatformer 日本語版

Instructions: ゴールの時に、♡と☆を押して隠しステージに行け！！\n体力ゲージもあるよ！！無くならないようにしよう！！\n無くなってしまったら戻されてしまうよ！注意しよう！\nたまにバグってしまいますが,ご了承ください。\n但し,致命的なバグなら直ちに修正いたします。\nコメ欄にてお早めにお知らせください。↓原作が消えた…\n原作の@--XPlatformerBoy--さんに感謝致します！！\n✦✦✦使い方✦✦✦\n矢印キーを使ってプレイヤーを動かします。\n棘と溶岩に触れないでください！モバイルにも対応！！\n✦✦✦クレジット✦✦✦\n@-Ekdaukin,@--AwesomeCode--,\n@RadarX,@kumanomikun622 \n✦✦✦バグ修正＆報告✦✦✦\n2023/01/29 19:00頃 プラフォ公開！！\n2023/01/30 07:47 クラウド変数バグ修正①\n2023/01/30 17:05 クラウド変数バグ修正②\n2023/01/30 17:06 ステージを一部改装。\n2023/01/30 18:40 隠しステージで体力切れの際の\n                             復活してくるステージを変更。\n2023/02/01 10:39 傾向1P達成←プラットフォーマー検索\n2023/02/01 10:40 傾向4位達成！！（1P→4位に訂正）\n2023/02/01 13:00頃 観覧数200達成！！thank you！！\n2023/02/01 21:35 観覧数333達成！！thank you！！\n2023/02/02 13:28 観覧数444突破！！thank you！！\n2023/02/02 19:50 観覧数555突破！！thank you！！\n2023/02/03 07:00 クラウド変数バグ修正③\n2023/02/03 09:30頃 観覧数666突破！！thank you！！\n2023/02/03 13:08 傾向4位→傾向5位 傾向少し落ちた…\n2023/02/03 14:00頃 観覧数777突破！！thank you！！\n2023/02/03 18:00頃 観覧数888突破！！thank you！！\n2023/02/03 20:06 観覧数999突破！！thank you！！\n2023/02/03 20:07 観覧数1000突破！！感謝しかない！\n2023/02/03 21:47 観覧数1111突破！！ゾロ目嬉しい！w\n2023/02/03 21:58 傾向5位→傾向2位！ 傾向UP！！\n2023/02/04 12:30 新ステージ追加！！合計14ステージに\n2023/02/04 13:58 傾向2P達成←platformer検索\n2023/02/04 14:26 傾向1位達成！！←日本語検索 でwww\n2023/02/04 18:13 観覧数1500突破！！thank you！！\n2023/02/06 12:11 傾向2位→傾向6位 超落ちた…(´°̥̥̥̥̥̥̥̥ω°̥̥̥̥̥̥̥̥｀)\n2023/02/07 11:32 傾向6位→傾向7位 ガーン！… ∑(ﾟДﾟ)\n2023/02/08 07:33 傾向7位→傾向8位 ﾁｰﾝ(O_O)…\n2023/02/08 21:23 間違えて共有をやめる、、、\n2023/02/09 19:00 観覧数2000突破！！thank you！！\n2023/02/10 08:20 傾向8位→傾向9位 ﾀﾋんだー(＞人＜;)\n2023/02/11 07:50 傾向9位→傾向8位 少し救われた〜！\n2023/02/12 08:15 傾向8位→傾向9位 (°▽°)ｱ､､､戻ったー\n2023/02/12 21:40 傾向9位→傾向11位 時代は終わった…\n2023/02/13 07:25 傾向11位→傾向10位 もっと！！(ﾟ∀ﾟ)\n2023/02/14 09:05 傾向10位→傾向11位  絶賛停滞中、…\n2023/02/?? ??:?? 観覧数2500突破！！\n2023/02/?? ??:?? 観覧数3000突破！！\n2023/02/?? ??:?? 観覧数3500突破！！\n2023/02/?? ??:?? 観覧数4000突破！！\n2023/02/?? ??:?? 観覧数4500突破！！\n2023/02/?? ??:?? 観覧数5000突破！！(O_O)す,すげぇ…\n2023/02/?? ??:?? 観覧数6000突破！！

@Stage\n\nwhen flag clicked\nbroadcast (start v)\nwait (10) seconds\nbroadcast (\[Intro\] over v)\nforever\n    play sound (pick random (1) to (3)) until done\nend\n\n@地面\n\nwhen I receive [\[intro\] over v]\nshow\nset [ステージ/a stage v] to [1]\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    switch costume to (ステージ/A stage)\nend\n\nwhen flag clicked\nhide variable [タイム/a thyme v]\nhide\n\n@とげ\n\nwhen I receive [\[intro\] over v]\nshow\nset [ステージ/a stage v] to [1]\nforever\n    switch costume to (ステージ/A stage)\nend\n\nwhen flag clicked\nhide variable [タイム/a thyme v]\nhide variable [ステージ/a stage v]\nhide\n\nset [ステージ/a stage v] to [8]\n\nwhen I receive [\[intro\] over v]\nhide variable [ステージ/a stage v]\nhide variable [タイム/a thyme v]\nhide variable [タイム予備 v]\nset [タイム/a thyme v] to [0]\nreset timer\nforever\n    set [タイム/a thyme v] to (timer)\n    if <(ステージ/A stage) = [8]> then\n        if <(タイム/A thyme) < (☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____The fastest time!)> then\n            if <not <(username) = [hero-1011]>> then\n                set [☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____the fastest time! v] to (タイム/A thyme)\n            end\n        end\n        show variable [タイム/a thyme v]\n        show variable [☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____the fastest time! v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [\[intro\] over v]\nset [タイム予備 v] to [0]\nreset timer\nforever\n    set [タイム予備 v] to (timer)\nend\n\nset [タイム/a thyme v] to [0]\nset [タイム予備 v] to [0]\n\nwhen [timer v] > (タイム予備)\nhide variable [☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____the fastest time! v]\nhide variable [☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿the fastest time of hidden goals! v]\nhide variable [ステージ/a stage v]\nhide variable [タイム/a thyme v]\nhide variable [タイム予備 v]\n\nset [ステージ/a stage v] to [14]\n\nwhen flag clicked\nforever\n    if <not <(ステージ/A stage) = [8]>> then\n        set [タイム/a thyme v] to (timer)\n        if <(ステージ/A stage) = [14]> then\n            if <(タイム/A thyme) < (☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿The fastest time of hidden goals!)> then\n                if <not <(username) = [hero-1011]>> then\n                    set [☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿the fastest time of hidden goals! v] to (タイム/A thyme)\n                end\n                show variable [タイム/a thyme v]\n                show variable [☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿the fastest time of hidden goals! v]\n                stop [this script v]\n            end\n        end\n    end\nend\n\n@溶岩\n\nwhen flag clicked\nhide\n\nwhen I receive [\[intro\] over v]\nhide\nset [ステージ/a stage v] to [1]\nforever\n    show\n    go to [back v] layer\n    set y to (マグマ)\n    switch costume to (ステージ/A stage)\nend\n\nwhen I receive [\[intro\] over v]\nhide\nforever\n    set [マグマ v] to [0]\n    repeat (10)\n        change [マグマ v] by (1)\n    end\n    repeat (20)\n        change [マグマ v] by (-1)\n    end\n    repeat (10)\n        change [マグマ v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ/A stage) = [8]> then\n        show variable [☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____the fastest time! v]\n    else\n        hide variable [☁ 最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿____the fastest time! v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ/A stage) = [14]> then\n        show variable [☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿the fastest time of hidden goals! v]\n    else\n        hide variable [☁ 隠しゴールの最速タイム！＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿the fastest time of hidden goals! v]\n    end\nend\n\n@プレイヤートレイル\n\nwhen flag clicked\nswitch costume to (赤 v)\nhide\nset [長さ v] to [50]\n\nwhen I start as a clone\nshow\nrepeat (長さ)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [\[intro\] over v]\nforever\n    set [コスチューム v] to ([costume name v] of [プレイヤー v])\n    set [方向 v] to ([方向 v] of [プレイヤー v])\n    set [y v] to ([y position v] of [プレイヤー v])\n    set [x v] to ([x position v] of [プレイヤー v])\n    switch costume to (コスチューム)\n    point in direction (方向)\n    go to x: (x) y: (y)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [die v]\nhide\nwait (1) seconds\nshow\n\n@♡と☆探知器\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [アクション\(♡/☆\) v] to [0]\nforever\n    set [カウント\(♡/☆\) v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (空 v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [カウント\(♡/☆\) v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(カウント\(♡/☆\)) = [love]>\n    wait (0.2) seconds\n    if <<(カウント\(♡/☆\)) = [love]> and <(ステージ/A stage) = [8]>> then\n        change [アクション\(♡/☆\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(カウント\(♡/☆\)) = [fave]>\n    wait (0.2) seconds\n    if <<(カウント\(♡/☆\)) = [fave]> and <(ステージ/A stage) = [8]>> then\n        change [アクション\(♡/☆\) v] by (1)\n        stop [this script v]\n    end\nend\n\n@プレイヤー\n\nwhen flag clicked\ndelete all of [状態 v]\nset rotation style [left-right v]\nreset\nsetup platformer\nbroadcast (Next Level v)\n\ndefine reset\nset [xベル v] to [0]\nset [yベル v] to [0]\nplay sound [High Whoosh v] until done\ngo to x: (-216) y: (0)\n\nwhen I receive [next level v]\nreset\n\ndefine setup platformer\nset [状態 v] to [7]\nset [重力 v] to [10]\nset [ジャンプ力 v] to [15]\nset [速度 v] to [1]\nset [ステージ/a stage v] to [1]\n\nwhen I receive [\[intro\] over v]\nforever\n    Show Health (状態) of [7] offset y [-40]\n    if <(状態) < [1]> then\n        start sound [Wood Tap v]\n        broadcast (__Screen Wipe v)\n        if <<[0] < (ステージ/A stage)> and <[8] > (ステージ/A stage)>> then\n            set [ステージ/a stage v] to [1]\n            set [状態 v] to [7]\n        else\n            if <[8] = (ステージ/A stage)> then\n                set [ステージ/a stage v] to [8]\n                set [状態 v] to [7]\n            else\n                if <[8] < (ステージ/A stage)> then\n                    set [ステージ/a stage v] to [9]\n                    set [状態 v] to [7]\n                end\n            end\n        end\n    end\n    left and right controls\n    wall sensing bug\n    wall sensing bug\n    wall sensing bug\n    wall sensing bug\n    walljumping/sensing\n    wall sensing\n    jumping\n    if <(x position) > [239]> then\n        broadcast (__Screen Wipe v)\n        broadcast (Next Level v) and wait\n        change [ステージ/a stage v] by (1)\n    end\n    if <<touching (溶岩 v)?> or <<touching (とげ v)?> or <touching (のこぎり v)?>>> then\n        if <(アクション\(♡/☆\)) = [0]> then\n            broadcast (die v)\n            start sound [Wood Tap v]\n            change [状態 v] by (-1)\n            hide\n            wait (1) seconds\n            show\n            reset\n        end\n    end\n    if <touching (trampoline v)?> then\n        start sound [jump1 v]\n        set [yベル v] to [20]\n    end\nend\n\ndefine left and right controls\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xベル v] by ((速度) - ((速度) * (2)))\n    set [方向 v] to [-90]\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xベル v] by (速度)\n    set [方向 v] to [90]\nend\nset [xベル v] to ((xベル) * (0.9))\nchange x by (xベル)\n\ndefine walljumping/sensing\nif <<touching (地面 v)?> or <touching (movin platformer v)?>> then\n    change y by (-4)\n    change x by ((xベル) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(xベル) > ((重力) + ((重力) - ((重力) * (2))))> then\n            set [xベル v] to (round ((重力) - ((重力) * (2))))\n        else\n            set [xベル v] to (round (重力))\n        end\n        set [yベル v] to ((重力) + ((重力) - ((重力) / (2))))\n    else\n        set [xベル v] to ((重力) + ((重力) - ((重力) * (2))))\n    end\nend\n\ndefine wall sensing\nchange [yベル v] by ((((重力) + ((重力) - ((重力) * (2)))) + (1)) * (-1))\nchange y by (yベル)\nif <<touching (地面 v)?> or <touching (movin platformer v)?>> then\n    change y by ((yベル) - ((yベル) * (2)))\n    set [yベル v] to ((重力) + ((重力) - ((重力) * (2))))\nend\nchange y by (-1)\n\ndefine jumping\nif <<<touching (地面 v)?> or <touching (movin platformer v)?>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    start sound [jump1 v]\n    set [yベル v] to (ジャンプ力)\nend\nchange y by (1)\n\nwhen I receive [\[intro\] over v]\nshow\nforever\n    broadcast (forever loop v)\nend\n\nwhen I receive [forever loop v]\npoint in direction (方向)\nset [x v] to (round (x position))\nset [y v] to (round (y position))\n\ndefine Show Health (health) of (max) offset y (y)\nadd (x position) to [状態 v]\nadd ((y position) + (y)) to [状態 v]\nadd ((health) / (max)) to [状態 v]\ncreate clone of (hpバー v)\n\nwhen flag clicked\nswitch costume to (赤 v)\nhide\n\nwhen flag clicked\nset [アクション\(♡/☆\) v] to [0]\nforever\n    if <(アクション\(♡/☆\)) = [2]> then\n        switch costume to (エメラルド v)\n    else\n        switch costume to (赤 v)\n    end\nend\n\ndefine wall sensing bug\nif <<touching (地面 v)?> or <touching (movin platformer v)?>> then\n    change y by (1)\nend\n\nwhen flag clicked\nwait until <(ステージ/A stage) = [4]>\nrepeat until <not <(ステージ/A stage) = [4]>>\n    if <touching (hp回復 v)?> then\n        broadcast (回復 v)\n        repeat (2)\n            play sound [respawn v] until done\n        end\n        stop [this script v]\n    end\nend\nstop [this script v]\n\nwhen I receive [回復 v]\nset [状態 v] to [7]\n\nwhen flag clicked\nwait until <(ステージ/A stage) = [7]>\nrepeat until <not <(ステージ/A stage) = [7]>>\n    if <touching (hp回復 v)?> then\n        broadcast (回復 v)\n        repeat (2)\n            play sound [respawn v] until done\n        end\n        stop [this script v]\n    end\nend\nstop [this script v]\n\nwhen flag clicked\nwait until <(ステージ/A stage) = [9]>\nset [アクション\(♡/☆\) v] to [0]\n\n@HPバー\n\nwhen flag clicked\nhide\ndelete all of [状態 v]\n\nwhen I start as a clone\nset x to (item (1) of [状態 v])\nset y to (item (2) of [状態 v])\nswitch costume to ((10) * (item (3) of [状態 v]))\ndelete (1) of [状態 v]\ndelete (1) of [状態 v]\ndelete (1) of [状態 v]\nif <not <touching (_edge_ v)?>> then\n    go to [front v] layer\n    show\n    wait (0) seconds\nend\ndelete this clone\n\ndefine show health bar (health) of (max) offset y (y)\nadd (x position) to [状態 v]\nadd ((y position) + (y)) to [状態 v]\nadd ((health) / (max)) to [状態 v]\ncreate clone of (hpバー v)\n\nwhen I start as a clone\nforever\n    if <(次へ) = [die]> then\n        go to [front v] layer\n        hide\n        wait (0) seconds\n        delete this clone\n    else\n        show\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@モバイル対応\n\nwhen I receive [\[intro\] over v]\nhide\nforever\n    if <mouse down?> then\n        set [ghost v] effect to (50)\n        go to (mouse-pointer v)\n        show\n        wait until <not <mouse down?>>\n        hide\n    end\nend\n\n@モバイル対応 \n\ndefine block name\nif <(mouse x) > (x position)> then\n    repeat until <<(round (x position)) = (round (mouse x))> or <(round (x position)) > (([x position v] of [モバイル対応 v]) + (19))>>\n        change x by (1)\n    end\nelse\n    if <(x position) > (mouse x)> then\n        repeat until <<(round (x position)) = (round (mouse x))> or <(([x position v] of [モバイル対応 v]) + (-19)) > (round (x position))>>\n            change x by (-1)\n        end\n    end\nend\nif <(mouse y) > (y position)> then\n    repeat until <<(round (y position)) = (round (mouse y))> or <(round (y position)) > (([y position v] of [モバイル対応 v]) + (19))>>\n        change y by (1)\n    end\nelse\n    if <(y position) > (mouse y)> then\n        repeat until <<(round (y position)) = (round (mouse y))> or <(([y position v] of [モバイル対応 v]) + (-19)) > (round (y position))>>\n            change y by (-1)\n        end\n    end\nend\n\nwhen I receive [\[intro\] over v]\npoint in direction (90)\nhide\nforever\n    if <mouse down?> then\n        set [ghost v] effect to (50)\n        go to (モバイル対応 v)\n        show\n        repeat until <not <mouse down?>>\n            block name\n        end\n        hide\n    end\nend\n\n@♡と☆を押してね\n\nwhen flag clicked\nhide\nwait until <(ステージ/A stage) = [8]>\nhide\n\nwhen flag clicked\nwait (2.5) seconds\nforever\n    go to [front v] layer\nend\n\nwhen I receive [\[intro\] over v]\nshow\ngo to x: (0) y: (0)\nforever\n    if <(アクション\(♡/☆\)) < [2]> then\n        switch costume to (♡と☆を押してね v)\n        go to x: (-80) y: (120)\n        show\n        go to [front v] layer\n        repeat (14)\n            change y by (-6)\n        end\n        repeat (2)\n            repeat (6)\n                change y by (3)\n            end\n            repeat (6)\n                change y by (-2)\n            end\n        end\n        wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        stop [this script v]\n    else\n        hide\n        stop [this script v]\n    end\nend\n\n@のこぎり\n\nwhen I receive [\[intro\] over v]\ngo to [back v] layer\nforever\n    if <(ステージ/A stage) = [6]> then\n        go to x: (0) y: (-104)\n        show\n        repeat (50)\n            turn right (8) degrees\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [\[intro\] over v]\nforever\n    if <not <(ステージ/A stage) = [6]>> then\n        hide\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\nwhen I receive [\[intro\] over v]\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@HP回復\n\nwhen flag clicked\nhide variable [ステージ/a stage v]\nhide\nforever\n    hide\n    if <(ステージ/A stage) = [4]> then\n        show\n        go to [front v] layer\n        if <touching (プレイヤー v)?> then\n            wait (0.1) seconds\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [\[intro\] over v]\ngo to x: (36) y: (50)\nshow variable [ステージ/a stage v]\n\nwhen flag clicked\nhide variable [ステージ/a stage v]\nhide\nwait until <(ステージ/A stage) = [5]>\nforever\n    hide\n    if <(ステージ/A stage) = [7]> then\n        show\n        go to [front v] layer\n        if <touching (プレイヤー v)?> then\n            wait (0.1) seconds\n            hide\n            stop [this script v]\n        end\n    end\nend\n\n@hero-1011\n\ndefine //clone.create (id) (repetition)\nrepeat (repetition)\n    set [//clone.id v] to (id)\n    create clone of (_myself_ v)\nend\n\ndefine Initial setting // place (x) (y) size (size) angle (angle) costume (costume)\nshow\nclear graphic effects\nswitch costume to (blank v)\ngo to [front v] layer\nCoordinate // x [0] y [0] d [90] s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume (costume)\nCoordinate // x (x) y (y) d (angle) s (size) [0] x.setting [0] y.setting [0] d.setting [0] costume (costume)\n\ndefine size [big] (size)\nif <((size) - (1)) < (size)> then\n    switch costume to (blank v)\nend\n\ndefine size [small] (size)\nif <(size) < ((size) + (1))> then\n    switch costume to (fill v)\nend\n\ndefine time (time)\nwait until <(time) < (timer)>\n\ndefine Coordinate // x (x) y (y) d (d) s (s) (standard) x.setting (x.s) y.setting (y.s) d.setting (d.s) costume (costume)\nset size to (1000000) %\nif <not <(x) = []>> then\n    set x to ((((([sin v] of (item (1) of [//設定 v]) ) * (x)) - (([cos v] of (item (1) of [//設定 v]) ) * (y))) * (((item (2) of [//設定 v]) - (standard)) / (100))) + ((item (3) of [//設定 v]) - (x.s)))\nend\nif <not <(y) = []>> then\n    set y to ((((([sin v] of (item (1) of [//設定 v]) ) * (y)) + (([cos v] of (item (1) of [//設定 v]) ) * (x))) * (((item (2) of [//設定 v]) - (standard)) / (100))) + ((item (4) of [//設定 v]) - (y.s)))\nend\nif <not <(d) = []>> then\n    point in direction (((item (1) of [//設定 v]) - (d.s)) + ((d) - (90)))\nend\nif <not <(s) = []>> then\n    set size to ((s) + ((item (2) of [//設定 v]) - ((standard) + (100)))) %\nend\nswitch costume to (costume)\n\ndefine Add to list.// (number) (place) (type)\nif <(type) = [1]> then\n    replace item (place) of [//設定 v] with ((item (place) of [//設定 v]) + (number))\nend\nif <(type) = [2]> then\n    replace item (place) of [clone.setting v] with ((item (place) of [clone.setting v]) + (number))\nend\nif <(type) = [3]> then\n    replace item (place) of [sw v] with ((item (place) of [sw v]) + (number))\nend\nif <(type) = [4]> then\n    replace item (place) of [tentative v] with ((item (place) of [tentative v]) + (number))\nend\n\nwhen I receive [start v]\nreset timer\nhide\nset [//clone.id v] to []\nset [camera v] to [no]\nstart sound [Porter Robinson & Madeon - Shelter v]\nlist.setting\ntime [0.6]\n//clone.create [text] [1]\n//clone.create [setting] [1]\ntime [1]\nSW3,4 // place [0] [0] [250] [90] repetition [1] depth [1000] color [100] [0] type [3]\nSW3,4 // place [150] [0] [160] [90] repetition [1] depth [1000] color [100] [0] type [3]\nSW3,4 // place [-150] [0] [160] [90] repetition [1] depth [1000] color [100] [0] type [3]\ntime (item (1) of [時間設定 v])\n//clone.create [frame] [1]\n//clone.create [flash] [1]\nSW.1,2 // repetition [10] place [0] [0] [170] depth [0] color [0] [-87] type [1]\nSW3,4 // place [150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [4]\nSW3,4 // place [-150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [4]\nSW3,4 // place [0] [0] [250] [90] repetition [1] depth [0] color [0] [-87] type [4]\nAdd to list.// ((91) - (item (1) of [clone.setting v])) [1] [1]\nSW3,4 // place [240] [0] [120] [45] repetition [1] depth [0] color [0] [-87] type [3]\nSW3,4 // place [-240] [0] [120] [45] repetition [1] depth [0] color [0] [-87] type [3]\nSW3,4 // place [240] [0] [220] [45] repetition [1] depth [0] color [0] [-87] type [3]\nSW3,4 // place [-240] [0] [220] [45] repetition [1] depth [0] color [0] [-87] type [3]\nSW.1,2 // repetition [10] place [0] [0] [170] depth [0] color [0] [-87] type [2]\ntime [3.4]\nSW.1,2 // repetition [10] place [0] [0] [270] depth [0] color [0] [-87] type [2]\ntime (item (4) of [時間設定 v])\nSW3,4 // place [0] [0] [250] [90] repetition [1] depth [1000] color [0] [-87] type [3]\nSW3,4 // place [150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [3]\nSW3,4 // place [-150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [3]\ntime (item (5) of [時間設定 v])\nSW.1,2 // repetition [4] place [150] [0] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [4] place [-150] [0] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [10] place [0] [0] [270] depth [0] color [0] [-87] type [2]\ntime (item (8) of [時間設定 v])\nSW.1,2 // repetition [10] place [0] [0] [170] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [8] place [220] [0] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [8] place [-220] [0] [100] depth [0] color [0] [-87] type [1]\ntime (item (9) of [時間設定 v])\nSW3,4 // place [0] [0] [250] [90] repetition [1] depth [1000] color [0] [-87] type [3]\nSW3,4 // place [150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [3]\nSW3,4 // place [-150] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [3]\nSW.1,2 // repetition [8] place [0] [150] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [8] place [0] [-150] [100] depth [0] color [0] [-87] type [1]\ntime ((item (9) of [時間設定 v]) + (0.5))\nSW.1,2 // repetition [10] place [0] [0] [200] depth [0] color [0] [-87] type [2]\ntime (item (10) of [時間設定 v])\nSW.1,2 // repetition [8] place [0] [150] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [8] place [0] [-150] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [4] place [150] [0] [100] depth [0] color [0] [-87] type [1]\nSW.1,2 // repetition [4] place [-150] [0] [100] depth [0] color [0] [-87] type [1]\nSW3,4 // place [0] [0] [160] [90] repetition [1] depth [1000] color [0] [-87] type [4]\n//clone.create [curtain2] [1]\nwait (0.15) seconds\n//clone.create [curtain1] [1]\ntime [10]\nbroadcast (end v)\n\ndefine list.setting\ndelete all of [//設定 v]\ndelete all of [clone.setting v]\ndelete all of [sw v]\ndelete all of [tentative v]\nrepeat (30)\n    add [0] to [clone.setting v]\n    add [0] to [sw v]\n    add [0] to [tentative v]\nend\nadd [90] to [//設定 v]\nadd [100] to [//設定 v]\nadd [0] to [//設定 v]\nadd [0] to [//設定 v]\nadd [91] to [//設定 v]\ntime.setting\n\ndefine Image effect // type (type) number (number) change (change)\nif <(change) = [1]> then\n    if <(type) = [1]> then\n        change [color v] effect by (number)\n    else\n        if <(type) = [2]> then\n            change [fisheye v] effect by (number)\n        else\n            if <(type) = [3]> then\n                change [whirl v] effect by (number)\n            else\n                if <(type) = [4]> then\n                    change [pixelate v] effect by (number)\n                else\n                    if <(type) = [5]> then\n                        change [mosaic v] effect by (number)\n                    else\n                        if <(type) = [6]> then\n                            change [brightness v] effect by (number)\n                        else\n                            if <(type) = [7]> then\n                                change [ghost v] effect by (number)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nelse\n    if <(type) = [1]> then\n        set [color v] effect to (number)\n    else\n        if <(type) = [2]> then\n            set [fisheye v] effect to (number)\n        else\n            if <(type) = [3]> then\n                set [whirl v] effect to (number)\n            else\n                if <(type) = [4]> then\n                    set [pixelate v] effect to (number)\n                else\n                    if <(type) = [5]> then\n                        set [mosaic v] effect to (number)\n                    else\n                        if <(type) = [6]> then\n                            set [brightness v] effect to (number)\n                        else\n                            if <(type) = [7]> then\n                                set [ghost v] effect to (number)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nshow\nif < (//clone.ID) contains [SW.]?> then\n    if < (//clone.ID) contains [1]?> then\n        Initial setting // place (item (1) of [sw v]) (item (2) of [sw v]) size (item (3) of [sw v]) angle (item (4) of [sw v]) costume (join (//clone.ID) [-1])\n        Coordinate // x (([cos v] of ((90) - (direction)) ) + (item (1) of [sw v])) y (([sin v] of ((90) - (direction)) ) + (item (2) of [sw v])) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (join (//clone.ID) [-1])\n        Add to list.// ((x position) - (item (1) of [clone.setting v])) [1] [2]\n        Add to list.// ((y position) - (item (2) of [clone.setting v])) [2] [2]\n        Add to list.// (((item (3) of [sw v]) / (10)) - (item (3) of [clone.setting v])) [3] [2]\n        go [backward v] (item (5) of [sw v]) layers\n        Image effect // type [1] number (item (7) of [sw v]) change [2]\n        Image effect // type [6] number (item (6) of [sw v]) change [2]\n        repeat (18)\n            go to [front v] layer\n            go [backward v] (item (5) of [sw v]) layers\n            Add to list.// (((0) - (item (3) of [clone.setting v])) / (7)) [3] [2]\n            Add to list.// (([cos v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [1] [2]\n            Add to list.// (([sin v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [2] [2]\n            Coordinate // x ((1) * (item (1) of [clone.setting v])) y ((1) * (item (2) of [clone.setting v])) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n        end\n        repeat (19)\n            go to [front v] layer\n            go [backward v] (item (5) of [sw v]) layers\n            Add to list.// (((0) - (item (3) of [clone.setting v])) / (7)) [3] [2]\n            Add to list.// (([cos v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [1] [2]\n            Add to list.// (([sin v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [2] [2]\n            Coordinate // x (item (1) of [clone.setting v]) y (item (2) of [clone.setting v]) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n            next costume\n        end\n        delete this clone\n    else\n        if < (//clone.ID) contains [2]?> then\n            Initial setting // place (item (1) of [sw v]) (item (2) of [sw v]) size (item (3) of [sw v]) angle (item (4) of [sw v]) costume (join (//clone.ID) [-1])\n            Coordinate // x (([cos v] of ((90) - (direction)) ) + (item (1) of [sw v])) y (([sin v] of ((90) - (direction)) ) + (item (2) of [sw v])) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (join (//clone.ID) [-1])\n            Add to list.// ((x position) - (item (1) of [clone.setting v])) [1] [2]\n            Add to list.// ((y position) - (item (2) of [clone.setting v])) [2] [2]\n            Add to list.// (((item (3) of [sw v]) / (20)) - (item (3) of [clone.setting v])) [3] [2]\n            go [backward v] (item (5) of [sw v]) layers\n            Image effect // type [1] number (item (7) of [sw v]) change [2]\n            Image effect // type [6] number (item (6) of [sw v]) change [2]\n            repeat (5)\n                go to [front v] layer\n                go [backward v] (item (5) of [sw v]) layers\n                Add to list.// (((0) - (item (3) of [clone.setting v])) / (7)) [3] [2]\n                Add to list.// (([cos v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [1] [2]\n                Add to list.// (([sin v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [2] [2]\n                Coordinate // x ((-1) * (item (1) of [clone.setting v])) y ((-1) * (item (2) of [clone.setting v])) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n            end\n            repeat (19)\n                go to [front v] layer\n                go [backward v] (item (5) of [sw v]) layers\n                Add to list.// (((0) - (item (3) of [clone.setting v])) / (7)) [3] [2]\n                Add to list.// (([cos v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [1] [2]\n                Add to list.// (([sin v] of ((90) - (item (4) of [sw v])) ) * (item (3) of [clone.setting v])) [2] [2]\n                Coordinate // x ((-1) * (item (1) of [clone.setting v])) y ((-1) * (item (2) of [clone.setting v])) d (item (4) of [sw v]) s (item (3) of [sw v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                next costume\n            end\n            delete this clone\n        else\n            if < (//clone.ID) contains [3]?> then\n                Initial setting // place (item (1) of [sw v]) (item (2) of [sw v]) size [1] angle (item (4) of [sw v]) costume (join (//clone.ID) [-1])\n                Coordinate // x (item (1) of [sw v]) y (item (2) of [sw v]) d (item (4) of [sw v]) s [1] [0] x.setting [0] y.setting [0] d.setting [0] costume (join (//clone.ID) [-1])\n                Add to list.// ((size) - (item (1) of [clone.setting v])) [1] [2]\n                Add to list.// ((0) - (item (1) of [clone.setting v])) [2] [2]\n                go [backward v] (item (5) of [sw v]) layers\n                Image effect // type [1] number (item (7) of [sw v]) change [2]\n                Image effect // type [6] number (item (6) of [sw v]) change [2]\n                repeat (42)\n                    Add to list.// (((item (3) of [sw v]) - (item (1) of [clone.setting v])) / (4)) [1] [2]\n                    Coordinate // x (item (1) of [sw v]) y (item (2) of [sw v]) d (item (4) of [sw v]) s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    Add to list.// [1] [2] [2]\n                    if <((item (2) of [clone.setting v]) mod (3)) = [0]> then\n                        next costume\n                    end\n                end\n                delete this clone\n            else\n                if < (//clone.ID) contains [4]?> then\n                    Initial setting // place (item (1) of [sw v]) (item (2) of [sw v]) size [1] angle (item (4) of [sw v]) costume (join (//clone.ID) [-1])\n                    Coordinate // x (item (1) of [sw v]) y (item (2) of [sw v]) d (item (4) of [sw v]) s [1] [0] x.setting [0] y.setting [0] d.setting [0] costume (join (//clone.ID) [-1])\n                    Add to list.// ((size) - (item (1) of [clone.setting v])) [1] [2]\n                    Add to list.// ((0) - (item (1) of [clone.setting v])) [2] [2]\n                    go [backward v] (item (5) of [sw v]) layers\n                    Image effect // type [1] number (item (7) of [sw v]) change [2]\n                    Image effect // type [6] number (item (6) of [sw v]) change [2]\n                    repeat (42)\n                        Add to list.// (((item (3) of [sw v]) - (item (1) of [clone.setting v])) / (4)) [1] [2]\n                        Coordinate // x (item (1) of [sw v]) y (item (2) of [sw v]) d (item (4) of [sw v]) s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                        Add to list.// [1] [2] [2]\n                        if <((item (2) of [clone.setting v]) mod (3)) = [0]> then\n                            next costume\n                        end\n                    end\n                    delete this clone\n                end\n            end\n        end\n    end\nelse\n    if < (//clone.ID) contains [chev]?> then\n        Initial setting // place [0] [0] size [1] angle [90] costume (//clone.ID)\n        go to [back v] layer\n        go to [front v] layer\n        go [backward v] (3) layers\n        Coordinate // x [0] y [0] d [90] s [1] ((item (2) of [//設定 v]) - (100)) x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n        Add to list.// ((size) - (item (1) of [clone.setting v])) [1] [2]\n        forever\n            size [big] [152]\n            Add to list.// [7] [1] [2]\n            Coordinate // x [0] y [0] d [90] s (item (1) of [clone.setting v]) ((item (2) of [//設定 v]) - (100)) x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n            if <(item (1) of [時間設定 v]) < (timer)> then\n                Image effect // type [7] number [0] change [2]\n            else\n                Image effect // type [7] number [100] change [2]\n            end\n        end\n    else\n        if < (//clone.ID) contains [pattern]?> then\n            Initial setting // place [0] [0] size [100] angle [90] costume (//clone.ID)\n            forever\n                go to [front v] layer\n            end\n        else\n            if < (//clone.ID) contains [flash]?> then\n                Initial setting // place [0] [0] size [100] angle [90] costume [curtain]\n                Image effect // type [7] number [0] change [2]\n                forever\n                    Image effect // type [7] number [4] change [1]\n                    go to [front v] layer\n                end\n            else\n                if < (//clone.ID) contains [text]?> then\n                    Initial setting // place [0] [0] size [0] angle [90] costume [curtain]\n                    Coordinate // x (pick random (-2) to (2)) y (pick random (-2) to (2)) d [90] s [8] [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    Add to list.// ((size) - (item (1) of [clone.setting v])) [1] [2]\n                    Add to list.// ((x position) - (item (1) of [clone.setting v])) [3] [2]\n                    Add to list.// ((y position) - (item (1) of [clone.setting v])) [4] [2]\n                    Add to list.// ((0) - (item (2) of [clone.setting v])) [2] [2]\n                    repeat (15)\n                        Add to list.// ((((item (1) of [clone.setting v]) - (8)) + (1)) / (4)) [1] [2]\n                        Add to list.// (((item (2) of [clone.setting v]) - (-3)) / (8)) [2] [2]\n                        Add to list.// ((([sin v] of ((timer) * (350)) ) * (item (2) of [clone.setting v])) - (item (3) of [clone.setting v])) [3] [2]\n                        Add to list.// ((([cos v] of ((timer) * (350)) ) * (item (2) of [clone.setting v])) - (item (4) of [clone.setting v])) [4] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    repeat until <(item (1) of [時間設定 v]) < (timer)>\n                        Add to list.// (((100) - (item (1) of [clone.setting v])) / (6)) [1] [2]\n                        Add to list.// (((0) - (item (2) of [clone.setting v])) / (8)) [2] [2]\n                        Add to list.// ((([sin v] of ((timer) * (350)) ) * (item (2) of [clone.setting v])) - (item (3) of [clone.setting v])) [3] [2]\n                        Add to list.// ((([cos v] of ((timer) * (350)) ) * (item (2) of [clone.setting v])) - (item (4) of [clone.setting v])) [4] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    repeat until <(item (2) of [時間設定 v]) < (timer)>\n                        go to [front v] layer\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    repeat until <(item (3) of [時間設定 v]) < (timer)>\n                        go to [front v] layer\n                        Add to list.// (((65) - (item (1) of [clone.setting v])) / (4.4)) [1] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s (item (1) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    repeat until <((item (4) of [時間設定 v]) + (0.1)) < (timer)>\n                        go to [front v] layer\n                        Add to list.// (((((100) - (size)) / (10)) + ((item (1) of [clone.setting v]) * (0.6))) - (item (1) of [clone.setting v])) [1] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s ((size) + (item (1) of [clone.setting v])) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    Add to list.// ((size) - (item (10) of [clone.setting v])) [10] [2]\n                    repeat until <(item (5) of [時間設定 v]) < (timer)>\n                        go to [front v] layer\n                        Add to list.// [-10] [10] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s (item (10) of [clone.setting v]) [0] x.setting [0] y.setting [0] d.setting [0] costume (//clone.ID)\n                    end\n                    repeat until <(item (7) of [時間設定 v]) < (timer)>\n                        go to [front v] layer\n                        Add to list.// (((((100) - (size)) / (16)) + ((item (10) of [clone.setting v]) * (0.77))) - (item (10) of [clone.setting v])) [10] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s ((size) + (item (10) of [clone.setting v])) [0] x.setting [0] y.setting [0] d.setting [0] costume [logo]\n                    end\n                    Add to list.// ((direction) - (item (11) of [clone.setting v])) [11] [2]\n                    repeat until <[6.4] < (timer)>\n                        go to [front v] layer\n                        Add to list.// ((item (5) of [//設定 v]) - (item (11) of [clone.setting v])) [11] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d (item (11) of [clone.setting v]) s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume [logo]\n                    end\n                    repeat until <[6.9] < (timer)>\n                        go to [front v] layer\n                        Add to list.// (((((168) - (size)) / (14)) + ((item (10) of [clone.setting v]) * (0.77))) - (item (10) of [clone.setting v])) [10] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s ((size) + (item (10) of [clone.setting v])) [0] x.setting [0] y.setting [0] d.setting [0] costume [logo]\n                    end\n                    \n                        go to [front v] layer\n                        Add to list.// (((((100) - (size)) / (4)) + ((item (10) of [clone.setting v]) * (0.77))) - (item (10) of [clone.setting v])) [10] [2]\n                        Coordinate // x (item (3) of [clone.setting v]) y (item (4) of [clone.setting v]) d [90] s ((size) + (item (10) of [clone.setting v])) [0] x.setting [0] y.setting [0] d.setting [0] costume [logo]\n                    end\n                else\n                    if < (//clone.ID) contains [frame]?> then\n                        Initial setting // place [0] [0] size [100] angle [90] costume [frame]\n                        size [big] [89]\n                        Coordinate // x [0] y [0] d [90] s [125] [0] x.setting [0] y.setting [0] d.setting [0] costume [frame]\n                        Add to list.// ((size) - (item (1) of [clone.setting v])) [1] [2]\n                        forever\n                            size [big] [89]\n                            size [small] [89]\n                            go to [front v] layer\n                            go [backward v] (1) layers\n                            Add to list.// (((100) - (item (1) of [clone.setting v])) / (5)) [1] [2]\n                            Coordinate // x [0] y [0] d [90] s (item (1) of [clone.setting v]) [0] x.setting (item (3) of [//設定 v]) y.setting (item (4) of [//設定 v]) d.setting [0] costume [frame]\n                        end\n                    else\n                        if < (//clone.ID) contains [setting]?> then\n                            Initial setting // place [0] [0] size [100] angle [90] costume [fill]\n                            Coordinate // x [0] y [0] d [91] s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume [fill]\n                            time (item (1) of [時間設定 v])\n                            repeat until <(round (item (1) of [//設定 v])) = [90]>\n                                turn right (([abs v] of ((90) - (direction)) ) / (4)) degrees\n                                Add to list.// ((direction) - (item (1) of [//設定 v])) [1] [1]\n                            end\n                            set [camera v] to [ok]\n                            Coordinate // x [0] y [0] d [91] s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume [fill]\n                            time (item (7) of [時間設定 v])\n                            repeat until <(round (item (5) of [//設定 v])) = [90]>\n                                turn right (([abs v] of ((90) - (direction)) ) / (4)) degrees\n                                Add to list.// ((direction) - (item (5) of [//設定 v])) [5] [1]\n                            end\n                            time (item (10) of [時間設定 v])\n                            Add to list.// ((91) - (item (1) of [//設定 v])) [1] [1]\n                            Coordinate // x [0] y [0] d [91] s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume [fill]\n                            repeat until <(round (item (1) of [//設定 v])) = [90]>\n                                turn right (([abs v] of ((90) - (direction)) ) / (4)) degrees\n                                Add to list.// ((direction) - (item (1) of [//設定 v])) [1] [1]\n                            end\n                        else\n                            if < (//clone.ID) contains [curtain]?> then\n                                Initial setting // place [-586] [0] size [100] angle [90] costume [by @-preis-]\n                                Coordinate // x [-588] y [0] d [91] s [100] [0] x.setting [0] y.setting [0] d.setting [0] costume [by @-preis-]\n                                Add to list.// ((x position) - (item (1) of [clone.setting v])) [1] [2]\n                                Image effect // type [6] number (((letter (length of (//clone.ID)) of (//clone.ID)) - (1)) * (100)) change [2]\n                                repeat (17)\n                                    go to [front v] layer\n                                    Add to list.// (((item (1) of [clone.setting v]) - (-594)) / (4)) [1] [2]\n                                    go to x: (item (1) of [clone.setting v]) y: (0)\n                                    point in direction (90)\n                                    set size to (100) %\n                                end\n                                repeat (50)\n                                    go to [front v] layer\n                                    Add to list.// (((0) - (item (1) of [clone.setting v])) / (4)) [1] [2]\n                                    go to x: (item (1) of [clone.setting v]) y: (0)\n                                    point in direction (90)\n                                    set size to (100) %\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nset [chev v] to [0]\n\n    change [chev v] by (1)\n    go to [back v] layer\n    //clone.create (join [chev.] (((chev) mod (4)) + (1))) [1]\n    wait (0.17) seconds\nend\n\ndefine time.setting\ndelete all of [時間設定 v]\nadd [2.38] to [時間設定 v]\nadd [3] to [時間設定 v]\nadd [3.5] to [時間設定 v]\nadd [4] to [時間設定 v]\nadd [4.55] to [時間設定 v]\nadd [4.8] to [時間設定 v]\nadd [5.1] to [時間設定 v]\nadd [5.7] to [時間設定 v]\nadd [6.3] to [時間設定 v]\nadd [6.9] to [時間設定 v]\n\ndefine SW3,4 // place (x) (y) (s) (d) repetition (repetition) depth (number) color (brightness) (vividness) type (type)\nAdd to list.// ((x) - (item (1) of [sw v])) [1] [3]\nAdd to list.// ((y) - (item (2) of [sw v])) [2] [3]\nAdd to list.// ((s) - (item (3) of [sw v])) [3] [3]\nAdd to list.// ((d) - (item (4) of [sw v])) [4] [3]\nAdd to list.// ((number) - ((item (5) of [sw v]) + (3))) [5] [3]\nAdd to list.// ((brightness) - (item (6) of [sw v])) [6] [3]\nAdd to list.// ((vividness) - (item (7) of [sw v])) [7] [3]\n//clone.create (join [SW.] (type)) (repetition)\n\ndefine SW.1,2 // repetition (repetition) place (x) (y) (s) depth (number) color (brightness) (vividness) type (type)\nAdd to list.// ((0) - (item (4) of [sw v])) [4] [3]\nAdd to list.// ((x) - (item (1) of [sw v])) [1] [3]\nAdd to list.// ((y) - (item (2) of [sw v])) [2] [3]\nAdd to list.// ((s) - (item (3) of [sw v])) [3] [3]\nAdd to list.// ((number) - ((item (5) of [sw v]) + (3))) [5] [3]\nAdd to list.// ((brightness) - (item (6) of [sw v])) [6] [3]\nAdd to list.// ((vividness) - (item (7) of [sw v])) [7] [3]\nrepeat (repetition)\n    //clone.create (join [SW.] (type)) [1]\n    Add to list.// ((360) / (repetition)) [4] [3]\nend\n\nwhen I start as a clone\nshow\nif < (//clone.ID) contains [SW.]?> then\n    forever\n        go to [front v] layer\n        go [backward v] (3) layers\n    end\nend\n\nwhen I receive [start v]\ntime (item (3) of [時間設定 v])\nshake (item (4) of [時間設定 v])\nshake (item (5) of [時間設定 v])\nshake (item (7) of [時間設定 v])\nshake (item (8) of [時間設定 v])\nshake (item (9) of [時間設定 v])\nshake (item (10) of [時間設定 v])\n\ndefine shake (time)\nAdd to list.// ((120) - (item (2) of [//設定 v])) [2] [1]\nrepeat until <(time) < (timer)>\n    Add to list.// (((100) - (item (2) of [//設定 v])) / (5)) [2] [1]\n    Add to list.// ((([sin v] of ((timer) * (1000)) ) * (((100) - (item (2) of [//設定 v])) * (0.2))) - (item (3) of [//設定 v])) [3] [1]\n    Add to list.// ((([cos v] of ((timer) * (1000)) ) * (((100) - (item (2) of [//設定 v])) * (0.2))) - (item (4) of [//設定 v])) [4] [1]\n    Add to list.// ((((([sin v] of ((timer) * (1000)) ) * (1.5)) * (((100) - (item (2) of [//設定 v])) * (0.2))) + (90)) - (item (1) of [//設定 v])) [1] [1]\nend\n\nwhen I start as a clone\ntime [8.483]\nif < (//clone.ID) contains [curtain]?> then\n    repeat (20)\n        Image effect // type [7] number [5] change [1]\n    end\nelse\n    delete this clone\nend\n\nwhen flag clicked\nhide\ndelete this clone\n\nwhen I receive [start v]\ntime [7.4]\nstart sound [Slice SFX v]\n\nwhen flag clicked\nwait (10) seconds\nstop [other scripts in sprite v]\nstop [this script v]\n\n