Explorer || Platformer 5

Instructions: Control with the arrow keys.\nAll levels are possible. \nDon't touch the spikes, the arrows and the lava!

@Stage\n\nwhen flag clicked\nswitch backdrop to (bakgrunn1 v)\n\nwhen I receive [start v]\nswitch backdrop to (bühnenbild2 v)\n\nwhen flag clicked\nforever\n    play sound [Spirit Final Ver v] until done\nend\n\n@Player\n\nwhen I receive [death v]\nset rotation style [all around v]\nset [y v v] to [10]\nrepeat until <(y position) < [-179]>\n    switch costume to (death v)\n    go to [front v] layer\n    turn right (10) degrees\n    change y by (Y v)\n    change [y v v] by (-1)\nend\nset rotation style [left-right v]\ngo to [front v] layer\ngo [backward v] (75) layers\n\nwhen I receive [start v]\npoint in direction (90)\nset rotation style [left-right v]\nshow\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <<touching (platformer v)?> or <touching (helper v)?>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching (enemy v)?> or <<touching (arrows 1 v)?> or <<touching (arrows 2 v)?> or <<touching (enemy4 v)?> or <<<touching (spikes v)?> or <touching (traps v)?>> or <<touching (traps2 v)?> or <<touching (arrows 3 v)?> or <<touching (arrows 4 v)?> or <<touching (lava v)?> or <<touching (lava2 v)?> or <<touching (arrows 5 v)?> or <<touching (enemy2 v)?> or <<touching (enemy3 v)?> or <<touching (traps 3 v)?> or <<touching (arrows 6 v)?> or <<<touching (arrows 7 v)?> or <touching (arrows 8 v)?>> or <<touching (arrows 9 v)?> or <<touching (traps 2 v)?> or <<touching (enemy5 v)?> or <<touching (enemy6 v)?> or <<touching (traps 4 v)?> or <<touching (enemy7 v)?> or <<touching (enemy8 v)?> or <<touching (arrows 10 v)?> or <<<touching (arrows 11 v)?> or <touching (traps3 v)?>> or <<touching (arrows 12 v)?> or <<touching (arrows 13 v)?> or <<touching (arrows 14 v)?> or <<touching (enemy10 v)?> or <<touching (enemy9 v)?> or <<touching (traps4 v)?> or <touching (traps5 v)?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> then\n        broadcast (Death v) and wait\n        go to x: (-217) y: (70)\n        point in direction (90)\n        set rotation style [left-right v]\n        broadcast (Reset the moving variables v)\n        clear graphic effects\n    end\n    if <(x position) > [222]> then\n        hide\n        broadcast (Next Level v) and wait\n        go to x: (-214) y: (70)\n        broadcast (Reset the moving variables v)\n        show\n        clear graphic effects\n    end\nend\n\nwhen I receive [reset the moving variables v]\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nhide\ngo to x: (-214) y: (-85)\npoint in direction (90)\n\nwhen I receive [skip v]\nhide\ngo to x: (-214) y: (70)\nbroadcast (Next Level v)\nbroadcast (Reset the moving variables v)\nshow\n\nwhen flag clicked\nforever\n    if <<touching (bounce v)?> or <touching (bounce2 v)?>> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (speed12 v)?> then\n        change [x v] by (10)\n    end\n    if <<<touching (speed3 v)?> or <touching (speed4 v)?>> or <<touching (speed5 v)?> or <<touching (speed6 v)?> or <<touching (speed v)?> or <<<touching (speed8 v)?> or <<touching (speed9 v)?> or <<touching (speed10 v)?> or <touching (speed2 v)?>>>> or <touching (speed11 v)?>>>>>> then\n        change [x v] by (-10)\n    end\n    if <touching (speed7 v)?> then\n        change [y v] by (-10)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>>> then\n        if <not <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            switch costume to (side v)\n        else\n            switch costume to (up-side v)\n        end\n    else\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            if <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>>> then\n                switch costume to (up-side v)\n            else\n                switch costume to (up v)\n            end\n        else\n            if <<key (down arrow v) pressed?> or <<mouse down?> and <(y position) > (mouse y)>>> then\n                switch costume to (down v)\n            else\n                switch costume to (- v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (75) layers\nforever\n    if <<touching (water v)?> or <touching (water3 v)?>> then\n        change [y v] by (1)\n    end\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (water v)?>> then\n        change [y v] by (1)\n        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <not <touching (water v)?>>> then\n            set [y v] to [-1]\n        end\n    end\nend\n\nwhen I receive [intro finished v]\nbroadcast (start2 v)\n\n@Platformer\n\nwhen I receive [levelübergang v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nswitch costume to (level 1 v)\nhide\nset [level v] to [1]\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finish v]\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next level v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [start v]\nshow\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [level v] to [1]\nforever\n    set drag mode [not draggable v]\n    switch costume to ([costume # v] of [platformer v])\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Clouds\n\nwhen flag clicked\nhide\nset [ghost v] effect to (25)\n\nwhen I start as a clone\ngo to x: (270) y: (135)\nshow\nglide (4) secs to x: (-300) y: (135)\ndelete this clone\n\nwhen I receive [start v]\nforever\n    go to [back v] layer\n    switch costume to (pick random (1) to (10))\n    create clone of (_myself_ v)\n    wait (pick random (2) to (5)) seconds\nend\n\n@Water\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (22) layers\nforever\n    set [ghost v] effect to (40)\n    if <<([costume # v] of [platformer v]) = [123456789]> or <<([costume # v] of [platformer v]) = [1234567890]> or <([costume # v] of [platformer v]) = [20]>>> then\n        switch costume to (water dark v)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (96) y: (-165)\nwait (0.1) seconds\nforever\n    glide (0.3) secs to x: (96) y: (-170)\n    glide (0.3) secs to x: (96) y: (-165)\nend\n\n@Water2\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (5) layers\nforever\n    set [ghost v] effect to (20)\n    if <<([costume # v] of [platformer v]) = [234567890]> or <<([costume # v] of [platformer v]) = [3234567890]> or <([costume # v] of [platformer v]) = [20]>>> then\n        switch costume to (water light v)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to x: (96) y: (-155)\nforever\n    glide (0.3) secs to x: (96) y: (-165)\n    glide (0.3) secs to x: (96) y: (-155)\nend\n\ngo to x: (96) y: (-165)\n\n@Bounce\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go [forward v] (10) layers\n    if <([costume # v] of [platformer v]) = [6]> then\n        go to x: (-90) y: (-76)\n        show\n    else\n        if <([costume # v] of [platformer v]) = [13]> then\n            go to x: (0) y: (-76)\n            show\n        else\n            if <([costume # v] of [platformer v]) = [4444444]> then\n                go to x: (-130) y: (-76)\n                show\n            else\n                if <([costume # v] of [platformer v]) = [444444]> then\n                    go to x: (-60) y: (-76)\n                    show\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    wait until <touching (player v)?>\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\nend\n\n@Bounce2\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [6]> then\n        go to x: (90) y: (-76)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    wait until <touching (player v)?>\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\nend\n\n@Speed\n\nwhen flag clicked\nset size to (170) %\nforever\n    if <<([costume # v] of [platformer v]) = [7878787878]> or <([costume # v] of [platformer v]) = [1212121221]>> then\n        go to x: (-50) y: (-10)\n        show\n    else\n        hide\n    end\nend\n\n@Speed2\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [12]> then\n        go to x: (-90) y: (-75)\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 1\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (-50) y: (-70)\n    glide (1) secs to x: (-50) y: (-180)\n    wait (1) seconds\n    glide (1) secs to x: (-50) y: (-70)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [7777]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Arrows 2\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    go to x: (150) y: (-100)\n    glide (1) secs to x: (150) y: (-150)\n    glide (1) secs to x: (150) y: (-100)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [123456]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Traps\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [14]> then\n        go to [back v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (-87)\n    glide (1) secs to x: (0) y: (-127)\n    wait (1) seconds\n    glide (1) secs to x: (0) y: (-87)\nend\n\n@Arrows 4\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (10) y: (0)\n    glide (1) secs to x: (10) y: (50)\n    glide (1) secs to x: (10) y: (0)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Speed3\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [777777]> then\n        go to x: (-32) y: (-75)\n        show\n    else\n        if <([costume # v] of [platformer v]) = [111111]> then\n            go to x: (-100) y: (-75)\n            show\n        else\n            hide\n        end\n    end\nend\n\n@Speed4\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [28718278172]> then\n        go to x: (150) y: (-75)\n        show\n    else\n        if <([costume # v] of [platformer v]) = [11111]> then\n            go to x: (80) y: (-75)\n            show\n        else\n            if <([costume # v] of [platformer v]) = [1622222]> then\n                go to x: (90) y: (-75)\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\n@Helper\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [1122133545]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (-115) y: (-98)\n    glide (3) secs to x: (127) y: (-98)\n    glide (3) secs to x: (-115) y: (-98)\nend\n\n@Speed5\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [11111111]> then\n        go to x: (-5) y: (-5)\n        show\n    else\n        hide\n    end\nend\n\n@Speed6\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [111222]> then\n        go to x: (200) y: (-5)\n        show\n    else\n        hide\n    end\nend\n\n@Traps2\n\nwhen flag clicked\ngo to x: (10) y: (28)\nforever\n    glide (1) secs to x: (10) y: (100)\n    glide (1) secs to x: (10) y: (28)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy\n\nwhen flag clicked\ngo to x: (-120) y: (-86)\npoint in direction (90)\nforever\n    point in direction (90)\n    glide (1.5) secs to x: (212) y: (-73)\n    point in direction (-90)\n    glide (1.5) secs to x: (-120) y: (-73)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [999999]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 5\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (20) y: (110)\n    glide (1) secs to x: (20) y: (60)\n    glide (1) secs to x: (20) y: (110)\nend\n\nwait (1) seconds\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [555555]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Speed7\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [11111]> then\n        go to x: (28) y: (67)\n        show\n    else\n        hide\n    end\nend\n\n@Enemy2\n\nwhen flag clicked\nset size to (75) %\ngo to x: (-95) y: (-90)\npoint in direction (90)\nwait (1) seconds\nforever\n    point in direction (90)\n    glide (1) secs to x: (-25) y: (-89)\n    point in direction (-90)\n    glide (1) secs to x: (-120) y: (-89)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [123456789]> then\n        show\n    else\n        hide\n    end\nend\n\n@thumbnail\n\nwhen I receive [intro finished v]\nshow\nclear graphic effects\nwait (0.5) seconds\nbroadcast (Start v)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    go [forward v] (1000000) layers\nend\n\nwhen flag clicked\nhide\n\n@Skip\n\nwhen flag clicked\nforever\n    wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    broadcast (Skip v)\nend\n\nwhen flag clicked\ngo to x: (195) y: (145)\ngo to [front v] layer\nhide\npoint in direction (90)\nrepeat (30)\n    turn right (0.5) degrees\nend\nforever\n    repeat (30)\n        turn left (1) degrees\n    end\n    repeat (30)\n        turn right (1) degrees\n    end\nend\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (-211) y: (156)\n    if <([costume # v] of [platformer v]) = [18]> then\n        hide\n    else\n        show\n    end\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (30)\n    else\n        clear graphic effects\n    end\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [start v]\ngo to x: (195) y: (145)\nrepeat (5)\n    change y by (1)\nend\nforever\n    repeat (10)\n        change y by (-1)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change y by (1)\n    end\n    wait (0.1) seconds\nend\n\n@Traps 3\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [platformer v]) = [2222]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (220) y: (-88)\n    glide (2) secs to x: (-150) y: (-88)\n    glide (2) secs to x: (220) y: (-88)\nend\n\n@Lava\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    go to x: (0) y: (-145)\n    repeat (25)\n        change y by (-0.25)\n    end\n    repeat (25)\n        change y by (0.25)\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <<([costume # v] of [platformer v]) = [34567]> or <<([costume # v] of [platformer v]) = [56789]> or <<([costume # v] of [platformer v]) = [100]> or <<([costume # v] of [platformer v]) = [77]> or <([costume # v] of [platformer v]) = [12334]>>>>> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 6\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (-90) y: (-124)\n    glide (1) secs to x: (-90) y: (-25)\n    glide (1) secs to x: (-90) y: (-124)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [345678]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 7\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (160) y: (-124)\n    glide (1) secs to x: (160) y: (-25)\n    glide (1) secs to x: (160) y: (-124)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [567890]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 8\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [24132]> then\n        show\n        go to x: (0) y: (-10)\n    else\n        hide\n    end\nend\n\n@Enemy3\n\nwhen flag clicked\ngo to x: (-90) y: (-10)\npoint in direction (90)\nwait (1) seconds\nforever\n    point in direction (90)\n    glide (1.5) secs to x: (220) y: (-10)\n    point in direction (-90)\n    glide (1.5) secs to x: (-90) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [5467890']> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 9\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (0) y: (-154)\n    glide (1) secs to x: (0) y: (-100)\n    glide (1) secs to x: (0) y: (-154)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [234567]> then\n        show\n    else\n        hide\n    end\nend\n\n@Speed8\n\nwhen flag clicked\nset size to (210) %\nforever\n    if <([costume # v] of [platformer v]) = [12]> then\n        go to x: (110) y: (-77)\n        show\n    else\n        hide\n    end\nend\n\n@Speed9\n\nwhen flag clicked\nset size to (170) %\nforever\n    if <([costume # v] of [platformer v]) = [67748383]> then\n        go to x: (-10) y: (-79)\n        show\n    else\n        hide\n    end\nend\n\n@Speed10\n\nwhen flag clicked\nforever\n    go to x: (85) y: (-80)\n    glide (1) secs to x: (85) y: (-127)\n    glide (1) secs to x: (85) y: (-80)\nend\n\nwhen flag clicked\nset size to (170) %\nforever\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [15]> then\n        show\n    else\n        hide\n    end\nend\n\n@Speed11\n\nwhen flag clicked\nset size to (170) %\nforever\n    if <([costume # v] of [platformer v]) = [123456789]> then\n        go to x: (115) y: (-82)\n        show\n    else\n        hide\n    end\nend\n\n@Traps 2\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [platformer v]) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\n\ngo to x: (8) y: (-142)\n\nwhen I receive [start2 v]\nforever\n    go to [back v] layer\n    glide (1) secs to x: (-100) y: (-142)\n    glide (1) secs to x: (-100) y: (-40)\nend\n\n@Traps 4\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [platformer v]) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (8) y: (-142)\n\nwhen I receive [start2 v]\nwait (1) seconds\nforever\n    go to [back v] layer\n    glide (1) secs to x: (100) y: (-142)\n    glide (1) secs to x: (100) y: (-40)\nend\n\n@Enemy4\n\nwhen flag clicked\ngo to x: (-95) y: (-10)\npoint in direction (-50)\nwait (1) seconds\nforever\n    point in direction (90)\n    glide (1.2) secs to x: (140) y: (-10)\n    point in direction (-90)\n    glide (1.2) secs to x: (-110) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [12345678]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy5\n\nwhen flag clicked\ngo to x: (-95) y: (-10)\npoint in direction (90)\nforever\n    point in direction (90)\n    glide (1.7) secs to x: (220) y: (-86)\n    point in direction (-90)\n    glide (1.7) secs to x: (-160) y: (-86)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [22]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy6\n\nwhen flag clicked\ngo to x: (-95) y: (-10)\npoint in direction (90)\nwait (1.6) seconds\nforever\n    point in direction (90)\n    glide (1.7) secs to x: (220) y: (-86)\n    point in direction (-90)\n    glide (1.7) secs to x: (-160) y: (-86)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [22]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy7\n\nwhen flag clicked\ngo to x: (-90) y: (-10)\npoint in direction (90)\nforever\n    point in direction (90)\n    glide (1.5) secs to x: (220) y: (-10)\n    point in direction (-90)\n    glide (1.5) secs to x: (-90) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [567890']> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy8\n\nwhen flag clicked\ngo to x: (-90) y: (-10)\npoint in direction (90)\nwait (0.5) seconds\nforever\n    point in direction (90)\n    glide (1.5) secs to x: (220) y: (-10)\n    point in direction (-90)\n    glide (1.5) secs to x: (-90) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [3245678]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 10\n\nwhen flag clicked\nwait (1.5) seconds\nforever\n    go to [back v] layer\n    go to x: (50) y: (-70)\n    glide (1) secs to x: (50) y: (-180)\n    wait (1) seconds\n    glide (1) secs to x: (50) y: (-70)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [77777]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Arrows 11\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (150) y: (-70)\n    glide (1) secs to x: (150) y: (-180)\n    wait (1) seconds\n    glide (1) secs to x: (150) y: (-70)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [7777777]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Traps3\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [14]> then\n        go to [back v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nwait (1.5) seconds\nforever\n    go to x: (0) y: (-87)\n    glide (1) secs to x: (0) y: (-127)\n    wait (1) seconds\n    glide (1) secs to x: (0) y: (-87)\nend\n\n@Arrows 12\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (-150) y: (-154)\n    glide (1) secs to x: (-150) y: (-100)\n    glide (1) secs to x: (-150) y: (-154)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [234567]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 13\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (150) y: (-154)\n    glide (1) secs to x: (150) y: (-100)\n    glide (1) secs to x: (150) y: (-154)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [564789]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 14\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    point in direction (90)\n    go to x: (0) y: (-180)\n    glide (0.5) secs to x: (0) y: (-110)\n    glide (0.5) secs to x: (0) y: (-180)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy9\n\nwhen flag clicked\ngo to x: (-95) y: (-10)\npoint in direction (-50)\nwait (0.4) seconds\nforever\n    point in direction (90)\n    glide (1.2) secs to x: (140) y: (-10)\n    point in direction (-90)\n    glide (1.2) secs to x: (-110) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [2345678]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy10\n\nwhen flag clicked\ngo to x: (-95) y: (-10)\npoint in direction (-50)\nforever\n    point in direction (90)\n    glide (1.2) secs to x: (140) y: (-10)\n    point in direction (-90)\n    glide (1.2) secs to x: (-110) y: (-10)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [123456]> then\n        show\n    else\n        hide\n    end\nend\n\n@Traps4\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [123456789]> then\n        go to [back v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (-87)\n    glide (1) secs to x: (0) y: (-127)\n    glide (1) secs to x: (0) y: (-87)\nend\n\n@Speed12\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to x: (85) y: (-80)\n    glide (1) secs to x: (85) y: (-127)\n    glide (1) secs to x: (85) y: (-80)\nend\n\nwhen flag clicked\nset size to (170) %\nforever\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [1234567]> then\n        show\n    else\n        hide\n    end\nend\n\n@Arrows 3\n\nwhen flag clicked\nwait (1) seconds\nforever\n    go to [back v] layer\n    go to x: (-140) y: (-100)\n    glide (1) secs to x: (-140) y: (-150)\n    glide (1) secs to x: (-140) y: (-100)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [12345678]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (-77) y: (-125)\n\n@Intro\n\nwhen flag clicked\nbroadcast (Intro finished v)\n\n@Decoration\n\nwhen I receive [levelübergang v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nswitch costume to (level 1 v)\nhide\nset [level v] to [1]\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro finish v]\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next level v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [start v]\nshow\n\n@Lava2\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    go to x: (0) y: (-145)\n    repeat (25)\n        change y by (-0.25)\n    end\n    repeat (25)\n        change y by (0.25)\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <<([costume # v] of [platformer v]) = [4]> or <<([costume # v] of [platformer v]) = [5]> or <<([costume # v] of [platformer v]) = [6]> or <<([costume # v] of [platformer v]) = [7]> or <([costume # v] of [platformer v]) = [14]>>>>> then\n        show\n    else\n        hide\n    end\nend\n\n@Traps5\n\nwhen flag clicked\nset size to (70) %\nforever\n    if <([costume # v] of [platformer v]) = [2]> then\n        go to x: (0) y: (-110)\n        show\n    else\n        if <([costume # v] of [platformer v]) = [3]> then\n            go to x: (120) y: (-110)\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nset [speedofsaw v] to [5]\nforever\n    repeat (10)\n        repeat (5)\n            go to [back v] layer\n            turn right (speedofsaw) degrees\n            change [speedofsaw v] by (1)\n        end\n    end\n    repeat (10)\n        repeat (5)\n            go to [back v] layer\n            turn right (speedofsaw) degrees\n            change [speedofsaw v] by (-1)\n        end\n    end\nend\n\n