Platformer War  

Instructions: Espacio: dispara arco\nPuntero del raton :Mover direccion del arco\nFlecha arriva :Saltar\nFlecha izquierda: ir a la izquierda\nFlecha derecha :ir a la derecha\nTienes 5 vidas\nMata a los enemigos para ganar\n------------------------------------------------ENGLISH---------------\nSpace: shoot bow\nMouse pointer: Move arc direction\nUp Arrow: Jump\nLeft arrow: go left\nRight arrow: go right\nYou have 5 lives\nKill enemies to win\n

@Stage\n\n@Objeto8\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (11) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-18)\n\nwhen backdrop switches to [fondo5 v]\nwait (4) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow variable [☁ vidas v]\n\n@Pickle3\n\nwhen flag clicked\nhide\n\nwhen I receive [tn v]\nset size to (25) %\ngo to x: (206) y: (-147)\ngo to [front v] layer\nshow\n\n@Pickle\n\nwhen flag clicked\nhide\n\nwhen I receive [tn v]\nset size to (25) %\ngo to x: (206) y: (-147)\ngo to [front v] layer\nshow\n\n@Pickle2\n\nwhen flag clicked\nhide\n\nwhen I receive [tn v]\nset size to (25) %\ngo to x: (206) y: (-147)\ngo to [front v] layer\nshow\n\n@Objeto4\n\nwhen backdrop switches to [fondo1 v]\nshow\nwait (3) seconds\nhide\n\nwhen flag clicked\nhide\n\n@Objeto3\n\nwhen flag clicked\nwait (2) seconds\nset [☁ vidas v] to [5]\nif <(☁ Vidas) = [0]> then\n    broadcast (Back v) and wait\nend\n\nwhen flag clicked\nset [☁ vidas v] to [3]\n\nwait (1) seconds\n\n@Objeto9\n\nwhen this sprite clicked\nhide\n\nwhen backdrop switches to [fondo3 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\n\n@Play2\n\nwhen I receive [start v]\nset [play1 v] to [10]\n\n    change y by (play1)\n    change [play1 v] by (-2)\n    if <touching (_edge_ v)?> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (115) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [back v]\nshow\ngo to x: (-2400) y: (-75)\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((-10) - (x position)) * (0.2))\n    change [ghost v] effect by (-10)\nend\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nwait until <not <mouse down?>>\nif <touching (mouse-pointer v)?> then\n    broadcast (player color v)\n    delete this clone\nend\n\nwhen this sprite clicked\nplay sound [pop v] until done\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\nbroadcast (TN v)\nstop [all v]\n\n@perdiste\n\nwhen flag clicked\nforever\n    hide\n    if <(☁ Vidas) = <(☁ Vidas) < [0]>> then\n        forever\n            if <(timer) = (timer)> then\n                show\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [☁ vidas v] to [5]\n\nwhen flag clicked\nhide\n\n@MenuFade\n\nwhen flag clicked\nbroadcast (Back v)\n\nwhen I receive [back v]\nshow\ngo [backward v] (999999999999) layers\ngo to x: (-2400) y: (0)\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((2) - (x position)) * (0.2))\n    change [ghost v] effect by (-1)\n    go [backward v] (99999) layers\nend\nforever\n    go [backward v] (99999) layers\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nset [timer v] to [0]\n\nwhen backdrop switches to [fondo5 v]\nshow\n\nwhen flag clicked\nswitch backdrop to (fondo5 v)\n\n@MenuBlock3\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [thing v]\nswitch costume to (costume1 v)\nshow\ngo [backward v] (1) layers\ngo to x: (0) y: (-180)\nrepeat (25)\n    change y by (((-96) - (y position)) * (0.2))\nend\n\n@Sprite1\n\nwhen I start as a clone\nset size to (160) %\nshow\nif <(number) = [1]> then\n    switch costume to (normal v)\n    go to x: (-80) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (normal v)\n        end\n    end\nend\nif <(number) = [2]> then\n    switch costume to (red v)\n    go to x: (-60) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (red v)\n        end\n    end\nend\nif <(number) = [3]> then\n    switch costume to (orange v)\n    go to x: (-40) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (orange v)\n        end\n    end\nend\nif <(number) = [4]> then\n    switch costume to (yellow v)\n    go to x: (-20) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (yellow v)\n        end\n    end\nend\nif <(number) = [5]> then\n    switch costume to (green v)\n    go to x: (0) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (green v)\n        end\n    end\nend\nif <(number) = [6]> then\n    switch costume to (lightblue v)\n    go to x: (20) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (lightblue v)\n        end\n    end\nend\nif <(number) = [7]> then\n    switch costume to (blue v)\n    go to x: (40) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (blue v)\n        end\n    end\nend\nif <(number) = [8]> then\n    switch costume to (purple v)\n    go to x: (60) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (purple v)\n        end\n    end\nend\nif <(number) = [9]> then\n    switch costume to (pink v)\n    go to x: (80) y: (-180)\n    forever\n        change y by (((-130) - (y position)) * (0.2))\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (pink v)\n        end\n    end\nend\n\nwhen I receive [player color v]\nset [number v] to [0]\nwait (0) seconds\nrepeat (9)\n    change [number v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nset [number v] to [0]\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen I start as a clone\nforever\n    if <(Start) = [1]> then\n        hide\n        delete this clone\n    end\nend\n\ncreate clone of (_myself_ v)\n\n@Objeto6\n\nwhen [right arrow v] key pressed\nrepeat (99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    go to (player v)\n    point towards (mouse-pointer v)\nend\n\nwhen [left arrow v] key pressed\nrepeat (99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    go to (player v)\n    point towards (mouse-pointer v)\nend\n\nwhen [up arrow v] key pressed\nrepeat (99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    go to (player v)\n    point towards (mouse-pointer v)\nend\n\nwhen [space v] key pressed\nrepeat (1)\n    go to (player v)\n    point towards (mouse-pointer v)\n    glide (0.5) secs to (mouse-pointer v)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [fondo5 v]\nshow\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [level v] to [1]\ngo to [front v] layer\nswitch costume to (1 v)\ngo [backward v] (1) layers\ngo to x: (0) y: (-180)\nwait (0.8) seconds\nshow\nrepeat (25)\n    change y by (((0) - (y position)) * (0.2))\nend\n\nwhen I receive [back v]\nhide\n\nwhen I receive [restart v]\nswitch costume to (1 v)\nset [level v] to [1]\n\nwhen I receive [next v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nset [☁ highscore2 v] to [85,8]\n\nwhen flag clicked\nif <(level) = [2]> then\n    if <(Timer) > [8888]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nwait until <(level) = [27]>\nswitch backdrop to (fondo2 v)\n\nwhen flag clicked\n\n    wait until <(level) = [4]>\n    switch backdrop to (fondo5 v)\nelse\n    switch backdrop to (fondo1 v)\nend\n\n@Text1\n\nwhen flag clicked\nbroadcast (back v)\n\nwhen I receive [start v]\nset [play1 v] to [10]\n\n    change y by (play1)\n    if <(y position) < [-170]> then\n        repeat (6)\n            change y by (play1)\n        end\n        hide\n        set [play1 v] to [0]\n        stop [this script v]\n    end\nend\n\nwhen I receive [back v]\nshow\ngo to x: (2400) y: (0)\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((-5) - (x position)) * (0.2))\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [start v]\nset [timer v] to [0]\nshow variable [timer v]\nshow variable [☁ highscore2 v]\nwait (1) seconds\n\n    change [timer v] by (0.1)\n    wait (0.1) seconds\n    if <(level) = [21]> then\n        if <(Timer) < (☁ Highscore2)> then\n            set [☁ highscore2 v] to (Timer)\n        end\n        stop [this script v]\n    end\n    if <(back) = [1]> then\n        hide variable [☁ highscore2 v]\n        hide variable [timer v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [restart v]\nset [timer v] to [0]\n\nwhen I receive [back v]\nhide variable [☁ highscore2 v]\nhide variable [timer v]\n\nwhen flag clicked\nhide variable [☁ highscore2 v]\nhide variable [timer v]\n\n@Play3\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nwait (1) seconds\ngo to x: (-208) y: (-163)\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        wait until <not <mouse down?>>\n        if <touching (mouse-pointer v)?> then\n            set [start v] to [0]\n            set [back v] to [1]\n            hide\n            broadcast (Back v)\n            wait (0.3) seconds\n            set [back v] to [0]\n            stop [this script v]\n        end\n    end\nend\n\n@Platform2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [level v] to [1]\ngo to [front v] layer\nswitch costume to (1 v)\ngo [backward v] (1) layers\ngo to x: (0) y: (-180)\nwait (0.8) seconds\nshow\nrepeat (25)\n    change y by (((0) - (y position)) * (0.2))\nend\n\nwhen I receive [back v]\nhide\n\nwhen I receive [restart v]\nswitch costume to (1 v)\nset [level v] to [1]\n\nwhen I receive [next v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nset [☁ highscore2 v] to [85,8]\n\nwhen flag clicked\nif <(level) = [2]> then\n    if <(Timer) > [8888]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nwait until <(level) = [27]>\nswitch backdrop to (fondo2 v)\n\nwhen flag clicked\n\n    wait until <(level) = [4]>\n    switch backdrop to (fondo5 v)\nelse\n    switch backdrop to (fondo1 v)\nend\n\n@Objeto1\n\nwhen backdrop switches to [fondo9 v]\nglide (2) secs to x: (32) y: (333)\nstart sound [Win v]\nswitch backdrop to (fondo10 v)\nhide\n\nwhen flag clicked\ngo to x: (31) y: (5)\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [fondo5 v]\nshow\n\n@Menublock3\n\nwhen I receive [start v]\nhide\n\nwhen I receive [back v]\nhide\nwait (0.6) seconds\ngo to x: (-198) y: (-154)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (170) %\n        if <mouse down?> then\n            broadcast (Thing v)\n            hide\n            stop [this script v]\n        end\n    else\n        set size to (100) %\n    end\nend\n\n@Play4\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nwait (1) seconds\ngo to x: (-208) y: (-163)\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        wait until <not <mouse down?>>\n        if <touching (mouse-pointer v)?> then\n            set [start v] to [0]\n            set [back v] to [1]\n            hide\n            broadcast (Back v)\n            wait (0.3) seconds\n            set [back v] to [0]\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (fondo1 v)\n\n@Play5\n\nwhen I receive [start v]\nset [play1 v] to [10]\n\n    change y by (play1)\n    change [play1 v] by (-2)\n    if <touching (_edge_ v)?> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [back v]\nshow\ngo to x: (-2400) y: (-27)\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((0) - (x position)) * (0.2))\n    change [ghost v] effect by (-10)\nend\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nwait until <not <mouse down?>>\nif <touching (mouse-pointer v)?> then\n    broadcast (Start v)\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (115) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nswitch backdrop to (fondo5 v)\n\n@Objeto7\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (15) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-27)\n\nwhen backdrop switches to [fondo5 v]\nwait (16) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\n@Text2\n\nwhen flag clicked\nbroadcast (back v)\n\nwhen I receive [start v]\nset [play1 v] to [10]\n\n    change y by (play1)\n    if <(y position) < [-170]> then\n        repeat (6)\n            change y by (play1)\n        end\n        hide\n        set [play1 v] to [0]\n        stop [this script v]\n    end\nend\n\nwhen I receive [back v]\nshow\ngo to x: (2400) y: (0)\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((-5) - (x position)) * (0.2))\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [start v]\nset [timer v] to [0]\nshow variable [timer v]\nshow variable [☁ highscore2 v]\nwait (1) seconds\n\n    change [timer v] by (0.1)\n    wait (0.1) seconds\n    if <(level) = [21]> then\n        if <(Timer) < (☁ Highscore2)> then\n            set [☁ highscore2 v] to (Timer)\n        end\n        stop [this script v]\n    end\n    if <(back) = [1]> then\n        hide variable [☁ highscore2 v]\n        hide variable [timer v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [restart v]\nset [timer v] to [0]\n\nwhen I receive [back v]\nhide variable [☁ highscore2 v]\nhide variable [timer v]\n\nwhen flag clicked\nhide variable [☁ highscore2 v]\nhide variable [timer v]\n\n@Objeto20\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\nend\n\n@Player\n\nwhen flag clicked\nhide\ngo to x: (-12) y: (-999)\n\nwhen flag clicked\nforever\n    if <(y position) > [-10]> then\n        if <(level) = [1]> then\n            broadcast (yo v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [start v]\nwait (0.8) seconds\nshow\ngo to x: (-222) y: (-80)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <touching color (#cc0099)?> then\n        set [mode v] to [jump]\n        set [yv v] to [15]\n    end\n    if <touching color (#5b9aea)?> then\n        if  then\n            change [yv v] by (-1)\n        else\n            change [yv v] by (1)\n        end\n    end\n    if <<key (r v) pressed?> and <key (g v) pressed?>> then\n        wait until <not <<key (g v) pressed?> and <key (r v) pressed?>>>\n        go to x: (-231) y: (-135)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        broadcast (Restart v)\n    end\n    if <key (r v) pressed?> then\n        if <not <key (g v) pressed?>> then\n            wait until <not <key (r v) pressed?>>\n            go to x: (-231) y: (-135)\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n    end\n    go to [front v] layer\n    if <(back) = [1]> then\n        hide\n        stop [this script v]\n    end\n    if <(x position) > [235]> then\n        broadcast (Next v)\n        set x to (-222)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<(y position) < [-175]> or <touching color (#ff0000)?>> then\n        start sound [level1 v]\n        start sound [explode_11 v]\n        go to x: (-180) y: (-40)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        set [☁ vidas v] to ((☁ Vidas) - (1))\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (90)\n        change [xv v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (-90)\n        change [xv v] by (2)\n    end\n    set [xv v] to ((xv) * (0.85))\n    change x by (xv)\n    if <touching color (#000008)?> then\n        change y by (-2)\n        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-5)\n                                change x by ((-1) * (xv))\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <(xv) = [0]>>> then\n                                    set [mode v] to [walljump]\n                                    set [yv v] to [8]\n                                    set [xv v] to (((xv) / ([abs v] of (xv) )) * (-10))\n                                else\n                                    set [mode v] to [wallslide]\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n    end\n    change y by (-3)\n    if <touching color (#000008)?> then\n        if <(yv) = [-3]> then\n        if <key (up arrow v) pressed?> then\n            set [mode v] to [jump]\n            set [yv v] to [9]\n        end\n    end\n    if <<<<(mode) = [jump]> or <(mode) = [walljump]>> and <(yv) < [0]>> or > then\n        if <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> then\n            set [mode v] to [run]\n        else\n            if <([abs v] of (xv) ) > [.1]> then\n                set [mode v] to [skid]\n            else\n                set [mode v] to [stand]\n            end\n        end\n        set [mode v] to [fall]\n    end\n    change y by (3)\n    if <(yv) > [-15]> then\n        change [yv v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching color (#000008)?>> then\n        change y by (-1)\n        if <not <touching color (#000008)?>> then\n            change y by (-1)\n            if <not <touching color (#000008)?>> then\n                change y by (-1)\n                if <not <touching color (#000008)?>> then\n                    change y by (-1)\n                    if <not <touching color (#000008)?>> then\n                        change y by (-1)\n                        if <not <touching color (#000008)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (yv)\n    if <touching color (#000008)?> then\n        change y by (-2)\n        if <touching color (#000008)?> then\n            change y by ((-1) * (yv))\n            set [yv v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\n\nwhen I receive [normal v]\nswitch costume to (normal v)\n\nwhen I receive [red v]\nswitch costume to (red v)\n\nwhen I receive [orange v]\nswitch costume to (orange v)\n\nwhen I receive [yellow v]\nswitch costume to (yellow v)\n\nwhen I receive [green v]\nswitch costume to (green v)\n\nwhen I receive [lightblue v]\nswitch costume to (lightblue v)\n\nwhen I receive [blue v]\nswitch costume to (blue v)\n\nwhen I receive [purple v]\nswitch costume to (purple v)\n\nwhen I receive [pink v]\nswitch costume to (pink v)\n\nwhen I receive [player color v]\ngo to x: (-117) y: (-145)\npoint in direction (-90)\nshow\n\nwhen flag clicked\nswitch costume to (normal v)\nset [back v] to [0]\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nforever\n    if <touching color (#a8fa4f)?> then\n        \n    end\nend\n\nwhen flag clicked\nwait (3) seconds\nstart sound [level1 v]\n\nwhen this sprite clicked\n\nwhen I receive [back v]\nif <(☁ Vidas) = [0]> then\n    hide\nend\n\nwhen backdrop switches to [fondo10 v]\nforever\n    stop all sounds\nend\n\nclear sound effects\n\nwhen backdrop switches to [fondo11 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching color (#3f00ff)?> then\n        switch backdrop to (fondo12 v)\n    end\nend\n\nwhen flag clicked\n\n@Objeto21\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [fondo11 v]\nshow\n\nwhen backdrop switches to [fondo11 v]\nhide variable [☁ vidas v]\nhide variable [timer v]\nhide variable [☁ highscore2 v]\nstart sound [pop v]\n\n@Objeto22\n\nwhen flag clicked\nhide\n\n@Play\n\nwhen I receive [start v]\nset [play1 v] to [10]\n\n    change y by (play1)\n    change [play1 v] by (-2)\n    if <touching (_edge_ v)?> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [back v]\nshow\ngo to x: (-2400) y: (-27)\nset [ghost v] effect to (80)\nrepeat (25)\n    change x by (((0) - (x position)) * (0.2))\n    change [ghost v] effect by (-10)\nend\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nwait until <not <mouse down?>>\nif <touching (mouse-pointer v)?> then\n    broadcast (Start v)\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (115) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nswitch backdrop to (fondo5 v)\n\n@Objeto10\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (18) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-24)\n\nwhen backdrop switches to [fondo5 v]\nwait (18) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\n@Objeto11\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (21) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-18)\n\nwhen backdrop switches to [fondo5 v]\nwait (21) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\n@Objeto12\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n        switch backdrop to (fondo9 v)\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (23) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-41)\n\nwhen backdrop switches to [fondo5 v]\nwait (24) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\n@Objeto5\n\nwhen flag clicked\nforever\n    if <touching (objeto6 v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffa100)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [fondo5 v]\nwait (11) seconds\nshow\n\nwhen backdrop switches to [fondo5 v]\nwait (6) seconds\ngo to x: (208) y: (-18)\n\nwhen backdrop switches to [fondo5 v]\nwait (11) seconds\nrepeat (999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)\n    glide (1.5) secs to (player v)\nend\n\nwhen flag clicked\nhide\n\n@Objeto2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [fondo10 v]\nshow\nrepeat (15)\n    glide (3) secs to x: (31) y: (-112)\n    go to x: (48) y: (73)\nend\nhide\n\n@Objeto13\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [fondo10 v]\nshow\n\n@Screenshot 2021-05-18 10\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (2) y: (0)\n\n