Parallax Mapping

Yeah, mathematical nightmare. Reminds me of that challenge where I tried to create a calculator that would calculate without using +,-,*,/,--,++. Luckily the challenge initiator forgot about %, which saved me some hassle, but it was an incredible pain. In the end I decided to just suck it, because it quite efficiently disables for loops.

Original thread: https://forums.rpgmakerweb.com/threads/parallax-mapping.88338/