Aqua 3 - A Platformer

Instructions: Aqua 3 - A Platformer (RELEASE v1.0)\n----------------------------------------\nAqua 3, adventure through the 20 unique levels the new sequel has to offer. From islands to urban cities, you won't regret playing this. So stop hesitating, and press that green flag to begin your adventure through Aqua 3.\n----------------------------------------\nInstructions:\nTo move simply press - Arrow keys(↑, ↓, ←, →) or WASD(W, S, A, D) - F for a right directional boost!\n----------------------------------------\nNotice any bugs?\nPlease message @HeliosOfficial or one of the Engineers!\n----------------------------------------\nAqua 3 - A Platformer\nA production by Team Aqua\nFrom the creators of Moody.io & Aqua - A Platformer\n----------------------------------------\nSpecial News:\n-New updates are coming out very soon! Make sure to follow @HeliosOfficial to keep up to date!\n-------------------------------------------------------------------------\nUpdate Board:\n8/1/2020 - Game release in alpha stage!\n8/3/2020 - New thumbnail, character eyes, and new levels!\n8/4/2020 - Bug fixes, prevent cheating, moving platforms, and removed lava in levels 0 - 10 (replaced with water)!\n8/5/2020 - Fixed some minor bugs, added some new features, revamped character player's eyes!\n8/6/2020 - Added a new boost feature! You can now press key F on your keyboard for a right directional boost! (REMOVED)\n8/7/2020 - Official Release into BETA! (Added a global data-cloud-saving deaths leaderboard, bug fixes, and more!) *There may be a lot of bugs with this update.. even though we fixed alot..*\n8/8/2020 - Added new a lot of new features!\n8/9/2020 - Official release! Game revamped!\n----------------------------------------\nEngineers:\nLead Engineer: @HeliosOfficial\nCreative Lead: @tropicaltantrum\nVisualizations Designer: @AmberWolfOfficial\n----------------------------------------\nContributors: \nInspiration: @cs1087547\nEffects: @cs1087547\nMusic: @tonesandi\n----------------------------------------\nDisclaimer:\nAll assets were either created by Team Aqua or other individuals. Individuals that created an asset that was used in Aqua 3 were listed in the Contributors section. \n----------------------------------------\nTags:\n#platformer #parkour #obstacle #arcade #rpg #fun #character #scratch #aqua #cartoon #island #island #griffpatch #trending #projectsoftheweek #bestplatformer #bestprojects\n----------------------------------------\nIn cooperation with, "Helios Productions" and scratch studio, "Team Aqua".

