Jurassic world Platformer

Instructions: You are the character, Owen. You have came to this island to save the dinosaurs.\nArrows keys to move.\nYou can climb trees or hills.\nClick on a dinosaur to save it.\nSave the dinosaurs, Carnivores and herbivores and then run to the ship before its too late!\n

@Stage\n\nwhen I receive [nextlevel v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@character\n\nwhen flag clicked\nswitch costume to (owen right v)\nset [x v] to [0]\ngo to x: (-185) y: (-7)\nset [y v] to [0]\nforever\n    if <touching color (#fb7722)?> then\n        set [x v] to [0]\n        go to x: (-185) y: (-7)\n        set [y v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (owen right v)\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (owen left v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#b66f3a)?> then\n        change y by (1)\n        if <touching color (#b66f3a)?> then\n            change y by (1)\n            if <touching color (#b66f3a)?> then\n                change y by (1)\n                if <touching color (#b66f3a)?> then\n                    change y by (1)\n                    if <touching color (#b66f3a)?> then\n                        change y by (1)\n                        if <touching color (#b66f3a)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching color (#aaaaaa)?> or <touching color (#b66f3a)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#aaaaaa)?> or <touching color (#b66f3a)?>> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#0c3356)?> then\n        set [y v] to [18]\n    end\nend\n\nwhen flag clicked\nset volume to (100) %\nhide variable [level v]\nset [level v] to [0]\nforever\n    if <touching (portal v)?> then\n        change [level v] by (1)\n        go to x: (-185) y: (-7)\n        broadcast (nextlevel v)\n    end\nend\n\nwhen flag clicked\nset size to (50) %\nforever\n    play sound [fallen kingdom v] until done\nend\n\nwhen I receive [danger dino v]\ngo to x: (-185) y: (-7)\n\nwhen backdrop switches to [backdrop7 v]\nglide (1) secs to x: (58) y: (-46)\n\nwhen I receive [escape v]\ngo to x: (28) y: (157)\n\nwhen backdrop switches to [backdrop10 v]\nchange volume by (-30)\n\nwhen backdrop switches to [backdrop11 v]\nchange volume by (-30)\n\nwhen flag clicked\nwait until <touching (boat v)?>\nplay sound [Triumph v] until done\n\n@portal\n\nwhen flag clicked\nshow\nforever\n    go to x: (226) y: (-12)\n    if <(Level) = [10]> then\n        hide\n    end\nend\n\nwhen I receive [dinosaur found! v]\nshow\n\nwhen I receive [nextlevel v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\nwait (1) seconds\nshow\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen I receive [escape v]\ngo to x: (226) y: (-12)\nshow\n\nwhen backdrop switches to [backdrop8 v]\nforever\n    wait (1) seconds\n    show\nend\n\n@Advice\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [nextlevel v]\nnext costume\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nshow\n\n@dinosars\n\nwhen flag clicked\nhide variable [goals v]\nset [goals v] to [0]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\nswitch costume to (1 v)\ngo to x: (8) y: (-20)\n\nwhen this sprite clicked\nstart sound [Collect v]\nbroadcast (Dinosaur Found! v)\nchange [goals v] by (1)\n\nwhen I receive [dinosaur found! v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (pteranodon v)\nset size to (60) %\nshow\ngo to x: (-137) y: (87)\nrepeat (2)\n    glide (0.5) secs to x: (140) y: (86)\n    glide (1) secs to x: (-144) y: (50)\nend\n\nwhen backdrop switches to [backdrop5 v]\nstart sound [Grunt v]\nshow\nswitch costume to (dilophosaurus v)\ngo to x: (68) y: (-77)\nwait (1) seconds\ngo to x: (68) y: (-77)\nforever\n    wait until <touching (character v)?>\n    broadcast (danger dino v)\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-182) y: (-58)\nwait (1) seconds\nswitch costume to (baryonyx v)\nshow\nrepeat (2)\n    go to x: (-182) y: (-58)\n    glide (0.2) secs to x: (-65) y: (-58)\n    glide (1) secs to x: (-169) y: (-56)\nend\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (carnotaurus v)\nstart sound [carnotaurus v]\nset size to (100) %\ngo to x: (87) y: (-61)\nshow\nrepeat (10)\n    wait (0.2) seconds\n    go to x: (87) y: (-61)\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nforever\n    hide\nend\n\n@Lava 2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\nswitch costume to (1 v)\nwait (5) seconds\nshow\nwait (1) seconds\nswitch costume to (2 v)\nwait (1) seconds\nswitch costume to (3 v)\nwait (1) seconds\nswitch costume to (4 v)\nwait (1) seconds\nswitch costume to (5 v)\nwait (1) seconds\nswitch costume to (6 v)\n\nwhen backdrop switches to [backdrop8 v]\nforever\n    hide\n    wait (1) seconds\nend\n\n@escape baryonyx\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (0) y: (0)\nshow\n\nwhen this sprite clicked\nchange [goals v] by (1)\nbroadcast (escape v)\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@water\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop10 v]\nstart sound [Ocean Wave v]\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nforever\n    wait until <touching (character v)?>\n    start sound [Splash v]\n    broadcast (danger dino v)\nend\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (costume2 v)\n\n@Boat\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop13 v]\ngo to x: (37) y: (16)\nshow\nstart sound [Toy Honk v]\nwait (0.5) seconds\nstart sound [Toy Honk v]\nbroadcast (the end v)\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [the end v]\ngo to [front v] layer\nshow\nwait (10) seconds\nstop [all v]\n\n