The ice ~platformer~ (Mobile compatible)

Instructions: 日本語は下\n\n~Method of operation~\nPC is move with arrow key!\nIf you play on a smartphone, tap to move!\n\n\n～操作方法～\nPCは十字キーで移動。\nスマホはタップで移動。\nステージ少ないです(._.)\n\nキャラは@TNTendさんのを参考にしました！

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [始まるお v]\nset volume to (70) %\nswitch backdrop to (背景5 v)\nforever\n    play sound [Elektronomia - Sky High \[NCS Release\] v] until done\nend\n\n@hi\n\nwhen flag clicked\nforever\n\ngo to x: (-189) y: (-50)\n\nwhen flag clicked\nreset timer\nhide\nforever\n    if <(x position) > [230]> then\n        if <not <[11] < (ステージ)>> then\n            broadcast (次のステージ v)\n            go to x: (-189) y: (-50)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n\nwhen I receive [game over v]\nset [hii v] to [no]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nwait (0.3) seconds\nclear graphic effects\nset [hii v] to [ok]\ngo to x: (-189) y: (-50)\nshow\n\nwhen I receive [始まるお v]\nset rotation style [left-right v]\nshow\nset [hii v] to [ok]\ngo to x: (-189) y: (-50)\nset [xxx v] to [0]\nset [yyy v] to [0]\npoint in direction (90)\nforever\n    if <(hii) = [ok]> then\n        change [yyy v] by (-1)\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [1]>>> then\n            point in direction (-90)\n            change [xxx v] by (-0.7)\n        end\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            point in direction (90)\n            change [xxx v] by (0.7)\n        end\n    end\n    set [xxx v] to ((xxx) * (0.94))\n    change x by (xxx)\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n    end\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n    end\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n    end\n    if <touching (スプライト1 v)?> then\n        change y by (1)\n    end\n    if <touching (スプライト1 v)?> then\n        change y by (-4)\n        change x by ((xxx) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n            set [yyy v] to [14]\n            if <(xxx) > [0]> then\n                set [xxx v] to [-8]\n            else\n                set [xxx v] to [8]\n            end\n        end\n        if <not <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>>> then\n            set [xxx v] to [0]\n        end\n    end\n    change y by (yyy)\n    if <touching (スプライト1 v)?> then\n        change y by ((0) - (yyy))\n        set [yyy v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> and <touching (スプライト1 v)?>> then\n        set [yyy v] to [14]\n    end\n    change y by (1)\n    if <touching (スプライト3 v)?> then\n        if <(hii) = [ok]> then\n            broadcast (game over v)\n        end\n    end\n    if <[-170] > (y position)> then\n        if <(hii) = [ok]> then\n            broadcast (game over v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(hii) = [ok]>> then\n        set [xxx v] to [0]\n        set [yyy v] to [0]\n    end\nend\n\nwhen [timer v] > (0)\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nset [ステージ v] to (costume [number v])\n\nwhen I receive [aaaa v]\nnext costume\nset [ステージ v] to (costume [number v])\n\nwhen I receive [始まるお v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nforever\n    if <(hii) = [ok]> then\n        go to [front v] layer\n        set [ステージ v] to (costume [number v])\n    end\nend\n\nwhen I receive [iiii v]\nnext costume\nset [ステージ v] to (costume [number v])\n\nwhen [timer v] > (0)\nhide\n\n@文字\n\nwhen I receive [文 v]\nset size to (130) %\nshow\npoint in direction (30)\ngo to x: (0) y: (120)\nrepeat until <[88] < (direction)>\n    turn right (((90) - (direction)) / (4)) degrees\n    create clone of (_myself_ v)\nend\npoint in direction (90)\nforever\n    change [aaaaa v] by (12)\n    set size to ((150) + (([sin v] of (aaaaa) ) * (10))) %\n    if <(ステージ) = [12]> then\n        change [color v] effect by (0.5)\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I start as a clone\nshow\ngo to (文字 v)\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\ndelete this clone\n\nwhen I receive [aaaa v]\nif <not <(costume [number v]) = [6]>> then\n    next costume\nend\nif <(ステージ) = [12]> then\n    next costume\nend\n\nwhen I receive [始まるお v]\nbroadcast (文 v)\n\nwhen [timer v] > (0)\nhide\n\n@サムネ\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\n@スプライト10\n\nwhen I receive [次のステージ v]\nswitch costume to (コスチューム2 v)\ngo to [front v] layer\nset [hii v] to [no]\nshow\ngo to x: (0) y: (1000)\nrepeat until <(y position) < [1]>\n    change y by (((y position) - ((y position) * (2))) / (2.4))\nend\ngo to x: (0) y: (0.1)\nbroadcast (aaaa v)\nrepeat until <[300] < (y position)>\n    change y by ((y position) / (2.4))\nend\nset [hii v] to [ok]\nhide\nbroadcast (文 v)\nif <(ステージ) = [14]> then\n    start sound [people-performance-cheer1 v]\nend\n\nchange x by ((y position) / (2.4))\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nset [hii v] to [ok]\nhide\n\nwhen [timer v] > (0)\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\n\nwhen I receive [aaaa v]\nnext costume\n\nwhen I receive [始まるお v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nforever\n    if <(hii) = [ok]> then\n        go to [front v] layer\n    end\nend\n\nwhen I receive [iiii v]\nnext costume\n\nwhen [timer v] > (0)\nhide\n\n@outro\n\nwhen I start as a clone\nif <(hi) = [0]> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set y to (2000)\n    switch costume to (コスチューム1 v)\n    forever\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\nend\nif <(hi) = [1]> then\n    point in direction (90)\n    set size to (100) %\n    show\n    set y to (2000)\n    switch costume to (コスチューム2 v)\n    forever\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\nend\nif <(hi) = [2]> then\n    point in direction (90)\n    go to x: (5) y: (120)\n    show\n    set size to (90) %\n    switch costume to (cooltext358911262903678 v)\n    set [ghost v] effect to (100)\n    forever\n        change [1 v] by (13)\n        change [2 v] by (10)\n        point in direction ((([sin v] of (1) ) * (8)) + (90))\n        set size to ((([sin v] of (2) ) * (7)) + (90)) %\n        change [ghost v] effect by (-10)\n    end\nend\nif <(hi) = [3]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (-7) y: (30)\n    show\n    set size to (300) %\n    switch costume to (コスチューム3 v)\n    set [ghost v] effect to (100)\n    forever\n        change [3 v] by (6)\n        change [ghost v] effect by (-10)\n        point in direction ((([tan v] of (3) ) / (0.3)) + (90))\n        set size to ((([sin v] of (2) ) * (7)) + (290)) %\n    end\nend\nif <(hi) = [4]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (87) y: (30)\n    show\n    set size to (300) %\n    switch costume to (コスチューム4 v)\n    set [ghost v] effect to (100)\n    forever\n        change [ghost v] effect by (-10)\n        point in direction ((([tan v] of (3) ) / (0.3)) + (90))\n        set size to ((([sin v] of (2) ) * (7)) + (290)) %\n    end\nend\nif <(hi) = [5]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (177) y: (30)\n    show\n    set size to (60) %\n    switch costume to (コスチューム5 v)\n    set [ghost v] effect to (100)\n    forever\n        change [ghost v] effect by (-10)\n        point in direction ((([tan v] of (3) ) / (0.3)) + (90))\n        set size to ((([sin v] of (2) ) * (7)) + (60)) %\n    end\nend\nif <(hi) = [6]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (-133) y: (-45)\n    show\n    set size to (40) %\n    switch costume to (tamagoyaki４15 v)\n    set [ghost v] effect to (100)\n    forever\n        change [ghost v] effect by (-10)\n        glide () secs to x: (pick random (-131) to (-135)) y: (pick random (-43) to (-47))\n    end\nend\nif <(hi) = [7]> then\n    point in direction (90)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    set size to (100) %\n    switch costume to (コスチューム6 v)\n    forever\n        go to [front v] layer\n        set [ghost v] effect to (20)\n        repeat (10)\n            change [ghost v] effect by (8)\n        end\n        wait (0.72) seconds\n    end\nend\nif <(hi) = [8]> then\n    go to [front v] layer\n    go to x: (101) y: (-91)\n    show\n    set size to (65) %\n    switch costume to (コスチューム7 v)\n    forever\n        change [4 v] by (10)\n        point in direction ((([cos v] of (4) ) * (4)) + (90))\n        if <touching (mouse-pointer v)?> then\n            hide list [link v]\n        else\n            show list [link v]\n        end\n    end\nend\n\nwhen [timer v] > (0)\nswitch backdrop to (背景1 v)\ndelete all of [link v]\nshow list [link v]\nadd [https://scratch.mit.edu/projects/415298753] to [link v]\ngo to x: (-216) y: (1200)\nhide\nstart sound [Teminite & Panda Eyes - Highscore v]\nrepeat (6)\n    wait (0.14) seconds\n    set [hi v] to [0]\n    create clone of (_myself_ v)\n    change x by (40)\n    wait (0.14) seconds\n    set [hi v] to [1]\n    create clone of (_myself_ v)\n    change x by (40)\nend\nwait (1.1) seconds\nset [hi v] to [2]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [3]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [4]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [5]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [6]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [7]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [8]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nshow list [link v]\n\n@Cool Text - t 2\n\nwhen flag clicked\nhide\nstart sound [Different Heaven - Nekozilla \[NCS Release\]  v]\nwait (1.4) seconds\nset [hi v] to [0]\ncreate clone of (_myself_ v)\nwait (0.6) seconds\nbroadcast (a v)\nwait (1.5) seconds\nset [hi v] to [1]\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nset [hi v] to [2]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nset [hi v] to [3]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [6]\ncreate clone of (_myself_ v)\nwait (5) seconds\nset [hi v] to [7]\ncreate clone of (_myself_ v)\nwait (0) seconds\nset [hi v] to [8]\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nif <(hi) = [0]> then\n    point in direction (90)\n    set size to (100) %\n    go to x: (-1000) y: (0)\n    show\n    switch costume to (コスチューム2 v)\n    forever\n        if <(hi) = [9]> then\n            hide\n            delete this clone\n        else\n            change x by (((x position) - ((x position) * (2))) / (4))\n        end\n    end\nend\nif <(hi) = [1]> then\n    go to [front v] layer\n    go to x: (0) y: (-200)\n    show\n    switch costume to (コスチューム12 v)\n    set size to (60) %\n    point in direction (0)\n    repeat until <[-0.5] < (y position)>\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\n    go to x: (0) y: (0)\n    go to [front v] layer\n    wait until <(hi) = [5]>\n    forever\n        if <(hi) = [9]> then\n            hide\n            delete this clone\n        else\n            point in direction ((([sin v] of (a) ) * (8)) + (90))\n        end\n    end\nend\nif <(hi) = [2]> then\n    go to [front v] layer\n    go to x: (0) y: (200)\n    show\n    switch costume to (tamagoyaki４5 \(1\)2 v)\n    set size to (60) %\n    point in direction (-135)\n    repeat until <(y position) < [0.5]>\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\n    go to x: (0) y: (0)\n    set [a v] to [0]\n    set [hi v] to [5]\n    go to [front v] layer\n    forever\n        if <(hi) = [9]> then\n            hide\n            delete this clone\n        else\n            point in direction ((([sin v] of (a) ) * (8)) + (90))\n            change [a v] by (14)\n        end\n    end\nend\nif <(hi) = [6]> then\n    set size to (140) %\n    show\n    point in direction (90)\n    switch costume to (cooltext357799345629064 v)\n    go to x: (0) y: (-240)\n    set [y2 v] to [11]\n    go to [front v] layer\n    repeat (10)\n        change y by (y2)\n        change [y2 v] by (-1)\n    end\n    go to [front v] layer\n    forever\n        if <not <(hi) = [9]>> then\n            point in direction ((([sin v] of (a) ) * (8)) + (90))\n        else\n            hide\n            delete this clone\n        end\n    end\nend\nif <(hi) = [7]> then\n    switch costume to (コスチューム1 v)\n    set size to (100) %\n    point in direction (90)\n    go to [front v] layer\n    show\n    go to x: (0) y: (-250)\n    repeat until <[-0.7] < (y position)>\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    hide\n    broadcast (b v)\n    delete this clone\nend\nif <(hi) = [8]> then\n    switch costume to (コスチューム4 v)\n    set size to (100) %\n    point in direction (90)\n    go to [front v] layer\n    show\n    go to x: (0) y: (250)\n    repeat until <(y position) < [0.7]>\n        change y by (((y position) - ((y position) * (2))) / (4))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    hide\n    delete this clone\nend\nif <(hi) = [9]> then\n    set size to (100) %\n    point in direction (90)\n    switch costume to (コスチューム5 v)\n    go to x: (0) y: (-1)\n    show\n    repeat until <(y position) < [-344]>\n        change y by ((y position) / (4))\n    end\n    broadcast (始まるお v)\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(hi) = [1]> then\n    forever\n        turn right (((90) - (direction)) / (3)) degrees\n    end\nend\nif <(hi) = [2]> then\n    forever\n        turn right (((90) - (direction)) / (3)) degrees\n    end\nend\n\nwhen I receive [b v]\nset [hi v] to [9]\ncreate clone of (_myself_ v)\n\n@スプライト2\n\nwhen I receive [a v]\nforever\n    if <(hi) = [9]> then\n        hide\n        delete this clone\n    else\n        go to [front v] layer\n        create clone of (_myself_ v)\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nif <(hi) = [1]> then\n    go [backward v] (3) layers\nelse\n    go [backward v] (4) layers\nend\nshow\npoint in direction (90)\nswitch costume to (コスチューム1 v)\ngo to x: (280) y: (0)\nrepeat until <(x position) < [-280]>\n    if <(hi) = [9]> then\n        hide\n        delete this clone\n    else\n        change x by (-10)\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [a v]\nforever\n    if <(hi) = [9]> then\n        hide\n    end\nend\n\n