summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-04 00:44:57 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-04 00:44:57 -0400
commit3cea2d86db8db855b6c8dcf00425d11b5caa3fc8 (patch)
tree31595d4fa7e7e540b8f06e1234858e8294d68f94
parent56e5cdb806cec89d4a8e74803e541653e359ab92 (diff)
Another example
-rw-r--r--Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
index d451269..374e445 100644
--- a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
+++ b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
@@ -42,6 +42,8 @@ As described in [the `PRIORITY` color tutorial](Allow-map-tiles-to-appear-above-
- **Bit 6 ($40):** Y flip. Set this bit to flip the tile vertically.
- **Bit 7 ($80):** Priority. Set this bit to make the tile appear above any sprites (although white pixels will be transparent).
+For example, the attribute byte $A9 = $80 + $20 + $08 + $01. It has the priority bit, X flip bit, and tile bank bit set, and its color is 1 (`RED`).
+
Like the \*_metatiles.bin files, these are going to be binary data, and Polished Map doesn't (yet) support editing them. So we're going to generate them by combining the \*_palette_map.asm and \*_metatiles.bin files.
Save this as **palmap2attr.py** in the same directory as main.asm: