History A platformer v1.1

Instructions: Hi! welcome to History platformer! v1.1, but if this hit 15 views and 1 like i will add more!!\n\nupdate log:\n8/9/2021 beta- official release\n9/9/2021 v.1.1- added volcanoes and chasing dinosaurs

@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\nwhen flag clicked\nforever\n    play sound [African-Coffin-Dance-Astronomia\(PaglaSongs\) v] until done\nend\n\nwhen [s v] key pressed\nchange [level v] by (1)\n\n@player\n\nwhen flag clicked\ngo to x: (-210) y: (0)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    set [px v] to (x position)\n    set [py v] to (y position)\n    broadcast (Tick v)\n    if <<(y position) < [-200]> or <touching (template2 v)?>> then\n        go to x: (-210) y: (0)\n    end\n    if <(x position) > [229]> then\n        go to x: (-210) y: (0)\n        change [level v] by (1)\n    end\nend\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [xv v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [xv v] by (1)\nend\nchange x by (xv)\nset [xv v] to ((xv) * (0.9))\nif <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n    change y by (1)\n    if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n        change y by (1)\n        if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n            change y by (1)\n            if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n                change y by (1)\n                if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n                    change y by (1)\n                    if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n                        change x by ((xv) * (-1))\n                        change y by (-5)\n                        if <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                            if <(xv) > [0]> then\n                                set [xv v] to [-10]\n                            else\n                                set [xv v] to [10]\n                            end\n                            set [yv v] to [15]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (yv)\nif <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    if <<<touching color (#29ff00)?> or <touching color (#690000)?>> or <<touching color (#ff0000)?> or <touching color (#000000)?>>> then\n        set [yv v] to [13]\n    end\nend\nchange y by (1)\n\nwhen I receive [tick v]\nTick\n\nwhen flag clicked\nwait (1) seconds\n\nif <[] = [1]> then\nif <[] = [2]> then\n\nwhen [1 v] key pressed\nforever\n\ngo to x: (-191) y: (-185)\n\n@Template\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [8]> then\n        switch costume to (template v)\n        show\n    else\n        if <(Level) = [9]> then\n            switch costume to (template2 v)\n            show\n        else\n            if <(Level) = [10]> then\n                show\n                repeat (5)\n                    switch costume to (template4 v)\n                    wait (0.1) seconds\n                    repeat (7)\n                        next costume\n                        wait (0.1) seconds\n                    end\n                end\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (px) y: ((py) + (111))\nend\n\n@Template2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        switch costume to (1 v)\n        show\n    else\n        if <(Level) = [3]> then\n            switch costume to (2 v)\n            show\n        else\n            if <(Level) = [4]> then\n                switch costume to (3 v)\n                show\n            else\n                if <(Level) = [5]> then\n                    show\n                    switch costume to (4 v)\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nwait (1) seconds\nhide\n\n