|| Ɠɍęęɲ Ᵽęą Ḁƥⱺƈąłƴƥşⱸ Ⱳⱺɍḻɗ 2 || (⭑scrolling platformer⭑)

Instructions: Warning: This game is best for MacBook another device might glitch, smaller or older machines like iPad-mini or phone might lag a lot.\n==========================================\nControls: Arrow keys to move (tap on mobile) press 1 to see your progress, press a to see achievement list (press a to close),  press d for dark mode (press d to close), press r to rest if the game breaks.\n==========================================\nNotes: This is my second scrolling game :) There might be some bugs that I don't know how to fix if you are an expert, please tell me in the comments, arrow keys to move also it is mobile friendly.  I will suggest that you shouldn't press moving keys when falling done a super long distance when you press down to go under a bridge. If the game breaks or checkpoint doesn't work press r to restart. Also love and fave for a surprise :)\n==========================================\nAchievements: there are 30+ Achievements to be discovered; try to complete them all (some are hard). When you received the achievement Veteran, that means you beat the game.\n==========================================\nTags : #game #explor #jungle #desert #snow #green #pea #apocalypse #world #platfomer #scrolling #terraria #fun #easy #art #durp #rain #checkpoint #art #GPAW #relame #well #op #y4taw #sirenhead #codebreaking #achievements\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nCan this get featured?

@Stage\n\nwhen flag clicked\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen I receive [play game v]\nswitch backdrop to (lv.1-3 v)\n\nwhen I receive [lv.2 v]\n\nwhen I receive [lv.3 v]\n\nbroadcast (splim v)\n\nclear sound effects\n\nswitch backdrop to (lv.1-3 v)\n\nwhen I receive [play game v]\nforever\n    if <(biome music) = [1]> then\n        stop all sounds\n        play sound [Music-Ice v] until done\n    end\nend\n\nwhen flag clicked\nset [biome music v] to [1]\n\n@player\n\nwhen I receive [home screen v]\nstop [other scripts in sprite v]\n\nwhen I receive [flag v]\nset size to (100) %\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to (world)\nforever\n    broadcast (reset v) and wait\n    broadcast (setup v) and wait\n    Game on\n    repeat until <(EXIT) > []>\n        broadcast (Tick v)\n        Tick\n    end\n    if <(EXIT) = [win]> then\n        broadcast (win 2 v)\n        Game - win\n    else\n        Game - Die\n    end\nend\n\ndefine Game on\nset size to (90) %\nset [sx v] to [0]\nset [x v] to [0]\nset [in air v] to [0]\nset [y v] to [0]\nset [sy v] to [0]\nset [exit v] to []\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nclear graphic effects\nshow\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [travel distence v] by (0.05)\n    Change Player x by [-6]\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [travel distence v] by (0.05)\n    Change Player x by [6]\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 <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n    if <(in air) < [4]> then\n        set [sy v] to ((16) + (jj boost))\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange player y by (sy)\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)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [restart]\nend\nchange [x v] by (8)\nchange [x v] by (-8)\n\ndefine Change player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nTest Die\nif <(fall) = [false]> then\n    repeat until <not <<touching (ground v)?> or <touching (moving block 1 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]\n    end\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nTest Die\nif <touching (ground v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (ground 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 <<mouse down?> and <(mouse y) > ((y position) + (20))>>> 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 (ground 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 [exit v] to []\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (die v)\n\nwait (0.5) seconds\n\nshow\n\ndefine Test Die\nif <(dragon stone) = [false]> then\n    if <<touching (traps v)?> or <key (r v) pressed?>> then\n        if <(can get hurt) = [true]> then\n            set [exit v] to [restart]\n        end\n    end\nend\n\nchange size by (-)\n\ndefine Game - win\nrepeat (50)\n    point towards (front layer deco v)\n    turn right (65) degrees\n    move ((distance to [front layer deco v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (1)\nend\nbroadcast (home screen v)\nhide\nchange [level v] by (1)\n\ndefine tick 2\n\nTick\n\nwhen flag clicked\nforever\n    if <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <<<mouse down?> and <(x position) > (mouse x)>> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        if <not <<<(costume [number v]) = [9]> or <(costume [number v]) = [10]>> or <(costume [number v]) = [13]>>> then\n            if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n                point in direction (90)\n            end\n            if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n                point in direction (-90)\n            end\n        end\n    end\nend\n\nwhen I receive [hide home screen v]\nbroadcast (Flag v) and wait\nbroadcast (Play game v) and wait\n\nbroadcast (Tick v) and wait\nTick\n\ndefine win\nrepeat (10)\n    change size by (10)\nend\nset size to (90) %\nbroadcast (reset v)\n\nwhen I receive [win 2 v]\nset volume to (100) %\nif <(EXIT) = [win]> then\n\nwhen I receive [jump v]\nset [sy v] to [34]\n\nwhen flag clicked\nswitch costume to (default v)\n\nwhen flag clicked\nswitch costume to (default v)\nset [touching moon v] to [false]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        if <key (space v) pressed?> then\n            set [ghost v] effect to (80)\n            set [can get hurt v] to [false]\n        else\n            clear graphic effects\n            set [can get hurt v] to [true]\n        end\n    end\n    if <<<touching color (#664900)?> or <touching color (#3d3102)?>> and <key (down arrow v) pressed?>> then\n        set [fall v] to [true]\n        wait (0.3) seconds\n        set [fall v] to [false]\n    end\nend\n\nwhen I receive [jump 2  v]\nset [sy v] to [20]\n\nwhen flag clicked\nset [jumps v] to [0]\nforever\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        change [jump times v] by (1)\n        change [jumps v] by (1)\n        wait (0.65) seconds\n    end\nend\n\nwhen I receive [reset v]\nhide\n\nwhen I receive [home screen v]\nhide\n\nwhen I receive [splim v]\nbroadcast (Flag v) and wait\n\nset [check point v] to [0]\nset [check point v] to [1]\n\nwhen I receive [die v]\nchange [death times v] by (1)\nwait (0.105) seconds\nforever\n    if <(EXIT) = []> then\n        if <(check point) = [1]> then\n            Change player y by [60]\n            Change Player x by [987]\n            show\n            stop [this script v]\n        else\n            if <(check point) = [2]> then\n                broadcast (check 2 respawn v)\n                Change player y by ((checkpoint 2 place y) + (20))\n                Change Player x by [150]\n                hide\n                wait (0.3) seconds\n                show\n                stop [this script v]\n            end\n            if <(check point) = [3]> then\n                Change player y by ((check point 3 place y) + (20))\n                Change Player x by (check point 3 place x)\n                hide\n                wait (0.3) seconds\n                show\n                stop [this script v]\n            end\n            if <(check point) = [0]> then\n                Change player y by [0]\n                Change Player x by [0]\n                show\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [player's skin v] to [default]\nswitch costume to (default v)\nset [check point v] to [0]\nforever\n    if <touching (checkpoint v)?> then\n        broadcast (checkpoint one v)\n        set [check point v] to [1]\n    end\n    if <touching (checkpoint2 v)?> then\n        broadcast (checkpoint two v)\n        set [check point v] to [2]\n    end\n    if <touching (checkpoint3 v)?> then\n        broadcast (checkpoint 3 v)\n        set [check point v] to [3]\n    end\n    if <<touching color (#2c604c)?> or <<touching color (#33feff)?> or <touching color (#9bffff)?>>> then\n        set [biome music v] to [1]\n    end\n    if <touching color (#ffe900)?> then\n        set [biome music v] to [2]\n    end\n    if <<touching color (#00ff27)?> and <touching color (#00bb1a)?>> then\n        set [jp power v] to ((500) + (@?/Jp skin effect))\n        set [jp v] to [true]\n    end\n    if <<<<touching color (#a80000)?> and <touching color (#c90000)?>> and <<touching color (#b2b2b2)?> and <touching color (#c8ffff)?>>> and <touching color (#1c5823)?>> then\n        set [jj time v] to [10]\n        set [jj v] to [true]\n    end\n    if <<touching color (#c3c57d)?> and <<touching color (#bcc07a)?> and <<touching color (#b0b475)?> and <not <<touching (checkpoint v)?> or <<touching (checkpoint2 v)?> or <touching (checkpoint3 v)?>>>>>>> then\n        set [touching moon v] to [true]\n    else\n        set [touching moon v] to [false]\n    end\nend\n\nwhen flag clicked\nset [check point v] to [0]\nset [jump times v] to [0]\n\nwhen flag clicked\nset [fall v] to [false]\n\nwhen I receive [splim v]\nbroadcast (rain place v)\nset [rain level v] to [2]\n\nhide variable [rain level v]\n\nset [check point v] to [2]\n\nwhen I receive [jump v]\n\nwhen flag clicked\nset [jp v] to [false]\nset [jp power v] to [0]\nset [jp power spended v] to [0]\nforever\n    if <<<key (space v) pressed?> and <(jp) = [true]>> and <(jp power) > [0]>> then\n        broadcast (jp show v)\n        start sound [thunder_strike_1-Mike_Koenig-739781745.mp3 v]\n        create clone of (jp effect v)\n        change [sy v] by (3)\n        change [jp power v] by (-1)\n        change [jp power spended v] by (1)\n        if <(sy) > [15]> then\n            set [sy v] to [15]\n        end\n    else\n        if <(jp power) < [1]> then\n            broadcast (jp hide v)\n        else\n            broadcast (jp show v)\n        end\n    end\nend\n\nwhen flag clicked\nset [jj time v] to [0]\nset [jp v] to [false]\nforever\n    if <(jj) = [true]> then\n        broadcast (jj show v)\n        set [jj boost v] to [8]\n        repeat until <(jj time) = [0]>\n            change [jj time v] by (-1)\n            wait (1) seconds\n        end\n        set [jj boost v] to [0]\n        set [jj v] to [false]\n    else\n        if <(jj time) < [1]> then\n            broadcast (jj hide v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(direction) = [90]> then\n        set [grass effect by player v] to (pick random (3) to (6))\n    else\n        set [grass effect by player v] to (pick random (-3) to (-6))\n    end\nend\n\nwhen I receive [wants some help v]\n\nwhen flag clicked\nforever\n    if <(answer) = [report]> then\n        talk [Hey! you are the dragon for the newspaper I will capture you!]\n        wait (2) seconds\n        say [ ] for (0) seconds\n        stop [this script v]\n    end\nend\n\ndefine talk (0)\nset [what to say v] to []\nset [number v] to [0]\nrepeat (length of (0))\n    change [number v] by (1)\n    set [what to say v] to (join (what to say) (letter (number) of (0)))\n    say (what to say)\nend\n\ndefine Talk (0)\n\nwhen flag clicked\nset [dragon stone v] to [false]\n\nwhen flag clicked\nforever\n    if <<touching (totem code v)?> and <(totem number :) = [0]>> then\n        forever\n            if <<touching (totem code2 v)?> and <(totem number :) = [1]>> then\n                forever\n                    if <<touching (totem code3 v)?> and <(totem number :) = [2]>> then\n                        forever\n                            if <<touching (totem code4 v)?> and <(totem number :) = [3]>> then\n                                broadcast (totem code correct v)\n                                stop [this script v]\n                            end\n                        end\n                    else\n                        if <touching (totem code4 v)?> then\n                            stop [this script v]\n                        end\n                    end\n                end\n            else\n                if <<touching (totem code3 v)?> or <touching (totem code4 v)?>> then\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [travel distence v] to [0]\n\nwhen flag clicked\nset [death times v] to [0]\n\nwhen I receive [deafult v]\nswitch costume to (default v)\nset [player's skin v] to [default]\n\nwhen I receive [diamond skin v]\nswitch costume to (diamond v)\nset [player's skin v] to [diamond]\n\nwhen I receive [silver skin v]\nswitch costume to (silver v)\nset [player's skin v] to [silver]\n\nwhen I receive [gold skin v]\nswitch costume to (gold v)\nset [player's skin v] to [gold]\n\nwhen [r v] key pressed\nbroadcast (reset v)\n\n@ground\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 [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    Clone at x: [460] y: [-20]\n    Clone at x: [250] y: [80]\n    Clone at x: [-280] y: [100]\n    Clone at x: [700] y: [-400]\n    Clone at x: [100] y: [500]\n    Clone at x: [20] y: [-300]\n    Clone at x: [70] y: [280]\n    Clone at x: [-300] y: [200]\n    Clone at x: [-450] y: [130]\n    Clone at x: [-350] y: [-150]\n    Clone at x: [-100] y: [400]\n    Clone at x: [1000] y: [0]\n    Clone at x: [250] y: [-320]\n    Clone at x: [300] y: [-300]\n    Clone at x: [220] y: [350]\n    Clone at x: [-200] y: [-550]\n    Clone at x: [300] y: [200]\n    Clone at x: [300] y: [0]\n    Clone at x: [300] y: [0]\n    Clone at x: [-2000] y: [600]\n    Clone at x: [0] y: [3000]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n        Clone at x: [0] y: [-150]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen I receive [home screen v]\n\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nClone at x: [880] y: [-500]\nClone at x: [120] y: [-260]\nClone at x: [120] y: [430]\nClone at x: [200] y: [-300]\nClone at x: [400] y: [50]\n\n@front layer deco\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    Clone at x: [460] y: [-20]\n    Clone at x: [250] y: [80]\n    Clone at x: [-280] y: [100]\n    Clone at x: [700] y: [-400]\n    Clone at x: [100] y: [500]\n    Clone at x: [20] y: [-300]\n    Clone at x: [70] y: [280]\n    Clone at x: [-300] y: [200]\n    Clone at x: [-450] y: [130]\n    Clone at x: [-350] y: [-150]\n    Clone at x: [-100] y: [400]\n    Clone at x: [1000] y: [0]\n    Clone at x: [250] y: [-320]\n    Clone at x: [300] y: [-300]\n    Clone at x: [220] y: [350]\n    Clone at x: [-200] y: [-550]\n    Clone at x: [300] y: [200]\n    Clone at x: [300] y: [0]\n    Clone at x: [300] y: [0]\n    Clone at x: [-2000] y: [600]\n    Clone at x: [0] y: [3000]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [460] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ngo to [front v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\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\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [150] y: [210]\nClone at x: [350] y: [210]\nClone at x: [350] y: [210]\nClone at x: [600] y: [-200]\nClone at x: [400] y: [-200]\nClone at x: [20] y: [-230]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\n@front layer\n\nwhen flag clicked\n\nswitch costume to (costume1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [home screen v]\nstop [other scripts in sprite v]\n\n@back layer\n\nwhen flag clicked\n\nswitch costume to (costume1 v)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\n\nwhen I receive [home screen v]\nstop [other scripts in sprite v]\n\n@back layer deco\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    Clone at x: [460] y: [-20]\n    Clone at x: [250] y: [80]\n    Clone at x: [-280] y: [100]\n    Clone at x: [700] y: [-400]\n    Clone at x: [100] y: [500]\n    Clone at x: [20] y: [-300]\n    Clone at x: [70] y: [280]\n    Clone at x: [-300] y: [200]\n    Clone at x: [-450] y: [130]\n    Clone at x: [-350] y: [-150]\n    Clone at x: [-100] y: [400]\n    Clone at x: [1000] y: [0]\n    Clone at x: [250] y: [-320]\n    Clone at x: [300] y: [-300]\n    Clone at x: [220] y: [350]\n    Clone at x: [-200] y: [-550]\n    Clone at x: [300] y: [200]\n    Clone at x: [300] y: [0]\n    Clone at x: [300] y: [0]\n    Clone at x: [-2000] y: [600]\n    Clone at x: [0] y: [3000]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [460] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\nshow\ngo to [back v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ngo to [front v] layer\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    go to [back v] layer\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [150] y: [210]\nClone at x: [350] y: [210]\nClone at x: [350] y: [210]\nClone at x: [600] y: [-200]\nClone at x: [400] y: [-200]\nClone at x: [20] y: [-230]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nClone at x: [200] y: [-300]\nClone at x: [400] y: [50]\n\n@traps\n\nwhen I receive [setup v]\nswitch costume to (blank v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    Clone at x: [460] y: [500]\n    Clone at x: [250] y: [290]\n    Clone at x: [300] y: [-130]\n    Clone at x: [50] y: [-490]\n    Clone at x: [250] y: [800]\n    Clone at x: [-1500] y: [0]\n    Clone at x: [250] y: [100]\n    Clone at x: [2000] y: [-700]\n    Clone at x: [400] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [460] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ngo to [back v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\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\nClone at x: [370] y: [210]\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [150] y: [210]\nClone at x: [350] y: [210]\nClone at x: [350] y: [210]\nClone at x: [600] y: [-200]\nClone at x: [400] y: [-200]\nClone at x: [20] y: [-230]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\n@for copy paste\n\n@coin\n\nwhen I receive [setup v]\n\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    Clone at x: [80] y: [-180]\n    Clone at x: [-20] y: [180]\n    Clone at x: [60] y: [0]\n    wait (0) seconds\n    Clone at x: [160] y: [80]\n    Clone at x: [60] y: [0]\n    Clone at x: [60] y: [0]\n    Clone at x: [60] y: [-1000]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [460] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ngo to [back v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (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\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [100] y: [210]\nClone at x: [150] y: [210]\nClone at x: [350] y: [210]\nClone at x: [350] y: [210]\nClone at x: [600] y: [-200]\nClone at x: [400] y: [-200]\nClone at x: [20] y: [-230]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    hide\n    go to [front v] layer\n    next costume\nend\n\nwhen I start as a clone\nset size to (100) %\nshow\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\n    next costume\n    if <touching (player v)?> then\n        start sound [Collect v]\n        change [coin v] by (1)\n        delete this clone\n    end\nend\n\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [coin v] to [0]\n\nClone at x: [60] y: [0]\n\nwhen I receive [home screen v]\nstop [other scripts in sprite v]\n\n@starting ani character2\n\nwhen flag clicked\n\ngo to [front v] layer\nhide\nwait (2) seconds\nbroadcast (ani2 v)\nshow\nset [sine v] to [0]\nforever\n    change [sine v] by (10)\n    point in direction ((([sin v] of (sine) ) * (15)) + (90))\n    set size to ((([sin v] of ((sine) * (2)) ) * (10)) + (100)) %\nend\n\nwhen I receive [ani2 v]\n\ngo to [front v] layer\nswitch costume to (costume1 v)\nshow\nrepeat (16)\n    next costume\n    wait (0.01) seconds\nend\nwait (0.4) seconds\nhide\nbroadcast (ani3 v)\n\nwhen I receive [start2 v]\nhide\n\n@starting ani character\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\npoint in direction (90)\nset size to (30) %\ngo to [front v] layer\nset [intro size v] to [90]\nset [sine v] to [0]\ngo to [front v] layer\nreset timer\nrepeat until <(size) > [199]>\n    change size by (((200) - (size)) / (5))\n    turn right (((85) - (direction)) / (7)) degrees\n    go to [front v] layer\nend\nrepeat (99)\n    turn right ((10) + ((timer) * (5))) degrees\nend\nrepeat (50)\n    turn left (((-90) + (direction)) / (7)) degrees\nend\ncreate clone of (sprite2 v)\ngo to [front v] layer\nwait (1) seconds\ncreate clone of (sprite3 v)\ngo to [front v] layer\nwait (0.5) seconds\ncreate clone of (sprite4 v)\ngo to [front v] layer\nwait (2.5) seconds\nhide\nbroadcast (splim v) and wait\n\nbroadcast (start2 v)\nbroadcast (start v)\nbroadcast (start4 v)\n\nhide\n\nwhen I start as a clone\n\nset [size v] to [20]\nrepeat until <(size) > [1200]>\n    switch costume to (costume3 v)\n    change [size v] by (((1201) - (Size)) / (5))\n    set size to (Size) %\n    switch costume to (CloneCostume)\nend\nchange [clonecostume v] by (1)\n\nwait (0) seconds\ndelete this clone\n\nwhen flag clicked\ngo to [front v] layer\n\nset [clonecostume v] to [red3]\nwait (1) seconds\nwait (1) seconds\n\nwhen flag clicked\nwait (3) seconds\nbroadcast (star clone v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (3) layers\nend\n\n@heart and star\n\nwhen I start as a clone\nset size to (pick random (70) to (120)) %\nset [ghost v] effect to (pick random (30) to (60))\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nrepeat (pick random (7) to (13))\n    move ((20) - ((timer) * (5))) steps\nend\nwait (1) seconds\ndelete this clone\n\nset [yvelocity v] to [0]\nif <(yvelocity) = [0]> then\n    set [yvelocity v] to [25]\nend\nrepeat (50)\n    change y by (yvelocity)\n    change [yvelocity v] by (-1)\n    turn right (turn) degrees\nend\n\nwhen I receive [star clone v]\nreset timer\npoint in direction (90)\nrepeat (40)\n    turn right (pick random (10) to (30)) degrees\n    create clone of (_myself_ v)\nend\n\n@starting ani backround\n\nwhen I receive [start music v]\nset volume to (100) %\n\nbroadcast (start2 v)\nbroadcast (start v)\nbroadcast (start4 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nclear graphic effects\nshow\nstart sound [Unison-Aperture-NCS-Release v]\n\nwhen I receive [start2 v]\nhide\nstop [other scripts in sprite v]\nstop all sounds\n\nwhen I receive [splim v]\nswitch costume to (costume2 \(7\) v)\n\nwhen I receive [splim v]\nbroadcast (Play game v) and wait\n\nwhen I receive [//lightout v]\nset volume to (0) %\nstop [other scripts in sprite v]\n\nwhen I receive [splim v]\nhide\n\nset [rain level v] to [stop]\n\nset [rain level v] to [small]\n\nset [rain level v] to [mid]\n\nset [rain level v] to [large]\n\n@checkpoint\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    if <(check point) = [1]> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume2 v)\n    end\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nswitch costume to (costume2 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume2 v)\n    Clone at x: [987] y: [80]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen I receive [home screen v]\n\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ngo to [front v] layer\n\nwhen I receive [checkpoint one v]\nswitch costume to (costume5 v)\n\nwhen flag clicked\n\n@snow\n\nwhen I start as a clone\nif <(>\)\(*&^%$$!) = [1]> then\n    switch costume to (pick random (1) to (5))\nelse\n    switch costume to (snow v)\nend\nset size to (100) %\nset [ghost v] effect to (30)\ngo to x: (pick random (-240) to (230)) y: (175)\nset [dir v] to (pick random (-2) to (2))\nset [speed v] to (pick random (5) to (5))\nshow\nset pen color to (#d5d5d5)\npen down\nset pen size to (2)\nrepeat until <<(y position) < [-170]> or <<touching (player v)?> or < or <touching (ground v)?>>>>\n    if <key (s v) pressed?> then\n        delete this clone\n    end\n    point in direction (((180) + (dir)) + (global dir))\n    move (((1) * (((Falling Speed) + (1)) / (40))) * (Speed)) steps\nend\nmove (((1) * (((Falling Speed) + (1)) / (40))) * (Speed)) steps\nturn left (pick random (0) to (0)) degrees\nset size to (0) %\nset [i v] to [25]\nrepeat (10)\n    change size by (i)\n    change [ghost v] effect by ((i) / (2))\n    change [i v] by (-2)\nend\ndelete this clone\n\nwhen I receive [rain v]\nset [global dir v] to [-10]\nforever\n    set [strength v] to (pick random (-30) to (35))\n    repeat (100)\n        change [global dir v] by ((strength) / (100))\n    end\n    repeat (100)\n        change [global dir v] by (((strength) / (100)) * (-1))\n    end\nend\n\nwhen I receive [rain place v]\nforever\n    if <(rain level) = [2]> then\n        create clone of (_myself_ v)\n        wait (0.05) seconds\n        broadcast (rain v)\n        broadcast (small rain v)\n        delete this clone\n    end\nend\n\nstop [other scripts in sprite v]\n\nif <(rain level) = [2]> then\n    create clone of (_myself_ v)\n    wait (0.05) seconds\n    stop [other scripts in sprite v]\n    broadcast (rain v)\n    broadcast (mid rain v)\n    delete this clone\nend\nif <(rain level) = [2]> then\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\nif <(rain level) = [3]> then\n    create clone of (_myself_ v)\n    wait (0.05) seconds\n    stop [other scripts in sprite v]\n    broadcast (rain v)\n    broadcast (large rain v)\n    delete this clone\nend\nif <(rain level) = [3]> then\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\nif <(rain level) = [3]> then\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\n\nif <(rain level) = [stop]> then\n    set [speed v] to [50]\n    broadcast (stop rain v)\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nset [rain level v] to [3]\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine position (x) (y)\n\nturn right (15) degrees\n\nwhen I receive [\)\(rainlevel \) v]\nwait (0.5) seconds\nforever\n    if <key (s v) pressed?> then\n        set [rain level v] to [0]\n        broadcast (\)\(#&RAINLEVEL STOP v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [\)\(#&rainlevel stop v]\nwait (0.5) seconds\nforever\n    if <key (s v) pressed?> then\n        set [rain level v] to [2]\n        broadcast (\)\(RAINLEVEL \) v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nbroadcast (\)\(RAINLEVEL \) v)\n\n@rain1\n\nwhen flag clicked\nhide variable [trail v]\nset [vis? v] to [0]\nset [falling speed v] to [20]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nset [trail v] to [65]\nforever\n    set [ghost v] effect to (Trail)\n    stamp\nend\n\nwhen flag clicked\nforever\n    hide\n    wait (pick random (5) to (10)) seconds\n    switch costume to (costume2 v)\n    repeat (3)\n        set [ghost v] effect to (0)\n        stamp\n    end\n    switch costume to (costume1 v)\n    play sound (pick random (1) to (2)) until done\nend\n\nswitch costume to (rain v)\n\nwhen flag clicked\nforever\n    if <(biome music) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(biome music) = [2]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@checkpoint2\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    if <(check point) = [2]> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume2 v)\n    end\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nswitch costume to (costume2 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume2 v)\n    Clone at x: [150] y: [830]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\nset [check point 2 place x v] to (x)\nset [checkpoint 2 place y v] to (y)\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen I receive [home screen v]\n\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ngo to [front v] layer\n\nwhen I receive [checkpoint two v]\nswitch costume to (costume5 v)\n\nwhen flag clicked\n\n@checkpoint3\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    if <(check point) = [3]> then\n        switch costume to (costume5 v)\n    else\n        switch costume to (costume2 v)\n    end\n    show\nelse\n    hide\nend\n\nwhen I receive [setup v]\nswitch costume to (costume2 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume2 v)\n    Clone at x: [1360] y: [710]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\nset [check point 3 place x v] to (x)\nset [check point 3 place y v] to (y)\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nbroadcast (setup v)\nbroadcast (reset v)\n\nwhen I receive [home screen v]\n\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\ngo to [front v] layer\n\nwhen I receive [checkpoint 3 v]\nswitch costume to (costume5 v)\n\nwhen flag clicked\n\n@launch pad\n\nwhen I start as a clone\ndelete this clone\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [1550] y: [240]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-160]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - ((SCROLL X) + (///lp x))) ((y) - (SCROLL Y))\n\nbroadcast (setup v)\nbroadcast (reset v)\n\nforever\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <touching (player v)?> then\n        broadcast (jump v)\n        start sound [Low Boing v]\n        repeat (12)\n            next costume\n        end\n        switch costume to (costume1 v)\n    end\n    if <not <touching (player v)?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [///lp x v] to [10]\n\n@water\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nclear graphic effects\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    set [ghost v] effect to (30)\n    Clone at x: [0] y: [-100]\n    Clone at x: [200] y: [100]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\n    Clone at x: [200] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\ndefine Clone at x: (x) y: (y)\ngo to [back v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\n\ngo to [front v] layer\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\nbroadcast (reset v)\nbroadcast (setup v)\n\n@launch pad2\n\nwhen I start as a clone\ndelete this clone\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [1000] y: [270]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nbroadcast (setup v)\nbroadcast (reset v)\n\nforever\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        broadcast (jump v)\n        start sound [Low Boing v]\n        repeat (12)\n            next costume\n        end\n        switch costume to (costume1 v)\n    end\n    if <not <touching (player v)?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nclear graphic effects\nrepeat (50)\n    go to [front v] layer\n    change [ghost v] effect by (2)\nend\n\n@market front wall\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [2440] y: [132]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\ndelete this clone\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        if <touching (player v)?> then\n            set [ghost v] effect to (70)\n        else\n            clear graphic effects\n        end\n    end\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nbroadcast (setup v)\nbroadcast (reset v)\n\n@market front wall2\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [2800] y: [160]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\ndelete this clone\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        if <touching (player v)?> then\n            set [ghost v] effect to (70)\n        else\n            clear graphic effects\n        end\n    end\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nbroadcast (setup v)\nbroadcast (reset v)\n\n@LAKE\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [1250] y: [-50]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume2 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\ndelete this clone\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        if <touching (player v)?> then\n            go to [front v] layer\n            set [ghost v] effect to (30)\n            switch costume to (costume2 v)\n        else\n            switch costume to (costume2 v)\n            set [ghost v] effect to (10)\n        end\n    end\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nbroadcast (setup v)\nbroadcast (reset v)\n\n@jp\n\nwhen I receive [jp hide v]\nhide\n\nwhen I receive [jp show v]\nshow\n\nwhen flag clicked\nforever\n    if <(jp power) < [50]> then\n        repeat (20)\n            change [ghost v] effect by (4)\n        end\n        repeat (20)\n            change [ghost v] effect by (-4)\n        end\n    else\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    go to (player v)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [@?/jp skin effect v] to [0]\n\nwhen I receive [jp deafault v]\nswitch costume to (costume1 v)\nset [@?/jp skin effect v] to [0]\n\nwhen I receive [jp silver v]\nswitch costume to (costume2 v)\nset [@?/jp skin effect v] to [250]\n\nwhen I receive [jp gold v]\nswitch costume to (costume3 v)\nset [@?/jp skin effect v] to [500]\n\n@jp effect\n\nwhen I start as a clone\nchange x by (pick random (-10) to (10))\nshow\nset [brightness v] effect to (30)\nset [ghost v] effect to (40)\nset size to (pick random (50) to (70)) %\nrepeat (20)\n    move (-3) steps\n    change y by (-10)\n    change [ghost v] effect by (5)\n    change [brightness v] effect by (-1)\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    go to (player v)\n    go to [back v] layer\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(costume [number v]) = [3]> then\n        set [color v] effect to (pick random (0) to (200))\n    else\n        clear graphic effects\n    end\nend\n\nwhen I receive [jp deafault v]\nswitch costume to (costume1 v)\n\nwhen I receive [jp silver v]\nswitch costume to (costume2 v)\n\nwhen I receive [jp gold v]\nswitch costume to (costume3 v)\n\nchange [jp power spended v] by (100)\n\n@jj\n\nwhen I receive [jj hide v]\nhide\n\nwhen I receive [jj show v]\nshow\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    go to (player v)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        switch costume to (costume2 v)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(jj time) < [4]> then\n        repeat (20)\n            change [ghost v] effect by (4)\n        end\n        repeat (20)\n            change [ghost v] effect by (-4)\n        end\n    else\n        set [ghost v] effect to (0)\n    end\n    if <(jj time) > [10]> then\n        set [jj time v] to [10]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (50) layers\nend\n\n@grass\n\ndefine Sway\nset [grass: velocity v] to (((grass effect by player) + (pick random (-2) to (2))) * (6))\nset [grass: sine v] to [0]\nrepeat until <<[0] = (round ((grass: Velocity) * (2)))> or <<touching (player v)?> and <([abs v] of (grass: Velocity) ) < ([abs v] of ((speed x2) * (2)) )>>>\n    point in direction ((90) - (([sin v] of (grass: Sine) ) * (grass: Velocity)))\n    change [grass: sine v] by (-10)\n    set [grass: velocity v] to ((0.95) * (grass: Velocity))\nend\n\nwhen I receive [setup v]\ngo to [back v] layer\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [30] y: [-120]\n    Clone at x: [120] y: [0]\n    Clone at x: [124] y: [70]\n    Clone at x: [60] y: [30]\n    Clone at x: [40] y: [0]\n    Clone at x: [150] y: [577]\n    Clone at x: [340] y: [-65]\n    Clone at x: [100] y: [-400]\n    Clone at x: [30] y: [0]\n    Clone at x: [190] y: [0]\n    Clone at x: [-30] y: [0]\n    Clone at x: [140] y: [615]\n    Clone at x: [170] y: [-55]\n    Clone at x: [460] y: [-480]\n    Clone at x: [320] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n        Clone at x: [40] y: [0]\n        Clone at x: [120] y: [670]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    go [backward v] (20) layers\n    if <touching (player v)?> then\n        Sway\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        if <touching (player v)?> then\n            set [ghost v] effect to (30)\n        else\n            clear graphic effects\n        end\n    end\nelse\n    hide\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (10) layers\n    if <touching (player v)?> then\n        Sway\n    end\nend\n\nwhen flag clicked\nhide\n\nbroadcast (setup v)\nbroadcast (reset v)\n\ngo to [front v] layer\n\n@me in a crimson dragon suit\n\ndefine Talk (0)\nset [what to say v] to []\nset [number v] to [0]\nrepeat (length of (0))\n    change [number v] by (1)\n    set [what to say v] to (join (What to say) (letter (Number) of (0)))\n    say (What to say)\nend\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 v)\n    Clone at x: [1730] y: [340]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        go to [back v] layer\n        go [forward v] (1) layers\n        if <touching (player v)?> then\n            set [ghost v] effect to (0)\n        else\n            clear graphic effects\n        end\n    end\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I start as a clone\ndelete this clone\n\nwhen I receive [play game v]\nwait (1) seconds\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        set [answer v] to [start]\n        switch costume to (costume2 v)\n        Talk [hey there]\n        wait (1) seconds\n        Talk [want's some help]\n        wait (1.5) seconds\n        broadcast (wants some help v)\n        set [answer v] to [start]\n        repeat until <<<(answer 2) = [sure]> or <(answer) = [report]>> or <not <touching (player v)?>>>\n            set [answer v] to [start]\n        end\n        if <(answer) = [report]> then\n            wait (2) seconds\n            switch costume to (costume3 v)\n            Talk [what no!]\n            wait (0.3) seconds\n            say [ ] for (0) seconds\n            broadcast (trap dragon v)\n            forever\n                set [answer v] to [report]\n            end\n        end\n        if <(answer 2) = [sure]> then\n            switch costume to (costume2 v)\n            Talk [sure here is a dragon stone you will be immune to spikes]\n            wait (2) seconds\n            say [ ] for (0) seconds\n            set [dragon stone v] to [true]\n            broadcast (dragon stone v)\n            forever\n                set [answer v] to [sure]\n            end\n        end\n        say [ ] for (0) seconds\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nset [answer 2 v] to [0]\nforever\n    if <not <touching (player v)?>> then\n        set [answer v] to [non]\n    end\nend\n\n@sure\n\nwhen I receive [wants some help v]\nshow\nswitch costume to (costume1 v)\nset size to (100) %\nshow\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\n    if <touching (mouse-pointer v)?> then\n        point in direction ((90) + (([cos v] of (((timer) - (1)) * (300)) ) * (4)))\n        set [brightness v] effect to (15)\n        if <mouse down?> then\n            set size to ((size) + (((100) - (size)) / (2))) %\n            stop [other scripts in sprite v]\n            hide\n            broadcast (sure v)\n            repeat (100)\n                set [answer 2 v] to [sure]\n            end\n            stop [this script v]\n        end\n        set size to ((size) + (((120) - (size)) / (2))) %\n    else\n        go to [front v] layer\n        point in direction (90)\n        set size to ((size) + (((100) - (size)) / (2))) %\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(answer) = [report]> then\n        stop [other scripts in sprite v]\n        hide\n        stop [this script v]\n    end\nend\n\n@report\n\nwhen I receive [wants some help v]\nshow\nswitch costume to (costume1 v)\nset size to (100) %\nshow\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\n    if <touching (mouse-pointer v)?> then\n        point in direction ((90) + (([cos v] of (((timer) - (1)) * (300)) ) * (4)))\n        set [brightness v] effect to (15)\n        if <mouse down?> then\n            set size to ((size) + (((100) - (size)) / (2))) %\n            set [answer v] to [report]\n            stop [other scripts in sprite v]\n            hide\n            stop [this script v]\n        end\n        set size to ((size) + (((120) - (size)) / (2))) %\n    else\n        go to [front v] layer\n        point in direction (90)\n        set size to ((size) + (((100) - (size)) / (2))) %\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [answer v] to [1]\n\nwhen I receive [sure v]\nstop [other scripts in sprite v]\nhide\nstop [this script v]\n\n@me in a crimson dragon suit2\n\nwhen I receive [trap dragon v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume5 v)\n    Clone at x: [1730] y: [340]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<<(x) = (x position)> and <(y) = (y position)>> and <(answer) = [report]>> then\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (30) layers\n        if <touching (player v)?> then\n            set [ghost v] effect to (0)\n        else\n            clear graphic effects\n        end\n    end\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen flag clicked\nforever\n    if <not <touching (player v)?>> then\n        set [answer v] to [non]\n    end\nend\n\n@totem code\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume5 v)\n    Clone at x: [1825] y: [980]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) (((y) - (SCROLL Y)) + (totem 1 y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        go to [back v] layer\n        if <(totem 1 y) > [150]> then\n            set [totem 1 y v] to [150]\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        set [totem number : v] to [1]\n        repeat until <(totem 1 y) > [150]>\n            change [totem 1 y v] by ((2) + (totem 1 y repeted))\n            change [totem 1 y repeted v] by (0.2)\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [totem 1 y v] to [0]\nset [totem 1 y repeted v] to [0]\n\nwhen flag clicked\nset [totem number : v] to [0]\n\n@totem code2\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume5 v)\n    Clone at x: [1975] y: [1010]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition (((x) - (SCROLL X)) + (totem 2 x)) (((y) - (SCROLL Y)) + (totem 2 y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        go to [back v] layer\n        if <(totem 2 y) > [120]> then\n            set [totem 2 y v] to [120]\n        end\n        if <(totem 2 x) < [-59]> then\n            set [totem 2 x v] to [-59]\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        set [totem number : v] to [2]\n        repeat until <(totem 2 y) > [120]>\n            change [totem 2 y v] by ((2) + (totem 2 y repeted))\n            change [totem 2 y repeted v] by (0.2)\n            change [totem 2 x v] by (-2.1)\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [totem 2 y v] to [0]\nset [totem 2 y repeted v] to [0]\nset [totem 2 x v] to [0]\n\n@totem code3\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume5 v)\n    Clone at x: [1920] y: [900]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition (((x) - (SCROLL X)) + (totem 3 x)) (((y) - (SCROLL Y)) + (totem 3 y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        go to [back v] layer\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        set [totem number : v] to [3]\n        repeat until <(totem 3 y) > [300]>\n            change [totem 3 y v] by ((2) + (totem 3 y repeted))\n            change [totem 3 y repeted v] by (0.2)\n            change [totem 3 x v] by (2.1)\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [totem 3 x v] to [0]\nset [totem 3 y repeted v] to [0]\nset [totem 3 y v] to [0]\nforever\n    if <(totem 3 y) > [230]> then\n        set [totem 3 y v] to [230]\n    end\n    if <(totem 3 x) > [72]> then\n        set [totem 3 x v] to [72]\n    end\nend\n\n@totem code4\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    switch costume to (costume5 v)\n    Clone at x: [1920] y: [900]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (costume1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume1 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) (((y) - (SCROLL Y)) + (totem 4 y))\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\n    forever\n        go to [back v] layer\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        set [totem number : v] to [4]\n        repeat until <(totem 4 y) > [320]>\n            change [totem 4 y v] by ((2) + (totem 3 y repeted))\n            change [totem 4 y repeted v] by (0.2)\n        end\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [totem 4 y v] to [0]\nset [totem 4 y repeted v] to [0]\nforever\n    if <(totem 4 y) > [250]> then\n        set [totem 4 y v] to [250]\n    end\nend\n\n@achievements\n\nwhen flag clicked\nset [check point v] to [0]\nforever\n    if <<<(check point) = [1]> or <(check point) = [2]>> or <(check point) = [3]>> then\n        change [achievements complete v] by (1)\n        switch costume to (2 v)\n        Acheivment id: [2]\n        stop [this script v]\n    end\nend\n\ndefine Acheivment id: (id)\ncreate clone of (_myself_ v)\nbroadcast (Achievement v)\nset [id v] to (id)\n\ndefine Reset achievements (bruh??)\ndelete all of [completed achievments v]\nrepeat (bruh??)\n    add [0] to [completed achievments v]\nend\n\nwhen I receive [reset player data v]\nReset achievements [50]\ndelete this clone\n\nwhen I start as a clone\nset [t v] to [0]\nset size to (100000) %\ngo to x: (-140) y: (-195)\nshow\nclear graphic effects\nset size to (85) %\ngo to [front v] layer\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\nwait (1.5) seconds\nrepeat (20)\n    go to [front v] layer\n    change [ghost v] effect by (5)\n    go to [front v] layer\nend\ndelete this clone\n\nwhen I receive [achievement v]\nchange y by (65)\n\nwhen I receive [totem code correct v]\nchange [achievements complete v] by (1)\nswitch costume to (14 v)\nAcheivment id: [14]\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <(jp power spended) > [0]> then\n        change [achievements complete v] by (1)\n        switch costume to (6 v)\n        Acheivment id: [6]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(jump times) < [100]>> then\n        change [gold points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (4 v)\n        Acheivment id: [4]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(jump times) < [1]>> then\n        change [achievements complete v] by (1)\n        switch costume to (1 v)\n        Acheivment id: [1]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(jump times) < [50]>> then\n        change [achievements complete v] by (1)\n        change [silver points v] by (1)\n        switch costume to (3 v)\n        Acheivment id: [3]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(jump times) < [250]>> then\n        change [achievements complete v] by (1)\n        switch costume to (5 v)\n        Acheivment id: [5]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [silver jp achievement v] to [false]\nforever\n    if <(jp power spended) > [499]> then\n        change [silver points v] by (1)\n        change [//warning number v] by (1)\n        change [achievements complete v] by (1)\n        set [silver jp achievement v] to [true]\n        switch costume to (7 v)\n        Acheivment id: [7]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [gold jp achievement v] to [false]\nforever\n    if <(jp power spended) > [2999]> then\n        change [gold points v] by (1)\n        change [//warning number v] by (1)\n        change [achievements complete v] by (1)\n        set [gold jp achievement v] to [true]\n        switch costume to (8 v)\n        Acheivment id: [8]\n        stop [this script v]\n    end\nend\n\nset [jp power spended v] to [3000]\n\nwhen flag clicked\nforever\n    if <(travel distence) > [0.95]> then\n        change [achievements complete v] by (1)\n        switch costume to (9 v)\n        Acheivment id: [9]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(travel distence) > [49.95]> then\n        change [silver points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (10 v)\n        Acheivment id: [10]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(travel distence) > [250]> then\n        change [gold points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (11 v)\n        Acheivment id: [11]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(travel distence) > [1000]> then\n        change [achievements complete v] by (1)\n        switch costume to (12 v)\n        Acheivment id: [12]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(travel distence) > [5000]> then\n        change [achievements complete v] by (1)\n        switch costume to (13 v)\n        Acheivment id: [13]\n        stop [this script v]\n    end\nend\n\nwhen I receive [achievement v]\nstart sound [Connect v]\n\nwhen I receive [dragon stone v]\nchange [achievements complete v] by (1)\nswitch costume to (15 v)\nAcheivment id: [15]\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <(death times) > [0]> then\n        change [achievements complete v] by (1)\n        switch costume to (16 v)\n        Acheivment id: [16]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death times) > [4]> then\n        change [achievements complete v] by (1)\n        switch costume to (17 v)\n        Acheivment id: [17]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death times) > [9]> then\n        change [achievements complete v] by (1)\n        change [silver points v] by (1)\n        switch costume to (18 v)\n        Acheivment id: [18]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death times) > [19]> then\n        change [gold points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (19 v)\n        Acheivment id: [19]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nset [death times v] to [99]\n\nwhen flag clicked\nforever\n    if <(death times) > [29]> then\n        change [achievements complete v] by (1)\n        switch costume to (20 v)\n        Acheivment id: [20]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death times) > [49]> then\n        change [achievements complete v] by (1)\n        switch costume to (21 v)\n        Acheivment id: [21]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(death times) > [99]> then\n        change [achievements complete v] by (1)\n        switch costume to (22 v)\n        Acheivment id: [22]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(jump times) > [99]> and <(travel distence) > [99]>> then\n        change [achievements complete v] by (1)\n        switch costume to (23 v)\n        Acheivment id: [23]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(jump times) > [499]> and <(travel distence) > [499]>> then\n        change [gold points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (24 v)\n        Acheivment id: [24]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (1 v) pressed?> then\n        show variable [achievements complete v]\n        show variable [death times v]\n        show variable [jump times v]\n        show variable [travel distence v]\n    else\n        hide variable [achievements complete v]\n        hide variable [death times v]\n        hide variable [jump times v]\n        hide variable [travel distence v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Achievements complete) > [4]> then\n        wait (0.05) seconds\n        change [achievements complete v] by (1)\n        switch costume to (26 v)\n        Acheivment id: [26]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Achievements complete) > [9]> then\n        wait (0.05) seconds\n        change [silver points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (27 v)\n        Acheivment id: [27]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Achievements complete) > [19]> then\n        wait (0.05) seconds\n        change [gold points v] by (1)\n        change [achievements complete v] by (1)\n        switch costume to (28 v)\n        Acheivment id: [28]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nset [achievements complete v] to [0]\nset [silver points v] to [0]\nset [gold points v] to [0]\n\nwhen flag clicked\nforever\n    if <(silver points) > [4]> then\n        wait (0.1) seconds\n        change [achievements complete v] by (1)\n        change [//warning number v] by (1)\n        switch costume to (29 v)\n        Acheivment id: [29]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(gold points) > [5]> then\n        wait (0.1) seconds\n        change [achievements complete v] by (1)\n        change [//warning number v] by (1)\n        switch costume to (30 v)\n        Acheivment id: [30]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Achievements complete) > [29]> then\n        wait (0.15) seconds\n        change [//warning number v] by (1)\n        switch costume to (31 v)\n        Acheivment id: [31]\n        stop [this script v]\n    end\nend\n\nchange [jump times v] by (5)\nchange [travel distence v] by (500)\nchange [death times v] by (5)\n\nchange [achievements complete v] by (1)\n\nset [travel distence v] to [5001]\nset [silver points v] to [5]\nset [gold points v] to [6]\nset [jp power spended v] to [3000]\nset [jump times v] to [500]\nset [death times v] to [100]\n\nset [achievements complete v] to [30]\n\nset [achievements complete v] to [30]\n\nwhen flag clicked\nforever\n    if <(touching moon) = [true]> then\n        change [achievements complete v] by (1)\n        switch costume to (25 v)\n        Acheivment id: [25]\n        stop [this script v]\n    end\nend\n\n@backpack\n\nwhen flag clicked\nhide\nset [//warning number v] to [1]\n\nclear graphic effects\n\nchange size by ((vel) / (6))\n\n\n\nwhen I receive [shop open v]\nshow\nset size to (150) %\npoint in direction (90)\ngo to x: (-206) y: (151)\nswitch costume to (costume1 v)\nclear graphic effects\nset size to (150) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set [//warning number v] to [1]\n        set [vel v] to [30]\n        broadcast (/open v)\n        set [shop closed v] to [false]\n        repeat (15)\n            set [bounce v] to (((bounce) * (0.4)) + ((100) - (size)))\n            change size by (bounce)\n        end\n        repeat until <(x position) > [40]>\n            change [ghost v] effect by ((vel) * (-5))\n            switch costume to (costume2 v)\n            change x by (vel)\n            change [vel v] by (-1)\n        end\n        repeat (15)\n            set [bounce v] to (((bounce) * (0.4)) + ((150) - (size)))\n            change size by (bounce)\n        end\n        broadcast (shop close v)\n        stop [this script v]\n    end\nend\n\ngo [backward v] (1) layers\n\nwhen I receive [shop close v]\nforever\n    if <not <touching (mouse-pointer v)?>> then\n        set [vel v] to [-30]\n        repeat (15)\n            set [bounce v] to (((bounce) * (0.4)) + ((100) - (size)))\n            change size by (bounce)\n        end\n        repeat until <(x position) < [-205]>\n            change [ghost v] effect by ((vel) * (5))\n            switch costume to (costume1 v)\n            change x by (vel)\n            change [vel v] by (1)\n        end\n        repeat (15)\n            set [bounce v] to (((bounce) * (0.4)) + ((150) - (size)))\n            change size by (bounce)\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [shop close v]\nforever\n    if <not <touching (mouse-pointer v)?>> then\n        set [shop closed v] to [true]\n        broadcast (shop open v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait (9.5) seconds\nbroadcast (shop open v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    if <not <(shop closed) = [false]>> then\n        switch costume to (//warning number)\n    end\nend\n\nchange [//warning number v] by (1)\n\n@skins\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [/open v]\nhide\ngo to x: (48) y: (152)\nset [/skins number v] to [0]\nrepeat (7)\n    create clone of (_myself_ v)\n    change [/skins number v] by (1)\nend\n\nwhen I start as a clone\nhide\nswitch costume to (/skins number)\nwait (1) seconds\nshow\nforever\n    go to [front v] layer\n    if <(shop closed) = [true]> then\n        set [brightness v] to [0]\n        delete this clone\n    end\n    if <(costume [number v]) = [1]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <mouse down?> then\n                broadcast (deafult v)\n            end\n        else\n            clear graphic effects\n        end\n    end\n    if <(costume [number v]) = [2]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <<mouse down?> and <(silver points) > [4]>> then\n                broadcast (silver skin v)\n            end\n            if <(silver points) < [5]> then\n                set [brightness v] effect to (-40)\n            end\n        else\n            if <(silver points) < [5]> then\n                set [brightness v] effect to (-40)\n            else\n                clear graphic effects\n            end\n        end\n    end\n    if <(costume [number v]) = [3]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <<mouse down?> and <(gold points) > [5]>> then\n                broadcast (gold skin v)\n            end\n            if <(gold points) < [6]> then\n                set [brightness v] effect to (-40)\n            end\n        else\n            if <(gold points) < [6]> then\n                set [brightness v] effect to (-40)\n            else\n                clear graphic effects\n            end\n        end\n    end\n    if <(costume [number v]) = [4]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <<mouse down?> and <(Achievements complete) > [29]>> then\n                broadcast (diamond skin v)\n            end\n            if <(Achievements complete) < [29]> then\n                set [brightness v] effect to (-40)\n            end\n        else\n            if <(Achievements complete) < [29]> then\n                set [brightness v] effect to (-40)\n            else\n                clear graphic effects\n            end\n        end\n    end\n    if <(costume [number v]) = [5]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <mouse down?> then\n                broadcast (jp deafault v)\n            end\n        else\n            clear graphic effects\n        end\n    end\n    if <(costume [number v]) = [6]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <<mouse down?> and <(silver jp achievement) = [true]>> then\n                broadcast (jp silver v)\n            end\n            if <not <(silver jp achievement) = [true]>> then\n                set [brightness v] effect to (-40)\n            end\n        else\n            if <not <(silver jp achievement) = [true]>> then\n                set [brightness v] effect to (-40)\n            else\n                clear graphic effects\n            end\n        end\n    end\n    if <(costume [number v]) = [7]> then\n        if <touching (mouse-pointer v)?> then\n            change [brightness v] by (1)\n            change [brightness v] effect by (1)\n            if <(brightness) > [20]> then\n                set [brightness v] to [20]\n                set [brightness v] effect to (20)\n            end\n            if <<mouse down?> and <(gold jp achievement) = [true]>> then\n                broadcast (jp gold v)\n            end\n            if <not <(gold jp achievement) = [true]>> then\n                set [brightness v] effect to (-40)\n            end\n        else\n            if <not <(gold jp achievement) = [true]>> then\n                set [brightness v] effect to (-40)\n            else\n                clear graphic effects\n            end\n        end\n    end\nend\n\nset [brightness v] effect to (-20)\n\n\n\nchange [silver points v] by (1)\n\nchange [gold points v] by (1)\n\nwhen I receive [gold skin v]\nplay sound [pop v] until done\n\n@guide\n\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\nwait (9.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (4) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume2 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (4) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume3 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume4 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume5 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (3) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume6 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (2) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nhide\nwait (0.5) seconds\nshow\nswitch costume to (costume7 v)\ngo to x: (0) y: (50)\nrepeat until <(y position) < [0.2]>\n    change [ghost v] effect by (-3)\n    change y by (((0) - (y position)) / (7))\nend\nset [ghost v] effect to (0)\nwait (4) seconds\nrepeat until <(y position) > [30]>\n    change [ghost v] effect by (10)\n    change y by (((y position) + (5)) / (5))\nend\nforever\n    hide\n    wait (0.5) seconds\n    show\n    switch costume to (pick random (8) to (42))\n    go to x: (0) y: (50)\n    repeat until <(y position) < [0.2]>\n        change [ghost v] effect by (-3)\n        change y by (((0) - (y position)) / (7))\n    end\n    set [ghost v] effect to (0)\n    wait (3) seconds\n    repeat until <(y position) > [30]>\n        change [ghost v] effect by (10)\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@sparkles\n\nwhen flag clicked\nhide\nforever\n    if <(costume [number v]) = [1]> then\n        wait (0) seconds\n    end\n    if <(costume [number v]) = [2]> then\n        create clone of (_myself_ v)\n        wait (pick random (1) to (1.8)) seconds\n    end\n    if <(costume [number v]) = [3]> then\n        create clone of (_myself_ v)\n        wait (pick random (0.5) to (1)) seconds\n    end\n    if <(costume [number v]) = [4]> then\n        create clone of (_myself_ v)\n        wait (pick random (0.1) to (0.5)) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (player's skin)\nend\n\nwhen I start as a clone\ngo to (player v)\ngo to [front v] layer\nclear graphic effects\nshow\ngo [backward v] (35) layers\nset size to (pick random (100) to (150)) %\nchange x by (pick random (-20) to (20))\nchange y by (pick random (-20) to (20))\nrepeat (10)\n    turn right (pick random (15) to (30)) degrees\n    change [brightness v] effect by (5)\n    change size by (10)\nend\nrepeat (10)\n    turn right (pick random (15) to (30)) degrees\n    change [brightness v] effect by (-5)\n    change size by (-10)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nset [player's skin v] to [diamond]\n\nset [player's skin v] to [gold]\n\nset [player's skin v] to [silver]\n\n@Sprite2\n\nwhen I start as a clone\nshow\nset [size v] to [20]\ngo to [front v] layer\nrepeat until <(size) > [2000]>\n    switch costume to (costume2 v)\n    change [size v] by (((2001) - (Size)) / (5))\n    set size to (Size) %\n    switch costume to (costume1 v)\nend\nwait (2) seconds\ndelete this clone\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen I start as a clone\nshow\nset [size v] to [20]\ngo to [front v] layer\ngo [backward v] (3) layers\nrepeat until <(size) > [2500]>\n    switch costume to (costume2 v)\n    change [size v] by (((2501) - (Size)) / (5))\n    set size to (Size) %\n    switch costume to (costume1 v)\nend\nwait (1.5) seconds\ndelete this clone\n\nwhen flag clicked\nhide\n\n@Sprite4\n\nwhen I start as a clone\nshow\nset [size v] to [20]\ngo to [front v] layer\ngo [backward v] (5) layers\nrepeat until <(size) > [4500]>\n    switch costume to (costume2 v)\n    change [size v] by (((4501) - (size)) / (5))\n    set size to (size) %\n    switch costume to (costume1 v)\nend\nwait (1) seconds\ndelete this clone\n\nwhen flag clicked\nhide\n\n@storm\n\nwhen flag clicked\nhide\nwait (2) seconds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nswitch costume to (c8b7a3b26085bee86e088266ab024db0 v)\nset size to (300) %\ngo to [front v] layer\nrepeat (14)\n    next costume\n    wait (0.02) seconds\nend\n\n@Sprite5\n\nwhen flag clicked\nwait (8) seconds\nshow\ngo to [front v] layer\nset size to (30) %\nrepeat (50)\n    go to [front v] layer\n    switch costume to (costume2 v)\n    change size by ((10) + (timer))\n    switch costume to (costume1 v)\nend\nhide\n\n@moving block 1\n\nwhen I receive [setup v]\nswitch costume to (costume1 v)\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\nif <(LEVEL) = [1]> then\n    broadcast (level 1 v)\n    switch costume to (costume1 v)\n    Clone at x: [2410] y: [480]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        broadcast (level 2 v) and wait\n        Clone at x: [370] y: [210]\n        Clone at x: [370] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [100] y: [210]\n        Clone at x: [150] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [350] y: [210]\n        Clone at x: [600] y: [-200]\n        Clone at x: [400] y: [-200]\n        Clone at x: [20] y: [-230]\n        Clone at x: [0] y: [-150]\n    else\n        if <(LEVEL) = [3]> then\n            broadcast (level 3 v)\n            switch costume to (screen shot 2020-05-07 at 3 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: [600] 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: [300]\n            Clone at x: [600] y: [-300]\n            Clone at x: [700] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n            Clone at x: [600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                broadcast (level 4 v)\n                switch costume to (costume2 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: [200]\n            else\n                if <(LEVEL) = [5]> then\n                    broadcast (level 5 v)\n                    switch costume to (costume10 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [100]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [700] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        broadcast (level 6 v)\n                        switch costume to (costume18 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                        Clone at x: [500] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (costume27 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [600] y: [200]\n                            Clone at x: [600] y: [0]\n                            Clone at x: [500] y: [0]\n                            Clone at x: [500] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (level 1 7 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [700] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [800] y: [0]\n                                Clone at x: [600] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                show\n                                show\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nbroadcast (reset v)\nbroadcast (setup v)\n\nwhen I receive [reset v]\ndelete this clone\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 [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition ((moving block 1 x) + ((x) - (SCROLL X))) ((moving block 1 y) + ((y) - (SCROLL Y)))\n\nset y to (0)\n\nreset timer\n\nwhen flag clicked\nforever\n    set [moving block 1 y v] to (([cos v] of ((timer) * (35)) ) * (0))\n    set [moving block 1 x v] to (([sin v] of ((timer) * (100)) ) * (90))\nend\n\n@Sprite6\n\nwhen flag clicked\nbroadcast (@dark stop v)\nhide\nforever\n    go to [front v] layer\n    go [forward v] (999999) layers\n    go to (player v)\nend\n\nwhen I receive [@dark start v]\nforever\n    if <key (d v) pressed?> then\n        show\n        wait (0.2) seconds\n        forever\n            if <key (d v) pressed?> then\n                hide\n                broadcast (@dark stop v)\n            end\n        end\n    end\nend\n\nwhen I receive [@dark stop v]\nwait (0.2) seconds\nbroadcast (@dark start v)\n\n@scroll bar\n\nwhen flag clicked\n\nwhen I start as a clone\nset y to (125)\nswitch costume to (front v)\ngo to [front v] layer\nshow\nforever\n    set y to (mouse y)\n    if <(y position) > [125]> then\n        set y to (125)\n    end\n    if <(y position) < [-125]> then\n        set y to (-125)\n    end\n    set [scroll bar scroll v] to (((((y position) - (125)) / (320)) * (Slides)) * (360))\nend\n\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\n\nrepeat until <not <mouse down?>>\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (2) layers\n    if <(@@@@bar show?) = [yes]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    go [forward v] (100) layers\n    go to [front v] layer\n    if <(@@@@bar show?) = [yes]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [@@&#$@achievement open v]\nshow\ngo to [front v] layer\nswitch costume to (back v)\ncreate clone of (_myself_ v)\n\n@achievements text\n\nwhen I receive [@@&#$@achievement open v]\nset size to (50) %\nset [slides v] to [0]\nhide\nswitch costume to (1 v)\nrepeat (4)\n    create clone of (_myself_ v)\n    next costume\n    change [slides v] by (1)\nend\n\nwhen I start as a clone\nshow\nforever\n    set x to (167)\n    set y to ((((costume [number v]) - (1)) * (-360)) - (scroll bar scroll))\n    if <<(y position) = ((((costume [number v]) - (1)) * (-360)) - (scroll bar scroll))> and <(@@@@bar show?) = [yes]>> then\n        show\n    else\n        hide\n    end\nend\n\nbroadcast (@@&#$@achievement open v)\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nforever\n    go [forward v] (1000) layers\n    go to [front v] layer\nend\n\n@bar\n\nwhen flag clicked\nset [@@@@bar show? v] to [no]\nclear graphic effects\nhide\ngo to x: (167) y: (0)\nwait (9) seconds\nbroadcast (*^&bar open? v)\nbroadcast (@@&#$@achievement open v)\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\nend\n\nwhen I receive [*^&bar open? v]\ngo to x: (308) y: (0)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        broadcast (bar think v)\n    end\n    if <key (a v) pressed?> then\n        set [ghost v] effect to (20)\n        set [bar move v] to [0]\n        repeat (7)\n            change x by (([sin v] of ((10) + (bar move)) ) * (-50))\n            change [bar move v] by ((1) + (bar move))\n        end\n        set [bar move v] to [0]\n        repeat (8)\n            change x by (([sin v] of ((10) + (bar move)) ) * (-40))\n            change [bar move v] by (-3)\n        end\n        set [bar move v] to [0]\n        go to x: (167) y: (0)\n        set [@@@@bar show? v] to [yes]\n        broadcast (\)*&^#&bar closed? v)\n        stop [this script v]\n    else\n    end\nend\n\nwhen I receive [\)*&^#&bar closed? v]\nbroadcast (bar think 2 v)\ngo to x: (167) y: (0)\nshow\nforever\n    if <key (a v) pressed?> then\n        set [@@@@bar show? v] to [no]\n        set [ghost v] effect to (20)\n        set [bar move v] to [0]\n        repeat (7)\n            change x by (([sin v] of ((10) + (bar move)) ) * (50))\n            change [bar move v] by ((-1) + (bar move))\n        end\n        set [bar move v] to [0]\n        repeat (8)\n            change x by (([sin v] of ((10) + (bar move)) ) * (40))\n            change [bar move v] by (3)\n        end\n        set [bar move v] to [0]\n        go to x: (308) y: (0)\n        clear graphic effects\n        broadcast (*^&bar open? v)\n        stop [this script v]\n    else\n    end\nend\n\n@bar think\n\nwhen flag clicked\nhide\n\nwhen I receive [bar think v]\nshow\ngo to x: (0) y: (0)\nthink [press a] for (0.05) seconds\nhide\n\nwhen I receive [bar think 2 v]\nshow\ngo to x: (-150) y: (0)\nthink [press a to close] for (1) seconds\nhide\n\n@love and fave detecter\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        wait (0.8) seconds\n        if <touching (mouse-pointer v)?> then\n            set [>\)\(*&^%$$! v] to [1]\n            stop [this script v]\n        end\n    else\n        set [>\)\(*&^%$$! v] to [0]\n    end\nend\n\nwait (1) seconds\n\n