Jurassic World platformer

Instructions:  Click the green dinosaur to start. Thnx for the views \n\nExplore Jurassic World!\n\nInstructions in game.

@Stage\n\nwhen I receive [play s plat v]\nset [mode v] to [s_plat]\nrepeat (10)\n    change volume by (-10)\nend\nstop all sounds\nstop [other scripts in sprite v]\nwait (1.2) seconds\nset volume to (100) %\nbroadcast (start s plat v)\n\nwhen flag clicked\nset [mode v] to [intro]\n\nwhen I receive [start game v]\nwait (1) seconds\nbroadcast (main menu v)\n\nwhen I receive [main menu v]\nset volume to (100) %\nforever\n    play sound [Jim Yosef - Reverse \[End of Time EP\] v] until done\nend\n\nwhen I receive [menu_ao v]\nset [mode v] to [menu_ao]\nstop [other scripts in sprite v]\nforever\n    play sound [Break Free v] until done\nend\n\nwhen I receive [win v]\nstop [other scripts in sprite v]\nstop all sounds\nplay sound [won v] until done\nstart sound [roar v]\nwait (20) seconds\nstop all sounds\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [tick v]\nif <(in water?) = [0]> then\n    set volume to (100) %\nelse\n    set volume to (9) %\nend\n\n@player\n\nwhen I receive [play s plat v]\nset size to (64) %\nstop [other scripts in sprite v]\nhide\ngo to [front v] layer\ngo [backward v] (1) layers\nclear graphic effects\n\ndefine game on!\nset [scroll x v] to []\nset [scroll y v] to ((SCROLL X) / (5))\nset [scroll x v] to (round (SCROLL X))\nif <(LEVEL) = [2]> then\n    set [scroll y v] to [100]\nend\nset [x v] to [0]\nset [y v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset rotation style [left-right v]\n\ndefine Tick\nif <not <touching (art v)?>> then\n    set [in water? v] to [0]\nend\nset [ghost v] effect to (40)\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [10]>>> then\n    point in direction (90)\n    change player x by [8.3]\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <[-10] > (mouse x)>>> then\n    point in direction (-90)\n    change player x by [-8.3]\nend\nif <(in water?) = [0]> then\n    change [sy v] by (-2)\nelse\n    set [sy v] to ((sy) * (0.8))\n    if <not <(sy) = ([abs v] of (sy) )>> then\n        change [sy v] by (-0.8)\n    else\n        change [sy v] by (-2)\n    end\nend\nchange player y by (sy)\nchange [scroll x v] by (round (((x) - (SCROLL X)) / (10)))\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nif <(SCROLL Y) < [-20]> then\n    set [scroll y v] to [-20]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nposition\nif <<(SCROLL Y) < [-40]> or <touching (spikes v)?>> then\n    set [exit v] to [die]\nend\nif <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <<(in air) < [4]> or <(in water?) = [1]>> then\n        if <(in water?) = [0]> then\n            set [sy v] to [16.3]\n        else\n            set [sy v] to [11]\n        end\n    end\nend\nif <<(LEVEL) = [1]> and <(SCROLL X) > [3759]>> then\n    if <(Level_unlock) < [2]> then\n        set [level_unlock v] to [2]\n    end\n    set [exit v] to [win]\nend\nif <<(LEVEL) = [2]> and <(SCROLL X) > [4476]>> then\n    if <(Level_unlock) < [3]> then\n        set [level_unlock v] to [3]\n    end\n    set [exit v] to [win]\nend\n\ndefine change player y by (sy)\nchange [y v] by (sy)\nif <(in water?) = [0]> then\n    change [in air v] by (1)\nend\nposition\nrepeat until <not <<touching (platforms v)?> or <<touching (bridges v)?> and <not <<key (down arrow v) pressed?> or <key (up arrow v) pressed?>>>>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    position\n    set [sy v] to [0]\nend\n\ndefine change player x by (sx)\nif <not <<<key (up arrow v) pressed?> or <key (down arrow v) pressed?>> and <touching (bridges v)?>>> then\n    change [x v] by (sx)\nend\nposition\nif  then\n    repeat (3)\n        change [y v] by (1)\n        position\n        if <not > then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-1)\nend\nrepeat until <not >\n    if <(sx) > [0]> then\n        change [x v] by (-1)\n    else\n        change [x v] by (1)\n    end\n    position\nend\n\ndefine game-die\nset [exit v] to []\nbroadcast (died v)\nhide\nwait (1.2) seconds\nshow\n\ndefine game - win\nstop [other scripts in sprite v]\nbroadcast (win v)\nrepeat (300)\n    change [ghost v] effect by (5)\n    change x by (((x position) - (245)) / (-4))\nend\nhide\n\nwhen I receive [start s plat v]\nset [in water? v] to [0]\nshow\nforever\n    broadcast (setup v) and wait\n    game on!\n    repeat until <(EXIT) > []>\n        Tick\n        position\n        broadcast (tick v) and wait\n    end\n    if <(EXIT) = [win]> then\n        game - win\n        set [scroll x v] to [0]\n        set [scroll y v] to [0]\n        stop [this script v]\n    else\n        game-die\n    end\nend\n\ndefine position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\nwhen flag clicked\nhide\n\nwhen I receive [main menu v]\ngo to [back v] layer\ngo to x: (15) y: (10)\nhide\nwait (1) seconds\nshow\nset [ghost v] effect to (40)\nset size to (150) %\nforever\n    go to [front v] layer\n    switch costume to (costume)\nend\n\nwhen flag clicked\nset [costume v] to [1]\n\nwhen I receive [next v]\nset size to (64) %\nrepeat (100)\n    change size by (((150) - (size)) / (5))\nend\n\nwhen I receive [menu_ao v]\nhide\n\nwhen I receive [start s plat v]\nforever\n    play sound [song v] until done\n    play sound [song2 v] until done\nend\n\nwhen [space v] key pressed\nplay sound [roar v] until done\n\n@Figur5\n\nwhen flag clicked\nhide\n\nwhen I receive [main menu v]\nswitch costume to (kostüm1 v)\nset [size#2 v] to [1]\nwait (1) seconds\nshow\ncreate clone of (_myself_ v)\nforever\n    b4\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            change [costume v] by (-1)\n            broadcast (next v)\n            wait (0.3) seconds\n            if <(costume) = [0]> then\n                set [costume v] to [3]\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nswitch costume to (kostüm2 v)\nshow\nforever\n    b4\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            change [costume v] by (1)\n            broadcast (next v)\n            wait (0.3) seconds\n            if <(costume) = [5]> then\n                set [costume v] to [1]\n            end\n        end\n    end\nend\n\ndefine b4\nset [size5 v] to ((((size5) * (1.6)) + (((40) + (<touching (mouse-pointer v)?> * (10))) + ([sin v] of ((timer) * (100)) ))) / (2))\nset size to (size5) %\nset [ghost v] effect to (30)\n\nwhen I receive [start s plat v]\ndelete this clone\n\nwhen flag clicked\nset [level_unlock v] to [1]\n\nwhen I receive [menu_ao v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change size by (10)\n    change [ghost v] effect by (7)\nend\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n@coins\n\nwhen I receive [green flag v]\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nclear graphic effects\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 7 v)\n    new coin @ [3021] [-29]\n    switch costume to (level 1 7 v)\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 7 v)\n        new coin @ [832] [420]\n        switch costume to (level 1 7 v)\n    end\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\nhide\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    go to [back v] layer\n    change y by (2)\nelse\n    hide\nend\n\nstop [other scripts in sprite v]\n\n\n\ndefine new coin @ (x) (y)\nset [ghost v] effect to (40)\nswitch costume to (coin v)\nset [x v] to (x)\nset [y v] to (y)\nclear graphic effects\ncreate clone of (_myself_ v)\n\nwhen I receive [win v]\nwait (2) seconds\ndelete this clone\n\nwhen I receive [died v]\nwait (1) seconds\ndelete this clone\n\nwhen flag clicked\ndelete all of [coin v]\ndelete all of [water v]\nadd [0] to [coin v]\nadd [0] to [coin v]\n\nwhen I receive [tick v]\nif <touching (player v)?> then\n    if <(item (LEVEL) of [coin v]) = [0]> then\n        play sound [Coin v] until done\n    end\n    replace item (LEVEL) of [coin v] with [1]\nend\n\nwhen I receive [tick v]\nif <(item (LEVEL) of [coin v]) = [0]> then\n    switch costume to (coin v)\nelse\n    switch costume to (done v)\nend\n\nwhen I receive [win v]\nwait (2) seconds\nhide\ndelete this clone\n\n@Ashampoo_Snap_2020\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [tick v]\ngo to [front v] layer\n\nwhen I receive [main menu v]\ngo to [front v] layer\n\n@Sprite1\n\nwhen I receive [thanks v]\ngo to x: (0) y: (0)\ngo [backward v] (5) layers\nshow\nwait (9) seconds\nbroadcast (menu_ao v)\nrepeat (10)\n    change y by (-10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nhide\n\n@art\n\nwhen I receive [tick v]\ngo to [back v] layer\ngo [forward v] (10) layers\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nclear graphic effects\nhide\nset [x v] to [0]\nset [y v] to [0]\ndelete all of [water v]\nif <(LEVEL) = [1]> then\n    switch costume to (level 0 0 v)\n    new platform at [0] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [400] [26]\n    new platform at [400] [26]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (kostüm10 v)\n        new platform at [0] [0]\n        new water at [600] [0]\n        new water at [400] [0]\n        new platform at [0] [200]\n        new platform at [800] [-200]\n        new platform at [960] [0]\n        new platform at [480] [0]\n        new water at [480] [0]\n        new water at [480] [0]\n        new platform at [480] [0]\n    end\nend\n\ndefine position (x) (y)\nset [ghost v] effect to (67)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    if <[water v] contains (costume [number v])?> then\n        if <touching (player v)?> then\n            set [in water? v] to [1]\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine new platform at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\ndefine new water at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\nadd (costume [number v]) to [water v]\n\nwhen I receive [win v]\nwait (2) seconds\nhide\ndelete this clone\n\nwhen I receive [died v]\nwait (1) seconds\nhide\ndelete this clone\n\nwhen I receive [win v]\nwait (5) seconds\nhide\ndelete this clone\n\n@platforms\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nclear graphic effects\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 0 0 v)\n    new platform at [0] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [480] [0]\n    new platform at [400] [26]\n    new platform at [0] [0]\n    new platform at [0] [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 1 10 v)\n        new platform at [0] [0]\n        new platform at [300] [0]\n        new platform at [480] [0]\n        new platform at [480] [0]\n        new platform at [480] [0]\n        new platform at [480] [0]\n        new platform at [480] [0]\n        new platform at [300] [0]\n        new platform at [480] [0]\n        new platform at [480] [0]\n        new platform at [500] [0]\n        new platform at [0] [0]\n        new platform at [0] [0]\n    end\nend\n\ndefine new platform at (x) (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [play s plat v]\ndelete this clone\n\nwhen I receive [win v]\nwait (4) seconds\nhide\ndelete this clone\n\nwhen I receive [died v]\nwait (0.2) seconds\ndelete this clone\n\nwhen I receive [win v]\nif <<(costume [name v]) = [flag1]> or <(costume [name v]) = [flag2]>> then\n    stop [other scripts in sprite v]\n    repeat (100)\n        change y by (((y position) - (-200)) / (-35))\n    end\n    wait (2) seconds\n    hide\n    delete this clone\nend\nwait (5) seconds\nhide\ndelete this clone\n\n@Figur1\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [died v]\nset [brightness v] effect to (0)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nshow\n\nwhen I receive [main menu v]\nif <(mode) = [intro]> then\n    set [mode v] to [main_menu]\n    stop [other scripts in sprite v]\n    go to [front v] layer\n    set [ghost v] effect to (0)\n    show\n    wait (0.5) seconds\n    repeat (40)\n        change [ghost v] effect by (2.5)\n    end\n    hide\nend\n\nwhen I receive [play s plat v]\nstop [other scripts in sprite v]\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [win v]\nwait (4) seconds\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (4) seconds\nif <<(LEVEL) = [1]> or <(thx) = [1]>> then\n    broadcast (menu_ao v)\nelse\n    set [thx v] to [1]\n    broadcast (thanks v)\nend\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nset [thx v] to [0]\n\nwhen I receive [startintro v]\ngo to [back v] layer\ngo to x: (0) y: (0)\nforever\n    set [brightness v] effect to (helligk)\nend\n\nwhen I receive [start s plat v]\ndelete this clone\n\n@Figur3\n\nwhen flag clicked\nset [ghost v] effect to (20)\n\nwhen flag clicked\nhide\n\ndefine vel (var)\nif <not <(var) = [0]>> then\n    set size to (100) %\n    wait (1) seconds\n    show\n    set [ghost v] effect to (100)\n    repeat (7)\n        change [ghost v] effect by (-10)\n    end\nend\nshow\nset [ghost v] effect to (28)\npoint in direction (90)\nset [size#button v] to [100]\nset [size#button:2 v] to [100]\nset [size5 v] to [100]\nforever\n    point in direction ((90) - (title size change vel))\n    if <(var) = [1]> then\n        if <(var) < ((Level_unlock) + (1))> then\n            set [size#button v] to ((((size#button) * (1.6)) + (((40) + (<touching (mouse-pointer v)?> * (10))) + ([sin v] of ((timer) * (100)) ))) / (2))\n            set size to (size#button) %\n        else\n            forever\n                locked\n            end\n        end\n    end\n    if <(var) = [2]> then\n        if <(var) < ((Level_unlock) + (1))> then\n            set [size#button:2 v] to ((((size#button:2) * (1.6)) + (((40) + (<touching (mouse-pointer v)?> * (10))) + ([sin v] of ((timer) * (100)) ))) / (2))\n            set size to (size#button:2) %\n        else\n            locked\n        end\n    end\n    if <(var) = [3]> then\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(var) < ((Level_unlock) + (1))> then\n            if <(var) = [1]> then\n                set [level v] to (var)\n                broadcast (play s plat v)\n                wait (1) seconds\n                hide\n                stop [this script v]\n            end\n            if <(var) = [2]> then\n                set [level v] to (var)\n                broadcast (play s plat v)\n                wait (1) seconds\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [main menu v]\ngo to x: (0) y: (-100)\nswitch costume to (start v)\nvel [0]\n\nwhen I receive [menu_ao v]\nhide\ndelete this clone\n\nwhen I receive [menu_ao v]\nwait (2) seconds\nstop [other scripts in sprite v]\nset [clone:id v] to [1]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [clone:id v] to [2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone:id) = [1]> then\n    hide\n    set [ghost v] effect to (28)\n    set size to (100) %\n    switch costume to (start2 v)\n    point in direction (90)\n    go to x: (0) y: (17)\n    hide\nend\nif <(clone:id) = [2]> then\n    hide\n    set [ghost v] effect to (28)\n    set size to (100) %\n    switch costume to (start3 v)\n    point in direction (90)\n    go to x: (0) y: (-92)\n    hide\nend\n\nwhen I start as a clone\nvel (clone:id)\n\nwhen I receive [play s plat v]\ndelete this clone\n\nwhen I receive [play s plat v]\nhide\nstop [other scripts in sprite v]\n\ndefine locked\nset size to (100) %\nswitch costume to (start6 v)\nset [size5 v] to ((((size5) * (1.6)) + (((40) + (<touching (mouse-pointer v)?> * (10))) + ([sin v] of ((timer) * (100)) ))) / (2))\nset size to (size5) %\n\nwhen I receive [main menu v]\nforever\n    set [size# v] to ((((size#) * (1.6)) + (((40) + (<touching (mouse-pointer v)?> * (10))) + ([sin v] of ((timer) * (100)) ))) / (2))\n    set size to (size#) %\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (menu_ao v)\n        wait (1) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start s plat v]\ndelete this clone\n\n@effect\n\ndefine dd\nset [ghost v] effect to (92)\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (-5)\ngo to [back v] layer\nforever\n    go to [back v] layer\n    turn right (3) degrees\n    go to x: (5) y: (5)\n    set size to ((size#button) / (10)) %\nend\n\nwhen I start as a clone\ndd\n\nwhen I receive [play s plat v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change size by (10)\nend\nhide\ndelete this clone\n\nwhen I receive [main menu v]\nset size to (20) %\npoint in direction (45)\ncreate clone of (_myself_ v)\npoint in direction (0)\ncreate clone of (_myself_ v)\npoint in direction (-45)\ncreate clone of (_myself_ v)\npoint in direction (-90)\ncreate clone of (_myself_ v)\npoint in direction (-135)\ncreate clone of (_myself_ v)\npoint in direction (180)\ncreate clone of (_myself_ v)\npoint in direction (90)\ncreate clone of (_myself_ v)\npoint in direction (135)\ndd\n\nwhen flag clicked\nhide\n\nwhen I receive [menu_ao v]\nhide\ndelete this clone\n\nwhen I receive [start s plat v]\ndelete this clone\n\n@intro (1)\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\ndefine auseinandergehender effekt (sec)\nforever\n    wait (sec) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo [backward v] (1) layers\nset [ghost v] effect to (60)\nset size to (100) %\nshow\nswitch costume to (pick random (1) to (3))\neffect (pick random (10) to (-10)) (pick random (10) to (-10))\n\ndefine effect (zufallszahl_x) (zufallszahl_y)\ngo to [front v] layer\ngo [backward v] (1) layers\nrepeat (10)\n    change x by ((zufallszahl_x) * (3))\n    change y by (zufallszahl_y)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [startintro v]\npoint in direction (135)\nrepeat until <(direction) < [91]>\n    go to [front v] layer\n    turn right (((90) - (direction)) / (6)) degrees\nend\n\nwhen I receive [startintro v]\nset [helligk v] to [100]\nforever\n    go to [front v] layer\n    change [helligk v] by ((helligk) / (-5))\nend\n\nwhen I receive [startintro v]\nplay sound [TheFatRat & JJD - Prelude \(VIP Edit\) \(1\)2 v] until done\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nset size to (10) %\nrepeat until <(size) = [200]>\n    change size by (((200) - (size)) / (10))\nend\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nshow\nswitch costume to (kostüm4 v)\nset [pitch v] effect to (5)\nwait (1) seconds\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (400)) ) * (20)))\nend\n\nwhen I receive [startintro v]\nbounce4\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nset [mp v] to [0]\nwait (0.1) seconds\nforever\n    set [mp v] to [1]\n    set [helligk v] to [10]\n    wait (0.2) seconds\n    set [mp v] to [0]\n    wait (0.2) seconds\nend\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nauseinandergehender effekt [0]\n\nwhen I receive [startintro v]\nset volume to (100) %\nwait (4) seconds\nrepeat (10)\n    change volume by (-10)\nend\nbroadcast (endintro v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\nwhen I receive [start game v]\nwait (5) seconds\nstop [other scripts in sprite v]\ngo to [back v] layer\n\nwhen flag clicked\n\nwhen I receive [startintro v]\ngo to x: (0) y: (0)\nforever\n    set [brightness v] effect to (helligk)\nend\n\nwhen I receive [endintro v]\nif <(costume [number v]) = [5]> then\n    stop [other scripts in sprite v]\nend\nrepeat until <[135] < (direction)>\n    change [ghost v] effect by (10)\n    go to [front v] layer\n    turn right (((-136) - (direction)) / (6)) degrees\nend\n\ndefine bounce4\nset [bounce? v] to [0]\nforever\n    go to [front v] layer\n    if <(mp) = [1]> then\n        set [bounce? v] to (((bounce?) * (0.65)) + ((((205) + ()) - (size)) * (0.3)))\n        change size by (bounce?)\n    else\n        set [bounce? v] to (((bounce?) * (0.6)) + ((((155) + ()) - (size)) * (0.3)))\n        change size by (bounce?)\n    end\nend\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n@intro (3)\n\nwhen flag clicked\n\nwhen I receive [startintro v]\ngo to x: (0) y: (0)\nshow\ngo [backward v] (3) layers\ngo to [back v] layer\ngo [backward v] (5) layers\nrepeat (30)\n    go to [front v] layer\n    go [backward v] (2) layers\n    turn right (5) degrees\nend\nrepeat until <(direction) < [91]>\n    turn right (((90) - (direction)) / (6)) degrees\nend\n\nwhen I receive [startintro v]\nforever\n    set [brightness v] effect to (helligk)\nend\n\nwhen I receive [startintro v]\nbounce4\n\nwhen I receive [startintro v]\nset size to (70) %\nforever\n    change size by (((200) - (size)) / (10))\nend\n\nwhen I receive [startintro v]\nwait (1) seconds\nforever\n    point in direction ((90) + (([sin v] of ((timer) * (200)) ) * (10)))\nend\n\nwhen flag clicked\nwait (1) seconds\nbroadcast (startintro v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nbroadcast (begin v)\n\nbroadcast (scrolling b ground v)\n\ndefine bounce4\nset [bounce? v] to [0]\nforever\n    if <(mp) = [1]> then\n        set [bounce? v] to (((bounce?) * (0.65)) + ((((200) + ()) - (size)) * (0.2)))\n        change size by (bounce?)\n    else\n        set [bounce? v] to (((bounce?) * (0.6)) + ((((150) + ()) - (size)) * (0.2)))\n        change size by (bounce?)\n    end\nend\n\nwhen I receive [endintro v]\nstop [other scripts in sprite v]\nrepeat until <[135] < (direction)>\n    broadcast (scrolling b ground v)\n    change size by (-10)\n    change [ghost v] effect by (8)\n    go to [front v] layer\n    turn right (((-136) - (direction)) / (6)) degrees\nend\nwait (1.5) seconds\nbroadcast (start game v)\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n@intro (2)\n\ndefine dreh\nset [start v] to [0]\npoint in direction (90)\ngo to x: (0) y: (0)\nrepeat (8)\n    create clone of (_myself_ v)\n    turn right ((360) / (8)) degrees\nend\nset [start v] to [1]\n\nwhen I start as a clone\nwait until <(start) = [1]>\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    turn right (3) degrees\nend\n\ngo to [back v] layer\n\nrepeat (1000)\n    turn right (((direction) - (90)) / (30)) degrees\nend\n\nwhen I start as a clone\nwait until <(start) = [1]>\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I start as a clone\nbounce4\n\nwhen I receive [startintro v]\nhide\ndreh\n\ndefine bounce4\nset [bounce? v] to [0]\nforever\n    if <(mp) = [1]> then\n        set [bounce? v] to (((bounce?) * (0.65)) + ((((110) + ()) - (size)) * (0.3)))\n        change size by (bounce?)\n    else\n        set [bounce? v] to (((bounce?) * (0.6)) + ((((120) + ()) - (size)) * (0.3)))\n        change size by (bounce?)\n    end\nend\n\nwhen I receive [endintro v]\nrepeat (10)\n    change y by (((y position) - (40)) / (-10))\n    change [ghost v] effect by (10)\nend\nwait (0.1) seconds\nbroadcast (start game v)\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n@spikes\n\nwhen I receive [green flag v]\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nclear graphic effects\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 0 0 v)\n    new saw at [206] [-75]\n    new saw at [381] [-75]\n    new saw at [1714] [-170]\n    new saw at [1769] [-170]\n    new saw at [1824] [-170]\n    new saw at [3445] [20]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 0 0 v)\n        new saw at [485] [-123]\n        new saw at [785] [-123]\n        new saw at [1085] [-123]\n        new saw at [635] [0]\n        new saw at [935] [0]\n        new saw at [1400] [-123]\n        new saw at [1500] [-123]\n        new saw at [1600] [-123]\n        new saw at [1800] [-123]\n        new saw at [2900] [-18]\n        new saw at [3201] [-18]\n        new saw at [3050] [130]\n        new saw at [640] [388]\n        new saw at [3514] [-77]\n        new saw at [3584] [-77]\n        new saw at [3654] [-77]\n        new saw at [3724] [-77]\n        new saw at [3994] [-77]\n        new saw at [4064] [-77]\n        new saw at [4134] [-77]\n        new saw at [4204] [-77]\n    end\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine new saw at (x) (y)\ncreate clone of (_myself_ v)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (kostüm1 v)\n\nnew saw at [480] []\nnew saw at [450] []\nnew saw at [450] []\nnew saw at [800] []\n\nwhen flag clicked\nhide\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nset [ghost v] effect to (100)\n\nwhen I receive [tick v]\nturn right (2) degrees\n\nnew saw at [3924] [-77]\n\nwhen I receive [win v]\nwait (2) seconds\nhide\ndelete this clone\n\nwhen I receive [died v]\nwait (1) seconds\ndelete this clone\n\n@Figur4\n\nwhen I start as a clone\nswitch costume to (kostüm1 v)\nif <(id) = [0]> then\n    go to x: (500) y: (10)\nend\nset [ghost v] effect to (99)\ngo to [back v] layer\nshow\n\nrepeat (4)\n\nwhen I receive [scrolling b ground v]\ngo to [back v] layer\nif <not <[untick] = (costume [name v])>> then\n    change x by (-2)\n    if <(x position) = [400]> then\n        create clone of (_myself_ v)\n    end\n    if <(x position) < [-470]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\nset [id v] to [0]\n\nwhen I receive [start game v]\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nforever\n    if <not <(mode) = [s_plat]>> then\n        broadcast (scrolling b ground v)\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [menu_ao v]\nif <[untick] = (costume [name v])> then\n    stop [other scripts in sprite v]\nend\nforever\n    if <not <(mode) = [s_plat]>> then\n        broadcast (scrolling b ground v)\n    end\nend\n\nwhen I receive [play s plat v]\nif <[untick] = (costume [name v])> then\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n@Figur2\n\nwhen flag clicked\nset [ghost v] effect to (20)\n\nwhen I receive [main menu v]\n\nwhen flag clicked\nhide\n\ndefine vel\ngo to x: (0) y: (113)\nshow\nset [ghost v] effect to (28)\nset size to (100) %\npoint in direction (90)\nset [title size change vel v] to [90]\nforever\n    set [title size change vel v] to ((((title size change vel) * (1.6)) + (((350) - (206)) + ([cos v] of ((timer) * (100)) ))) / (2))\n    point in direction ((90) - (title size change vel))\n    set [size v] to ((((size) * (1.6)) + (((40) + (0)) + ([sin v] of ((timer) * (100)) ))) / (2))\n    set size to (size) %\nend\n\nwhen I receive [main menu v]\nswitch costume to (unbenannte zeichnung \(5\) v)\nvel\n\nwhen I receive [play s plat v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [win v]\nswitch costume to (level select2 v)\nshow\nset size to (100) %\nset [ghost v] effect to (100)\npoint in direction (90)\ngo to x: (0) y: (133)\nset size to (80) %\npoint in direction (75)\nrepeat (70)\n    turn right (((direction) - (90)) / (-13)) degrees\n    change size by (((size) - (113)) / (-13))\n    change y by (((100) - (y position)) / (13))\n    change [ghost v] effect by (-1)\nend\nwait (3) seconds\nhide\n\nwhen I receive [win v]\nwait (0.5) seconds\n\ndefine particle (x) (y) (particle)\nshow\n\nwhen I receive [menu_ao v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change [ghost v] effect by (7)\nend\nstop [other scripts in sprite v]\nswitch costume to (level select v)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (-7)\nend\nvel\n\nwhen I receive [start s plat v]\nstop [other scripts in sprite v]\n\n