Urban platformer 

Instructions: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\nThe best masterpiece in my history!\n過去最高傑作！←今考えると失敗作(´；ω；｀)\nだが傾向1pに載ったwありがとうございます\nゴンザレスは気にするな‼（誰かに忍ばせてって言われちゃったw）\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n[Japan]\n今回は、都会をモチーフにして作りました。\n難易度は、普通です。\n星とハートよろしく‼\n背景は@hati32 様からお借りしました。\n( https://scratch.mit.edu/projects/478123843/ )\nフリーイントロは @t9decode 様\n音楽は魔王魂\nゴンザ提案@toyatoya-yamanashi 様\n効果音はOtoLogic\n星とハートなどは @kumanomikun622 様\n参考：@maluyuu 様\nNEXTは@harukun19様\nありがとうございます。\nバグがあったらコメントで「◯ステージ目で、ここが出来ません」などで教えて下さい‼\n星とハート押してください。\nリミックスしてね‼\n現状のRemix回数\n https://scratch.mit.edu/projects/624404513/remixtree/\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n[操作方法]\n左右キーor[aキー]＆[dキー]で移動。\n上矢印キーor[wキー]でジャンプ\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n[English]\nThis time I created it with an urban motif\nThe difficulty is medium\nThe background is @hati32 \n( https://scratch.mit.edu/projects/478123843/ )\nMusic 魔王魂\nfreeIntro @t9decode\nOthers @kumanomikun622 \nreference @maluyuu\nNEXT @harukun19\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n[Method of operation]\nMove with the left / right key or [a key] & [d key].\nJump with the up arrow key or [w key]\n▬▬▬▬▬▬▬▬▬▬宣伝▬▬▬▬▬▬▬▬▬▬▬▬\n第一章のプラットフォーマー \n https://scratch.mit.edu/projects/595874213/ \n第2章のプラットフォーマー\n https://scratch.mit.edu/projects/602540532/\n猫ブロックの冒険\n https://scratch.mit.edu/projects/616451285/\n目玉のplatformer クリスマスver.　Xmas ver. \nhttps://scratch.mit.edu/projects/619280257/\n宣伝スタジオ‼宣伝していってね‼\n https://scratch.mit.edu/studios/30707219/\n▬▬▬▬▬▬▬▬ Promotion ▬▬▬▬▬▬▬▬▬▬▬\nPlatformer of Chapter 1\n https://scratch.mit.edu/projects/595874213/\nChapter 2 Platformer\n https://scratch.mit.edu/projects/602540532/\nCat block adventure\n https://scratch.mit.edu/projects/616451285/\nFeatured platformer Christmas ver. Xmas ver.\nhttps://scratch.mit.edu/projects/619280257/\nPromotion Studio! Please advertise!\n https://scratch.mit.edu/studios/30707219/\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n#platformer #GAME#ns6335 #5\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n　　　　楽しんで‼　　　　　　have fun!\n▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

@Stage\n\nwhen I receive [グレー v]\nswitch costume to (グレー v)\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@intro\n\nwhen I start as a clone\nif <(cloneID) = [logo]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (logo v)\n    repeat until <[101] > (size)>\n        switch costume to (bit v)\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (logo v)\n    end\n    repeat until <[66] > (size)>\n        change size by (((65) - (size)) / (6.9))\n        change [clone_dir v] by (((90) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n    end\n    set [clone_dir v] to [0.5]\n    repeat until <(size) > [100]>\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n    end\n    repeat (7)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        turn right ((clone_dir) / (-12)) degrees\n        switch costume to (logo v)\n    end\n    hide\n    switch costume to (square1 v)\n    set [cloneid v] to [square2]\n    create clone of (_myself_ v)\n    switch costume to (square2 v)\n    set [cloneid v] to [square3]\n    create clone of (_myself_ v)\n    set [cloneid v] to [kirbyzaz]\n    create clone of (_myself_ v)\n    set [cloneid v] to [back3]\n    create clone of (_myself_ v)\n    repeat (8)\n        set [clone_size v] to [50]\n        set [cloneid v] to [square1]\n        create clone of (_myself_ v)\n        set [cloneid v] to [back2]\n        create clone of (_myself_ v)\n        broadcast (\[INTRO\]size v)\n        switch costume to (square1 v)\n        wait (0.561) seconds\n    end\n    broadcast (\[INTRO\]spin v)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back]> then\n    show\n    set [clone_dir v] to [360]\n    switch costume to (bit v)\n    set size to (1200) %\n    switch costume to (blackbar1 v)\n    repeat until <[175] > (size)>\n        switch costume to (bit v)\n        change size by (((174) - (size)) / (6.9))\n        change [clone_dir v] by (((65) - (clone_dir)) / (6.9))\n        point in direction (clone_dir)\n        switch costume to (back v)\n    end\n    set [clone_dir v] to [0.5]\n    repeat (15)\n        switch costume to (bit v)\n        change [clone_dir v] by ((clone_dir) / (2))\n        change size by (clone_dir)\n        switch costume to (back v)\n        turn right ((clone_dir) / (12)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [b1]> then\n    switch costume to (blackbar1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((125) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((-1) - (y position)) / (5))\n        switch costume to (blackbar1 v)\n        show\n    end\n    broadcast (\[INTRO\]end v)\nend\n\nwhen I start as a clone\nif <(cloneID) = [b2]> then\n    switch costume to (blackbar2 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        set size to (100) %\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\n    wait (0.1) seconds\n    repeat until <(timer) > [9]>\n        go to [front v] layer\n        change y by (((-125) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\n    repeat until <(timer) > [10]>\n        go to [front v] layer\n        change y by (((1) - (y position)) / (5))\n        switch costume to (blackbar2 v)\n        show\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nreset timer\nstart sound [Foxsky - Kirby Smash v]\nwait (0.7) seconds\nhide\nset [cloneid v] to [b1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [b2]\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [cloneid v] to [back]\ncreate clone of (_myself_ v)\nset [cloneid v] to [logo]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(cloneID) = [square1]> then\n    go to [back v] layer\n    go [forward v] (3) layers\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    repeat until <(size) > [100]>\n        change size by (((clone_size) - (size)) / (5))\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by (((clone_size) - (size)) / (5))\n        switch costume to (clone_cos)\n        turn right (((clone_dir) - (direction)) / (5)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back2]> then\n    switch costume to (back2 v)\n    clear graphic effects\n    set [ghost v] effect to (50)\n    show\n    go to [front v] layer\n    repeat (25)\n        change [ghost v] effect by (2)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [back3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (back3 v)\n    set [s v] to [90]\n    show\n    set [clone_dir v] to [90]\n    \n        switch costume to (bit v)\n        set size to (100) %\n        go to [back v] layer\n        change [clone_dir v] by (((s) - (clone_dir)) / (5))\n        point in direction (clone_dir)\n        switch costume to (back3 v)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [square3]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * ((2.25) * (2.25))) - (size)) / (5))\n        turn right ((((clone_dir) * ((2.25) * (2.25))) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [square2]> then\n    set [clone_dir v] to [0]\n    show\n    set [clone_cos v] to (costume [number v])\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat until <(size) > [100]>\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n    end\n    repeat until <(size) > [1500]>\n        switch costume to (bit v)\n        change size by ((((clone_size) * (2.25)) - (size)) / (5))\n        turn right ((((clone_dir) * (2.25)) - (direction)) / (5)) degrees\n        switch costume to (clone_cos)\n        turn right (0.1) degrees\n    end\n    delete this clone\nend\n\nwhen I receive [\[intro\]size v]\nif < (cloneID) contains [square]?> then\n    if <[350] < (clone_dir)> then\n        set [clone_dir v] to [0]\n    end\n    change [clone_size v] by ((clone_size) * (1.5))\n    change [clone_dir v] by (22.5)\nend\nif <(cloneID) = [back3]> then\n    change [s v] by (90)\nend\n\nwhen I receive [\[intro\]spin v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [kirbyzaz]> then\n    set [clone_cos v] to (pick random (5) to (10))\n    change size by (30)\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [kirbyzaz]> then\n    show\n    set [clone_dir v] to [90]\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (bit v)\n    set size to (200) %\n    switch costume to (yourname v)\n    \n        switch costume to (bit v)\n        change size by (((120) - (size)) / (5))\n        switch costume to (yourname v)\n        go to [front v] layer\n        go [backward v] (2) layers\n    end\nend\n\nwhen I receive [\[intro\]size v]\nif <(cloneID) = [b1]> then\n    set [clone_cos v] to [2]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\nif <(cloneID) = [b2]> then\n    set [clone_cos v] to [-5]\n    repeat (35)\n        set [clone_cos v] to (((clone_cos) * (0.75)) + (((90) - (direction)) * (0.3)))\n        turn right (clone_cos) degrees\n    end\nend\n\nwhen I receive [\[intro\]end v]\nif <<(cloneID) = [b1]> or <(cloneID) = [b2]>> then\n    wait (1) seconds\n    if <(cloneID) = [b1]> then\n        change y by (1.5)\n        repeat until <(y position) > [200]>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar1 v)\n        end\n    else\n        change y by (-1.5)\n        repeat until <[-200] > (y position)>\n            switch costume to (back2 v)\n            change y by ((y position) / (3))\n            switch costume to (blackbar2 v)\n        end\n    end\n    delete this clone\nelse\n    hide\n    delete this clone\nend\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@背景\n\nwhen flag clicked\nswitch costume to (イントロ v)\ngo to [back v] layer\nwait (10) seconds\nshow\nswitch costume to (tokyo v)\nbroadcast (START v)\nswitch costume to (tokyo v)\n\nwhen I receive [start v]\n\nwhen I receive [5ステージ v]\nswitch costume to (コスチューム1 v)\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\nwhen I receive [6ステージ v]\nswitch costume to (コスチューム2 v)\n\nwhen I receive [7ステージ v]\nswitch costume to (コスチューム3 v)\n\nwhen I receive [8ステージ v]\nswitch costume to (コスチューム2 v)\n\nwhen I receive [9ステージ v]\nswitch costume to (tokyo v)\n\nwhen I receive [3ステージ v]\nswitch costume to (コスチューム1 v)\n\nhide\n\nwhen I receive [4ステージ v]\nswitch costume to (tokyo v)\n\nwhen I receive [12ステージ v]\n\nswitch costume to (コスチューム4 v)\n\n@ステージ\n\nwhen flag clicked\nhide variable [タイマー/timer v]\nhide variable [☁ 世界記録/cloud v]\nset [タイマー/timer v] to [0]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [start v]\nwait (3) seconds\nshow\nrepeat (10)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [next v]\nwait (2.6) seconds\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\n\nset [☁ 世界記録/cloud v] to [0]\n\nwhen I receive [start v]\nrepeat until <(costume [number v]) = [16]>\n    wait (1) seconds\n    change [タイマー/timer v] by (1)\nend\n\nwhen I receive [元通り v]\nshow variable [☁ 世界記録/cloud v]\nshow variable [タイマー/timer v]\nforever\n    if <(☁ 世界記録/cloud) > (タイマー/Timer)> then\n        set [☁ 世界記録/cloud v] to ((タイマー/Timer) + (1))\n        start sound [テレててってれー v]\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\nforever\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (5ステージ v)\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (6ステージ v)\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (7ステージ v)\n    end\n    if <(costume [number v]) = [8]> then\n        broadcast (8ステージ v)\n    end\n    if <(costume [number v]) = [9]> then\n        broadcast (9ステージ v)\n    end\n    if <(costume [number v]) = [12]> then\n        broadcast (12ステージ v)\n    end\n    if <(costume [number v]) = [13]> then\n        broadcast (13ステージ v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [16]> then\n        broadcast (元通り v)\n    end\nend\n\n@目玉\n\nwhen I receive [suta-to  v]\n\nset volume to (100) %\n\nwhen flag clicked\nswitch costume to (黒 v)\nhide\nset size to (115) %\ngo to x: (-200) y: (-50)\nset [ghost v] effect to (100)\ngo to [back v] layer\n\nwhen I start as a clone\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen flag clicked\n\nset [y v] to [5]\n\nwhen flag clicked\n\nwhen flag clicked\nhide variable [☁ 世界記録/cloud v]\nhide variable [タイマー/timer v]\nwait (4.5) seconds\n\nset [タイマー/timer v] to [0]\nshow variable [☁ 世界記録/cloud v]\nshow variable [タイマー/timer v]\n\nwhen flag clicked\nset size to (115) %\nwait (4.5) seconds\nforever\n    if <key (k v) pressed?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        go to x: (-200) y: (50)\n    end\nend\n\nwait  seconds\n\nchange [タイマー/timer v] by (1)\n\nwhen I receive [エンディング v]\n\nwhen flag clicked\n\nwhen I receive [エンディング v]\n\nstop [all v]\n\nstop [all v]\n\nhide\n\nwhen I receive [ダメ v]\nforever\n    hide\nend\n\nwhen I receive [ありがとうございます‼ v]\nsay [ありがとうございます‼Thank you‼] for (0.00001) seconds\n\nsay [ありがとうございます‼]\nsay [こんにちは!]\nwait (1) seconds\nsay []\n\nwhen flag clicked\n\nclear graphic effects\n\nwhen flag clicked\nforever\n    if <[] = [50]> then\nend\n\nwait (4.5) seconds\n\nchange [y v] by (1)\n\n\n\nwhen I receive [kill v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ngo to x: (-200) y: (50)\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ngo to x: (210) y: (50)\n\nif <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n    switch costume to (赤 v)\nelse\n    switch costume to (黒 v)\nend\n\nwhen I receive [黒 v]\nswitch costume to (黒 v)\n\nwhen I receive [黄色 v]\nswitch costume to (黄色 v)\n\nwhen I receive [緑 v]\nswitch costume to (緑 v)\n\nwhen I receive [赤 v]\nswitch costume to (赤 v)\n\nwhen I receive [水色 v]\nswitch costume to (水色 v)\n\nwhen I receive [紫 v]\nswitch costume to (紫 v)\n\nwhen I receive [グレー v]\nswitch costume to (グレー v)\n\nwhen I receive [ピンク v]\nswitch costume to (ピンク v)\n\nwhen I receive [start v]\nwait (1) seconds\nwait (2.4) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\ngo to [front v] layer\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<<touching (スパイ v)?> or <touching (フォロバするぞ v)?>> or <touching (動くトゲ２ v)?>> or <touching (out v)?>> then\n        start sound [小パンチ v]\n        switch costume to (黒 v)\n        repeat (10)\n            change [ghost v] effect by (7)\n        end\n        clear graphic effects\n        go to x: (-200) y: (50)\n        set [xだぞ v] to [0]\n    end\n    if <<key (a v) pressed?> or <<<(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 (-0.8)\n        point in direction (-90)\n    end\n    if <<key (d v) pressed?> or <<<(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 (0.8)\n        point in direction (90)\n    end\n    set [xだぞ v] to ((Xだぞ) * (0.9))\n    change x by (Xだぞ)\n    if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n        change y by (1)\n        if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n            change y by (1)\n            if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n                change y by (1)\n                if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n                    change y by (1)\n                    if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n                        change y by (1)\n                        if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n                            change x by ((Xだぞ) * (-1))\n                            change y by (-5)\n                            if <<key (w v) pressed?> or <<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 [12]\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)?> or <touching (ステージ v)?>> then\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n            set [ｙだー v] to [16.3]\n            start sound [ジャンプ v]\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (next v)\n        start sound [NEXT v]\n        go to x: (-200) y: (50)\n        wait (2.6) seconds\n        set [xだぞ v] to [0]\n    end\n    if <touching (バネ v)?> then\n        set [ｙだー v] to [20]\n    end\n    if <<touching (水 v)?> and <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<(mouse y) < [100]> and <mouse down?>>>>> then\n        set [ｙだー v] to [2]\n        broadcast (泥 v)\n    end\n    if <(y position) < [-170]> then\n        start sound [小パンチ v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        clear graphic effects\n        go to x: (-200) y: (50)\n    end\n    if <touching (スピード板 v)?> then\n        set [xだぞ v] to [10]\n    end\n    if <touching (ジャンプ板 v)?> then\n        set [ｙだー v] to [20 ]\n    end\n    if <touching (エスカレーター v)?> then\n        set [ｙだー v] to [20 ]\n        set [xだぞ v] to [10]\n    end\n    if <touching (超加速 v)?> then\n        set [xだぞ v] to [100]\n    end\n    if <touching (ダウン板 v)?> then\n        set [xだぞ v] to [-1]\n    end\n    if <touching color (#a5feb8)?> then\n        go to x: (250) y: (100)\n    end\nend\n\nset [xだぞ v] to [-10]\n\nwhen I receive [茶色 v]\nswitch costume to (茶色 v)\n\nswitch costume to (紫 v)\n\nset [ghost v] effect to (0)\n\nwhen I receive [start v]\nwait (3) seconds\nforever\n    play sound [BGM v] until done\nend\n\nset [ｙだー v] to [20 ]\n\nwhen I receive [オレンジ v]\nswitch costume to (オレンジ v)\n\nwhen I receive [クリスマスplatformr v]\nswitch costume to (クリスマスplatformr v)\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (80) %\n\nset [ghost v] effect to (0)\n\ngo to [front v] layer\n\n@⚡ターボ対策\n\nwhen flag clicked\nforever\n    set [⚡秒数記憶 v] to (days since 2000)\n    repeat (2)\n        change [color v] effect by (0)\n    end\n    if <((days since 2000) - (⚡秒数記憶)) < [0.0000001]> then\n        set [ターボ判定 v] to [1]\n    else\n        set [ターボ判定 v] to [0]\n    end\nend\n\nwhen flag clicked\nset [ターボ判定 v] to [0]\nshow\nforever\n    if <(ターボ判定) = [1]> then\n        stop [all v]\n    end\nend\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@スピード板\n\nwhen flag clicked\n\nwhen I receive [start v]\n\nshow\n\nwhen I receive [next v]\n\nnext costume\n\nwhen I receive [音量0％ v]\nset volume to (0) %\nswitch costume to (コスチューム2 v)\nhide\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@ジャンプ板\n\nwhen flag clicked\nhide\n\nswitch costume to (コスチューム1 v)\n\nwhen I receive [next v]\n\nnext costume\n\nwhen I receive [12ステージ v]\nshow\n\ngo [forward v] (1) layers\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\nwhen I receive [start v]\nhide\n\nwhen I receive [13ステージ v]\nhide\n\n@超加速\n\nwhen flag clicked\n\nswitch costume to (コスチューム2 v)\nhide\n\nwhen I receive [start v]\n\nshow\n\nwhen I receive [next v]\n\nnext costume\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@サムネ (1)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\ngo to [front v] layer\nforever\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@ダウン板\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\nhide\n\nwhen I receive [start v]\n\nshow\n\nwhen I receive [next v]\n\nnext costume\n\nwhen I receive [音量0％ v]\nset volume to (0) %\n\nwhen I receive [ 音量100％ v]\nset volume to (100) %\n\n@雲\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to x: (200) y: (pick random (100) to (150))\nshow\nrepeat until <(x position) < [-199]>\n    change x by (-5)\nend\ndelete this clone\n\nwhen I receive [start v]\nforever\n    wait (pick random (1.2) to (2.4)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [6ステージ v]\nhide\ngo to [back v] layer\n\n@Next\n\nwhen I receive [next v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\ngo to [front v] layer\nstart sound [しゅっ v]\nclone [1]\nwait (0.05) seconds\nclone [2]\nwait (0.05) seconds\nclone [3]\nwait (0.05) seconds\nclone [4]\nwait (0.05) seconds\nclone [5]\n\ndefine clone (cloneid)\ngo to [front v] layer\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <<(costume [number v]) = [3]> or <<(costume [number v]) = [4]> or <(costume [number v]) = [5]>>>>> then\n    go to x: (468) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    wait (2.2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (2.1) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [3]> then\n    wait (2) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [4]> then\n    wait (1.9) seconds\n    repeat until <[465] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\nif <(costume [number v]) = [5]> then\n    wait (1.8) seconds\n    repeat until <[330] < (x position)>\n        change x by ((1) + ((x position) / (4)))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    go [forward v] (1) layers\nend\n\n@フォロバするぞ\n\nwhen flag clicked\ngo to x: (pick random (-100) to (100)) y: (180)\n\nwhen I receive [8ステージ v]\nshow\nforever\n    change y by (-3)\n    if <touching (ステージ v)?> then\n        set size to (pick random (20) to (40)) %\n        point in direction (pick random (1) to (360))\n        switch costume to (pick random (1) to (2))\n        go to x: (pick random (-130) to (200)) y: (180)\n    end\nend\n\nwhen flag clicked\nset size to (30) %\ngo to x: (0) y: (150)\nhide\n\nwhen I receive [9ステージ v]\nhide\n\ndelete this clone\n\ngo to (random position v)\n\nhide\nwait (1.5) seconds\nshow\n\n