Found— A platformer

Instructions: ーーーーーーーー日本語は下ーーーーーーーーーーー\nUNDERTALE style platformer.\nUse the arrow keys to move. You can also do it on mobile.\nWhen it hits the bone, it returns to the beginning. When you die, it takes time to recover.\nPlease understand.\n\n＝日本語＝\nUNDERTALE風のプラットフォーマーです。\n矢印キーで移動します。モバイルでもできます。\n骨に当たると最初に戻ります。死ぬと復活までに時間がかかります。\nどうかご了承ください

@Stage\n\n@Intro\n\ndefine Smooth Glide to x (x) y (y) Speed (s)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (s))\n    change y by (((y) - (y position)) / (s))\nend\ngo to x: (x) y: (y)\n\nwhen flag clicked\nset [end? v] to [0]\nstart sound [Ampyx - LMAO \[Argofox\].mp4 v]\nhide\nset [uservanish v] to [0]\nset [sine v] to [0]\nset [id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.01) seconds\nchange [id v] by (1)\nrepeat (3)\n    switch costume to (slide v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (slide2 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nswitch costume to (background v)\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nchange [id v] by (1)\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nchange [id v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(id) = [0]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    show\n    switch costume to (background v)\n    go to [back v] layer\nend\nif <(id) = [1]> then\n    go to x: (700) y: (0)\n    show\n    point in direction (90)\n    go to [front v] layer\n    Smooth Glide to x [0] y [0] Speed [4]\n    hide\n    delete this clone\nend\nif <(id) = [2]> then\n    set size to (0) %\n    show\n    switch costume to (logo v)\n    go to [front v] layer\n    go to x: (0) y: (35)\n    repeat (16)\n        turn right (22.5) degrees\n        change size by (6.25)\n    end\n    point in direction (90)\n    set size to (100) %\n    forever\n        if <(end?) = [0]> then\n            point in direction ((([cos v] of ((sine) * (18)) ) * (9)) + (90))\n            change [sine v] by (1)\n        else\n            repeat (24)\n                turn right (-16.875) degrees\n                change size by (-4.6875)\n            end\n            broadcast (intro_finished v)\n            delete this clone\n        end\n    end\nend\nif <(id) = [3]> then\n    point in direction (90)\n    wait (0.5) seconds\n    set [ghost v] effect to (0)\n    switch costume to (username v)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    go to x: (700) y: (0)\n    Smooth Glide to x [0] y [0] Speed [4]\n    forever\n        if <(uservanish) = [0]> then\n            set [ghost v] effect to (0)\n            switch costume to (username v)\n            go to [front v] layer\n            go [backward v] (1) layers\n            show\n            go to x: (0) y: (0)\n        else\n            Smooth Glide to x [0] y [25] Speed [3]\n            Smooth Glide to x [0] y [-100] Speed [3]\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [intro_finished v]\nhide\ndelete this clone\n\nwhen I receive [intro_finished v]\nrepeat (10)\n    change volume by (-10)\nend\nstop all sounds\n\nwhen flag clicked\nset volume to (100) %\nwait (6) seconds\nset [end? v] to [1]\nset [uservanish v] to [1]\n\n@information\n\nwhen flag clicked\nhide\n\nwhen I receive [info v]\nshow\nset [ghost v] effect to (0)\ngo to [front v] layer\nset size to (0) %\nrepeat (10)\n    change size by (12)\nend\nrepeat (2)\n    change size by (-10)\nend\nrepeat until <mouse down?>\n    show\n    go to [front v] layer\n    go [forward v] (1) layers\nend\nrepeat (2)\n    change size by (10)\nend\nrepeat (10)\n    change size by (-12)\nend\nhide\n\ngo to [front v] layer\n\nchange [ghost v] effect by (10)\n\nchange [ghost v] effect by (-10)\n\n@player\n\ndefine tick\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change player x by [-8]\n    point in direction (-90)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change player x by [8]\n    point in direction (90)\nend\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <(in air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nchange player y by (sy)\ntest -die\nset [scrool x v] to (x)\nif <(SCROOL X) < [0]> then\n    set [scrool x v] to [0]\nend\nchange [scroll y v] by (round ((((y) - (SCROLL Y)) + (50)) / (10)))\nif <[0] < (SCROLL Y)> then\n    set [scroll y v] to [0]\nend\nposition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\nwhen I receive [play game v]\nset [level v] to [1]\nbroadcast (new-background v)\nforever\n    broadcast (reset v)\n    broadcast (set up v)\n    game on\n    repeat until <(EXIT) > []>\n        broadcast (tick v)\n        tick\n    end\n    if <(EXIT) = [win]> then\n        Game win\n    else\n        game-die\n    end\nend\n\ndefine game on\nset [scroll y v] to [0]\nset [scrool x v] to [0]\nset [sy v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [in air v] to [0]\nset [exit v] to []\npoint in direction (90)\nset [ghost v] effect to (0)\nshow\n\nwhen flag clicked\nset rotation style [left-right v]\ngo to [front v] layer\nshow\nbroadcast (grüne Flagge v)\n\nwhen I receive [grüne flagge v]\nhide\ngo to [front v] layer\n\ndefine change player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nposition\nrepeat until <not <touching (figur1 v)?>>\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 position\ngo to x: ((x) - (SCROOL X)) y: ((y) - (SCROLL Y))\n\ndefine change player x by (sx)\nchange [x v] by (sx)\nposition\nif <touching (figur1 v)?> then\n    repeat (8)\n        change [y v] by (1)\n        position\n        if <not <touching (figur1 v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-8)\n    repeat until <not <touching (figur1 v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        position\n    end\nend\n\ndefine game-die\nset [exit v] to []\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\nwait (0.5) seconds\nset [ghost v] effect to (0)\n\ndefine test -die\nif <touching (danger2 v)?> then\n    set [exit v] to [die]\nend\n\ndefine Game win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change [ghost v] effect by (2)\n    change size by (-1)\n    broadcast (playertouchexit v)\nend\nset size to (playersize_selected) %\nhide\nchange [level v] by (1)\nwait (1) seconds\nbroadcast (playerdonttouchexit v)\n\nwhen flag clicked\nforever\n    if <touching (bouncy blue v)?> then\n        set [sy v] to [30]\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (figur7 v)\nend\n\nwhen flag clicked\nset [player_selected v] to [1]\n\nwhen I receive [play game v]\nforever\n    if <(Player_selected) = [1]> then\n        set size to (60) %\n        set rotation style [left-right v]\n        switch costume to (costume2 v)\n        wait (pick random (2) to (5)) seconds\n        repeat (8)\n            next costume\n            wait (0.001) seconds\n        end\n    end\n    if <(Player_selected) = [2]> then\n        set size to (80) %\n        set rotation style [left-right v]\n        switch costume to (costume11 v)\n        wait (pick random (2) to (5)) seconds\n        repeat (6)\n            next costume\n            wait (0.001) seconds\n        end\n    end\n    if <(Player_selected) = [3]> then\n        set size to (80) %\n        set rotation style [left-right v]\n        switch costume to (costume19 v)\n    end\nend\n\nset [scrool x v] to [0]\nset [scrool x v] to [0]\n\nwhen I receive [play game v]\nforever\n    if <(Player_selected) = [1]> then\n        set [playersize_selected v] to [60]\n    end\n    if <(Player_selected) = [2]> then\n        set [playersize_selected v] to [80]\n    end\n    if <(Player_selected) = [3]> then\n        set [playersize_selected v] to [80]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [4]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@bouncy blue\n\nwhen I receive [grüne flagge v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [3]> then\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\nelse\n    hide\nend\n\nif <(LEVEL) = [3]> then\n    show\nend\nif <(LEVEL) = [4]> then\n    show\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nclone at x: [450] y: [0]\nclone at x: [450] y: [0]\nclone at x: [450] y: [0]\nclone at x: [450] y: [0]\n\nclone at x: [380] y: [0]\n\nswitch costume to (kostüm1 v)\nclone at x: [370] y: [0]\nclone at x: [380] y: [0]\n\n@collectables\n\nwhen I receive [grüne flagge v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [collected v] by (1)\n    broadcast (coin_sound v)\n    delete this clone\nend\n\nwhen I receive [set up v]\nhide\nset [collected v] to [0]\nset [collected max v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (dot v)\n    clone at x: [50] y: [0]\n    clone at x: [111] y: [30]\n    clone at x: [363] y: [80]\n    clone at x: [721] y: [50]\n    clone at x: [1000] y: [30]\n    clone at x: [1200] y: [15]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (dot v)\n        clone at x: [50] y: [0]\n        clone at x: [400] y: [-50]\n        clone at x: [800] y: [-50]\n        clone at x: [1500] y: [20]\n        clone at x: [1700] y: [30]\n        clone at x: [1750] y: [15]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (dot v)\n            clone at x: [50] y: [0]\n            clone at x: [250] y: [15]\n            clone at x: [400] y: [0]\n            clone at x: [700] y: [45]\n            clone at x: [1500] y: [0]\n            clone at x: [1800] y: [-50]\n        else\n        end\n    end\nend\nset [x v] to [-99999]\n\nif <(LEVEL) = [4]> then\n    clone at x: [70] y: [-10]\n    clone at x: [420] y: [90]\n    clone at x: [500] y: [0]\n    clone at x: [780] y: [45]\n    clone at x: [1570] y: [30]\n    clone at x: [1690] y: [80]\n    clone at x: [1810] y: [125]\nend\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 [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\n\nif <(COLLECTED) = (COLLECTED MAX)> then\n    broadcast (open portal v)\nend\n\nwhen I start as a clone\nforever\n    next costume\nend\n\nwhen I receive [coin_sound v]\nplay sound [Coin v] until done\n\n@Danger2\n\nwhen I receive [grüne flagge v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1_1 v)\n    clone at x: [400] y: [-100]\n    clone at x: [150] y: [0]\n    clone at x: [1700] y: [150]\n    clone at x: [100] y: [0]\n    clone at x: [100] y: [0]\n    clone at x: [200] y: [1200]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (kostüm3 v)\n        clone at x: [250] y: [70]\n        switch costume to (kostüm2 v)\n        clone at x: [200] y: [-250]\n        next costume\n        clone at x: [540] y: [90]\n        clone at x: [450] y: [0]\n        clone at x: [400] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (kostüm10 v)\n            clone at x: [150] y: [-150]\n            clone at x: [100] y: [0]\n            clone at x: [100] y: [0]\n            clone at x: [200] y: [50]\n            clone at x: [100] y: [50]\n            switch costume to (kostüm13 v)\n            clone at x: [350] y: [-125]\n            clone at x: [400] y: [20]\n            clone at x: [400] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (kostüm18 v)\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\nturn right (10) degrees\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 [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\nnext costume\nchange [x v] by (x)\nchange [y v] by (y)\ncreate clone of (_myself_ v)\n\nclone at x: [425] y: [0]\nclone at x: [410] y: [0]\nclone at x: [420] y: [0]\nclone at x: [420] y: [0]\nclone at x: [420] y: []\n\nwhen flag clicked\n\nwhen I start as a clone\nforever\n\n@Figur1\n\nwhen I receive [grüne flagge v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1_1 v)\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        clone at x: [400] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [480] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            clone at x: [370] y: [0]\n            clone at x: [380] y: [0]\n            clone at x: [400] y: [0]\n            clone at x: [420] y: [0]\n            clone at x: [395] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (costume5 v)\n                clone at x: [400] y: [0]\n                hide\n                delete this clone\n            end\n        end\n    end\nend\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 [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\ngo [forward v] (4) layers\n\nset [level v] to [4]\n\nset [level v] to [2]\n\nwhen I start as a clone\nforever\n    if <(LEVEL) = [4]> then\n        broadcast (set up v)\n        delete this clone\n    end\nend\n\nwhen flag clicked\n\n@exit\n\nwhen I receive [grüne flagge v]\nswitch costume to (kostüm2 v)\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [win]\nend\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (kostüm2 v)\n    clone at x: [2700] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        clone at x: [2300] y: [15]\n    else\n        if <(LEVEL) = [3]> then\n            clone at x: [2300] y: [140]\n        else\n            if <(LEVEL) = [4]> then\n                hide\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    if <not <(LEVEL) = [4]>> then\n        show\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nswitch costume to (kostüm2 v)\n\nswitch costume to (kostüm3 v)\n\n\n    \nend\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (kostüm1 v)\nforever\n    turn right (5) degrees\n    set [ghost v] effect to (50)\nend\n\nset [ghost v] effect to (50)\n\nwhen flag clicked\nforever\n    set y to (36)\n    repeat (10)\n        change [y v] by (2)\n    end\n    repeat (10)\n        change [y v] by (-2)\n    end\nend\n\nchange y by (2)\nchange y by (-2)\n\nset [level v] to [2]\n\n@Figur2\n\nwhen flag clicked\npoint in direction (90)\nset [ghost v] effect to (0)\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (60) %\n        set [brightness v] effect to (20)\n    else\n        set size to (50) %\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (effect v)\nhide\n\nwhen flag clicked\nforever\n    set y to (-120)\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\n    repeat (10)\n        change y by (1)\n    end\nend\n\nwhen I receive [intro_finished v]\nshow\n\nchange x by (10)\n\n@Figur6\n\nwhen flag clicked\nset [ghost v] effect to (40)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <not <touching (mouse-pointer v)?>>\n            set size to (120) %\n        end\n    end\n    set size to (100) %\nend\n\nwhen this sprite clicked\nbroadcast (button angeklickt v)\n\nwhen flag clicked\nhide\n\n@Figur8\n\nwhen flag clicked\ngo [forward v] (11) layers\nhide\n\nwhen this sprite clicked\nnext costume\nif <(costume [number v]) = [1]> then\n    play sound [Pokki_DJ_-_Springtime v] until done\nelse\n    stop all sounds\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <not <touching (mouse-pointer v)?>>\n            set size to (120) %\n            go to [front v] layer\n        end\n    end\n    go to [front v] layer\n    set size to (100) %\nend\n\nwhen I receive [intro_finished v]\nwait (4) seconds\nhide\nswitch costume to (kostüm1 v)\nrepeat until <(costume [number v]) = [2]>\n    play sound [Pokki_DJ_-_Springtime v] until done\nend\n\nwhen I receive [intro_finished v]\nforever\n    if <(mouse y) > [110]> then\n        go [forward v] (12) layers\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nplay sound [Plugged \(post mastering\) v] until done\nplay sound [Plugged \(post mastering\) v] until done\n\n@Figur9\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <not <touching (mouse-pointer v)?>>\n            set size to (120) %\n            go to [front v] layer\n        end\n    end\n    set size to (100) %\n    go to [front v] layer\nend\n\nwhen this sprite clicked\nbroadcast (info v)\n\nwhen flag clicked\nhide\n\nwhen I receive [intro_finished v]\nforever\n    if <(mouse y) > [110]> then\n        go [forward v] (12) layers\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n@Figur3\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (90)\n    go to [back v] layer\nend\n\n@exit2\n\nwhen I receive [grüne flagge v]\nswitch costume to (kostüm2 v)\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [win]\nend\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (kostüm2 v)\n    clone at x: [2700] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        clone at x: [2300] y: [15]\n    else\n        if <(LEVEL) = [3]> then\n            clone at x: [2300] y: [140]\n        else\n            if <(LEVEL) = [4]> then\n                hide\n            else\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    if <not <(LEVEL) = [4]>> then\n        show\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nswitch costume to (kostüm2 v)\n\nswitch costume to (kostüm3 v)\n\n\n    \nend\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (kostüm1 v)\nforever\n    turn right (-5) degrees\n    set [ghost v] effect to (50)\nend\n\nwhen flag clicked\nforever\n    set y to (36)\n    repeat (10)\n        change [y v] by (2)\n    end\n    repeat (10)\n        change [y v] by (-2)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to (player v)\n    set [ghost v] effect to (60)\n    go to [back v] layer\nend\n\nwhen flag clicked\nset size to (150) %\nforever\n    repeat (10)\n        change size by (-2)\n        wait (0.01) seconds\n    end\n    repeat (10)\n        change size by (2)\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nshow\n\nset [level v] to [4]\n\nwhen flag clicked\nforever\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    go to (player v)\n    set [ghost v] effect to (60)\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        change size by (3)\n        wait (0.01) seconds\n    end\n    repeat (10)\n        change size by (-3)\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nshow\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [4]> then\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to (player v)\n    set [ghost v] effect to (60)\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        change size by (3)\n        wait (0.01) seconds\n    end\n    repeat (10)\n        change size by (-3)\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nshow\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [4]> then\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [intro_finished v]\nshow\n\npoint in direction (110)\nwait (0.3) seconds\npoint in direction (90)\nwait (1) seconds\n\nwhen this sprite clicked\nif <(Player_selected) > [1]> then\n    change [player_selected v] by (-1)\nend\n\nwhen I receive [play game v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [intro_finished v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n        point in direction (90)\n    end\nend\n\nwhen this sprite clicked\nif <[3] > (Player_selected)> then\n    change [player_selected v] by (1)\nend\n\nwhen I receive [play game v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <(Player_selected) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(Player_selected) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(Player_selected) = [3]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [intro_finished v]\nshow\n\nwhen I receive [play game v]\nhide\n\n@Figur4\n\nwhen I receive [grüne flagge v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROOL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1_1 v)\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\n    clone at x: [400] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        clone at x: [400] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [450] y: [0]\n        clone at x: [480] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            clone at x: [370] y: [0]\n            clone at x: [380] y: [0]\n            clone at x: [400] y: [0]\n            clone at x: [420] y: [0]\n            clone at x: [395] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n            end\n        end\n    end\nend\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 [reset v]\ndelete this clone\n\ndefine clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\ngo [backward v] (1) layers\n\nset [level v] to [4]\n\nclone at x: [380] y: [0]\n\nclone at x: [420] y: [0]\nclone at x: [420] y: [0]\n\nwhen flag clicked\n\n@Sprite7\n\nwhen flag clicked\nhide\nset [ghost v] effect to (50)\n\nwhen I receive [intro_finished v]\nforever\n    if <(mouse y) > [110]> then\n        show\n    else\n        set y to (170)\n        hide\n    end\nend\n\nwhen flag clicked\ngo [forward v] (50) layers\n\nrepeat (5)\n\nstop [this script v]\n\ngo to [front v] layer\n\n@Sprite8\n\n@Sprite9\n\n@Figur7\n\nwhen flag clicked\nforever\n    go to (player v)\n    if <touching (exit v)?> then\n        hide\n        wait (1) seconds\n        show\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change x by (5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change x by (-5)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change y by (-2)\n    end\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nshow\n\nwhen flag clicked\n\ndelete this clone\n\nwhen I start as a clone\nforever\n\nif <touching (exit v)?> then\n    hide\n    wait (1) seconds\n    show\nend\n\nwhen I receive [playertouchexit v]\nhide\n\nwhen I receive [playerdonttouchexit v]\nshow\n\n@Sprite10\n\nwhen flag clicked\ngo [forward v] (15) layers\nset [level v] to [1]\npoint in direction (90)\nforever\n    if <(LEVEL) = [4]> then\n        set size to (0) %\n        go to [front v] layer\n        show\n        repeat (10)\n            change size by (12)\n        end\n        repeat (2)\n            change size by (-10)\n        end\n        broadcast (thisisamessage v)\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nturn left (5) degrees\nchange size by (-10)\nwait (0.2) seconds\n\nset [level v] to [4]\n\nwait (0.1) seconds\n\nwait (0.1) seconds\nwait (0.1) seconds\n\nset [level v] to [4]\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    set size to (100) %\n    set [ghost v] effect to (105)\n    go to [front v] layer\n    go [forward v] (10000) layers\nend\n\n@Sprite11\n\nwhen I receive [effect v]\nshow\nset y to (400)\nrepeat (18)\n    change y by (-20)\n    go to [front v] layer\n    go [forward v] (1) layers\nend\ngo [forward v] (1) layers\ngo to [front v] layer\nwait (1) seconds\nbroadcast (play game v)\nrepeat (20)\n    go [forward v] (1) layers\n    go to [front v] layer\n    change y by (20)\nend\nhide\n\nwhen flag clicked\nhide\n\n@Sprite12\n\n