Grass#Land/Platformer Mobile Friendly

Instructions: trend#?\nMy other perfect game!\nhttps://scratch.mit.edu/projects/469860789\n\nEn:\nHi! \nWelcome my new platformer!\nI hope you like it.\nIt is mobile friendly!\nUse:\nWASD or Arrow Keys or Mobile Control!\nIf you like it dont forget love or fave!\n\nTR:\nMerhaba!\nYeni platform oyunuma hoşgeldin!\nUmarım beğenirsin.\nMobil dostu!\nKullanılabilir:\nWASD ya da Ok tuşları ya da Mobile Kontrol!\nEğer seversen kalp ve yıldız atmayı unutma!\n\n';=Credits=;'\n@4a0012 (for %90 codes and %85 art)\n@INorth  (decor and main charecter art)\n@Canozen (%10 art and I joined his contest with this game)\n@PrimeGuy_1001 (for %5 codes)\n@Fenerle2 (for %5 codes)\n@345969 (for some sprite art.)\n\nTags:\n#all #games\n\nPlatformer Name:\nGrass#Land/Platformer Mobile Friendly\n\n@INorth love and have!\n@--AwesomeCode-- love!\n@345969 love!\n

@Stage\n\n@platform\n\nwhen flag clicked\n\n    if <(Level) = [1]> then\n        show\n        switch costume to (1 v)\n    end\n    if <(Level) = [2]> then\n        show\n        switch costume to (2 v)\n    end\n    if <(Level) = [3]> then\n        show\n        switch costume to (3 v)\n    end\n    if <(Level) = [4]> then\n        show\n        switch costume to (4 v)\n    end\n    if <(Level) = [5]> then\n        show\n        switch costume to (5 v)\n    end\n    if <(Level) = [6]> then\n        show\n        switch costume to (6\(&\) v)\n    end\n    if <(Level) = [7]> then\n        show\n        switch costume to (7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Treenan v] until done\nend\n\n@grass\n\nwhen flag clicked\nshow\n\n    if <(Level) = [1]> then\n        go to x: (2) y: (-40)\n        show\n        go to [front v] layer\n        switch costume to (1 v)\n    end\n    if <(Level) = [2]> then\n        go to x: (2) y: (-40)\n        show\n        go to [front v] layer\n        switch costume to (2 v)\n    end\n    if <(Level) = [3]> then\n        show\n        go to [front v] layer\n        switch costume to (3 v)\n    end\n    if <(Level) = [4]> then\n        show\n        go to [front v] layer\n        switch costume to (4 v)\n    end\n    if <(Level) = [5]> then\n        show\n        go to [front v] layer\n        switch costume to (5 v)\n    end\n    if <(Level) = [6]> then\n        show\n        go to [front v] layer\n        switch costume to (6 v)\n    end\n    if <(Level) = [7]> then\n        show\n        go to [front v] layer\n        switch costume to (7 v)\n    end\nend\n\n@Player\n\ndefine Physics <up?>\nset [touch wall v] to [0]\nset [touch ground v] to [0]\nchange [y v] by (-1)\nchange y by (y)\nrepeat until <not <touching (platform v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        set [touch ground v] to <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>\n        change y by (1)\n    end\n    set [y v] to [0]\n    if <(touch ground) = [true]> then\n        set [y v] to [15]\n    end\nend\nchange [x v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\nchange [x v] by (<key (d v) pressed?> - <key (a v) pressed?>)\nchange [x v] by (<<mouse down?> and <(mouse x) > (x position)>> - <<mouse down?> and <(x position) > (mouse x)>>)\nset [x v] to ((x) * (0.9))\nchange x by (x)\nrepeat until <not <touching (platform v)?>>\n    change x by ((([abs v] of (x) ) / (x)) * (-1))\n    set [touch wall v] to [1]\nend\nif <<(touch wall) = [1]> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <(x) > [0]> then\n        set [x v] to [-10]\n    else\n        set [x v] to [10]\n    end\n    set [y v] to [15]\nend\nif <(x position) > [239]> then\n    broadcast (next level v)\n    change [level v] by (1)\nend\nif <<<touching (spike v)?> or <touching (lava v)?>> or <touching (mega spike v)?>> then\n    broadcast (resstart v)\nend\n\nwhen flag clicked\nshow\nset [level v] to [1]\ngo to x: (-190) y: (94)\nforever\n    Physics <(y) > [0]>\nend\n\nwhen I receive [next level v]\ngo to x: (-190) y: (94)\nif <(Level) = [7]> then\n    go to x: (-8) y: (-32)\nend\n\nwhen I receive [resstart v]\ngo to x: (-190) y: (94)\n\n@spike\n\nwhen flag clicked\nshow\n\n    if <(Level) = [1]> then\n        show\n        go to x: (18) y: (-40)\n        switch costume to (1 v)\n    end\n    if <(Level) = [2]> then\n        show\n        go to x: (151) y: (96)\n        switch costume to (2 v)\n    end\n    if <(Level) = [3]> then\n        show\n        switch costume to (3 v)\n    end\n    if <(Level) = [4]> then\n        show\n        go to x: (19) y: (-41)\n        switch costume to (4 v)\n    end\n    if <(Level) = [5]> then\n        show\n        go to x: (19) y: (-41)\n        switch costume to (5 v)\n    end\n    if <(Level) = [6]> then\n        show\n        go to x: (19) y: (-41)\n        switch costume to (6 v)\n    end\n    if <(Level) = [7]> then\n        hide\n    end\nend\n\n@lava\n\nwhen flag clicked\n\n    if <(Level) = [1]> then\n        hide\n    end\n    if <(Level) = [2]> then\n        hide\n    end\n    if <(Level) = [3]> then\n        show\n        go to [back v] layer\n        switch costume to (kostüm 1 v)\n        go to x: (36) y: (28)\n        repeat (10)\n            change y by (1)\n        end\n        repeat (10)\n            change y by (-1)\n        end\n    end\n    if <(Level) = [4]> then\n        hide\n    end\n    if <(Level) = [5]> then\n        show\n        go to [back v] layer\n        switch costume to (kostüm 2 v)\n        go to x: (36) y: (28)\n        repeat (10)\n            change y by (1)\n        end\n        repeat (10)\n            change y by (-1)\n        end\n    end\n    if <(Level) = [6]> then\n        hide\n    end\n    if <(Level) = [7]> then\n        hide\n    end\nend\n\n@Love fave\n\nwhen flag clicked\nhide\nrepeat until <(Level) = [7]>\n    wait (pick random (10) to (8)) seconds\n    show\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n@mega spike\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        show\n        go to [back v] layer\n        go to x: (-39) y: (-63)\n        repeat until <<(Level) > [2]> or <(Level) < [2]>>\n            turn right (10) degrees\n        end\n    else\n        hide\n    end\nend\n\n@Kukla 1\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\ngo to [front v] layer\ngo to x: (-26) y: (-84)\nforever\n    if <(Level) = [7]> then\n        hide\n        go to [back v] layer\n    end\n    if <(Level) = [2]> then\n        switch costume to (2 v)\n        show\n        go to [front v] layer\n        go to x: (-26) y: (-84)\n    end\n    if <(Level) = [3]> then\n        switch costume to (3 v)\n        show\n        go to [front v] layer\n        go to x: (-26) y: (-84)\n    end\n    if <(Level) = [4]> then\n        switch costume to (4 v)\n        show\n        go to [front v] layer\n        go to x: (-26) y: (-84)\n    end\n    if <(Level) = [5]> then\n        switch costume to (5 v)\n        show\n        go to [front v] layer\n        go to x: (-26) y: (-84)\n    end\n    if <(Level) = [6]> then\n        switch costume to (6 v)\n        show\n        go to [front v] layer\n        go to x: (-26) y: (-84)\n    end\nend\n\n@GraGras\n\nwhen flag clicked\nhide\n\n