New World A Platformer

Instructions: Spam flag a platformer, fullscreen recommended\n\narrow keys to move, up arrow to jump\n\nTry to avoid obstacles\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Blank\n\n@New world\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nforever\n    switch costume to (costume1 v)\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\n    wait (0.03) seconds\n    next costume\nend\n\nwhen I receive [hide v]\nhide\n\n@Play\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch backdrop to (backdrop1 v)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nhide\nbroadcast (HIDE v)\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\n\n@Ground\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [hide v]\nhide\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nforever\n    switch costume to (costume1 v)\nend\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [hide v]\ngo to x: (-195) y: (19)\ngo to [front v] layer\nshow\nforever\n    change y by (y-vel)\n    change [y-vel v] by (-1)\n    change y by (-1)\n    if <touching (levels v)?> then\n        set [y-vel v] to ((y-vel) - ((y-vel) * (2)))\n        set [y-vel v] to [0]\n        if <key (up arrow v) pressed?> then\n            set [y-vel v] to [12]\n        end\n    end\n    change y by (1)\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [x-vel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [x-vel v] by (1)\n    end\n    set [x-vel v] to ((x-vel) * (0.9))\n    change x by (x-vel)\n    if <touching (levels v)?> then\n        change x by ((0) - (x-vel))\n    end\nend\n\nwhen flag clicked\nset [x v] to (x position)\nset [y v] to (y position)\nforever\n    if <touching (levels v)?> then\n        go to x: (x) y: (y)\n    else\n        set [x v] to (x position)\n        set [y v] to (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <<touching (laser animation v)?> or <<touching (spike v)?> or <<touching (lava v)?> or <<touching (water v)?> or <<touching (up v)?> or <<touching (spikess v)?> or <<touching (spikes2 v)?> or <<touching (spikes3 v)?> or <<touching (spikes4 v)?> or <<touching (laser2 v)?> or <touching (laser 3 v)?>>>>>>>>>>>> then\n        go to x: (-189) y: (15)\n    end\n    if <touching (flag v)?> then\n        broadcast (NEXT LEVEL v)\n    end\n    if <touching (flag2 v)?> then\n        broadcast (Level 3 v)\n    end\n    if <touching (flag4 v)?> then\n        broadcast (level 4 v)\n    end\n    if <touching (flag3 v)?> then\n        broadcast (level5 v)\n    end\n    if <touching (flag5 v)?> then\n        broadcast (level6 v)\n    end\n    if <touching (flag6 v)?> then\n        broadcast (level7 v)\n    end\n    if <touching (flag7 v)?> then\n        broadcast (level8 v)\n    end\n    if <touching (flag8 v)?> then\n        broadcast (level9 v)\n    end\n    if <touching (flag9 v)?> then\n        broadcast (level12 v)\n    end\n    if <touching (flag10 v)?> then\n        broadcast (level 10 v)\n    end\nend\n\nwhen I receive [next level v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level 3 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen flag clicked\nforever\n    play sound [Tobu & Itro - Sunburst v] until done\nend\n\nwhen I receive [level 4 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level5 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level6 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level7 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level8 v]\nswitch costume to (costume2 v)\ngo to x: (-192) y: (26)\n\nwhen I receive [level9 v]\nswitch costume to (costume2 v)\ngo to x: (-217) y: (45)\n\nwhen I receive [level 10 v]\nswitch costume to (costume2 v)\ngo to x: (-210) y: (-3)\n\nwhen I receive [level12 v]\nswitch costume to (costume2 v)\ngo to x: (-210) y: (-3)\n\nif <touching (flag10 v)?> then\n    broadcast (level 10 v)\nend\n\n@Levels\n\nwhen I receive [hide v]\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\ngo to x: (36) y: (28)\nshow\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume2 v)\n\nwhen I receive [level 3 v]\nshow\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume3 v)\n\nwhen I receive [level 4 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume4 v)\n\nwhen I receive [level5 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume5 v)\n\nwhen I receive [level6 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume6 v)\n\nwhen I receive [level7 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume7 v)\n\nwhen I receive [level8 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume8 v)\n\nwhen I receive [level9 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume9 v)\n\nwhen I receive [open v]\nshow\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume10 v)\n\nwhen I receive [level 10 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume11 v)\n\nwhen I receive [level12 v]\nshow\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume12 v)\n\nwhen I receive [open 2 v]\nshow\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume13 v)\n\n@Laser Animation\n\nwhen I receive [hide v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    repeat (25)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (2) seconds\n    switch costume to (costume26 v)\n    wait (0.03) seconds\n    switch costume to (costume25 v)\n    wait (0.03) seconds\n    switch costume to (costume24 v)\n    wait (0.03) seconds\n    switch costume to (costume23 v)\n    wait (0.03) seconds\n    switch costume to (costume22 v)\n    wait (0.03) seconds\n    switch costume to (costume21 v)\n    wait (0.03) seconds\n    switch costume to (costume20 v)\n    wait (0.03) seconds\n    switch costume to (costume19 v)\n    wait (0.03) seconds\n    switch costume to (costume18 v)\n    wait (0.03) seconds\n    switch costume to (costume17 v)\n    wait (0.03) seconds\n    switch costume to (costume16 v)\n    wait (0.03) seconds\n    switch costume to (costume15 v)\n    wait (0.03) seconds\n    switch costume to (costume14 v)\n    wait (0.03) seconds\n    switch costume to (costume13 v)\n    wait (0.03) seconds\n    switch costume to (costume12 v)\n    wait (0.03) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nhide\n\n@Flag\n\nwhen flag clicked\nhide\n\nwhen I receive [hide v]\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nshow\nforever\n    switch costume to (costume1 v)\n    wait (0.3) seconds\n    repeat (12)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (0.03) seconds\n    switch costume to (costume13 v)\n    wait (0.03) seconds\n    switch costume to (costume12 v)\n    wait (0.03) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.3) seconds\nend\n\nwhen I receive [level 3 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    wait (0.3) seconds\n    wait (0.4) seconds\n    repeat (18)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.3) seconds\n    switch costume to (costume19 v)\n    wait (0.03) seconds\n    switch costume to (costume18 v)\n    wait (0.03) seconds\n    switch costume to (costume17 v)\n    wait (0.03) seconds\n    switch costume to (costume16 v)\n    wait (0.03) seconds\n    switch costume to (costume15 v)\n    wait (0.03) seconds\n    switch costume to (costume14 v)\n    wait (0.03) seconds\n    switch costume to (costume13 v)\n    wait (0.03) seconds\n    switch costume to (costume12 v)\n    wait (0.03) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [level 4 v]\nhide\n\n@Flag2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\ngo to x: (36) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@spike\n\nwhen I receive [level 4 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (3) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level5 v]\nhide\n\n@Flag3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 v]\ngo to x: (46) y: (182)\nshow\n\nwhen I receive [level5 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\ngo to x: (36) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag5\n\nwhen flag clicked\nhide\n\nwhen I receive [level5 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@water\n\nwhen I receive [level5 v]\nshow\ngo to [back v] layer\nforever\n    switch costume to (costume1 v)\n    wait (0.1) seconds\n    next costume\n    wait (0.1) seconds\n    next costume\n    wait (0.1) seconds\n    next costume\n    wait (0.1) seconds\n    next costume\n    wait (0.1) seconds\n    switch costume to (costume5 v)\n    wait (0.1) seconds\n    switch costume to (costume4 v)\n    wait (0.1) seconds\n    switch costume to (costume3 v)\n    wait (0.1) seconds\n    switch costume to (costume2 v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level6 v]\nhide\n\n@up\n\nwhen I receive [level6 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    go to x: (38) y: (-90)\n    switch costume to (costume1 v)\n    wait (0.03) seconds\n    glide (1) secs to x: (38) y: (-355)\n    glide (1) secs to x: (38) y: (-10)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.9) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level7 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@spikess\n\nwhen I receive [level8 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level9 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@spikes2\n\nwhen I receive [level9 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nhide\n\nwhen I receive [level12 v]\nhide\n\n@Key\n\nwhen I receive [level9 v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (open v) and wait\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level12 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag6\n\nwhen flag clicked\nhide\n\nwhen I receive [level6 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag7\n\nwhen flag clicked\nhide\n\nwhen I receive [level7 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag8\n\nwhen flag clicked\nhide\n\nwhen I receive [level8 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Flag9\n\nwhen flag clicked\nhide\n\nwhen I receive [level9 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@spikes3\n\nwhen I receive [level7 v]\nshow\ngo to [front v] layer\nforever\n    wait (2) seconds\n    switch costume to (costume1 v)\n    repeat (10)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.2) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level8 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (.1)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nhide\n\n@Spikes4\n\nwhen I receive [level12 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    repeat (11)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (0.1) seconds\n    switch costume to (costume12 v)\n    wait (0.03) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Key 2\n\nwhen I receive [level12 v]\nshow\ngo to [front v] layer\ngo to x: (36) y: (28)\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (open 2 v) and wait\n    end\nend\n\nwhen I receive [level 10 v]\nhide\n\nwhen flag clicked\nhide\n\n@Flag10\n\nwhen flag clicked\nhide\n\nwhen I receive [level12 v]\ngo to x: (64) y: (28)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Laser2\n\nwhen I receive [level12 v]\nshow\ngo to [front v] layer\nforever\n    wait (1) seconds\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (1) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (2) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nhide\n\n@Laser 3\n\nwhen flag clicked\nhide\n\nwhen I receive [level12 v]\nshow\ngo to [front v] layer\nforever\n    wait (1) seconds\n    switch costume to (costume1 v)\n    repeat (10)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (1) seconds\n    switch costume to (costume11 v)\n    wait (0.03) seconds\n    switch costume to (costume10 v)\n    wait (0.03) seconds\n    switch costume to (costume9 v)\n    wait (0.03) seconds\n    switch costume to (costume8 v)\n    wait (0.03) seconds\n    switch costume to (costume7 v)\n    wait (0.03) seconds\n    switch costume to (costume6 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume4 v)\n    wait (0.03) seconds\n    switch costume to (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    wait (2) seconds\nend\n\nwhen I receive [level 10 v]\nhide\n\n@Skip\n\nwhen flag clicked\nhide\n\nwhen I receive [hide v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (NEXT LEVEL v)\n\n@Skip2\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (Level 3 v)\n\n@Skip3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\ngo to x: (274) y: (-31)\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level 4 v)\n\n@Skip4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level5 v)\n\ngo to x: (274) y: (-31)\n\n@Skip5\n\nwhen flag clicked\nhide\n\nwhen I receive [level5 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level6 v)\n\ngo to x: (274) y: (-31)\n\n@Skip6\n\nwhen flag clicked\nhide\n\nwhen I receive [level6 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level7 v)\n\ngo to x: (274) y: (-31)\n\n@Skip7\n\nwhen flag clicked\nhide\n\nwhen I receive [level7 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level8 v)\n\ngo to x: (274) y: (-31)\n\n@Skip8\n\nwhen flag clicked\nhide\n\nwhen I receive [level8 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level9 v)\n\ngo to x: (274) y: (-31)\n\n@Skip9\n\nwhen flag clicked\nhide\n\nwhen I receive [level9 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level12 v)\n\ngo to x: (274) y: (-31)\n\n@Skip10\n\nwhen flag clicked\nhide\n\nwhen I receive [level12 v]\nshow\ngo to [front v] layer\ngo to x: (274) y: (-31)\nforever\n    switch costume to (costume1 v)\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n        wait (0.03) seconds\n        next costume\n    end\nend\n\nwhen this sprite clicked\nshow\ngo to [front v] layer\nbroadcast (level 10 v)\n\ngo to x: (274) y: (-31)\n\n