platformer
@Stage\n\n@スプライト2\n\nwhen flag clicked\nset [ターボ対策 v] to [0]\nforever\n    change [ターボ対策 v] by (10)\nend\n\nwhen flag clicked\nset [使った v] to [0]\nforever\n    wait (0.001) seconds\n    set [ターボ対策 v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <[10000] < (ターボ対策)> then\n        set [使った v] to [1]\n    end\nend\n\ndefine ブロック名\nplay sound [Syn Cole - Feel Good \[NCS Release\] - from YouTube v] until done\nブロック名\n\nwhen flag clicked\nブロック名\n\n@スプライト1\n\nwhen flag clicked\nshow\ngo to x: (-184) y: (-65)\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\ngo [forward v] (2) layers\nset rotation style [left-right v]\npoint in direction (90)\nset size to (40) %\nshow\nset [動いていい？ v] to [1]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(動いていい？) = [1]> then\n        if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<(mouse x) < [0]> and <mouse down?>>> then\n            change [x2 v] by (-1)\n            point in direction (-90)\n        end\n        if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<[0] < (mouse x)> and <mouse down?>>> then\n            change [x2 v] by (1)\n            point in direction (90)\n        end\n        set [x2 v] to ((x2) * (0.9))\n        change x by (x2)\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 ((x2) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n                                    if <(x2) > [0]> then\n                                        set [x2 v] to [-7]\n                                    else\n                                        set [x2 v] to [7]\n                                    end\n                                    set [y2 v] to [15]\n                                else\n                                    set [x2 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 (up arrow v) pressed?> or <<key (w v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n                start sound [ニュッ2 \(1\) v]\n                set [y2 v] to [15]\n            end\n        end\n        change y by (1)\n        change [y2 v] by (-1)\n        change y by (y2)\n        if <<touching (ステージ v)?> or <touching (動くステージ v)?>> then\n            change y by ((y2) * (-1))\n            set [y2 v] to [0]\n        end\n        if <(x position) > [219]> then\n            if <not <(ステージ) = [19]>> then\n                hide\n                broadcast (次のステージ v)\n                set [動いていい？ v] to [0]\n                go to x: (-184) y: (-65)\n            end\n        end\n        if <<touching (障害物 v)?> or <<touching (障害物2 v)?> or <<(y position) < [-176]> or <touching (マグマ v)?>>>> then\n            broadcast (残念！ v)\n            set [x2 v] to [0]\n            set [y2 v] to [0]\n            repeat (20)\n                change [ghost v] effect by (20)\n            end\n            go to x: (-184) y: (-77)\n            repeat (12)\n                change [ghost v] effect by (-8)\n            end\n        end\n    end\nend\n\nwhen I receive [next v]\ngo to x: (-183) y: (-65)\nset [ghost v] effect to (0)\nset [動いていい？ v] to [1]\nshow\n\nwhen I receive [次のステージ v]\nset [x2 v] to [0]\nset [y2 v] to [0]\n\nwhen I receive [残念！ v]\nstart sound [間抜け1 v]\n\nwhen flag clicked\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\nstart sound [魔王魂  民族13 v]\n\n@Next!\n\nwhen I receive [次のステージ v]\nset [color v] effect to (pick random (-250) to (250))\ngo to [front v] layer\nhide\nstart sound [High Whoosh 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]\nwait (2.5) seconds\nbroadcast (next v)\n\ndefine clone (cloneid)\nswitch costume to (cloneid)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\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    set [move v] to [OK]\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 I receive [次のステージ v]\nchange [ステージ v] by (1)\n\nwhen flag clicked\nset [ステージ v] to [1]\n\n@ステージ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nshow\n\nwhen I receive [次のステージ v]\nnext costume\nhide\n\n@ステージ2\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nshow\n\nwhen I receive [次のステージ v]\nnext costume\nhide\n\n@障害物\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nshow\n\nwhen I receive [次のステージ v]\nnext costume\nhide\n\n@障害物2\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\n\nwhen I receive [next v]\nset [ghost v] effect to (0)\nif <(ステージ) = [5]> then\n    switch costume to (コスチューム5 v)\n    create clone of (_myself_ v)\nelse\n    if <(ステージ) = [6]> then\n        repeat until <(ステージ) = [7]>\n            switch costume to (コスチューム6 v)\n            create clone of (_myself_ v)\n            wait (0.32) seconds\n        end\n    else\n        if <(ステージ) = [8]> then\n            show\n            switch costume to (コスチューム8 v)\n        else\n            if <(ステージ) = [11]> then\n                show\n                switch costume to (コスチューム9 v)\n                repeat until <(ステージ) = [12]>\n                    set [ghost v] effect to (0)\n                    go to x: (250) y: (0)\n                    repeat (48)\n                        change x by (-8)\n                    end\n                    repeat (10)\n                        change [ghost v] effect by (-10)\n                    end\n                end\n            else\n                if <(ステージ) = [12]> then\n                    go to x: (0) y: (0)\n                    show\n                    switch costume to (コスチューム10 v)\n                else\n                    if <(ステージ) = [13]> then\n                        go to x: (0) y: (0)\n                        show\n                        switch costume to (コスチューム13 v)\n                        ブロック名\n                    else\n                        if <(ステージ) = [13]> then\n                            go to x: (0) y: (0)\n                            show\n                        else\n                            if <(ステージ) = [18]> then\n                                go to x: (170) y: (-93)\n                                hide\n                                repeat until <(ステージ) = [19]>\n                                    wait (1) seconds\n                                    hide\n                                    create clone of (_myself_ v)\n                                end\n                            else\n                                hide\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [次のステージ v]\ngo to x: (0) y: (0)\nnext costume\nhide\n\nwhen I start as a clone\nif <(ステージ) = [5]> then\n    show\n    go to x: (20) y: (0)\n    repeat until <(ステージ) = [6]>\n        repeat (15)\n            change x by (10)\n        end\n        repeat (30)\n            change x by (-10)\n        end\n        repeat (15)\n            change x by (10)\n        end\n    end\nend\n\nwhen I receive [次のステージ v]\ndelete this clone\n\nwhen I start as a clone\nshow\nif <(ステージ) = [6]> then\n    go to x: (pick random (-150) to (210)) y: (149)\n    repeat (40)\n        change y by (-9)\n    end\n    delete this clone\nend\n\nwhen I receive [解除 v]\nhide\n\ndefine ブロック名\nshow\nrepeat (5)\n    switch costume to (pick random (11) to (13))\n    set y to (185)\n    repeat (55)\n        change y by (-5)\n        if <touching (スプライト1 v)?> then\n            wait (0.1) seconds\n            hide\n            wait (2) seconds\n            ブロック名\n            if <(ステージ) = [14]> then\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\nhide\n\nwhen I start as a clone\nif <(ステージ) = [18]> then\n    switch costume to (コスチューム14 v)\n    go to x: (170) y: (-93)\n    repeat (47)\n        change x by (-6)\n    end\n    delete this clone\nend\n\nshow\n\n@丸\n\nwhen flag clicked\nhide\n\nwhen I receive [次のステージ v]\nhide\n\nwhen I receive [next v]\nset size to (100) %\nset [ghost v] effect to (0)\nif <(ステージ) = [8]> then\n    go to x: (-203) y: (105)\n    show\n    repeat until <(ステージ) = [9]>\n        if <touching (スプライト1 v)?> then\n            repeat (25)\n                change size by (4)\n                set [ghost v] effect to (4)\n            end\n            broadcast (解除 v)\n            hide\n        else\n            go to x: (-203) y: (105)\n        end\n    end\nelse\n    if <(ステージ) = [12]> then\n        go to x: (-203) y: (105)\n        show\n        repeat until <(ステージ) = [13]>\n            if <touching (スプライト1 v)?> then\n                repeat (25)\n                    change size by (4)\n                    set [ghost v] effect to (4)\n                end\n                broadcast (解除 v)\n                hide\n            else\n                go to x: (-203) y: (105)\n            end\n        end\n    else\n        hide\n    end\nend\n\nhide\n\n@スプライト3\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide\n\n@スプライト4\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [ステージ v]) = [17]> then\n        broadcast (クリア！ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [クリア！ v]\nwait (1) seconds\nshow\n\n@スプライト5\n\nwhen flag clicked\nset [クリア v] to [0]\nset [タイム v] to [0]\nhide\n\nwhen I receive [クリア！ v]\nset [クリア v] to [1]\nset [分 v] to ([floor v] of ((タイム) / (60)) )\nset [秒 v] to ((タイム) mod (60))\nif <[999] < (分)> then\n    go to x: (-100) y: (145)\n    switch costume to ((letter (1) of (分)) + (1))\n    create clone of (_myself_ v)\n    go to x: (-60) y: (145)\n    switch costume to ((letter (2) of (分)) + (1))\n    create clone of (_myself_ v)\n    go to x: (-20) y: (145)\n    switch costume to ((letter (3) of (分)) + (1))\n    create clone of (_myself_ v)\n    go to x: (20) y: (145)\n    switch costume to ((letter (4) of (分)) + (1))\n    create clone of (_myself_ v)\nelse\n    if <[99] < (分)> then\n        go to x: (-60) y: (145)\n        switch costume to (コスチューム1 v)\n        create clone of (_myself_ v)\n        go to x: (-20) y: (145)\n        switch costume to ((letter (2) of (分)) + (1))\n        create clone of (_myself_ v)\n        go to x: (20) y: (145)\n        switch costume to ((letter (3) of (分)) + (1))\n        create clone of (_myself_ v)\n    else\n        if <[9] < (分)> then\n            go to x: (-20) y: (145)\n            switch costume to (コスチューム2 v)\n            create clone of (_myself_ v)\n            go to x: (20) y: (145)\n            switch costume to ((letter (1) of (分)) + (1))\n            create clone of (_myself_ v)\n            go to x: (60) y: (145)\n            switch costume to ((letter (2) of (分)) + (1))\n            create clone of (_myself_ v)\n        else\n            go to x: (-60) y: (145)\n            switch costume to (コスチューム1 v)\n            create clone of (_myself_ v)\n            go to x: (-20) y: (145)\n            switch costume to (コスチューム1 v)\n            create clone of (_myself_ v)\n            go to x: (20) y: (145)\n            switch costume to ((letter (1) of (分)) + (1))\n            create clone of (_myself_ v)\n        end\n    end\nend\nif <[9] < (秒)> then\n    go to x: (105) y: (145)\n    switch costume to ((letter (1) of (秒)) + (1))\n    create clone of (_myself_ v)\n    go to x: (145) y: (145)\n    switch costume to ((letter (2) of (秒)) + (1))\n    create clone of (_myself_ v)\nelse\n    go to x: (105) y: (145)\n    switch costume to (コスチューム1 v)\n    create clone of (_myself_ v)\n    go to x: (145) y: (145)\n    switch costume to ((letter (1) of (秒)) + (1))\n    create clone of (_myself_ v)\nend\nif <(使った) = [0]> then\n    if <(タイム) < (☁ 世界記録)> then\n        set [☁ 世界記録 v] to (タイム)\n    end\nend\n\nwhen flag clicked\nrepeat until <(クリア) = [1]>\n    wait (1) seconds\n    change [タイム v] by (1)\nend\n\nwhen I start as a clone\nshow\n\n
傾向2Pありがとう！！！\n\n旗2回押し推奨\n日本語は下です！\n=================English===================\nCross key or tap\nThose red circle-like things that appear along the way are not obstacles!\nYou have to take them out to proceed to the next stage!\n\nThere are 17 stages!\n\n\n================日本語====================\n[操作方法]\n十字キーまたはタップ\n途中で出てくる赤い丸みたいなものは障害物ではありません！\nそれを取らないと次のステージに進めません！\n\n17ステージあります！\nなんか途中でミニゲーム始まりますw\nぜひ最後まで遊んでください！\n\n世界記録もあります！\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n裏ステージあります！\n\n