Added new map renderer

This commit is contained in:
Maruno17
2022-06-03 14:11:13 -04:00
committed by infinitefusion
parent bbf4bc6e9b
commit 80dbda6d6b
8 changed files with 890 additions and 25 deletions
@@ -254,7 +254,7 @@ class PokemonMapFactory
posX = thisX + conn[1] - conn[4] + otherX
posY = thisY + conn[2] - conn[5] + otherY
return [posX, posY]
elsif conn[1] == otherMapID
elsif conn[3] == otherMapID
posX = thisX + conn[4] - conn[1] + otherX
posY = thisY + conn[5] - conn[2] + otherY
return [posX, posY]