new code by PeMapModder

Just added new things. But still not understanding the code xd