diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-11-05 23:50:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 23:50:02 -0500 |
commit | 5db3bdd6551fad07066b669db1e44a6151aaa0b4 (patch) | |
tree | ab357b894c9457b3d1d38fd49300df34412168f8 /macros/gfx.asm | |
parent | ed03fc4f4a3287a01647e528abba27aac1937de0 (diff) | |
parent | 3de7ab601d465581accfe3ff171aeed2808c9647 (diff) |
Merge pull request #60 from Rangi42/master
Organize home and macro code
Diffstat (limited to 'macros/gfx.asm')
-rw-r--r-- | macros/gfx.asm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/macros/gfx.asm b/macros/gfx.asm index ad428eb0..98eabec4 100644 --- a/macros/gfx.asm +++ b/macros/gfx.asm @@ -16,18 +16,6 @@ color EQUS "+ PAL_COLOR_SIZE *" tiles EQUS "* LEN_2BPP_TILE" tile EQUS "+ LEN_2BPP_TILE *" -setpal: MACRO - ld a, \1 << 6 | \2 << 4 | \3 << 2 | \4 -ENDM - -setpalBGP: MACRO - setpal SHADE_BLACK, SHADE_DARK, SHADE_LIGHT, SHADE_WHITE -ENDM - -setpalOBP: MACRO - setpal SHADE_BLACK, SHADE_DARK, SHADE_WHITE, SHADE_WHITE -ENDM - dbsprite: MACRO ; x tile, y tile, x pixel, y pixel, vtile offset, attributes db (\2 * TILE_WIDTH) % $100 + \4, (\1 * TILE_WIDTH) % $100 + \3, \5, \6 |