@Stage\n\nwhen flag clicked\nswitch backdrop to (images v)\n\nwhen backdrop switches to [images v]\nwait (2.5) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nswitch backdrop to (images2 v)\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nswitch backdrop to (images2 v)\n\nwhen I receive [gamestart v]\nshow variable [deaths: v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nswitch backdrop to (backdrop1 v)\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nhide variable [deaths: v]\nhide variable [☁ 1stscore v]\nhide variable [☁ 2ndscore v]\nhide variable [☁ 3rdscore v]\nhide variable [☁ 4thscore v]\nhide variable [☁ 5thscore v]\nhide variable [☁ 1stname v]\nhide variable [☁ 2ndname v]\nhide variable [☁ 3rdname v]\nhide variable [☁ 4thname v]\nhide variable [☁ 5thname v]\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nswitch backdrop to (images3 v)\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nswitch backdrop to (images3 v)\n\nwhen I receive [music change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nswitch backdrop to (images4 v)\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nswitch backdrop to (images4 v)\n\nwhen I receive [home v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nswitch backdrop to (images2 v)\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nswitch backdrop to (images2 v)\n\nwhen flag clicked\nhide variable [coins: v]\n\nwhen I receive [endgame v]\n\nwhen backdrop switches to [images2 v]\nhide variable [deaths: v]\n\nwhen flag clicked\n\n@Welcome!\n\nwhen flag clicked\nhide\n\n@credits\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images2 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (external-content2 v)\n    else\n        switch costume to (external-content3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen this sprite clicked\nbroadcast (gamestart v)\nhide\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (black v)\n\nwhen flag clicked\n\nwhen I receive [black v]\nswitch costume to (black v)\n\nwhen I receive [green v]\nswitch costume to (green v)\n\nwhen I receive [aqua v]\nswitch costume to (aqua v)\n\nwhen I receive [orange v]\nswitch costume to (orange v)\n\nwhen I receive [red v]\nswitch costume to (red v)\n\nwhen I receive [white v]\nswitch costume to (white v)\n\nwhen I receive [yellow v]\nswitch costume to (yellow v)\n\nwhen I receive [purple v]\nswitch costume to (purple v)\n\nwhen I receive [hacker v]\nswitch costume to (hacker v)\n\nwhen I receive [troller v]\nswitch costume to (troller v)\n\nwhen I receive [helios v]\nswitch costume to (helios v)\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen I receive [gamestart v]\ngo to [front v] layer\ngo to [front v] layer\ngo to x: (-221) y: (-104)\nset [xv v] to [0]\nset [yv v] to [0]\nset [deaths: v] to [0]\nforever\n    Tick Game\n    if <<(x position) = [237]> or <(x position) > [237]>> then\n        broadcast (nextcostume v)\n        go to x: (-221) y: (-104)\n    end\n    if <touching (obstacles v)?> then\n        change [deaths: v] by (1)\n        go to x: (-221) y: (-104)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\nend\n\nwhen I receive [present v]\nswitch costume to (present v)\n\nwhen I receive [bunny v]\nswitch costume to (bunny v)\n\nwhen I receive [flower v]\nswitch costume to (flower v)\n\nwhen I receive [hacker v]\nswitch costume to (hacker v)\n\nwhen I receive [noob v]\nswitch costume to (noob v)\n\nwhen I receive [stalin v]\nswitch costume to (stalin v)\n\nwhen I receive [rooftop v]\ngo to x: (-225) y: (50)\n\nwhen flag clicked\nhide\n\nwhen I receive [gamestart v]\nforever\n    go to [front v] layer\nend\n\ndefine Tick Game\nset [xv v] to (((Xv) + ((<<key (left arrow v) pressed?> or <key (a v) pressed?>> * (-1)) + (<<key (right arrow v) pressed?> or <key (d v) pressed?>> * (1)))) * (0.9))\nchange x by (Xv)\nset [yv v] to (((Yv) - (1)) + (((<(airtime) < [2]> * (8)) * <<key (up arrow v) pressed?> or <key (w v) pressed?>>) * (1)))\nchange y by (Yv)\n(Yv) y collision\n\ndefine (x) x collision\nif <touching (ground v)?> then\n    repeat (10)\n        change y by (1)\n        if <not <touching (ground v)?>> then\n            stop [this script v]\n        end\n    end\n    change y by (-10)\n    repeat until <not <touching (ground v)?>>\n        change x by (((1) * <not <(x) > [0]>>) + ((-1) * <(x) > [0]>))\n        set [xv v] to [0]\n    end\nend\n\ndefine (y) y collision\nchange [airtime v] by (1)\nrepeat until <not <touching (ground v)?>>\n    change y by (((1) * <not <(y) > [0]>>) + ((-1) * <(y) > [0]>))\n    set [airtime v] to (<not <[1] = (<[0] > (y)> * (1))>> + (<not <[1] = <[0] > (y)>>> * (airtime)))\n    set [yv v] to [0]\nend\n\n(Xv) x collision\n\n@Obstacles\n\nwhen flag clicked\nhide\n\nwhen I receive [gamestart v]\nshow\n\nwhen I receive [nextcostume v]\nnext costume\n\nwhen I receive [gamestart v]\nswitch costume to (1 v)\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen I receive [6 v]\n\nwhen I receive [gamestart v]\nif <(level) = [1]> then\n    switch costume to (1 v)\nend\nif <(level) = [2]> then\n    switch costume to (1 v)\nend\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [gamestart v]\nshow\n\nwhen I receive [nextcostume v]\nnext costume\nchange [level v] by (1)\n\nwhen I receive [gamestart v]\nset [level v] to [1]\nswitch costume to (1 v)\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen I receive [6 v]\n\n@Cool Text - Aqua 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (0) y: (30)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images2 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        change [color v] effect by (25)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nswitch costume to (cool text - aqua 312875523892287-costume2 v)\n\nwhen this sprite clicked\nrepeat (24)\n    turn right (15) degrees\nend\n\nwhen backdrop switches to [images2 v]\ngo to x: (0) y: (30)\nforever\n    glide (2.5) secs to x: (-10) y: (30)\n    wait (2.5) seconds\n    glide (2.5) secs to x: (10) y: (30)\n    wait (2.5) seconds\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\n@Cool Text - A Helios Production 313139249799744\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (0) y: (-150)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [images2 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (cool text - a helios production 313139249799744-costume2 v)\n    else\n        switch costume to (cool text - a helios production 313139249799744-costume1 v)\n    end\nend\n\nwhen this sprite clicked\nrepeat (24)\n    turn right (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\n@music-symbols-clipart-1\n\nwhen flag clicked\nswitch costume to (music-symbols-clipart-1-costume1 v)\nhide\n\nwhen backdrop switches to [images2 v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (70) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (349) y: (1)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Dance Monkey \(Instrumental\) v] until done\nend\n\nwhen I receive [gamestart v]\nforever\n    show\nend\n\n@costumes\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [images3 v]\nhide\n\nwhen backdrop switches to [images2 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (327607_hanger-png2 v)\n    else\n        switch costume to (327607_hanger-png v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen this sprite clicked\nbroadcast (costume change v)\nhide\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\n@black\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (black v)\n\nwhen flag clicked\nhide\n\n@white\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (white v)\n\n@aqua\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (aqua v)\n\nwhen flag clicked\nhide\n\n@red\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (red v)\n\nwhen flag clicked\nhide\n\n@yellow\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (yellow v)\n\nwhen flag clicked\nhide\n\n@green\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (green v)\n\nwhen flag clicked\nhide\n\n@purple\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (purple v)\n\nwhen flag clicked\nhide\n\n@orange\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (orange v)\n\nwhen flag clicked\nhide\n\n@Sketchbook\n\nwhen flag clicked\nhide\n\n@Cool Text - A Helios Production 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (0) y: (-150)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [images2 v]\ngo to x: (0) y: (-4)\nforever\n    glide (2.5) secs to x: (10) y: (-4)\n    wait (2.5) seconds\n    glide (2.5) secs to x: (-10) y: (-4)\n    wait (2.5) seconds\nend\n\n@Cool Text - A Helios Production 3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nshow\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\n\nwhen I receive [gamestart v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen I receive [costume change v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen backdrop switches to [images4 v]\nhide\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (0) y: (-150)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [images2 v]\ngo to x: (0) y: (0)\nforever\n    glide (2) secs to x: (-5) y: (0)\n    wait (2.5) seconds\n    glide (2) secs to x: (5) y: (0)\n    wait (2.5) seconds\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n@inventory\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (inventory v)\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\n@shop\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (shop v)\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\n@wip\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen this sprite clicked\nrepeat (24)\n    turn right (15) degrees\nend\n\n@home\n\nwhen backdrop switches to [images3 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (black2 v)\n    else\n        switch costume to (black v)\n    end\nend\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\nwhen I receive [inventory v]\nrepeat (10)\n    change [ghost v] effect by (-25)\nend\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [images2 v]\nhide\n\nwhen backdrop switches to [images3 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nbroadcast (home v)\n\nwhen backdrop switches to [images4 v]\nshow\n\n@Sprite2\n\nwhen flag clicked\nbroadcast (flagclicked v)\n\nwhen I receive [6 v]\ngo to x: (71) y: (-43)\nforever\n    show\n    glide (3) secs to x: (-71) y: (-43)\n    wait (1) seconds\n    glide (3) secs to x: (71) y: (-43)\n    wait (1) seconds\nend\n\nwhen I receive [6done v]\nforever\n    hide\nend\n\n\n\nwhen I receive [flagclicked v]\nhide\n\n@music-symbols-clipart-2\n\nwhen flag clicked\nset [death icon v] to [0]\nhide\n\nwhen I receive [gamestart v]\nset [death icon v] to [1]\nset [turn v] to [0]\ngo to x: (-222) y: (163)\nset size to (100) %\nchange [turn v] by (4)\nchange size by ((0.1) * ([cos v] of (turn) ))\nif <(turn) > [360]> then\n    set [turn v] to [0]\n    set size to (100) %\nend\n\nwhen backdrop switches to [backdrop1 v]\nset [death icon v] to [1]\nshow\ngo to [front v] layer\n\nwhen backdrop switches to [images v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [images2 v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [images3 v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [images4 v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [external-content v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nset [death icon v] to [0]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nset [death icon v] to [0]\nhide\n\nwhen I receive [diedmoment v]\nset [brightness v] effect to (110)\nwait (0.1) seconds\nset [brightness v] effect to (0)\n\nwhen backdrop switches to [images2 v]\nset [turn v] to [0]\ngo to x: (349) y: (1)\nset size to (100) %\nforever\n    change [turn v] by (4)\n    change size by ((0.1) * ([cos v] of (turn) ))\n    if <(turn) > [360]> then\n        set [turn v] to [0]\n        set size to (100) %\n    end\nend\n\n@LBDBrain\n\nwhen flag clicked\nshow list [deaths v]\nshow list [names v]\n\nwhen backdrop switches to [images v]\nshow list [deaths v]\nshow list [names v]\n\nwhen backdrop switches to [images2 v]\nshow list [deaths v]\nshow list [names v]\n\nwhen backdrop switches to [images3 v]\nshow list [deaths v]\nshow list [names v]\n\nwhen backdrop switches to [backdrop1 v]\nshow list [deaths v]\nshow list [names v]\n\nwhen I receive [lbdready v]\nhide list [deaths v]\nhide list [names v]\nif <(Deaths:) > (item (1) of [deaths v])> then\n    insert (Deaths:) at (1) of [deaths v] \n    insert (username) at (1) of [names v] \nelse\n    if <(Deaths:) > (item (2) of [deaths v])> then\n        insert (Deaths:) at (2) of [deaths v] \n        insert (username) at (2) of [names v] \n    else\n        if <(Deaths:) > (item (3) of [deaths v])> then\n            insert (Deaths:) at (3) of [deaths v] \n            insert (username) at (3) of [names v] \n        else\n            if <(Deaths:) > (item (4) of [deaths v])> then\n                insert (Deaths:) at (4) of [deaths v] \n                insert (username) at (4) of [names v] \n            else\n                if <(Deaths:) > (item (5) of [deaths v])> then\n                    insert (Deaths:) at (5) of [deaths v] \n                    insert (username) at (5) of [names v] \n                end\n            end\n        end\n    end\nend\n\nwhen I receive [lbdready v]\nforever\n    repeat until <(Deaths:) > (item (1) of [deaths v])>\n        delete (6) of [deaths v]\n        delete (6) of [names v]\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nbroadcast (flagclicked v)\n\nwhen I receive [25 v]\ngo to [front v] layer\nshow\ngo to x: (-241) y: (-59)\nforever\n    show\n    if <touching (sprite1 v)?> then\n        broadcast (lbdready v)\n    end\nend\n\n\n\nwhen I receive [flagclicked v]\nhide\n\n