Fez - Platformer version

Instructions: Use arrow keys to go through the maze of the fez!\n\nI left the tilesets inside in case you want to check them out / use them. Make sure to give credit to @JamesOuO and to @Scillog (me) if you use the tilesets, it's where I got them, except some of them.\n\nFront Paged! 3/14/2014 Pi Day

@Stage\n\nwhen flag clicked\nswitch backdrop to (level1 v)\nforever\n    wait (0.3) seconds\n    play sound [Disasterpeace - Adventure v] until done\n    wait (0.3) seconds\n    play sound [Disasterpeace - Home v] until done\nend\n\n@Player\n\nwhen flag clicked\nset [deaths: v] to [0]\nshow variable [deaths: v]\n\nwhen I receive [play v]\nswitch costume to (stand v)\nshow\ngo to x: (-225) y: (45)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\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 (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<<touching color (#72e600)?> or <touching color (#666666)?>> or <touching color (#cd7834)?>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        change [deaths: v] by (1)\n        go to x: (-227) y: (41)\n    end\n    if <(x position) > [222]> then\n        next backdrop\n        go to x: (-225) y: (45)\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <key (right arrow v) pressed?> then\n        wait (0.01) seconds\n        switch costume to (run1 v)\n        wait (0.01) seconds\n        switch costume to (run2 v)\n        wait (0.01) seconds\n        switch costume to (run3 v)\n        wait (0.01) seconds\n        switch costume to (run4 v)\n        wait (0.01) seconds\n        switch costume to (run5 v)\n        wait (0.01) seconds\n        switch costume to (run6 v)\n        wait (0.01) seconds\n        switch costume to (stand v)\n    end\n    if <key (left arrow v) pressed?> then\n        wait (0.01) seconds\n        switch costume to (run7 v)\n        wait (0.01) seconds\n        switch costume to (run8 v)\n        wait (0.01) seconds\n        switch costume to (run9 v)\n        wait (0.01) seconds\n        switch costume to (run10 v)\n        wait (0.01) seconds\n        switch costume to (run11 v)\n        wait (0.01) seconds\n        switch costume to (run12 v)\n        wait (0.01) seconds\n        switch costume to (stand2 v)\n    end\nend\n\n@Tilesets\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen I receive [play v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\nforever\n    go to x: (32) y: (-144)\nend\n\n@Sprite3\n\nwhen this sprite clicked\nbroadcast (Play v)\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nshow\nforever\n    go to [front v] layer\n    go to x: (11) y: (-164)\nend\n\nwhen I receive [play v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen [t v] key pressed\nif <(username) = [Scillog]> then\n    show\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n