Night Trek - 2.5D Scrolling Platformer

Instructions: Instructions in-game.\nwow this is so short\nalso don't rush\nits not hard

@Stage\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\n@scrolling thingy\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nclear graphic effects\nforever\n    go to [front v] layer\nend\n\n@scrolling player\n\nwhen flag clicked\nwait (1) seconds\nbroadcast (reset v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change [x v] by (Xv)\n    scroll\n    if <touching (scrolling ground v)?> then\n        change [y v] by (1)\n        scroll\n        if <touching (scrolling ground v)?> then\n            change [y v] by (1)\n            scroll\n            if <touching (scrolling ground v)?> then\n                change [y v] by (1)\n                scroll\n                if <touching (scrolling ground v)?> then\n                    change [y v] by (1)\n                    scroll\n                    if <touching (scrolling ground v)?> then\n                        change [y v] by (1)\n                        scroll\n                        if <touching (scrolling ground v)?> then\n                            change [x v] by ((Xv) * (-1))\n                            change [y v] by (-5)\n                            scroll\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [13]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <(Yv) > [-15]> then\n        change [yv v] by (-1)\n    end\n    change [y v] by (Yv)\n    scroll\n    if <touching (scrolling ground v)?> then\n        change [y v] by ((Yv) * (-1))\n        set [yv v] to [0]\n        scroll\n    end\n    change [y v] by (-1)\n    scroll\n    if <touching (scrolling ground v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            set [yv v] to [15]\n        end\n    end\n    change [y v] by (1)\n    scroll\n    change [scroll x v] by (round (((x) - (scroll x)) / (10)))\n    change [scroll y v] by (round (((y) - (scroll y)) / (9)))\n    set [scrolling stuff x v] to ((scroll x) * (-1))\n    set [scrolling stuff y v] to ((scroll y) * (-1))\n    if <<touching (scrolling danger v)?> or <touching (scrolling acid v)?>> then\n        broadcast (reset v)\n    end\n    if <touching (scrolling portal v)?> then\n        broadcast (fini v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [reset v]\nset [xv v] to [0]\nset [yv v] to [0]\nset rotation style [left-right v]\nset [y v] to [-250]\nset [x v] to [-1150]\nset [scroll x v] to (x)\nset [scroll y v] to (y)\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nhide\ndelete this clone\n\ndefine scroll\ngo to x: ((x) - (scroll x)) y: ((y) - (scroll y))\n\n@scrolling ground\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [back v] layer\nset [scale v] to [1]\nrepeat (20)\n    change [brightness v] effect by (-2)\n    create clone of (_myself_ v)\n    set [scale v] to ((scale) * (1.04))\nend\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\nbroadcast (go v)\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\nwhen flag clicked\ndelete this clone\n\n@light\n\nwhen flag clicked\nshow\nclear graphic effects\nforever\n    go to [back v] layer\n    go to (scrolling player v)\n    set size to ((([sin v] of ((timer) * (125)) ) * (10)) + (100)) %\n    set [ghost v] effect to (([sin v] of ((timer) * (125)) ) * (10))\n    set [brightness v] effect to (([sin v] of ((timer) * (125)) ) * (10))\nend\n\n@light2\n\nwhen flag clicked\nshow\nclear graphic effects\nforever\n    go to [back v] layer\n    go to (scrolling player v)\n    set size to ((([sin v] of ((timer) * (125)) ) * (10)) + (100)) %\n    set [ghost v] effect to (([sin v] of ((timer) * (125)) ) * (10))\n    set [brightness v] effect to (([sin v] of ((timer) * (125)) ) * (10))\nend\n\n@scrolling deco layer 1\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [front v] layer\ngo [backward v] (1) layers\nset [scale v] to [1]\nrepeat (10)\n    change [brightness v] effect by (1)\n    create clone of (_myself_ v)\n    set [scale v] to ((scale) * (1.04))\nend\nset [brightness v] effect to (0)\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\ndelete this clone\n\nwhen I receive [go v]\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\n@scrolling deco layer 2\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [front v] layer\ngo [backward v] (1) layers\nset [scale v] to [1]\nrepeat (5)\n    change [brightness v] effect by (1)\n    create clone of (_myself_ v)\n    set [scale v] to ((scale) * (1.04))\nend\nset [brightness v] effect to (0)\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\ndelete this clone\n\nwhen I receive [go v]\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\n@scrolling deco layer 3\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [front v] layer\ngo [backward v] (1) layers\nset [scale v] to [1]\nrepeat (5)\n    change [brightness v] effect by (1)\n    create clone of (_myself_ v)\n    set [scale v] to ((scale) * (1.04))\nend\nset [brightness v] effect to (0)\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen I start as a clone\ngo to [back v] layer\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\ndelete this clone\n\nwhen I receive [go v]\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\n@scrolling danger\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to [front v] layer\ngo [backward v] (1) layers\nset [scale v] to [1]\nrepeat (5)\n    change [brightness v] effect by (-5)\n    create clone of (_myself_ v)\n    set [scale v] to ((scale) * (1.04))\nend\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nset size to ((scale) * (500)) %\nswitch costume to (costume1 v)\n\nwhen flag clicked\ndelete this clone\n\nwhen I receive [go v]\nforever\n    go to x: ((scale) * (scrolling stuff x)) y: ((scale) * (scrolling stuff y))\nend\n\n@scrolling danger light\n\nwhen flag clicked\nshow\nclear graphic effects\nforever\n    switch costume to (costume2 v)\n    set size to (500) %\n    switch costume to (costume1 v)\n    go to x: (scrolling stuff x) y: ((scrolling stuff y) + (([sin v] of ((timer) * (100)) ) * (10)))\n    go to [back v] layer\n    set [color v] effect to (([sin v] of ((timer) * (100)) ) * (10))\n    set [brightness v] effect to (([sin v] of ((timer) * (100)) ) * (10))\n    set [ghost v] effect to (([sin v] of ((timer) * (100)) ) * (10))\nend\n\n@scrolling acid\n\nwhen flag clicked\nshow\nclear graphic effects\nset [acid id v] to [-1]\nrepeat (2)\n    change [acid id v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    switch costume to (costume2 v)\n    set size to (500) %\n    switch costume to (costume1 v)\n    go to x: (scrolling stuff x) y: ((scrolling stuff y) + (([sin v] of ((timer) * (200)) ) * (10)))\n    go to [back v] layer\n    set [brightness v] effect to (([sin v] of ((timer) * (100)) ) * (10))\n    set [ghost v] effect to ((([sin v] of ((timer) * (100)) ) * (10)) + (50))\nend\n\nwhen I start as a clone\nclear graphic effects\nif <(acid ID) = [0]> then\n    forever\n        switch costume to (costume2 v)\n        set size to (500) %\n        switch costume to (costume1 v)\n        go to x: (scrolling stuff x) y: ((scrolling stuff y) + (([sin v] of ((timer) * (250)) ) * (-10)))\n        go to [back v] layer\n        set [brightness v] effect to (([sin v] of ((timer) * (100)) ) * (-10))\n        set [ghost v] effect to ((([sin v] of ((timer) * (100)) ) * (-10)) + (50))\n    end\nend\nif <(acid ID) = [1]> then\n    forever\n        switch costume to (costume2 v)\n        set size to (500) %\n        switch costume to (costume1 v)\n        go to x: (scrolling stuff x) y: ((scrolling stuff y) + (([sin v] of ((timer) * (300)) ) * (15)))\n        go to [back v] layer\n        set [brightness v] effect to (([sin v] of ((timer) * (100)) ) * (5))\n        set [ghost v] effect to ((([sin v] of ((timer) * (100)) ) * (20)) + (50))\n    end\nend\n\n@scrolling portal\n\nwhen flag clicked\nshow\nclear graphic effects\nforever\n    switch costume to (costume2 v)\n    set size to (500) %\n    switch costume to (costume1 v)\n    go to x: (scrolling stuff x) y: (scrolling stuff y)\nend\n\n@fini\n\nwhen flag clicked\nhide\n\nwhen I receive [fini v]\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nset [brightness v] effect to (-100)\nset [pixelate v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [brightness v] effect by (5)\n    change [pixelate v] effect by (-5)\n    go to [front v] layer\nend\nbroadcast (hid thumbnail v)\nstop [all v]\n\n@words\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (1) layers\nclear graphic effects\nswitch costume to (costume1 v)\nshow\nrepeat (4)\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n        go to [front v] layer\n    end\n    next costume\n    repeat (20)\n        change [ghost v] effect by (-5)\n        go to [front v] layer\n    end\nend\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\n    go to [front v] layer\nend\nhide\n\n@nailthumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nclear graphic effects\nswitch costume to (costume1 v)\n\nwhen I receive [hid thumbnail v]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [go v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n