☁ Cloud Multiplayer Platformer Engine

Instructions: Arrow keys/WASD/Mobile to move.\nAvoid spikes.\nWall jump\nGet to the end of the screen to pass the level.\nYup, the platformer is really generic but if you can't read or something lemme just say that this is a Cloud Multiplayer Platformer Engine. Emphasis on all of those those words.

@Stage\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\n@Blank\n\n@player\n\ndefine encode ()\nset [lenght oops misspelled v] to [1]\nset [encoded result v] to []\nrepeat (length of ())\n    if <(letter (lenght oops misspelled) of ()) = [a]> then\n        set [encoded result v] to (join (encoded result) [01])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [b]> then\n        set [encoded result v] to (join (encoded result) [02])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [c]> then\n        set [encoded result v] to (join (encoded result) [03])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [d]> then\n        set [encoded result v] to (join (encoded result) [04])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [e]> then\n        set [encoded result v] to (join (encoded result) [05])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [f]> then\n        set [encoded result v] to (join (encoded result) [06])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [g]> then\n        set [encoded result v] to (join (encoded result) [07])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [h]> then\n        set [encoded result v] to (join (encoded result) [08])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [i]> then\n        set [encoded result v] to (join (encoded result) [09])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [j]> then\n        set [encoded result v] to (join (encoded result) [10])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [k]> then\n        set [encoded result v] to (join (encoded result) [11])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [l]> then\n        set [encoded result v] to (join (encoded result) [12])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [m]> then\n        set [encoded result v] to (join (encoded result) [13])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [n]> then\n        set [encoded result v] to (join (encoded result) [14])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [o]> then\n        set [encoded result v] to (join (encoded result) [15])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [p]> then\n        set [encoded result v] to (join (encoded result) [16])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [q]> then\n        set [encoded result v] to (join (encoded result) [17])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [r]> then\n        set [encoded result v] to (join (encoded result) [18])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [s]> then\n        set [encoded result v] to (join (encoded result) [19])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [t]> then\n        set [encoded result v] to (join (encoded result) [20])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [u]> then\n        set [encoded result v] to (join (encoded result) [21])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [v]> then\n        set [encoded result v] to (join (encoded result) [22])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [w]> then\n        set [encoded result v] to (join (encoded result) [23])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [x]> then\n        set [encoded result v] to (join (encoded result) [24])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [y]> then\n        set [encoded result v] to (join (encoded result) [25])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [z]> then\n        set [encoded result v] to (join (encoded result) [26])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [0]> then\n        set [encoded result v] to (join (encoded result) [27])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [1]> then\n        set [encoded result v] to (join (encoded result) [28])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [2]> then\n        set [encoded result v] to (join (encoded result) [29])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [3]> then\n        set [encoded result v] to (join (encoded result) [30])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [4]> then\n        set [encoded result v] to (join (encoded result) [31])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [5]> then\n        set [encoded result v] to (join (encoded result) [32])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [6]> then\n        set [encoded result v] to (join (encoded result) [33])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [7]> then\n        set [encoded result v] to (join (encoded result) [34])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [8]> then\n        set [encoded result v] to (join (encoded result) [35])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [9]> then\n        set [encoded result v] to (join (encoded result) [36])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [-]> then\n        set [encoded result v] to (join (encoded result) [37])\n    end\n    if <(letter (lenght oops misspelled) of ()) = [_]> then\n        set [encoded result v] to (join (encoded result) [38])\n    end\n    change [lenght oops misspelled v] by (1)\nend\nif <() = (round (x position))> then\n    set [x pos v] to (encoded result)\nelse\nend\nif <() = (round (y position))> then\n    set [y pos v] to (encoded result)\nelse\nend\nif <() = (username)> then\n    set [username v] to (encoded result)\nelse\nend\nif <() = (Level)> then\n    set [lvl 4 cloud v] to (encoded result)\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [start v]\nset [level v] to [1]\nbroadcast (reset v)\nbroadcast (lvl start v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [13]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <<touching (spikes v)?> or <[-175] > (y position)>> then\n        broadcast (reset v)\n        broadcast (lvl start v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    send cloud data\n    broadcast (Tick v)\nend\n\ndefine send cloud data\nencode (round (x position))\nencode (round (y position))\nencode (username)\nencode (Level)\nset [player data v] to (join (join (X pos) [44]) (join (join (Y pos) [55]) (join (username) (join [66] (join (lvl 4 cloud) [77])))))\nif <(player #) = [1]> then\n    set [☁ p1 v] to (player data)\nend\nif <(player #) = [2]> then\n    set [☁ p2 v] to (player data)\nend\nif <(player #) = [3]> then\n    set [☁ p3 v] to (player data)\nend\nif <(player #) = [4]> then\n    set [☁ p4 v] to (player data)\nend\nif <(player #) = [5]> then\n    set [☁ p5 v] to (player data)\nend\n\nwhen I receive [next lvl v]\nchange [level v] by (1)\nbroadcast (reset v)\nbroadcast (lvl start v)\n\nwhen flag clicked\nforever\n    if <(x position) > [220]> then\n        broadcast (next lvl v)\n    end\nend\n\nwhen I receive [reset v]\nset [xv v] to [0]\nset [yv v] to [0]\nset rotation style [left-right v]\ngo to x: (-200) y: (0)\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\nshow\n\n@ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\n@spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next lvl v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [hide thumbnail v]\nhide\n\n@Loading...\n\nwhen flag clicked\nset [player # v] to [0]\nshow variable [online players: v]\nset [online players: v] to [0]\ndelete all of [online players v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\ndelete all of [player activity logs v]\nwait (3) seconds\nif <(☁ P1) = [0]> then\n    set [player # v] to [1]\n    set [☁ p1 active? v] to [0]\nelse\n    if <(☁ P2) = [0]> then\n        set [player # v] to [2]\n        set [☁ p2 active? v] to [0]\n    else\n        if <(☁ P3) = [0]> then\n            set [player # v] to [3]\n            set [☁ p3 active? v] to [0]\n        else\n            if <(☁ P4) = [0]> then\n                set [player # v] to [4]\n                set [☁ p4 active? v] to [0]\n            else\n                if <(☁ P5) = [0]> then\n                    set [player # v] to [5]\n                    set [☁ p5 active? v] to [0]\n                else\n                    switch costume to (costume2 v)\n                    set [online players: v] to [5]\n                    broadcast (hide thumbnail v)\n                    stop [all v]\n                end\n            end\n        end\n    end\nend\nbroadcast (start v)\nhide\n\nwhen flag clicked\nforever\n    if <(item (1) of [player activity logs v]) = []> then\n        insert (☁ P1 Active?) at (1) of [player activity logs v] \n    else\n        replace item (1) of [player activity logs v] with (☁ P1 Active?)\n    end\n    if <(item (2) of [player activity logs v]) = []> then\n        insert (☁ P2 Active?) at (2) of [player activity logs v] \n    else\n        replace item (2) of [player activity logs v] with (☁ P2 Active?)\n    end\n    if <(item (3) of [player activity logs v]) = []> then\n        insert (☁ P3 Active?) at (3) of [player activity logs v] \n    else\n        replace item (3) of [player activity logs v] with (☁ P3 Active?)\n    end\n    if <(item (4) of [player activity logs v]) = []> then\n        insert (☁ P4 Active?) at (4) of [player activity logs v] \n    else\n        replace item (4) of [player activity logs v] with (☁ P4 Active?)\n    end\n    if <(item (5) of [player activity logs v]) = []> then\n        insert (☁ P5 Active?) at (5) of [player activity logs v] \n    else\n        replace item (5) of [player activity logs v] with (☁ P5 Active?)\n    end\n    wait (.3) seconds\n    if <(item (1) of [player activity logs v]) = (☁ P1 Active?)> then\n        set [☁ p1 v] to [0]\n        set [☁ p1 active? v] to [0]\n        if <[online players v] contains [1]?> then\n            delete (item # of [1] in [online players v]) of [online players v]\n            change [online players: v] by (-1)\n        end\n    end\n    if <(item (2) of [player activity logs v]) = (☁ P2 Active?)> then\n        set [☁ p2 v] to [0]\n        set [☁ p2 active? v] to [0]\n        if <[online players v] contains [2]?> then\n            delete (item # of [2] in [online players v]) of [online players v]\n            change [online players: v] by (-1)\n        end\n    end\n    if <(item (3) of [player activity logs v]) = (☁ P3 Active?)> then\n        set [☁ p3 v] to [0]\n        set [☁ p3 active? v] to [0]\n        if <[online players v] contains [3]?> then\n            delete (item # of [3] in [online players v]) of [online players v]\n            change [online players: v] by (-1)\n        end\n    end\n    if <(item (4) of [player activity logs v]) = (☁ P4 Active?)> then\n        set [☁ p4 v] to [0]\n        set [☁ p4 active? v] to [0]\n        if <[online players v] contains [4]?> then\n            delete (item # of [4] in [online players v]) of [online players v]\n            change [online players: v] by (-1)\n        end\n    end\n    if <(item (5) of [player activity logs v]) = (☁ P5 Active?)> then\n        set [☁ p5 v] to [0]\n        set [☁ p5 active? v] to [0]\n        if <[online players v] contains [5]?> then\n            delete (item # of [5] in [online players v]) of [online players v]\n            change [online players: v] by (-1)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(player #) = [1]> then\n        change [☁ p1 active? v] by (1)\n    end\n    if <(player #) = [2]> then\n        change [☁ p2 active? v] by (1)\n    end\n    if <(player #) = [3]> then\n        change [☁ p3 active? v] by (1)\n    end\n    if <(player #) = [4]> then\n        change [☁ p4 active? v] by (1)\n    end\n    if <(player #) = [5]> then\n        change [☁ p5 active? v] by (1)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <not <(☁ P1) = [0]>> then\n        if <not <[online players v] contains [1]?>> then\n            change [online players: v] by (1)\n            add [1] to [online players v]\n        end\n    end\n    if <not <(☁ P2) = [0]>> then\n        if <not <[online players v] contains [2]?>> then\n            change [online players: v] by (1)\n            add [2] to [online players v]\n        end\n    end\n    if <not <(☁ P3) = [0]>> then\n        if <not <[online players v] contains [3]?>> then\n            change [online players: v] by (1)\n            add [3] to [online players v]\n        end\n    end\n    if <not <(☁ P4) = [0]>> then\n        if <not <[online players v] contains [4]?>> then\n            change [online players: v] by (1)\n            add [4] to [online players v]\n        end\n    end\n    if <not <(☁ P5) = [0]>> then\n        if <not <[online players v] contains [5]?>> then\n            change [online players: v] by (1)\n            add [5] to [online players v]\n        end\n    end\nend\n\n@others\n\ndefine decode () position clone #: (#)\nreplace item (#) of [letter v] with [1]\nreplace item (#) of [letter 2 v] with [2]\nreplace item (#) of [decoded results v] with []\nrepeat (length of ())\n    if <(letter (item (#) of [letter v]) of ()) = [0]> then\n        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [a])\n        else\n            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [b])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [c])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [d])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [e])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [f])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [g])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [h])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [i])\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(letter (item (#) of [letter v]) of ()) = [1]> then\n            if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [j])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [k])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [l])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [m])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [n])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [o])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [p])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [q])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [r])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [s])\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            if <(letter (item (#) of [letter v]) of ()) = [2]> then\n                if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [t])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [u])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [v])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [w])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [x])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [y])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [z])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [0])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [1])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [2])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                if <(letter (item (#) of [letter v]) of ()) = [3]> then\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [3])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [4])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [5])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [6])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [7])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [8])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [9])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [-])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [_])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                else\n                    if <(letter (item (#) of [letter v]) of ()) = [4]> then\n                        set x to (item (#) of [decoded results v])\n                        replace item (clone #) of [letter v] with ((length of (x position)) + (2))\n                        replace item (clone #) of [letter 2 v] with ((length of (x position)) + (3))\n                        replace item (#) of [decoded results v] with []\n                    else\n                        if <(letter (item (#) of [letter v]) of ()) = [5]> then\n                            set y to (item (#) of [decoded results v])\n                            replace item (clone #) of [letter v] with (((length of (x position)) + (length of (y position))) + (3))\n                            replace item (clone #) of [letter 2 v] with (((length of (x position)) + (length of (y position))) + (4))\n                            replace item (#) of [decoded results v] with []\n                        else\n                            if <(letter (item (#) of [letter v]) of ()) = [6]> then\n                                think (item (#) of [decoded results v])\n                                replace item (clone #) of [letter v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (4))\n                                replace item (clone #) of [letter 2 v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (5))\n                                replace item (#) of [decoded results v] with []\n                            else\n                                if <(letter (item (#) of [letter v]) of ()) = [7]> then\n                                    if <(item (#) of [decoded results v]) = (Level)> then\n                                        show\n                                    else\n                                        hide\n                                    end\n                                    replace item (#) of [decoded results v] with []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    replace item (#) of [letter v] with ((item (#) of [letter v]) + (2))\n    replace item (#) of [letter 2 v] with ((item (#) of [letter 2 v]) + (2))\nend\n\nwhen flag clicked\ndelete all of [decoded results v]\ninsert [] at (1) of [decoded results v] \ninsert [] at (2) of [decoded results v] \ninsert [] at (3) of [decoded results v] \ninsert [] at (4) of [decoded results v] \ninsert [] at (5) of [decoded results v] \ndelete all of [letter v]\ninsert [] at (1) of [letter v] \ninsert [] at (2) of [letter v] \ninsert [] at (3) of [letter v] \ninsert [] at (4) of [letter v] \ninsert [] at (5) of [letter v] \ndelete all of [letter 2 v]\ninsert [] at (1) of [letter 2 v] \ninsert [] at (2) of [letter 2 v] \ninsert [] at (3) of [letter 2 v] \ninsert [] at (4) of [letter 2 v] \ninsert [] at (5) of [letter 2 v] \nset size to (100) %\nhide\n\nwhen I receive [tick v]\nif <not <<(☁ P1) = [0]> or <(player #) = [1]>>> then\n    decode (☁ P1) position clone #: [1]\nelse\n    hide\nend\n\n@others2\n\ndefine decode () position clone #: (#)\nreplace item (#) of [letter v] with [1]\nreplace item (#) of [letter 2 v] with [2]\nreplace item (#) of [decoded results v] with []\nrepeat (length of ())\n    if <(letter (item (#) of [letter v]) of ()) = [0]> then\n        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [a])\n        else\n            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [b])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [c])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [d])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [e])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [f])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [g])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [h])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [i])\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(letter (item (#) of [letter v]) of ()) = [1]> then\n            if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [j])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [k])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [l])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [m])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [n])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [o])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [p])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [q])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [r])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [s])\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            if <(letter (item (#) of [letter v]) of ()) = [2]> then\n                if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [t])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [u])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [v])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [w])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [x])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [y])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [z])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [0])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [1])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [2])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                if <(letter (item (#) of [letter v]) of ()) = [3]> then\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [3])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [4])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [5])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [6])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [7])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [8])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [9])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [-])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [_])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                else\n                    if <(letter (item (#) of [letter v]) of ()) = [4]> then\n                        set x to (item (#) of [decoded results v])\n                        replace item (clone #) of [letter v] with ((length of (x position)) + (2))\n                        replace item (clone #) of [letter 2 v] with ((length of (x position)) + (3))\n                        replace item (#) of [decoded results v] with []\n                    else\n                        if <(letter (item (#) of [letter v]) of ()) = [5]> then\n                            set y to (item (#) of [decoded results v])\n                            replace item (clone #) of [letter v] with (((length of (x position)) + (length of (y position))) + (3))\n                            replace item (clone #) of [letter 2 v] with (((length of (x position)) + (length of (y position))) + (4))\n                            replace item (#) of [decoded results v] with []\n                        else\n                            if <(letter (item (#) of [letter v]) of ()) = [6]> then\n                                think (item (#) of [decoded results v])\n                                replace item (clone #) of [letter v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (4))\n                                replace item (clone #) of [letter 2 v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (5))\n                                replace item (#) of [decoded results v] with []\n                            else\n                                if <(letter (item (#) of [letter v]) of ()) = [7]> then\n                                    if <(item (#) of [decoded results v]) = (Level)> then\n                                        show\n                                    else\n                                        hide\n                                    end\n                                    replace item (#) of [decoded results v] with []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    replace item (#) of [letter v] with ((item (#) of [letter v]) + (2))\n    replace item (#) of [letter 2 v] with ((item (#) of [letter 2 v]) + (2))\nend\n\nreplace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [@])\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [tick v]\nif <not <<(☁ P2) = [0]> or <(player #) = [2]>>> then\n    decode (☁ P2) position clone #: [2]\nelse\n    hide\nend\n\n@others3\n\ndefine decode () position clone #: (#)\nreplace item (#) of [letter v] with [1]\nreplace item (#) of [letter 2 v] with [2]\nreplace item (#) of [decoded results v] with []\nrepeat (length of ())\n    if <(letter (item (#) of [letter v]) of ()) = [0]> then\n        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [a])\n        else\n            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [b])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [c])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [d])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [e])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [f])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [g])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [h])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [i])\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(letter (item (#) of [letter v]) of ()) = [1]> then\n            if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [j])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [k])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [l])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [m])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [n])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [o])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [p])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [q])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [r])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [s])\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            if <(letter (item (#) of [letter v]) of ()) = [2]> then\n                if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [t])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [u])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [v])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [w])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [x])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [y])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [z])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [0])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [1])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [2])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                if <(letter (item (#) of [letter v]) of ()) = [3]> then\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [3])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [4])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [5])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [6])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [7])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [8])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [9])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [-])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [_])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                else\n                    if <(letter (item (#) of [letter v]) of ()) = [4]> then\n                        set x to (item (#) of [decoded results v])\n                        replace item (clone #) of [letter v] with ((length of (x position)) + (2))\n                        replace item (clone #) of [letter 2 v] with ((length of (x position)) + (3))\n                        replace item (#) of [decoded results v] with []\n                    else\n                        if <(letter (item (#) of [letter v]) of ()) = [5]> then\n                            set y to (item (#) of [decoded results v])\n                            replace item (clone #) of [letter v] with (((length of (x position)) + (length of (y position))) + (3))\n                            replace item (clone #) of [letter 2 v] with (((length of (x position)) + (length of (y position))) + (4))\n                            replace item (#) of [decoded results v] with []\n                        else\n                            if <(letter (item (#) of [letter v]) of ()) = [6]> then\n                                think (item (#) of [decoded results v])\n                                replace item (clone #) of [letter v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (4))\n                                replace item (clone #) of [letter 2 v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (5))\n                                replace item (#) of [decoded results v] with []\n                            else\n                                if <(letter (item (#) of [letter v]) of ()) = [7]> then\n                                    if <(item (#) of [decoded results v]) = (Level)> then\n                                        show\n                                    else\n                                        hide\n                                    end\n                                    replace item (#) of [decoded results v] with []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    replace item (#) of [letter v] with ((item (#) of [letter v]) + (2))\n    replace item (#) of [letter 2 v] with ((item (#) of [letter 2 v]) + (2))\nend\n\nreplace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [@])\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [tick v]\nif <not <<(☁ P3) = [0]> or <(player #) = [3]>>> then\n    decode (☁ P3) position clone #: [3]\nelse\n    hide\nend\n\n@others4\n\ndefine decode () position clone #: (#)\nreplace item (#) of [letter v] with [1]\nreplace item (#) of [letter 2 v] with [2]\nreplace item (#) of [decoded results v] with []\nrepeat (length of ())\n    if <(letter (item (#) of [letter v]) of ()) = [0]> then\n        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [a])\n        else\n            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [b])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [c])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [d])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [e])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [f])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [g])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [h])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [i])\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(letter (item (#) of [letter v]) of ()) = [1]> then\n            if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [j])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [k])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [l])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [m])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [n])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [o])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [p])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [q])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [r])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [s])\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            if <(letter (item (#) of [letter v]) of ()) = [2]> then\n                if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [t])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [u])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [v])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [w])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [x])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [y])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [z])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [0])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [1])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [2])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                if <(letter (item (#) of [letter v]) of ()) = [3]> then\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [3])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [4])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [5])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [6])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [7])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [8])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [9])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [-])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [_])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                else\n                    if <(letter (item (#) of [letter v]) of ()) = [4]> then\n                        set x to (item (#) of [decoded results v])\n                        replace item (clone #) of [letter v] with ((length of (x position)) + (2))\n                        replace item (clone #) of [letter 2 v] with ((length of (x position)) + (3))\n                        replace item (#) of [decoded results v] with []\n                    else\n                        if <(letter (item (#) of [letter v]) of ()) = [5]> then\n                            set y to (item (#) of [decoded results v])\n                            replace item (clone #) of [letter v] with (((length of (x position)) + (length of (y position))) + (3))\n                            replace item (clone #) of [letter 2 v] with (((length of (x position)) + (length of (y position))) + (4))\n                            replace item (#) of [decoded results v] with []\n                        else\n                            if <(letter (item (#) of [letter v]) of ()) = [6]> then\n                                think (item (#) of [decoded results v])\n                                replace item (clone #) of [letter v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (4))\n                                replace item (clone #) of [letter 2 v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (5))\n                                replace item (#) of [decoded results v] with []\n                            else\n                                if <(letter (item (#) of [letter v]) of ()) = [7]> then\n                                    if <(item (#) of [decoded results v]) = (Level)> then\n                                        show\n                                    else\n                                        hide\n                                    end\n                                    replace item (#) of [decoded results v] with []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    replace item (#) of [letter v] with ((item (#) of [letter v]) + (2))\n    replace item (#) of [letter 2 v] with ((item (#) of [letter 2 v]) + (2))\nend\n\nreplace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [@])\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [tick v]\nif <not <<(☁ P4) = [0]> or <(player #) = [4]>>> then\n    decode (☁ P4) position clone #: [4]\nelse\n    hide\nend\n\n@others5\n\ndefine decode () position clone #: (#)\nreplace item (#) of [letter v] with [1]\nreplace item (#) of [letter 2 v] with [2]\nreplace item (#) of [decoded results v] with []\nrepeat (length of ())\n    if <(letter (item (#) of [letter v]) of ()) = [0]> then\n        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [a])\n        else\n            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [b])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [c])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [d])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [e])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [f])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [g])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [h])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [i])\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        if <(letter (item (#) of [letter v]) of ()) = [1]> then\n            if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [j])\n            else\n                if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [k])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [l])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [m])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [n])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [o])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [p])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [q])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [r])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [s])\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        else\n            if <(letter (item (#) of [letter v]) of ()) = [2]> then\n                if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [t])\n                else\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [u])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [v])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [w])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [x])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [y])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [z])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [0])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [1])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [9]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [2])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            else\n                if <(letter (item (#) of [letter v]) of ()) = [3]> then\n                    if <(letter (item (#) of [letter 2 v]) of ()) = [0]> then\n                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [3])\n                    else\n                        if <(letter (item (#) of [letter 2 v]) of ()) = [1]> then\n                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [4])\n                        else\n                            if <(letter (item (#) of [letter 2 v]) of ()) = [2]> then\n                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [5])\n                            else\n                                if <(letter (item (#) of [letter 2 v]) of ()) = [3]> then\n                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [6])\n                                else\n                                    if <(letter (item (#) of [letter 2 v]) of ()) = [4]> then\n                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [7])\n                                    else\n                                        if <(letter (item (#) of [letter 2 v]) of ()) = [5]> then\n                                            replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [8])\n                                        else\n                                            if <(letter (item (#) of [letter 2 v]) of ()) = [6]> then\n                                                replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [9])\n                                            else\n                                                if <(letter (item (#) of [letter 2 v]) of ()) = [7]> then\n                                                    replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [-])\n                                                else\n                                                    if <(letter (item (#) of [letter 2 v]) of ()) = [8]> then\n                                                        replace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [_])\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                else\n                    if <(letter (item (#) of [letter v]) of ()) = [4]> then\n                        set x to (item (#) of [decoded results v])\n                        replace item (clone #) of [letter v] with ((length of (x position)) + (2))\n                        replace item (clone #) of [letter 2 v] with ((length of (x position)) + (3))\n                        replace item (#) of [decoded results v] with []\n                    else\n                        if <(letter (item (#) of [letter v]) of ()) = [5]> then\n                            set y to (item (#) of [decoded results v])\n                            replace item (clone #) of [letter v] with (((length of (x position)) + (length of (y position))) + (3))\n                            replace item (clone #) of [letter 2 v] with (((length of (x position)) + (length of (y position))) + (4))\n                            replace item (#) of [decoded results v] with []\n                        else\n                            if <(letter (item (#) of [letter v]) of ()) = [6]> then\n                                think (item (#) of [decoded results v])\n                                replace item (clone #) of [letter v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (4))\n                                replace item (clone #) of [letter 2 v] with (((length of (x position)) + ((length of (y position)) + (length of (item (#) of [decoded results v])))) + (5))\n                                replace item (#) of [decoded results v] with []\n                            else\n                                if <(letter (item (#) of [letter v]) of ()) = [7]> then\n                                    if <(item (#) of [decoded results v]) = (Level)> then\n                                        show\n                                    else\n                                        hide\n                                    end\n                                    replace item (#) of [decoded results v] with []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    replace item (#) of [letter v] with ((item (#) of [letter v]) + (2))\n    replace item (#) of [letter 2 v] with ((item (#) of [letter 2 v]) + (2))\nend\n\nreplace item (#) of [decoded results v] with (join (item (#) of [decoded results v]) [@])\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [tick v]\nif <not <<(☁ P5) = [0]> or <(player #) = [5]>>> then\n    decode (☁ P5) position clone #: [5]\nelse\n    hide\nend\n\n