-| Trails and Tales Platformer |- Mobile Friendly
@Stage\n\nwhen I receive [inicio v]\nforever\n    if <(🏠Level) < [5]> then\n        stop all sounds\n        play sound (pick random (1) to (2)) until done\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    if <<(🏠Level) > [4]> and <(🏠Level) < [10]>> then\n        stop all sounds\n        play sound (pick random (3) to (4)) until done\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    set [brightness v] effect to (-8)\n    if <(🏠Level) < [5]> then\n        switch backdrop to (abedules v)\n    else\n        if <<(🏠Level) > [4]> and <(🏠Level) < [10]>> then\n            switch backdrop to (cuevas v)\n        else\n            if <<(🏠Level) > [9]> and <(🏠Level) < [19]>> then\n                switch backdrop to (cherry v)\n            else\n                if <<(🏠Level) > [18]> and <(🏠Level) < [111]>> then\n                    switch backdrop to (desert v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [inicio v]\nset [🔊: v] to ((🔊:) * (100))\nset volume to (🔊:) %\nforever\n    if <<(🏠Level) > [9]> and <(🏠Level) < [16]>> then\n        stop all sounds\n        play sound [Cherry1 v] until done\n    end\nend\n\nwhen flag clicked\nset volume to (100) %\n\nwhen I receive [inicio v]\nforever\n    if <<(🏠Level) > [15]> and <(🏠Level) < [18]>> then\n        stop all sounds\n        play sound [familiar room v] until done\n    end\nend\n\nwhen I receive [title screen v]\nstop [other scripts in sprite v]\nstop all sounds\ndelete this clone\n\nwhen I receive [inicio v]\nforever\n    if <<(🏠Level) > [18]> and <(🏠Level) < [29]>> then\n        stop all sounds\n        play sound [Desert v] until done\n    end\nend\n\n@ \n\n@LOGO\n\nwhen flag clicked\ndelete all of [🎓hats v]\nadd [0] to [🎓hats v]\nadd [0] to [🎓hats v]\ngo to [front v] layer\nhide\nforever\n    set [detector of detener v] to (timer)\n    go to [front v] layer\nend\n\nshow variable [🏠level v]\n\nwhen [timer v] > (DETECTOR of detener)\nswitch costume to (trails & tales v)\ngo to [front v] layer\nshow\nbroadcast (C encendio v)\nhide variable [🏠level v]\n\n@Intro 2023\n\nwhen I start as a clone\nswitch costume to (background v)\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset size to (100) %\nset volume to (100) %\nset x to (0)\nswitch costume to (text v)\ncreate clone of (_myself_ v)\nset [pan left/right v] effect to (-100)\nstart sound [Stone slide v]\nset x to (-300)\nrepeat (30)\n    change x by (11)\nend\nswitch costume to (text2 v)\nwait (0.05) seconds\nswitch costume to (text3 v)\nwait (0.5) seconds\nswitch costume to (text4 v)\nwait (0.05) seconds\nswitch costume to (text5 v)\nwait (0.5) seconds\nset [bump v] to [12]\nclear sound effects\nstart sound [RandomCoin v]\nrepeat (25)\n    change [ghost v] effect by (4)\n    change size by (Bump)\n    set [bump v] to ((Bump) - (1))\nend\nbroadcast (Language v)\nstop [this script v]\n\nbroadcast (Inicio v)\n\nwhen flag clicked\nrepeat (25)\n    change [pan left/right v] effect by (4)\nend\n\nwhen I receive [language v]\nwait (0.5) seconds\nhide\nif <([sqrt v] of (4761) ) = [69]> then\n    delete this clone\nend\n\nset [🆚versión v] to [1.0]\nif <(username) = [TadeoCreeper]> then\nend\nif <(username) = [alampro]> then\n    set [🆚versión v] to [1.1]\nend\n\nwhen flag clicked\nset [🆚versión v] to [1.1]\n\n@Language selector\n\nwhen I receive [title screen v]\nif <([sin v] of (30) ) = [0.5]> then\n    delete this clone\nend\ngo to [front v] layer\nif <(costume [number v]) = [1]> then\n    repeat (20)\n        change [brightness v] effect by (5)\n    end\n    wait (0.5) seconds\n    repeat (35)\n        change [ghost v] effect by (3)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (costume [name v]) contains [Button]?> then\n    forever\n        go to [back v] layer\n        go [forward v] (29) layers\n        show\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (5)\n            if < (costume [name v]) contains [English]?> then\n                if <mouse down?> then\n                    set [brightness v] effect to (0)\n                    switch costume to (button english 2 v)\n                    wait (0.05) seconds\n                    set [📒idioma? v] to [0]\n                    broadcast (title screen v)\n                else\n                    switch costume to (button english 1 v)\n                end\n            end\n            if < (costume [name v]) contains [Español]?> then\n                if <mouse down?> then\n                    set [brightness v] effect to (0)\n                    switch costume to (button español 2 v)\n                    wait (0.05) seconds\n                    set [📒idioma? v] to [1]\n                    broadcast (title screen v)\n                else\n                    switch costume to (button español 1 v)\n                end\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\ndelete this clone\n\nwhen I receive [language v]\nwait (0.5) seconds\nshow\ngo to [front v] layer\nswitch costume to (button english 1 v)\ncreate clone of (_myself_ v)\nswitch costume to (button español 1 v)\ncreate clone of (_myself_ v)\nswitch costume to (background v)\n\nwhen flag clicked\nhide\n\nwhen I receive [title screen v]\nwait (0.5) seconds\ndelete this clone\n\n@Title screenSprite1\n\nwhen I start as a clone\nif < (costume [name v]) contains [cherry]?> then\n    show\n    set size to (pick random (70) to (120)) %\n    set [brightness v] effect to (10)\n    forever\n        change y by (x)\n        change [x v] by (0.02)\n        if <(x position) < [-230]> then\n            repeat (2)\n                change y by (x)\n            end\n            delete this clone\n        end\n        if <(y position) < [-179]> then\n            delete this clone\n        end\n    end\nend\nif < (costume [name v]) contains [Title]?> then\n    set [probability v] to (pick random (1) to (5))\n    if <(Probability) = [1]> then\n        switch costume to (eg title v)\n    end\n    if <(Probability) = [2]> then\n        switch costume to (eg2 title v)\n    end\n    go to [front v] layer\n    go [backward v] (11) layers\n    forever\n        go to [front v] layer\n        go [backward v] (11) layers\n    end\nend\nif < (costume [name v]) contains [Button]?> then\n    show\n    go to [back v] layer\n    go [forward v] (29) layers\n    wait (0.3) seconds\n    forever\n        go to [back v] layer\n        go [forward v] (29) layers\n        if <(📱¿Interfaz?) = [0]> then\n            show\n            if <touching (mouse-pointer v)?> then\n                set [brightness v] effect to (5)\n                if < (costume [name v]) contains [singleplayer]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button singleplayer 2 v)\n                        else\n                            switch costume to (button singleplayer 2 esp v)\n                        end\n                        wait (0.05) seconds\n                        if <(🆚versión) > [1.09]> then\n                            set [🙍‍♂️multiplayer? v] to [0]\n                            broadcast (PartSelector v)\n                            delete this clone\n                        else\n                            broadcast (Inicio v)\n                            delete this clone\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button singleplayer 1 v)\n                        else\n                            switch costume to (button singleplayer 1 esp v)\n                        end\n                    end\n                end\n                if < (costume [name v]) contains [multiplayer]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button multiplayer 2 v)\n                        else\n                            switch costume to (button multiplayer 2 esp v)\n                        end\n                        wait (0.05) seconds\n                        if <(🆚versión) > [1.09]> then\n                            set [🙍‍♂️multiplayer? v] to [1]\n                            broadcast (PartSelector v)\n                            delete this clone\n                        else\n                            broadcast (Inicio v)\n                            broadcast (multiplayer v)\n                            delete this clone\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button multiplayer 1 v)\n                        else\n                            switch costume to (button multiplayer 1 esp v)\n                        end\n                    end\n                end\n                if < (costume [name v]) contains [Skins]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button skins 2 v)\n                        else\n                            switch costume to (button skins 2 esp v)\n                        end\n                        repeat until <not <mouse down?>>\n                            go to [front v] layer\n                            go [backward v] (2) layers\n                        end\n                        wait (0.05) seconds\n                        set [📱¿interfaz? v] to [1]\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button skins 1 v)\n                        else\n                            switch costume to (button skins 1 esp v)\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button skins 1 v)\n                        else\n                            switch costume to (button skins 1 esp v)\n                        end\n                    end\n                end\n                if < (costume [name v]) contains [Mobile]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button mobile 2 v)\n                        else\n                            switch costume to (button mobile 2 esp v)\n                        end\n                        wait (0.05) seconds\n                        if <(🆚versión) > [1.0]> then\n                            set [📱mobile? v] to [1]\n                            broadcast (PartSelector v)\n                            delete this clone\n                        else\n                            set [📱mobile? v] to [1]\n                            broadcast (Inicio v)\n                            delete this clone\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button mobile 1 v)\n                        else\n                            switch costume to (button mobile 1 esp v)\n                        end\n                    end\n                end\n                if < (costume [name v]) contains [Config]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        switch costume to (button config 2 v)\n                        repeat until <not <mouse down?>>\n                            go to [front v] layer\n                            go [backward v] (2) layers\n                        end\n                        wait (0.05) seconds\n                        set [📱¿interfaz? v] to [2]\n                        switch costume to (button config v)\n                    else\n                        switch costume to (button config v)\n                    end\n                end\n                if < (costume [name v]) contains [Part1]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        wait (0.05) seconds\n                        if <(🙍‍♂️Multiplayer?) = [0]> then\n                            broadcast (Inicio v)\n                            delete this clone\n                        else\n                            broadcast (Inicio v)\n                            broadcast (multiplayer v)\n                            delete this clone\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button part1 v)\n                        else\n                            switch costume to (button part1 esp v)\n                        end\n                    end\n                end\n                if < (costume [name v]) contains [Part2]?> then\n                    if <mouse down?> then\n                        set [brightness v] effect to (0)\n                        wait (0.05) seconds\n                        if <(🙍‍♂️Multiplayer?) = [0]> then\n                            broadcast (part2 v)\n                            broadcast (Inicio v)\n                            wait (0) seconds\n                            delete this clone\n                        else\n                            broadcast (part2 v)\n                            broadcast (Inicio v)\n                            broadcast (multiplayer v)\n                            wait (0) seconds\n                            delete this clone\n                        end\n                    else\n                        if <(📒Idioma?) = [0]> then\n                            switch costume to (button part2 v)\n                        else\n                            switch costume to (button part2 esp v)\n                        end\n                    end\n                end\n            else\n                set [brightness v] effect to (0)\n            end\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [title screen v]\nset [📱¿interfaz? v] to [0]\nshow\nswitch costume to (title v)\ncreate clone of (_myself_ v)\nif <(📒Idioma?) = [0]> then\n    switch costume to (button singleplayer 1 v)\nelse\n    switch costume to (button singleplayer 1 esp v)\nend\ncreate clone of (_myself_ v)\nif <(📒Idioma?) = [0]> then\n    switch costume to (button multiplayer 1 v)\nelse\n    switch costume to (button multiplayer 1 esp v)\nend\ncreate clone of (_myself_ v)\nif <(📒Idioma?) = [0]> then\n    switch costume to (button skins 1 v)\nelse\n    switch costume to (button skins 1 esp v)\nend\ncreate clone of (_myself_ v)\nif <(📒Idioma?) = [0]> then\n    switch costume to (button mobile 1 v)\nelse\n    switch costume to (button mobile 1 esp v)\nend\ncreate clone of (_myself_ v)\nswitch costume to (button config v)\ncreate clone of (_myself_ v)\nset [backg v] to (pick random (1) to (2))\nswitch costume to (join [Background] (Backg))\nif <(costume [number v]) = [1]> then\n    forever\n        repeat (2)\n            Leaf\n            switch costume to (join [Background] (Backg))\n            go to x: (0) y: (0)\n            wait (0.3) seconds\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I start as a clone\nif < (costume [name v]) contains [cherry]?> then\n    forever\n        go to [back v] layer\n        go [forward v] (19) layers\n        change x by (-6)\n        turn right (1) degrees\n    end\nend\n\ndefine Leaf\nswitch costume to (cherry 2 v)\nset [x v] to (pick random (0) to (-3))\ngo to x: (240) y: (pick random (200) to (-150))\ncreate clone of (_myself_ v)\n\nwhen I receive [inicio v]\nrepeat (10)\n    hide\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen I receive [title screen v]\nplay sound [Relic v] until done\nforever\n    play sound (pick random (1) to (2)) until done\nend\n\nwhen I receive [title screen v]\nforever\n    set volume to (🔊:) %\nend\n\nwhen I receive [partselector v]\nif <not << (costume [name v]) contains [title]?> or < (costume [name v]) contains [cherry]?>>> then\n    delete this clone\nend\nif < (costume [name v]) contains [title]?> then\n    switch costume to (transp title v)\nend\nif < (costume [name v]) contains [background]?> then\n    if <(📒Idioma?) = [0]> then\n        switch costume to (button part1 v)\n    else\n        switch costume to (button part1 esp v)\n    end\n    create clone of (_myself_ v)\n    if <(📒Idioma?) = [0]> then\n        switch costume to (button part2 v)\n    else\n        switch costume to (button part2 esp v)\n    end\n    create clone of (_myself_ v)\n    switch costume to (join [Background] (Backg))\nend\n\n@Interfaz\n\nwhen I receive [title screen v]\nforever\n    if <not <(📱¿Interfaz?) = [0]>> then\n        go to [front v] layer\n        go [backward v] (2) layers\n        show\n        if <(📱¿Interfaz?) = [1]> then\n            if <(📒Idioma?) = [0]> then\n                switch costume to (skins v)\n            else\n                switch costume to (skins esp v)\n            end\n        end\n        if <(📱¿Interfaz?) = [2]> then\n            if <(📒Idioma?) = [0]> then\n                switch costume to (config v)\n            else\n                switch costume to (config 2 v)\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [inicio v]\nstop [other scripts in sprite v]\nhide\n\nwhen I start as a clone\nif <<(costume [number v]) > [1]> and <(costume [number v]) < [12]>> then\n    forever\n        if <(📱¿Interfaz?) = [1]> then\n            go to [front v] layer\n            go [backward v] (3) layers\n            show\n        else\n            hide\n        end\n    end\nend\nif <(costume [name v]) = [X]> then\n    forever\n        if <not <(📱¿Interfaz?) = [0]>> then\n            go to [front v] layer\n            show\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                set [📱¿interfaz? v] to [0]\n            end\n        else\n            hide\n        end\n    end\nend\nif < (costume [name v]) contains [Switch]?> then\n    forever\n        if <(📱¿Interfaz?) = [2]> then\n            go to [front v] layer\n            go [backward v] (1) layers\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen I receive [check 1 v]\nif <<(costume [number v]) > [1]> and <(costume [number v]) < [12]>> then\n    Check / Nr: [1]\nend\n\ndefine Check / Nr: (nr)\nif <(nr) = [1]> then\n    if <touching (selector1 v)?> then\n        replace item ((costume [number v]) - (1)) of [report list v] with [1]\n    else\n        replace item ((costume [number v]) - (1)) of [report list v] with [0]\n    end\nend\nif <(nr) = [2]> then\n    if <touching (selector2 v)?> then\n        replace item ((costume [number v]) - (1)) of [report list 2 v] with [1]\n    else\n        replace item ((costume [number v]) - (1)) of [report list 2 v] with [0]\n    end\nend\n\nwhen I receive [finish v]\nif < (costume [name v]) contains [Skins]?> then\n    if < (Report list) contains [1]?> then\n        replace item (1) of [🎓hats v] with (item # of [1] in [report list v])\n    else\n        replace item (1) of [🎓hats v] with [0]\n    end\nend\n\ndefine Load | Interf: (nrº)\nif <(nrº) = [1]> then\n    switch costume to (1 v)\n    if <(🆚versión) > [1.0]> then\n        repeat (10)\n            create clone of (_myself_ v)\n            next costume\n        end\n    else\n        repeat (8)\n            create clone of (_myself_ v)\n            next costume\n        end\n    end\n    if <(📒Idioma?) = [0]> then\n        switch costume to (skins v)\n    else\n        switch costume to (skins esp v)\n    end\nend\nif <(nrº) = [2]> then\n    switch costume to (switch off v)\n    set [switch number v] to [1]\n    repeat (4)\n        create clone of (_myself_ v)\n        change [switch number v] by (1)\n    end\n    if <(📒Idioma?) = [0]> then\n        switch costume to (config v)\n    else\n        switch costume to (config 2 v)\n    end\nend\n\nwhen I receive [title screen v]\ndelete all of [report list v]\nReport list: [1]\ndelete all of [report list 2 v]\nReport list: [2]\nforever\n    wait until <not <(📱¿Interfaz?) = [0]>>\n    switch costume to (x v)\n    create clone of (_myself_ v)\n    if <(📱¿Interfaz?) = [1]> then\n        Load | Interf: [1]\n    end\n    if <(📱¿Interfaz?) = [2]> then\n        Load | Interf: [2]\n    end\n    wait until <(📱¿Interfaz?) = [0]>\nend\n\nwhen I start as a clone\nforever\n    wait until <(📱¿Interfaz?) = [0]>\n    delete this clone\nend\n\nwhen I receive [check 2 v]\nif <<(costume [number v]) > [1]> and <(costume [number v]) < [12]>> then\n    Check / Nr: [2]\nend\n\nwhen I receive [finish 2 v]\nif < (costume [name v]) contains [Skins]?> then\n    if < (Report list 2) contains [1]?> then\n        replace item (2) of [🎓hats v] with (item # of [1] in [report list 2 v])\n    else\n        replace item (2) of [🎓hats v] with [0]\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) > [1]> and <(costume [number v]) < [12]>> then\n    forever\n        if <(📱¿Interfaz?) = [1]> then\n            if <touching (selector2 v)?> then\n                start sound [y2mate v]\n                broadcast (Check 2 v) and wait\n                wait (0) seconds\n                broadcast (finish 2 v)\n                wait until <not <touching (selector2 v)?>>\n                broadcast (Check 2 v) and wait\n                wait (0) seconds\n                broadcast (finish 2 v)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <<(costume [number v]) > [1]> and <(costume [number v]) < [12]>> then\n    forever\n        if <(📱¿Interfaz?) = [1]> then\n            if <touching (selector1 v)?> then\n                start sound [y2mate v]\n                broadcast (Check 1 v) and wait\n                wait (0) seconds\n                broadcast (finish v)\n                wait until <not <touching (selector1 v)?>>\n                broadcast (Check 1 v) and wait\n                wait (0) seconds\n                broadcast (finish v)\n            end\n        end\n    end\nend\n\ndefine Report list: (a)\nif <(a) = [1]> then\n    repeat (10)\n        add [] to [report list v]\n    end\nend\nif <(a) = [2]> then\n    repeat (10)\n        add [] to [report list 2 v]\n    end\nend\n\nwhen I start as a clone\nif <(Switch number) = [1]> then\n    if <(🔊:) = [0]> then\n        switch costume to (switch on v)\n    else\n        switch costume to (switch off v)\n    end\nend\nif <(Switch number) = [2]> then\n    if <(🏞 Fondo?) = [1]> then\n        switch costume to (switch on v)\n    else\n        switch costume to (switch off v)\n    end\nend\nif <(Switch number) = [3]> then\n    if <(🚙TP) = [1]> then\n        switch costume to (switch on v)\n    else\n        switch costume to (switch off v)\n    end\nend\nif <(Switch number) = [4]> then\n    if <(🦟Particulas?) = [1]> then\n        switch costume to (switch on v)\n    else\n        switch costume to (switch off v)\n    end\nend\nif < (costume [name v]) contains [Switch]?> then\n    forever\n        if <(📱¿Interfaz?) = [2]> then\n            if <(Switch number) = [1]> then\n                go to x: (-185) y: (57)\n            end\n            if <(Switch number) = [2]> then\n                go to x: (-185) y: (17)\n            end\n            if <(Switch number) = [3]> then\n                go to x: (-185) y: (-22)\n            end\n            if <(Switch number) = [4]> then\n                go to x: (-185) y: (-60)\n            end\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    if < (costume [name v]) contains [on]?> then\n                        switch costume to (switch on v)\n                        wait (0.02) seconds\n                        switch costume to (switch offon v)\n                        wait (0.02) seconds\n                        switch costume to (switch off v)\n                        if <(Switch number) = [1]> then\n                            set [🔊: v] to [100]\n                        end\n                        if <(Switch number) = [2]> then\n                            set [🏞 fondo? v] to [0]\n                        end\n                        if <(Switch number) = [3]> then\n                            set [🚙tp v] to [0]\n                        end\n                        if <(Switch number) = [4]> then\n                            set [🦟particulas? v] to [0]\n                        end\n                    else\n                        if < (costume [name v]) contains [off]?> then\n                            switch costume to (switch off v)\n                            wait (0.02) seconds\n                            switch costume to (switch offon v)\n                            wait (0.02) seconds\n                            switch costume to (switch on v)\n                            if <(Switch number) = [1]> then\n                                set [🔊: v] to [0]\n                            end\n                            if <(Switch number) = [2]> then\n                                set [🏞 fondo? v] to [1]\n                            end\n                            if <(Switch number) = [3]> then\n                                set [🚙tp v] to [1]\n                            end\n                            if <(Switch number) = [4]> then\n                                set [🦟particulas? v] to [1]\n                            end\n                        end\n                    end\n                    wait until <not <mouse down?>>\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [🦟particulas? v] to [1]\nset [🏞 fondo? v] to [1]\nset [🔊: v] to [100]\nset [🚙tp v] to [0]\n\nset [📒idioma? v] to [0]\n\nset [📒idioma? v] to [1]\n\n@Selector1\n\nwhen I receive [title screen v]\ngo to x: (-182) y: (-108)\nforever\n    if <(📱¿Interfaz?) = [1]> then\n        set [brightness v] effect to (-10)\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (0)\n        end\n        show\n        go to [front v] layer\n        set drag mode [draggable v]\n        if <(y position) > [66]> then\n            set y to (60)\n        else\n            if <(y position) < [-135]> then\n                set y to (-130)\n            end\n        end\n        if <(x position) > [205]> then\n            set x to (200)\n        else\n            if <(x position) < [-205]> then\n                set x to (-200)\n            end\n        end\n    else\n        hide\n        set drag mode [not draggable v]\n    end\nend\n\nwhen I receive [inicio v]\nstop [other scripts in sprite v]\nhide\n\n@Selector2\n\nwhen I receive [title screen v]\ngo to x: (-130) y: (-108)\nforever\n    if <(📱¿Interfaz?) = [1]> then\n        set [brightness v] effect to (-10)\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (0)\n        end\n        show\n        go to [front v] layer\n        set drag mode [draggable v]\n        if <(y position) > [66]> then\n            set y to (60)\n        else\n            if <(y position) < [-135]> then\n                set y to (-130)\n            end\n        end\n        if <(x position) > [205]> then\n            set x to (200)\n        else\n            if <(x position) < [-205]> then\n                set x to (-200)\n            end\n        end\n    else\n        hide\n        set drag mode [not draggable v]\n    end\nend\n\nwhen I receive [inicio v]\nstop [other scripts in sprite v]\nhide\n\n@filtro\n\nwhen flag clicked\nforever\n    if <<(🏠Level) > [4]> and <(🏠Level) < [10]>> then\n        show\n    else\n        hide\n    end\nend\n\n@Suelo\n\nwhen I receive [inicio v]\nforever\n    switch costume to (🏠Level)\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [part2 v]\nwait (0) seconds\nset [🏠level v] to [19]\n\n@Fondo feo\n\nwhen I receive [inicio v]\nforever\n    switch costume to (🏠Level)\n    go to [back v] layer\n    set [brightness v] effect to (-8)\n    if <(🏞 Fondo?) = [1]> then\n        show\n        set [ghost v] effect to (0)\n    else\n        hide\n        set [brightness v] effect to (-10)\n    end\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@Particles\n\nwhen I start as a clone\nforever\n    change x by (-6)\n    turn right (1) degrees\n    wait until <(⏸) = [0]>\nend\n\nwhen I start as a clone\nshow\nset size to (pick random (70) to (120)) %\nif <<key (e v) pressed?> and <key (c v) pressed?>> then\n    switch costume to (pick random (1) to (3))\n    if <(costume [number v]) = [3]> then\n        point in direction (60)\n    end\nelse\n    switch costume to (pick random (1) to (2))\nend\nset [brightness v] effect to (pick random (-5) to (5))\nif <(size) < [95]> then\n    go to [back v] layer\nend\nforever\n    change y by (x)\n    change [x v] by (0.02)\n    wait until <(⏸) = [0]>\n    if <(x position) < [-230]> then\n        repeat (2)\n            wait until <(⏸) = [0]>\n            change y by (x)\n        end\n        delete this clone\n    end\n    if <(y position) < [-179]> then\n        delete this clone\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    if <<(🏠Level) > [9]> and <(🏠Level) < [17]>> then\n        repeat (pick random (1) to (5))\n            set [x v] to (pick random (0) to (-3))\n            go to x: (240) y: (pick random (200) to (-150))\n            create clone of (_myself_ v)\n            wait until <(⏸) = [0]>\n            wait (0) seconds\n        end\n        wait until <(⏸) = [0]>\n        wait (0.3) seconds\n    end\nend\n\nwhen I receive [next v]\nif <(🏠Level) > [16]> then\n    delete this clone\nend\n\nwhen I receive [next p2 v]\nif <(🏠Level) > [16]> then\n    delete this clone\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwait until <(⏸) = [0]>\n\n@Text\n\ndefine Tipo (texto)\ngo to x: (-200) y: (-100)\nset [x v] to [-200]\nset [y v] to [-100]\nset [limite v] to [200]\nset [🔢número v] to [0]\nset [🔢number move v] to [0]\nset [nivel asignado v] to (🏠Level)\nrepeat (length of (texto))\n    if <(nivel asignado) = (🏠Level)> then\n        change [🔢número v] by (1)\n        set [asset v] to (letter (🔢Número) of (texto))\n        if <not <(letter (🔢Número) of (texto)) = [´]>> then\n            change [🔢number move v] by (1)\n        end\n        go to [front v] layer\n        if <(asset) = [%]> then\n            set [🔢number move v] to [0]\n            go to x: (-200) y: (-100)\n            change y by (-20)\n        else\n            create clone of (_myself_ v)\n            go [forward v] (1) layers\n        end\n    else\n        stop [this script v]\n    end\nend\ngo to x: (0) y: (0)\n\ndefine * Texto *\nif <(🏠Level) = [1]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [go right to go to the next section]\n    else\n        Tipo [ve a la derecha para ir a la siguiente  seccio´n]\n    end\nend\nif <(🏠Level) = [2]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [jump above the slime to jump higher]\n    else\n        Tipo [salta encima del slime para saltar ma´s  alto!]\n    end\nend\nif <(🏠Level) = [4]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [crouch to go to small spaces \(use "s" or S \)]\n    else\n        Tipo [agachate para entrar en espacios peque- ños \(usa "s" o S \)]\n    end\nend\nif <(🏠Level) = [5]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [use the brush with "q", or the mobile \( B \)   button \(use it in the ª or º block\)]\n    else\n        Tipo [usa la brocha con "q", o el boto´n de celular \( B \), u´salo en los bloques: ª o º]\n    end\nend\nif <(🏠Level) = [7]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [ancestral creature unknown, it seems     like he loved the seeds...]\n    else\n        Tipo [criatura ancestral desconocida, parece  que se dedicaba a buscar semillas...]\n    end\nend\nif <(🏠Level) = [8]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [if you touch the slime in the side,%you'll bounce]\n    else\n        Tipo [si chocas con los slime de lado, rebota-ra´s]\n    end\nend\nif <(🏠Level) = [9]> then\n    Tipo [cherry blossom grove →%← birch forest]\nend\nif <(🏠Level) = [11]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [experiment  n4761%sculk sensor calibrated to only hear bru-shes \(use your brush\)]\n    else\n        Tipo [experimento nro 4761%sensor sculk calibrado para solo detect-ar brochas \(usa tu brocha\)]\n    end\nend\nif <(🏠Level) = [12]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [\(use your brush for the puzzles\)]\n    else\n        Tipo [\(usa tu brocha en los puzzles\)]\n    end\nend\nif <(🏠Level) = [15]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [sniffers' protected area]\n    else\n        Tipo [a´rea protegida del sniffer]\n    end\nend\nif <(🏠Level) = [16]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [trail ruins - in excavation]\n    else\n        Tipo [ruinas sendero - en excavacio´n]\n    end\nend\nif <(🏠Level) = [17]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [desert →]\n    else\n        Tipo [desierto →]\n    end\nend\nif <(🏠Level) = [19]> then\n    Tipo [← cherry grove%→ desert]\nend\nif <(🏠Level) = [20]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [crouch while walking to dash or use D, %you could use to pass by very small pla-ces]\n    else\n        Tipo [agachate mientras caminas para hacer un dash o usa D , puedes usarlo para ir por lugares   muy bajos]\n    end\nend\nif <(🏠Level) = [26]> then\n    if <(📒Idioma?) = [0]> then\n        Tipo [the bottom exit is locked%exit from the top]\n    else\n        Tipo [la salida de abajo esta´ tapada%salga por arriba]\n    end\nend\n\nwhen I receive [test v]\ndelete this clone\n\ndefine Instantxd\nset size to (100) %\ngo to (steve v)\nchange y by (55)\nswitch costume to (© v)\n\nwhen I receive [inicio v]\nhide\nforever\n    if < (costume [name v]) contains [©]?> then\n        if <<(☝Interact?) = [1]> and <(⏸) = [0]>> then\n            repeat (5)\n                Instantxd\n                change [ghost v] effect by (-20)\n            end\n            repeat until <<(☝Interact?) = [0]> or <(⏸) = [1]>>\n                show\n                Instantxd\n                set [ghost v] effect to (15)\n                if <<key (e v) pressed?> or <(📱E) = [1]>> then\n                    set [💬texto? v] to [1]\n                    wait (0.05) seconds\n                    set [🚶‍♂️player 1 move? v] to [0]\n                    set [🚶‍♂️player 2 move? v] to [0]\n                    go to x: (0) y: (0)\n                    set [ghost v] effect to (100)\n                    * Texto *\n                    repeat until <<mouse down?> or <<key (any v) pressed?> and <not <key (e v) pressed?>>>>\n                        hide\n                    end\n                    show\n                    broadcast (test v)\n                    set [🚶‍♂️player 1 move? v] to [1]\n                    set [🚶‍♂️player 2 move? v] to [1]\n                    set [💬texto? v] to [0]\n                end\n                switch costume to (© v)\n            end\n        else\n            repeat (5)\n                Instantxd\n                change [ghost v] effect by (20)\n            end\n            hide\n            wait until <<(☝Interact?) = [1]> and <(⏸) = [0]>>\n        end\n    end\nend\n\nwhen I start as a clone\nset volume to (🔊:) %\n\nwhen I start as a clone\nSetup CLON\nchange y by (-10)\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change y by (1)\n    change [ghost v] effect by (-10)\n    if <(costume [name v]) = [ ]> then\n        set [ghost v] effect to (100)\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\ndefine Setup CLON\ngo [forward v] (1) layers\nset size to (60) %\nswitch costume to (asset)\nrepeat (🔢Number Move)\n    change x by (10)\n    if <(x position) > (limite)> then\n        set x to (x)\n        change y by (-20)\n    end\nend\nif <not <(costume [name v]) = [ ]>> then\n    set [pitch v] effect to (pick random (0) to (10))\n    start sound (pick random (2) to (3))\nend\n\nwhen I receive [select v]\nstop [other scripts in sprite v]\ndelete this clone\n\nset [pitch v] effect to (pick random (10) to (20))\nstart sound [Kenny tuneado v]\n\nwhen flag clicked\nhide\n\nwhen I receive [inicio v]\nhide\nforever\n    if < (costume [name v]) contains [©]?> then\n        if <(📒Idioma?) = [0]> then\n            switch costume to (© v)\n        else\n            switch costume to (©2 v)\n        end\n    end\nend\n\nwhen I receive [a v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\ngo to x: (-200) y: (-100)\n\n@Chat Box\n\nwhen I receive [inicio v]\nset [🏠level v] to [1]\nset [💬texto? v] to [0]\nhide\nforever\n    if <(💬Texto?) = [1]> then\n        if <<(🏠Level) > [9]> and <(🏠Level) < [17]>> then\n            if <(📒Idioma?) = [0]> then\n                switch costume to (chat box 2 v)\n            else\n                switch costume to (chat box 2b v)\n            end\n        else\n            if <(📒Idioma?) = [0]> then\n                switch costume to (chat box 1 v)\n            else\n                switch costume to (chat box 1b v)\n            end\n        end\n        show\n        set [ghost v] effect to (100)\n        repeat (5)\n            change [ghost v] effect by (-20)\n        end\n        set [⏸ v] to [0]\n        wait until <(💬Texto?) = [0]>\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@Interact\n\nwhen I receive [inicio v]\nforever\n    switch costume to (🏠Level)\n    go to [back v] layer\n    go [forward v] (1) layers\n    set [☝interact? v] to [0]\n    if <touching (steve v)?> then\n        set [☝interact? v] to [1]\n    end\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [inicio v]\nset [ghost v] effect to (100)\nset [🛠debug v] to [0]\nforever\n    if <(username) = [TadeoCreeper]> then\n        if <key (0 v) pressed?> then\n            if <(🛠Debug) = [1]> then\n                set [🛠debug v] to [0]\n            else\n                set [🛠debug v] to [1]\n            end\n            if <(🛠Debug) = [1]> then\n                show variable [🏃‍♂️velocidad x v]\n                show variable [🏃‍♂️velocidad y v]\n                show variable [🏃‍♂️velocidad x p2 v]\n                show variable [🏃‍♂️velocidad y p2 v]\n                show variable [🏠level v]\n                show variable [🛠debug v]\n                show variable [📒idioma? v]\n                set [ghost v] effect to (50)\n            else\n                hide variable [🏃‍♂️velocidad x v]\n                hide variable [🏃‍♂️velocidad y v]\n                hide variable [🏃‍♂️velocidad x p2 v]\n                hide variable [🏃‍♂️velocidad y p2 v]\n                hide variable [🏠level v]\n                hide variable [🛠debug v]\n                hide variable [📒idioma? v]\n                set [ghost v] effect to (100)\n            end\n            wait until <not <key (0 v) pressed?>>\n        end\n    end\nend\n\nwhen flag clicked\nset [🛠debug v] to [0]\nhide variable [🏃‍♂️velocidad x v]\nhide variable [🏃‍♂️velocidad y v]\nhide variable [🏃‍♂️velocidad x p2 v]\nhide variable [🏃‍♂️velocidad y p2 v]\nhide variable [🏠level v]\nhide variable [🛠debug v]\nhide variable [📒idioma? v]\nset [ghost v] effect to (100)\n\n@Hats\n\nwhen I start as a clone\ngo to [back v] layer\nif <(Player?) = [1]> then\n    go [forward v] (5) layers\nend\nif <(Player?) = [2]> then\n    go [forward v] (5) layers\nend\nshow\nforever\n    go to [back v] layer\n    if <(Player?) = [1]> then\n        go [forward v] (15) layers\n    end\n    if <(Player?) = [2]> then\n        go [forward v] (11) layers\n    end\n    if <(Player?) = [1]> then\n        go to (steve v)\n        point in direction ([direction v] of [steve v])\n        switch costume to (item (1) of [🎓hats v])\n        if <<(⏩Dash P1) > [0.5]> and <not <(item (1) of [🎓hats v]) = [0]>>> then\n            switch costume to ((item (1) of [🎓hats v]) + (12))\n        else\n            if <(🔽Agachar P1) = [1]> then\n                change y by (-7)\n                move (6) steps\n            end\n        end\n    end\n    if <(Player?) = [2]> then\n        go to (alex v)\n        point in direction ([direction v] of [alex v])\n        switch costume to (item (2) of [🎓hats v])\n        if <<(⏩Dash P2) > [0.5]> and <not <(item (2) of [🎓hats v]) = [0]>>> then\n            switch costume to ((item (2) of [🎓hats v]) + (12))\n        else\n            if <(🔽Agachar P2) = [1]> then\n                change y by (-7)\n                move (6) steps\n            end\n        end\n    end\nend\n\nwhen I receive [inicio v]\nwait (0) seconds\nset [player? v] to [1]\ncreate clone of (_myself_ v)\nif <(🙍‍♂️Multiplayer?) = [1]> then\n    set [player? v] to [2]\n    create clone of (_myself_ v)\nend\n\nwhen I receive [credits v]\ndelete this clone\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nshow list [special people v]\ndelete all of [🎓hats v]\nadd [0] to [🎓hats v]\nadd [0] to [🎓hats v]\nif <(username) = [Favila13_2]> then\n    replace item (1) of [🎓hats v] with [12]\nend\nif <[special people v] contains (username)?> then\n    replace item (1) of [🎓hats v] with [11]\nend\n\n@Steve\n\nwhen I receive [next v]\nset [⏩dash p1 v] to [0]\nset [previous y pos p1 v] to (y position)\nif <(🏠Level) = [17]> then\n    go to x: (-186) y: (2000)\nelse\n    go to x: (-220) y: (y position)\nend\n\ndefine Mover: (lado)\nif <<(⏸) = [0]> and <(🚶‍♂️Player 1 Move?) = [1]>> then\n    if <(lado) = [izquierda]> then\n        set [🚶‍♂️mov p1 v] to [1]\n        if <(Ans Costume) = [5]> then\n            change [🏃‍♂️velocidad x v] by (-0.5)\n        else\n            change [🏃‍♂️velocidad x v] by (-1)\n        end\n    end\n    if <(lado) = [derecha]> then\n        set [🚶‍♂️mov p1 v] to [1]\n        if <(Ans Costume) = [5]> then\n            change [🏃‍♂️velocidad x v] by (0.5)\n        else\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    if <(lado) = [arriba]> then\n        set [🚶‍♂️mov p1 v] to [2]\n        change [🏃‍♂️velocidad y v] by (14.5)\n    end\n    if <(lado) = [dash1]> then\n        set [🏃‍♂️velocidad x v] to [-15]\n    end\n    if <(lado) = [dash2]> then\n        set [🏃‍♂️velocidad x v] to [15]\n    end\nend\n\ndefine Gravedad <xd>\nset [ans costume v] to (costume [name v])\nif < (Ans Costume) contains [agachado]?> then\n    switch costume to (hb2 v)\nelse\n    switch costume to (hb1 v)\nend\nif <(⏸) = [0]> then\n    if <(🚶‍♂️Player 1 Move?) = [1]> then\n        set [🚶‍♂️mov p1 v] to [0]\n        if <not <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>>> then\n            if <(⏩Dash P1) < [1]> then\n                if <<key (a v) pressed?> or <<(🕹Stick X) < [-0.5]> and <(📱Mobile?) = [1]>>> then\n                    Mover: [izquierda]\n                end\n                if <<key (d v) pressed?> or <<(🕹Stick X) > [0.5]> and <(📱Mobile?) = [1]>>> then\n                    Mover: [derecha]\n                end\n            else\n                if <(⏩Dash P1) = [1]> then\n                    Mover: [dash1]\n                end\n                if <(⏩Dash P1) = [2]> then\n                    Mover: [dash2]\n                end\n            end\n            switch costume to (hb3 v)\n            if <<<key (w v) pressed?> or <<(🕹Stick Y) > [0.5]> and <(📱Mobile?) = [1]>>> and <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n                Mover: [arriba]\n            end\n        else\n            set [🚶‍♂️mov p1 v] to [3]\n        end\n        if < (Ans Costume) contains [Dash]?> then\n            switch costume to (hbd v)\n        else\n            if < (Ans Costume) contains [agachado]?> then\n                switch costume to (hb2 v)\n            else\n                switch costume to (hb1 v)\n            end\n        end\n    end\n    if <not <<(🚶‍♂️Player 1 Move?) = [0]> and <(🏠Level) < [18]>>> then\n        set [🏃‍♂️velocidad x v] to ((🏃‍♂️Velocidad X) * (0.9))\n        change x by (🏃‍♂️Velocidad X)\n        xd\n        change [🏃‍♂️velocidad y v] by (-1)\n        change y by (🏃‍♂️Velocidad Y)\n        if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n            change y by ((🏃‍♂️Velocidad Y) * (-1))\n            set [🏃‍♂️velocidad y v] to [0]\n        end\n        change y by (-1)\n    end\nend\nswitch costume to (Ans Costume)\n\nwhen I receive [inicio v]\nset [🚶‍♂️player 1 move? v] to [1]\nset [🚶‍♂️player 2 move? v] to [1]\nset [📱mobile agachar? v] to [0]\nset [🧹cepillar mobile v] to [0]\nset [🕹stick x v] to [0]\nset [🕹stick y v] to [0]\ncreate clone of (_myself_ v)\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 1 Move?) = [1]>> then\n        if <<<<<key (d v) pressed?> or <key (a v) pressed?>> or <(⏩Dash P1) = [-1]>> or <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>>> or <<key (s v) pressed?> or <<<(🕹Stick Y) < [-0.5]> or <<(🕹Stick X) > [0.5]> or <<(🕹Stick X) < [-0.5]> or <(📱Mobile agachar?) = [1]>>>> and <(📱Mobile?) = [1]>>>> then\n            if <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>> then\n                repeat until <not <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>>>\n                    switch costume to (personaje brush 2 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 1 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 2 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 3 v)\n                    wait (0.04) seconds\n                end\n            else\n                if <<<<(🕹Stick Y) < [-0.5]> or <(📱Mobile agachar?) = [1]>> or <<key (s v) pressed?> or <(↕Levantar? P1) = [0]>>> and <not <<<key (a v) pressed?> or <key (d v) pressed?>> and <(🏠Level) > [18]>>>> then\n                    switch costume to (personaje agachado v)\n                    repeat until <<not <<<(🕹Stick Y) < [-0.5]> or <(📱Mobile agachar?) = [1]>> or <key (s v) pressed?>>> and <(↕Levantar? P1) = [1]>>\n                        if <<<(🕹Stick X) < [-0.5]> or <key (a v) pressed?>> or <<<(🕹Stick X) > [0.5]> or <key (d v) pressed?>> or <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>>>> then\n                            if <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>> then\n                                repeat until <not <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>>>\n                                    switch costume to (agachado brush 2 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 1 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 2 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 3 v)\n                                    wait (0.04) seconds\n                                end\n                            else\n                                if <<(direction) = [-90]> and <<(🕹Stick X) < [-0.5]> or <key (a v) pressed?>>> then\n                                    switch costume to (personaje agachado v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado caminar 1 v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado caminar 2 v)\n                                else\n                                    if <<(direction) = [90]> and <<(🕹Stick X) > [0.5]> or <key (d v) pressed?>>> then\n                                        switch costume to (personaje agachado v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado caminar 1 v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado caminar 2 v)\n                                    else\n                                        switch costume to (personaje agachado mirar v)\n                                        wait (0.01) seconds\n                                        switch costume to (personaje agachado v)\n                                        turn right (180) degrees\n                                    end\n                                end\n                            end\n                        else\n                            switch costume to (personaje agachado v)\n                        end\n                    end\n                    switch costume to (personaje agachado v)\n                else\n                    if <<(direction) = [-90]> and <<<(🕹Stick X) < [-0.5]> or <key (a v) pressed?>> or <(⏩Dash P1) = [-1]>>> then\n                        if <<<<key (s v) pressed?> or <(⏩Dash P1) = [-1]>> and <(🏠Level) > [18]>> and <<(⏩Dash P1) < [0]> or <(⏩Dash P1) = [0]>>> then\n                            start sound (join [Dash//Dash] (pick random (1) to (2)))\n                            set [⏩dash p1 v] to [1]\n                            switch costume to (personaje dash v)\n                            wait (0.01) seconds\n                            switch costume to (personaje dash 2 v)\n                            wait (0.3) seconds\n                            wait until <(↕Levantar? P1) = [1]>\n                            set [⏩dash p1 v] to [0.5]\n                        else\n                            switch costume to (personaje neutral v)\n                            wait (0.05) seconds\n                            switch costume to (personaje caminar v)\n                            wait (0.05) seconds\n                            switch costume to (personaje neutral v)\n                            wait (0.05) seconds\n                            switch costume to (personaje caminar 2 v)\n                        end\n                    else\n                        if <<(direction) = [90]> and <<<(🕹Stick X) > [0.5]> or <key (d v) pressed?>> or <(⏩Dash P1) = [-1]>>> then\n                            if <<<<key (s v) pressed?> or <(⏩Dash P1) = [-1]>> and <(🏠Level) > [18]>> and <<(⏩Dash P1) < [0]> or <(⏩Dash P1) = [0]>>> then\n                                start sound (join [Dash//Dash] (pick random (1) to (2)))\n                                set [⏩dash p1 v] to [2]\n                                switch costume to (personaje dash v)\n                                wait (0.01) seconds\n                                switch costume to (personaje dash 2 v)\n                                wait (0.3) seconds\n                                wait until <(↕Levantar? P1) = [1]>\n                                set [⏩dash p1 v] to [0.5]\n                            else\n                                switch costume to (personaje neutral v)\n                                wait (0.05) seconds\n                                switch costume to (personaje caminar v)\n                                wait (0.05) seconds\n                                switch costume to (personaje neutral v)\n                                wait (0.05) seconds\n                                switch costume to (personaje caminar 2 v)\n                            end\n                        else\n                            switch costume to (personajemirar v)\n                            wait (0.01) seconds\n                            switch costume to (personaje neutral v)\n                            turn right (180) degrees\n                        end\n                    end\n                end\n            end\n        else\n            set [⏩dash p1 v] to [0]\n            switch costume to (personaje neutral v)\n        end\n        set [pan left/right v] effect to ((x position) / (2.5))\n    end\nend\n\nwhen I receive [inicio v]\nset rotation style [left-right v]\nset [🏃‍♂️velocidad y v] to [0]\nset [🏃‍♂️velocidad x v] to [0]\npoint in direction (90)\ngo to x: (-198) y: (-60)\nshow\nforever\n    Gravedad <<touching (suelo v)?> or <touching (suspicius sand v)?>>\nend\n\nwhen I receive [inicio v]\nset [🚶‍♂️player 1 move? v] to [1]\nforever\n    if <(y position) < [-182]> then\n        if <(🏠Level) = [16]> then\n            change [🏠level v] by (1)\n            broadcast (next v)\n        else\n            if <(🏠Level) = [17]> then\n                go to x: (-186) y: (2000)\n            else\n                go to x: (-240) y: (Previous Y pos P1)\n            end\n            change y by (5)\n            if <touching (suelo v)?> then\n                set [↕levantar? p1 v] to [0]\n                switch costume to (personaje agachado v)\n            end\n            change y by (-5)\n            wait (0) seconds\n        end\n    end\nend\n\nchange x by (10)\n\nwhen I start as a clone\nswitch costume to (detectador v)\nforever\n    go to (steve v)\n    set [ghost v] effect to (100)\n    if <touching (suelo v)?> then\n        set [↕levantar? p1 v] to [0]\n    else\n        set [↕levantar? p1 v] to [1]\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    Slime [1]\n    Slime [2]\nend\n\ndefine Slime (nr)\nif <(nr) = [1]> then\n    if <touching (slime v)?> then\n        set [ans costume v] to (costume [number v])\n        switch costume to (n v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad y v] to [-5]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (s v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad y v] to ((15) + (([abs v] of (🏃‍♂️Velocidad Y) ) / (3)))\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (l v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad x v] to [9]\n            set [🏃‍♂️velocidad y v] to [7]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (r v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad x v] to [-9]\n            set [🏃‍♂️velocidad y v] to [7]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (Ans Costume)\n    end\nend\nif <(nr) = [2]> then\n    if <(x position) > [230]> then\n        broadcast (next v)\n        change [🏠level v] by (1)\n    end\nend\n\nwhen I receive [inicio v]\ncreate clone of (_myself_ v)\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 1 Move?) = [1]>> then\n        repeat until <not <key (q v) pressed?>>\n            set [pitch v] effect to (pick random (-20) to (20))\n            start sound (join [Brush] (pick random (1) to (3)))\n            wait (0.2) seconds\n        end\n    end\nend\n\nwhen I receive [nextn't v]\ngo to x: (220) y: (y position)\n\ndefine xd\nrepeat (6)\n    if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n        change y by (1)\n    else\n        stop [this script v]\n    end\nend\nif <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n    change x by ((🏃‍♂️Velocidad X) * (-1))\n    change y by (-5)\nend\n\nif <(🏠Level) > [1]> then\n    if <(x position) < [-235]> then\n        broadcast (nextn't v)\n        change [🏠level v] by (-1)\n    end\nend\n\nstop [this script v]\n\nwhen I receive [next p2 v]\nset [⏩dash p1 v] to [0]\nwait (0) seconds\nif <(🏠Level) = [17]> then\n    go to x: (-186) y: (2000)\nelse\n    go to x: (-220) y: (Previous Y pos P2)\nend\nset [previous y pos p1 v] to (y position)\n\nwhen I receive [inicio v]\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 1 Move?) = [1]>> then\n        set [🔽agachar p1 v] to [0]\n        if <<<(🕹Stick Y) < [-0.5]> or <(📱Mobile agachar?) = [1]>> or <<key (s v) pressed?> or <(↕Levantar? P1) = [0]>>> then\n            set [🔽agachar p1 v] to [1]\n        end\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    set volume to (🔊:) %\nend\n\nwhen I receive [perl p1 v]\ngo to (ender perl p1 v)\n\nwhen I receive [next v]\nset [🏃‍♂️velocidad x v] to [0]\nif <(🏠Level) = [18]> then\n    point in direction (90)\n    wait (0.1) seconds\n    go to x: (-220) y: (Previous Y pos P1)\n    set [🚶‍♂️player 1 move? v] to [0]\n    set [🚶‍♂️player 2 move? v] to [0]\n    set [🏃‍♂️velocidad x v] to [0]\n    wait (0.5) seconds\n    broadcast (No sé lol v)\n    repeat (25)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    set [🏃‍♂️velocidad y v] to [15]\n    repeat (15)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    wait (0.5) seconds\n    set [🏃‍♂️velocidad y v] to [15]\n    repeat (5)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    wait (2) seconds\n    stop [other scripts in sprite v]\n    broadcast (credits v)\nend\n\nwhen I receive [no sé lol v]\nif <(🏠Level) = [29]> then\n    repeat (8)\n        switch costume to (personaje caminar v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n        wait (0) seconds\n        switch costume to (personaje caminar 2 v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n    end\nelse\n    repeat (8)\n        switch costume to (personaje caminar v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n        wait (0) seconds\n        switch costume to (personaje caminar 2 v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n    end\n    wait (0.7) seconds\n    repeat (3)\n        switch costume to (personaje caminar v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n        wait (0) seconds\n        switch costume to (personaje caminar 2 v)\n        wait (0) seconds\n        switch costume to (personaje neutral v)\n    end\nend\n\nset [🏠level v] to [17]\nset [↕levantar? p1 v] to [1]\ngo to x: (-220) y: (Previous Y pos P1)\n\nwhen I receive [credits v]\ndelete this clone\n\nwhen I receive [next p2 v]\nset [🏃‍♂️velocidad x v] to [0]\nif <(🏠Level) = [18]> then\n    wait (0.1) seconds\n    go to x: (-220) y: (Previous Y pos P1)\n    set [🚶‍♂️player 1 move? v] to [0]\n    set [🚶‍♂️player 2 move? v] to [0]\n    set [🏃‍♂️velocidad x v] to [0]\n    wait (0.5) seconds\n    broadcast (No sé lol v)\n    repeat (25)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    set [🏃‍♂️velocidad y v] to [15]\n    repeat (15)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    wait (0.5) seconds\n    set [🏃‍♂️velocidad y v] to [15]\n    repeat (5)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    wait (2) seconds\n    stop [other scripts in sprite v]\n    broadcast (credits v)\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [title screen v]\nset [📱mobile? v] to [0]\nset [🙍‍♂️multiplayer? v] to [0]\n\nwhen I receive [inicio v]\nforever\n    if <(⏩Dash P1) = [0.5]> then\n        wait (0.15) seconds\n        start sound [Dash//Recover v]\n        set [⏩dash p1 v] to [0]\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    if <<(item (1) of [🎓hats v]) = [7]> or <<(item (1) of [🎓hats v]) > [9]> and <(item (1) of [🎓hats v]) < [13]>>> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [next v]\nset [🏃‍♂️velocidad x v] to [0]\nif <(🏠Level) = [29]> then\n    point in direction (90)\n    wait (0.1) seconds\n    go to x: (-220) y: (Previous Y pos P1)\n    set [🚶‍♂️player 1 move? v] to [0]\n    set [🚶‍♂️player 2 move? v] to [0]\n    set [🏃‍♂️velocidad x v] to [0]\n    wait (0.5) seconds\n    broadcast (No sé lol v)\n    repeat (25)\n        if <(🏃‍♂️Velocidad X) < [9]> then\n            change [🏃‍♂️velocidad x v] by (1)\n        end\n    end\n    wait (3) seconds\n    stop [other scripts in sprite v]\n    broadcast (credits v)\nend\n\n@Alex\n\ndefine Mover: (lado)\nif <<(⏸) = [0]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n    if <(lado) = [izquierda]> then\n        set [🚶‍♂️mov p2 v] to [1]\n        if <(Ans Costume) = [5]> then\n            change [🏃‍♂️velocidad x p2 v] by (-0.5)\n        else\n            change [🏃‍♂️velocidad x p2 v] by (-1)\n        end\n    end\n    if <(lado) = [derecha]> then\n        set [🚶‍♂️mov p2 v] to [1]\n        if <(Ans Costume) = [5]> then\n            change [🏃‍♂️velocidad x p2 v] by (0.5)\n        else\n            change [🏃‍♂️velocidad x p2 v] by (1)\n        end\n    end\n    if <(lado) = [arriba]> then\n        set [🚶‍♂️mov p2 v] to [2]\n        change [🏃‍♂️velocidad y p2 v] by (14.5)\n    end\n    if <(lado) = [dash1]> then\n        set [🏃‍♂️velocidad x p2 v] to [-15]\n    end\n    if <(lado) = [dash2]> then\n        set [🏃‍♂️velocidad x p2 v] to [15]\n    end\nend\n\ndefine Gravedad <xd>\nset [ans costume v] to (costume [name v])\nif < (Ans Costume) contains [Dash]?> then\n    switch costume to (hbd v)\nelse\n    if < (Ans Costume) contains [agachado]?> then\n        switch costume to (hb2 v)\n    else\n        switch costume to (hb1 v)\n    end\nend\nif <<(⏸) = [0]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n    set [🚶‍♂️mov p2 v] to [0]\n    if <not <key (m v) pressed?>> then\n        if <(⏩Dash P2) < [1]> then\n            if <<key (left arrow v) pressed?> or <<(🕹Stick X) < [-0.5]> and <(📱Mobile?) = [1]>>> then\n                Mover: [izquierda]\n            end\n            if <<key (right arrow v) pressed?> or <<(🕹Stick X) > [0.5]> and <(📱Mobile?) = [1]>>> then\n                Mover: [derecha]\n            end\n        else\n            if <(⏩Dash P2) = [1]> then\n                Mover: [dash1]\n            end\n            if <(⏩Dash P2) = [2]> then\n                Mover: [dash2]\n            end\n        end\n        switch costume to (hb3 v)\n        if <<<key (up arrow v) pressed?> or <<(🕹Stick Y) > [0.5]> and <(📱Mobile?) = [1]>>> and <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n            Mover: [arriba]\n        end\n    else\n        set [🚶‍♂️mov p2 v] to [3]\n    end\n    if < (Ans Costume) contains [Dash]?> then\n        switch costume to (hbd v)\n    else\n        if < (Ans Costume) contains [agachado]?> then\n            switch costume to (hb2 v)\n        else\n            switch costume to (hb1 v)\n        end\n    end\n    set [🏃‍♂️velocidad x p2 v] to ((🏃‍♂️Velocidad X P2) * (0.9))\n    change x by (🏃‍♂️Velocidad X P2)\n    xd\n    change [🏃‍♂️velocidad y p2 v] by (-1)\n    change y by (🏃‍♂️Velocidad Y P2)\n    if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n        change y by ((🏃‍♂️Velocidad Y P2) * (-1))\n        set [🏃‍♂️velocidad y p2 v] to [0]\n    end\n    change y by (-1)\nend\nswitch costume to (Ans Costume)\n\nwhen I receive [multiplayer v]\ncreate clone of (_myself_ v)\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n        if <<<<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <(⏩Dash P1) = [-1]>> or <key (down arrow v) pressed?>> or <key (m v) pressed?>> then\n            if <key (m v) pressed?> then\n                repeat until <not <key (m v) pressed?>>\n                    switch costume to (personaje brush 2 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 1 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 2 v)\n                    wait (0.04) seconds\n                    switch costume to (personaje brush 3 v)\n                    wait (0.04) seconds\n                end\n            else\n                if <<<key (down arrow v) pressed?> or <(↨Levantar P2) = [0]>> and <not <<<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> and <(🏠Level) > [18]>>>> then\n                    switch costume to (personaje agachado v)\n                    repeat until <<not <key (down arrow v) pressed?>> and <(↨Levantar P2) = [1]>>\n                        if <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <key (m v) pressed?>>> then\n                            if <key (m v) pressed?> then\n                                repeat until <not <key (m v) pressed?>>\n                                    switch costume to (agachado brush 2 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 1 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 2 v)\n                                    wait (0.04) seconds\n                                    switch costume to (agachado brush 3 v)\n                                    wait (0.04) seconds\n                                end\n                            else\n                                if <<(direction) = [-90]> and <key (left arrow v) pressed?>> then\n                                    switch costume to (personaje agachado v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado caminar 1 v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado v)\n                                    wait (0.05) seconds\n                                    switch costume to (personaje agachado caminar 2 v)\n                                else\n                                    if <<(direction) = [90]> and <key (right arrow v) pressed?>> then\n                                        switch costume to (personaje agachado v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado caminar 1 v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado v)\n                                        wait (0.05) seconds\n                                        switch costume to (personaje agachado caminar 2 v)\n                                    else\n                                        switch costume to (personaje agachado mirar v)\n                                        wait (0.01) seconds\n                                        switch costume to (personaje agachado v)\n                                        turn right (180) degrees\n                                    end\n                                end\n                            end\n                        else\n                            switch costume to (personaje agachado v)\n                        end\n                    end\n                    switch costume to (personaje agachado v)\n                else\n                    if <<(direction) = [-90]> and <<key (left arrow v) pressed?> or <(⏩Dash P2) = [-1]>>> then\n                        if <<<<key (down arrow v) pressed?> or <(⏩Dash P2) = [-1]>> and <(🏠Level) > [18]>> and <<(⏩Dash P2) < [0]> or <(⏩Dash P2) = [0]>>> then\n                            start sound (join [Dash//Dash] (pick random (1) to (2)))\n                            set [⏩dash p2 v] to [1]\n                            switch costume to (personaje dash v)\n                            wait (0.01) seconds\n                            switch costume to (personaje dash 2 v)\n                            wait (0.3) seconds\n                            wait until <(↨Levantar P2) = [1]>\n                            set [⏩dash p2 v] to [0.5]\n                        else\n                            switch costume to (personaje neutral v)\n                            wait (0.05) seconds\n                            switch costume to (personaje caminar v)\n                            wait (0.05) seconds\n                            switch costume to (personaje neutral v)\n                            wait (0.05) seconds\n                            switch costume to (personaje caminar 2 v)\n                        end\n                    else\n                        if <<(direction) = [90]> and <<key (right arrow v) pressed?> or <(⏩Dash P2) = [-1]>>> then\n                            if <<<<key (down arrow v) pressed?> or <(⏩Dash P2) = [-1]>> and <(🏠Level) > [18]>> and <<(⏩Dash P2) < [0]> or <(⏩Dash P2) = [0]>>> then\n                                start sound (join [Dash//Dash] (pick random (1) to (2)))\n                                set [⏩dash p2 v] to [2]\n                                switch costume to (personaje dash v)\n                                wait (0.01) seconds\n                                switch costume to (personaje dash 2 v)\n                                wait (0.3) seconds\n                                wait until <(↨Levantar P2) = [1]>\n                                set [⏩dash p2 v] to [0.5]\n                            else\n                                switch costume to (personaje neutral v)\n                                wait (0.05) seconds\n                                switch costume to (personaje caminar v)\n                                wait (0.05) seconds\n                                switch costume to (personaje neutral v)\n                                wait (0.05) seconds\n                                switch costume to (personaje caminar 2 v)\n                            end\n                        else\n                            switch costume to (personajemirar v)\n                            wait (0.01) seconds\n                            switch costume to (personaje neutral v)\n                            turn right (180) degrees\n                        end\n                    end\n                end\n            end\n        else\n            set [⏩dash p2 v] to [0]\n            switch costume to (personaje neutral v)\n        end\n        set [pan left/right v] effect to ((x position) / (2.5))\n    end\nend\n\nwhen I receive [multiplayer v]\nset [🙍‍♂️multiplayer? v] to [1]\nset rotation style [left-right v]\nset [🏃‍♂️velocidad y p2 v] to [0]\nset [🏃‍♂️velocidad x p2 v] to [0]\npoint in direction (90)\ngo to x: (-198) y: (-60)\nshow\nforever\n    Gravedad <<touching (suelo v)?> or <touching (suspicius sand v)?>>\nend\n\nwhen I receive [multiplayer v]\nset [🚶‍♂️player 2 move? v] to [1]\nforever\n    if <(y position) < [-182]> then\n        if <(🏠Level) = [16]> then\n            change [🏠level v] by (1)\n            broadcast (next v)\n        else\n            if <(🏠Level) = [17]> then\n                go to x: (-186) y: (2000)\n            else\n                go to x: (-240) y: (Previous Y pos P2)\n            end\n            change y by (5)\n            if <touching (suelo v)?> then\n                set [↨levantar p2 v] to [0]\n                switch costume to (personaje agachado v)\n            end\n            change y by (-5)\n            wait (0) seconds\n        end\n    end\nend\n\nchange x by (10)\n\nwhen I start as a clone\nswitch costume to (detectador v)\nforever\n    go to (alex v)\n    set [ghost v] effect to (100)\n    if <touching (suelo v)?> then\n        set [↨levantar p2 v] to [0]\n    else\n        set [↨levantar p2 v] to [1]\n    end\nend\n\nwhen I receive [multiplayer v]\nshow\nforever\n    Slime [1]\n    Slime [2]\nend\n\ndefine Slime (nr)\nif <(nr) = [1]> then\n    if <touching (slime v)?> then\n        set [ans costume v] to (costume [number v])\n        switch costume to (n v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad y p2 v] to [-5]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (s v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad y p2 v] to ((15) + (([abs v] of (🏃‍♂️Velocidad Y P2) ) / (3)))\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (l v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad x p2 v] to [9]\n            set [🏃‍♂️velocidad y p2 v] to [7]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (r v)\n        if <touching (slime v)?> then\n            start sound (join [Slime ] (pick random (1) to (3)))\n            set [🏃‍♂️velocidad x p2 v] to [-9]\n            set [🏃‍♂️velocidad y p2 v] to [7]\n            switch costume to (Ans Costume)\n            stop [this script v]\n        end\n        switch costume to (Ans Costume)\n    end\nend\nif <(nr) = [2]> then\n    if <(x position) > [230]> then\n        broadcast (next p2 v)\n        change [🏠level v] by (1)\n    end\nend\n\nwhen I receive [multiplayer v]\ncreate clone of (_myself_ v)\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n        repeat until <not <key (q v) pressed?>>\n            set [pitch v] effect to (pick random (-20) to (20))\n            start sound (join [Brush] (pick random (1) to (3)))\n            wait (0.2) seconds\n        end\n    end\nend\n\nwhen I receive [nextn't v]\ngo to x: (220) y: (y position)\n\ndefine xd\nrepeat (6)\n    if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n        change y by (1)\n    else\n        stop [this script v]\n    end\nend\nif <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n    change x by ((🏃‍♂️Velocidad X P2) * (-1))\n    change y by (-5)\nend\n\nif <(🏠Level) > [1]> then\n    if <(x position) < [-235]> then\n        broadcast (nextn't v)\n        change [🏠level v] by (-1)\n    end\nend\n\nwhen flag clicked\nset [🙍‍♂️multiplayer? v] to [0]\nhide\n\nwhen I receive [multiplayer v]\nforever\n    if <<(⏸) = [0]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n        set [🔽agachar p2 v] to [0]\n        if <<key (down arrow v) pressed?> or <(↨Levantar P2) = [0]>> then\n            set [🔽agachar p2 v] to [1]\n        end\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    set volume to (🔊:) %\nend\n\nwhen I receive [next v]\nset [⏩dash p2 v] to [0]\nwait (0) seconds\nif <(🏠Level) = [17]> then\n    go to x: (-186) y: (2000)\nelse\n    go to x: (-220) y: (Previous Y pos P1)\nend\nset [previous y pos p2 v] to (y position)\n\nwhen I receive [next p2 v]\nset [⏩dash p2 v] to [0]\nset [previous y pos p2 v] to (y position)\nif <(🏠Level) = [17]> then\n    go to x: (-186) y: (2000)\nelse\n    go to x: (-220) y: (Previous Y pos P2)\nend\n\nwhen I receive [credits v]\ndelete this clone\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [inicio v]\nif <(🙍‍♂️Multiplayer?) = [0]> then\n    hide\nelse\n    show\nend\n\nwhen I receive [inicio v]\nforever\n    if <(⏩Dash P2) = [0.5]> then\n        wait (0.15) seconds\n        start sound [Dash//Recover v]\n        set [⏩dash p2 v] to [0]\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    if <<(item (2) of [🎓hats v]) = [7]> or <<(item (2) of [🎓hats v]) > [9]> and <(item (2) of [🎓hats v]) < [13]>>> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@Ender Perl P1\n\nwhen I receive [inicio v]\nforever\n    if <(📱Mobile?) = [0]> then\n        if <<key (1 v) pressed?> and <(🚙TP) = [1]>> then\n            if <(🚶‍♂️Player 1 Move?) = [1]> then\n                switch costume to (a v)\n                broadcast (fisicas v)\n                set volume to (🔊:) %\n                start sound [Trow v]\n                show\n                go to (steve v)\n                point towards (mouse-pointer v)\n                set [vel x v] to ((([sin v] of (direction) ) * (18)) + ((🏃‍♂️Velocidad X) / (2)))\n                set [vel y v] to ((([cos v] of (direction) ) * (18)) + ((🏃‍♂️Velocidad Y) / (2)))\n                wait until <<<touching (suelo v)?> or <touching (suspicius sand v)?>> or <<(y position) < [-179]> or <(x position) > [235]>>>\n                stop [other scripts in sprite v]\n                if <(y position) < [-179]> then\n                    hide\n                else\n                    Colocar\n                    start sound [Land v]\n                    hide\n                end\n                wait (0.5) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [fisicas v]\nforever\n    change x by (Vel X)\n    change y by (Vel Y)\n    if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n        set [vel y v] to [0]\n    else\n        if <(Vel Y) < [-25]> then\n    end\n    if <(Vel X) > [0]> then\n        change [vel x v] by (-0.15)\n    else\n        if <(Vel X) < [0]> then\n            change [vel x v] by (0.15)\n        end\n    end\nend\n\ndefine Colocar\nswitch costume to (a2 v)\nif <(x position) > [235]> then\n    change x by (-20)\n    broadcast (perl P1 v)\nelse\n    if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n        repeat (50)\n            change x by (1)\n            if <not <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n                broadcast (perl P1 v)\n                stop [this script v]\n            end\n        end\n        if <touching (suelo v)?> then\n            repeat (100)\n                change x by (-1)\n                if <not <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n                    broadcast (perl P1 v)\n                    stop [this script v]\n                end\n            end\n            if <<touching (suelo v)?> or <touching (suspicius sand v)?>> then\n                repeat (50)\n                    change y by (1)\n                    if <not <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n                        broadcast (perl P1 v)\n                        stop [this script v]\n                    end\n                end\n                repeat (100)\n                    change y by (-1)\n                    if <not <<touching (suelo v)?> or <touching (suspicius sand v)?>>> then\n                        broadcast (perl P1 v)\n                        stop [this script v]\n                    end\n                end\n                if <(y position) > [179]> then\n                    broadcast (perl v)\n                    stop [this script v]\n                end\n            end\n        end\n    end\n    broadcast (perl P1 v)\nend\n\nwhen I receive [ender perl v]\nif <not <(🚞Nivel?) = [11]>> then\n    if <(🚶‍♂️Player 1 Move?) = [1]> then\n        switch costume to (a v)\n        broadcast (fisicas v)\n        set volume to (🔊:) %\n        start sound [Trow v]\n        show\n        go to (steve v)\n        point towards (mouse-pointer v)\n        if <([direction v] of [steve v]) > [0]> then\n            set [vel x v] to ((pick random (6) to (12)) + ((🏃‍♂️Velocidad X) / (2)))\n            set [vel y v] to ((pick random (13) to (15)) + ((🏃‍♂️Velocidad Y) / (2)))\n        else\n            set [vel x v] to (() - ((pick random (6) to (12)) + ([abs v] of ((🏃‍♂️Velocidad X) / (2)) )))\n            set [vel y v] to ((pick random (13) to (15)) + ((🏃‍♂️Velocidad Y) / (2)))\n        end\n        wait until <<<touching (suelo v)?> or <touching (suspicius sand v)?>> or <<(y position) < [-179]> or <(x position) > [235]>>>\n        stop [other scripts in sprite v]\n        if <(y position) < [-179]> then\n            hide\n        else\n            Colocar\n            start sound [Land v]\n            hide\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [title screen v]\nstop [other scripts in sprite v]\nhide\n\nrepeat (10)\n    change y by (1)\nend\n\nwhen I receive [next v]\nwait (0) seconds\ngo to (steve v)\n\n@Sniffer\n\nwhen I receive [title screen v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [particles v]\nif <(costume [number v]) < [19]> then\n    wait until <(⏸) = [0]>\n    repeat (90)\n        check [2]\n        wait until <(⏸) = [0]>\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [dirt]> then\n    forever\n        change x by (vx)\n        change y by (vy)\n        if <(vy) > [-25]> then\n            change [vy v] by (-0.5)\n        else\n            set [vy v] to [-25]\n        end\n        change [vx v] by ((vx) * (-0.05))\n    end\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [dirt]> then\n    change y by (-30)\n    move (60) steps\n    change x by (pick random (-10) to (10))\n    go [forward v] (1) layers\n    switch costume to (dirt v)\n    show\n    set [vx v] to (pick random (-6) to (6))\n    set [vy v] to (pick random (2) to (5))\n    set size to (pick random (70) to (100)) %\n    repeat until <<touching (sí//piso feo v)?> or <(y position) < [-179]>>\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\ndefine check (2)\nif <(2) = [1]> then\n    set [anterior v] to (costume [number v])\n    switch costume to (hitbox v)\n    move (5) steps\n    if <not <<touching (suelo v)?> or <touching (_edge_ v)?>>> then\n        move (5) steps\n        switch costume to (anterior)\n        stop [this script v]\n    end\n    move (-5) steps\n    point in direction (() - (direction))\n    move (5) steps\n    switch costume to (anterior)\nend\nif <(2) = [2]> then\n    set [anterior v] to (costume [number v])\n    switch costume to (dirt v)\n    create clone of (_myself_ v)\n    switch costume to (anterior)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [21]> then\n    show\n    switch costume to (idle v)\n    set [🚶‍♂️player 1 move? v] to [0]\n    set [🚶‍♂️player 2 move? v] to [0]\n    set x to (0)\n    set y to (-79)\n    Move: [3]\n    set [🚶‍♂️player 1 move? v] to [1]\n    set [🚶‍♂️player 2 move? v] to [1]\n    forever\n        switch costume to (idle v)\n        wait (pick random (2) to (5)) seconds\n        set [move v] to (pick random (1) to (7))\n        if <(Move) < [6]> then\n            Move: [1]\n        end\n        if <(Move) = [6]> then\n            Move: [2]\n        end\n        if <(Move) = [7]> then\n            Move: [3]\n        end\n    end\nend\n\nwhen I receive [next v]\nif <(🏠Level) = [15]> then\n    create clone of (_myself_ v)\nend\n\ndefine Move: (number)\nif <(number) = [1]> then\n    point in direction (pick random (-1) to (1))\n    if <(direction) > [0]> then\n        point in direction (90)\n    else\n        point in direction (-90)\n    end\n    repeat (pick random (1) to (3))\n        switch costume to (idle v)\n        repeat (pick random (1) to (6))\n            wait (0) seconds\n            check [1]\n            next costume\n        end\n    end\n    switch costume to (idle v)\nend\nif <(number) = [2]> then\n    start sound [Snifff v]\n    switch costume to (idle v)\n    wait (0.06) seconds\n    switch costume to (sniff v)\n    wait (0.06) seconds\n    switch costume to (sniff2 v)\n    wait (1) seconds\n    switch costume to (sniff v)\n    wait (0.06) seconds\n    switch costume to (idle v)\n    wait (1) seconds\nend\nif <(number) = [3]> then\n    start sound [Dig v]\n    wait (0.05) seconds\n    switch costume to (acostar2 v)\n    repeat (3)\n        change y by (-3)\n        switch costume to (acostar v)\n    end\n    wait (1) seconds\n    broadcast (particles v)\n    switch costume to (excavar 1 v)\n    wait (0.05) seconds\n    repeat (2)\n        switch costume to (excavar 3 v)\n        wait (0.05) seconds\n        switch costume to (excavar 4 v)\n        wait (0.03) seconds\n        switch costume to (excavar 5 v)\n        wait (0.05) seconds\n        switch costume to (excavar 4 v)\n        wait (0.05) seconds\n        repeat (3)\n            switch costume to (excavar 2 v)\n            wait (0.05) seconds\n            switch costume to (excavar 3 v)\n            wait (0.05) seconds\n            switch costume to (excavar 4 v)\n            wait (0.05) seconds\n            switch costume to (excavar 3 v)\n            wait (0.05) seconds\n            switch costume to (excavar 2 v)\n            wait (0.05) seconds\n        end\n    end\n    switch costume to (excavar 3 v)\n    wait (0.03) seconds\n    switch costume to (excavar 4 v)\n    wait (0.03) seconds\n    switch costume to (excavar 5 v)\n    wait (0.05) seconds\n    switch costume to (excavar 4 v)\n    wait (0.05) seconds\n    switch costume to (acostar v)\n    wait (3) seconds\n    switch costume to (acostar2 v)\n    repeat (3)\n        change y by (3)\n    end\n    switch costume to (idle v)\n    wait (1) seconds\n    start sound (pick random (9) to (12))\n    repeat (2)\n        switch costume to (celebrate v)\n        wait (0.06) seconds\n        switch costume to (idle v)\n        wait (0.06) seconds\n        switch costume to (celebrate2 v)\n        wait (0.06) seconds\n        switch costume to (idle v)\n        wait (0.06) seconds\n    end\nend\n\nwhen flag clicked\nswitch costume to (xddfdsfdsf v)\n\nwhen I receive [next v]\nif <(🏠Level) = [16]> then\n    delete this clone\nend\n\nwhen I receive [next p2 v]\nif <(🏠Level) = [16]> then\n    delete this clone\nend\n\nwhen I receive [next p2 v]\nif <(🏠Level) = [15]> then\n    create clone of (_myself_ v)\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@Suspicius sand\n\ndefine xd\nrepeat (4)\n    repeat (20)\n        broadcast (1 v)\n        wait until <(⏸) = [0]>\n        if <not <<<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>> or <key (m v) pressed?>>> then\n            stop [this script v]\n        end\n        wait until <(⏸) = [0]>\n    end\n    next costume\nend\nset [🧹cepillar mobile v] to [0]\nbroadcast (2 v)\nstart sound [Sand v]\ndelete this clone\n\nParticulas [2]\n\nParticulas [1]\n\nwhen I start as a clone\nif <not <(letter (1) of (costume [name v])) = [c]>> then\n    show\n    forever\n        if <(letter (1) of (costume [name v])) = [b]> then\n            switch costume to (b1 v)\n        else\n            switch costume to (1 v)\n        end\n        if <(distance to [steve v]) < [80]> then\n            if <<key (q v) pressed?> or <(🧹Cepillar mobile) = [1]>> then\n                xd\n            end\n        end\n        if <(distance to [alex v]) < [80]> then\n            if <key (m v) pressed?> then\n                xd\n            end\n        end\n    end\nend\n\npoint in direction (90)\nshow\ngo [forward v] (5) layers\nrepeat until <touching (_edge_ v)?>\n    change y by (vy)\n    change x by (vx)\n    change [vx v] by ((vx) * (-0.05))\n    if <(vy) < [-25]> then\n    wait until <(⏸) = [0]>\nend\nwait (0.02) seconds\ndelete this clone\n\ndefine Particulas (nr)\n\nset [ansxd v] to (costume [name v])\nif <(nr) = [1]> then\n    if <(letter (1) of (AnsXD)) = [b]> then\n        switch costume to (c2 v)\n    else\n        switch costume to (c v)\n    end\n    repeat (10)\n        set [vx v] to (pick random (-6) to (6))\n        set [vy v] to (pick random (5) to (10))\n        if <(letter (1) of (AnsXD)) = [b]> then\n            switch costume to (c2 v)\n        else\n            switch costume to (c v)\n        end\n        create clone of (_myself_ v)\n    end\n    switch costume to (AnsXD)\nelse\n    if <(nr) = [2]> then\n        if <(x position) > ([x position v] of [steve v])> then\n            change x by (-32)\n            if <(letter (1) of (AnsXD)) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            set [vx v] to (pick random (-6) to (0))\n            set [vy v] to (pick random (3) to (7))\n            if <(letter (1) of (AnsXD)) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            create clone of (_myself_ v)\n            change x by (32)\n            switch costume to (AnsXD)\n        else\n            change x by (32)\n            if <(letter (1) of (AnsXD)) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            set [vx v] to (pick random (0) to (6))\n            set [vy v] to (pick random (3) to (7))\n            if <(letter (1) of (AnsXD)) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            create clone of (_myself_ v)\n            change x by (-32)\n            switch costume to (AnsXD)\n        end\n    end\nend\n\nwhen I receive [next v]\nhide\nif <(🏠Level) = [5]> then\n    switch costume to (b1 v)\n    point in direction (90)\n    go to x: (150) y: (-101)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [7]> then\n    switch costume to (1 v)\n    point in direction (85)\n    go to x: (30) y: (10)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [14]> then\n    switch costume to (1 v)\n    point in direction (90)\n    go to x: (200) y: (-100)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [17]> then\n    switch costume to (b1 v)\n    point in direction (90)\n    go to x: (210) y: (-100)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [26]> then\n    switch costume to (1 v)\n    point in direction (90)\n    go to x: (0) y: (-100)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [next p2 v]\nhide\nif <(🏠Level) = [5]> then\n    switch costume to (b1 v)\n    point in direction (90)\n    go to x: (150) y: (-101)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [7]> then\n    switch costume to (1 v)\n    point in direction (85)\n    go to x: (30) y: (10)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [14]> then\n    switch costume to (1 v)\n    point in direction (90)\n    go to x: (200) y: (-100)\n    create clone of (_myself_ v)\nend\nif <(🏠Level) = [17]> then\n    switch costume to (b1 v)\n    point in direction (90)\n    go to x: (210) y: (-100)\n    create clone of (_myself_ v)\nend\n\n@Sus particles\n\nwhen I start as a clone\npoint in direction (90)\ngo to [back v] layer\ngo [forward v] (5) layers\nshow\nrepeat until <touching (_edge_ v)?>\n    change y by (vy)\n    change x by (vx)\n    change [vx v] by ((vx) * (-0.05))\n    if <(vy) < [-25]> then\n    wait until <(⏸) = [0]>\nend\nwait (0.02) seconds\ndelete this clone\n\ndefine A (nr)\ngo to x: (item (🏠Level) of [suspicious x v]) y: (item (🏠Level) of [suspicious y v])\nif <(nr) = [1]> then\n    if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n        switch costume to (c2 v)\n    else\n        switch costume to (c v)\n    end\n    repeat (10)\n        set [vx v] to (pick random (-6) to (6))\n        set [vy v] to (pick random (5) to (10))\n        if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n            switch costume to (c2 v)\n        else\n            switch costume to (c v)\n        end\n        create clone of (_myself_ v)\n    end\nelse\n    if <(nr) = [2]> then\n        if <(x position) > ([x position v] of [steve v])> then\n            change x by (-32)\n            if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            set [vx v] to (pick random (-6) to (0))\n            set [vy v] to (pick random (3) to (7))\n            if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            create clone of (_myself_ v)\n        else\n            change x by (0)\n            if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            set [vx v] to (pick random (0) to (6))\n            set [vy v] to (pick random (3) to (7))\n            if <(letter (1) of ([costume name v] of [suspicius sand v])) = [b]> then\n                switch costume to (c2 v)\n            else\n                switch costume to (c v)\n            end\n            create clone of (_myself_ v)\n            change x by (-32)\n        end\n    end\nend\nswitch costume to (a v)\n\nwhen I receive [1 v]\nif <(costume [name v]) = [a]> then\n    A [2]\nend\n\nwhen I receive [2 v]\nif <(costume [name v]) = [a]> then\n    A [1]\nend\n\n@Calibrated Sculk\n\nwhen I start as a clone\nif <(🦟Particulas?) = [1]> then\n    set [ghost v] effect to (5)\nelse\n    set [ghost v] effect to (100)\nend\nset [brightness v] effect to (25)\nswitch costume to (onda v)\nshow\nif <(Player?) = [1]> then\n    go to (steve v)\nelse\n    go to (alex v)\nend\npoint towards (calibrated sculk v)\nif <(🦟Particulas?) = [1]> then\n    repeat until <touching (calibrated sculk v)?>\n        wait until <(⏸) = [0]>\n        move (20) steps\n    end\nelse\n    go to (calibrated sculk v)\nend\nset [sculk touch? v] to [1]\ngo to (calibrated sculk v)\nhide\ndelete this clone\n\ndefine Mov? (t/f)\nif <(t/f) = [t]> then\n    switch costume to (sculk sensor2 v)\n    if <(🏠Level) = [9]> then\n        start sound [xd v]\n    end\n    play sound (pick random (1) to (2)) until done\n    wait until <(⏸) = [0]>\n    wait (0) seconds\n    wait until <(⏸) = [0]>\n    start sound [adios v]\n    set [sculk touch? v] to [0]\n    set [player? v] to [0]\nend\nif <(t/f) = [f]> then\n    if <(amongas) = [0]> then\n        switch costume to (sculk sensor v)\n    end\n    repeat (3)\n        if <(amongas) = [0]> then\n            wait (0.08) seconds\n            wait until <(⏸) = [0]>\n            next costume\n        end\n    end\nend\nif <(t/f) = [ft]> then\n    switch costume to (sculk sensor v)\n    repeat (3)\n        wait (0.1) seconds\n        next costume\n    end\nend\n\nwhen I start as a clone\nrepeat until <touching (calibrated sculk v)?>\n    repeat (3)\n        wait until <(⏸) = [0]>\n        change size by (4)\n    end\n    repeat (3)\n        wait until <(⏸) = [0]>\n        change size by (-4)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [reiniciar sculk v]\nhide\nstop [other scripts in sprite v]\nif <[1] = [1]> then\n    delete this clone\nend\nswitch costume to (sculk sensor v)\nset [amongas v] to [0]\nif <not <(item (🏠Level) of [posicion x v]) = []>> then\n    show\n    broadcast (sculk v)\nend\n\nwhen I receive [sculk v]\nforever\n    if <(amongas) = [0]> then\n        Mov? [f]\n        wait until <(⏸) = [0]>\n    end\nend\n\nwhen I receive [sculk v]\nforever\n    set x to (item (🏠Level) of [posicion x v])\n    set y to (item (🏠Level) of [posicion y v])\nend\n\nwhen I receive [sculk v]\nforever\n    if <<<not <(🚶‍♂️Mov P1) = [0]>> and <not < ([costume name v] of [steve v]) contains [Agachado]?>>> and <(distance to [steve v]) < [210]>> then\n        if <<(🚶‍♂️Mov P1) = [3]> and <not < ([costume name v] of [steve v]) contains [Agachado]?>>> then\n            set [player? v] to [1]\n            set [amongas v] to [1]\n            wait (0) seconds\n            create clone of (_myself_ v)\n            repeat until <<(Sculk Touch?) = [1]> or <(amongas) = [0]>>\n                Mov? [ft]\n            end\n            if <(amongas) = [1]> then\n                Mov? [t]\n                set [amongas v] to [0]\n            end\n            wait until <(⏸) = [0]>\n        end\n    else\n        if <<<not <(🚶‍♂️Mov P2) = [0]>> and <not < ([costume name v] of [alex v]) contains [Agachado]?>>> and <(distance to [alex v]) < [210]>> then\n            if <<(🚶‍♂️Mov P2) = [3]> and <not < ([costume name v] of [alex v]) contains [Agachado]?>>> then\n                set [player? v] to [2]\n                set [amongas v] to [1]\n                wait (0) seconds\n                create clone of (_myself_ v)\n                repeat until <<(Sculk Touch?) = [1]> or <(amongas) = [0]>>\n                    Mov? [ft]\n                end\n                if <(amongas) = [1]> then\n                    Mov? [t]\n                    set [amongas v] to [0]\n                end\n                wait until <(⏸) = [0]>\n            end\n        end\n    end\nend\n\nglide (0.5) secs to x: (item (🏠Level) of [posicion x v]) y: (item (🏠Level) of [posicion y v])\n\nwhen I receive [inicio v]\nbroadcast (reiniciar sculk v)\n\nwhen I receive [inicio v]\nif <(🏠Level) > [12]> then\n    stop [other scripts in sprite v]\n    switch costume to (sculk sensor v)\n    set [amongas v] to [0]\n    set [sculk touch? v] to [0]\n    hide\nend\n\nwhen I receive [title screen v]\nstop [other scripts in sprite v]\ndelete this clone\n\nset [🚶‍♂️mov p1 v] to [1]\nset [🚶‍♂️mov p1 v] to [0]\n\nwhen I receive [next v]\nbroadcast (reiniciar sculk v)\n\nwhen I receive [inicio v]\nforever\n    set volume to (🔊:) %\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [next p2 v]\nbroadcast (reiniciar sculk v)\n\n@Slime\n\nwhen I receive [next v]\nLo mismo\n\nwhen I receive [inicio v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (🏠Level)\n    set [ghost v] effect to (20)\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [next p2 v]\nLo mismo\n\ndefine Lo mismo\ngo to x: (0) y: (0)\nset [sculk touch? v] to [0]\nif <<(🏠Level) > [11]> and <(🏠Level) < [19]>> then\n    hide\n    if <(🏠Level) = [14]> then\n        show\n    end\n    set y to (-50)\n    wait until <(Sculk Touch?) = [1]>\n    show\n    start sound [xd v]\n    repeat (2)\n        wait until <(⏸) = [0]>\n        change y by (25)\n    end\n    if <(🏠Level) = [14]> then\n        hide\n    end\nend\n\n@Mobile\n\nwhen I start as a clone\ngo [forward v] (1) layers\nforever\n    if <(costume [number v]) = [2]> then\n        set [🕹poder del stick v] to []\n        set [🕹stick x v] to [0]\n        set [🕹stick y v] to [0]\n        repeat until <mouse down?>\n            set [ghost v] effect to (10)\n            go [forward v] (1) layers\n            go to (join [Mobile] [])\n        end\n        go to (join [Mobile] [])\n        if <(distance to [mouse-pointer v]) < ((size) * (0.6))> then\n            Agarrado B)\n        else\n            wait until <not <mouse down?>>\n        end\n    end\nend\n\ndefine Agarrado B)\nrepeat until <not <mouse down?>>\n    go to (mouse-pointer v)\n    point towards (join [Mobile] [])\n    set rotation style [don't rotate v]\n    turn right (180) degrees\n    set [🕹direccion del stick v] to (direction)\n    set [🕹poder del stick v] to (distance to [(join [Mobile] []) v])\n    if <(🕹Poder del stick) > [45]> then\n        move ((45) - (🕹Poder del stick)) steps\n        set [🕹poder del stick v] to [45]\n    end\n    set [🕹poder del stick v] to ((🕹Poder del stick) / (45))\n    set [🕹stick x v] to ((🕹Poder del stick) * ([sin v] of (🕹Direccion del stick) ))\n    set [🕹stick y v] to ((🕹Poder del stick) * ([cos v] of (🕹Direccion del stick) ))\nend\n\nwhen I receive [ganado v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [game over v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(📱Mobile?) = [0]> then\n        delete this clone\n    end\nend\n\nwhen I receive [inicio v]\nforever\n    if <(📱Mobile?) = [1]> then\n        show\n        switch costume to (stick v)\n        create clone of (_myself_ v)\n        switch costume to (boton de agacharse v)\n        create clone of (_myself_ v)\n        switch costume to (boton de cepillar v)\n        create clone of (_myself_ v)\n        switch costume to (boton de e v)\n        create clone of (_myself_ v)\n        if <(🏠Level) > [18]> then\n            switch costume to (dash v)\n            create clone of (_myself_ v)\n        end\n        if <(🚙TP) = [1]> then\n            switch costume to (boton de pearl v)\n            create clone of (_myself_ v)\n        end\n        switch costume to (base v)\n        repeat until <(📱Mobile?) = [0]>\n            switch costume to (base v)\n            set [brightness v] effect to (-10)\n            set [ghost v] effect to (60)\n            go to x: (-152) y: (-100)\n            if <touching (mouse-pointer v)?> then\n                if <mouse down?> then\n                    go to (mouse-pointer v)\n                    wait until <not <mouse down?>>\n                end\n            end\n            if <(💬Texto?) = [1]> then\n                hide\n            else\n                show\n            end\n        end\n    else\n        set [ghost v] effect to (0)\n        hide\n    end\nend\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(💬Texto?) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [3]> then\n        go to x: (0) y: (0)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                if <(📱Mobile agachar?) = [1]> then\n                    set [📱mobile agachar? v] to [0]\n                else\n                    set [📱mobile agachar? v] to [1]\n                end\n                wait (0.05) seconds\n            end\n        else\n            if <(📱Mobile agachar?) = [1]> then\n                set [ghost v] effect to (30)\n            else\n                set [ghost v] effect to (50)\n            end\n        end\n    end\n    if <(costume [number v]) = [4]> then\n        go to x: (0) y: (0)\n        set [🧹cepillar mobile v] to [0]\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                set [🧹cepillar mobile v] to [1]\n                wait (0.05) seconds\n            end\n        else\n            if <(🧹Cepillar mobile) = [1]> then\n                set [ghost v] effect to (30)\n            else\n                set [ghost v] effect to (50)\n            end\n        end\n    end\n    if <(costume [number v]) = [5]> then\n        go to x: (0) y: (0)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                set [📱e v] to [1]\n                wait (0.05) seconds\n                set [📱e v] to [0]\n            end\n        end\n        set [ghost v] effect to (50)\n    end\n    if <(costume [number v]) = [6]> then\n        go to x: (0) y: (0)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                broadcast (ender perl v)\n                wait until <not <mouse down?>>\n            end\n        else\n            if <(🧹Cepillar mobile) = [1]> then\n                set [ghost v] effect to (30)\n            else\n                set [ghost v] effect to (50)\n            end\n        end\n    end\n    if <(costume [number v]) = [7]> then\n        go to x: (0) y: (0)\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n            if <mouse down?> then\n                set [⏩dash p1 v] to [-1]\n                wait (0.05) seconds\n                wait until <not <mouse down?>>\n            end\n        end\n        set [ghost v] effect to (50)\n    end\nend\n\nwhen flag clicked\nset [📱mobile? v] to [0]\n\nwhen flag clicked\nset [📱mobile agachar? v] to [0]\nhide\n\nwhen I receive [next v]\nif <(🏠Level) = [18]> then\n    set [📱mobile? v] to [0]\n    wait (0.1) seconds\n    stop [other scripts in sprite v]\n    delete this clone\nend\nif <(📱Mobile?) = [1]> then\n    wait (0) seconds\n    if <<(🚶‍♂️Player 1 Move?) = [0]> and <(🚶‍♂️Player 2 Move?) = [0]>> then\n        set [📱mobile? v] to [0]\n        wait until <<(🚶‍♂️Player 1 Move?) = [1]> and <(🚶‍♂️Player 2 Move?) = [1]>>\n        set [📱mobile? v] to [1]\n    end\nend\n\nwhen I receive [credits v]\nset [📱mobile? v] to [0]\n\nwhen I receive [a v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@Credits\n\nwhen I receive [credits v]\ngo to x: (0) y: (0)\nclear graphic effects\nshow\nif <(📒Idioma?) = [0]> then\n    switch costume to (eng v)\nelse\n    switch costume to (esp v)\nend\nif <(🏠Level) = [29]> then\n    if <(📒Idioma?) = [0]> then\n        switch costume to (eng2 v)\n    else\n        switch costume to (esp2 v)\n    end\nend\nwait (3.25) seconds\nset [🚶‍♂️player 1 move? v] to [1]\nset [🚶‍♂️player 2 move? v] to [1]\nrepeat (5)\n    change [brightness v] effect by (25)\nend\nswitch costume to (2 v)\ncreate clone of (_myself_ v)\nrepeat (5)\n    change [brightness v] effect by (-20)\nend\nforever\n    switch costume to (2 v)\n    if <<key (space v) pressed?> or <mouse down?>> then\n        broadcast (title screen v)\n    end\nend\n\nwhen I receive [next v]\nhide\nif <(🏠Level) = [18]> then\n    stop all sounds\n    play sound [Relic2 v] until done\nend\nif <(🏠Level) = [29]> then\n    stop all sounds\n    play sound [Relic2 v] until done\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nclear graphic effects\ngo to [front v] layer\ngo to x: (0) y: (-400)\nswitch costume to (costume1 v)\nswitch costume to (text v)\nrepeat until <(y position) > [1925]>\n    change y by (0.55)\nend\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nrepeat (100)\n    change [brightness v] effect by (-1)\n    change volume by (-1)\nend\nbroadcast (title screen v)\n\nwhen I receive [title screen v]\nstop all sounds\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [next p2 v]\nhide\nif <(🏠Level) = [18]> then\n    stop all sounds\n    play sound [Relic2 v] until done\nend\n\n@Bars\n\nwhen I receive [next v]\nwait (0.3) seconds\nif <<(🚶‍♂️Player 1 Move?) = [0]> and <(🚶‍♂️Player 2 Move?) = [0]>> then\n    show\n    switch costume to (1 v)\n    repeat (4)\n        next costume\n    end\n    wait until <<(🚶‍♂️Player 1 Move?) = [1]> and <(🚶‍♂️Player 2 Move?) = [1]>>\n    repeat (4)\n        next costume\n    end\n    hide\nend\n\nwhen I receive [next p2 v]\nwait (0.3) seconds\nif <<(🚶‍♂️Player 1 Move?) = [0]> and <(🚶‍♂️Player 2 Move?) = [0]>> then\n    show\n    switch costume to (1 v)\n    repeat (4)\n        next costume\n    end\n    wait until <<(🚶‍♂️Player 1 Move?) = [1]> and <(🚶‍♂️Player 2 Move?) = [1]>>\n    repeat (4)\n        next costume\n    end\n    hide\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\n@Pausa\n\nset [⏸ v] to [0]\n\nwhen I start as a clone\ngo [forward v] (1) layers\nforever\n    if <(costume [name v]) = [⏸]> then\n        if <<(🚶‍♂️Player 1 Move?) = [1]> and <(🚶‍♂️Player 2 Move?) = [1]>> then\n            set [ghost v] effect to (40)\n            show\n            if <touching (mouse-pointer v)?> then\n                set [ghost v] effect to (20)\n                if <mouse down?> then\n                    set [⏸ v] to [1]\n                    if <(📒Idioma?) = [0]> then\n                        switch costume to (continue v)\n                    else\n                        switch costume to (continue esp v)\n                    end\n                    go to [front v] layer\n                    repeat until <(⏸) = [0]>\n                        set [ghost v] effect to (0)\n                        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                            if <(📒Idioma?) = [0]> then\n                                switch costume to (continue2 v)\n                            else\n                                switch costume to (continue2 esp v)\n                            end\n                            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n                            set [⏸ v] to [0]\n                        end\n                    end\n                    switch costume to (⏸ v)\n                end\n            end\n        else\n            hide\n        end\n    else\n        if < (costume [name v]) contains [Exit]?> then\n            if <(⏸) = [1]> then\n                show\n                if <(📒Idioma?) = [0]> then\n                    switch costume to (exit v)\n                else\n                    switch costume to (exit esp v)\n                end\n                go to [front v] layer\n                if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                    wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n                    broadcast (title screen v)\n                    set [⏸ v] to [0]\n                    delete this clone\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [inicio v]\ngo to [front v] layer\nset [⏸ v] to [0]\nswitch costume to (⏸ v)\ncreate clone of (_myself_ v)\nswitch costume to (exit v)\ncreate clone of (_myself_ v)\nforever\n    if <(📒Idioma?) = [0]> then\n        switch costume to (pause v)\n    else\n        switch costume to (pause esp v)\n    end\n    if <(⏸) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [credits v]\nhide\ndelete this clone\n\nwhen I receive [title screen v]\nif <[] = []> then\n    delete this clone\nend\nbroadcast (a v)\nstop [other scripts in sprite v]\ngo to [back v] layer\nhide\n\n