Wings of Fire Game Protect Queen Glory! A platformer

Instructions: Arrow keys to move.\nPress s to skip\nPress space to restart\nBlue-Water (Which is bad)\nPink-Mushroom (Bouncy)\nWhite-Wind (Blows you to the right)\nGoal: Protect Queen Glory by catching a NightWing Assasin.\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/

@Stage\n\nwhen flag clicked\nset [ghost v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    play sound [Tobu - Candyland \[NCS Release\] v] until done\nend\n\n@Glory\n\nwhen flag clicked\nshow\nclear graphic effects\nset rotation style [left-right v]\nset size to (60) %\ngo to x: (141) y: (-35)\nswitch backdrop to (queens room v)\nset [ghost v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nset [ghost v] effect to (0)\n\nwhen backdrop switches to [queens room v]\nrepeat until <not <(backdrop [number v]) = [1]>>\n    switch costume to (rainwing front walking v)\n    wait (0.2) seconds\n    switch costume to (rainwing front walking2 v)\n    wait (0.2) seconds\n    switch costume to (rainwing front walking3 v)\n    wait (0.2) seconds\n    switch costume to (rainwing front walking4 v)\n    wait (0.2) seconds\nend\n\nwhen I receive [message1 v]\nwait (2) seconds\nsay [Yes, Deathbringer. What is it.] for (3) seconds\nwait (5) seconds\nsay [DEATHBRINGER! Get ON with it already!] for (3) seconds\nwait (7) seconds\nrepeat (11)\n    change [color v] effect by (-5)\nend\nset [color v] effect to (-55)\nsay [One DOES NOT criticize one's Queen.] for (3) seconds\nrepeat (11)\n    change [color v] effect by (5)\nend\nset [color v] effect to (0)\nsay [I am very busy, if that's all you have to say, I suggest you leave.] for (5) seconds\nwait (6) seconds\nsay [Oh? And YOU heroically stoped him?] for (3) seconds\nwait (6) seconds\nsay [Don't worry, I can take him down myself.] for (3) seconds\nsay [How did that NightWing escape? I thought YOU were the most ANNOYING bodyguard.] for (7) seconds\nwait (8) seconds\nrepeat (12)\n    change [color v] effect by (10)\nend\nset [color v] effect to (120)\nsay [WHAT?! The RainWings are in DANGER!] for (4) seconds\nrepeat (12)\n    change [color v] effect by (-10)\nend\nset [color v] effect to (0)\nsay [Guards! Go to the RainWing Village. Catch the assasin. Warn the dragons!] for (6) seconds\nbroadcast (GO Guards v)\nwait (7) seconds\nsay [*Ahem, why don't  you go with them?] for (3) seconds\nwait (3) seconds\nsay [Oh great, as you wish.] for (2) seconds\nbroadcast (Start v)\nhide\n\nwhen backdrop switches to [end v]\nshow\nswitch costume to (rainwing side walking sprite2 v)\nset size to (45) %\ngo to x: (139) y: (-97)\npoint in direction (90)\nwait (4) seconds\nsay [Yes, indeed.] for (2) seconds\nwait (7) seconds\nsay [Prisoner, you will be punished for attempted murder.] for (5) seconds\nwait (4) seconds\nsay [Oh? Well YOU are very fit to be my prisoner.] for (4) seconds\nwait (3) seconds\nsay [You came just in time, Tsunami.] for (3) seconds\nsay [This RainWing guard saved me from a murderous ungrateful NightWing.] for (5) seconds\nwait (2) seconds\nsay [Of course, I could've saved myself, but reward this brave RainWing and put it on the "Brave List".] for (7) seconds\nwait (7) seconds\nsay [Wonderful! It is now our time to leave. Good luck!] for (4) seconds\nbroadcast (Game Over v)\nhide\nswitch backdrop to (end2 v)\n\nwhen I receive [start v]\nhide\n\n@Deathbringer\n\nwhen flag clicked\ngo to [front v] layer\nclear graphic effects\nhide\nset size to (65) %\nset rotation style [left-right v]\npoint in direction (-90)\nset [ghost v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nset [ghost v] effect to (0)\nswitch costume to (nightwing side walking sprite v)\nshow\ngo to x: (-277) y: (-64)\nrepeat (12)\n    wait (0.15) seconds\n    move (-10) steps\n    switch costume to (nightwing side walking sprite2 v)\n    wait (0.15) seconds\n    move (-10) steps\n    switch costume to (nightwing side walking sprite v)\nend\nbroadcast (message1 v)\nsay [Your majesty.] for (2) seconds\nwait (3) seconds\nsay [Queen Glory of the RainWings, the BEST Queen of ALL time! I have---] for (5) seconds\nwait (3) seconds\nsay [Don't you want to listen to a full speech of how WONDERFUL and CALM and PATIENT Queen you are?] for (7) seconds\nwait (8.5) seconds\nsay [Okay, okay. There was a male NightWing who attempted to murder you this morning.] for (6) seconds\nwait (3) seconds\nsay [Unfortunately, no. He still may be on his way to murder my WONDERFUL Queen!] for (6) seconds\nwait (10) seconds\nsay [Youch, but you are still my WONDERFUL Queen.] for (4) seconds\nsay [The assassin escaped into the RainWing village---] for (4) seconds\n\nwhen I receive [go guards v]\nswitch costume to (nightwing side walking sprite2 v)\nwait (4) seconds\nsay [Hmm... They are poorly trained.] for (3) seconds\nwait (3) seconds\nsay [I MUST NEVER leave my Queen.] for (3) seconds\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [end v]\nshow\nswitch costume to (nightwing side walking sprite v)\nset size to (50) %\ngo to x: (119) y: (-94)\npoint in direction (90)\ngo to [back v] layer\nsay [Ah! Wonderful job! The Queen is very pleased.] for (4) seconds\n\nwhen I receive [game over v]\nhide\n\n@RainWing Player\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\nwhen I receive [start v]\nswitch backdrop to (1 v)\nrepeat until <(backdrop [name v]) = [end]>\n    if <key (s v) pressed?> then\n        next backdrop\n        go to x: (-204) y: (-100)\n        point in direction (-90)\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen backdrop switches to [1 v]\nshow\nset [y v] to [0]\nset [yvel v] to [0]\nshow\nset size to (35) %\ngo to x: (-204) y: (-54)\nset [fail? v] to [0]\nforever\n    go to [front v] layer\n    set [x v] to (x position)\n    set [ypos v] to (y position)\n    change [yvel v] by (-0.7)\n    if <touching color (#fdfdfd)?> then\n        set [y v] to [18]\n        set [yvel v] to [2]\n    end\n    if <touching color (#ff94f3)?> then\n        set [yvel v] to [15]\n    end\n    if <<key (space v) pressed?> or <<(y position) < [-160]> or <touching color (#00ceff)?>>> then\n        set [fail? v] to [1]\n        set [y v] to [0]\n        set [yvel v] to [0]\n        set size to (35) %\n        point in direction (-90)\n        go to x: (-204) y: (-54)\n        set [x v] to (x position)\n        set [ypos v] to (y position)\n        set [fail? v] to [0]\n        show\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (-90)\n        change [y v] by (0.8)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (90)\n        change [y v] by (-0.8)\n    end\n    change x by (Y)\n    if <touching color (#1eb600)?> then\n        change y by (2)\n        if <touching color (#1eb600)?> then\n            change y by (2)\n            if <touching color (#1eb600)?> then\n                change y by (2)\n                if <touching color (#1eb600)?> then\n                    change y by (1)\n                    if <touching color (#1eb600)?> then\n                        change y by (1)\n                        if <touching color (#1eb600)?> then\n                            change x by ((Y) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Y) > [0]> then\n                                    set [y v] to [-8]\n                                else\n                                    set [y v] to [8]\n                                end\n                                set [yvel v] to [10]\n                            else\n                                set [y 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 (#1eb600)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#1eb600)?> 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 [y v] to ((Y) * (0.9))\n    if <(x position) > [234]> then\n        broadcast (next level v)\n        change [level v] by (1)\n        go to x: (-216) y: (-72)\n    end\nend\n\n@Guard 1\n\nwhen flag clicked\nset [color v] effect to (20)\nset rotation style [left-right v]\nset size to (50) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\nwhen I receive [go guards v]\ngo to x: (50) y: (-18)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nsay [Yes, your majesty.] for (2) seconds\nglide (1) secs to x: (50) y: (197)\nhide\n\n@desk\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (148) y: (-84)\nset [ghost v] effect to (100)\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nset [ghost v] effect to (0)\n\nwhen I receive [start v]\nhide\n\n@Guards2\n\nwhen flag clicked\nset [color v] effect to (80)\nset rotation style [left-right v]\nset size to (50) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\nwhen I receive [go guards v]\ngo to x: (-9) y: (-19)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nsay [*Yawn] for (2) seconds\nglide (1) secs to x: (-9) y: (197)\nhide\n\nwhen backdrop switches to [end v]\npoint in direction (90)\nset size to (35) %\nswitch costume to (rainwing side walking sprite v)\nset rotation style [all around v]\ngo to [front v] layer\ngo to x: (-221) y: (-108)\nwait (6) seconds\nshow\nglide (1) secs to x: (-82) y: (-108)\nwait (4) seconds\nsay [Ack! He KICKED me!] for (2) seconds\n\nwhen I receive [game over v]\nhide\n\n@Guards3\n\nwhen flag clicked\nset [color v] effect to (-69)\nset rotation style [left-right v]\nset size to (50) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\nwhen I receive [go guards v]\ngo to x: (-67) y: (-20)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nsay [Sure!] for (2) seconds\nglide (1) secs to x: (-67) y: (197)\nhide\n\n@Guards4\n\nwhen flag clicked\nset [color v] effect to (-15)\nset rotation style [left-right v]\nset size to (50) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\nwhen I receive [go guards v]\ngo to x: (-125) y: (-21)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (2) seconds\nglide (1) secs to x: (-125) y: (197)\nhide\n\nwhen backdrop switches to [end v]\npoint in direction (110)\nset size to (35) %\nswitch costume to (rainwing side walking sprite v)\nset rotation style [all around v]\ngo to x: (-152) y: (-108)\ngo to [front v] layer\nwait (6) seconds\nshow\nglide (1) secs to x: (-13) y: (-108)\nsay [Your majesty, where do put this prisoner?] for (4) seconds\n\nwhen I receive [game over v]\nhide\n\n@Guards5/bad\n\nwhen flag clicked\nset [color v] effect to (-80)\nset rotation style [left-right v]\nset size to (50) %\npoint in direction (-90)\nswitch costume to (rainwing side walking sprite2 v)\nhide\n\nwhen I receive [go guards v]\ngo to x: (-181) y: (-18)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nsay [I want a mango.] for (2) seconds\nglide (1) secs to x: (-181) y: (197)\nhide\n\nwhen backdrop switches to [end v]\nclear graphic effects\nset size to (40) %\ngo to x: (-189) y: (-124)\nforever\n    switch costume to (rainwing back walking sprite v)\n    wait (0.2) seconds\n    switch costume to (rainwing back walking sprite2 v)\n    wait (0.2) seconds\n    switch costume to (rainwing back walking sprite3 v)\n    wait (0.2) seconds\n    switch costume to (rainwing back walking sprite4 v)\n    wait (0.2) seconds\nend\n\nwhen backdrop switches to [end v]\nwait (6) seconds\nshow\nglide (1) secs to x: (-50) y: (-124)\nwait (11) seconds\nsay [*Roar! You were NEVER fit to be Queen!] for (4) seconds\nwait (15) seconds\nsay [*Snort] for (2) seconds\n\nwhen I receive [game over v]\nhide\n\n@Tsunami\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\n\nwhen backdrop switches to [end v]\nwait (26) seconds\nshow\npoint in direction (-90)\ngo to x: (-238) y: (-98)\nsay [What's the big commotion about?] for (3) seconds\nglide (1) secs to x: (-190) y: (-98)\nwait (16) seconds\nsay [Sure. Congratulations brave RainWing Guard. You're now the first RainWing on the "Brave List".] for (7) seconds\n\nwhen I receive [game over v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\n\n