Morning Mission - A Scrolling Platformer

Instructions:          Press the flag 3 or 4 times for less lag.\n**Important: Please read this before playing or else you might not understand the game, thanks!** (oh and turn sound on for good experience)\n\nThe game that you are about to play, has taken me a long time. Two weeks ago, I had this idea and I'm really proud of how it turned out. I hope you enjoy this too. Basically, this game is a morning routine and you have to go from turning off the alarm clock by stepping on it, to making breakfast and packing your bag and getting ready for school. There are no instructions for making breakfast so you just have to figure it out yourself if you want the instructions, scroll down to the bottom of notes and credits to see.  \n\nIm trying hard to make people enjoy my content so every love, favourite and follow counts!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#Games #Art #Morning #Mission #-4LeafClover #Platformer #All

@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (Scroll X)) (join [, ] ((mouse y) + (Scroll Y))))\n\nwhen flag clicked\nforever\n    play sound [Ashes Remain - On My Own \[HD Animated Lyrics!\].mp3 v] until done\nend\n\n@Blank\n\n@Player\n\nwhen flag clicked\nforever\n    play sound [Sunshine v] until done\nend\n\nwhen flag clicked\nforever\n    play sound [Sunshine v] until done\nend\n\nwhen [timer v] > (my variable)\nhide\n\nwhen flag clicked\nreset timer\nset [my variable v] to [0]\nforever\n    set [my variable v] to ((timer) + (0.1))\nend\n\nwhen flag clicked\nbroadcast (Green flag v) and wait\nbroadcast (Play game v) and wait\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game on\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (tick v) and wait\n    end\n    if <(EXIT) = [win]> then\n        Game - WIN\n    else\n        Game - DIE\n    end\nend\n\ndefine Game on\npoint in direction (90)\nset size to (100) %\nset [in air v] to [0]\nset [sy v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [exit v] to []\nshow\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    Change Player x by [-8]\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    Change Player x by [8]\nend\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <(in air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nChange Player y by (sy)\nset [scroll x v] to (X)\nPosition\nif <(Y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nTest - DIE\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine 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 (platforms v)?> then\n    repeat (20)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-20)\n    repeat until <not <touching (platforms 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\nchange [x v] by (-8)\n\nchange [x v] by (8)\n\nset [sy v] to [0]\n\ndefine Game - DIE\nset [exit v] to []\nrepeat (5)\n    change size by (20)\n    wait (0.1) seconds\n    change size by (-20)\n    wait (0.1) seconds\nend\nset size to (100) %\nhide\nwait (0.5) seconds\n\nshow\n\ndefine Test - DIE\nif <touching color (#ff0000)?> then\n    set [exit v] to [die]\nend\n\ndefine Game - WIN\ngo to (exit v)\nrepeat (50)\n    turn right (15) degrees\n    change size by (-1)\nend\nhide\nchange [level v] by (1)\npoint in direction (90)\nwait (1) seconds\n\nwhen flag clicked\nif <touching (yum pancakes v)?> then\n\nbroadcast (Stop all sounds v)\n\nwhen flag clicked\nrepeat until <key (space v) pressed?>\n\n\n\nstart sound [cartoon-telephone_daniel_simion v]\n\nforever\n\nwhen I receive [flour v]\ngo to [back v] layer\n\nhide\n\n\n\nrepeat (100)\n\ngo to [back v] layer\n\nhide\nstop all sounds\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [catch stuff v]\nswitch costume to (costume2 v)\n\nwhen I receive [player1+` v]\nswitch costume to (costume1 v)\nshow\n\n@Platforms2\n\nwhen I receive [tick v]\nPosition ((X) - (Scroll X)) ((Y) - (Scroll Y))\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\n\nwhen I receive [reset v]\ndelete this clone\n\nClone at x: [360] y: [0]\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nstart sound [cartoon-telephone_daniel_simion v]\nwait until <touching (player v)?>\nstop all sounds\nstop all sounds\n\ndefine Clone at x: (x) y: (y)\n\nwhen I receive [player1+` v]\nhide\n\n@Platforms\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [tick v]\nPosition ((X) - (Scroll X)) ((Y) - (Scroll Y))\n\nwhen I receive [setup v]\nset [y v] to [0]\nset [x v] to [0]\nif <(Level) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\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\ncreate clone of (_myself_ v)\n\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (360)\nnext costume\n\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\nClone at x: [360] y: [0]\n\nClone at x: [360] y: [0]\n\n\n\nwhen I receive [green flag v]\n\n@Yum pancakes\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [flour v]\nshow\n\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [front layer?? v]\ngo to [front v] layer\n\n@Bowl\n\nwhen I receive [another flour v]\nswitch costume to (costume2 v)\n\nwhen flag clicked\ngo to x: (41) y: (24)\nswitch costume to (costume1 v)\npoint in direction (90)\n\nwhen I receive [another sugar v]\nswitch costume to (costume3 v)\n\nwhen I receive [another egg v]\nswitch costume to (costume4 v)\n\nwhen I receive [another milk v]\nswitch costume to (costume5 v)\n\nwhen I receive [add butter v]\nswitch costume to (costume6 v)\n\nwhen I receive [another butter v]\nswitch costume to (costume9 v)\nbroadcast (stir again v)\n\nwhen I receive [into the pan v]\nswitch costume to (costume7 v)\n\nwhen I receive [into the pan v]\nshow\npoint in direction (90)\nswitch costume to (costume7 v)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\ngo to [front v] layer\nglide (0.7) secs to x: (92) y: (-31)\nturn right (15) degrees\nstart sound [Toy Zing v]\nrepeat (8)\n    wait (0.1) seconds\n    next costume\nend\nbroadcast (red yellow green v)\n\nwait (0.2) seconds\n\nwhen flag clicked\n\nwhen I receive [mix well v]\nswitch costume to (costume7 v)\n\nwhen I receive [red yellow green v]\nhide\n\nwhen I receive [flour v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwait (1) seconds\n\n@Sprite1\n\nwhen I receive [stirrrr v]\nwait (1) seconds\n\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [flour v]\nswitch costume to (costume13 v)\npoint in direction (135)\ngo to x: (-146) y: (55)\nshow\n\nrepeat (40)\n    next costume\n    wait (0.1) seconds\nend\nbroadcast (add butter v)\nglide (0.5) secs to x: (-193) y: (49)\n\nglide (0.5) secs to x: (-143) y: (66)\n\nwhen I receive [stir again v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-113) y: (128)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Low Whoosh v]\npoint in direction (90)\nrepeat (40)\n    next costume\n    wait (0.15) seconds\nend\nbroadcast (mix well v)\ngo to x: (-143) y: (66)\nswitch costume to (costume13 v)\npoint in direction (135)\nwait (1) seconds\nbroadcast (Into the pan v)\n\nwhen I receive [stirrrr v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-113) y: (128)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Low Whoosh v]\npoint in direction (90)\nrepeat (40)\n    next costume\n    wait (0.15) seconds\nend\nbroadcast (add butter v)\ngo to x: (-143) y: (66)\nswitch costume to (costume13 v)\npoint in direction (135)\n\nwhen I receive [into the pan v]\nhide\n\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-113) y: (128)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Low Whoosh v]\npoint in direction (90)\nrepeat (40)\n    next costume\n    wait (0.15) seconds\nend\nbroadcast (add butter v)\ngo to x: (-143) y: (66)\nswitch costume to (costume13 v)\npoint in direction (135)\n\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-113) y: (128)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Low Whoosh v]\npoint in direction (90)\nrepeat (40)\n    next costume\n    wait (0.15) seconds\nend\nbroadcast (add butter v)\ngo to x: (-143) y: (66)\nswitch costume to (costume13 v)\npoint in direction (135)\n\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\n\nwhen I receive [front layer?? v]\ngo to [front v] layer\n\ngo to [front v] layer\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\nwait (1) seconds\ngo to [front v] layer\npoint in direction (90)\ngo to x: (35) y: (104)\nswitch costume to (costume1 v)\n\nturn right (15) degrees\n\ngo to x: (30) y: (24)\n\nwhen I receive [flour v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-52) y: (117)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Teleport v]\nturn left (30) degrees\nnext costume\nbroadcast (another flour v)\nwait (0.5) seconds\nturn right (30) degrees\nnext costume\nwait (0.2) seconds\nglide (0.5) secs to x: (35) y: (104)\nbroadcast (sugar v)\n\nwait (0.2) seconds\n\nhide\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [front layer?? v]\n\n@Sprite3\n\nwhen I receive [sugar v]\nwait (1) seconds\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-51) y: (115)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Crank v]\nturn left (30) degrees\nnext costume\nbroadcast (another sugar v)\nwait (0.5) seconds\nnext costume\nturn right (30) degrees\nwait (0.2) seconds\nglide (0.5) secs to x: (-14) y: (64)\nbroadcast (egg v)\n\nturn left (15) degrees\n\nwait (0.5) seconds\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\nhide\n\nwhen I receive [flour v]\nswitch costume to (costume1 v)\ngo to x: (-14) y: (64)\nshow\npoint in direction (90)\n\nglide (.5) secs to x: (-14) y: (64)\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [front layer?? v]\n\n@Sprite4\n\nwhen I receive [egg v]\nwait (1) seconds\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (1) secs to x: (-51) y: (115)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [Crank v] until done\nturn left (15) degrees\nnext costume\nbroadcast (another egg v)\nwait (0.5) seconds\nturn right (15) degrees\nwait (0.2) seconds\nglide (1) secs to x: (132) y: (96)\nbroadcast (milk v)\n\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [flour v]\nswitch costume to (costume1 v)\ngo to x: (132) y: (96)\nshow\npoint in direction (90)\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\nhide\n\n@Sprite5\n\nwhen I receive [milk v]\n\nwhen flag clicked\nhide\n\ngo to x: (23) y: (80)\n\nwhen I receive [flour v]\nswitch costume to (costume1 v)\npoint in direction (90)\ngo to x: (83) y: (64)\nshow\n\nwhen I receive [milk v]\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-51) y: (115)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Ripples v]\nturn left (30) degrees\nnext costume\nbroadcast (another milk v)\nwait (0.5) seconds\nturn right (30) degrees\nnext costume\nwait (0.2) seconds\nglide (1) secs to x: (83) y: (64)\nbroadcast (stirrrr v)\n\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nglide (0.5) secs to x: (-51) y: (115)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nturn left (30) degrees\nplay sound [pop v] until done\nnext costume\nbroadcast (another milk v)\nwait (0.5) seconds\nglide (0.5) secs to x: (83) y: (64)\n\nwait (1) seconds\n\nplay sound [Ripples v] until done\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\nhide\n\n@Sprite6\n\nwhen I receive [flour v]\nswitch costume to (costume1 v)\ngo to x: (173) y: (54)\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [add butter v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [Suction Cup v]\nbroadcast (another butter v)\n\nwhen I receive [flour v]\n\nglide (1) secs to x: (-53) y: (128)\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nplay sound [pop v] until done\nturn left (30) degrees\nnext costume\n\nwait (0.5) seconds\nturn right (30) degrees\nnext costume\nwait (0.2) seconds\nglide (1) secs to x: (173) y: (54)\nbroadcast (stir again v)\n\nwhen I receive [into the pan v]\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\nhide\n\n@Sprite7\n\nwhen I receive [into the pan v]\nshow\n\nwhen I receive [flour v]\nhide\n\nwhen I receive [flip pancake v]\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nbroadcast (flipy pancake 2 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen I receive [maple suryup grrrr i cant spell right now ;-; v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nbroadcast (plate v)\nwait (1) seconds\nhide\n\nwait (1) seconds\nhide\n\n@Sprite9\n\nwhen I receive [red yellow green v]\nshow\n\nwhen I receive [flipy pancake 2 v]\nswitch costume to (costume1 v)\nrepeat (10)\n    next costume\n    wait (0.12) seconds\nend\nbroadcast (red yellow green2 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen I receive [front layer?? v]\n\ngo to [front v] layer\n\nwhen I receive [plate v]\nhide\n\n@Sprite8\n\nwhen I receive [red yellow green v]\nwait (2) seconds\nswitch costume to (costume1 v)\nstart sound [pop v]\nshow\nwait (2) seconds\nstart sound [pop v]\nnext costume\nwait (2) seconds\nstart sound [Doorbell v]\nnext costume\nbroadcast (flip pancake v)\nwait (2) seconds\nhide\n\nrepeat (2)\n\nwhen I receive [red yellow green2 v]\nwait (1) seconds\nswitch costume to (costume1 v)\nstart sound [pop v]\nshow\nwait (2) seconds\nstart sound [pop v]\nnext costume\nwait (2) seconds\nstart sound [Doorbell v]\nnext costume\nwait (2) seconds\nbroadcast (Maple suryup grrrr I cant spell right now ;-; v)\nhide\n\nwhen I receive [front layer?? v]\ngo to [front v] layer\n\nwait (1) seconds\nhide\n\n@Sprite10\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\n\nwhen I receive [tick v]\nPosition ((X) - (Scroll X)) ((Y) - (Scroll Y))\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\nwait until <touching (player v)?>\nwait (0.3) seconds\nbroadcast (Flour v)\n\n@Sprite11\n\n@Sprite12\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\ngo to [back v] layer\n\nwhen I receive [flour v]\nshow\n\nbroadcast (front layer?? v)\n\nwhen I receive [front layer?? v]\ngo to [front v] layer\n\nwhen I receive [instructions v]\nhide\n\nwhen I receive [catch stuff v]\nswitch costume to (costume2 v)\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Screen Shot 2021-05-12 at 10\n\nwhen I receive [plate v]\nswitch costume to (costume2 v)\nwait (1) seconds\nbroadcast (a real maple syrup v)\n\nwhen flag clicked\ngo to x: (-123) y: (-9)\nhide\nswitch costume to (costume3 v)\n\nwhen I receive [maple suryup grrrr i cant spell right now ;-; v]\nshow\n\nwhen I receive [syrup the maple v]\nswitch costume to (costume4 v)\nwait (1) seconds\nglide (1) secs to x: (15) y: (21)\nrepeat (9)\n    wait until <<mouse down?> and <touching (mouse-pointer v)?>>\n    start sound [Chomp v]\n    next costume\n    wait (0.3) seconds\nend\nwait (1) seconds\nhide\nbroadcast (instructions v)\n\ngo to [front v] layer\n\n@Sprite13\n\nwhen I receive [a real maple syrup v]\nshow\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nrepeat (6)\n    next costume\n    wait (0.1) seconds\nend\nstart sound [Glug v]\nrepeat (10)\n    next costume\n    wait (0.1) seconds\nend\nwait (1) seconds\nbroadcast (syrup the maple v)\nhide\n\nwhen flag clicked\nhide\nswitch costume to (screen shot 2021-05-12 at 11 v)\n\ngo to [front v] layer\n\n@Sprite14\n\nwhen I receive [instructions v]\ngo to [front v] layer\nshow\nwait until <key (space v) pressed?>\nhide\n\n@Sprite15\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\n\nwhen I receive [tick v]\nPosition ((X) - (Scroll X)) ((Y) - (Scroll Y))\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\nwait until <touching (player v)?>\nwait (0.3) seconds\nbroadcast (Catch stuff v)\n\nwhen flag clicked\n\nhide\n\n@Sprite16\n\nwhen I receive [catch stuff v]\nshow\nwait (1) seconds\nrepeat until <touching (player v)?>\n    glide (1) secs to x: (-171) y: (-93)\n    glide (1) secs to x: (172) y: (-93)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n\n\nwhen I receive [book v]\n\nstop [other scripts in sprite v]\nbroadcast (Catch stuff v)\n\nwait (1) seconds\n\nwhen flag clicked\nforever\n    if <touching (sprite22 v)?> then\n        switch costume to (costume2 v)\n        broadcast (water v)\n        stop [this script v]\n    end\nend\n\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <touching (sprite23 v)?> then\n        broadcast (lunc v)\n        switch costume to (costume3 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite24 v)?> then\n        broadcast (mask v)\n        switch costume to (costume4 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite25 v)?> then\n        switch costume to (costume5 v)\n        broadcast (doneeeee~!!I#OH@$ UKQJHKL v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nhide\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Sprite17\n\nwhen I receive [catch stuff v]\nshow\nrepeat until <touching (player v)?>\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    broadcast (book v)\nend\n\nwhen I receive [water v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Sprite18\n\nwhen I receive [water v]\nshow\nrepeat until <touching (player v)?>\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    broadcast (water2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Sprite19\n\nwhen I receive [lunc v]\nshow\nrepeat until <touching (player v)?>\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    broadcast (lunch2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Sprite20\n\nwhen I receive [mask v]\nshow\nrepeat until <touching (player v)?>\n    wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n    broadcast (mask2 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\n@Sprite22\n\nwhen I receive [book v]\nshow\ngo to x: (37) y: (91)\nglide (1) secs to x: (36) y: (-141)\nhide\n\nwhen flag clicked\ngo to x: (36) y: (91)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite16 v)?> then\n        wait (0.1) seconds\n        hide\n    end\nend\n\n@Sprite23\n\nwhen I receive [water2 v]\nshow\ngo to x: (-67) y: (104)\nglide (1) secs to x: (-67) y: (-130)\nhide\n\ngo to [back v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [catch stuff v]\nshow\n\ngo to [front v] layer\n\nwhen flag clicked\ngo to x: (-67) y: (104)\nhide\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\nwhen I receive [water v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite16 v)?> then\n        wait (0.1) seconds\n        hide\n    end\nend\n\n@Sprite24\n\nwhen I receive [lunch2 v]\nshow\ngo to x: (60) y: (104)\nglide (1) secs to x: (60) y: (-140)\nhide\n\nwhen flag clicked\ngo to x: (60) y: (104)\nhide\n\nwhen I receive [catch stuff v]\nshow\n\ngo to [front v] layer\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\nwhen I receive [lunc v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite16 v)?> then\n        wait (0.1) seconds\n        hide\n    end\nend\n\n@Sprite25\n\nwhen I receive [mask2 v]\nshow\ngo to x: (181) y: (106)\nglide (1) secs to x: (181) y: (-140)\nhide\n\ngo to [front v] layer\n\nwhen flag clicked\ngo to x: (187) y: (106)\nhide\n\nwhen I receive [catch stuff v]\nshow\n\ngo to [front v] layer\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nwait (0.5) seconds\nhide\n\nwhen I receive [mask v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite16 v)?> then\n        wait (0.1) seconds\n        hide\n    end\nend\n\n@Sprite26\n\nwhen flag clicked\nwait (0.01) seconds\ngo to [front v] layer\nshow\nwait until <key (space v) pressed?>\nhide\n\n@Sprite21\n\nwhen I receive [doneeeee~!!i#oh@$ ukqjhkl v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [player1+` v]\nhide\n\n@Sprite27\n\nwhen flag clicked\nchange [ghost v] effect by (100)\ngo to [front v] layer\n\n@Sprite28\n\n