Long Platformer!! 長いプラットフォーマー！！

Instructions: 【日本語】(English is below.)\n～～～～操作方法～～～～\n矢印キー・WASDキーで動く。\n壁キックできます。\nモバイル対応しています。\n～～～～～～～～～～～～\nステージ数：35\n～～～～～～～～～～～～\n\nhttps://turbowarp.org/782104711?fps=60&interpolate&hqpen\n　↑重い場合はこちらへ\n=====================\n【English】\n~~~~ How to operate ~~~~\nMove with arrow keys and WASD keys.\ncan kick the wall\nMobile compatible.\n～～～～～～～～～～～～\nNumber of stages: 35\n～～～～～～～～～～～～\n\nhttps://turbowarp.org/782104711?fps=60&interpolate&hqpen\n↑ Click here if it is heav

@Stage\n\nwhen flag clicked\nforever\n    if <(ステージ) = [1]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [2]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [3]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [4]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [5]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [6]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [7]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [8]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [9]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [10]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [11]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [12]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [13]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [14]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [15]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [16]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [17]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [18]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [19]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [20]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [21]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [22]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [23]> then\n        switch backdrop to (洞窟 v)\n    end\n    if <(ステージ) = [24]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [25]> then\n        switch backdrop to (いつも（?） v)\n    end\n    if <(ステージ) = [26]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [27]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [28]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [29]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [30]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [31]> then\n        switch backdrop to (海 v)\n    end\n    if <(ステージ) = [32]> then\n        switch backdrop to (海 v)\n    end\n    if <[32] < (ステージ)> then\n        switch backdrop to (いつも（?） v)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    if <<(username) = [mototyanman]> and <key (space v) pressed?>> then\n        ask [ステージ番号は？] and wait\n        set [ステージ v] to (answer)\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    play sound [Plugged \(post mastering\) v] until done\nend\n\n@サムネ\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\nbroadcast (スタート v)\nforever\n    go to [front v] layer\nend\n\n@ステージ\n\nwhen I receive [次のステージ v]\nnext costume\nset [ステージ v] to (costume [number v])\n\nwhen I receive [スタート v]\nset [ステージ v] to [1]\nswitch costume to (1 v)\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    go [backward v] (7) layers\n    go to x: (0) y: (0)\n    switch costume to (ステージ)\nend\n\nset [ステージ v] to [33]\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [35]> then\n        broadcast (ゴール☆ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [スキップ v]\nnext costume\nset [ステージ v] to (costume [number v])\n\n@プレイヤー\n\ndefine 初期設定\nshow\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\ngo to x: (-210) y: (-30)\nset size to (90) %\nswitch costume to (右 v)\n\ndefine 動作\ngo to [front v] layer\ngo [backward v] (4) layers\nif <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n    switch costume to (右 v)\n    change [x v] by (1)\nend\nif <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n    switch costume to (左 v)\n    change [x v] by (-1)\nend\nset [x v] to ((X) * (0.88))\nchange x by (X)\nif <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 y by (-5)\n                        change x by ((X) * (-1))\n                        if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n                            if <(X) < [0]> then\n                                start sound [壁キック v]\n                                set [x v] to [10]\n                            else\n                                start sound [壁キック v]\n                                set [x v] to [-10]\n                            end\n                            set [y v] to [15]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (水 v)?> then\nchange y by (Y)\nif <touching (ステージ v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n    if <touching (水 v)?> then\n        set [y v] to [3]\n    else\n        if <touching (ステージ v)?> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\nelse\n    if <touching (水 v)?> then\n        set [y v] to [-3]\n    end\nend\nchange y by (1)\nif <[240] < (x position)> then\n    初期設定\n    broadcast (次のステージ v)\n    broadcast (ネクスト v)\nend\nif <(y position) < [-180]> then\n    start sound [弓矢が刺さる v]\n    初期設定\nend\nif <touching (障害物 v)?> then\n    start sound [弓矢が刺さる v]\n    初期設定\nend\nif <touching (大砲弾 v)?> then\n    start sound [弓矢が刺さる v]\n    初期設定\nend\nif <touching (敵（海の時の） v)?> then\n    初期設定\n    broadcast (海の敵に触れたねｗ v)\nend\nif <<touching (バネ v)?> and <<touching color (#0092ff)?> or <<([costume # v] of [バネ v]) = [21]> or <([costume # v] of [バネ v]) = [22]>>>> then\n    start sound [構えを取る v]\n    set [y v] to [18]\nend\nif <<touching (バネ v)?> and > then\n    start sound [構えを取る v]\n    set [y v] to [20]\nend\n\nwhen I receive [スタート v]\nshow\n初期設定\nforever\n    動作\n    残像\nend\n\nwhen flag clicked\nhide\n\ndefine 残像\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (8) layers\nswitch costume to (残像☆ v)\nrepeat (6)\n    change size by (-6)\nend\ndelete this clone\n\nset [ステージ v] to [25]\n\nwhen I receive [ネクスト v]\nrepeat until <(ネクスト終了) = [1]>\n    初期設定\nend\n\nwhen I receive [スキップ v]\n初期設定\n\n@障害物\n\nwhen I receive [スタート v]\npoint in direction (90)\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\n    if <<(costume [number v]) = [7]> or <(costume [number v]) = [28]>> then\n        turn left (2.5) degrees\n        go to x: (0) y: (30)\n    else\n        point in direction (90)\n        go to x: (0) y: (0)\n    end\nend\n\nwhen flag clicked\nshow\n\nset [ステージ v] to [27]\n\n@バネ\n\nwhen flag clicked\nshow\n\nwhen I receive [スタート v]\npoint in direction (90)\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\n    point in direction (90)\n    go to x: (0) y: (0)\nend\n\n@太陽\n\nwhen I receive [スタート v]\nshow\nset [大きさ v] to [0]\nforever\n    change [大きさ v] by (5)\n    set size to ((([cos v] of (大きさ) ) * (20)) + (100)) %\n    go to [back v] layer\nend\n\nwhen I receive [スタート v]\nforever\n    if <<[13] < (ステージ)> and <[33] > (ステージ)>> then\n        hide\n    else\n        show\n    end\nend\n\n@光\n\ndefine ブロック名ぃぃぃぃぃぃぃぃぃぃぃぃぃ\ngo to [front v] layer\ngo [backward v] (6) layers\ngo to (プレイヤー v)\nswitch costume to (コスチューム2 v)\nset size to (300) %\nswitch costume to (コスチューム1 v)\n\nwhen I receive [スタート v]\nforever\n    if <<[13] < (ステージ)> and <[24] > (ステージ)>> then\n        if <<(username) = [mototyanman]> and <key (b v) pressed?>> then\n            hide\n        else\n            show\n            ブロック名ぃぃぃぃぃぃぃぃぃぃぃぃぃ\n        end\n    else\n        hide\n    end\nend\n\nset [ステージ v] to [13]\n\n@水\n\nwhen I receive [スタート v]\nforever\n    go to [front v] layer\n    go [backward v] (3) layers\n    switch costume to (ステージ)\n    point in direction (90)\n    go to x: (0) y: (0)\nend\n\n@タイマーの補助\n\nwhen I receive [スタート v]\ngo to x: (0) y: (4)\nreset timer\nswitch costume to (コスチューム2 v)\nforever\n    go to [front v] layer\n    go [backward v] (5) layers\nend\n\nset [time v] to (round ((time) * (1.9)))\n\nwhen I receive [ゴール☆ v]\nstop [other scripts in sprite v]\nforever\n    go to [front v] layer\n    go [backward v] (100) layers\nend\n\n@敵（海の時の）\n\nwhen I receive [スタート v]\nset rotation style [left-right v]\n初期位置\nforever\n    point towards (プレイヤー v)\n    if <(ステージ) = [32]> then\n        wait until <(ネクスト終了) = [1]>\n        プログラム\n        show\n    else\n        hide\n    end\nend\n\ndefine 初期位置\ngo to x: (150) y: (-25)\n\ndefine プログラム\nmove (3) steps\n\nset [ステージ v] to [32]\n\nwhen I receive [海の敵に触れたねｗ v]\n初期位置\n\n@タイマー\n\nwhen I start as a clone\nshow\nブロック名 []\nwait () seconds\nforever\n    if <not <[34] < (ステージ)>> then\n        delete this clone\n    end\nend\n\ndefine タイマー\nset [時間 v] to (timer)\ngo to x: (-120) y: (150)\nset [順番 v] to [1]\nrepeat (length of (時間))\n    switch costume to (letter (順番) of (時間))\n    create clone of (_myself_ v)\n    change [順番 v] by (1)\n    change x by (15)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nrepeat until <[34] < (ステージ)>\n    タイマー\nend\n\nset [ステージ v] to [32]\n\ndefine ブロック名 (number or text)\ngo to [front v] layer\ngo [backward v] (4) layers\n\nset [時間 v] to ((timer) + ((30) * (スキップ回数)))\n\n@大砲土台\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [30]> then\n        show\n        ぷろぐらむ\n    else\n        hide\n    end\nend\n\ndefine ぷろぐらむ\ngo to x: (160) y: (-50)\n\n@大砲弾\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [30]> then\n        ぷろぐらむ\n    end\nend\n\ndefine ぷろぐらむ\nrepeat until <not <(ステージ) = [30]>>\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [30]> then\n        point towards (プレイヤー v)\n    end\nend\n\nwhen I start as a clone\nshow\ngo to (大砲 v)\npoint towards (プレイヤー v)\nrepeat until <<touching (_edge_ v)?> or <<touching (プレイヤー v)?> or <<touching (ステージ v)?> or <not <(ステージ) = [30]>>>>>\n    move (25) steps\nend\ndelete this clone\n\nset [ステージ v] to [30]\n\n@大砲\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [30]> then\n        show\n        ぷろぐらむ\n    else\n        hide\n    end\nend\n\ndefine ぷろぐらむ\ngo to (大砲土台 v)\nmove (20) steps\npoint towards (プレイヤー v)\n\nset [ステージ v] to [30]\n\n@ハート星探知機\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nif <(costume [number v]) = [1]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [ハート v] to [1]\n            start sound [決定ボタンを押す v]\n            stop [this script v]\n        end\n    end\nend\nif <(costume [number v]) = [2]> then\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [星 v] to [1]\n            start sound [決定ボタンを押す v]\n            stop [this script v]\n        end\n    end\nend\nif <(costume [number v]) = [3]> then\n    go to x: (0) y: (0)\n    show\n    set size to () %\n    repeat until <[99] < (size)>\n        change size by (((100) - (size)) / (4))\n    end\n    wait (1) seconds\n    repeat until <(size) < [10]>\n        change size by (((8) - (size)) / (4))\n    end\n    hide\n    delete this clone\nend\n\nwhen flag clicked\nhide\nset [ハート v] to [0]\nset [星 v] to [0]\ngo to x: (0) y: (0)\nswitch costume to (ハート v)\ncreate clone of (_myself_ v)\nswitch costume to (星 v)\ncreate clone of (_myself_ v)\nforever\n    if <((ハート) + (星)) = [2]> then\n        switch costume to (コスチューム3 v)\n        create clone of (_myself_ v)\n        stop [this script v]\n    end\nend\n\n@☆と♡要求\n\nwhen flag clicked\nhide\nrepeat until <((星) + (ハート)) = [2]>\n    set [id v] to [マウス]\n    create clone of (_myself_ v)\n    set [id v] to [コスチューム]\n    create clone of (_myself_ v)\n    wait (15) seconds\nend\n\nwhen I start as a clone\nshow\nif <(ID) = [コスチューム]> then\n    switch costume to (コスチューム1 v)\n    go to x: (144) y: (100000)\n    glide (1) secs to x: (144) y: (132)\n    switch costume to (コスチューム2 v)\n    wait (1) seconds\n    switch costume to (コスチューム3 v)\n    glide (0.9) secs to x: (144) y: (210)\n    delete this clone\nend\nif <(ID) = [マウス]> then\n    switch costume to (マウス v)\n    go to x: (144) y: (1000000)\n    滑らか： [126] [105] [7]\n    滑らか： [196] [116] [7]\n    滑らか： [220] [180] [5]\n    delete this clone\nend\n\ndefine 滑らか： (x) (y) (スピード)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (スピード))\n    change y by (((y) - (y position)) / (スピード))\nend\n\nwhen I start as a clone\nforever\n    if <(ID) = [コスチューム]> then\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\n    if <(ID) = [マウス]> then\n        go to [front v] layer\n    end\nend\n\n@ターボを対策\n\nwhen flag clicked\nforever\n    wait (0.1) seconds\n    set [ターボ対策 v] to [0]\nend\n\nwhen flag clicked\nforever\n    if <(ターボ対策) > [10000]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [ターボ対策 v] to [0]\nforever\n    change [ターボ対策 v] by (10)\nend\n\n@隠しブロック\n\nwhen I receive [スタート v]\nforever\n    go to x: (0) y: (0)\n    if <(ステージ) = [34]> then\n        show\n        if <touching (プレイヤー v)?> then\n            set [ghost v] effect to (40)\n        else\n            clear graphic effects\n        end\n    else\n        hide\n    end\nend\n\n@NEXT\n\nwhen I receive [ネクスト v]\nset [ネクスト終了 v] to [0]\nshow\ngo to x: (468) y: (0)\n[0] まで繰り返す [4]\nwait (0.25) seconds\n[-465] まで繰り返す [4]\nhide\nset [ネクスト終了 v] to [1]\n\ndefine (x) まで繰り返す (スピード)\nrepeat until <(round (x position)) = (x)>\n    change x by (((x) - (x position)) / (スピード))\nend\n\ndefine ブロック名\ngo to [front v] layer\ngo [forward v] (1) layers\n\nwhen I receive [スタート v]\nhide\nforever\n    ブロック名\nend\n\n@スプライト1\n\nwhen flag clicked\nset [スキップ回数 v] to [0]\nshow\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen this sprite clicked\nchange [スキップ回数 v] by (1)\nbroadcast (スキップ v)\n\n