Staff of The Wizard || Platformer

Instructions: Arrow keys to move. Mobile friendly :)\n\n100 loves 100 faves for part 2 :)\nUPDATED: I guess I'm making part 2 \n\nguys lol I went to sleep and woke up with 500 things in my mail. \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nHi\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nBye.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:)

@Stage\n\n@空白\n\n@player\n\nwhen flag clicked\nhide\nset size to (60) %\ngo to x: (-220) y: (-30)\ngo to [back v] layer\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen [z v] key pressed\n\nwhen flag clicked\nwait (2) seconds\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<touching (棘 v)?> or <(y position) < [-160]>> then\n        go to x: (-210) y: (-63)\n        start sound [Crunch v]\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-1.75)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [x v] by (1.75)\n        point in direction (90)\n    end\n    set [x v] to ((x) * (0.8))\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                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [壁 v]\n                                if <(x) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [15]\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 <touching (道 v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [y v] to [14]\n            start sound [ジャンプ3 v]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\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 <(x position) > [230]> then\n        broadcast (next v)\n        start sound [Rip v]\n        go to x: (-216) y: (-63)\n        wait (2.7) seconds\n    end\n    if <touching (ばね v)?> then\n        set [y v] to [22]\n    end\nend\n\nwhen flag clicked\n\nwait (0.1) seconds\n\nwhen flag clicked\n\nchange size by (10)\n\n\n\n@道\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nforever\n    play sound [Starship v] until done\nend\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\nhide variable [☁ world record v]\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nwait (1) seconds\nshow\ngo to x: (0) y: (-75)\nrepeat (50)\n    change y by (((0) - (y position)) / (5))\nend\n\n@棘\n\nwhen flag clicked\nhide\nswitch costume to (a v)\nwait (1) seconds\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nwait (1) seconds\nshow\ngo to x: (0) y: (-75)\nrepeat (50)\n    change y by (((0) - (y position)) / (5))\nend\n\n@ねくすちょ\n\nwhen I receive [next v]\nstart sound [Rip v]\nset [next色 v] to (pick random (1) to (200))\nreset timer\nrepeat (3)\n    クローン：ID [なんか変な動き]\n    wait (0.075) seconds\n    クローン：ID [なんか変な動き2]\n    wait (0.075) seconds\nend\n\nwhen I receive [next v]\npoint in direction (90)\nset [brightness v] effect to (0)\nwait (0.0001) seconds\nrepeat (3)\n    クローン：ID [◎]\n    wait (0.15) seconds\n    クローン：ID [◎2]\n    wait (0.075) seconds\nend\nクローン：ID [◎3]\nクローン：ID [next]\n\nwhen I start as a clone\nshow\nif < (ID) contains [なんか変な動き]?> then\n    set [ghost v] effect to (50)\n    point in direction (180)\n    if <(ID) = [なんか変な動き2]> then\n        set [brightness v] effect to (100)\n    else\n        set [brightness v] effect to (0)\n    end\n    set [クローン用ローカル変数 v] to [67.5]\n    switch costume to (サイズハック v)\n    set size to (100) %\n    go to x: (0) y: (0)\n    repeat (50)\n        switch costume to (半透明のあれ v)\n        set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (0.8))\n        turn left (クローン用ローカル変数) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (ID) contains [◎]?> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    if <(ID) = [◎2]> then\n        set [brightness v] effect to (100)\n    else\n        if <(ID) = [◎3]> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\n    set [クローン用ローカル変数 v] to [10]\n    switch costume to (◎ v)\n    set size to (0) %\n    if < (ID) contains [3]?> then\n        repeat (25)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        switch costume to (コスチューム1 v)\n        clear graphic effects\n        set [brightness v] effect to (10)\n        start sound [Finger Snap v]\n        wait (0.15) seconds\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            switch costume to (コスチューム2 v)\n            change y by ((-1) + ((y position) / (3.05)))\n            switch costume to (コスチューム1 v)\n        end\n        delete this clone\n    else\n        repeat (40)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        delete this clone\n    end\nend\n\ndefine クローン：ID (id)\nset [id v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(ID) = [next]> then\n    set [brightness v] effect to (100)\n    switch costume to (ねｘｔ v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat (25)\n        change size by (((100) - (size)) / (3.8))\n        go to [front v] layer\n    end\n    set [brightness v] effect to (-100)\n    wait (0.15) seconds\n    クローン：ID [q]\n    クローン：ID [p]\n    repeat (20)\n        go to [front v] layer\n        クローン：ID [残像]\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (ねｘｔ v)\n    end\n    delete this clone\nend\nif <(ID) = [残像]> then\n    change [ghost v] effect by (-10)\n    switch costume to (ねｘｔ2 v)\n    repeat (5)\n        change size by (-2)\n        change [ghost v] effect by (18.5)\n    end\n    delete this clone\nend\nif <(ID) = [q]> then\n    go [backward v] (2) layers\n    wait (0.05) seconds\n    set [brightness v] effect to (50)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\nif <(ID) = [p]> then\n    go [backward v] (3) layers\n    wait (0.1) seconds\n    set [brightness v] effect to (100)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    set [color v] effect to (130)\nend\n\n@おさむね\n\nwhen flag clicked\nhide\n\n