PLATFORMER Brawl Stars! v1.1.2

Instructions: Управление стрелками или W,A,D.\n

@Stage\n\nwhen I receive [begin v]\nforever\n    stop all sounds\n    play sound [Brawl Stars OST Battle 7_\(tancpol v] until done\nend\n\nwhen I receive [конец v]\nforever\n    stop [other scripts in sprite v]\n    stop all sounds\n    play sound [Supercell Меню\(3\) Brawl Stars \(клуб GRA new\)_\(tancpol v] until done\nend\n\nwhen I receive [begin v]\nforever\n    change [color v] effect by (1)\nend\n\n@Player\n\ndefine обработка земли <подъём>\nswitch costume to (hitbox v)\nrepeat until <not <<touching (land v)?> or <touching (mills v)?>>>\n    if <подъём> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [в воздухе v] to [0]\n    end\n    set [y скорость v] to [0]\nend\nswitch costume to (костюм)\n\ndefine прогулка (шаги)\nswitch costume to (hitbox v)\nchange x by (шаги)\nset [склон v] to [0]\nrepeat until <<not <<touching (land v)?> or <touching (mills v)?>>> or <(склон) = [8]>>\n    change y by (1)\n    change [склон v] by (1)\nend\nif <(склон) = [8]> then\n    change x by ((-1) * (шаги))\n    change y by (-8)\nend\nswitch costume to (костюм)\n\nwhen I receive [begin v]\nset [костюм v] to (pick random (2) to (35))\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(в воздухе) < [8]>> then\n        set [y скорость v] to [14]\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [195]>> then\n        broadcast (Next level v)\n        go to x: (-205) y: (125)\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <(y position) < [-170]> then\n        set [y скорость v] to [0]\n        go to x: (-201) y: (-125)\n    end\nend\n\nwhen I receive [begin v]\nset size to (30) %\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        прогулка [-5]\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        прогулка [5]\n    end\n    if <<not <<key (right arrow v) pressed?> or <key (d v) pressed?>>> and <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\nend\n\nwhen I receive [begin v]\nset [y скорость v] to [0]\nset rotation style [left-right v]\nforever\n    change [y скорость v] by (-2)\n    change y by (Y скорость)\n    change [в воздухе v] by (1)\n    обработка земли <(Y скорость) > [0]>\nend\n\nwhen I receive [begin v]\nforever\n    if <touching (hedgehog v)?> then\n        broadcast (чекпоинт v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    set size to (30) %\nend\n\nwhen I receive [чекпоинт v]\ngo to x: (-201) y: (-125)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    turn right (15) degrees\n    switch costume to (star v)\n    change [color v] effect by (10)\n    change [ghost v] effect by (10)\n    change size by (-2)\nend\ndelete this clone\n\n@Land\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [begin v]\ngo to x: (0) y: (-6)\npoint in direction (90)\nforever\n    if <(costume [name v]) = [2]> then\n        repeat (50)\n            if <(costume [name v]) = [3]> then\n                point in direction (90)\n                stop [this script v]\n            end\n            turn right (0.1) degrees\n        end\n        if <(costume [name v]) = [3]> then\n            point in direction (90)\n            stop [this script v]\n        end\n        repeat (50)\n            if <(costume [name v]) = [3]> then\n                point in direction (90)\n                stop [this script v]\n            end\n            turn right (-0.1) degrees\n        end\n        if <(costume [name v]) = [3]> then\n            point in direction (90)\n            stop [this script v]\n        end\n    else\n        point in direction (90)\n    end\nend\n\nwhen I receive [begin v]\npoint in direction (90)\nforever\n    if <(costume [name v]) = [3]> then\n        broadcast (конец v)\n        forever\n            point in direction (90)\n            broadcast (нет v)\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (2d_12402-3 v)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [ничего]> then\n        broadcast (колесо v)\n        stop [this script v]\n    else\n        broadcast (нет v)\n    end\nend\n\n@Mills\n\nwhen flag clicked\nhide\n\nwhen I receive [колесо v]\nshow\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [begin v]\nforever\n    turn right (0.1) degrees\nend\n\n@Skins\n\nwhen this sprite clicked\nif <(подсказка) = [закрыта]> then\n    set [подсказка v] to [открыта]\n    go to x: (-186) y: (119)\n    switch costume to (костюм 3 v)\n    hide list [skins v]\n    delete all of [skins v]\n    add [Edgar] to [skins v]\n    wait (0) seconds\n    add [Tropic Spraut] to [skins v]\n    wait (0) seconds\n    add [Crow] to [skins v]\n    wait (0) seconds\n    add [White Crow] to [skins v]\n    wait (0) seconds\n    add [Old Crow] to [skins v]\n    wait (0) seconds\n    add [Old white Crow] to [skins v]\n    wait (0) seconds\n    add [Old fenix Crow] to [skins v]\n    wait (0) seconds\n    add [Old gold Crow] to [skins v]\n    wait (0) seconds\n    add [Old gold meha Crow] to [skins v]\n    wait (0) seconds\n    add [Old meha Crow] to [skins v]\n    wait (0) seconds\n    add [Old dark meha Crow] to [skins v]\n    wait (0) seconds\n    add [Sans Poco] to [skins v]\n    wait (0) seconds\n    add [El rudo primo] to [skins v]\n    wait (0) seconds\n    add [El rey primo] to [skins v]\n    wait (0) seconds\n    add [8-Bit Virus] to [skins v]\n    wait (0) seconds\n    add [El primo] to [skins v]\n    wait (0) seconds\n    add [ZomBibi] to [skins v]\n    wait (0) seconds\n    add [Bibi Hero] to [skins v]\n    wait (0) seconds\n    add [Bibi] to [skins v]\n    wait (0) seconds\n    add [8-Bit] to [skins v]\n    wait (0) seconds\n    add [Poco] to [skins v]\n    wait (0) seconds\n    add [Derril] to [skins v]\n    wait (0) seconds\n    add [Nani] to [skins v]\n    wait (0) seconds\n    add [Spraut] to [skins v]\n    wait (0) seconds\n    add [Jine] to [skins v]\n    wait (0) seconds\n    add [Spike] to [skins v]\n    wait (0) seconds\n    add [Frank] to [skins v]\n    wait (0) seconds\n    add [Tara] to [skins v]\n    wait (0) seconds\n    add [Tara indigo] to [skins v]\n    wait (0) seconds\n    add [Tara ninja] to [skins v]\n    wait (0) seconds\n    add [Leon] to [skins v]\n    wait (0) seconds\n    add [Penny] to [skins v]\n    wait (0) seconds\n    add [Old Pem] to [skins v]\n    wait (0) seconds\n    add [Pem] to [skins v]\n    wait (0) seconds\n    add [Beach Pem] to [skins v]\n    ask [Enter skin name \( Введите имя скина\)] and wait\n    if <(answer) = []> then\n        switch costume to (костюм 2 v)\n        go to x: (-188) y: (-157)\n    else\n        set [костюм v] to (answer)\n    end\nelse\n    set [подсказка v] to [закрыта]\n    show list [skins v]\n    switch costume to (костюм 2 v)\n    go to x: (-188) y: (-157)\nend\n\nwhen flag clicked\nhide\ngo to x: (-186) y: (-157)\nrepeat (10)\n    go to [front v] layer\nend\nshow list [skins v]\nswitch costume to (костюм 2 v)\nset [подсказка v] to [закрыта]\nforever\n    change [color v] effect by (1)\nend\n\nwhen I receive [begin v]\nshow\n\n@Play\n\nwhen flag clicked\ngo to x: (-12) y: (-12)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (begin v)\nhide\n\n@ screen saver\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@Skip\n\nwhen this sprite clicked\nhide\nreset timer\nbroadcast (Next level v)\n\nwhen I receive [begin v]\nforever\n    if <(timer) > [10]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [next level v]\nreset timer\n\nwhen flag clicked\nhide\n\nwhen I receive [конец v]\nstop [other scripts in sprite v]\nhide\n\n