Platformer Deluxe (Knife Edition)

Instructions: ⭐+❤=Cool\n

@Stage\n\nwhen I receive [start game!! :-d v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (start v)\n\nwhen I receive [soundtest room v]\nset [soundtest room v] to [2]\nswitch backdrop to (soundtest room v)\nwait (2) seconds\nswitch backdrop to (soundtest room2 v)\n\nwhen I receive [go back to game1 v]\nif <(QSJ IWS IJW QW USH BQSHuwhquh) = [1]> then\n    repeat (15)\n        switch backdrop to (soundtest room3 v)\n        wait (0.05) seconds\n        switch backdrop to (soundtest room6 v)\n        wait (0.05) seconds\n        switch backdrop to (soundtest room5 v)\n        wait (0.05) seconds\n        switch backdrop to (soundtest room4 v)\n        wait (0.05) seconds\n    end\n    broadcast (BacktoGame2 v)\nelse\n    broadcast (BacktoGame2 v)\nend\n\nwhen I receive [nextlevel v]\nnext backdrop\n\nwhen I receive [backtogame2 v]\nset [soundtest room v] to [999]\nswitch backdrop to (level b v)\n\n@Green Slime\n\nwhen flag clicked\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [level v] to [1]\ngo to x: (-180) y: (-50)\nforever\n    Run physics [0.75] [0.9] [-0.9] [17]\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        if <not <<touching color (#4c86ff)?> or <touching color (#437de0)?>>> then\n            switch costume to (costume2 v)\n        else\n            switch costume to (costume1 v)\n        end\n    else\n        switch costume to (costume1 v)\n    end\nend\n\ndefine Run physics (speed) (friction) (gravity) (jump height)\nchange [yvel v] by (gravity)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xvel v] by (speed)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xvel v] by ((speed) * (-1))\nend\nset [xvel v] to ((Xvel) * (friction))\nchange x by (Xvel)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((Xvel) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [yvel v] to ((jump height) - (3.5))\n        if <[0] < (Xvel)> then\n            set [xvel v] to [-6]\n        else\n            set [xvel v] to [6]\n        end\n    else\n        set [xvel v] to [0]\n    end\nend\nchange y by (Yvel)\nif <touching (ground v)?> then\n    change y by ((Yvel) * (-1))\n    set [yvel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <touching (ground v)?> then\n        set [yvel v] to (jump height)\n    end\nend\nchange y by (1)\n\nwhen I receive [dead meat v]\ngo to x: (-225) y: (-21)\nstart sound [uuhhh v]\n\ndefine Touch Ground\n\nrepeat until <not <touching color (#00cc44)?>>\n    change y by (1)\n    set [speed y v] to [-2]\nend\n\nwhen flag clicked\n\nforever\n    if <<key (up arrow v) pressed?> and <<<touching color (#00cc44)?> or <touching color (#00cccc)?>> or <touching color (#666666)?>>> then\n        broadcast (jumpitey on trampoline! v)\n    end\nend\n\nwhen I receive [jumpitey on trampoline! v]\n\nset [speed y v] to [20]\n\nwhen I receive [start game!! :-d v]\ngo to x: (-150) y: (-21)\n\ndefine Walk (direction) (speed)\n\nwhen I receive [nextlevel v]\ngo to x: (-350) y: (-21)\nif <(Level number) = [10]> then\n    if <(Soundtest Room) = [1]> then\n        if <not <(Soundtest Room) = [2]>> then\n            broadcast (Soundtest Room v)\n            stop all sounds\n            hide\n            wait (100) seconds\n            broadcast (Go back to game1 v)\n        end\n    end\nend\nif <(Soundtest Room) = [999]> then\n    if <(Level number) = [15]> then\n        broadcast (Secret Level v)\n    end\nend\n\nwhen flag clicked\nrepeat until <(Soundtest Room) = [2]>\n    play sound [Dance Celebrate v] until done\nend\nstop all sounds\n\ndefine Walk (direction) (speed)\n\nchange x by (speed)\n\nwhen flag clicked\nforever\n    if <touching color (#b2b2b2)?> then\n        broadcast (dead meat v)\n    end\n    if <touching (bottom v)?> then\n        broadcast (dead meat v)\n    end\n    if <touching color (#ff0000)?> then\n        broadcast (dead meat v)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [backtogame2 v]\n\nset [soundtest room v] to [0]\nif <(pick random (1) to (100)) = [62]> then\n    set [soundtest room v] to [1]\nend\nset [boss health v] to [25]\ngo to [front v] layer\ngo to x: (0) y: (-21)\nset [speed y v] to [0]\nforever\n    change [speed y v] by (-2)\n    change y by (speed y)\n    if <<<touching color (#00cc44)?> or <touching color (#00cccc)?>> or <<touching color (#ffff00)?> or <touching color (#666666)?>>> then\n        set [speed y v] to [0]\n        change y by (2)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed y v] by (-0.7)\n        change x by (-5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed y v] by (0.7)\n        change x by (5)\n    end\nend\n\nrepeat until <(Soundtest Room) = [2]>\n    play sound [Dance Celebrate v] until done\nend\nshow\nset [soundtest room v] to [0]\nif <(pick random (1) to (1)) = [1]> then\n    set [soundtest room v] to [1]\nend\nset [boss health v] to [25]\ngo to [front v] layer\ngo to x: (0) y: (-21)\nset [speed y v] to [0]\nforever\n    change [speed y v] by (-2)\n    change y by (speed y)\n    if <<<touching color (#00cc44)?> or <touching color (#00cccc)?>> or <<touching color (#ffff00)?> or <touching color (#666666)?>>> then\n        set [speed y v] to [0]\n        change y by (2)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed y v] by (-0.7)\n        change x by (-5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [speed y v] by (0.7)\n        change x by (5)\n    end\n    if <touching (edge v)?> then\n        broadcast (nextlevel v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (edge v)?> then\n        broadcast (nextlevel v)\n    end\nend\n\nwhen flag clicked\nforever\n    set size to (60) %\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (mini green dude2 v)\nset size to (60) %\nset [ghost v] effect to (50)\nrepeat (30)\n    change [ghost v] effect by (2)\n    change size by (-4)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (mini green dude v)\n\nwhen this sprite clicked\nsay [uh its not a clicker game lol] for (1.5) seconds\n\n@Ground\n\nbroadcast (Secret Level v)\n\nwhen I receive [secret level v]\nswitch costume to (qhyq hyqshqwsuw hsa si v)\nset [soundtest room v] to [2]\nforever\n    play sound ["Glitch Mess" v] until done\nend\n\nwhen I receive [backtogame2 v]\nswitch costume to (level b v)\nshow\nforever\n    set [level number v] to (costume [number v])\nend\n\nwhen I receive [soundtest room v]\nhide\n\nwhen flag clicked\nshow\nforever\n    set [level number v] to (costume [number v])\nend\n\nwhen I receive [nextlevel v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (start v)\n\nwhen I receive [start game!! :-d v]\nnext costume\n\n@Edge\n\nwhen flag clicked\nshow\ngo to x: (210) y: (-11)\nset [ghost v] effect to (250)\n\nwhen I receive [secret level v]\nhide\n\n@start\n\nwhen flag clicked\nhide\n\nset [ghost v] effect to (0)\nshow\ngo to x: (-2) y: (57)\n\nwhen this sprite clicked\nbroadcast (start game!! :-d v)\n\nwhen I receive [start game!! :-d v]\n\nrepeat (200)\n    change [ghost v] effect by (15)\n    wait (0.025) seconds\nend\n\nbroadcast (Secret Level v)\n\n@blood\n\nwhen flag clicked\nshow\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (-1) y: (4)\nrepeat (10)\n    go to [front v] layer\nend\n\nwhen I receive [dead meat v]\n\nrepeat (10)\n    change [ghost v] effect by (-15)\n    wait (0.05) seconds\nend\nwait (0.025) seconds\nrepeat (10)\n    change [ghost v] effect by (15)\n    wait (0.05) seconds\nend\n\nhide\n\n@Bottom\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Sprite1\n\nwhen flag clicked\nset [bad song1 v] to [0]\ngo to x: (-8) y: (5)\nhide\n\nwhen this sprite clicked\nset [bad song2 v] to [0]\nswitch costume to (costume2 v)\nset [bad song1 v] to [1]\nif <not <(QSJ IWS IJW QW USH BQSHuwhquh) = [1]>> then\n    repeat until <(Bad Song1) = [0]>\n        start sound [Classical Piano v]\n        wait (4.5) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [soundtest room v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [music playing 2 v]\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [backtogame2 v]\nset [bad song1 v] to [0]\ngo to x: (-8) y: (5)\nhide\n\n@Sprite2\n\nwhen flag clicked\nset [bad song2 v] to [0]\ngo to x: (-8) y: (5)\nhide\n\nwhen this sprite clicked\nset [bad song1 v] to [0]\nswitch costume to (costume2 v)\nset [bad song2 v] to [1]\nif <not <(QSJ IWS IJW QW USH BQSHuwhquh) = [1]>> then\n    repeat until <(Bad Song2) = [0]>\n        start sound [Dance Around v]\n        wait (3) seconds\n    end\n    switch costume to (costume1 v)\nend\n\nwhen I receive [soundtest room v]\nswitch costume to (costume1 v)\n\nwhen I receive [music playing 2 v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [music playing 3 v]\nhide\n\nwhen I receive [backtogame2 v]\nhide\nset [bad song2 v] to [0]\ngo to x: (-8) y: (5)\nhide\n\n@Sprite3\n\nwhen flag clicked\nset [qh wsy hqwy sqw gsqwushqwy s v] to [0]\ngo to x: (-4) y: (1)\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [soundtest room v]\nset [qsj iws ijw qw ush bqshuwhquh v] to [0]\nswitch costume to (costume1 v)\n\nwhen this sprite clicked\nset [bad song1 v] to [0]\nswitch costume to (costume2 v)\nset [bad song2 v] to [0]\nrepeat until <(Soundtest Room) = [3]>\n    set [qsj iws ijw qw ush bqshuwhquh v] to [1]\n    start sound ["Glitch Mess" v]\n    wait (10) seconds\nend\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [music playing 3 v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [music playing 2 v]\nhide\n\nwhen I receive [music playing 1 v]\nhide\n\nwhen I receive [backtogame2 v]\nset [qsj iws ijw qw ush bqshuwhquh v] to [0]\nhide\n\n@Sprite4\n\nwhen flag clicked\nset [music playing v] to [1]\ngo to x: (182) y: (9)\nhide\n\nwhen I receive [soundtest room v]\nshow\n\nwhen this sprite clicked\nif <(Music Playing) = [1]> then\n    broadcast (Music Playing 2 v)\n    set [music playing v] to [2]\nelse\n    if <(Music Playing) = [2]> then\n        broadcast (Music Playing 3 v)\n        set [music playing v] to [3]\n    else\n        if <(Music Playing) = [3]> then\n            broadcast (Music Playing 1 v)\n            set [music playing v] to [1]\n        end\n    end\nend\n\nwhen I receive [backtogame2 v]\nset [music playing v] to [1]\ngo to x: (182) y: (9)\nhide\n\n@QyqtQRy MqQ\n\nwhen flag clicked\ngo to x: (2) y: (-21)\nset size to (125) %\nhide\n\nwhen I receive [secret level v]\nforever\n    show\n    wait (0.05) seconds\n    hide\n    wait (0.05) seconds\nend\n\n@stupid title\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (82.5)\nforever\n    repeat (30)\n        turn right (0.5) degrees\n    end\n    repeat (30)\n        turn left (0.5) degrees\n    end\nend\n\nwhen flag clicked\nset size to (100) %\nforever\n    repeat (60)\n        change size by (.25)\n    end\n    repeat (60)\n        change size by (-0.25)\n    end\nend\n\n@Ground2\n\nbroadcast (Secret Level v)\n\nwhen I receive [secret level v]\nswitch costume to (qhyq hyqshqwsuw hsa si v)\nset [soundtest room v] to [2]\nforever\n    play sound ["Glitch Mess" v] until done\nend\n\nwhen I receive [backtogame2 v]\nswitch costume to (level b v)\nshow\nforever\n    set [level number v] to (costume [number v])\nend\n\nwhen I receive [soundtest room v]\nhide\n\nwhen flag clicked\nshow\nforever\n    set [level number v] to (costume [number v])\nend\n\nwhen I receive [nextlevel v]\nnext costume\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (start v)\n\nwhen I receive [start game!! :-d v]\nnext costume\n\n