Halloween! A  Scrolling Platformer!

Instructions: After 2 weeks of bug and glitch fixing, commenting ,etc.... it's finally done . Halloween A Scrolling Platformer\nArrow keys to move\nMobile control\nPlease follow us , we did a lot of hard work\n\n@bookdog17 did engine and art, and music.\n@SirCorgi3 fixed bugs and glitches and few levels\n@Onnk4967 levels\n@Narbash Art and levels\n@WorkshopX Art and other code\n@Hockeycat88 for the thumb and background!\n@griffpatch for the scrolling part\n@suhalo_351 for helping fix a bug\n\n-----SUBSCRIBE TO BOOKDOG17 ON YOUTUBE!!!------\n---------------------------------PLZ... ----------------------------------\nhttps://www.youtube.com/channel/UC3FJx1sdBUjLCU1YY9gi0CQ\n\n\n\n\n-----------------------------------TAGS-----------------------------------\n#games #all #music #fun #cool #grifffpatch #JK #bookdog17 #animations #NOT #no #more tags

@Stage\n\n@Player\n\ndefine Game On\nset size to (100) %\nclear graphic effects\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\npoint in direction (90)\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Test - Die\nif <<touching (danger v)?> and <not <(costume [name v]) = [Cyclops]>>> then\n    set [exit v] to [die]\nend\n\ndefine Change Player Y By (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (platform v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Game - Win\nset rotation style [left-right v]\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nsend cloud data\nchange [level v] by (1)\nwait (1) seconds\n\ndefine Change Player X By (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platform v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platform v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - Die\nset rotation style [left-right v]\nset [exit v] to []\nrepeat (20)\n    change y by ((((100) - (y position)) / (4)) - (0.5))\nend\nbroadcast (effect v)\nrepeat until <(y position) < [-179]>\n    change y by ((((-180) - (y position)) / (6)) - (0.5))\n    change [ghost v] effect by (5)\nend\nhide\nwait (0.3) seconds\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\nend\n\ndefine Tick\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [sx v] by (-2)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [sx v] by (2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player X By (round (sx))\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [15]\n    end\nend\nchange [sy v] by (-2)\nChange Player Y By (sy)\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (5)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <<(y) < [-180]> and <not <(costume [number v]) = [7]>>> then\n    set [exit v] to [die]\nend\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        repeat (10)\n            change [sy v] by ((((0) - (sy)) / (3)) - (0.3))\n        end\n        repeat (10)\n            change [sy v] by ((((15.5) - (sy)) / (3.5)) - (0.3))\n        end\n    else\n        set rotation style [left-right v]\n    end\nend\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ p1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ p2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ p3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ p4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ p5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ p6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ p7 v] to (value)\n                        else\n                            set [☁ p8 v] to (value)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine send cloud data\nset [encoded v] to []\nwrite (join (username) (join [ ] (item (say) of [chat v]))) to encoded\nwrite (round ((timer) * (10))) to encoded\nwrite ((SCROLL X) + (x position)) to encoded\nwrite ((SCROLL Y) + (y position)) to encoded\nwrite (costume) to encoded\nset cloud # (MY PLAYER #) to (encoded)\n\nwhen I receive [begin v]\nset [level v] to [1]\nforever\n    broadcast (reset v) and wait\n    broadcast (setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (tick v)\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\nwhen I receive [stopclicked v]\nhide\n\nwhen I receive [touch player v]\nset [exit v] to [die]\n\nwhen flag clicked\nforever\n    set [player: in air v] to (in air)\nend\n\nwhen flag clicked\nshow list [chat v]\nset [say v] to []\n\nwhen I receive [begin v]\nforever\n    if <(say) > []> then\n        wait (5) seconds\n        set [say v] to []\n    end\nend\n\nwhen flag clicked\nforever\n    set [costume v] to (costume [number v])\nend\n\nwhen [right arrow v] key pressed\npoint in direction (90)\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\n\nwhen flag clicked\nforever\n    play sound [The Living Tombstone- Spooky Scary Skeletons v] until done\nend\n\nwhen [r v] key pressed\nbroadcast (effect v)\nhide\nwait (0.3) seconds\n\nwhen I receive [begin v]\nforever\n    go to [back v] layer\nend\n\nwhen I receive [somthing v]\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (player v)\n\nwhen I receive [change skin to frank v]\nswitch costume to (frankenstein  v)\n\nwhen I receive [change skin to frank v]\nswitch costume to (frankenstein  v)\n\nwhen I receive [change skin to grim v]\nswitch costume to (grim reaper v)\n\nwhen I receive [change skin to skeleton v]\nswitch costume to (skeleton v)\n\nwhen I receive [change skin to mummy v]\nswitch costume to (mummy v)\n\nwhen I receive [change skin to cyclops v]\nswitch costume to (cyclops v)\n\nwhen flag clicked\nswitch costume to (player v)\n\nwhen I receive [change skin to dracula v]\nswitch costume to (dracula v)\n\nwhen flag clicked\nforever\n    if <touching (candy v)?> then\n        change [candies v] by (pick random (1) to (5))\n    end\nend\n\nwhen flag clicked\nset [candies v] to [0]\n\nwhen [r v] key pressed\nbroadcast (begin v)\n\nwhen I receive [begin v]\nforever\n    if <(say) > []> then\n        think (join (join (MY PLAYER #) (join [ : ] (username))) (join [- ] (item (say) of [chat v])))\n    else\n        think (join (MY PLAYER #) (join [ - ] (username)))\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <key (t v) pressed?> then\n        hide list [chat v]\n        ask [] and wait\n        set [say v] to (answer)\n        show list [chat v]\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nset [max players v] to [8]\nset [my player # v] to [0]\nhide\nbroadcast (setup - opponents v) and wait\nswitch backdrop to (joining v)\nbroadcast (join game v) and wait\nif <(MY PLAYER #) > [0]> then\n    switch backdrop to (joined v)\n    wait (0.8) seconds\n    switch backdrop to (blank v)\n    broadcast (begin v)\n    show\nelse\n    switch backdrop to (full v)\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) > [0]> then\n        send cloud data\n    end\nend\n\n@Mummy\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (-37) y: (-86)\n    set size to (150) %\n    show\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [19]> then\n        broadcast (Change skin to Mummy v)\n    end\nend\n\n@Dracula\n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (51) y: (24)\n    set size to (150) %\n    show\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [9]> then\n        broadcast (Change skin to Dracula v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@grim reaper\n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (-46) y: (24)\n    set size to (150) %\n    show\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [6]> then\n        broadcast (Change skin to grim v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\n@cyclops\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [24]> then\n        broadcast (Change skin to cyclops v)\n    end\nend\n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (-158) y: (-86)\n    set size to (150) %\n    show\nend\n\n@BG shop\n\nwhen I receive [open shop v]\ngo to [front v] layer\nset [ghost v] effect to (6)\nset [in shop v] to [yes]\nshow\nglide (1) secs to x: (0) y: (0)\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <(In Shop) = [no]> then\n        hide\n        glide (1) secs to x: (0) y: (-269)\n    end\n    if <<mouse down?> and <not <touching (mouse-pointer v)?>>> then\n        set [in shop v] to [no]\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n@skeleton\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (-157) y: (24)\n    set size to (150) %\n    show\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [4]> then\n        broadcast (Change skin to skeleton v)\n    end\nend\n\n@Shop\n\nwhen flag clicked\nhide\n\nwhen I receive [tick v]\nshow\nset size to (31) %\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((75) - (size)) / (3))\n    end\n    if <<(In Shop) = [no]> and <<touching (mouse-pointer v)?> and <mouse down?>>> then\n        wait until <mouse down?>\n        set [in shop v] to [yes]\n        broadcast (Open Shop v)\n    end\nend\n\nwhen I receive [open shop v]\nhide\nstop [other scripts in sprite v]\n\n@Ones\n\nwhen flag clicked\ngo to x: (-189) y: (153)\nset [candies v] to [0]\nset [number v] to [0]\nforever\n    if <(Candies) < [10]> then\n        switch costume to (Candies)\n    else\n        if <(Candies) > [10]> then\n            switch costume to (letter (2) of (Candies))\n        else\n            if <(letter (2) of (Candies)) = [10]> then\n                switch costume to (0 v)\n            end\n            if <(Candies) > [9]> then\n                switch costume to (Candies)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (candy v)?> then\n        change [candies v] by (1)\n    end\nend\n\nwhen I receive [tick v]\nshow\n\n@Tens\n\nwhen flag clicked\nhide\nset [candies v] to [0]\ngo to x: (-205) y: (153)\nforever\n    if <(Candies) < [10]> then\n        hide\n    else\n        if <<(Candies) > [10]> or <(Candies) = [10]>> then\n            show\n            switch costume to (letter (1) of (Candies))\n        else\n            if <(letter (2) of (Candies)) = [10]> then\n                switch costume to (0 v)\n            end\n        end\n    end\nend\n\n@Play\n\nwhen flag clicked\ngo to x: (0) y: (50)\nforever\n    repeat (15)\n        change y by (-1)\n    end\n    wait (0.5) seconds\n    repeat (15)\n        change y by (1)\n    end\n    wait (0.5) seconds\nend\n\nwhen this sprite clicked\nforever\n    broadcast (hiide v)\nend\n\nwhen I receive [hiide v]\nhide\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\nend\n\nwhen backdrop switches to [blank v]\n\nwhen this sprite clicked\nforever\n    broadcast (somthing v)\nend\n\n@Backround\n\nwhen I receive [hiide v]\nhide\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen backdrop switches to [blank v]\nshow\n\n@Instructions\n\nwhen flag clicked\ngo to x: (-5) y: (-50)\nforever\n    repeat (15)\n        change y by (-1)\n    end\n    wait (0.5) seconds\n    repeat (15)\n        change y by (1)\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [hiide v]\nhide\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    show\nend\n\nwhen flag clicked\nplay sound [Triumph v] until done\n\nhide\n\nwhen backdrop switches to [blank v]\n\n@Danger\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [setup v]\ngo to [back v] layer\nset [danger: x v] to [-50]\nset [danger: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [danger: x v] by (x)\nchange [danger: y v] by (y)\nnext costume\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nposition ((Danger: x) - (SCROLL X)) ((Danger: y) - (SCROLL Y))\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow list [code v]\n\nwhen [c v] key pressed\nshow list [code v]\n\nwhen flag clicked\nset [in shop v] to [no]\n\n@Opponents\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value = read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\ndefine setup players\nset [offline v] to [100]\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n        hide\n    else\n        tick\n    end\nend\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ P1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ P2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ P3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ P4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ P5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ P6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ P7)\n                        else\n                            set [value v] to (☁ P8)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [setup - opponents v]\nsetup players\n\ndefine tick\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\nend\nbegin decode of (value)\nvalue = read from encoded\nthink (join (player #) (join [ - ] (value)))\nvalue = read from encoded\nvalue = read from encoded\nx: ((value) - (SCROLL X))\nvalue = read from encoded\ny: ((value) - (SCROLL Y))\nvalue = read from encoded\nswitch costume to (value)\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [my player # v] to (player #)\nend\n\ndefine y: (y)\nset y to (y)\nif <(y) = (y position)> then\n    if <(visible) = [1]> then\n        set [visible v] to [1]\n        set [ghost v] effect to (0)\n    end\nelse\n    set [visible v] to [0]\n    set [ghost v] effect to (100)\nend\n\ndefine x: (x)\nset x to (x)\nif <(x) = (x position)> then\n    set [visible v] to [1]\n    set [ghost v] effect to (0)\nelse\n    set [visible v] to [0]\n    set [ghost v] effect to (100)\nend\n\nwhen flag clicked\nswitch costume to (online v)\n\n@Platform\n\nwhen I receive [tick v]\nposition ((Platforms: x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [green flag v]\nshow\n\ndefine clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [platforms: x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nwhen I receive [setup v]\nhide\nset [platforms: x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (1 1 v)\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [360] y: [0]\n    clone at x: [0] y: [360]\n    clone at x: [0] y: [360]\n    clone at x: [360] y: [0]\n    clone at x: [0] y: [360]\n    clone at x: [0] y: [360]\n    clone at x: [0] y: [230]\n    clone at x: [0] y: [360]\n    clone at x: [0] y: [360]\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [stopclicked v]\nhide variable [seconds v]\nhide\ndelete this clone\n\n@Frankenstein \n\nwhen I receive [open shop v]\nrepeat (2)\n    go to [front v] layer\n    go to x: (155) y: (24)\n    set size to (150) %\n    show\nend\n\nwhen flag clicked\nforever\n    if <(In Shop) = [no]> then\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen this sprite clicked\nforever\n    if <(Candies) > [14]> then\n        broadcast (Change skin to frank v)\n    end\nend\n\n@Candy\n\ndefine Clone me at (x) (y)\nset [collectibles: x v] to (x)\nset [collectibles: y v] to (y)\nchange [collected max v] by (1)\nswitch costume to (pick random (1) to (5))\ncreate clone of (_myself_ v)\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nPosition ((Collectibles: x) - (SCROLL X)) ((Collectibles: y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [collected v] by (1)\n    delete this clone\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\nforever\n    set [candies v] to (collected)\nend\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [jackpot!!!!! v]\nClone me at [4207] [88]\nClone me at [4287] [117]\nClone me at [4374] [117]\nClone me at [4510] [85]\nClone me at [4437] [97]\nClone me at [4292] [167]\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        change [candies v] by (pick random (1) to (7))\n    end\nend\n\nwhen I receive [setup v]\nset [collected v] to [0]\nset [collected max v] to [0]\nset [collectibles: x v] to [0]\nset [collectibles: y v] to [0]\nhide\nif <(LEVEL) = [1]> then\n    Clone me at [522] [25]\n    Clone me at [170] [55]\n    Clone me at [673] [-65]\n    Clone me at [-170] [141]\n    Clone me at [770] [11]\n    Clone me at [1096] [63]\n    Clone me at [2050] [78]\n    Clone me at [1289] [233]\n    Clone me at [1489] [247]\n    Clone me at [1605] [247]\n    Clone me at [1483] [22]\n    Clone me at [2004] [-13]\n    Clone me at [2118] [-133]\n    Clone me at [3741] [245]\n    Clone me at [3924] [85]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\n    Clone me at [3245] [231]\nend\nset [collectibles: x v] to [-999999]\n\n@TB\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\ngo to [front v] layer\nshow\n\n