Travel A Platformer 2
@Stage\n\n@Blank\n\n@Walk\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset size to (77) %\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\nstart sound [Footsteps v]\nrepeat (53)\n    next costume\n    wait (0.03) seconds\nend\nforever\n    switch costume to (costume54 v)\nend\n\nwhen I receive [playe v]\nhide\n\nwhen flag clicked\nforever\n    play sound [Adventure v] until done\nend\n\nwhen I receive [grid snapping v]\nhide\n\n@Words\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\nforever\n    repeat (5)\n        next costume\n        wait (0.04) seconds\n    end\n    switch costume to (costume5 v)\n    wait (0.04) seconds\n    switch costume to (costume4 v)\n    wait (0.04) seconds\n    switch costume to (costume3 v)\n    wait (0.04) seconds\n    switch costume to (costume2 v)\n    wait (0.04) seconds\n    switch costume to (costume1 v)\n    wait (1) seconds\nend\n\nwhen I receive [playe v]\nhide\n\nwhen I receive [grid snapping v]\nhide\n\n@Play\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\ngo to x: (36) y: (28)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        repeat (8)\n            wait (0.03) seconds\n            next costume\n        end\n    end\nend\n\nwhen this sprite clicked\nhide\nbroadcast (Playe v)\n\nwhen I receive [grid snapping v]\nhide\n\n@Player\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\ngo to x: (-184) y: (-26)\nset [x v] to (x position)\nset [y v] to (y position)\nforever\n    if <touching (platforms 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\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)?> then\n    change y by (1)\nend\nif <touching (platforms v)?> then\n    change y by (1)\nend\nif <touching (platforms v)?> then\n    change y by (1)\nend\nif <touching (platforms v)?> then\n    change y by (1)\nend\nif <touching (platforms 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)?> 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)?> 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 [playe 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 (lava  v)?> or <<touching (lava 2 v)?> or <<touching (spikes 2 v)?> or <<touching (walk 2 v)?> or <<touching (spikes 3 v)?> or <<touching (lava down  v)?> or <<touching (lava 3 v)?> or <<<touching (spikes 4 v)?> or <touching (lava up and down v)?>> or <<touching (pipes v)?> or <<touching (spikes 5 v)?> or <<touching (lava rise v)?> or <<touching (lava down 2 v)?> or <<touching (spikes 10 v)?> or <<touching (more lava down v)?> or <<touching (lava 4 v)?> or <<touching (spikes 12 v)?> or <touching (lava down 12 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 (flag2 v)?> then\n        broadcast (3 v)\n    end\n    if <touching (flag3 v)?> then\n        broadcast (4 v)\n    end\n    if <touching (flag4 v)?> then\n        broadcast (5 v)\n    end\n    if <touching (flag5 v)?> then\n        broadcast (6 v)\n    end\n    if <touching (flag6 v)?> then\n        broadcast (7 v)\n    end\n    if <touching (flag7 v)?> then\n        broadcast (8 v)\n    end\n    if <touching (flag8 v)?> then\n        broadcast (9 v)\n    end\n    if <touching (flag9 v)?> then\n        broadcast (10 v)\n    end\n    if <touching (flag10 v)?> then\n        broadcast (12 v)\n    end\n    if <touching (flag11 v)?> then\n        broadcast (11 v)\n    end\nend\n\nwhen I receive [playe 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 [this sprite only 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: (-26)\n\nwhen I receive [11 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [12 v]\ngo to x: (-184) y: (-26)\n\nwhen I receive [grid snapping v]\nhide\n\n@Platforms\n\nwhen I receive [playe v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume2 v)\n\nwhen I receive [3 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume3 v)\n\nwhen I receive [4 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume4 v)\n\nwhen I receive [5 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume5 v)\n\nwhen I receive [6 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume6 v)\n\nwhen I receive [7 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume7 v)\n\nwhen I receive [8 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume8 v)\n\nwhen I receive [9 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume9 v)\n\nwhen I receive [10 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume11 v)\n\nwhen I receive [11 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume10 v)\n\nwhen I receive [12 v]\nshow\ngo to [front v] layer\ngo to x: (-184) y: (-26)\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume12 v)\n\n@Flag\n\nwhen I receive [playe v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [6 v]\nhide\n\n@Spikes\n\nwhen I receive [2 v]\ngo to [front v] layer\nshow\ngo to x: (15) y: (28)\nforever\n    switch costume to (costume1 v)\n    repeat (10)\n        wait (0.03) seconds\n        next costume\n    end\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.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\n@Flag2\n\nwhen I receive [2 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [playe v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [6 v]\nhide\n\n@Lava \n\nwhen I receive [3 v]\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        wait (0.03) seconds\n        next costume\n    end\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 [4 v]\nhide\n\n@Flag3\n\nwhen I receive [3 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [4 v]\nhide\n\nwhen I receive [6 v]\nhide\n\n@Lava 2\n\nwhen I receive [4 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    repeat (9)\n        wait (0.03) seconds\n        next costume\n    end\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 [5 v]\nhide\n\n@Spikes 2\n\nwhen flag clicked\nhide\n\nwhen I receive [4 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    repeat (11)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (3.5) 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 (3.5) seconds\nend\n\nwhen I receive [5 v]\nhide\n\n@Walk 2\n\nwhen flag clicked\nhide\n\nwhen I receive [4 v]\ngo to [front v] layer\nshow\nforever\n    wait (0.3) seconds\n    switch costume to (walk1 v)\n    set size to (55) %\n    go to x: (-7) y: (-33)\n    repeat (5)\n        next costume\n        wait (0.07) seconds\n    end\n    wait (2) seconds\n    switch costume to (walk6 v)\n    wait (0.07) seconds\n    switch costume to (walk7 v)\n    wait (0.07) seconds\n    switch costume to (walk8 v)\n    wait (0.07) seconds\n    switch costume to (walk9 v)\n    wait (0.07) seconds\n    switch costume to (walk10 v)\n    wait (0.07) seconds\n    switch costume to (walk11 v)\n    wait (0.07) seconds\n    switch costume to (walk12 v)\n    wait (2) seconds\nend\n\nwhen I receive [5 v]\nhide\n\n@Spikes 3\n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\ngo to [front v] layer\nshow\ngo to x: (47) y: (28)\nforever\n    switch costume to (costume1 v)\n    repeat (14)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (2.1) 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.1) seconds\nend\n\nwhen I receive [6 v]\nhide\n\n@Flag4\n\nwhen I receive [4 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe v]\nhide\n\nwhen I receive [2 v]\nhide\n\nwhen I receive [3 v]\nhide\n\nwhen I receive [5 v]\nhide\n\nwhen I receive [6 v]\nhide\n\n@Flag5\n\nwhen I receive [5 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [6 v]\nhide\n\n@Lava down \n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    repeat (18)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2.2) 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 (costume16 v)\n    wait (0.03) seconds\n    switch costume to (costume17 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.2) seconds\nend\n\nwhen I receive [6 v]\nhide\n\n@Lava 3\n\nwhen I receive [6 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    repeat (7)\n        wait (0.04) seconds\n        next costume\n    end\n    wait (0.04) seconds\n    switch costume to (costume8 v)\n    wait (0.04) seconds\n    switch costume to (costume7 v)\n    wait (0.04) seconds\n    switch costume to (costume6 v)\n    wait (0.04) seconds\n    switch costume to (costume5 v)\n    wait (0.04) seconds\n    switch costume to (costume4 v)\n    wait (0.04) seconds\n    switch costume to (costume3 v)\n    wait (0.04) seconds\n    switch costume to (costume2 v)\n    wait (0.04) seconds\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [7 v]\nhide\n\n@Spikes 4\n\nwhen flag clicked\nhide\n\nwhen I receive [6 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    repeat (10)\n        wait (0.03) seconds\n        next costume\n    end\n    wait (2.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.1) seconds\nend\n\nwhen I receive [7 v]\nhide\n\n@PIpes\n\nwhen flag clicked\nhide\n\nwhen I receive [7 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume2 v)\n    wait (0.3) seconds\n    glide (1) secs to x: (35) y: (121)\n    switch costume to (costume1 v)\n    wait (0.03) seconds\n    glide (1) secs to x: (35) y: (-159)\n    wait (1.7) seconds\n    glide (1) secs to x: (35) y: (121)\n    wait (0.03) seconds\n    switch costume to (costume2 v)\n    wait (3.1) seconds\nend\n\nwhen I receive [8 v]\nhide\n\n@Flag6\n\nwhen I receive [6 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [7 v]\nhide\n\n@Lava Up And Down\n\nwhen I receive [7 v]\ngo to [front v] layer\nshow\nswitch costume to (costume2 v)\nforever\n    Lava Up And Down\nend\n\ndefine Lava Up And Down\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (0.3) seconds\n    repeat (32)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2) seconds\n    switch costume to (costume33 v)\n    wait (0.03) seconds\n    switch costume to (costume32 v)\n    wait (0.03) seconds\n    switch costume to (costume31 v)\n    wait (0.03) seconds\n    switch costume to (costume30 v)\n    wait (0.03) seconds\n    switch costume to (costume29 v)\n    wait (0.03) seconds\n    switch costume to (costume28 v)\n    wait (0.03) seconds\n    switch costume to (costume27 v)\n    wait (0.03) 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 (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 (2.8) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [8 v]\nhide\n\n@Flag7\n\nwhen I receive [7 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (104) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [8 v]\nhide\n\nwhen I receive [6 v]\nhide\n\n@Spikes 5\n\ndefine Spikes up and down\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (1.5) seconds\n    repeat (16)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (1.8) 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 [8 v]\ngo to [front v] layer\nshow\nforever\n    Spikes up and down\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [9 v]\nhide\n\n@Lava rise\n\ndefine Lava rise\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (3.3) seconds\n    repeat (12)\n        next costume\n        wait (0.03) seconds\n    end\n    wait (2.2) 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 [8 v]\ngo to [front v] layer\nshow\nforever\n    Lava rise\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [9 v]\nhide\n\n@Flag8\n\nwhen I receive [8 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (-16) y: (117)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [7 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [9 v]\nhide\n\n@Lava down 2\n\nwhen I receive [9 v]\ngo to [front v] layer\nshow\nforever\n    Lava down\nend\n\nwhen flag clicked\nhide\n\ndefine Lava down\ngo to [front v] layer\nshow\ngo to x: (39) y: (28)\nforever\n    switch costume to (costume1 v)\n    wait (1.3) seconds\n    repeat (26)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume27 v)\n    wait (1.3) 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.03) seconds\nend\n\nwhen I receive [10 v]\nhide\n\n@Flag9\n\nwhen I receive [9 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (128) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [7 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [8 v]\nhide\n\n@Spikes 10\n\nwhen I receive [10 v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (2.3) seconds\n    repeat (9)\n        wait (0.03) seconds\n        next costume\n    end\n    switch costume to (costume10 v)\n    wait (2.3) 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 [12 v]\nhide\n\n@More lava down\n\nwhen flag clicked\nhide\n\nwhen I receive [10 v]\ngo to [front v] layer\nshow\nforever\n    More lava down\nend\n\ndefine More lava down\ngo to [front v] layer\nshow\nforever\n    switch costume to (costume1 v)\n    wait (2.5) seconds\n    repeat (20)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume21 v)\n    wait (2.5) 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.03) seconds\nend\n\nwhen I receive [12 v]\nhide\n\n@Flag10\n\nwhen I receive [10 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (128) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [7 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [12 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\n@Lava 4\n\nwhen I receive [12 v]\ngo to [front v] layer\nshow\nforever\n    wait (0.03) seconds\n    switch costume to (costume1 v)\n    repeat (9)\n        wait (0.03) seconds\n        next costume\n    end\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)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [11 v]\nhide\n\n@Spikes 12\n\nwhen I receive [12 v]\ngo to [front v] layer\nshow\ngo to x: (70) y: (29)\nforever\n    switch costume to (costume1 v)\n    wait (2.2) seconds\n    repeat (13)\n        wait (0.03) seconds\n        next costume\n    end\n    switch costume to (costume14 v)\n    wait (1.5) 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 flag clicked\nhide\n\nwhen I receive [11 v]\nhide\n\n@Lava down 12\n\nwhen flag clicked\nhide\n\nwhen I receive [12 v]\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    wait (2.5) seconds\n    repeat (22)\n        next costume\n        wait (0.03) seconds\n    end\n    switch costume to (costume23 v)\n    wait (1.7) 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)\nend\n\nwhen I receive [11 v]\nhide\n\n@Flag11\n\nwhen I receive [12 v]\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\ngo to x: (128) y: (-61)\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 flag clicked\nhide\n\nwhen I receive [playe 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 [7 v]\nhide\n\nwhen I receive [6 v]\nhide\n\nwhen I receive [10 v]\nhide\n\nwhen I receive [8 v]\nhide\n\nwhen I receive [9 v]\nhide\n\nwhen I receive [11 v]\nhide\n\n@Grid Snapping\n\nwhen flag clicked\nhide\nerase all\n\nwhen I receive [grid snapping v]\ngo to [front v] layer\nshow\nswitch backdrop to (backdrop2 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 I receive [playe v]\nhide\n\n@Art\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nswitch costume to (costume1 v)\ngo to x: (40) y: (-38)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        repeat (8)\n            wait (0.03) seconds\n            next costume\n        end\n    end\nend\n\nwhen this sprite clicked\nhide\nbroadcast (Grid SNapping v)\n\nwhen I receive [playe 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
Spam Flag A Platformer, Full Screen Not Recommended\nOr You Can Play It The First Time Then Play It Again.\n\nArrow Keys To Move \n\nAvoid Obstacles, Design Art- You use space to change your blocks.