Wings of Fire "platformer" (April Fools) 2.0

Instructions: WELCOME TO THE APRIL FOOLS PLATFORMER  2.0\nAs you may know, the other fools platformer got deleted, so here's a new one XD (same content, but cooler)\nI know this is late, but I didn't know what to do. so I made this!\nHope u enjoy!\n(new fool powers listed in-game)\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@lvl\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nhide\nplay sound [Wings of Fire - The Dragonets Are Coming - Arena Edition v] until done\n\nwhen I receive [go to 2 v]\nswitch backdrop to (backdrop3 v)\nswitch costume to (costume2 v)\n\nwhen I receive [go to 3 v]\nswitch backdrop to (backdrop4 v)\nswitch costume to (costume3 v)\n\nwhen I receive [go to 5 v]\nswitch backdrop to (backdrop5 v)\nswitch costume to (costume4 v)\n\nwhen I receive [boom v]\nswitch costume to (costume5 v)\n\nwhen I receive [kabooooom v]\nhide\n\nwhen I receive [kabooooom v]\nwait (1) seconds\nplay sound [BIG EXPLOSION SOUND EFFECTS \(Mp3 Pack Download\) v] until done\n\n@player\n\nwhen [5 v] key pressed\nset [dragon: v] to [Starflight]\nset size to (250) %\nswitch costume to (costume51 v)\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or >>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume51 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume5 v)\n    end\nend\n\nwhen flag clicked\nset [dragon: v] to [Clay]\nset size to (250) %\nswitch costume to (costume11 v)\nrepeat until \n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume11 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen [2 v] key pressed\nset [dragon: v] to [Tsunami]\nset size to (250) %\nswitch costume to (costume21 v)\nrepeat until <<key (1 v) pressed?> or >\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume21 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume2 v)\n    end\n    if <<key (z v) pressed?> and <(dragon:) = [Tsunami]>> then\n        repeat (36)\n            turn right (10) degrees\n        end\n    end\nend\n\nwhen [1 v] key pressed\nset [dragon: v] to [Clay]\nset size to (250) %\nswitch costume to (costume11 v)\nrepeat until \n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume11 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume1 v)\n    end\n    if <key (z v) pressed?> then\n        broadcast (fish v)\n    end\nend\n\nwhen [3 v] key pressed\nset [dragon: v] to [Sunny]\nset size to (250) %\nswitch costume to (costume31 v)\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or >>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume31 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume3 v)\n    end\n    if <key (z v) pressed?> then\n        set size to (500) %\n    else\n        set size to (250) %\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (-208) y: (-111)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    platform gravity: [-1] jump height: [15] side movement speed: [3] friction: [.7] slope: [8]\nend\n\ndefine platform gravity: (gravity) jump height: (jump height) side movement speed: (side movement speed) friction: (friction) slope: (slope)\nchange [y velocity v] by (gravity)\nchange y by (y velocity)\nif <touching (lvl v)?> then\n    repeat until <not <touching (lvl v)?>>\n        change y by ((([abs v] of (y velocity) ) / (y velocity)) * (-1))\n    end\n    set [y velocity v] to [0]\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y velocity v] to (jump height)\n    end\nend\nset [x velocity v] to (((x velocity) + ((<<key (left arrow v) pressed?> or <key (a v) pressed?>> * ((side movement speed) * (-1))) + (<<key (right arrow v) pressed?> or <key (d v) pressed?>> * (side movement speed)))) * (friction))\nchange x by (x velocity)\nset [slope v] to [0]\nrepeat until <<(slope) = ((slope) * (-1))> or <not <touching (lvl v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (lvl v)?> then\n    change y by (slope)\n    repeat until <not <touching (lvl v)?>>\n        change x by ((([abs v] of (x velocity) ) / (x velocity)) * (-1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen [4 v] key pressed\nset [dragon: v] to [Glory]\nset size to (250) %\nswitch costume to (costume41 v)\nrepeat until \n    if <<key (z v) pressed?> and <(dragon:) = [Glory]>> then\n        repeat (20)\n            change [color v] effect by (20)\n        end\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume41 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume4 v)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-181) y: (-111)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-181) y: (-111)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-181) y: (-111)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-181) y: (-111)\n\nwhen I receive [kabooooom v]\nhide\n\n@Fish\n\nwhen flag clicked\nshow\nswitch backdrop to (backdrop1 v)\n\nwhen this sprite clicked\nhide\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [kabooooom v]\nhide\n\n@Fish2\n\nwhen flag clicked\nhide\n\nwhen I receive [fish v]\nnext costume\ngo to (random position v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        hide\n    end\nend\n\nforever\nend\n\nif <(dragon:) = [Clay]> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\n\nwhen I receive [kabooooom v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Go to 2 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nhide\nwait (1) seconds\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Go to 3 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nhide\nwait (1) seconds\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Go to 5 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [kabooooom v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\nforever\n    if <touching (player v)?> then\n        hide\n        broadcast (boom v)\n        play sound [pop v] until done\n        stop [this script v]\n    end\nend\n\n@ \n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [boom v]\nswitch costume to (button3-a v)\nshow\n\nwhen I receive [error v]\nswitch costume to (button3-a2 v)\nwait (1.5) seconds\nswitch costume to (button3-a v)\n\nwhen I receive [kabooooom v]\nhide\n\n@ 2\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [boom v]\nswitch costume to (button3-b v)\nshow\n\nwhen this sprite clicked\nset size to (200) %\nbroadcast (error v)\nrepeat (10)\n    next costume\nend\nhide\n\nwait (1) seconds\n\nwhen I receive [kabooooom v]\nhide\n\nwait (0.00000000001) seconds\n\nwhen this sprite clicked\nstart sound [windows_xp_error v]\n\n@ 3\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [boom v]\nswitch costume to (button3-b v)\nshow\n\nwhen this sprite clicked\nbroadcast (KABOOOOOM v)\n\nwhen I receive [kabooooom v]\nhide\n\n@giphy (1)\n\nwhen flag clicked\nhide\n\nwhen I receive [kabooooom v]\nstop all sounds\nhide variable [dragon: v]\nswitch costume to (giphy \(1\) v)\nshow\nwait (1) seconds\nrepeat (134)\n    next costume\nend\n\n