Sunrise - a platformer

Instructions: This is a mobile friendly platformer\nUse it in fullscreen!!!\nControl: Arrow keys, WAD or tap\nDon't touch the spikes and the lava\nPress m to change the music\nAll levels are possible\nIt has only 11 levels\n-------------------------------------------------------------------------------\nDas ist ein Handyfreundliches Plattformspiel\nSpiele es im Vollbildmodus\nSteuerung: Pfeiltasten, WAD oder tippen\nBerühre die Zacken und das Lava nicht\nDrücke m um die Musik zu ändern\nAlle Level sind möglich\nEs hat nur 11 Levels

@Stage\n\nwhen flag clicked\nset [music v] to [1]\nforever\n    play sound (Music) until done\nend\n\nwhen [m v] key pressed\nstop all sounds\nchange [music v] by (1)\nwait until <not <key (m v) pressed?>>\n\n@Platformer\n\nwhen flag clicked\nswitch costume to (level 1 v)\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\nwhen I receive [next level v]\nnext costume\nwait (1) seconds\n\ngo to x: (0) y: (0)\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nhide\ngo to x: (-172) y: (-62)\nshow\nset [falltempo v] to [0]\nforever\n    Laufsteuerung\n    Simulation\n    Sprungsteuerung\nend\n\ndefine Laufsteuerung\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    change x by (8)\n    if <touching (platformer v)?> then\n        change x by (-8)\n    end\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    change x by (-8)\n    if <touching (platformer v)?> then\n        change x by (8)\n    end\nend\n\ndefine Simulation\nchange y by (Falltempo)\nif <touching (platformer v)?> then\n    if <(Falltempo) > [0]> then\n        set [rückwärts v] to [-1]\n    else\n        set [rückwärts v] to [1]\n    end\n    repeat until <not <touching (platformer v)?>>\n        change y by (Rückwärts)\n    end\n    set [falltempo v] to [0]\nelse\n    change [falltempo v] by (-1)\nend\n\ndefine Sprungsteuerung\nif <<<mouse down?> and <(mouse y) > (y position)>> or <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <key (space v) pressed?>>> then\n    change y by (-1)\n    if <touching (platformer v)?> then\n        set [falltempo v] to [15]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nset size to (70) %\nforever\n    create clone of (clones v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nset size to (70) %\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-2)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [222]> then\n        broadcast (Next Level v)\n        go to x: (-172) y: (-62)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (dangers v)?> or <<touching (lava - 1 v)?> or <touching (lava - 2 v)?>>> then\n        go to x: (-172) y: (-62)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (bouncy3 v)?> or <<touching (bouncy2 v)?> or <touching (bouncy v)?>>> then\n        set [falltempo v] to [23]\n    end\nend\n\nwhen I receive [90speed v]\nchange x by (50)\nif <touching (platformer v)?> then\n    change x by (-50)\nend\n\nwhen I receive [next level v]\ngo to x: (-172) y: (-62)\n\n@Clones\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to (player v)\nset [ghost v] effect to (0)\nset size to (70) %\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\n\nwait (0.75) seconds\ndelete this clone\n\n@Dangers\n\nwhen flag clicked\nswitch costume to (1 v)\nforever\n    go to x: (0) y: (0)\n    show\nend\n\nwhen I receive [next level v]\nnext costume\nwait (1) seconds\n\n@Lava - 1\n\nwhen flag clicked\ngo to x: (-1) y: (-184)\n\nwhen flag clicked\npoint in direction (90)\nhide\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <<<([costume # v] of [platformer v]) = [4]> or <([costume # v] of [platformer v]) = [5]>> or <([costume # v] of [platformer v]) = [7]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nrepeat (5)\n    turn left (2) degrees\nend\nforever\n    repeat (20)\n        turn right (1) degrees\n    end\n    repeat (20)\n        turn left (1) degrees\n    end\nend\n\n@Lava - 2\n\nwhen flag clicked\ngo to x: (-1) y: (-184)\n\nwhen flag clicked\npoint in direction (90)\nwait (0.3) seconds\nrepeat (5)\n    turn left (2) degrees\nend\nforever\n    repeat (20)\n        turn right (1) degrees\n    end\n    repeat (20)\n        turn left (1) degrees\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\ngo to [back v] layer\nforever\n    if <<([costume # v] of [platformer v]) = [7]> or <<([costume # v] of [platformer v]) = [4]> or <([costume # v] of [platformer v]) = [5]>>> then\n        show\n    else\n        hide\n    end\nend\n\n@Bouncy\n\nwhen flag clicked\nhide\nswitch costume to (bouncy 1 v)\nset size to (100) %\ngo to x: (-98) y: (-110)\nforever\n    if <<([costume # v] of [platformer v]) = [6]> or <([costume # v] of [platformer v]) = [9]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        switch costume to (bouncy 2 v)\n        wait (1) seconds\n        switch costume to (bouncy 1 v)\n    end\nend\n\nshow\n\n@Figur1\n\nwhen flag clicked\ngo to x: (11) y: (-145)\nhide\nforever\n    go to [back v] layer\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nset [color v] effect to (0)\npoint in direction (90)\ngo to x: (-228) y: (pick random (-180) to (180))\nshow\nset [ghost v] effect to (85)\nrepeat until <touching (_edge_ v)?>\n    move (3) steps\nend\ndelete this clone\n\n@Bouncy2\n\nwhen flag clicked\nhide\nswitch costume to (bouncy 1 v)\nset size to (100) %\ngo to x: (34) y: (-110)\nforever\n    if <([costume # v] of [platformer v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        switch costume to (bouncy 2 v)\n        wait (1) seconds\n        switch costume to (bouncy 1 v)\n    end\nend\n\nshow\n\n@Bouncy3\n\nwhen flag clicked\nhide\nswitch costume to (bouncy 1 v)\nset size to (100) %\ngo to x: (170) y: (-110)\nforever\n    if <([costume # v] of [platformer v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        switch costume to (bouncy 2 v)\n        wait (1) seconds\n        switch costume to (bouncy 1 v)\n    end\nend\n\nshow\n\n@Skip\n\nwhen flag clicked\ngo to x: (195) y: (145)\nshow\ngo to [front v] layer\npoint in direction (90)\nrepeat (30)\n    turn right (0.5) degrees\nend\nforever\n    repeat (30)\n        turn left (1) degrees\n    end\n    repeat (30)\n        turn right (1) degrees\n    end\nend\n\nwhen flag clicked\ngo to x: (195) y: (145)\nrepeat (5)\n    change y by (1)\nend\nforever\n    repeat (10)\n        change y by (-1)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change y by (1)\n    end\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Next Level v)\nwait until <not <mouse down?>>\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [12]> then\n        hide\n    else\n        show\n    end\nend\n\n@Figur2\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\n    go to x: (-20) y: (0)\nend\n\n