diff options
author | Daniel Harding <corrnondacqb@yahoo.com> | 2015-08-18 10:32:50 -0500 |
---|---|---|
committer | Daniel Harding <corrnondacqb@yahoo.com> | 2015-08-18 10:32:50 -0500 |
commit | 1a987d1e1ab96ca9553d4253c72858057332a03a (patch) | |
tree | d101dc054e112304f327a5359532ee972e8da81a /macros.asm | |
parent | fb0a630c062cbb18026abe2792339dea27fac4d8 (diff) | |
parent | 696cffd3ae51d23855a7eb1fc5b62e69198dbf36 (diff) |
Merge pull request #114 from YamaArashi/master
Commented SGB palettes and other things
Diffstat (limited to 'macros.asm')
-rw-r--r-- | macros.asm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -104,6 +104,14 @@ dwCoord: MACRO dw wTileMap + 20 * \2 + \1 ENDM +;\1 = r +;\2 = X +;\3 = Y +;\4 = map width +overworldMapCoord: MACRO + ld \1, wOverworldMap + ((\2) + 3) + (((\3) + 3) * ((\4) + (3 * 2))) + ENDM + ;\1 = Map Width ;\2 = Rows above (Y-blocks) ;\3 = X movement (X-blocks) |