Evolution || A mobile Platformer
@Stage\n\nwhen flag clicked\nset [level v] to [1]\nswitch backdrop to (black v)\nforever\n    play sound [bensound-anewbeginning v] until done\nend\n\nwhen I receive [start v]\nswitch backdrop to (black v)\n\nwhen I receive [startthegame v]\nswitch backdrop to (Level)\n\nforever\n\nwhen I receive [nachricht1 v]\nif <not <(Level) = [end]>> then\n    next backdrop\nelse\n    switch backdrop to (black v)\nend\n\nwhen I receive [theend v]\nswitch backdrop to (black v)\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [nachricht1 v]\nforever\n    clear graphic effects\nend\n\nwhen I receive [nachricht1 v]\nclear graphic effects\nforever\n    if <(Lvl2) = [15]> then\n        show\n        wait (0.5) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\nend\n\nwhen I receive [startthegame v]\nshow\nforever\n    switch costume to (Level)\n    if <<(Level) = [18]> or <<(Level) = [33]> or <(Level) = [31]>>> then\n        go to [front v] layer\n    else\n        go to [back v] layer\n        go [forward v] (5) layers\n    end\nend\n\nwhen I receive [theend v]\nhide\n\n@Trampolin\n\nwhen flag clicked\nset [lvl2 v] to [0]\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo to x: (0) y: (0)\nset size to (100) %\nforever\n    switch costume to (Level)\nend\n\n@Player\n\nwhen [1 v] key pressed\nif <(Level) = [24]> then\n    set [2 v] to [20]\n    wait (10) seconds\n    set [2 v] to [14]\nend\n\nwhen [2 v] key pressed\nif <(Level) = [24]> then\n    set [color v] effect to (0)\n    if <(3b) = [0]> then\n        wait (0.001) seconds\n        broadcast (Time v)\n        set [color v] effect to (20)\n        set [3 v] to [1]\n        wait (5) seconds\n        set [3 v] to [0]\n        set [color v] effect to (0)\n    end\nend\n\nwhen I receive [time v]\nrepeat (10)\n    wait (1) seconds\n    change [3b v] by (1)\nend\nset [3b v] to [0]\n\nwhen flag clicked\nset [3b v] to [0]\nset [2 v] to [14]\nclear graphic effects\nforever\n    if <(y position) = [-187]> then\n        Start/Neustart\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (9)\n    change size by (-3)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\ndefine Lösche Player Variablen\nset [y v] to [0]\nset [x v] to [0]\n\ndefine Start/Neustart\nbroadcast (StartNeu v)\nclear graphic effects\nset size to (100) %\nshow\ngo to x: (-200) y: (30)\npoint in direction (90)\nLösche Player Variablen\nif <not <<(Level) = [5]> or <(Level) = [33]>>> then\n    go to x: (-200) y: (30)\nelse\n    go to x: (-200) y: (100)\nend\n\nwhen I receive [startthegame v]\nLösche Player Variablen\nshow\nif <not <<(Level) = [5]> or <(Level) = [33]>>> then\n    go to x: (-200) y: (30)\nelse\n    go to x: (-200) y: (100)\nend\nset [level v] to [1]\nforever\n    switch costume to (Level)\n    if <not <(Level) = [24]>> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            change [x v] by (-1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <touching (platforms v)?> then\n            change y by (1)\n            if <touching (platforms v)?> then\n                change y by (1)\n                if <touching (platforms v)?> then\n                    change y by (1)\n                    if <touching (platforms v)?> then\n                        change y by (1)\n                        if <touching (platforms v)?> then\n                            change y by (1)\n                            if <touching (platforms v)?> then\n                                change x by ((x) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> 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 [15]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (Y)\n        if <<touching (platforms v)?> or <touching (pad v)?>> then\n            change y by ((Y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<touching (platforms v)?> or <touching (pad v)?>> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                set [y v] to [12]\n            end\n        end\n        change y by (1)\n        if <touching (danger v)?> then\n            Start/Neustart\n        end\n        if <touching (trampolin v)?> then\n            if <(Level) = [30]> then\n                set [y v] to [17]\n            else\n                set [y v] to [25]\n            end\n        end\n        if <touching (figur1 v)?> then\n            Start/Neustart\n        end\n        if <touching (lava run v)?> then\n            Start/Neustart\n        end\n        if <touching (icicles v)?> then\n            Start/Neustart\n        end\n        if <(y position) < [-179]> then\n            Start/Neustart\n        end\n        if <<(x position) > [230]> or <<(Level) = [18]> and <touching color (#29ff00)?>>> then\n            if <not <(Level) = [45]>> then\n                broadcast (Nachricht1 v)\n                change [level v] by (1)\n                Start/Neustart\n            else\n                broadcast (Theend v)\n            end\n        end\n        if <not <<(Level) = [41]> or <(Level) = [45]>>> then\n            create clone of (_myself_ v)\n        end\n    else\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            change [x v] by (-1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <touching (platforms v)?> then\n            change y by (1)\n            if <touching (platforms v)?> then\n                change y by (1)\n                if <touching (platforms v)?> then\n                    change y by (1)\n                    if <touching (platforms v)?> then\n                        change y by (1)\n                        if <touching (platforms v)?> then\n                            change y by (1)\n                            if <touching (platforms v)?> then\n                                change x by ((x) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> 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 [15]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (Y)\n        if <touching (platforms v)?> then\n            change y by ((Y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <touching (platforms v)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                set [y v] to (2)\n            end\n        end\n        change y by (1)\n        if <not <<(Level) = [41]> or <(Level) = [45]>>> then\n            create clone of (_myself_ v)\n        end\n        if <touching (figur5 v)?> then\n            Start/Neustart\n        end\n        if <(3) = [0]> then\n            if <touching (danger v)?> then\n                Start/Neustart\n            end\n        end\n    end\n    if <<(x position) > [230]> or <<(Level) = [18]> and <touching color (#29ff00)?>>> then\n        broadcast (Nachricht1 v)\n        change [level v] by (1)\n        Start/Neustart\n    end\nend\n\nif <[] = [7]> then\n    go to x: (-216) y: (128)\n    stop [this script v]\nend\n\nwhen [r v] key pressed\nif <not <(Level) = [end]>> then\n    Start/Neustart\nend\n\nwhen I receive [theend v]\nset [level v] to [end]\nhide\nstop [other scripts in sprite v]\n\nwhen this sprite clicked\nif <(Level) = [24]> then\n    set [color v] effect to (0)\n    if <(3b) = [0]> then\n        wait (0.001) seconds\n        broadcast (Time v)\n        set [color v] effect to (20)\n        set [3 v] to [1]\n        wait (5) seconds\n        set [3 v] to [0]\n        set [color v] effect to (0)\n    end\nend\n\n@Pad\n\nwhen flag clicked\ngo to x: (-67) y: (-83)\nforever\n    wait (1) seconds\n    glide (1) secs to x: (-67) y: (-83)\n    wait (1) seconds\n    glide (1) secs to x: (10) y: (-83)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Platforms\n\nwhen flag clicked\nset [lvl2 v] to [1]\nhide\n\nwhen I receive [startthegame v]\nshow\nforever\n    switch costume to (Level)\nend\n\nif <[] = [16]> then\n\nwhen I receive [theend v]\nhide\nstop [other scripts in sprite v]\n\n@INTRO\n\nwhen I start as a clone\nif < (cSTAT) contains [par]?> then\n    show\n    set size to (130) %\n    go to x: (0) y: (0)\n    set [v4 v] to [0]\n    set [v5 v] to [0]\n    set [v4 v] to [15]\n    set [v5 v] to (pick random (-30) to (30))\n    repeat (40)\n        change y by (v4)\n        change [v4 v] by (-1)\n        change x by (v5)\n        set [v5 v] to ((v5) * (0.8))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide variable [vol v]\nreset timer\npoint in direction (90)\nset [cstat v] to [Background]\nset [stat v] to [Background]\nhide\nset [v1 v] to [0]\nswitch costume to (1 v)\nrepeat (7)\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    next costume\n    wait (0.01) seconds\nend\nset [cstat v] to [Whisher]\nset [stat v] to (cSTAT)\nhide\nwait (0.8) seconds\nset [v1 v] to [0]\nswitch costume to (kostüm1 v)\ngo to x: (0) y: (0)\nmove (-500) steps\npoint in direction (90)\ncreate clone of (_myself_ v)\npoint in direction (-90)\ngo to x: (0) y: (0)\nmove (-500) steps\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [cstat v] to [Point]\nset [stat v] to [Point]\nset [brightness v] effect to (0)\nhide\nset [v1 v] to [0]\nswitch costume to (kostüm2 v)\nrepeat (5)\n    set [v1 v] to [0]\n    go to [front v] layer\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nset [cstat v] to [Raster]\nset [stat v] to [Raster]\nhide\ngo to [front v] layer\nwait (0.09) seconds\nset [v1 v] to [0]\nswitch costume to (raster v)\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\nset [cstat v] to [Logo]\nset [stat v] to [Logo]\nhide\nset [v1 v] to [0]\nswitch costume to (logo3 v)\nset [v1 v] to [0]\ncreate clone of (_myself_ v)\npoint in direction (90)\nrepeat (3)\n    set [cstat v] to [part]\n    set [stat v] to [particle]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    repeat (10)\n        go to [front v] layer\n        set [v1 v] to [0]\n        create clone of (_myself_ v)\n        change [brightness v] effect by (15)\n        switch costume to (kostüm4 v)\n    end\n    clear graphic effects\n    set [cstat v] to [whide]\n    set [stat v] to [whide]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    switch costume to (kostüm4 v)\n    wait (0.6) seconds\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    switch costume to (kostüm4 v)\n    set [cstat v] to [bow]\n    set [stat v] to [bow]\n    hide\n    set [v1 v] to [0]\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\n    change [brightness v] effect by (15)\n    clear graphic effects\n    set [cstat v] to [whide2]\n    set [stat v] to [whide2]\n    hide\n    set [v1 v] to [0]\n    switch costume to (kostüm4 v)\n    clear graphic effects\n    go to [front v] layer\n    set [v1 v] to [0]\n    create clone of (_myself_ v)\nend\nwait (0.5) seconds\nbroadcast (Start v)\nwait (0.5) seconds\nset [cstat v] to [Point]\nset [stat v] to [Point]\nset [brightness v] effect to (0)\nhide\nset [v1 v] to [0]\nswitch costume to (kostüm2 v)\nrepeat (5)\n    set [v1 v] to [0]\n    go to [front v] layer\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nwait (0.05) seconds\nbroadcast (reset v)\n\nwhen I start as a clone\nif < (cSTAT) contains [Background]?> then\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [20]\n    repeat (50)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n    end\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [BigBack]?> then\n    go to [front v] layer\n    show\n    set [v2 v] to [0]\n    set size to (100) %\n    go to x: (0) y: (0)\n    set [v2 v] to [70]\n    repeat (15)\n        change y by (v2)\n        set [v2 v] to ((v2) * (0.8))\n    end\n    delete this clone\nend\n\nchange size by (10)\n\ndelete this clone\n\nwait (0.09) seconds\n\nwhen I start as a clone\nif < (cSTAT) contains [Logo]?> then\n    go to [front v] layer\n    reset timer\n    point in direction (90)\n    clear graphic effects\n    show\n    set [v3 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v3 v] to [18]\n    repeat (50)\n        change size by (v3)\n        set [v3 v] to ((v3) * (0.8))\n        set y to ((([sin v] of ((timer) * (100)) ) * (29)) + (0))\n    end\n    clear graphic effects\n    go to [front v] layer\n    show\n    go to x: (0) y: (0)\n    point in direction (90)\n    forever\n        set y to ((([sin v] of ((timer) * (100)) ) * (29)) + (0))\n    end\nend\n\nset size to (100) %\n\nset [v2 v] to [70]\n\nchange x by (2)\nchange y by (-2)\n\nwhen I start as a clone\n\nif < (cSTAT) contains [Logo]?> then\n    wait (3) seconds\n    repeat (10)\n        change size by (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (10)\n    end\n    stop [other scripts in sprite v]\n    broadcast (Start v)\n    delete this clone\nend\n\nwhen I start as a clone\n\nchange size by (-10)\n\nset [v1 v] to ((v1) * (0.8))\n\nif <not < (STAT) contains [Background]?>> then\n    delete this clone\nend\n\nforever\n    if <not < (STAT) contains [Background]?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [Whisher]?> then\n    go to [front v] layer\n    show\n    set [v2 v] to [0]\n    set size to (100) %\n    set [v2 v] to [70]\n    set [cstat v] to [---]\n    repeat (15)\n        set [v2 v] to ((v2) * (0.8))\n        move (v2) steps\n        create clone of (_myself_ v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (cSTAT) contains [Point]?> then\n    go to [front v] layer\n    switch costume to (kostüm3 v)\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [450]\n    repeat (50)\n        switch costume to (point v)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n        switch costume to (kostüm2 v)\n    end\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nbroadcast (reset v)\n\nbroadcast (reset v)\nswitch costume to (kostüm3 v)\nset [cstat v] to []\nset size to (100) %\ngo to [front v] layer\nshow\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nif < (cSTAT) contains [whide]?> then\n    clear graphic effects\n    go to [front v] layer\n    switch costume to (cSTAT)\n    show\n    set [v1 v] to [0]\n    set size to (1) %\n    go to x: (0) y: (0)\n    set [v1 v] to [240]\n    repeat (20)\n        switch costume to (point v)\n        change size by (v1)\n        set [v1 v] to ((v1) * (0.8))\n        switch costume to (cSTAT)\n    end\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    delete this clone\nend\n\nrepeat (10)\n\nwhen I start as a clone\nif < (cSTAT) contains [Raster]?> then\n    clear graphic effects\n    set [v2 v] to [0]\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    set size to (200) %\n    show\n    set [ghost v] effect to (50)\n    forever\n        set y to ((([sin v] of ((timer) * (-100)) ) * (29)) + (0))\n        set [ghost v] effect to ((([sin v] of ((timer) * (-100)) ) * (29)) + (56))\n    end\nend\n\nswitch costume to (point v)\n\nset [v2 v] to [70]\n\nswitch costume to (raster v)\n\nshow\n\nif < (cSTAT) contains [Raster]?> then\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (10)\n    end\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen I receive [start v]\nif < (cSTAT) contains [Logo]?> then\n    point in direction (90)\n    repeat (25)\n        turn left (15) degrees\n        change [ghost v] effect by (2)\n        change size by (-10)\n    end\n    delete this clone\nend\n\nstop [other scripts in sprite v]\ndelete this clone\n\n@Startscreen\n\nwhen flag clicked\nhide\ngo to x: (460) y: ()\n\nwhen I receive [start v]\nswitch costume to (5 years ago i start with scratch v)\nwait (2) seconds\nrepeat (3)\n    clear graphic effects\n    show\n    set [vx v] to [0]\n    set [vx v] to [-115]\n    wait until <<key (space v) pressed?> or <mouse down?>>\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\n    go to x: (460) y: ()\n    next costume\nend\nwait (1) seconds\nbroadcast (StartTheGame v)\n\nwhen flag clicked\nforever\n    set [vx v] to ((vx) * (0.8))\n    change x by (vx)\nend\n\nwhen I receive [start v]\nforever\n    if <not <(Level) = [end]>> then\n        if <key (s v) pressed?> then\n            hide\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            wait (1) seconds\n            broadcast (StartTheGame v)\n        end\n    end\nend\n\nwhen I receive [theend v]\nswitch costume to (5 years ago i start with scratch2 v)\nclear graphic effects\nshow\nset [vx v] to [0]\nset [vx v] to [-115]\n\n@bubbles\n\nwhen flag clicked\nhide\ndelete this clone\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    wait (0.04) seconds\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (11))\ngo to x: (pick random (-180) to (180)) y: (-180)\nset size to (pick random (30) to (100)) %\nset [ghost v] effect to (pick random (30) to (100))\nshow\nset [rotate v] to (pick random (-7) to (7))\nrepeat until <(y position) > [179]>\n    change y by (pick random (3) to (10))\n    turn right (rotate) degrees\nend\ndelete this clone\n\nwhen I receive [startthegame v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [theend v]\nforever\n    create clone of (_myself_ v)\n    wait (0.04) seconds\nend\n\n@Lava Run\n\nwhen flag clicked\ngo to [front v] layer\nset [level v] to [0]\ngo to x: (-503) y: (5)\nhide\nforever\n    if <(Level) = [6]> then\n        show\n        glide (20) secs to x: (150) y: (5)\n    else\n        hide\n    end\nend\n\nwhen I receive [startneu v]\nif <(Level) = [6]> then\n    stop [other scripts in sprite v]\n    show\n    go to x: (-503) y: (5)\n    wait (0.5) seconds\n    glide (20) secs to x: (150) y: (5)\nelse\n    hide\nend\n\n@shadow\n\nwhen flag clicked\nforever\n    if <<(Level) = [8]> or <<(Level) = [17]> or <(Level) = [14]>>> then\n        show\n        go to (player v)\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\n@bad snow\n\nwhen flag clicked\nwait (1) seconds\ngo to x: (-25) y: (205)\nset size to (50) %\nhide\nforever\n    if <(Level) = [9]> then\n        create clone of (_myself_ v)\n        wait (0.5) seconds\n    end\nend\n\nwhen I start as a clone\nset size to (pick random (30) to (60)) %\nset [ghost v] effect to (pick random (30) to (50))\ngo to x: (pick random (-200) to (200)) y: (205)\nif <(pick random (1) to (2)) = [1]> then\n    go to [front v] layer\nend\nif <(pick random (1) to (2)) = [2]> then\n    go to [back v] layer\nend\nswitch costume to (pick random (1) to (2))\nshow\nrepeat (70)\n    change y by (-5)\nend\ndelete this clone\n\n@Icicles\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [9]> then\n        create clone of (_myself_ v)\n        wait (pick random (0) to (30)) seconds\n    end\nend\n\nwhen I start as a clone\ngo to x: (pick random (-200) to (200)) y: (50)\nrepeat (2)\n    show\n    wait (0.5) seconds\n    hide\n    wait (0.5) seconds\n    show\nend\nrepeat (80)\n    change y by (-5)\n    if <touching (platforms v)?> then\n        delete this clone\n    end\nend\ndelete this clone\n\n@Figur5\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [3]> then\n        show\n        go to x: (106) y: (-28)\n    else\n        hide\n    end\nend\n\nif <(Lvl2) = [8]> then\n    show\n    clear graphic effects\n    go to x: (105) y: (-66)\nelse\n    hide\n    if <(Lvl2) = [13]> then\n        go to x: (-54) y: (-72)\n        show\n        wait (0.5) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\n    hide\n    if <(Lvl2) = [15]> then\n        go to x: (180) y: (-72)\n        show\n        wait (0.5) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\n    hide\nend\n\ngo to x: (-54) y: (-72)\n\n@Thumb\n\nwhen flag clicked\nclear graphic effects\nhide\nshow\nset [ghost v] effect to (100)\nreset timer\nforever\n    go to [front v] layer\n    set [timercheck v] to (timer)\nend\n\nrepeat (20)\n    change [ghost v] effect by (-5)\n    wait (0.05) seconds\nend\nclear graphic effects\ngo to [front v] layer\n\n@Figur1\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (31) y: (8)\nforever\n    if <(Level) = [19]> then\n        show\n        glide (1) secs to x: (31) y: (0)\n        wait (1) seconds\n        glide (1) secs to x: (31) y: (-135)\n    else\n        hide\n    end\nend\n\n@Water2\n\nwhen flag clicked\nswitch costume to (kostüm2 v)\nhide\ngo to [back v] layer\ngo to x: (136) y: (-147)\nset [ghost v] effect to (40)\nforever\n    if <<(Level) = [21]> or <(Level) = [26]>> then\n        switch costume to (kostüm2 v)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\nend\n\nturn left (15) degrees\nturn right (15) degrees\n\ngo to x: (141) y: (-94)\n\ngo [forward v] (1) layers\n\nwhen I receive [nachricht1 v]\nif <(costume [number v]) = [3]> then\n    switch costume to (kostüm3 v)\nelse\n    next costume\nend\n\n@Water1\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    if <<(Level) = [21]> or <(Level) = [26]>> then\n        switch costume to (kostüm2 v)\n        go to [back v] layer\n        go to x: (136) y: (-147)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\nturn left (15) degrees\nturn right (15) degrees\n\ngo to x: (141) y: (-94)\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nset [? v] to [9]\n\nwhen I receive [nachricht1 v]\nif <(Lvl2) = [6]> then\n    go to [front v] layer\n    switch costume to (kostüm2 v)\nend\nnext costume\n\n
                                Evolution \n-------------------------------------------------------------------------\n     My scratch account @AsterixDavid was created \n       exactly 5 years ago. Today we celebrate our \n    anniversary! This platformer was created for this \n  reason, with which you can play my scratch story in \n                          45 levels. Have fun!\n\n  Vor genau 5 Jahren entstand mein Scratch Account \n  @AsterixDavid. Heute feiern wir Jubiläum! Zu diesem \n  Anlass entstand dieser Platformer, mit dem Ihr in 45 \n  Leveln meine Scratch Geschichte spielen könnt. Viel \n                                    Spaß!\n-------------------------------------------------------------------------\n                                    Credits\n- bensound.com for music\n- Me for my games\n-------------------------------------------------------------------------\n                                    History\n- 02.06.21: 200+ Likes !!!\n- 28.05.21: 170 Likes and Bug fixes\n- 20.05.21: 100+ Likes\n- 19.05.21: 2th in german trends and 89 Likes: yeah\n- 15.05.21: Likes after 8 Hours: 24\n- 15.05.21: shared\n-------------------------------------------------------------------------\nAll games:\nhttps://scratch.mit.edu/projects/195355656/\nhttps://scratch.mit.edu/projects/269100612/\nhttps://scratch.mit.edu/projects/324963017/\nhttps://scratch.mit.edu/projects/353618000/\nhttps://scratch.mit.edu/projects/396804582/\nhttps://scratch.mit.edu/projects/402788370/\nhttps://scratch.mit.edu/projects/399095927/\nhttps://scratch.mit.edu/projects/404039117/\nhttps://scratch.mit.edu/projects/404313547/\nhttps://scratch.mit.edu/projects/404769683/\nhttps://scratch.mit.edu/projects/404770069/\nhttps://scratch.mit.edu/projects/405277656/\nhttps://scratch.mit.edu/projects/405863628/\nhttps://scratch.mit.edu/projects/405967123/\nhttps://scratch.mit.edu/projects/406404670/\nhttps://scratch.mit.edu/projects/406421405/\nhttps://scratch.mit.edu/projects/406762766/\nhttps://scratch.mit.edu/projects/407054905/\nhttps://scratch.mit.edu/projects/407092388/\nhttps://scratch.mit.edu/projects/407554574/\nhttps://scratch.mit.edu/projects/407574197/\nhttps://scratch.mit.edu/projects/407576077/\nhttps://scratch.mit.edu/projects/408199001/\nhttps://scratch.mit.edu/projects/408362599/\nhttps://scratch.mit.edu/projects/408400301/\nhttps://scratch.mit.edu/projects/408876133/\nhttps://scratch.mit.edu/projects/409090842/\nhttps://scratch.mit.edu/projects/409707617/\nhttps://scratch.mit.edu/projects/409663374/\nhttps://scratch.mit.edu/projects/410508863/\nhttps://scratch.mit.edu/projects/411718586/\nhttps://scratch.mit.edu/projects/412551415/\nhttps://scratch.mit.edu/projects/413164065/\nhttps://scratch.mit.edu/projects/414352824/\nhttps://scratch.mit.edu/projects/414586928/\nhttps://scratch.mit.edu/projects/416180896/\nhttps://scratch.mit.edu/projects/415988332/\nhttps://scratch.mit.edu/projects/417097323/\nhttps://scratch.mit.edu/projects/416936591/\nhttps://scratch.mit.edu/projects/418315467/\nhttps://scratch.mit.edu/projects/419855903/\nhttps://scratch.mit.edu/projects/423077946/\nhttps://scratch.mit.edu/projects/425416387/\nhttps://scratch.mit.edu/projects/413404938/\nhttps://scratch.mit.edu/projects/436104915/\nhttps://scratch.mit.edu/projects/438132280/\nhttps://scratch.mit.edu/projects/446817747/\nhttps://scratch.mit.edu/projects/466223411/\nhttps://scratch.mit.edu/projects/466281288/\nhttps://scratch.mit.edu/projects/487561097/\n-------------------------------------------------------------------------\nLevel 24: \nDeutsch:\nDu bist ein Held und du hast Superkräfte! Steuerung:\nPfeiltasten\n1 = Hochhüpfen für 10 Sekunden\n2 = Unverwundbarkeit für 5 Sekunden