Journey- A platformer

Instructions: This was a game on my old account @28benjaminrockhill. \n\nI added it to this account.

@Stage\n\nwhen I receive [next lv v]\nnext backdrop\n\nwhen flag clicked\nplay sound [cool v] until done\n\nset volume to (100) %\n\nwhen I receive [end intro v]\nswitch backdrop to (backdrop2 v)\nforever\n    play sound [Double Cherry Pass v] until done\nend\n\nbroadcast (end intro v)\n\n@Sprite2\n\nwhen flag clicked\nset rotation style [left-right v]\nreset\nforever\n    change [yv v] by (-.5)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [xv v] by (-.8)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [xv v] by (.8)\n    end\n    set [xv v] to ((xv) * (.9))\n    change x by (xv)\n    if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n        change y by (1)\n        if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n            change y by (1)\n            if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n                change y by (1)\n                if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n                    change y by (1)\n                    if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n                        change y by (1)\n                        if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n                            change y by (1)\n                            if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n                                change y by (-6)\n                                change x by ((xv) * (-1))\n                            end\n                            if <key (up arrow v) pressed?> then\n                                set [yv v] to [9]\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-10]\n                                else\n                                    set [xv v] to [10]\n                                end\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (yv)\n    if <<touching (platforms v)?> or <touching color (#007e12)?>> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-.5)\n    if <<<touching (platforms v)?> or <touching color (#007e12)?>> and <key (up arrow v) pressed?>> then\n        set [yv v] to [10]\n    end\n    change y by (.5)\n    set [player direction v] to (direction)\nend\n\nset [playery v] to (y position)\n\nchange [xv v] by (1)\n\ndefine reset\ngo to x: (-195) y: (-92)\n\nwhen flag clicked\nforever\n    if <(x position) > [240]> then\n        broadcast (next lv v)\n        reset\n    else\n        if <<<touching (danger v)?> or <<touching (enemy v)?> and <<(ebeny 1 costume) = [1]> or <(ebeny 1 costume) = [3]>>>> or <<touching (enemy2 v)?> and <<(enemy 2 costume) = [1]> or <(enemy 2 costume) = [3]>>>> then\n            reset\n        else\n        end\n    end\nend\n\nbroadcast (pick up v)\n\n\nend\n\nset y to (-91)\n\nshow\n\nchange [yv v] by (-1)\n\n\n\nif <(xv) > [0]> then\n    set [xv v] to [-10]\nelse\n    set [xv v] to [10]\nend\nset [yv v] to [12]\n\n@Sword\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to (sprite3 v)\n    if <(player direction) = [90]> then\n        switch costume to (knight2 v)\n    else\n        switch costume to (knight3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        point in direction (0)\n        go to [front v] layer\n        go [backward v] (3) layers\n        show\n        repeat (12)\n            if <(player direction) = [90]> then\n                turn right (30) degrees\n            end\n            if <(player direction) = [-90]> then\n                turn left (30) degrees\n            end\n        end\n        hide\n        wait (.1) seconds\n    end\nend\n\npoint in direction (player direction)\n\n\n\nturn right (30) degrees\n\n@platforms\n\nwhen I receive [next lv v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    make clouds\n    wait (pick random (2) to (5)) seconds\nend\n\ndefine make clouds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\nset [ghost v] effect to (50)\nset x to (200)\nset y to (pick random (1) to (100))\nif <[12] > (backdrop [number v])> then\n    show\nend\nrepeat until <(x position) < [-275]>\n    change x by (-3)\nend\ndelete this clone\n\n@Sprite3\n\nwhen flag clicked\nforever\n    go to (sprite2 v)\nend\n\nwait (.0000000001) seconds\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\nswitch costume to (costume12 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume13 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume14 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume15 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume16 v)\nwait until <key (c v) pressed?>\nhide\n\nwait (.25) seconds\n\nswitch costume to (costume16 v)\nwait until <key (c v) pressed?>\n\nwhen backdrop switches to [backdrop12 v]\nshow\nswitch costume to (costume17 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume19 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume18 v)\nwait until <key (c v) pressed?>\nhide\n\nwait (.25) seconds\nswitch costume to (costume15 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume16 v)\nwait until <key (c v) pressed?>\n\nwhen backdrop switches to [mountain4 v]\nshow\nswitch costume to (costume22 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume21 v)\n\nwait until <key (c v) pressed?>\nhide\n\nwhen I receive [end intro v]\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume2 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume3 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume4 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume5 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume6 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume7 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume8 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume9 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nswitch costume to (costume10 v)\nwait until <key (c v) pressed?>\nwait (.25) seconds\nhide\n\n@danger\n\nwhen I receive [next lv v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@enemy\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume1 v)\ngo to x: (96) y: (-19)\npoint in direction (-90)\nshow\nattack!?!?!?!\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\n\ndefine attack!?!?!?!\nrepeat until <(LEVEL) = [5]>\n    point in direction (-90)\n    glide (.5) secs to x: (70) y: (-19)\n    point in direction (90)\n    glide (.5) secs to x: (96) y: (-19)\nend\n\nwhen flag clicked\nforever\n    if <touching (sword v)?> then\n        broadcast (particles v)\n        wait (1) seconds\n    end\n    set [ebeny 1 costume v] to (costume [number v])\nend\n\nshow\n\nwhen I receive [particles v]\nhide\nswitch costume to (costume27 v)\nset [ebeny 1 costume v] to [2]\nrepeat (15)\n    create clone of (_myself_ v)\nend\n\nnext costume\n\nwhen I start as a clone\nshow\nswitch costume to (costume27 v)\nchange x by (pick random (5) to (35))\nchange y by (pick random (5) to (35))\nwait (.2) seconds\ndelete this clone\n\nset [enemy xv v] to [0]\nset [enemy yv v] to [0]\nchange [enemy xv v] by (-10)\nchange [direction v] by (1)\n\nchange x by (enemy xv)\nchange y by (enemy yv)\nif <not <<touching color (#007e12)?> or <touching color (#000000)?>>> then\n    change y by ((yv) * (-1))\nend\n\nwait (.5) seconds\nchange [enemy yv v] by (8)\n\nwait (.5) seconds\n\nchange [enemy yv v] by (-.5)\n\nchange [direction v] by (1)\n\nif <key (left arrow v) pressed?> then\nif <key (right arrow v) pressed?> then\n\npoint in direction (-90)\nchange [xv v] by (-.8)\n\npoint in direction (90)\nchange [xv v] by (.8)\n\nset [xv v] to [0]\nset [yv v] to [9]\nif <(xv) > [0]> then\n    set [xv v] to [-10]\nelse\n    set [xv v] to [10]\nend\n\nif <<<touching (platforms v)?> or <touching color (#007e12)?>> and <key (up arrow v) pressed?>> then\nchange y by (.5)\n\nset [yv v] to [10]\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [next lv v]\n\nwhen flag clicked\nhide variable [enemy xv v]\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume1 v)\ngo to x: (156) y: (-19)\npoint in direction (-90)\nshow\nattack!!?!?!2\n\ndefine attack!!?!?!2\nrepeat until <(LEVEL) = [6]>\n    point in direction (-90)\n    glide (1) secs to x: (70) y: (-19)\n    point in direction (90)\n    glide (1) secs to x: (156) y: (-19)\nend\n\nrepeat (40)\n    change x by (2)\n    point in direction (90)\nend\nrepeat (40)\n    change x by (-2)\n    point in direction (-90)\nend\n\nattack!?!?!?!\n\nrepeat (40)\n    change x by (-2)\n    point in direction (-90)\nend\n\nchange [level v] by (1)\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (costume2 v)\ngo to x: (-50) y: (-122)\npoint in direction (-90)\nshow\nattack 3\n\ndefine attack 3\nrepeat until <(LEVEL) = [8]>\n    point in direction (-90)\n    glide (.5) secs to x: (-95) y: (-122)\n    point in direction (90)\n    glide (.5) secs to x: (-50) y: (-122)\nend\n\nrepeat (20)\n    change x by (-2)\nend\nrepeat (20)\nend\nchange x by (2)\n\nattack!!?!?!2\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (costume2 v)\ngo to x: (125) y: (15)\npoint in direction (-90)\nshow\nattack 4\n\ndefine attack 4\nrepeat until <(LEVEL) = [9]>\n    point in direction (-90)\n    glide (.6) secs to x: (70) y: (15)\n    point in direction (90)\n    glide (.6) secs to x: (113) y: (15)\nend\n\nattack 3\n\nwhen backdrop switches to [backdrop11 v]\nswitch costume to (costume2 v)\ngo to x: (-50) y: (-124)\npoint in direction (-90)\nshow\n5th attack\n\nattack 4\n\ndefine 5th attack\nrepeat until <(LEVEL) = [11]>\n    point in direction (-90)\n    glide (.7) secs to x: (-87) y: (-124)\n    point in direction (90)\n    glide (.7) secs to x: (-50) y: (-124)\nend\n\nwhen backdrop switches to [backdrop12 v]\nswitch costume to (costume1 v)\ngo to x: (5) y: (-120)\npoint in direction (-90)\nshow\nattack 6\n\n5th attack\n\ndefine attack 6\nrepeat until <(LEVEL) = [13]>\n    point in direction (-90)\n    glide (.8) secs to x: (-60) y: (-119)\n    point in direction (90)\n    glide (.8) secs to x: (5) y: (-119)\nend\n\nwhen backdrop switches to [mountain2 v]\nswitch costume to (costume1 v)\ngo to x: (70) y: (-50)\npoint in direction (-90)\nshow\ncool attack\n\ndefine cool attack\nrepeat until <(LEVEL) = [14]>\n    point in direction (-90)\n    glide (.6) secs to x: (40) y: (-50)\n    point in direction (90)\n    glide (.6) secs to x: (70) y: (-50)\nend\n\n5th attack\n\nwhen backdrop switches to [mountain3 v]\nswitch costume to (costume1 v)\ngo to x: (-90) y: (90)\npoint in direction (-90)\nshow\nattack COOLLLLL\n\ncool attack\n\ndefine attack COOLLLLL\nrepeat until <(LEVEL) = [15]>\n    point in direction (-90)\n    glide (.6) secs to x: (-125) y: (90)\n    point in direction (90)\n    glide (.6) secs to x: (-90) y: (90)\nend\n\nglide (1) secs to x: (134) y: (-19)\n\npoint in direction (90)\n\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nswitch costume to (costume2 v)\ngo to x: (-50) y: (-122)\npoint in direction (-90)\nshow\nattack 3\n\nwhen backdrop switches to [mountain v]\nhide\n\nswitch costume to (costume1 v)\ngo to x: (5) y: (-120)\npoint in direction (-90)\nshow\nattack 6\n\n@enemy2\n\nwhen flag clicked\nset rotation style [left-right v]\nhide\n\ndefine attack!?!?!?!\nrepeat until <(LEVEL) = [6]>\n    point in direction (-90)\n    glide (.5) secs to x: (-100) y: (14)\n    point in direction (90)\n    glide (.5) secs to x: (-60) y: (14)\nend\nhide\n\nrepeat (20)\n    change x by (-2)\n    point in direction (-90)\nend\nrepeat (20)\n    change x by (2)\n    point in direction (90)\nend\n\nwhen flag clicked\nforever\n    if <touching (sword v)?> then\n        broadcast (particles 2 v)\n        wait (1) seconds\n    end\n    set [enemy 2 costume v] to (costume [number v])\nend\n\nshow\n\nwhen I receive [particles 2 v]\nhide\nswitch costume to (costume27 v)\nset [enemy 2 costume v] to [2]\nrepeat (15)\n    create clone of (_myself_ v)\nend\n\nnext costume\n\nwhen I start as a clone\nshow\nswitch costume to (costume27 v)\nchange x by (pick random (5) to (35))\nchange y by (pick random (5) to (35))\nwait (.2) seconds\ndelete this clone\n\nset [enemy xv v] to [0]\nset [enemy yv v] to [0]\nchange [enemy xv v] by (-10)\nchange [direction v] by (1)\n\nchange x by (enemy xv)\nchange y by (enemy yv)\nif <not <<touching color (#007e12)?> or <touching color (#000000)?>>> then\n    change y by ((yv) * (-1))\nend\n\nwait (.5) seconds\nchange [enemy yv v] by (8)\n\nwait (.5) seconds\n\nchange [enemy yv v] by (-.5)\n\nchange [direction v] by (1)\n\nif <key (left arrow v) pressed?> then\nif <key (right arrow v) pressed?> then\n\npoint in direction (-90)\nchange [xv v] by (-.8)\n\npoint in direction (90)\nchange [xv v] by (.8)\n\nset [xv v] to [0]\nset [yv v] to [9]\nif <(xv) > [0]> then\n    set [xv v] to [-10]\nelse\n    set [xv v] to [10]\nend\n\nif <<<touching (platforms v)?> or <touching color (#007e12)?>> and <key (up arrow v) pressed?>> then\nchange y by (.5)\n\nset [yv v] to [10]\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [next lv v]\nchange [level v] by (1)\n\nwhen flag clicked\nhide variable [enemy xv v]\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume1 v)\ngo to x: (-60) y: (14)\npoint in direction (-90)\nshow\nattack!?!?!?!\n\nattack!!?!?!2\n\ndefine attack!!?!?!2\n\nrepeat until <(LEVEL) = [6]>\n\nrepeat (40)\n    change x by (2)\n    point in direction (90)\nend\n\nrepeat (40)\n    change x by (-2)\n    point in direction (-90)\nend\n\nrepeat (40)\n    change x by (-2)\n    point in direction (-90)\nend\n\nchange [enemy 2 costume v] by (1)\n\ngo to x: (-60) y: (14)\n\n@Sprite5\n\nwhen I receive [end intro v]\nhide\n\nwhen flag clicked\nshow\n\n@intro\n\nwhen flag clicked\nswitch costume to (costume1 v)\npoint in direction (90)\nset size to (100) %\nshow\nrepeat (35)\n    repeat (5)\n        turn right (6) degrees\n    end\n    change size by (2)\nend\npoint in direction (90)\nbroadcast (cool entro v)\n\nwhen I receive [end intro v]\nhide\n\nwhen I receive [cool entro v]\nswitch costume to (costume2 v)\nrepeat (72)\n    next costume\nend\nbroadcast (end intro v)\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\nbroadcast (no car v)\n\n@Sprite6\n\nwhen I receive [end intro v]\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (3) layers\nhide\n\nwhen I receive [cool entro v]\nshow\n\n