Took a couple of tries to refine it. Credit to @-VTLC- for a lot of things used in the project. (Especially the sprites.)