Galaxy platformer☆

Instructions: 日本語は下\n---English---※Google Translate\nMove with arrow keys, WASD keys, and screen taps.\nEnter keywords with the K key.\nplatformer trend 1P Seriously thank you!!!\n\n---日本語---\n矢印キー、WASDキー、画面タップで移動。Kキーでキーワードを入力\nplatformer傾向１Pマジでありがとうございます!!!\n\n\n\n#プラットフォーマー

@Stage\n\nwhen I receive [スタート v]\nforever\n    play sound [PIKASONIC - Osaka Express  v] until done\nend\n\ndefine ターボモードを検出\nset [count v] to [0]\nreset timer\nrepeat until <[1] < (timer)>\n    change [count v] by (1)\nend\nif <(count) < [100]> then\n\nwhen flag clicked\nforever\n    ターボモードを検出\nend\n\nset [ステージ v] to [23]\n\nwhen [space v] key pressed\nif <(F) = [0]> then\n    set [f v] to [1]\nelse\n    set [f v] to [0]\nend\n\nwhen flag clicked\nset [fps v] to [0]\nset [f v] to [0]\nforever\n    if <(F) = [0]> then\n        hide variable [fps v]\n    else\n        show variable [fps v]\n    end\nend\n\nwhen flag clicked\nforever\n    set [timestamp v] to ((days since 2000) * (86400))\n    wait (0) seconds\n    set [fps v] to (round ((1) / (((days since 2000) * (86400)) - (timestamp))))\nend\n\nreset timer\nrepeat until <[1] < (timer)>\n    change [ぬ v] by (1)\nend\nset [fps v] to (ぬ)\n\nwhen [k v] key pressed\nask [キーワードを入力してください/ Please enter a keyword.] and wait\nif <(answer) = [Bocchi]> then\n    forever\n        set [プレイヤースキン v] to [B]\n    end\nend\n\n@プレイヤー\n\nwhen I receive [スタート v]\nset [プレイヤースキン v] to [通常]\nshow variable [ステージ v]\nshow variable [time v]\nset [ステージ v] to [1]\nset [time v] to [0]\nrepeat until <(ステージ) = [26]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nhide\nhide variable [time v]\nhide variable [☁ 1.4 world time v]\nhide variable [☁ クリアした数 v]\nforever\n    if <(ステージ) = [26]> then\n        show variable [☁ クリアした数 v]\n        show variable [☁ 1.4 world time v]\n    end\nend\n\nwhen I receive [サムネend v]\nwait (1) seconds\nbroadcast (スタート v)\n\nwhen I start as a clone\nif <(プレイヤースキン) = [通常]> then\n    switch costume to (コスチューム3 v)\n    repeat (5)\n        change size by (-6)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    if <(プレイヤースキン) = [B]> then\n        switch costume to (コスチュームb3 v)\n        repeat (5)\n            change size by (-6)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    create clone of (_myself_ v)\nend\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) %\nif <(プレイヤースキン) = [通常]> then\n    switch costume to (コスチューム1 v)\nelse\n    if <(プレイヤースキン) = [B]> then\n        switch costume to (コスチュームb1 v)\n    end\nend\n\nwhen I receive [スタート v]\nshow\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        if <(プレイヤースキン) = [通常]> then\n            switch costume to (コスチューム1 v)\n            change [x v] by (1)\n        else\n            if <(プレイヤースキン) = [B]> then\n                switch costume to (コスチュームb1 v)\n                change [x v] by (1)\n            end\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        if <(プレイヤースキン) = [通常]> then\n            switch costume to (コスチューム2 v)\n            change [x v] by (-1)\n        else\n            if <(プレイヤースキン) = [B]> then\n                switch costume to (コスチュームb2 v)\n                change [x v] by (-1)\n            end\n        end\n    end\n    set [x v] to ((X) * (0.89))\n    change x by (X)\n    if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n        change y by (1)\n        if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n            change y by (1)\n            if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n                change y by (1)\n                if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n                    change y by (1)\n                    if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n                        change y by (1)\n                        if <<touching (地面 v)?> or <touching (地面2 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 x)>> 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\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse x)>> or <key (w v) pressed?>>> then\n        if <<touching (地面 v)?> or <touching (地面2 v)?>> then\n            start sound [可愛いジャンプ v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[242] < (x position)> then\n        初期設定プログラム\n        broadcast (ネクスト v)\n        wait (0.1) seconds\n    end\n    if <touching (トゲ v)?> then\n        初期設定プログラム\n    end\n    if <touching (動くトゲ v)?> then\n        初期設定プログラム\n    end\n    if <<(y position) < [-180]> and <not <(ステージ) = [17]>>> then\n        初期設定プログラム\n    end\nend\n\n@地面\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (3) layers\nhide\nset [ステージ v] to [1]\n\nwhen I receive [スタート v]\nshow\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [ネクスト v]\nchange [ステージ v] by (1)\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [4]> then\n        if <([y position v] of [プレイヤー v]) = [184]> then\n            hide\n        end\n    else\n        show\n    end\nend\n\n@トゲ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\npoint in direction (90)\nshow\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\nend\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (gyalaxy v)\nshow\nbroadcast (サムネend v)\nforever\n    change [ghost v] effect by (2)\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n@記録\n\nwhen flag clicked\nif <(☁ 1.4 world time) = [0]> then\n    set [☁ 1.4 world time v] to [9999]\nend\nforever\n    if <(ステージ) = [26]> then\n        if <(☁ 1.4 world time) > (time)> then\n            set [☁ 1.4 world time v] to (time)\n        end\n    end\n    if <(ステージ) = [26]> then\n        change [☁ クリアした数 v] by (1)\n        wait (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) seconds\n    end\nend\n\nwhen flag clicked\nwait (0.000000000000000000000000000000000000000000000000000000001) seconds\nforever\n    if <(username) = [Hoshadu]> then\n        stop [other scripts in sprite v]\n    end\nend\n\nset [☁ 1.4 world time v] to [9999]\n\nwhen I receive [記録止まれ v]\nstop [this script v]\n\n@動くトゲ\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nforever\n    go to [back v] layer\n    switch costume to (ステージ)\n    if <(ステージ) = [23]> then\n        glide (1) secs to x: (0) y: (73)\n        glide (1) secs to x: (0) y: (0)\n    end\n    if <(ステージ) = [24]> then\n        glide (1) secs to x: (0) y: (-80)\n        glide (1) secs to x: (0) y: (0)\n    end\n    if <(ステージ) = [25]> then\n        glide (1) secs to x: (0) y: (-93)\n        glide (1.5) secs to x: (0) y: (133)\n    end\nend\n\n@アクセサリー\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    go to (プレイヤー v)\nend\n\nwhen I receive [スタート v]\nforever\n    if <(プレイヤースキン) = [B]> then\n        show\n        if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n            switch costume to (b1 v)\n        end\n        if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n            switch costume to (b2 v)\n        end\n    end\nend\n\nwhen flag clicked\n\ngo [forward v] (2) layers\nswitch costume to (コスチューム1 v)\nshow\n\n@スプライト1\n\nwhen flag clicked\nswitch costume to (5895ae79fa3cd01f09e984f15eda2030 v)\nhide\nforever\n    if <(ステージ) = [4]> then\n        if <([y position v] of [プレイヤー v]) = [184]> then\n            repeat until <not <(ステージ) = [4]>>\n                show\n                wait (0.000001) seconds\n                next costume\n            end\n        end\n    else\n        hide\n    end\nend\n\n@地面2\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (6) layers\nhide\n\nwhen I receive [スタート v]\nhide\n\nwhen I receive [スタート v]\nforever\n    if <(ステージ) = [4]> then\n        if <([y position v] of [プレイヤー v]) = [184]> then\n            show\n        end\n    else\n        hide\n    end\nend\n\nforever\n    switch costume to (ステージ)\nend\n\n