generic connection macros for 20x20 maps

from https://github.com/kanzure/pokecrystal-demo/commit/70c54a533cc9b452c5fcc6b8bb67a2559c830eeb