Wings of Fire Game Escape the Summer Palace! A platformer

Instructions: Arrow keys to move.\nPress s to skip\nPress space to restart\nGreen-Dragonflame cactus seed pods (Which is bad)\nAqua green-Bouncy boubbles (Bouncy)\nDark blue-Current (Blows you to the right)\nGoal: Escape the Summer Palace for dear life.\nBonus: Do you want to have an adventure in Jade Mountain Acdemy? Click this link: https://scratch.mit.edu/projects/383314660\nHave you ever wondered what would happen if you wrote a letter to Moonwatcher? Click this link!!!\nhttps://scratch.mit.edu/projects/393783356\nHow about writing a letter to Peril? Click this:\nhttps://scratch.mit.edu/projects/395105696\nDo YOU think you'll survive in Scarlet's arena. Want to find out? Click here!\nhttps://scratch.mit.edu/projects/394148304/\nProtect Queen Glory! This is a platformer too!\nhttps://scratch.mit.edu/projects/396253125/

@Stage\n\nwhen flag clicked\nswitch backdrop to (summer palace on fire v)\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Spectre \[NCS Release\] v] until done\nend\n\nwhen I receive [summer burn v]\nswitch backdrop to (dragons on fire v) and wait\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\n\n@Text\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nshow\nclear graphic effects\nwait until <key (space v) pressed?>\nFade out\nwait until <key (space v) pressed?>\nswitch costume to (2 v)\nFade in\nbroadcast (summer burn v)\nwait until <key (space v) pressed?>\nFade out\nwait until <key (space v) pressed?>\nswitch costume to (3 v)\nFade in\nwait until <key (space v) pressed?>\nswitch costume to (4 v)\nwait (1) seconds\nswitch costume to (5 v)\nwait (1) seconds\nswitch costume to (6 v)\nwait (1) seconds\nswitch costume to (7 v)\nwait (1) seconds\nbroadcast (Start v)\nFade out\nhide\n\ndefine Fade in\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset [ghost v] effect to (0)\n\ndefine Fade out\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (100)\n\n@Player2\n\nwhen backdrop switches to [1 v]\nshow\nset [xvel v] to [0]\nset [yvel v] to [0]\nshow\ngo to x: (-204) y: (-70)\nset [dead? v] to [0]\nforever\n    go to [front v] layer\n    set [x pos v] to (x position)\n    set [ypos v] to (y position)\n    change [yvel v] by (-0.7)\n    if <touching color (#00a0ff)?> then\n        set [xvel v] to [18]\n        set [yvel v] to [2]\n    end\n    if <touching color (#00ffba)?> then\n        set [yvel v] to [14]\n    end\n    if <<key (space v) pressed?> or <<(y position) < [-160]> or <touching color (#15d33d)?>>> then\n        set [dead? v] to [1]\n        set [xvel v] to [0]\n        set [yvel v] to [0]\n        point in direction (-90)\n        go to x: (-204) y: (-70)\n        set [x pos v] to (x position)\n        set [ypos v] to (y position)\n        set [dead? v] to [0]\n        show\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (-90)\n        change [xvel v] by (0.8)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (90)\n        change [xvel v] by (-0.8)\n    end\n    change x by (Xvel)\n    if <touching color (#19d8ff)?> then\n        change y by (2)\n        if <touching color (#19d8ff)?> then\n            change y by (2)\n            if <touching color (#19d8ff)?> then\n                change y by (2)\n                if <touching color (#19d8ff)?> then\n                    change y by (1)\n                    if <touching color (#19d8ff)?> then\n                        change y by (1)\n                        if <touching color (#19d8ff)?> then\n                            change x by ((Xvel) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xvel) > [0]> then\n                                    set [xvel v] to [-8]\n                                else\n                                    set [xvel v] to [8]\n                                end\n                                set [yvel v] to [10]\n                            else\n                                set [xvel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yvel)\n    if <touching color (#19d8ff)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#19d8ff)?> then\n        if <key (up arrow v) pressed?> then\n            set [yvel v] to [10]\n        end\n    end\n    change y by (1)\n    set [xvel v] to ((Xvel) * (0.9))\n    if <(x position) > [234]> then\n        broadcast (next level v)\n        change [level v] by (1)\n        go to x: (-204) y: (-70)\n    end\nend\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen I receive [start v]\nswitch backdrop to (1 v)\nrepeat until <(backdrop [name v]) = [end2]>\n    if <key (s v) pressed?> then\n        next backdrop\n        go to x: (-204) y: (-70)\n        point in direction (-90)\n        wait (0.2) seconds\n    end\nend\n\nwhen flag clicked\nset [color v] effect to (-20)\nset rotation style [left-right v]\nset size to (35) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\n