Mountain Platformer!! #Platformer #all

Instructions: ♦︎日本語の説明は下\n〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜\nEnglish explanation\n♦ ︎ How to play\nArrow key operation!\nNot mobile compatible\n〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜\n♦︎遊び方\n矢印キー操作!\nモバイル対応ではないです…（ゴメンね）

@Stage\n\n@地面\n\nwhen I receive [レベルアップ v]\nnext costume\n\nwhen I receive [クリア v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [終わり v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nswitch costume to (ステージ)\ngo to [back v] layer\ngo to x: (0) y: (-84)\nshow\n\nwhen flag clicked\nhide\n\n@ポイント\n\nwhen I receive [レベルアップ v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    set [大きさ v] to ((size) + (10))\nend\nrepeat (10)\n    change [ghost v] effect by (-10)\n    set [大きさ v] to [10]\nend\n\nwhen I receive [クリア v]\nrepeat (10)\n    change [ghost v] effect by (10)\n    change [大きさ v] by (-10)\nend\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [終わり v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nswitch costume to (コスチューム1 v)\nset [大きさ v] to [100]\ngo to x: (200) y: (-100)\ngo to [back v] layer\ngo [forward v] (1) layers\nshow\nforever\n    if <(ステージ) = [11]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@ボールくん\n\nwhen flag clicked\nhide\n\nwhen I receive [終わり v]\nhide\n\nwhen flag clicked\n\nwhen I receive [スタート v]\nshow\nreset timer\nset size to (60) %\nswitch costume to (キャラ v)\nset [ステージ v] to [1]\nset [ステージ v] to [1]\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (-200) y: (-80)\nset [変数 v] to [0]\nset [重力 v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\nshow\nforever\n    change [重力 v] by (-1)\n    change y by (重力)\n    if <touching color (#c6ff98)?> then\n        change y by ((0) - (重力))\n        set [重力 v] to [0]\n        if <key (up arrow v) pressed?> then\n            set [重力 v] to [14]\n        end\n    end\n    change x by (変数)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [変数 v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [変数 v] by (-1)\n    end\n    set [変数 v] to ((変数) / (1.1))\n    if <touching color (#cc6600)?> then\n        change x by ((0) - (変数))\n        if <key (up arrow v) pressed?> then\n            set [重力 v] to [12]\n            set [変数 v] to [-5]\n        end\n        if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n            set [変数 v] to [0]\n        end\n    end\n    set [タイム v] to (timer)\n    if <touching (ポイント v)?> then\n        change [ステージ v] by (1)\n        broadcast (レベルアップ v)\n        repeat (10)\n            change y by (5)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-200) y: (-180)\n        repeat (10)\n            change y by (8)\n            change [ghost v] effect by (-10)\n        end\n        set [変数 v] to [0]\n        set [重力 v] to [0]\n    end\n    if <<touching color (#ff0000)?> or <touching color (#9a0000)?>> then\n        repeat (10)\n            change y by (5)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-200) y: (-180)\n        repeat (10)\n            change y by (8)\n            change [ghost v] effect by (-10)\n        end\n        set [変数 v] to [0]\n        set [重力 v] to [0]\n    end\n    if <touching color (#4c63ff)?> then\n        set [重力 v] to [20]\n    end\nend\n\nwhen I receive [スタート v]\nforever\n    play sound [ゲーム音楽6　冒険 v] until done\nend\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\ngo to x: (36) y: (28)\nwait (1) seconds\nbroadcast (スタート v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n