Winter Platformer 3 v1.0

Instructions: Again, WASD, Arrow Keys, or mobile controls to move. This isn't my best project yet, but I still shared it :O There are commands that you can use such as:\n/kill\n/replacecolorred\n/skiplevel

@Stage\n\nwhen flag clicked\nCamera Shake Amount [50] Falloffs [.98]\n\ndefine Camera Shake Amount (amount) Falloffs (falloffs)\nset [y velocity v] to (amount)\nrepeat until <(round (Y Velocity)) < [0]>\n    set [camera shake x v] to ((Y Velocity) * (pick random (-1) to (1)))\n    set [camera shake y v] to ((Y Velocity) * (pick random (-1) to (1)))\n    set [y velocity v] to ((Y Velocity) * (falloffs))\nend\n\nwhen I receive [hide intro v]\nwait (.5) seconds\nset volume to (60) %\nstart sound [TheFatRat - Jackpot \(Jackpot EP Track 1\) v]\n\nwhen I receive [vol v]\nif <(volume) = [60]> then\n    set volume to (0) %\nend\n\nif <(volume) = [0]> then\n    set volume to (60) %\nend\n\n@Player\n\nwhen flag clicked\nset [fails: v] to [0]\nset [level number v] to [1]\nset size to (70) %\ngo to x: (-208) y: (-25)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    Platform Gravity: [-1] JumpHeight [13] Side Movement [3] Friction [.71] Slope [8]\nend\n\ndefine Platform Gravity: (gravity) JumpHeight (jumpheight) Side Movement (sidemovement) Friction (friction) Slope (slope)\nchange [y velocity v] by (gravity)\nchange y by (Y Velocity)\nif <touching (level v)?> then\n    repeat until <not <touching (level v)?>>\n        change y by (([abs v] of (Y Velocity) ) / ((Y Velocity) * (-1)))\n    end\n    set [y velocity v] to (<<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(([abs v] of (Y Velocity) ) / (Y Velocity)) = [-1]>> * (jumpheight))\nend\nset [x velocity v] to (((X Velocity) + ((<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> * ((sidemovement) * (-1))) + (<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> * (sidemovement)))) * (friction))\nchange x by (X Velocity)\nset [slope v] to [0]\nrepeat until <<(Slope) = ((slope) * (-1))> or <not <touching (level v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (level v)?> then\n    change y by (Slope)\n    repeat until <not <touching (level v)?>>\n        change x by (([abs v] of (X Velocity) ) / ((X Velocity) * (-1)))\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nclear graphic effects\ngo to [front v] layer\n\nwhen I receive [hide intro v]\nshow\ngo to x: (-208) y: (-25)\n\nwhen I start as a clone\nclear graphic effects\nset rotation style [all around v]\nrepeat (20)\n    turn right (5) degrees\n    change y by (8)\n    change [ghost v] effect by (7)\nend\npoint in direction (90)\ndelete this clone\n\nwhen I receive [hide intro v]\nforever\n    Bounce + Win Detection + Death Detection\nend\n\ndefine Bounce + Win Detection + Death Detection\nif <touching (bounce pads v)?> then\n    set [y velocity v] to [17]\n    start sound [Drum Boing v]\nend\nif <(x position) > [239]> then\n    go to x: (-205) y: (-75)\n    start sound [Collect v]\n    change [level number v] by (1)\nend\nif <<touching (saws v)?> or <<touching (obstacles v)?> or <(y position) < [-179]>>> then\n    create clone of (_myself_ v)\n    go to x: (-205) y: (-75)\n    start sound [Oof Sound v]\nend\n\nwhen I receive [kill v]\ncreate clone of (_myself_ v)\ngo to x: (-205) y: (-75)\nstart sound [Oof Sound v]\n\nwhen I receive [red v]\nswitch costume to (costume2 v)\n\nwhen I receive [cheat v]\ngo to x: (-205) y: (-75)\n\n@Level\n\nwhen flag clicked\nhide\n\n\n\nwhen I receive [hide intro v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nforever\n    switch costume to (Level Number)\nend\n\n@Snow\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to (random position v)\nshow\nset size to (pick random (50) to (80)) %\ngo to [back v] layer\ngo [backward v] (10000) layers\nset [ghost v] effect to (pick random (30) to (40))\nrepeat until <touching (_edge_ v)?>\n    change y by (-0.9)\nend\nforever\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\nwhen I receive [hide intro v]\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\n@Obstacles\n\nwhen flag clicked\nhide\n\nwhen I receive [hide intro v]\nshow\nforever\n    go to [back v] layer\n    go to x: (0) y: (0)\n    switch costume to (Level Number)\nend\n\n@Bounce Pads\n\nwhen flag clicked\nhide\n\n\n\nwhen I receive [hide intro v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    switch costume to (Level Number)\nend\n\n@Fingernail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\ngo to [front v] layer\nstop all sounds\nstop [all v]\n\n@Saws\n\nwhen flag clicked\nhide\n\nwhen I receive [hide intro v]\nhide\ngo to [back v] layer\nwait until <(Level Number) = [3]>\ngo to [back v] layer\nshow\ngo to x: (198) y: (-11)\nrepeat until <not <(Level Number) = [3]>>\n    turn right (3) degrees\nend\nwait until <(Level Number) = [4]>\nhide\nwait until <(Level Number) = [5]>\ngo to [back v] layer\nshow\ngo to x: (133) y: (16)\ncreate clone of (_myself_ v)\nrepeat until <not <(Level Number) = [5]>>\n    turn right (3) degrees\nend\nwait until <(Level Number) = [6]>\nhide\n\nwhen I start as a clone\ngo to x: (-10) y: (16)\nrepeat until <not <(Level Number) = [5]>>\n    turn right (3) degrees\nend\nwait until <(Level Number) = [6]>\ndelete this clone\n\nset [level number v] to [4]\n\nchange [level number v] by (1)\n\n@Text\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [hide intro v]\nhide\n\n@Intro2\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nshow\nstart sound [TheFatRat - Never Be Alone v]\nswitch costume to (icon v)\npoint in direction (90)\ngo to x: (0) y: (0)\nwait (.5) seconds\nglide (.4) secs to x: (-116) y: (0)\nrepeat (12)\n    next costume\n    wait (0.04) seconds\nend\nwait (2) seconds\nbroadcast (Hide Intro v) and wait\n\nwhen I start as a clone\nshow\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (backdrop v)\nwait (2) seconds\n\nwhen I receive [hide intro v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Commands\n\n