Sunny - A Platformer Game      #games #all #art

Instructions:                             Sunny \n                 Updated Version 3.0 \nThanks for clicking on this project!\nMake sure to ❤️ and ⭐ if you enjoyed!\n❤️ and ⭐ for extra coins ( big glitch )\nGame Created by @ChocolateMilkStudios\n\nWASD, ARROW KEYS, OR MOBILE\n\nNote: If you want a challenging platformer game, you might think this one is a bit easy, all levels are possible (tested myself). So just to let you know, it is slightly easy.\nThere is 10 second cool down for skipping\n Tags:\n#games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #games  #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art\n\nSunny is a game\n\n10/27/20 60 likes 56 faves\n10/29/20 82 likes 78 faves\n10/30/20 100 likes 96 faves\n11/9/20 160 likes 146 faves\n11/12/20 184 likes 165 faves

@Stage\n\n@player\n\nwhen I start as a clone\nif <(size) = [100]> then\n    set size to (100) %\n    switch costume to (fade v)\n    go to [back v] layer\n    repeat (10)\n        change size by (-10)\n        change [ghost v] effect by (20)\n    end\n    delete this clone\nend\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\ndefine xcoll\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nshow\nset size to (100) %\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nforever\n    create clone of (_myself_ v)\n    change [y v] by (-1)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        switch costume to (lookright v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        switch costume to (lookleft v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (levels v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [13]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-222) y: (-76)\n        play sound [Crunch v] until done\n        change [death count v] by (1)\n        wait until <not <touching (spikes v)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (-35)\n        set [x v] to [0]\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (p v) pressed?> and <not <([costume # v] of [levels v]) = [14]>>> then\n        wait until <not <key (p v) pressed?>>\n        broadcast (message1 v)\n        go to x: (-222) y: (-76)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-222) y: (-75)\n        set [x v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<key (any v) pressed?> or <mouse down?>>> then\n        switch costume to (stare v)\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        switch costume to (lookup v)\n    end\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (lookupright v)\n    end\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (lookupleft v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes2 v)?> then\n        go to x: (-222) y: (-76)\n        play sound [Crunch v] until done\n        change [death count v] by (1)\n        wait until <not <touching (spikes2 v)?>>\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nset [death count v] to [0]\nset [jump count v] to [0]\nforever\n    play sound [Sunny v] until done\nend\n\nwhen flag clicked\nforever\n    if <(y) = [13]> then\n        change [jump count v] by (1)\n        wait until <not <(y) = [13]>>\n    end\nend\n\nwait until <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>>\n\nbroadcast (Jumper achievement v)\nwait (1) seconds\nstop [this script v]\n\nbroadcast (Spiek theif v)\nwait (1) seconds\nstop [this script v]\n\nwhen flag clicked\nset [jump achievment v] to [false]\nforever\n    if <(jump count) = [5]> then\n        set [jump achievment v] to [true]\n        wait until <(jump count) = [0]>\n    end\nend\n\nwhen flag clicked\nset [spike achievmnet v] to [false]\nforever\n    if <(death count) = [10]> then\n        set [spike achievmnet v] to [true]\n        wait until <(death count) = [0]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x) = [-240]> then\n        change x by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        change x by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-200]> then\n        go to x: (-200) y: (-35)\n    end\nend\n\nwhen flag clicked\nset [level display v] to [1]\n\nwhen I receive [message1 v]\n\nchange [level display v] by (1)\n\n@levels\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (achievment v)\n        stop [this script v]\n    end\nend\n\n@spikes\n\nwhen flag clicked\ngo to x: (36) y: (26)\npoint in direction (90)\nswitch costume to (s1 v)\n\nwhen I receive [message1 v]\npoint in direction (90)\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        go to x: (20) y: (-110)\n        go to [back v] layer\n        turn right (15) degrees\n    end\nend\n\ngo to x: (0) y: (0)\n\n@clouds\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (2) to (5)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset size to (pick random (70) to (85)) %\nswitch costume to (costume1 v)\nset [ghost v] effect to (pick random (30) to (45))\nset [my variable v] to (pick random (1) to (2))\nif <(my variable) = [1]> then\n    go to x: (246) y: (pick random (180) to (50))\n    repeat until <(x position) < [-243]>\n        change x by ((0) - (pick random (0.5) to (2)))\n    end\nelse\n    go to x: (-246) y: (pick random (180) to (50))\n    repeat until <(x position) > [243]>\n        change x by (pick random (0.5) to (2))\n    end\nend\ndelete this clone\n\n@sun\n\nwhen flag clicked\ngo to x: (227) y: (164)\nshow\nset size to (100) %\nforever\n    go to [back v] layer\n    change size by ([sin v] of ((timer) * (100)) )\nend\n\n@spikes2\n\nwhen flag clicked\ngo to x: (-94) y: (9)\npoint in direction (90)\nswitch costume to (s1 v)\n\nwhen I receive [message1 v]\nnext costume\n\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        turn right (2) degrees\n        go to x: (-44) y: (23)\n    else\n        point in direction (90)\n        go to x: (-94) y: (9)\n    end\nend\n\n\n\n@Skip\n\nwhen flag clicked\nshow\ngo to x: (199) y: (-160)\ngo to [front v] layer\nforever\n    if <(Skip Bought) = [true]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            show\n            change size by (((120) - (size)) / (3))\n            set [ghost v] effect to (20)\n            point in direction (([sin v] of ((timer) * (1000)) ) + (90))\n            if <mouse down?> then\n                change size by (10)\n                broadcast (message1 v)\n                change size by (0)\n                wait until <not <mouse down?>>\n                wait (1) seconds\n                set [skip bought v] to [false]\n            end\n        else\n            point in direction (90)\n            change size by (((100) - (size)) / (3))\n            set [ghost v] effect to (-10)\n        end\n    end\n    if <(Skip Bought) = [false]> then\n        hide\n    end\n    if <(username) = [ChocolateMilkStudios]> then\n        set [coins v] to [99999999999999999999999999]\n    end\n    if <(level display) = [2]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            show\n            change size by (((120) - (size)) / (3))\n            set [ghost v] effect to (20)\n            point in direction (([sin v] of ((timer) * (1000)) ) + (90))\n            if <mouse down?> then\n                change size by (10)\n                broadcast (message1 v)\n                change size by (0)\n                wait until <not <mouse down?>>\n                wait (1) seconds\n                set [skip bought v] to [false]\n            end\n        else\n            point in direction (90)\n            change size by (((100) - (size)) / (3))\n            set [ghost v] effect to (-10)\n        end\n    end\n    if <<(level display) < [2]> or <(level display) > [2]>> then\n        hide\n    end\n    if <(username) = [ChocolateMilkStudios]> then\n        set [coins v] to [99999999999999999999999999]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [71]> then\n        hide\n    end\nend\n\nwhen [timer v] > (timer)\nhide\n\nwhen this sprite clicked\nchange [skip count v] by (1)\n\n@Decoration\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to [back v] layer\ngo to x: (0) y: (0)\nshow\nforever\n    go [backward v] (99) layers\nend\n\nwhen I receive [message1 v]\nnext costume\n\n@thumb\n\nwhen flag clicked\nshow variable [coins v]\nswitch costume to (costume1 v)\nhide\nset [timer v] to [1]\nforever\n    set [timer v] to ((timer) + (.1))\nend\n\nwhen [timer v] > (timer)\nhide variable [coins v]\nshow\ngo to x: (0) y: (100000)\ngo to [front v] layer\nrepeat until <(round (y position)) = [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (4))\nend\n\nwhen [timer v] > (timer)\nforever\n    go to [front v] layer\nend\n\n@nextt\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (347)\n\nwhen I receive [message1 v]\nswitch costume to (pick random (1) to (6))\nshow\nrepeat until <(round (y position)) = [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (5))\nend\nrepeat until <(round (y position)) = [347]>\n    go to [front v] layer\n    change y by (((347) - (y position)) / (5))\nend\nchange [level display v] by (1)\nhide\n\n@shop interface :))\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (button v)\nforever\n    if <(costume [number v]) = [1]> then\n        go to x: (-211) y: (154)\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [shopopen? v] to [1]\n            switch costume to (s100 v)\n        end\n    else\n        if <(costume [number v]) = [2]> then\n            go to x: (50) y: (0)\n            if <key (space v) pressed?> then\n                set [shopopen? v] to [0]\n                switch costume to (button v)\n            end\n        end\n    end\nend\n\ngo to x: (-208) y: (-169)\n\n@10\n\nwhen flag clicked\nshow\nforever\n    go to x: (460) y: (28)\nend\n\n@achievments\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (347)\n\nwhen flag clicked\nset [skip count v] to [0]\nset [skipper v] to [false]\nset [jump achievment v] to [false]\nset [spike achievmnet v] to [false]\nset [mrkrabs?🦀 v] to [false]\nforever\n    if <<<<(jump achievment) = [true]> or <(spike achievmnet) = [true]>> or <(Skipper) = [true]>> or <(Mrkrabs?🦀) = [true]>> then\n        if <(jump achievment) = [true]> then\n            wait (1) seconds\n            switch costume to (costume3 v)\n            show\n            repeat until <(round (y position)) = [0]>\n                go to [front v] layer\n                change y by (((0) - (y position)) / (5))\n            end\n            wait (2) seconds\n            repeat until <(round (y position)) = [347]>\n                go to [front v] layer\n                change y by (((347) - (y position)) / (5))\n            end\n            hide\n            wait until <(jump achievment) = [0]>\n        end\n        if <(spike achievmnet) = [true]> then\n            wait (1) seconds\n            switch costume to (costume4 v)\n            show\n            repeat until <(round (y position)) = [0]>\n                go to [front v] layer\n                change y by (((0) - (y position)) / (5))\n            end\n            wait (2) seconds\n            repeat until <(round (y position)) = [347]>\n                go to [front v] layer\n                change y by (((347) - (y position)) / (5))\n            end\n            hide\n            wait until <(spike achievmnet) = [0]>\n        end\n        if <(Skipper) = [true]> then\n            wait (1) seconds\n            switch costume to (costume3 v)\n            show\n            repeat until <(round (y position)) = [0]>\n                go to [front v] layer\n                change y by (((0) - (y position)) / (5))\n            end\n            wait (2) seconds\n            repeat until <(round (y position)) = [347]>\n                go to [front v] layer\n                change y by (((347) - (y position)) / (5))\n            end\n            hide\n            wait until <(Skipper) = [0]>\n        end\n    else\n        if <<<<(spike achievmnet) = [false]> and <(jump achievment) = [false]>> and <(Skipper) = [false]>> and <(Mrkrabs?🦀) = [false]>> then\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nif <(Mrkrabs?🦀) = [true]> then\n    wait (1) seconds\n    switch costume to (costume6 v)\n    show\n    repeat until <(round (y position)) = [0]>\n        go to [front v] layer\n        change y by (((0) - (y position)) / (5))\n    end\n    wait (2) seconds\n    repeat until <(round (y position)) = [347]>\n        go to [front v] layer\n        change y by (((347) - (y position)) / (5))\n    end\n    hide\nend\n\nwait until <(Mrkrabs?🦀) = [0]>\nwait until <(spike achievmnet) = [0]>\nwait until <(Skipper) = [0]>\n\nwait until <(jump achievment) = [0]>\n\nwhen flag clicked\nforever\n    if <(death count) = [10]> then\n        set [spike achievmnet v] to [true]\n        wait until <(death count) = [0]>\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Mrkrabs?🦀) > [999]> then\n        set [mrkrabs?🦀 v] to [true]\n        wait until <(Mrkrabs?🦀) < [1000]>\n    else\n        set [shopopen? v] to [false]\n        wait until <(coins) > [999]>\n    end\nend\n\n@Enouragin text\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n        go to x: (-11) y: (-169)\n    end\n    if <<(level) = [12]> or <(level) = [11]>> then\n        switch costume to (costume2 v)\n        go to x: (-11) y: (-169)\n    end\n    if <<<(level) = [22]> or <(level) = [23]>> or <(level) = [21]>> then\n        switch costume to (costume3 v)\n        go to x: (-11) y: (-169)\n    end\n    if <<<(level) = [34]> or <(level) = [32]>> or <(level) = [31]>> then\n        switch costume to (costume4 v)\n        go to x: (-11) y: (-169)\n    end\n    if <[34] < (level)> then\n        switch costume to (costume5 v)\n    end\nend\n\ngo [forward v] (1) layers\n\n@coins\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    hide\nend\n\nwhen I start as a clone\nshow\ngo [backward v] (1) layers\nif <(level) = [1]> then\n    go to x: (-115) y: (29)\nend\nif <<(level) = [11]> or <(level) = [12]>> then\n    go to x: (46) y: (54)\nend\nif <<(level) = [22]> or <(level) = [21]>> then\n    go to x: (-35) y: (150)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        create clone of (_myself_ v)\n        wait until <[1] < (level)>\n    end\n    if <<(level) = [11]> or <(level) = [12]>> then\n        create clone of (_myself_ v)\n        wait until <[12] < (level)>\n    end\n    if <<(level) = [21]> or <(level) = [22]>> then\n        create clone of (_myself_ v)\n        wait until <[22] < (level)>\n    end\nend\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        set [x2 v] to (mouse x)\n        set [y2 v] to (mouse y)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<(BoughtX2Coin?) = [false]> and <touching (player v)?>> then\n        change [coins v] by (1)\n        delete this clone\n    end\n    wait until <not <touching (player v)?>>\nend\n\nwhen I start as a clone\nforever\n    if <<(BoughtX2Coin?) = [true]> and <touching (player v)?>> then\n        change [coins v] by (2)\n        delete this clone\n    end\n    wait until <not <touching (player v)?>>\nend\n\nwhen flag clicked\nforever\n    if <<(Skipper) = [true]> or <<(spike achievmnet) = [true]> or <(jump achievment) = [true]>>> then\n        hide variable [coins v]\n        wait (4) seconds\n        show variable [coins v]\n        wait until <not <<(Skipper) = [true]> or <<(spike achievmnet) = [true]> or <(jump achievment) = [true]>>>>\n    end\nend\n\nshow variable [coins v]\n\n\n\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nset [boughtx2coin? v] to [false]\nforever\n    if <(shopopen?) = [1]> then\n        if <(BoughtX2Coin?) = [false]> then\n            show\n            go to [front v] layer\n            go to x: (30) y: (-42)\n            set size to (85) %\n            if <<<<<mouse down?> and <touching (mouse-pointer v)?>> and <(BoughtX2Coin?) = [false]>> and <(shopopen?) = [1]>> and <[29] < (coins)>> then\n                set [boughtx2coin? v] to [true]\n                say [Bought!] for (2) seconds\n                change [coins v] by (-30)\n            else\n                if <<<<mouse down?> and <touching (mouse-pointer v)?>> and <(shopopen?) = [1]>> and <(coins) < [29]>> then\n                    say [Too Expensive] for (2) seconds\n                end\n            end\n        end\n        if <(BoughtX2Coin?) = [true]> then\n            hide\n        end\n    else\n        if <(shopopen?) = [0]> then\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nset [shopopen? v] to [0]\n\n@detector\n\nwhen flag clicked\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (0.5) seconds\nshow\ngo to x: (0) y: (-100)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved__ v] to [1]\n                change [coins v] by (10)\n            end\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [faved___ v] to [1]\n            end\n        end\n    end\nend\nforever\n    if <<(LOVED__) = [1]> and <(FAVED___) = [1]>> then\n        set [coin extract v] to [1]\n        change [timelandf v] by (1)\n        wait until <<(LOVED__) = [0]> and <(FAVED___) = [0]>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(LOVED__) = [1]> and <(FAVED___) = [1]>> then\n        change [coins v] by (10)\n        wait until <<(LOVED__) = [0]> and <(FAVED___) = [0]>>\n    end\nend\n\n@shop\n\nwhen flag clicked\nset [skip bought v] to [false]\nforever\n    if <(shopopen?) = [1]> then\n        if <(Skip Bought) = [false]> then\n            show\n            go to [front v] layer\n            set size to (85) %\n            if <<<<mouse down?> and <touching (mouse-pointer v)?>> and <(Skip Bought) = [false]>> and <[19] < (coins)>> then\n                set [skip bought v] to [true]\n                say [Bought!] for (2) seconds\n                change [coins v] by (-30)\n            else\n                if <<<<mouse down?> and <touching (mouse-pointer v)?>> and <(shopopen?) = [1]>> and <(coins) < [19]>> then\n                    say [Too Expensive] for (2) seconds\n                end\n            end\n        end\n        if <(Skip Bought) = [true]> then\n            hide\n        end\n    else\n        if <(shopopen?) = [0]> then\n            hide\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\n\nforever\n    if <<(username) = [neewp]> or <(username) = [ DIRPYburphead]>> then\n        show\n        wait (1) seconds\n        stop [all v]\n    else\n        hide\n    end\nend\n\n