Scroll Platformer

Instructions: ＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n-----------------日本語の説明は下にあります----------------\n￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣\n【English】\n＝≪how to play≫＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\nUse the left key to move to the left and the right key to move to the right.\nJump with the up key. Crouch down. When it hits red, you go back to the beginning of the stage...\nTouch the blue and jump!\n＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\n【日本語】\n＝≪遊び方≫＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\n左キーで左、右キーで右に動きます。\n上キーでジャンプ。下キーでしゃがみます。赤色に当たると、ステージの初めに戻ります...\n青に触れると大ジャンプ！\n＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

@Stage\n\nwhen flag clicked\nset volume to (50) %\nforever\n    play sound [BGM v] until done\nend\n\n@サムネイル\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\n\n@横の何か（？）\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\n\n@キャラ\n\nwhen I receive [大ジャンプ v]\nstart sound [ニュッ2 v]\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (キャラ1 v)\nset size to (50) %\nset rotation style [left-right v]\nshow\ngo to x: (-145) y: (-36)\nset [距離 v] to [0]\nset [速度x v] to [0]\nset [速度y v] to [0]\nforever\n    create clone of (_myself_ v)\n    create clone of (キャラ2 v)\n    change [速度y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        if <touching color (#000000)?> then\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        if <touching color (#000000)?> then\n    end\n    if <touching color (#000000)?> then\n    if <touching color (#bd6602)?> then\n        change y by (1)\n    end\n    if <touching color (#bd6602)?> then\n        change y by (1)\n    end\n    if <touching color (#bd6602)?> then\n        change y by (1)\n    end\n    if <touching color (#bd6602)?> then\n        change y by (1)\n    end\n    if <touching color (#bd6602)?> then\n        change y by (-4)\n        change x by ((速度x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            set [速度y v] to [15]\n            if <([abs v] of (速度x) ) = (速度x)> then\n                set [速度x v] to [-10]\n            else\n                set [速度x v] to [10]\n            end\n        else\n            set [速度x v] to [0]\n        end\n    end\n    change y by (速度y)\n    if <touching color (#bd6602)?> then\n        change y by ((0) - (速度y))\n        set [速度y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> and <touching color (#bd6602)?>> or <<<mouse down?> and <(y position) < (mouse y)>> and <touching color (#bd6602)?>>> then\n        set [速度y v] to [15]\n        broadcast (ジャンプ v)\n    end\n    change y by (1)\n    if <[750] < (距離)> then\n        go to x: (-145) y: (-36)\n        set [距離 v] to [0]\n    end\n    if <touching color (#ff4747)?> then\n        go to x: (-145) y: (-36)\n        set [距離 v] to [0]\n        broadcast (死亡 v)\n    end\n    if <touching color (#4769ff)?> then\n        set [速度y v] to [15]\n        go to x: (-145) y: (-36)\n        broadcast (大ジャンプ v)\n    end\n    if <touching color (#ef00ff)?> then\n        broadcast (クリア v)\n        hide\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nset size to (50) %\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < [-105]>>> then\n        switch costume to (キャラ2 v)\n    else\n        switch costume to (キャラ1 v)\n    end\nend\n\nwhen I receive [死亡 v]\nstart sound [しょげる v]\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [ジャンプ v]\nstart sound [jump13 v]\n\n@地形奥1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) - (680)) y: (0)\nend\n\n@地形奥2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) - (200)) y: (0)\nend\n\n@地形A\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (100)) y: (0)\nend\n\n@地形B\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (400)) y: (0)\nend\n\n@地形C\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (700)) y: (0)\nend\n\n@地形D\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (1000)) y: (0)\nend\n\n@地形E\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (1300)) y: (0)\nend\n\n@地形F\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (1600)) y: (0)\nend\n\n@地形手前1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (1600)) y: (0)\nend\n\n@地形手前2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((距離) + (1600)) y: (0)\nend\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nhide\n\nwhen I receive [クリア v]\nshow\ngo to [front v] layer\n\nwhen [timer v] > (0)\nclear graphic effects\ngo to [back v] layer\nhide\n\n