Farris Platformer - v1.3

Instructions: Farris - a story platformer - WASD or Arrows\nOfficial Series https://scratch.mit.edu/studios/31006699\n\nStory - Farris is the last person with color and needs to save the island. Or is he? Or is there something more to this?\nHIT THE GREEN FLAG TWICE!!!\n\n\n\nALL ADVERTISEMENT AND SPAM WILL BE DELETED! THANK YOU!\n\n\n\n\n\n\n\n\n\n\n\n\nWhy are you still scrolling?\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nJust stop ok lol\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ni said stop\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nHeart and Star then comment "f a r r i s" to let me know!

@Stage\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nstop [other scripts in sprite v]\nstop all sounds\nswitch backdrop to (end 1 v)\nwait (2.5) seconds\nswitch backdrop to (end 2 v)\nwait (2.5) seconds\nswitch backdrop to (end 3 v)\nwait (2.5) seconds\nswitch backdrop to (end 4 v)\nwait (3.25) seconds\nswitch backdrop to (end 5 v)\n\nwhen flag clicked\nset volume to (30) %\nforever\n    play sound [NDT 1 v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide\ngo to x: (-219) y: (-86)\nset size to (30) %\npoint in direction (90)\nforever\n    if <not <<<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> or <<key (a v) pressed?> or <key (d v) pressed?>>>> then\n        switch costume to (player 1 v)\n        wait (.2) seconds\n        switch costume to (player 2 v)\n        wait (.2) seconds\n        switch costume to (player 3 v)\n        wait (.2) seconds\n        switch costume to (player 4 v)\n        wait (.2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [yv v] to [-10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [13]\n        end\n    end\n    if <[228] < (x position)> then\n        set [xv v] to [0]\n        set [xv v] to [0]\n        go to x: (-219) y: (-86)\n        point in direction (90)\n        change [level v] by (1)\n    end\n    if <<touching (damage v)?> or <touching (damage2 v)?>> then\n        repeat (5)\n            change [ghost v] effect by (20)\n        end\n        start sound [ouch v]\n        set [xv v] to [0]\n        set [xv v] to [0]\n        set [ghost v] effect to (0)\n        go to x: (-219) y: (-86)\n    end\n    if <(Level) = [14]> then\n        change [level v] by (1)\n        broadcast (END  v)\n    end\n    change y by (1)\n    hide variable [yv v]\n    hide variable [xv v]\nend\n\nwhen I receive [end  v]\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (-213) y: (-77)\nforever\n    if <<<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> or <<key (a v) pressed?> or <key (d v) pressed?>>> then\n        wait (0.0085) seconds\n        switch costume to (run 1 v)\n        wait (0.0085) seconds\n        switch costume to (run 2 v)\n        wait (0.0085) seconds\n        switch costume to (run 3 v)\n        wait (0.0085) seconds\n        switch costume to (run 4 v)\n        wait (0.0085) seconds\n        switch costume to (run 5 v)\n        wait (0.0085) seconds\n        switch costume to (run 6 v)\n    end\nend\n\nwhen I receive [start v]\nwait (0.000001) seconds\ngo to x: (-213) y: (-77)\n\nwhen flag clicked\nwait (0.4) seconds\ngo to [front v] layer\n\n@Level\n\nwhen flag clicked\nhide\nset [level v] to [2]\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nhide\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nwait (.25) seconds\ngo to [front v] layer\n\n@Damage\n\nhide\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nhide\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [front v] layer\n\n@Text\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nhide\n\nwhen flag clicked\nwait (1) seconds\ngo to [front v] layer\n\n@Thumbnail\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nswitch costume to (thumbnail upd v)\nwait (1) seconds\nrepeat (25)\n    change [ghost v] effect by (3)\nend\nswitch costume to (play screen v)\nrepeat (25)\n    change [ghost v] effect by (-3)\nend\n\nwhen flag clicked\nwait (0.00000001) seconds\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nwait (0.6) seconds\ngo to [front v] layer\n\nshow\n\ngo to [front v] layer\n\nclear graphic effects\n\n@Play\n\nwhen flag clicked\nswitch costume to (play v)\nset [ghost v] effect to (100)\ngo to x: (0) y: (-40)\nset size to (80) %\nhide\nwait (0.5) seconds\nwait (3) seconds\nshow\nrepeat (11)\n    change [ghost v] effect by (-9)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (85) %\n        switch costume to (play2 v)\n    else\n        set size to (80) %\n        switch costume to (play v)\n    end\n    if <mouse down?> then\n        set [ghost v] effect to (0)\n        wait (0.1) seconds\n        repeat (15)\n            change [ghost v] effect by (6.7)\n        end\n        broadcast (START v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start v]\nhide\ngo to x: (-250) y: (250)\n\nwhen flag clicked\nwait (0.7) seconds\ngo to [front v] layer\n\nshow\n\nset size to (10) %\n\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    set y to ((-40) + ((3) * ([cos v] of (((timer) - (5)) * (150)) )))\nend\n\n@dullness\n\nwhen flag clicked\nswitch costume to (dull v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [end  v]\nswitch costume to (dull2 v)\n\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait (0.9) seconds\ngo to [front v] layer\n\ngo to [front v] layer\n\n@deco\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nhide\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nwait (0.0001) seconds\ngo to [front v] layer\n\n@Damage2\n\nhide\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [end  v]\nhide\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nwait (0.8) seconds\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    end\nend\n\n@Testing\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nshow\n\nhide\n\n