Among us platformer

Instructions: I make this project to to congratulate me on reaching 200 followers.\nWell, remeber this: NEVER FORGET TO LOVE AND FAVOURITE.\nThank you so much.

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [end of intro v]\nswitch backdrop to (backdrop1 v)\n\n@level\n\nwhen flag clicked\nhide\nset [level v] to [1.0]\nforever\n    switch costume to (level)\nend\n\nset [level v] to [1.7]\n\nwhen I receive [skip v]\nchange [level v] by (.1)\n\nswitch costume to (level)\n\nnext costume\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\n\n@player\n\nwhen flag clicked\nbroadcast (reset v)\nhide\n\ndefine Touch ground <something above>\nchange [in air? v] by (1)\nrepeat until <not <touching (level v)?>>\n    if <something above> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [yv v] to [0]\nend\n\nwhen I receive [reset v]\ngo to [front v] layer\nset [power v] to [0]\nset size to (20) %\ngo to x: (-210) y: (-60)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    change [xv v] by (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\n    set [xv v] to ((xv) * (.86))\n    change x by (xv)\n    change x by (((0) - (xv)) * <touching (level v)?>)\n    change [yv v] by (-1)\n    change y by (yv)\n    Touch ground <(yv) > [0]>\n    if <key (up arrow v) pressed?> then\n        if <(in air?) < [4]> then\n            set [yv v] to [10]\n            broadcast (up v)\n        end\n    end\n    if <touching color (#ff3737)?> then\n        broadcast (reset v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    set [my x v] to (x position)\n    if <key (right arrow v) pressed?> then\n        switch costume to (Color)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (join (Color) [2])\n    end\n    if <touching color (#ff0000)?> then\n        broadcast (reset v)\n    end\n    if <touching color (#c60909)?> then\n        broadcast (reset v)\n    end\n    if <touching color (#0084ff)?> then\n        if <(level) = [1.8]> then\n            go to x: (204) y: (-23)\n        else\n            go to x: (-170) y: (90)\n        end\n    end\n    if <touching color (#ffc500)?> then\n        set [yv v] to [20]\n    end\n    \n        broadcast (reset v)\n    end\n    if <touching color (#37ff00)?> then\n        set size to (10) %\n    end\n    if <touching color (#00ffc3)?> then\n        set [power v] to [speed]\n    end\n    if <(power) = [speed]> then\n        repeat until <not <(power) = [speed]>>\n            if <key (left arrow v) pressed?> then\n                change [xv v] by (-2)\n                switch costume to (cyan2 v)\n            end\n            if <key (right arrow v) pressed?> then\n                change [xv v] by (2)\n                switch costume to (cyan v)\n            end\n        end\n    end\nend\n\nchange [lives v] by (-1)\n\nchange [lives v] by (-1)\n\ngo to x: (-200) y: (170)\n\nbroadcast (up v)\n\nset size to (100) %\n\nbroadcast (reset v)\n\nchange [lives v] by (-1)\n\nset size to (10) %\n\nchange [ghost v] effect by (10)\n\nwhen flag clicked\nset [level v] to [1.0]\nforever\n    if <(level) = [1.0]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.1]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.1]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.2]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.2]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.3]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.3]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.4]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.4]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.5]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.5]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.6]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.6]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.7]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.7]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.8]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.8]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.9]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.9]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.11]\n            broadcast (reset v)\n        end\n    end\n    if <(level) = [1.11]> then\n        if <(x position) > [220]> then\n            set x to (-200)\n            set [level v] to [1.12]\n            broadcast (reset v)\n        end\n    end\nend\n\nif <touching color (#0084ff)?> then\n    go to x: (-170) y: (90)\nend\nif <touching color (#ffc500)?> then\n    set [yv v] to [20]\nend\nif <touching color (#aeaeae)?> then\n    broadcast (reset v)\nend\nif <touching color (#37ff00)?> then\n    set size to (10) %\nend\nif <touching color (#00ffc3)?> then\n    set [power v] to [speed]\nend\nif <(power) = [speed]> then\n    repeat until <not <(power) = [speed]>>\n        if <key (left arrow v) pressed?> then\n            change [xv v] by (-2)\n            switch costume to (cyan2 v)\n        end\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (2)\n            switch costume to (cyan v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [player x v] to (x position)\n    set [player y v] to (y position)\nend\n\nwhen I receive [start v]\nswitch costume to (Color)\n\nwhen I receive [ded v]\nbroadcast (reset v)\nhide\nwait (2) seconds\n\nshow\n\nwhen I receive [ded v]\n\nhide\n\nwait (2) seconds\n\nbroadcast (reset v)\n\nshow\n\ngo [forward v] (1) layers\n\nwhen I receive [end of intro v]\nhide\n\nwhen I receive [start v]\nshow\n\n@enemy ai\n\nwhen flag clicked\nbroadcast (reset v)\n\ndefine Touch ground <something above>\nchange [in air?2 v] by (1)\nrepeat until <not <touching (level v)?>>\n    if <something above> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [in air?2 v] to [0]\n    end\n    set [yv2 v] to [0]\nend\n\ndefine Wall detection, movement, friction (value)\nchange [xv2 v] by (value)\nset [xv2 v] to ((xv2) * (.85))\nchange x by (xv2)\nif <touching (level v)?> then\n    change x by ((0) - (xv2))\n    if <(in air?2) < [4]> then\n        set [yv2 v] to [10]\n    end\nend\n\nwhen I receive [up v]\nwait (0.6) seconds\nif <(in air?2) < [4]> then\n    set [yv2 v] to [10]\nend\n\nwhen I receive [reset v]\nif <(level) = [1.11]> then\n    go to x: (178) y: (160)\nelse\n    go to x: (220) y: (50)\nend\nset [yv2 v] to [0]\nset [xv2 v] to [0]\nforever\n    change [yv2 v] by (-1)\n    change y by (yv2)\n    Touch ground <(yv2) > [0]>\n    if <([x position v] of [player v]) > (x position)> then\n        Wall detection, movement, friction [0.5]\n    else\n        Wall detection, movement, friction [-0.5]\n    end\nend\n\ngo to x: (220) y: (50)\n\nwhen flag clicked\nforever\n    if <(x position) < (My x)> then\n        switch costume to (red v)\n    else\n        switch costume to (red2 v)\n    end\n    if <touching color (#ff0000)?> then\n        if <(level) = [1.11]> then\n            go to x: (178) y: (160)\n        else\n            go to x: (220) y: (50)\n        end\n    end\n    if <touching color (#0084ff)?> then\n        go to x: (-170) y: (0)\n    end\n    if <touching color (#ffc500)?> then\n        set [yv2 v] to [20]\n    end\nend\n\nbroadcast (reset v)\n\nforever\n    change [yv2 v] by (-1)\n    change y by (yv2)\n    Touch ground <(yv2) > [0]>\n    if <([x position v] of [player v]) > (x position)> then\n        Wall detection, movement, friction [0.5]\n    else\n        Wall detection, movement, friction [-0.5]\n    end\nend\n\nset [yv2 v] to [0]\nset [xv2 v] to [0]\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    if <(level) = [1.2]> then\n        show\n    end\n    if <(level) = [1.4]> then\n        hide\n    end\n    if <(level) = [1.7]> then\n        hide\n    end\n    if <(level) = [1.8]> then\n        show\n    end\n    if <(level) = [1.9]> then\n        hide\n    end\n    if <(level) = [1.11]> then\n        show\n    end\n    if <(level) = [1.12]> then\n        hide\n    end\nend\n\nhide\n\ngo to x: (178) y: (160)\n\nshow\n\n@Start Button\n\nwhen this sprite clicked\nbroadcast (Start v)\n\nwhen I receive [end of intro v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\n@Lobby Background\n\nwhen flag clicked\nhide\n\nif <(☁ Pets Unlocked) = [1]> then\n\nswitch costume to (costume3 v)\n\nwhen I receive [start v]\nhide\n\nwhen I receive [free rewards v]\nswitch costume to (costume3 v)\n\ngo [forward v] (1) layers\n\nwhen I receive [end of intro v]\nshow\n\n@Color2\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (Color v)\n\nwhen I receive [end of intro v]\nshow\n\nwhen I receive [start v]\nhide\n\n@player2\n\nwhen flag clicked\nforever\n    switch costume to (Color)\nend\n\nbroadcast (reset v)\n\nchange [lives v] by (-1)\n\ngo to x: (-200) y: (170)\n\nbroadcast (up v)\n\nbroadcast (reset v)\n\nchange [lives v] by (-1)\n\nset size to (10) %\n\nchange [ghost v] effect by (10)\n\ndefine Touch ground <something above>\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [end of intro v]\ngo to [front v] layer\nshow\n\n@Color\n\nwhen flag clicked\nshow\nforever\n    go to (mouse-pointer v)\nend\n\nwhen I receive [color v]\nif <touching color (#c60909)?> then\n    set [color v] to [Red]\nend\nif <touching color (#ef7e05)?> then\n    set [color v] to [Orange]\nend\nif <touching color (#f5f556)?> then\n    set [color v] to [Yellow]\nend\nif <touching color (#088029)?> then\n    set [color v] to [Green]\nend\nif <touching color (#0b2ad2)?> then\n    set [color v] to [Blue]\nend\nif <touching color (#35fedd)?> then\n    set [color v] to [Cyan]\nend\nif <touching color (#6b2bbc)?> then\n    set [color v] to [Purple]\nend\nif <touching color (#ed53bb)?> then\n    set [color v] to [Pink]\nend\nif <touching color (#d7e1f0)?> then\n    set [color v] to [White]\nend\nif <touching color (#724718)?> then\n    set [color v] to [Brown]\nend\nif <touching color (#3d464d)?> then\n    set [color v] to [Black]\nend\nif <touching color (#4fef37)?> then\n    set [color v] to [Lime]\nend\n\nwhen I receive [start v]\nhide\n\n@Vent\n\n@Details\n\nwhen flag clicked\ngo to [front v] layer\nset [level v] to [1.0]\nforever\n    switch costume to (level)\n    go to (level v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\ngo [backward v] (1) layers\n\n@Background\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Stars\n\nwhen I receive [start v]\ngo [backward v] (1) layers\nshow\ngo to x: (-796) y: (296)\nswitch costume to (pick random (1) to (3))\nforever\n    repeat until <(x position) = [600]>\n        change x by (1)\n        wait (.04) seconds\n    end\n    go to x: (-796) y: (296)\n    next costume\nend\n\nrepeat until <(x position) = [1074]>\n    change x by (1)\n    wait (.04) seconds\nend\ngo to x: (-796) y: (296)\nrepeat until <(x position) = [1074]>\n    change x by (1)\n    wait (.04) seconds\nend\ngo to x: (-796) y: (296)\nrepeat until <(x position) = [1074]>\n    change x by (1)\n    wait (.04) seconds\nend\n\nchange [color v] effect by (1)\n\nwhen flag clicked\nhide\n\n@Boi\n\nwhen flag clicked\nhide\nforever\n    go to x: ((Player X) - (19)) y: ((Player Y) - (10))\nend\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nswitch costume to (Color)\nif <(Pet) = [Ya]> then\n    show\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (Color)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (join (Color) [2])\n    end\nend\n\nwhen I receive [ded v]\n\nstop [other scripts in sprite v]\n\nwhen I receive [reset v]\n\nwait (2) seconds\n\n@Slug\n\nwhen flag clicked\nhide\nforever\n    go to x: ((Player X) - (19)) y: ((Player Y) - (10))\nend\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nif <(Pet) = [SLUG]> then\n    show\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (brainslug boi v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (brainslug boi2 v)\n    end\nend\n\n@Doge\n\nwhen flag clicked\nhide\nforever\n    go to x: ((Player X) - (19)) y: ((Player Y) - (10))\nend\n\ngo to x: (-193) y: (-112)\n\nwhen I receive [start v]\nif <(Pet) = [DOGE]> then\n    show\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (doge v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (doge2 v)\n    end\nend\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\n@Detector\n\nwhen flag clicked\nset [loved faved v] to [0]\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\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 (1) seconds\nbroadcast (FREE REWARDS v)\nset [loved faved v] to [Yes]\nset [☁ pets unlocked v] to [1]\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            set [loved__ v] to [1]\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            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nwait (.1) seconds\nif <(☁ Pets Unlocked) = [1]> then\n    set [loved faved v] to [Yes]\nend\n\n@No button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nbroadcast (Hide pet v)\nset [pet v] to [0]\n\nwhen I receive [end of intro v]\ngo to [front v] layer\nshow\n\n@Boi Button\n\nwhen flag clicked\nswitch costume to (boi v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nhide\n\nwhen I receive [free rewards v]\n\nswitch costume to (boi v)\n\nwhen this sprite clicked\nbroadcast (BOI v)\nif <(costume [name v]) = [BOI]> then\n    set [pet v] to [Ya]\nend\n\nwhen I receive [end of intro v]\ngo to [front v] layer\nshow\n\n@Doge button\n\nwhen flag clicked\nswitch costume to (boi v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nhide\n\nwhen I receive [free rewards v]\n\nswitch costume to (boi v)\n\nwhen this sprite clicked\nbroadcast (DOGE v)\nif <(costume [name v]) = [BOI]> then\n    set [pet v] to [DOGE]\nend\n\nwhen I receive [end of intro v]\ngo to [front v] layer\nshow\n\n@Slug Button\n\nwhen flag clicked\nswitch costume to (boi v)\nhide\n\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nhide\n\nwhen I receive [free rewards v]\n\nswitch costume to (boi v)\n\nwhen this sprite clicked\nbroadcast (SLUG v)\nif <(costume [name v]) = [BOI]> then\n    set [pet v] to [SLUG]\nend\n\nwhen I receive [end of intro v]\ngo to [front v] layer\nshow\n\n@Boi Preview\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nforever\n    hide\nend\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Color)\n    if <(Pet) = [Ya]> then\n        show\n    end\n    if <not <(Pet) = [Ya]>> then\n        hide\n    end\nend\n\nset [pet v] to [0]\n\nwhen I receive [boi v]\n\n@Doge Preveiw\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nforever\n    hide\nend\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Color)\n    if <(Pet) = [DOGE]> then\n        go to [front v] layer\n        show\n    end\n    if <not <(Pet) = [DOGE]>> then\n        hide\n    end\nend\n\nset [pet v] to [0]\n\nwhen I receive [doge v]\n\n@Slug Preview\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nforever\n    hide\nend\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Color)\n    if <(Pet) = [SLUG]> then\n        go to [front v] layer\n        show\n    end\n    if <not <(Pet) = [SLUG]>> then\n        hide\n    end\nend\n\nset [pet v] to [0]\n\nwhen I receive [slug v]\n\n@ThumbNail\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [end of intro v]\nshow\n\n@Skip On Off\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\n\nshow\n\nbroadcast (Start v)\n\nwhen this sprite clicked\nif <(costume [number v]) = [2]> then\n    set [skip v] to [on]\nelse\n    set [skip v] to [off]\nend\n\n@Skip\n\nwhen this sprite clicked\nbroadcast (Skip v)\n\nwhen I receive [start v]\n\nshow\n\nwhen flag clicked\nhide\n\n@Doge2\n\nwhen flag clicked\nhide\nforever\n    go to x: (Player X) y: ((Player Y) + (25))\nend\n\ngo to x: (-193) y: (-112)\n\nwhen I receive [start v]\nif <(Pet) = [DOGE]> then\nend\n\nshow\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (doge v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (doge2 v)\n    end\nend\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\n@Dead Bodie\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Color)\nend\n\nwhen I receive [ded v]\nwait (.1) seconds\ngo to (player v)\nshow\nwait (1.5) seconds\nhide\n\nwhen I receive [ded v]\n\ngo to (player v)\nshow\nwait (1.5) seconds\nhide\n\nhide\n\n@Menu Hat\n\nwhen flag clicked\nforever\n\ngo to (player2 v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    switch costume to (Hat)\nend\n\nwhen flag clicked\nshow\n\nif <(Menu) = [open]> then\n\nforever\n\nwhen I receive [start v]\nhide\n\n@HATTSSS\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [hat v] to [No]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (Hat)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (join (Hat) [2])\n    end\nend\n\nset [hat v] to [StickGuy]\n\nwhen I receive [start v]\nswitch costume to (Hat)\nshow\nforever\n    go to (player v)\nend\n\n@No hat\n\nwhen this sprite clicked\nset [hat v] to [No]\n\nwhen flag clicked\nforever\n    if <not <(Menu) = [open]>> then\n        hide\n    end\nend\n\nwhen I receive [menu hat v]\nshow\n\nwhen I receive [menu color v]\nhide\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite1\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [No]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [end of intro v]\nshow\n\nwhen this sprite clicked\nset [hat v] to [Hat]\n\nwhen I receive [start v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Ballon]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Knife]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Mira secerity]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Top Hat]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Planty]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Beanie]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Crown]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite11\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Party]\n\nwhen I receive [end of intro v]\nshow\n\n@Birde\n\nwhen flag clicked\nhide\nforever\n    go to x: ((Player X) - (19)) y: ((Player Y) - (15))\nend\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nif <(Pet) = [MrBlue]> then\n    show\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (birde v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (birde2 v)\n    end\nend\n\n@Sprite12\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [Police]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [hat v] to [BrainSlug]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [pet v] to [MrBlue]\n\nwhen I receive [end of intro v]\nshow\n\n@Slug Preview2\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nforever\n    hide\nend\n\nwhen flag clicked\nset [pet v] to [0]\nhide\nforever\n    switch costume to (Color)\n    if <(Pet) = [MrBlue]> then\n        show\n    end\n    if <not <(Pet) = [MrBlue]>> then\n        hide\n    end\nend\n\ngo to [front v] layer\n\ngo [forward v] (1) layers\n\n@Astro\n\nwhen I receive [start v]\ngo to [front v] layer\nif <(Skin) = [Astro]> then\n    show\nend\nforever\n    go to [front v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (astronaut v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (astronaut2 v)\n    end\nend\n\nset [skin v] to [0]\n\n@Doc\n\nwhen I receive [start v]\ngo to [front v] layer\nif <(Skin) = [Doc]> then\n    show\nend\nforever\n    go to [front v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (doc v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (doc2 v)\n    end\nend\n\nset [skin v] to [0]\n\n@Police\n\nwhen I receive [start v]\ngo to [front v] layer\nif <(Skin) = [Police]> then\n    show\nend\nforever\n    go to [front v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (police v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (police2 v)\n    end\nend\n\nset [skin v] to [0]\n\n@Mira\n\nwhen I receive [start v]\ngo to [front v] layer\nif <(Skin) = [Mira]> then\n    show\nend\nforever\n    go to [front v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nset [skin v] to [0]\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (mira v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (mira2 v)\n    end\nend\n\n@Sprite16\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [skin v] to [Doc]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite17\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [skin v] to [Police]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite18\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [skin v] to [Mira]\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite15\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [skin v] to [Astro]\n\nwhen I receive [end of intro v]\nshow\n\n@Preveiw\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    switch costume to (Skin)\nend\n\nwhen I receive [end of intro v]\nshow\n\n@Sprite19\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [skin v] to [0]\n\nwhen I receive [end of intro v]\nshow\n\n@Birde2\n\nwhen flag clicked\nhide\nforever\n    go to x: ((Player X) - (19)) y: ((Player Y) - (15))\nend\n\ngo to x: (-193) y: (-112)\n\ngo to x: (-212) y: (-122)\n\ngo to (player v)\n\nwhen I receive [start v]\nif <(Pet) = [Frosty]> then\n    show\nend\n\nwhen flag clicked\nhide\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (frosty v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (frosty2 v)\n    end\nend\n\n@Slug Preview3\n\ngo to x: (-193) y: (-112)\ngo to (player v)\ngo to x: (-212) y: (-122)\n\nwhen I receive [start v]\nforever\n    hide\nend\n\nwhen flag clicked\nset [pet v] to [0]\nhide\nforever\n    if <(Pet) = [Frosty]> then\n        show\n    end\n    if <not <(Pet) = [Frosty]>> then\n        hide\n    end\nend\n\nswitch costume to (Color)\n\ngo to [front v] layer\n\ngo [forward v] (1) layers\n\n@Sprite20\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nset [pet v] to [Frosty]\n\ngo [forward v] (1) layers\n\nwhen I receive [end of intro v]\nshow\n\n@level2\n\nwhen flag clicked\n\nset [level v] to [1.0]\nforever\n    switch costume to (level)\nend\n\nset [level v] to [1.7]\n\nwhen I receive [skip v]\n\nchange [level v] by (.1)\n\nswitch costume to (level)\n\nnext costume\n\n@Intro\n\ndefine Smooth Glide to x: y: (x) (y) speed (speed) direction: (dir) size: (size)\nset rotation style [all around v]\npoint in direction (dir)\nrepeat until <<<(round (x position)) = (x)> and <(round (y position)) = (y)>> and <(round (size)) = (size)>>\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    change size by (((size) - (size)) / (speed))\nend\ngo to x: (x) y: (y)\n\ndefine size hacks (size) (costume)\nswitch costume to (size hack v)\nset size to (size) %\nswitch costume to (costume)\n\ndefine clones (id) (amount\(optional\))\nrepeat (amount\(optional\))\n    set [cloneid v] to (id)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\nset [cloneid v] to []\nclones [Background] [1]\nclones [Logo] [1]\n\ndefine Shockwave (size) (x) (y) color: (color)\nshow\nset [color v] effect to (color)\ngo to x: (x) y: (y)\nsize hacks (size) [Shockwave]\nset [\(shockwave\) v] to ((size) / (10))\nset [fisheye v] effect to (0)\nrepeat (50)\n    change [fisheye v] effect by (\(shockwave\))\n    change [\(shockwave\) v] by ((\(shockwave\)) / (4))\nend\nhide\n\ndefine simple beat to size 1: (size) (costume) size 2: (size2) direction: (dir) speed beat back: (spd)\nset rotation style [all around v]\npoint in direction (dir)\nsize hacks (size) (costume)\nSmooth grow (size2) ((size2) / (10))\nrepeat until <(round (direction)) = [90]>\n    turn left (((direction) - (90)) / (spd)) degrees\nend\n\ndefine Smooth grow (size) (speed)\nrepeat until <(round (size)) = (size)>\n    change size by (((size) - (size)) / (speed))\nend\nset size to (size) %\n\nwhen I start as a clone\nif <(cloneid) = [Logo]> then\n    show\n    go to [front v] layer\n    switch costume to (logo v)\n    go to x: (260) y: (180)\n    Smooth Glide to x: y: [0] [0] speed [10] direction: [130] size: [100]\n    wait (.2) seconds\n    clones [Shockwave] [1]\n    simple beat to size 1: [300] [Logo] size 2: [100] direction: [80] speed beat back: [5]\n    wait (1) seconds\n    Smooth Glide to x: y: [-50] [0] speed [5] direction: [70] size: [100]\n    simple beat to size 1: [100] [Logo] size 2: [100] direction: [70] speed beat back: [5]\n    clones [words part] [1]\nend\n\nwhen I start as a clone\nif <(cloneid) = [Background]> then\n    show\n    switch costume to (background v)\n    go to [back v] layer\n    go to x: (-400) y: (0)\n    Smooth Glide to x: y: [0] [0] speed [10] direction: [90] size: [100]\n    clones [Background2] [1]\nend\n\nwhen I start as a clone\nif <(cloneid) = [Shockwave]> then\n    go to [front v] layer\n    go [backward v] (3) layers\n    Shockwave [300] [0] [0] color: [120]\n    wait (.5) seconds\n    Shockwave [250] [0] [0] color: [120]\n    wait (1) seconds\n    Shockwave [500] [0] [0] color: [120]\nend\n\nwhen I start as a clone\nif <(cloneid) = [Background2]> then\n    show\n    switch costume to (background2 v)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (400) y: (0)\n    Smooth Glide to x: y: [0] [0] speed [10] direction: [90] size: [100]\n    wait (.2) seconds\n    Smooth Glide to x: y: [0] [-400] speed [10] direction: [90] size: [100]\nend\n\nwhen I start as a clone\nif <(cloneid) = [words part]> then\n    go to x: (-100) y: (0)\n    set size to (30) %\n    switch costume to (words part v)\n    go to [back v] layer\n    go [forward v] (1) layers\n    show\n    Smooth Glide to x: y: [55] [-20] speed [5] direction: [90] size: [250]\n    wait (1) seconds\n    clones [end] [1]\nend\n\nwhen I start as a clone\nif <(cloneid) = [end]> then\n    go to x: (0) y: (0)\n    show\n    set size to (1) %\n    switch costume to (end v)\n    go to [front v] layer\n    Frame size grow [100] speed [5]\n    wait (.5) seconds\n    broadcast (end of intro v)\nend\n\ndefine Frame size grow (to: size) speed (speed)\nrepeat until <(size) = (to: size)>\n    change size by (((to: size) - (size)) / (speed))\nend\nsize hacks (to: size) [end]\n\nwhen I receive [end of intro v]\ndelete this clone\n\nwhen I receive [end of intro v]\nswitch costume to (end v)\nset size to (100) %\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\npoint in direction (90)\nrepeat (10)\n    wait (0.01) seconds\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nplay sound [Bang! v] until done\n\nwhen I receive [end of intro v]\nrepeat (10)\n    change volume by (-10)\nend\nstop all sounds\n\nwhen flag clicked\nset volume to (100) %\n\n