Night platformer 2

Instructions:      ⇧ \n⇦  ■   ⇨\n     ⇩ \nv0.1.1\n=========================================\n■■■■■■■■■■■■      РУССКИЙ     ■■■■■■■■■■■■\n=========================================\nКоличество уровней -         14\nКоличество видом света -   3\n■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n                          Список версий:\n0.1.1  -- Сделана игра.\n=========================================\n■■■■■■■■■■■■      ENGLISH     ■■■■■■■■■■■■\n=========================================\nNumber of levels - 4\nNumber of types of light - 3\n■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n                           Version list:\n0.1.1 - The game is made.\n

@Stage\n\nwhen I receive [начало проекта v]\nset [brightness v] effect to (0)\nswitch backdrop to (фон 2 v)\n\nforever\n    wait (5) seconds\n    repeat (5)\n        change [brightness v] effect by (10)\n    end\n    repeat (5)\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (фон 2 v)\n\n@Заставка\n\nwhen flag clicked\nhide\nerase all\npen up\nset pen color to (#0a9c00)\nset pen size to (200)\ngo to x: (-240) y: (160)\nrepeat (5)\n    repeat (6)\n        pen down\n        move (80) steps\n    end\n    set x to (-240)\n    change y by (-80)\nend\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nrepeat (5)\n    wait (0.3) seconds\n    create clone of (_myself_ v)\n    next costume\nend\nwait (1) seconds\nbroadcast (начало проекта v)\nerase all\n\nwhen I start as a clone\nshow\nset size to (260) %\nrepeat (8)\n    change size by (-20)\nend\n\nwhen I receive [начало проекта v]\ndelete this clone\n\n@свет\n\nwhen flag clicked\npoint in direction (90)\nset size to (60) %\nhide\n\nwhen I receive [начало проекта v]\nshow\nforever\n    go to [back v] layer\n    go to (игрок v)\nend\n\ngo to [back v] layer\n\nwhen I receive [начало проекта v]\nshow\nforever\n    switch costume to (скин)\n    if <(скин) = [1]> then\n        ефект [5]\n    end\n    if <(скин) = [2]> then\n        ефект [12]\n    end\n    if <(скин) = [3]> then\n        turn right (20) degrees\n    end\nend\n\ndefine ефект (количество)\nrepeat (количество)\n    change size by (6)\nend\nrepeat (количество)\n    change size by (-6)\nend\n\n@ОБЛОЖКА\n\nwhen flag clicked\nset [скин v] to [0]\ngo to [front v] layer\nhide\n\n@батут\n\nwhen I receive [начало проекта v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (.уровень)\nend\n\nwhen flag clicked\nhide\n\n@препятствие\n\nwhen I receive [начало проекта v]\nset [таймер v] to [0]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (.уровень)\nend\n\nwhen flag clicked\nhide variable [счет. v]\nhide\n\nwhen I receive [начало проекта v]\nforever\n    wait (1) seconds\n    change [таймер v] by (1)\nend\n\nwhen I receive [начало проекта v]\nshow variable [счет. v]\nforever\n    set [счет. v] to (join (join [best score: ] (☁ лучший..)) (join [  ] (join [your score:  ] (таймер))))\nend\n\nwhen I receive [начало проекта v]\nwait until <(.уровень) = [15]>\nif <(таймер) < (☁ лучший..)> then\n    set [☁ лучший.. v] to (таймер)\nend\n\nset [☁ лучший.. v] to [9999]\n\n@платформа\n\nwhen I receive [начало проекта v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (.уровень)\nend\n\nwhen flag clicked\nhide\n\n@игрок\n\nwhen flag clicked\nhide\n\nwhen I receive [след. уровень v]\ngo to x: (-230) y: (-57)\n\nwhen I start as a clone\nrepeat (6)\n    change size by (-2)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [начало проекта v]\nshow\ngo to x: (-220) y: (110)\nset [прыгать по стенам? v] to [1]\nforever\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-0.8)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (0.8)\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    end\n    if <touching (платформа v)?> then\n        change y by (1)\n    end\n    if <touching (платформа v)?> then\n        change y by (1)\n    end\n    if <touching (платформа v)?> then\n        change y by (1)\n    end\n    if <touching (платформа v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <(прыгать по стенам?) = [1]> then\n            if <key (up arrow v) pressed?> then\n                if <(x) > [0]> then\n                    set [x v] to [-5]\n                else\n                    set [x v] to [5]\n                end\n                set [y v] to [11]\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (платформа v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching (платформа v)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [11]\n    end\n    change y by (1)\nend\n\nwhen I receive [начало проекта v]\nswitch costume to (1 v)\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (1 v)\n    else\n        if <key (left arrow v) pressed?> then\n            switch costume to (2 v)\n        else\n            if <key (up arrow v) pressed?> then\n                switch costume to (3 v)\n            else\n                if <<(y) > [0]> and <not <key (up arrow v) pressed?>>> then\n                    switch costume to (4 v)\n                else\n                    switch costume to (5 v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [начало проекта v]\nforever\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        broadcast (след. уровень v)\n        change [.уровень v] by (1)\n    end\nend\n\nwhen I receive [начало проекта v]\nforever\n    if <touching (препятствие v)?> then\n        go to x: (-230) y: (-57)\n    end\n    if <touching (батут v)?> then\n        set [y v] to [30]\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nset [.уровень v] to [1]\n\nif <(x position) < [-239]> then\n    broadcast (пред. уровень v)\n    change [.уровень v] by (-1)\nend\n\nwhen I receive [пред. уровень v]\ngo to x: (227) y: (-10)\n\n@вопрос\n\nwhen flag clicked\nhide\n\ndefine ефект\nrepeat (5)\n    change y by (2)\nend\nrepeat (5)\n    change y by (-2)\nend\n\nwhen I receive [начало проекта v]\nforever\n    if <touching (игрок v)?> then\n        broadcast (скин v)\n    end\n    if <(.уровень) = [2]> then\n        switch costume to (вопрос v)\n        go to x: (42) y: (107)\n        show\n        ефект\n    else\n        if <(.уровень) = [5]> then\n            switch costume to (вопрос v)\n            go to x: (-10) y: (135)\n            show\n            ефект\n        else\n            if <(.уровень) = [11]> then\n                switch costume to (вопрос v)\n                go to x: (16) y: (-143)\n                show\n                ефект\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [скин v]\nhide\n\ngo to [front v] layer\n\n@скины\n\nwhen I receive [скин v]\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nif <(.уровень) = [2]> then\n    switch costume to (3 v)\nelse\n    if <(.уровень) = [5]> then\n        switch costume to (1 v)\n    else\n        if <(.уровень) = [11]> then\n            switch costume to (2 v)\n        end\n    end\nend\nset [скин v] to (costume [number v])\ngo to x: (500) y: (12)\nrepeat (45)\n    change x by (-10)\nend\nwait (1) seconds\nhide\n\nwhen flag clicked\nhide\n\n