Shadow - a dark platformer

Instructions: Lava- a platformer game     \nThis took me a while to make.\n\nYou know the rules and so do i\nI ADDED LEVELS!!! :DDDDDDDDD\nhttps://scratch.mit.edu/projects/459181114/\n\n\n\n\nComment cheezy buRgEr

@Stage\n\nwhen I receive [the end v]\nwait (0.8) seconds\nforever\n    play sound [Starship v] until done\nend\n\n@player\n\nwhen flag clicked\nhide\n\ndefine 初期設定プログラム\nshow\nset size to (100) %\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (ぷれいやあ v)\ngo to x: (-200) y: (-50)\n\nwhen I receive [the end v]\nwait (1) seconds\nwait (1.2) seconds\n初期設定プログラム\nset [ghost v] effect to (100)\nrepeat (25)\n    change [ghost v] effect by (-4)\nend\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\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 (1)\n                        if <touching (地面 v)?> then\n                            set [地面 v] to [0]\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [9]\n                                else\n                                    set [x v] to [-9]\n                                end\n                                set [y v] to [6]\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 <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>> then\n        if <touching (地面 v)?> then\n            set [y v] to [8.4]\n            start sound [ニュッ v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-0.333)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <[240] < (x position)> then\n        初期設定プログラム\n        broadcast (メッセージ1 v)\n        wait (1) seconds\n    end\n    if <<touching (トゲ v)?> or <<(y position) < [-180]> or <touching (マグマ v)?>>> then\n        初期設定プログラム\n        start sound [crashed oof v]\n    end\nend\n\nwhen I receive [the end v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (6)\n    change size by (-5)\n    change [ghost v] effect by (3)\nend\ndelete this clone\n\n@Rocketship\n\nwhen I receive [the end v]\nwait (1) seconds\nshow\ngo to x: (-182) y: (80)\npoint in direction (-90)\nrepeat (13)\n    change y by (-10)\nend\nhide\n\nwhen flag clicked\nhide\n\n@地面\n\nwhen flag clicked\nhide\nset [ステージ v] to [1]\nhide variable [time v]\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\n\nwhen I receive [the end v]\nshow\ngo to x: (0) y: (0)\nset [ステージ v] to [1]\nforever\n    switch costume to (ステージ)\nend\n\nwhen I receive [the end v]\nset [time v] to [0]\nwait (1.4) seconds\nrepeat until <(ステージ) = [10]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [the end v]\nforever\n    if <(ステージ) = [10]> then\n        wait (1) seconds\n        show variable [time v]\n    end\nend\n\n@トゲ\n\nwhen flag clicked\ngo to [back v] layer\npoint in direction (90)\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [6]> then\n        turn right (-5) degrees\n    end\n    if <(ステージ) = [7]> then\n        point in direction (90)\n    end\nend\n\n@サムネイル\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@sozai\n\nwhen flag clicked\nhide\n\nwhen I receive [the end v]\nwait (1) seconds\nhide\nwait (0.4) seconds\nstart sound [bomb1 \(1\).mp3 v]\ngo to [back v] layer\nswitch costume to (explode-05-june\[2 v)\nshow\nrepeat (25)\n    next costume\nend\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\n\nwhen I receive [メッセージ1 v]\nshow\ngo to x: (470) y: (0)\nglide (0.3) secs to x: (0) y: (0)\nwait (0.3) seconds\nglide (0.5) secs to x: (-470) y: (0)\nhide\n\nwhen I receive [the end v]\nhide\n\n@Free INTR\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    switch costume to (blue v)\n    go to [front v] layer\n    wait (0.7) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nreset timer\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [1]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [3]\ncreate clone of (_myself_ v)\nwait (6) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [4]\ngo to x: (-240) y: (0)\npoint in direction (0)\ncreate clone of (_myself_ v)\nrepeat (9)\n    change x by (55)\n    turn right (1) degrees\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[2] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    set [ghost v] effect to (40)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (-394)\n    switch costume to (x% v)\n    show\n    glide (2) secs to x: (0) y: (394)\n    delete this clone\nend\n\nwhen flag clicked\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [0]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nrepeat (200)\n    set [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [2]\n    create clone of (_myself_ v)\n    wait (0.8) seconds\nend\n\nwhen I start as a clone\nif <[0] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    switch costume to (black v)\n    go to x: (0) y: (0)\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I start as a clone\nif <[3] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (100)\n    go to x: (0) y: (186)\n    switch costume to (your name v)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change y by ((() - (y position)) / (7))\n    end\n    repeat (2)\n        wait () seconds\n    end\n    set rotation style [all around v]\n    repeat (5)\n        point in direction (-90)\n        set [π v] to [0]\n        set size to (0) %\n        repeat (30)\n            set [π v] to (((π) * (0.75)) + (((90) - (direction)) / (5)))\n            turn right (π) degrees\n            change size by ((((π) + (10)) * (0.5)) + (((100) - (size)) / (3)))\n        end\n    end\nend\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [back v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    switch costume to (white v)\n    set [π v] to (direction)\n    set [color v] effect to (((π) mod (2)) * (25))\n    set size to (0) %\n    set [ghost v] effect to (100)\n    show\n    go to x: (0) y: (-361)\n    repeat (20)\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to ((100) - (size))\n        change x by ((((-240) + ((55) * (π))) - (x position)) / (3))\n        change y by ((() - (y position)) / (3))\n        turn right (((90) - (direction)) / (3)) degrees\n    end\n    wait (0.2) seconds\n    broadcast (THE END v)\nend\n\nwhen I receive [the end v]\nif <(ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ) = [4]> then\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait ((1) / ()) seconds\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen flag clicked\nstart sound [Blooom - Be Around \[NCS Release\] v]\n\n