my platformer! 3D Action!

Instructions: 3D作品来ましたあ！\n矢印キーで操作。\n

@Stage\n\nwhen flag clicked\n\nwhen I receive [はじま v]\nforever\n    play sound [TheFatRat - Unity vs Megalovania \(by LiterallyNoOne\) v] until done\nend\n\n@スプライト1\n\ndefine どんなに鍛え上げられたエリートな巨大ポテトでも武器が割りばしだとすっげ―弱そうに見える　by susira-menn\nclear graphic effects\nnext costume\nerase all\nset size to (40) %\nchange [brightness v] effect by (-20)\nset [brightness v] effect to (-80)\nrepeat until <(size) = [100]>\n    stamp\n    change size by (1)\n    change [brightness v] effect by (1)\nend\nclear graphic effects\nbroadcast (owatta v)\n\nerase all\nerase all\nset size to (40) %\nchange [brightness v] effect by (-80)\nrepeat until <(size) = [100]>\n    stamp\n    change size by (1)\n    change [brightness v] effect by (1)\nend\nclear graphic effects\nbroadcast (owatta v)\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen I receive [次の背景にしろよな？ v]\nどんなに鍛え上げられたエリートな巨大ポテトでも武器が割りばしだとすっげ―弱そうに見える　by susira-menn\n\nwhen I receive [はじま v]\nswitch costume to (コスチューム10 v)\nどんなに鍛え上げられたエリートな巨大ポテトでも武器が割りばしだとすっげ―弱そうに見える　by susira-menn\n\n@スプライト3\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nforever\n    if <touching (スプライト2 v)?> then\n        broadcast (次の背景にしろよな？ v)\n    end\nend\n\n@スプライト2\n\nwhen I receive [weda v]\ngo to x: (-180) y: (-144)\n\nif <(backdrop [number v]) = [16]> then\n    hide\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        start sound [ナイフの音 v]\n        go to x: (-215) y: (-80)\n    end\nend\n\nwhen flag clicked\nrepeat (60)\n    go to x: (-210) y: (-84)\nend\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen I receive [owatta v]\ngo to x: (-210) y: (-84)\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [2]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [3]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [4]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [5]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [6]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [7]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [8]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [9]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [10]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [11]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [12]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\n    if <<(backdrop [number v]) = [13]> and <key (space v) pressed?>> then\n        go to x: (-210) y: (-84)\n    end\nend\n\nwhen I receive [weda v]\nforever\n    if <touching (hata v)?> then\n        if <(backdrop [number v]) = [14]> then\n            broadcast (もう一回遊べるドン！ v)\n        end\n        go to x: (-209) y: (-138)\n        next backdrop\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (スプライト4 v)?> then\n        go to (hata v)\n    end\nend\n\nwhen I receive [はじま v]\ngo to x: (-201) y: (-84)\nset [x v] to [0]\nset [y v] to [0]\nset rotation style [left-right v]\nforever\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n        switch costume to (コスチューム1 v)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [x v] by (1)\n        point in direction (90)\n        switch costume to (コスチューム1 v)\n    end\n    change y by (-1)\n    if <touching color (#1dff00)?> then\n        set [x v] to ((x) * (0.93))\n    else\n        set [x v] to ((x) * (0.9))\n    end\n    change y by (1)\n    change x by (x)\n    if <touching color (#1dff00)?> then\n        change y by (1)\n        if <touching color (#1dff00)?> then\n            change y by (1)\n            if <touching color (#1dff00)?> then\n                change y by (1)\n                if <touching color (#1dff00)?> then\n                    change y by (1)\n                    if <touching color (#1dff00)?> then\n                        change y by (1)\n                        if <touching color (#1dff00)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-6]\n                                else\n                                    set [x v] to [6]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <touching color (#1dff00)?> then\n            set [y v] to [15]\n            broadcast (ジャンプ v)\n        end\n    end\n    change y by (Y)\n    change [y v] by (-1)\n    if <<touching color (#1dff00)?> or <touching color (#00ff3b)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\nrepeat (50)\n    go to [back v] layer\n    change size by (-2)\n    change [ghost v] effect by (2)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\nend\n\n@Intro\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nreset timer\nhide\nstart sound [Muuuuuusssiiiiiiic v]\nswitch costume to (b v)\nset [id v] to [1]\ncreate clone of (_myself_ v)\nset [id v] to [2]\ncreate clone of (_myself_ v)\nset [id v] to [4]\ncreate clone of (_myself_ v)\nset [id v] to [5]\ncreate clone of (_myself_ v)\nwait until <(timer) > [3.7]>\nset [id v] to [6]\ncreate clone of (_myself_ v)\nset [id v] to [3]\nrepeat (5)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nif <(id) = [1]> then\n    switch costume to (cover 1/2 v)\n    go to x: (0) y: (0)\n    wait until <(timer) > [3.5]>\n    repeat until <(round (y position)) = [150]>\n        change y by (((150) - (y position)) / (8))\n    end\n    wait until <(timer) > [8]>\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (4))\n    end\n    wait (0.5) seconds\n    set [# v] to [15]\n    repeat (15)\n        set y to (item (#) of [y2 v])\n        change [# v] by (-1)\n    end\n    delete this clone\nelse\n    if <(id) = [2]> then\n        switch costume to (cover 1/3 v)\n        go to x: (0) y: (0)\n        wait until <(timer) > [3.5]>\n        repeat until <(round (y position)) = [-150]>\n            change y by (((-150) - (y position)) / (8))\n        end\n        wait until <(timer) > [8]>\n        repeat until <(round (y position)) = [0]>\n            change y by (((0) - (y position)) / (4))\n        end\n        wait (0.5) seconds\n        set [# v] to [15]\n        repeat (15)\n            set y to (item (#) of [y2 v])\n            change [# v] by (-1)\n        end\n        delete this clone\n    else\n        if <(id) = [3]> then\n            go to x: (500) y: (0)\n            repeat until <(round (x position)) = [0]>\n                change x by (((0) - (x position)) / (4))\n            end\n            wait until <(timer) > [4.9]>\n            repeat until <(round (y position)) = [50]>\n                change y by (((50) - (y position)) / (3))\n            end\n            wait (0.1) seconds\n            repeat until <(round (y position)) = [-50]>\n                change y by (((-50) - (y position)) / (3))\n            end\n            wait (0.1) seconds\n            repeat until <(round (y position)) = [0]>\n                change y by (((0) - (y position)) / (4))\n            end\n            wait ((0.1) * (costume [number v])) seconds\n            set [# v] to [22]\n            repeat (22)\n                change y by (item (#) of [y v])\n                change [# v] by (-1)\n            end\n            delete this clone\n        else\n            if <(id) = [4]> then\n                switch costume to (back v)\n                go to [back v] layer\n                forever\n                    set y to ((8) * ([sin v] of ((timer) * (320)) ))\n                    if <(timer) > [9]> then\n                        delete this clone\n                    end\n                end\n            else\n                if <(id) = [5]> then\n                    switch costume to (back2 v)\n                    go to [back v] layer\n                    forever\n                        go to x: (0) y: (0)\n                        repeat (14)\n                            change x by (10)\n                        end\n                        if <(timer) > [9]> then\n                            delete this clone\n                        end\n                    end\n                else\n                    switch costume to (blank v)\n                    go to x: (-500) y: (0)\n                    repeat until <(round (x position)) = [0]>\n                        change x by (((0) - (x position)) / (4))\n                    end\n                    wait until <(timer) > [4.9]>\n                    repeat until <(round (y position)) = [-50]>\n                        change y by (((-50) - (y position)) / (3))\n                    end\n                    wait (0.1) seconds\n                    repeat until <(round (y position)) = [50]>\n                        change y by (((50) - (y position)) / (3))\n                    end\n                    wait (0.1) seconds\n                    repeat until <(round (y position)) = [0]>\n                        change y by (((0) - (y position)) / (4))\n                    end\n                    wait (0.5) seconds\n                    set [# v] to [19]\n                    repeat (19)\n                        set size to (item (#) of [s v]) %\n                        change [# v] by (-1)\n                    end\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait until <[10] < (timer)>\nbroadcast (weda v)\n\nwhen flag clicked\nwait until <(timer) > [10]>\nbroadcast (はじま v)\n\n