Travel A Platformer 3
@Stage\n\n@Blank\n\n@Title\n\nwhen I receive [player v]\nhide\n\nwhen I receive [grid snapping v]\nhide\n\nwhen flag clicked\nshow\nbroadcast (Start v)\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    repeat (3)\n        next costume\n        wait (0.04) seconds\n    end\n    switch costume to (costume4 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\n    switch costume to (costume5 v)\n    wait (0.03) seconds\n    switch costume to (costume5 v)\n    repeat (3)\n        next costume\n        wait (0.04) seconds\n    end\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\nend\n\n@Play\n\nwhen this sprite clicked\nhide\nbroadcast (Player v) and wait\n\nwhen I receive [player v]\nhide\n\nwhen I receive [grid snapping v]\nhide\n\nwhen flag clicked\nshow\nbroadcast (Start v)\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume1 v)\n        wait (0.03) seconds\n        repeat (4)\n            next costume\n            wait (0.03) seconds\n        end\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\n    end\nend\n\n@Character Walk\n\nwhen I receive [player v]\nhide\n\nwhen I receive [grid snapping v]\nhide\n\nwhen flag clicked\nshow\nbroadcast (Start v)\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nset size to (77) %\ngo to x: (36) y: (3)\nstart sound [Footsteps v]\nrepeat (36)\n    next costume\n    wait (0.03) seconds\nend\nforever\n    switch costume to (costume37 v)\nend\n\n@Player\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (-184) y: (-26)\nset [x-position v] to (x position)\nset [y-position v] to (y position)\nforever\n    if <<touching (platforms v)?> or <touching (platform v)?>> then\n        go to x: (X-Position) y: (Y-Position)\n    else\n        set [x-position v] to (x position)\n        set [y-position v] to (y position)\n    end\nend\n\ndefine Level Physics\nchange [yv v] by (-1)\nif <key (left arrow v) pressed?> then\n    change [xv v] by (-0.95)\nend\nif <key (right arrow v) pressed?> then\n    change [xv v] by (0.95)\nend\nset [xv v] to ((xv) * (0.9))\nchange x by (xv)\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by (-4)\n    change x by ((xv) * (-1))\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [15]\n        if <(xv) > [0]> then\n            set [xv v] to [-10]\n        else\n            set [xv v] to [10]\n        end\n    end\nend\nchange y by (yv)\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <touching (platforms v)?>> then\n    switch costume to (jump v)\n    set [yv v] to [13]\nend\nchange y by (1)\nif <<touching (platforms v)?> or <touching (platform v)?>> then\n    change x by ((0) - (x-vel))\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        if <(costume [name v]) = [Idle]> then\n            switch costume to (walk v)\n        else\n            wait (0.03) seconds\n            switch costume to (walk7 v)\n            wait (0.01) seconds\n            switch costume to (walk2 v)\n            wait (0.01) seconds\n            switch costume to (walk8 v)\n            wait (0.01) seconds\n            switch costume to (walk3 v)\n            wait (0.01) seconds\n            switch costume to (walk9 v)\n            wait (0.01) seconds\n            switch costume to (walk4 v)\n            wait (0.01) seconds\n            switch costume to (walk10 v)\n            wait (0.01) seconds\n            switch costume to (walk5 v)\n            wait (0.01) seconds\n            switch costume to (walk11 v)\n            wait (0.01) seconds\n            switch costume to (walk6 v)\n            wait (0.03) seconds\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        if <(costume [name v]) = [Idle]> then\n            switch costume to (walk12 v)\n        else\n            wait (0.01) seconds\n            switch costume to (walk13 v)\n            wait (0.01) seconds\n            switch costume to (walk14 v)\n            wait (0.01) seconds\n            switch costume to (walk15 v)\n            wait (0.01) seconds\n            switch costume to (walk16 v)\n            wait (0.01) seconds\n            switch costume to (walk17 v)\n            wait (0.01) seconds\n            switch costume to (walk18 v)\n            wait (0.01) seconds\n            switch costume to (walk19 v)\n            wait (0.01) seconds\n            switch costume to (walk20 v)\n            wait (0.01) seconds\n            switch costume to (walk21 v)\n            wait (0.01) seconds\n            switch costume to (walk22 v)\n            wait (0.03) seconds\n        end\n        wait (0.01) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (idle v)\n    end\nend\n\nwhen I receive [player v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nset [xv v] to [0]\nset [xv v] to [0]\nset [levels v] to [1]\nforever\n    Level Physics\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<<touching (spikes v)?> or <touching (arrow v)?>> or <<<touching (lava v)?> or <touching (saw v)?>> or <<touching (saw: 2 v)?> or <<touching (arrow: 2 v)?> or <<touching (lava: 2 v)?> or <<touching (spikes: 2 v)?> or <<touching (spikes:3 v)?> or <<touching (laser lava v)?> or <<touching (walk 2 v)?> or <<touching (saw: 3 v)?> or <<touching (lava: 3 v)?> or <<touching (pipes v)?> or <<touching (saw: 4 v)?> or <<touching (saw: 5 v)?> or <<touching (spikes: 4 v)?> or <<touching (arrow: 3 v)?> or <<touching (laser lava: 2 v)?> or <<touching (saw: 7 v)?> or <touching (spikes: 3 v)?>>>>>>>>>>>>>>>>>>> then\n        go to x: (-184) y: (-26)\n    end\n    if <touching (flag v)?> then\n        broadcast (2 v)\n    end\n    if <touching (flag: 2 v)?> then\n        broadcast (3 v)\n    end\n    if <touching (flag: 3 v)?> then\n        broadcast (4 v)\n    end\n    if <touching (flag: 4 v)?> then\n        broadcast (5 v)\n    end\n    if <touching (flag: 5 v)?> then\n        broadcast (6 v)\n    end\n    if <touching (flag: 6 v)?> then\n        broadcast (7 v)\n    end\n    if <touching (flag: 7 v)?> then\n        broadcast (8 v)\n    end\n    if <touching (flag: 8 v)?> then\n        broadcast (9 v)\n    end\n    if <touching (flag: 9 v)?> then\n        broadcast (10 v)\n    end\n    if <touching (flag: 10 v)?> then\n        broadcast (11 v)\n    end\n    if <touching (flag: 11 v)?> then\n        broadcast (12 v)\n    end\nend\n\nwhen I receive [player v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [2 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [3 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [4 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [5 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [6 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [7 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [8 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [9 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [10 v]\ngo to x: (-184) y: (-32)\n\nwhen flag clicked\nforever\n    if <<touching (lava: 4 v)?> or <<touching (spikes: 5 v)?> or <touching (saw: 6 v)?>>> then\n        go to x: (-184) y: (-32)\n    end\nend\n\nwhen I receive [11 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [12 v]\ngo to x: (-184) y: (-32)\n\nwhen I receive [normal screen  v]\nhide\n\nwhen I receive [player v]\nerase all\n\n@Platforms\n\nwhen I receive [player v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 2 v)\n\nwhen I receive [3 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 3 v)\n\nwhen I receive [4 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 4 v)\n\nwhen I receive [5 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 5 v)\n\nwhen I receive [6 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 6 v)\n\nwhen I receive [7 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 7 v)\n\nwhen I receive [8 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 8 v)\n\nwhen I receive [9 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 9 v)\n\nwhen I receive [10 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 10 v)\n\nwhen I receive [11 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 11 v)\n\nwhen I receive [12 v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (28)\nswitch backdrop to (backdrop1 v)\nswitch costume to (platform: 12 v)\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [player v]\ngo to [back v] layer\nshow\ngo to x: (36) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [2 v]\nshow\ngo to [back v] layer\nset y to (15)\nswitch costume to (costume1 v)\nswitch backdrop to (1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume10 v)\n    wait (0.6) 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.5) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Arrow\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [2 v]\ngo to [front v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (blank v)\nset size to (80) %\nforever\n    clear graphic effects\n    switch costume to (blank v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    go to x: (248) y: (9)\n    glide (1) secs to x: (-66) y: (9)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    switch costume to (blank v)\n    wait (1) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\ngo to [front v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (4)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume5 v)\n    wait (0.1) 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 I receive [4 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 2\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [2 v]\ngo to [back v] layer\nshow\ngo to x: (36) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 3\n\nwhen flag clicked\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [3 v]\ngo to [back v] layer\nshow\ngo to x: (71) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 2\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [4 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (-129) y: (-34)\nset size to (80) %\nforever\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [4 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (-146) y: (-34)\nset size to (80) %\nforever\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [normal screen  v]\nhide\n\n@Arrow: 2\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [4 v]\ngo to [front v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (blank v)\nset size to (80) %\nforever\n    clear graphic effects\n    switch costume to (blank v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    go to x: (248) y: (39)\n    glide (1) secs to x: (-281) y: (39)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    switch costume to (blank v)\n    wait (3.8) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Lava: 2\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [5 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (3)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume4 v)\n    wait (0.2) 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.2) seconds\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 4\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\ngo to [back v] layer\nshow\ngo to x: (36) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 3\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [4 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (19) y: (-34)\nset size to (80) %\nforever\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [normal screen  v]\nhide\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [5 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\ngo to x: (-82) y: (-59)\nswitch costume to (costume1 v)\nset size to (87) %\nforever\n    switch costume to (costume1 v)\n    go to x: (-82) y: (-59)\n    switch costume to (costume1 v)\n    wait (1.8) seconds\n    switch costume to (costume1 v)\n    glide (1) secs to x: (75) y: (-59)\n    wait (1.8) seconds\n    glide (1) secs to x: (-82) y: (-59)\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes: 2\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [5 v]\nshow\ngo to [back v] layer\ngo to x: (177) y: (2)\nswitch costume to (costume1 v)\nswitch backdrop to (1 v)\nset size to (90) %\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume10 v)\n    wait (3.5) 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.5) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 5\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\ngo to [back v] layer\nshow\ngo to x: (36) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes:3\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [6 v]\nshow\ngo to x: (-68) y: (1)\ngo to [back v] layer\nset size to (90) %\nswitch costume to (costume1 v)\nswitch backdrop to (1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume10 v)\n    wait (1.2) 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.7) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Laser Lava\n\nwhen I receive [2 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [6 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nforever\n    switch costume to (blank v)\n    wait (0.03) seconds\n    go to x: (9) y: (34)\n    switch costume to (lava v)\n    glide (1) secs to x: (9) y: (-254)\n    wait (1.2) seconds\n    glide (1) secs to x: (9) y: (34)\n    switch costume to (blank v)\n    wait (2.4) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Walk 2\n\nwhen flag clicked\nhide\n\nwhen I receive [6 v]\ngo to [back v] layer\nshow\nforever\n    wait (0.3) seconds\n    switch costume to (walk1 v)\n    set size to (55) %\n    go to x: (111) y: (-38)\n    repeat (4)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2.5) seconds\n    switch costume to (walk5 v)\n    repeat (5)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2.5) seconds\nend\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 6\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [6 v]\ngo to [back v] layer\nshow\ngo to x: (73) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Lava: 3\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [7 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (6)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume6 v)\n    wait (0.2) 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.2) seconds\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 7\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [7 v]\ngo to [back v] layer\nshow\ngo to x: (71) y: (148)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Pipes\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nforever\n    switch costume to (blank v)\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    go to x: (-81) y: (422)\n    glide (1) secs to x: (-81) y: (139)\n    wait (1.5) seconds\n    glide (1) secs to x: (-81) y: (422)\n    switch costume to (blank v)\n    wait (2.6) seconds\nend\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 4\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [8 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (96) y: (-53)\nset size to (70) %\nforever\n    switch costume to (costume1 v)\n    repeat (10)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (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 (2) seconds\nend\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 5\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [9 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (55) y: (-14)\nset size to (55) %\nforever\n    switch costume to (costume1 v)\n    repeat (16)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2) 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 (2) seconds\nend\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 8\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [8 v]\ngo to [back v] layer\nshow\ngo to x: (73) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes: 4\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\ngo to x: (36) y: (36)\nforever\n    switch costume to (costume1 v)\n    repeat (7)\n        wait (0.03) seconds\n        next costume\n    end\n    switch costume to (costume8 v)\n    wait (6.2) 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.5) seconds\nend\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Arrow: 3\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [7 v]\ngo to [front v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (blank v)\nset size to (80) %\nforever\n    clear graphic effects\n    switch costume to (blank v)\n    wait (0.1) seconds\n    switch costume to (costume1 v)\n    go to x: (248) y: (39)\n    glide (1) secs to x: (-281) y: (39)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    switch costume to (blank v)\n    wait (3.8) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 9\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [9 v]\ngo to [back v] layer\nshow\ngo to x: (73) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Lava: 4\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [10 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (6)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume7 v)\n    wait (0.2) 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.2) seconds\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes: 5\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [10 v]\nshow\ngo to x: (36) y: (13)\ngo to [back v] layer\nset size to (100) %\nswitch costume to (costume1 v)\nswitch backdrop to (1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (10)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume11 v)\n    wait (7.3) 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.7) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 6\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [10 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (56) y: (196)\nset size to (55) %\nforever\n    switch costume to (costume1 v)\n    repeat (16)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (4.7) 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 (4.7) seconds\nend\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Laser Lava: 2\n\nwhen I receive [2 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [11 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nforever\n    switch costume to (blank v)\n    wait (0.03) seconds\n    go to x: (-95) y: (34)\n    switch costume to (lava v)\n    glide (1) secs to x: (-95) y: (-254)\n    wait (1.4) seconds\n    glide (1) secs to x: (-95) y: (34)\n    switch costume to (blank v)\n    wait (3) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [12 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Saw: 7\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [11 v]\ngo to [back v] layer\nshow\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\ngo to x: (-88) y: (-34)\nset size to (70) %\nforever\n    switch costume to (costume1 v)\n    repeat (8)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [12 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Spikes: 3\n\nwhen flag clicked\nhide\n\nwhen I receive [player v]\nhide\n\nwhen I receive [11 v]\nshow\ngo to [back v] layer\nset size to (140) %\ngo to x: (304) y: (-8)\nswitch costume to (costume1 v)\nswitch backdrop to (1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (10)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume11 v)\n    wait (2.5) 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.7) seconds\nend\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [12 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 10\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [10 v]\ngo to [back v] layer\nshow\ngo to x: (20) y: (66)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [11 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Flag: 11\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [11 v]\ngo to [back v] layer\nshow\ngo to x: (73) y: (16)\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (0.03) seconds\n    switch costume to (costume4 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 (costume3 v)\n    wait (0.03) seconds\n    switch costume to (costume2 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\n    switch costume to (costume1 v)\n    wait (0.03) seconds\nend\n\nwhen I receive [7 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [12 v]\nhide\n\nwhen I receive [normal screen  v]\nhide\n\n@Art\n\nwhen this sprite clicked\nhide\nbroadcast (Grid Snapping v)\n\nwhen I receive [player v]\nhide\n\nwhen flag clicked\nshow\nbroadcast (Start v)\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\ngo to x: (40) y: (-28)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume1 v)\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n        repeat (3)\n            next costume\n            wait (0.03) seconds\n        end\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\n    end\nend\n\n@Grid Snapping\n\nwhen I receive [grid snapping v]\ngo to [back v] layer\nshow\nswitch backdrop to (2 v)\nswitch costume to (block v)\nset size to (70) %\nerase all\nwait until <not <mouse down?>>\nforever\n    go to (mouse-pointer v)\n    go to x: ((round ((x position) / (16))) * (16)) y: ((round ((y position) / (16))) * (16))\n    if <mouse down?> then\n        stamp\n    end\n    if <key (space v) pressed?> then\n        next costume\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen flag clicked\nhide\nerase all\n\nwhen I receive [player v]\nhide\n\n@Sound\n\nwhen flag clicked\nshow\nbroadcast (Start v)\n\nwhen this sprite clicked\ngo to [front v] layer\nshow\nnext costume\nif <(costume [number v]) = ((2) mod (7))> then\n    set volume to (round (0.4)) %\nelse\n    set volume to ((round (0.4)) + (100)) %\nend\n\nwhen I receive [player v]\nhide\n\nwhen I receive [grid snapping v]\nhide\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\nswitch backdrop to (1 v)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (59) y: (28)\nset volume to ((round (0.4)) + (100)) %\nforever\n    play sound [Time Lapse v] until done\nend\n\n@Clear\n\nwhen this sprite clicked\nerase all\n\nwhen I receive [player v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [grid snapping v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\nset size to (70) %\ngo to x: (-142) y: (-110)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume1 v)\n        wait (0.03) seconds\n        switch costume to (costume2 v)\n        repeat (3)\n            next costume\n            wait (0.03) seconds\n        end\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\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@Thumbnail\n\nwhen [timer v] > (.1)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nhide\n\n
Spam Flag A Platformer, Full Screen Recommended\nOr You Can Play It The First Time Then Play It Again.\n\nArrow Keys To Move \n\nAvoid Obstacles, For Design Art- You Use Space To Change Your Blocks And You Can Remix It As Your Art.