Autumn a platformer 

Instructions: PL/EN\nWitaj w Autumn a platformer! poruszanie W,S,A,D lub strzałkami. \n\nWięcej leveli już w krótce :D !!!\n\nMuzyka: Alan Walker - Spectre [NCS Release]\n\njeśli są jakieś błędy napisz komentarz\n\nMoże dobijemy 45 serc i 40 gwiazdek???\n\nEN\nWelcome to Autumn a platformer! move W, S, A, D or arrows.\n\nMore levels are coming soon: D !!!\n\nMusic: Alan Walker - Specter [NCS Release]\n\nif there are any bugs write a comment\n\nMaybe we can finish 45 hearts and 40 stars ??? 

@Stage\n\nwhen flag clicked\nset [poziom v] to [1]\nforever\n    if <(poziom) = [1]> then\n        switch backdrop to (tło1 v)\n    end\n    if <(poziom) = [2]> then\n        switch backdrop to (tło2 v)\n    end\n    if <(poziom) = [3]> then\n        switch backdrop to (tło3 v)\n    end\n    if <(poziom) = [4]> then\n        switch backdrop to (tło4 v)\n    end\n    if <(poziom) = [5]> then\n        switch backdrop to (tło5 v)\n    end\n    if <(poziom) = [6]> then\n        switch backdrop to (tło6 v)\n    end\n    if <(poziom) = [7]> then\n        switch backdrop to (tło7 v)\n    end\n    if <(poziom) = [8]> then\n        switch backdrop to (tło8 v)\n    end\n    if <(poziom) = [9]> then\n        switch backdrop to (tło9 v)\n    end\n    if <(poziom) = [10]> then\n        switch backdrop to (tło10 v)\n    end\n    if <(poziom) = [11]> then\n        switch backdrop to (tło11 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (kostium2 v)\nset [y v] to [0]\nset [x v] to [0]\nshow\ngo to x: (-222) y: (-68)\nforever\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        switch costume to (kostium2 v)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (kostium1 v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#d39e00)?> then\n        change y by (1)\n        if <touching color (#d39e00)?> then\n            change y by (1)\n            if <touching color (#d39e00)?> then\n                change y by (1)\n                if <touching color (#d39e00)?> then\n                    change y by (1)\n                end\n                if <touching color (#d39e00)?> then\n                    change x by ((x) * (-1))\n                    change y by (-4)\n                    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                        if <(x) > [0]> then\n                            set [y v] to [-5]\n                        else\n                            set [y v] to [5]\n                        end\n                        set [y v] to [10]\n                    else\n                        set [y v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#d39e00)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#d39e00)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\n    if <<touching color (#ff0000)?> or <touching color (#c9c9c9)?>> then\n        go to x: (-200) y: (-27)\n    end\n    if <touching (flag v)?> then\n        go to x: (-199) y: (-26)\n        change [poziom v] by (1)\n    end\nend\n\n@Flag\n\nwhen flag clicked\nset volume to (0) %\nshow\ngo to [back v] layer\nshow\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n        go to x: (200) y: (-94)\n    end\n    if <(backdrop [number v]) = [2]> then\n        show\n        go to x: (-208) y: (71)\n    end\n    if <(backdrop [number v]) = [3]> then\n        show\n        go to x: (-204) y: (123)\n    end\n    if <(backdrop [number v]) = [4]> then\n        show\n        go to x: (188) y: (-95)\n    end\n    if <(backdrop [number v]) = [5]> then\n        show\n        go to x: (212) y: (94)\n    end\n    if <(backdrop [number v]) = [6]> then\n        show\n        go to x: (165) y: (-94)\n    end\n    if <(backdrop [number v]) = [7]> then\n        show\n        go to x: (-207) y: (143)\n    end\n    if <(backdrop [number v]) = [8]> then\n        show\n        go to x: (-199) y: (77)\n    end\n    if <(backdrop [number v]) = [9]> then\n        show\n        go to x: (210) y: (106)\n    end\n    if <(backdrop [number v]) = [10]> then\n        show\n        go to x: (-200) y: (146)\n    end\n    if <(backdrop [number v]) = [11]> then\n        hide\n        broadcast (wiadomość1 v)\n        set volume to (100) %\n        forever\n            play sound [Dance Energetic v] until done\n        end\n    end\nend\n\n@dźwięk\n\nwhen flag clicked\nset volume to (85) %\nforever\n    play sound [Alan Walker - Spectre.mp3 v] until done\nend\n\nwhen I receive [wiadomość1 v]\nset volume to (0) %\n\n@napis\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [11]> then\n        change [color v] effect by (30)\n        show\n    else\n        hide\n    end\nend\n\n@Duszek1\n\nwhen flag clicked\nhide\n\n