Sad A Platformer Beta v0.4
@Stage\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [start game v]\nset [ghost v] effect to (0)\n\nwhen I receive [menü v]\nset [ghost v] effect to (0)\n\nwhen flag clicked\nset [ghost v] effect to (100)\nrepeat until <(Level) > [11]>\n    switch backdrop to (bühnenbild1 v)\nend\nset [ghost v] effect to (39)\nswitch backdrop to (bühnenbild2 v)\n\n@blank\n\n@thumbnail\n\nwhen flag clicked\nclear graphic effects\ngo to x: (0) y: (0)\nif <(Intro?) = [yes]> then\n    wait (0.8) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    go to [front v] layer\n    broadcast (intro v)\n    set [meneger v] to [intro]\n    set [intro? v] to [no]\n    forever\n        go to [front v] layer\n    end\nelse\n    wait (0.8) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    set [meneger v] to [menu]\n    broadcast (//intro//-//end// v)\n    go to [front v] layer\n    forever\n        go to [front v] layer\n    end\nend\n\nset [intro? v] to [yes]\n\n@Intro for me\n\nwhen flag clicked\n\nwait (0.1) seconds\nset [clone v] to [end2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Cool Background]> then\n    switch costume to (back v)\n    show\n    go to x: (0) y: (-9999)\n    set [brightness v] effect to (100)\n    repeat (20)\n        change y by (((0) - (y position)) / (3))\n        change [brightness v] effect by (-5)\n    end\n    repeat (100)\n        switch costume to (lol v)\n        change size by (.08)\n        change [brightness v] effect by (0.8)\n        switch costume to (back v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [slide]> then\n    switch costume to (back2 v)\n    go to x: (0) y: (-9999)\n    show\n    repeat (40)\n        change y by (((0) - (y position)) / (6))\n    end\n    wait (0.05) seconds\n    repeat (5)\n        change [brightness v] effect by (20)\n    end\n    repeat (5)\n        change [brightness v] effect by (-20)\n    end\nend\n\nwhen I start as a clone\nif < (Clone) contains [new logo]?> then\n    if <(letter (9) of (Clone)) < [5]> then\n        switch costume to (Clone)\n        set size to (0) %\n        go to x: (0) y: (0)\n        show\n        set [size v] to [6]\n        repeat (40)\n            set [size v] to (((size) * (0.8)) + (((50) - (size)) / (4)))\n            change size by (size)\n        end\n        delete this clone\n    else\n        switch costume to (Clone)\n        set size to (50) %\n        go to x: (0) y: (0)\n        show\n        repeat until <(Intro done?) = [1]>\n            if <(turn?) = [0]> then\n                repeat until <(round (direction)) = [70]>\n                    turn right (((70) - (direction)) / (7)) degrees\n                    change x by (((-5) - (x position)) / (5))\n                end\n                set [turn? v] to [1]\n            else\n                if <(turn?) = [1]> then\n                    repeat until <(round (direction)) = [110]>\n                        turn right (((110) - (direction)) / (7)) degrees\n                        change x by (((5) - (x position)) / (5))\n                    end\n                    set [turn? v] to [0]\n                end\n            end\n        end\n    end\n    delete this clone\nend\n\nchange y by (((0) - (y position)) / (6))\n\nwhen I start as a clone\nif <(Clone) = [end1]> then\n    switch costume to (end1 v)\n    set size to (0) %\n    show\n    go to x: (0) y: (0)\n    repeat until <(size) = [90]>\n        switch costume to (lol v)\n        change size by (((90) - (size)) / (7))\n        switch costume to (end1 v)\n    end\n    delete this clone\nend\n\nchange y by (10)\nchange [brightness v] effect by (-4.8)\n\nset [brightness v] effect to (0)\n\nrepeat (20)\n\nwhen I start as a clone\nif <(Clone) = [end2]> then\n    switch costume to (end2 v)\n    set size to (0) %\n    show\n    go to x: (0) y: (0)\n    repeat until <(size) = [90]>\n        switch costume to (lol v)\n        change size by (((90) - (size)) / (7))\n        switch costume to (end2 v)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(Clone) = [end]> then\n    switch costume to (end2 v)\n    show\n    go to x: (0) y: (-9999)\n    set [brightness v] effect to (0)\n    repeat (30)\n        change y by (((0) - (y position)) / (4))\n        change [brightness v] effect by (0)\n    end\n    repeat (9)\n        change [brightness v] effect by (-10)\n    end\n    wait (0.5) seconds\n    broadcast (//intro//-//end// v)\nend\n\nswitch costume to (lol v)\nchange size by (.08)\nswitch costume to (back v)\n\nwhen I receive [//intro//-//end// v]\ndelete this clone\n\nwhen I receive [intro v]\nclear graphic effects\nhide\nset [intro done? v] to [0]\nset [clone v] to [Cool Background]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nstart sound [Restart-Subtract v]\nwait (1.6) seconds\nset [clone v] to [slide]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [new logo1]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [new logo2]\ncreate clone of (_myself_ v)\nwait (.01) seconds\nset [clone v] to [new logo3]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nset [clone v] to [new logo4]\ncreate clone of (_myself_ v)\nwait (1.2) seconds\nset [turn? v] to [0]\nset [clone v] to [new logo5]\ncreate clone of (_myself_ v)\nset [turn? v] to [1]\nset [clone v] to [new logo6]\ncreate clone of (_myself_ v)\nwait (5) seconds\nset [intro done? v] to [1]\nset [clone v] to [end]\ncreate clone of (_myself_ v)\n\n@Intro\n\ndefine smooth glide to x position: (x) y position: (y) size: (size) direction: (direction) smoothness: (speed)\nrepeat until <<(round (x position)) = (x)> and <<(round (y position)) = (y)> and <<(round (size)) = (size)> and <(round (direction)) = (direction)>>>>\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    change size by (((size) - (size)) / (speed))\n    turn right (((direction) - (direction)) / (speed)) degrees\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nset [clone v] to [logo0]\nset size to (100) %\n\nwhen I receive [intro v]\n\nset volume to (100) %\nstart sound [Xaf - Unlimited v]\nset [clone v] to [background1]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone v] to [background2]\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nrepeat (4)\n    set [clone v] to (join [logo] ((letter (5) of (clone)) + (1)))\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait (1.888888) seconds\nrepeat (2)\n    set [clone v] to [background1]\n    create clone of (_myself_ v)\n    wait (0.1888) seconds\n    set [clone v] to [background2]\n    create clone of (_myself_ v)\n    wait (0.1888) seconds\nend\nwait (0.2888) seconds\nset [clone v] to [Full Logo]\ncreate clone of (_myself_ v)\nwait (2) seconds\nset [clone v] to [Name]\ncreate clone of (_myself_ v)\nwait (3) seconds\nset [clone v] to [background1]\ncreate clone of (_myself_ v)\nwait (1.555) seconds\nbroadcast (//intro//-//end// v)\nset [meneger v] to [menu]\nset volume to (60) %\n\nwhen I start as a clone\nif <(clone) = [background1]> then\n    show\n    go to [front v] layer\n    switch costume to (clone)\n    go to x: (0) y: (-999999)\n    smooth glide to x position: [0] y position: [0] size: [100] direction: [90] smoothness: [6]\nend\nif <(clone) = [background2]> then\n    switch costume to (clone)\n    go to [front v] layer\n    show\n    go to x: (-99999) y: (0)\n    smooth glide to x position: [0] y position: [0] size: [100] direction: [90] smoothness: [6]\nend\nif <(join (letter (1) of (clone)) (letter (2) of (clone))) = [lo]> then\n    switch costume to (clone)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    go to [front v] layer\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (1) seconds\n    set [i v] to [15]\n    repeat (40)\n        change [i v] by (-1)\n        change y by (i)\n        change [ghost v] effect by (2.5)\n    end\n    delete this clone\nend\nif <(clone) = [Full Logo]> then\n    switch costume to (logo v)\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (0.5) seconds\n    Dots\n    smooth glide to x position: [0] y position: [0] size: [140] direction: [115] smoothness: [4]\n    wait (0.2) seconds\n    repeat (70)\n        change size by (((4) - (size)) / (6))\n        change [ghost v] effect by (3.5)\n        turn right (-3) degrees\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [dots]> then\n    set size to (pick random (50) to (70)) %\n    switch costume to (dot v)\n    clear graphic effects\n    set [brightness v] effect to (pick random (-15) to (-5))\n    show\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [x v] to (pick random (10) to (20))\n    set [y v] to (pick random (2) to (10))\n    repeat until <touching (_edge_ v)?>\n        move (x) steps\n        change y by (y)\n        change [y v] by (-0.3)\n        set [x v] to ((x) * (0.9))\n    end\n    hide\n    delete this clone\nend\n\nif <(clone) = [Name]> then\n    set size to (100) %\n    switch costume to (cool v)\n    clear graphic effects\n    show\n    go to x: (0) y: (0)\n    repeat (60)\n        show\n        change [ghost v] effect by (1)\n        change size by (-1)\n    end\n    hide\n    delete this clone\nend\n\nwhen I receive [//intro//-//end// v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\n\ndefine Dots\nrepeat (70)\n    set [clone v] to [dots]\n    create clone of (_myself_ v)\nend\n\nchange [x v] by (1)\n\n@Player\n\nwhen flag clicked\nhide\nswitch costume to (Skin)\n\ndefine Platformer\nswitch costume to (hitbox v)\nshow\nset rotation style [left-right v]\nchange [y vel v] by (-1)\nif <key (right arrow v) pressed?> then\n    change [x vel v] by (1)\n    point in direction (90)\nend\nif <key (left arrow v) pressed?> then\n    change [x vel v] by (-1)\n    point in direction (-90)\nend\nset [x vel v] to ((x vel) * (0.87))\nchange x by (x vel)\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by (-6)\n    change x by ((x vel) * (-1))\n    if <key (up arrow v) pressed?> then\n        set [y vel v] to [15]\n        if <(x vel) > [0]> then\n            change [x vel v] by (-15)\n        else\n            change [x vel v] by (15)\n        end\n    else\n        set [x vel v] to [0]\n    end\nend\nchange y by (y vel)\nif <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n    change y by ((y vel) * (-1))\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <<touching (platforms v)?> or <touching (moving platforms v)?>>> then\n    set [y vel v] to [13]\nend\nchange y by (1)\nswitch costume to (Skin)\n\nwhen I receive [start game v]\npoint in direction (90)\nshow\ngo to x: (-200) y: (0)\ngo to [front v] layer\nset [x vel v] to [0]\nset [y vel v] to [0]\nforever\n    Platformer\n    create clone of (_myself_ v)\n    if <<touching (bewegende gefahr  v)?> or > then\n        Die\n    end\n    if <(x position) > [230]> then\n        go to x: (-200) y: (0)\n        broadcast (nextlevelanimation v) and wait\n    end\n    if <touching (enemy v)?> then\n        if <(y vel) < [-3]> then\n            broadcast (Enemy killed v)\n            set [y vel v] to [13]\n        else\n            Die\n        end\n    end\n    change x by (Playerxchanger)\n    change y by (Playerychanger)\n    if <[-179] > (y position)> then\n        Die\n    end\nend\n\nbroadcast (nextlevelanimation v)\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n\n\nbroadcast (Enemy killed v) and wait\n\ndefine Die\nset [die v] to [13]\nset rotation style [all around v]\nrepeat until <(y position) < [-170]>\n    change y by (die)\n    turn left (15) degrees\n    change [die v] by (-1)\n    create clone of (_myself_ v)\nend\ngo to x: (-200) y: (0)\npoint in direction (90)\nset rotation style [left-right v]\n\n@platforms\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\n@Variablen maneger\n\nwhen flag clicked\nset [level v] to [1]\nset [skin v] to [1]\n\nset [maxlevel v] to [12]\nset [playerxchanger v] to [0]\nset [playerychanger v] to [0]\n\n@Menü\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [//intro//-//end// v]\nbroadcast (Menü v)\n\nwhen I receive [menü v]\nset volume to (100) %\nset [clone v] to [Scrolling 1]\ngo to x: (-240) y: (0)\nswitch costume to (scrolling back 1 v)\ncreate clone of (_myself_ v)\ngo to x: (240) y: (0)\nswitch costume to (scrolling back 2 v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (0)\nset [clone v] to []\ngo to [front v] layer\nswitch costume to (fade v)\ncreate clone of (_myself_ v)\ngo to [front v] layer\nswitch costume to (play v)\ncreate clone of (_myself_ v)\ngo to [front v] layer\nswitch costume to (instructions v)\ncreate clone of (_myself_ v)\ngo to [front v] layer\nswitch costume to (sound v)\ncreate clone of (_myself_ v)\n\nwhen I receive [//intro//-//end// v]\ndelete this clone\n\nwhen I start as a clone\nif <(clone) = [Scrolling 1]> then\n    show\n    go to [front v] layer\n    forever\n        go to [back v] layer\n        change x by (-2)\n        if <(x position) < [-464]> then\n            set x to (465)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    show\n    set [ghost v] effect to (65)\n    set [whirl v] effect to (500)\n    go to [back v] layer\n    go [forward v] (2) layers\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    show\n    set [ghost v] effect to (0)\n    go to x: (60) y: (0)\n    repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n        set y to (-30)\n        point in direction (90)\n        if <touching (mouse-pointer v)?> then\n            change size by (((120) - (size)) / (4))\n            set [ghost v] effect to (30)\n        else\n            change size by (((100) - (size)) / (4))\n            set [ghost v] effect to (0)\n        end\n    end\n    broadcast (start game v)\n    delete this clone\nend\n\nwhen I receive [start game v]\nset [meneger v] to [Game]\ndelete this clone\n\nstop all sounds\n\nwhen I start as a clone\nif <(costume [number v]) = [5]> then\n    show\n    set [ghost v] effect to (0)\n    forever\n        repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n            set y to (-30)\n            set x to (-60)\n            switch costume to (instructions v)\n            point in direction (90)\n            if <touching (mouse-pointer v)?> then\n                change size by (((120) - (size)) / (4))\n                set [ghost v] effect to (30)\n            else\n                change size by (((100) - (size)) / (4))\n                set [ghost v] effect to (0)\n            end\n        end\n        set size to (100) %\n        go to [front v] layer\n        switch costume to (instructions2 v)\n        clear graphic effects\n        go to x: (0) y: (0)\n        wait (0.4) seconds\n        wait until <mouse down?>\n        wait until <not <mouse down?>>\n    end\nend\n\nbroadcast (start game v)\ndelete this clone\n\nwhen I receive [menü v]\nforever\n    play sound [The Beginning v] until done\nend\n\n\n\nplay sound [Unlimited v] until done\n\nwhen I start as a clone\nif <(costume [number v]) = [7]> then\n    show\n    set [ghost v] effect to (0)\n    go to x: (200) y: (-200)\n    repeat until <(Meneger) = [game]>\n        repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n            set y to (-150)\n            point in direction (90)\n            if <touching (mouse-pointer v)?> then\n                change size by (((120) - (size)) / (4))\n                set [ghost v] effect to (30)\n            else\n                change size by (((100) - (size)) / (4))\n                set [ghost v] effect to (0)\n            end\n        end\n        if <(costume [number v]) = [7]> then\n            broadcast (sound/0 v)\n            switch costume to (sound2 v)\n        else\n            broadcast (sound/100 v)\n            switch costume to (sound v)\n        end\n        wait until <not <mouse down?>>\n    end\nend\n\nwhen I receive [sound/0 v]\nset volume to (0) %\n\nwhen I receive [sound/100 v]\nset volume to (100) %\n\nif <not <(Meneger) = [Game]>> then\n\n@Player auswählen\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nforever\nend\n\nswitch costume to (Skin)\n\nwhen I receive [menü v]\ngo to x: (0) y: (28)\nset [clone v] to [skin]\ngo to [front v] layer\ncreate clone of (_myself_ v)\nhide\n\nset size to (100) %\n\nswitch costume to (Skin)\ngo to x: (-40) y: (10)\nswitch costume to (button 2 v)\ncreate clone of (_myself_ v)\ngo to x: (40) y: (10)\nswitch costume to (button 1 v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (10)\nshow\n\nwhen I start as a clone\nif <(costume [number v]) = [6]> then\n    forever\n        show\n        switch costume to (button 1 v)\n        set size to (100) %\n        if <touching (mouse-pointer v)?> then\n            change size by (((120) - (size)) / (4))\n            switch costume to (button 1 v)\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                broadcast (skin +1 v)\n                switch costume to (button 1 v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\nwhen I receive [menü v]\ndelete this clone\n\nwhen I receive [start game v]\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [7]> then\n    forever\n        show\n        switch costume to (button 2 v)\n        if <touching (mouse-pointer v)?> then\n            change size by (((120) - (size)) / (4))\n            if <mouse down?> then\n                broadcast (skin -1 v)\n                switch costume to (button 2 v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((100) - (size)) / (4))\n        end\n    end\nend\n\nwhen I receive [skin -1 v]\nset size to (100) %\nclear graphic effects\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nif <(Skin) < [2]> then\n    wait (0.1) seconds\n    set [skin v] to [5]\nelse\n    wait (0.1) seconds\n    change [skin v] by (-0.5)\nend\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nclear graphic effects\n\nwhen I receive [skin +1 v]\nset size to (100) %\nclear graphic effects\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nif <(Skin) > [4]> then\n    wait (0.1) seconds\n    set [skin v] to [1]\nelse\n    wait (0.1) seconds\n    change [skin v] by (0.5)\nend\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (-10)\nend\nclear graphic effects\n\nswitch costume to (button 2 v)\nswitch costume to (button 2 v)\n\nbroadcast (skin -1 v) and wait\n\nbroadcast (skin +1 v) and wait\n\nbroadcast (skin -1 v)\n\nswitch costume to (Skin)\nswitch costume to (join [Player ] (Skin))\n\nswitch costume to (Skin)\n\nwhen I start as a clone\nif <(clone) = [skin]> then\n    forever\n        show\n        switch costume to (Skin)\n    end\nend\n\n@links/rechts Buttons\n\nwhen flag clicked\nhide\ngo to x: (35) y: (28)\n\nwhen I receive [menü v]\nswitch costume to (button 1 v)\ncreate clone of (_myself_ v)\ngo to x: (-35) y: (28)\nswitch costume to (button 2 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    forever\n        show\n        switch costume to (button 1 v)\n        set size to (100) %\n        if <touching (mouse-pointer v)?> then\n            change size by (((140) - (size)) / (6))\n            switch costume to (button 1 v)\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                broadcast (skin +1 v) and wait\n                switch costume to (button 1 v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((100) - (size)) / (6))\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    forever\n        show\n        switch costume to (button 2 v)\n        if <touching (mouse-pointer v)?> then\n            change size by (((140) - (size)) / (6))\n            if <mouse down?> then\n                wait until <not <mouse down?>>\n                broadcast (skin -1 v) and wait\n                switch costume to (button 2 v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((100) - (size)) / (6))\n        end\n    end\nend\n\nwhen I receive [start game v]\ndelete this clone\n\n@Figur1\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nswitch costume to (wolke v)\nset [ghost v] effect to (pick random (0) to (50))\nset [move v] to (pick random (4) to (6))\nset size to (pick random (70) to (100)) %\nshow\nif <(pick random (1) to (2)) = [1]> then\n    go to x: (240) y: (pick random (120) to (150))\n    repeat until <[-240] > (x position)>\n        change x by ((move) * (-1))\n    end\nelse\n    go to x: (-240) y: (pick random (120) to (150))\n    repeat until <(x position) > [240]>\n        change x by (move)\n    end\nend\ndelete this clone\n\nwhen I receive [menü v]\nforever\n    wait (pick random (1) to (2)) seconds\n    create clone of (_myself_ v)\n    if <(Level) > [11]> then\n        wait until <[1] = [50]>\n    end\nend\n\nwhen I receive [start game v]\nforever\n    wait (pick random (1) to (2)) seconds\n    create clone of (_myself_ v)\n    if <(Level) > [11]> then\n        wait until <[1] = [50]>\n    end\nend\n\n@bewegende Gefahr \n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nwait until <(Level) = [3]>\ngo to [back v] layer\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Level) = [3]> then\n    show\n    go to [back v] layer\n    go to x: (60) y: (-108)\n    repeat until <(Level) = [4]>\n        repeat (40)\n            change x by (((-60) - (x position)) / (6))\n            turn left ((x position) / (6)) degrees\n        end\n        repeat (40)\n            change x by (((60) - (x position)) / (6))\n            turn left ((x position) / (6)) degrees\n        end\n    end\n    hide\n    wait until <(Level) = [5]>\n    show\n    go to x: (0) y: (100)\n    repeat until <(Level) = [6]>\n        repeat (50)\n            change y by (((-100) - (y position)) / (12))\n            turn left ((y position) / (6)) degrees\n        end\n        repeat (50)\n            turn left ((y position) / (6)) degrees\n            change y by (((100) - (y position)) / (12))\n        end\n    end\n    hide\nend\n\ndelete this clone\n\n@Figur2\n\nwhen flag clicked\nhide\n\nwhen I receive [nextlevelanimation v]\nset volume to (40) %\ngo to [front v] layer\nshow\nset size to (400) %\nif <(Level) = (Maxlevel)> then\n    hide\n    stop [this script v]\nend\ngo to x: (-999999) y: (0)\nset size to (100) %\nchange [level v] by (1)\nrepeat (38)\n    change x by (((0) - (x position)) / (6))\n    go to [front v] layer\nend\nwait (0) seconds\ngo to x: (0) y: (0)\nchange x by (0.05)\nrepeat (40)\n    change x by ((x position) / (4))\nend\nhide\n\nstart sound [Siren Whistle v]\n\n@nicht bewegene Gefahr\n\nwhen flag clicked\nhide\nset [level v] to [1]\nswitch costume to (kostüm1 v)\nwait until <(Level) = [4]>\ngo to x: (-30) y: (-71)\nwait (0.3) seconds\nrepeat (4)\n    create clone of (_myself_ v)\n    change x by (27)\nend\nwait until <(Level) = [5]>\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\nwait until <(Level) = [6]>\nhide\ngo to x: (0) y: (0)\nwait until <(Level) = [12]>\nshow\nswitch costume to (level 12 v)\n\nwhen I receive [nextlevelanimation v]\ndelete this clone\n\ndelete this clone\n\nwhen I start as a clone\nshow\ngo to [back v] layer\n\nwhen I receive [menü v]\ndelete this clone\n\nwhen I receive [menü v]\ndelete this clone\n\nwhen flag clicked\nbroadcast (Green Flag v)\n\nwhen I receive [green flag v]\ndelete this clone\n\ngo to [back v] layer\n\n@enemy\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nwait until <(Level) = [6]>\nshow\nset rotation style [left-right v]\ngo to x: (-17) y: (-72)\nrepeat until <(Level) = [7]>\n    point in direction (90)\n    glide (2) secs to x: (208) y: (-72)\n    point in direction (-90)\n    glide (2) secs to x: (-17) y: (-72)\nend\nhide\n\nwhen I receive [nextlevelanimation v]\nhide\n\nwhen I receive [enemy killed v]\nrepeat (3)\n    change y by (-10)\n    change [ghost v] effect by ((100) / (3))\nend\nhide\n\n
Not mobile sorry!!!\n\n\nAll levels are possible!!!!!!!\n\n\n\n100 loves to part 2!!