Emoji Platformer

Instructions: ~~~~~~~~~~~~~!WARNING GAME MAY FREEZE!~~~~~~~~~~~~\n                            WELCOME To Emoji Platformer!\nThe game that took me almost 3 MONTHS to Finish! I hope you like it!               This is by far my Most advanced Platformer!\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nOBJECT OF THE GAME. You must save a place called "Emoji Land" which is a theme park that you can do fun Emoji related things at! (You can not do those things in this game, its just story line :D) Well You have to save Emoji Land because an evil anti-Emoji stole it and took away all of the emoji rides and other emoji things:( BUT! The incredible emoji's "waffle, pizza, taco, apple, and gobo" will save Emoji Land! during the game You can collect Emoji items like _eggcorn_ and _sushi_ and more! \n\n\n\n\n\n\n\nHINT. When you get to the first level of the castle just get in the wall thing and press the right arrow and up arrow and it just bounces you up in side to side way:) 

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Jake Kaufman - Shovel Knight v] until done\nend\n\nwhen I receive [actually start!!! v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [castle!!!!!!! v]\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [actually start!!! v]\nforever\n    if <(backdrop [number v]) = [10]> then\n        broadcast (Castle!!!!!!! v)\n    end\nend\n\nwhen I receive [out of castle!!!!! v]\nswitch backdrop to (backdrop2 v)\nstop all sounds\nstop [other scripts in stage v]\nforever\n    play sound [Jake Kaufman - Shovel Knight v] until done\nend\n\nwhen I receive [out of castle!!!!! v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [mountain!!!! v]\nstop all sounds\nstop [other scripts in stage v]\nforever\n    play sound [427184_Defend v] until done\nend\n\nwhen I receive [valcano!!!! v]\nforever\n    switch backdrop to (backdrop4 v)\nend\n\nwhen I receive [castle!!!!!!! v]\nstop all sounds\nstop [other scripts in stage v]\nforever\n    play sound [Go K.K. Rider! 8 Bit.mp3 v] until done\nend\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nstop [other scripts in stage v]\nstop all sounds\nswitch backdrop to (backdrop5 v)\n\n@emojis\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset [able to move? v] to [1]\nswitch costume to (waffle! v)\ngo to x: (-9) y: (-6)\nhide\nset size to (76) %\n\nwhen I receive [actually start!!! v]\nwait (2) seconds\nshow\ngo to x: (-206) y: (-132)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <(able to move?) = [1]> then\n        if <key (left arrow v) pressed?> then\n            change [xv v] by (-1)\n        end\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (1)\n        end\n        set [xv v] to ((xv) * (0.85))\n        change x by (xv)\n        if <touching color (#000008)?> then\n            change y by (-2)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (1)\n                                if <touching color (#000008)?> then\n                                    change y by (-5)\n                                    change x by ((-1) * (xv))\n                                    if <<key (up arrow v) pressed?> and <not <(xv) = [0]>>> then\n                                        set [mode v] to [walljump]\n                                        set [yv v] to [8]\n                                        set [xv v] to (((xv) / ([abs v] of (xv) )) * (-10))\n                                    else\n                                        set [mode v] to [wallslide]\n                                        set [xv v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n            change y by (2)\n        end\n        change y by (-3)\n        if <touching color (#000008)?> then\n            if <(yv) = [-3]> then\n                if <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> then\n                    set [mode v] to [run]\n                else\n                    if <([abs v] of (xv) ) > [.1]> then\n                        set [mode v] to [skid]\n                    else\n                        set [mode v] to [stand]\n                    end\n                end\n            end\n            if <key (up arrow v) pressed?> then\n                set [mode v] to [jump]\n                set [yv v] to [9]\n            end\n        end\n        if <<<<(mode) = [jump]> or <(mode) = [walljump]>> and <(yv) < [0]>> or <<<(mode) = [run]> or <(mode) = [skid]>> and <(yv) < [-3]>>> then\n            set [mode v] to [fall]\n        end\n        change y by (3)\n        if <(yv) > [-15]> then\n            change [yv v] by (-0.5)\n        end\n        change y by (-2)\n        if <not <touching color (#000008)?>> then\n            change y by (-1)\n            if <not <touching color (#000008)?>> then\n                change y by (-1)\n                if <not <touching color (#000008)?>> then\n                    change y by (-1)\n                    if <not <touching color (#000008)?>> then\n                        change y by (-1)\n                        if <not <touching color (#000008)?>> then\n                            change y by (-1)\n                            if <not <touching color (#000008)?>> then\n                                change y by (5)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\n        change y by (yv)\n        if <touching color (#000008)?> then\n            change y by (-2)\n            if <touching color (#000008)?> then\n                change y by ((-1) * (yv))\n                set [yv v] to [-3]\n            end\n            change y by (2)\n        end\n    end\nend\n\nset size to (130) %\n\nwhen I receive [next area v]\nwait (0.2) seconds\ngo to x: (next X) y: (next Y)\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching color (#ff00bf)?> then\n        broadcast (next area v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [world v]) = [2]> then\n        set [next x v] to [-184]\n        set [next y v] to [-52]\n    end\nend\n\nwhen I receive [actually start!!! v]\nforever\n    if <<<(y position) < [-175]> or <touching color (#ff0000)?>> and <([costume # v] of [world v]) = [1]>> then\n        go to x: (-206) y: (-132)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<(y position) < [-175]> or <touching color (#ff0000)?>> and <([costume # v] of [world v]) = [2]>> then\n        go to x: (-184) y: (-52)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<(y position) < [-175]> or <touching color (#ff0000)?>> and <<([costume # v] of [world v]) = [3]> or <<([costume # v] of [world v]) = [4]> or <<([costume # v] of [world v]) = [5]> or <<([costume # v] of [world v]) = [6]> or <<([costume # v] of [world v]) = [7]> or <<([costume # v] of [world v]) = [8]> or <([costume # v] of [world v]) = [9]>>>>>>>> then\n        go to x: (-184) y: (-52)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<(y position) < [-175]> or <touching color (#ff0000)?>> and <not <([costume # v] of [world v]) = [1]>>> then\n        go to x: (-184) y: (-52)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<<(y position) < [-175]> or <touching color (#ff0000)?>> and <not <([costume # v] of [world v]) = [1]>>> and <<(backdrop [number v]) = [3]> and <not <<<([costume # v] of [world v]) = [10]> or <([costume # v] of [world v]) = [11]>> or <<([costume # v] of [world v]) = [12]> or <([costume # v] of [world v]) = [13]>>>>>> then\n        broadcast (back to part of 1st cast. v)\n        go to x: (-184) y: (-52)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <<<(y position) < [-175]> or <touching color (#6600cc)?>> and <([costume # v] of [world v]) = [29]>> then\n        broadcast (get hit by BOSS v)\n        go to x: (-184) y: (-52)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\nend\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [20]> then\n        broadcast (out of castle!!!!! v) and wait\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [10]> then\n        broadcast (Castle!!!!!!! v)\n        stop [this script v]\n    end\nend\n\ngo to (emoji eyes v)\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [22]> then\n        broadcast (mountain!!!! v) and wait\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [27]> then\n        broadcast (valcano!!!! v) and wait\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [29]> then\n        broadcast (BOSS BATTLE!!!!:O v) and wait\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [next left! v]\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (-1))\nwait (0.2) seconds\n\nwhen I receive [next right! v]\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (1))\nwait (0.2) seconds\n\nwhen I receive [actually start!!! v]\nhide\n\nwhen I receive [credits! v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\n@Emoji eyes\n\nwhen flag clicked\nset [ghost v] effect to (0)\nswitch costume to (waffle v)\ngo to [front v] layer\nset size to (70) %\nhide\nforever\n    go to [front v] layer\n    go to (emojis v)\nend\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen I receive [actually start!!! v]\nwait (2) seconds\n\nwhen I receive [next left! v]\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (-1))\nwait (0.2) seconds\n\nwhen I receive [next right! v]\nwait (0.1) seconds\nswitch costume to ((costume [number v]) + (1))\nwait (0.2) seconds\n\nwhen I receive [actually start!!! v]\nhide\nwait (2) seconds\nshow\n\ngo to [front v] layer\n\nwhen I receive [credits! v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [start v]\nwait (2) seconds\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (2) seconds\nforever\n    repeat (10)\n        change [whirl v] effect by (5)\n    end\n    wait (0.6) seconds\n    repeat (10)\n        change [whirl v] effect by (-5)\n    end\n    wait (0.6) seconds\n    repeat (10)\n        change [whirl v] effect by (-5)\n    end\n    wait (0.6) seconds\n    repeat (10)\n        change [whirl v] effect by (5)\n    end\n    wait (0.6) seconds\nend\n\nwhen I receive [start v]\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (start v)\n        wait (0.1) seconds\n        stop [this script v]\n    end\nend\n\n@player select xD\n\nwhen flag clicked\nhide\ngo to x: (-4) y: (-37)\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen I receive [actually start!!! v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (41) y: (14)\nswitch costume to (costume1 v)\nset size to (100) %\nhide\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen I receive [next right! v]\nrepeat (2)\n    change size by (5)\nend\nrepeat (2)\n    change size by (-5)\nend\n\nwhen I receive [start v]\nwait (2) seconds\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (next right! v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [actually start!!! v]\nhide\n\nwhen I receive [actually start!!! v]\nswitch costume to (costume2 v)\n\n@Sprite2\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\ngo to x: (-80) y: (14)\nhide\n\nwhen I receive [next left! v]\nrepeat (2)\n    change size by (5)\nend\nrepeat (2)\n    change size by (-5)\nend\n\nwhen I receive [actually start!!! v]\nhide\n\nwhen I receive [actually start!!! v]\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nwait (2) seconds\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (next left! v)\n        wait (1) seconds\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nset [thing for button. v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-10) y: (94)\nhide\n\nwhen I receive [next left! v]\nhide\nwait (0.2) seconds\nshow\n\nwhen I receive [next right! v]\nhide\nwait (0.2) seconds\nshow\n\nwhen I receive [start v]\nwait (2) seconds\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (ACTUALLY START!!! v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume3 v)\n    else\n        if <(thing for button.) = [0]> then\n            switch costume to (costume1 v)\n        end\n    end\n    if <(thing for button.) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [actually start!!! v]\nswitch costume to (costume2 v)\nset [thing for button. v] to [0]\n\n@world\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [next area v]\nnext costume\nwait (1) seconds\n\nwhen I receive [actually start!!! v]\nshow\n\nwhen I receive [back to part of 1st cast. v]\nswitch costume to (costume14 v)\n\nforever\nend\n\nbroadcast (next area v)\n\nwhen I receive [go up bolder v]\nrepeat (20)\n    glide (0.001) secs to x: (pick random (-5) to (3)) y: (pick random (-5) to (5))\nend\ngo to x: (0) y: (0)\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite7\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (0)\n    go to x: (0) y: (0)\nend\n\nif <touching (emojis v)?> then\n    broadcast (next area v)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@scratch emoji2\n\nwhen flag clicked\nset [got _eggplant v] to [0]\ngo to x: (-101) y: (82)\nset size to (100) %\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        set [got _eggplant v] to [1]\n        broadcast (got _eggplant_ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [got _eggplant_ v]\nglide (1) secs to x: (-222) y: (160)\n\nbroadcast (got _eggplant_ v)\n\ngo to x: (-101) y: (82)\n\nset size to (100) %\n\nwhen I receive [actually start!!! v]\nforever\n    if <<([costume # v] of [world v]) = [3]> and <(got _eggplant) = [1]>> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [2]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got _eggplant_ v]\nrepeat (50)\n    change size by (1)\nend\nrepeat (50)\n    change size by (-1)\nend\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    if <([costume # v] of [world v]) = [29]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\nwhen I receive [actually start!!! v]\nshow\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@scratch emoji3\n\nwhen flag clicked\nset [got _broccoli_ v] to [0]\nhide\ngo to x: (44) y: (123)\nset size to (100) %\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        set [got _broccoli_ v] to [1]\n        broadcast (got _broccoli_ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [got _broccoli_ v]\nglide (1) secs to x: (-193) y: (159)\n\nwhen I receive [got _broccoli_ v]\nrepeat (50)\n    change size by (1)\nend\nrepeat (50)\n    change size by (-1)\nend\n\nset size to (100) %\n\nbroadcast (got _eggplant_ v)\n\ngo to x: (-101) y: (82)\n\nwhen I receive [actually start!!! v]\nforever\n    if <<([costume # v] of [world v]) = [8]> and <(got _broccoli_) = [1]>> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [7]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (-147) y: (0)\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [9]> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [8]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\n    if <(y position) = [340]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [go up gate v]\nrepeat until <(y position) = [340]>\n    change y by (5)\nend\nhide\n\n@Sprite9\n\nwhen flag clicked\ngo to x: (-124) y: (116)\nset size to (70) %\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [8]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got switch1 v]\nswitch costume to (costume1 v)\nwait (0.06) seconds\nswitch costume to (costume2 v)\nwait (0.06) seconds\nswitch costume to (costume3 v)\nwait (0.06) seconds\nswitch costume to (costume4 v)\nwait (0.06) seconds\nswitch costume to (costume5 v)\nwait (0.06) seconds\nswitch costume to (costume6 v)\nwait (0.06) seconds\nswitch costume to (costume7 v)\nwait (0.06) seconds\nswitch costume to (costume8 v)\nwait (0.06) seconds\nswitch costume to (costume9 v)\nbroadcast (go up gate v)\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        broadcast (got switch1 v) and wait\n        stop [this script v]\n    end\nend\n\n@scratch emoji4\n\nwhen flag clicked\nset [got _sushi_ v] to [0]\ngo to x: (34) y: (73)\nset size to (100) %\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        set [got _sushi_ v] to [1]\n        broadcast (got _sushi_ v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [got _sushi_ v]\nglide (1) secs to x: (-167) y: (166)\n\nbroadcast (got _sushi_ v)\n\ngo to x: (-101) y: (82)\n\nwhen I receive [actually start!!! v]\nforever\n    if <<([costume # v] of [world v]) = [11]> and <(Got _sushi_) = [1]>> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [10]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got _sushi_ v]\nrepeat (50)\n    change size by (1)\nend\nrepeat (50)\n    change size by (-1)\nend\n\nset size to (100) %\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite10\n\nwhen flag clicked\nset [stuff for bad guy in castle. v] to [0]\nswitch costume to (costume1 v)\npoint in direction (90)\nhide\ngo to x: (0) y: (3)\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [14]> then\n        wait (1) seconds\n        show\n        broadcast (bad guy! v) and wait\n        stop [this script v]\n    end\nend\n\nwhen I receive [bad guy! v]\nwait (1) seconds\nglide (1) secs to x: (-228) y: (10)\nswitch costume to (costume2 v)\nforever\n    if <(stuff for bad guy in castle.) = [0]> then\n        point towards (emojis v)\n        move (4) steps\n    end\nend\n\nwhen I receive [next area v]\n\nwait (1) seconds\n\nif <(stuff for bad guy in castle.) = [1]> then\n    stop [this script v]\nend\n\nwhen I receive [next area v]\npoint in direction (90)\ngo to x: (-283) y: (-37)\n\nwhen I receive [next area v]\nset [stuff for bad guy in castle. v] to [1]\nwait (0.4) seconds\nset [stuff for bad guy in castle. v] to [0]\n\npoint in direction (90)\n\nwhen I receive [out of castle!!!!! v]\nstop [other scripts in sprite v]\nhide\n\nif <(stuff for bad guy in castle.) = [1]> then\n    repeat until \n    end\nend\n\nwhen I receive [back to part of 1st cast. v]\ngo to x: (-228) y: (10)\nset [stuff for bad guy in castle. v] to [1]\nwait (1.3) seconds\nset [stuff for bad guy in castle. v] to [0]\n\n@scratch emoji5\n\nwhen flag clicked\nset [got _eggcorn_ v] to [0]\ngo to x: (31) y: (9)\nset size to (100) %\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        set [got _eggcorn_ v] to [1]\n        broadcast (got _eggcorn_ v)\n        stop [this script v]\n    end\nend\n\nbroadcast (got _eggcorn_ v)\n\ngo to x: (-101) y: (82)\n\nwhen I receive [actually start!!! v]\nforever\n    if <<([costume # v] of [world v]) = [18]> and <(got _eggcorn_) = [1]>> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [17]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got _eggcorn_ v]\nrepeat (50)\n    change size by (1)\nend\nrepeat (50)\n    change size by (-1)\nend\n\nset size to (100) %\n\nwhen I receive [got _eggcorn_ v]\nglide (1) secs to x: (-138) y: (168)\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite11\n\nwhen flag clicked\ngo to x: (-100) y: (0)\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [26]> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [25]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\n    if <(y position) = [344]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [go up bolder v]\nrepeat (20)\n    glide (0.001) secs to x: (pick random (-5) to (3)) y: (pick random (-5) to (5))\nend\n\nwhen I receive [go up bolder v]\nrepeat until <(y position) = [344]>\n    change y by (5)\nend\nhide\n\n@Sprite12\n\nwhen flag clicked\ngo to x: (-150) y: (-177)\nset size to (70) %\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <([costume # v] of [world v]) = [25]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got switch2 v]\nswitch costume to (costume1 v)\nwait (0.06) seconds\nswitch costume to (costume2 v)\nwait (0.06) seconds\nswitch costume to (costume3 v)\nwait (0.06) seconds\nswitch costume to (costume4 v)\nwait (0.06) seconds\nswitch costume to (costume5 v)\nwait (0.06) seconds\nswitch costume to (costume6 v)\nwait (0.06) seconds\nswitch costume to (costume7 v)\nwait (0.06) seconds\nswitch costume to (costume8 v)\nwait (0.06) seconds\nswitch costume to (costume9 v)\nbroadcast (go up bolder v)\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        broadcast (got switch2 v) and wait\n        stop [this script v]\n    end\nend\n\n@Sprite13\n\nwhen I receive [boss battle!!!!:o v]\nset [able to move? v] to [0]\nshow\npoint in direction (90)\nsay [So you thought I got stuck in the Castle! *Press X*]\nwait until <key (x v) pressed?>\nsay [Well I'm back! So you should Not even try to save Emoji land! *Press X*]\nwait (0.3) seconds\nwait until <key (x v) pressed?>\nsay []\nbroadcast (ACTUALLY START BOSS BATTLE!!! v)\n\nwhen flag clicked\nhide\n\nwhen I receive [actually start boss battle!!! v]\nwait (0.7) seconds\nset [able to move? v] to [1]\nforever\n    if <(stuff for BOSS in valcano) = [0]> then\n        point towards (emojis v)\n        move (3) steps\n    end\nend\n\nwhen I receive [get hit by boss v]\ngo to x: (-228) y: (10)\nset [stuff for boss in valcano v] to [1]\nwait (1.3) seconds\nset [stuff for boss in valcano v] to [0]\n\nwhen flag clicked\nclear graphic effects\nforever\n    if <touching (sprite14 v)?> then\n        broadcast (take damage v)\n        wait (0.5) seconds\n    end\nend\n\nwhen flag clicked\nset [damage took? v] to [0]\nset [stuff for boss in valcano v] to [0]\nswitch costume to (costume1 v)\npoint in direction (90)\ngo to x: (158) y: (-15)\n\nwhen I receive [take damage v]\nswitch costume to (costume2 v)\nrepeat (15)\n    change [ghost v] effect by (3)\nend\nrepeat (15)\n    change [ghost v] effect by (-3)\nend\nswitch costume to (costume1 v)\nset [ghost v] effect to (0)\nchange [damage took? v] by (1)\nwait (0.3) seconds\n\nwhen I receive [actually start boss battle!!! v]\nforever\n    if <(Damage Took?) = [8]> then\n        point in direction (90)\n        broadcast (BOSS defeated v)\n    end\nend\n\nwhen I receive [boss defeated v]\nstop [other scripts in sprite v]\nwait (1) seconds\ngo to x: (1) y: (5)\nset [able to move? v] to [0]\nrepeat (80)\n    go to x: (pick random (1) to (10)) y: (pick random (1) to (10))\nend\nsay [I've Been defeated! NO!!!! *Press X*]\nwait (0.3) seconds\nwait until <key (x v) pressed?>\nsay [Oh Well. You can have Emoji Land back now! Bye! *Press X*]\nwait (0.3) seconds\nwait until <key (x v) pressed?>\nshow\nsay []\nrepeat (23)\n    change y by (10)\nend\nhide\nbroadcast (credits! v)\n\n@Sprite14\n\nwhen flag clicked\nhide\nset [thing for spikey thing. v] to [0]\n\nwhen I receive [come down spikey thing! v]\nshow\nset x to (-137)\nset y to (207)\nset [y velocity stuffy v] to [0]\nset [thing for spikey thing. v] to [1]\nrepeat until <touching color (#000000)?>\n    if <not <(y VELOCITY STUFFY) = [30]>> then\n        change y by (y VELOCITY STUFFY)\n        change [y velocity stuffy v] by (-1)\n    end\nend\nset [y velocity stuffy v] to [0]\nchange y by (10)\nrepeat until <touching (sprite13 v)?>\n    show\nend\nwait (0.05) seconds\nset [thing for spikey thing. v] to [0]\nhide\n\nwhen I receive [actually start boss battle!!! v]\nwait (0.7) seconds\nforever\n    wait (pick random (4) to (6)) seconds\n    if <(thing for spikey thing.) = [0]> then\n        broadcast (come down spikey thing! v)\n    end\nend\n\nwhen I receive [credits! v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite15\n\nwhen flag clicked\nforever\n    repeat (10)\n        change [brightness v] effect by (0.5)\n    end\n    repeat (10)\n        change [brightness v] effect by (-0.5)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    if <([costume # v] of [world v]) = [27]> then\n        show\n    else\n        hide\n    end\nend\n\n@scratch emoji6\n\nwhen flag clicked\nset [got _10mil_ v] to [0]\ngo to x: (14) y: (-157)\nset size to (120) %\nhide\n\nwhen I receive [actually start!!! v]\nforever\n    if <touching (emojis v)?> then\n        set [got _10mil_ v] to [1]\n        broadcast (got _eggcorn_ v)\n        stop [this script v]\n    end\nend\n\nbroadcast (got _eggcorn_ v)\n\ngo to x: (-101) y: (82)\n\nwhen I receive [actually start!!! v]\nforever\n    if <<([costume # v] of [world v]) = [25]> and <(got _10mil_) = [1]>> then\n        stop [this script v]\n    end\n    if <([costume # v] of [world v]) = [24]> then\n        show\n    else\n        wait (0.1) seconds\n        hide\n    end\nend\n\nwhen I receive [got _eggcorn_ v]\nrepeat (50)\n    change size by (1)\nend\nrepeat (50)\n    change size by (-1)\nend\n\nset size to (100) %\n\nwhen I receive [got _eggcorn_ v]\nglide (1) secs to x: (-107) y: (165)\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nhide\n\n@Sprite16\n\nwhen flag clicked\ngo to x: (0) y: (-220)\nhide\n\nwhen I receive [credits! v]\nshow\nwait (1.5) seconds\nforever\n    change y by (0.3)\nend\n\nwhen I receive [credits! v]\nwait (0.7) seconds\nforever\n    play sound [elton_john-crocodile_rock v] until done\nend\n\n@Sprite17\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [credits! v]\nshow\n\n