summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md30
1 files changed, 16 insertions, 14 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 b36c868..183edc3 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
@@ -131,19 +131,21 @@ Now that all the \*_attributes.bin files are created, delete all the \*_palette_
Edit [gfx/tilesets.asm](../blob/master/gfx/tilesets.asm):
```diff
-+SECTION "Tileset Data 8", ROMX
-+
-+TilesetHoOhWordRoomMeta:
-+INCBIN "data/tilesets/ho_oh_word_room_metatiles.bin"
-+
-+TilesetKabutoWordRoomMeta:
-+INCBIN "data/tilesets/kabuto_word_room_metatiles.bin"
-+
-+TilesetOmanyteWordRoomMeta:
-+INCBIN "data/tilesets/omanyte_word_room_metatiles.bin"
-+
-+TilesetAerodactylWordRoomMeta:
-+INCBIN "data/tilesets/aerodactyl_word_room_metatiles.bin"
+ ...
+
+ SECTION "Tileset Data 8", ROMX
+
+ TilesetHoOhWordRoomMeta:
+ INCBIN "data/tilesets/ho_oh_word_room_metatiles.bin"
+
+ TilesetKabutoWordRoomMeta:
+ INCBIN "data/tilesets/kabuto_word_room_metatiles.bin"
+
+ TilesetOmanyteWordRoomMeta:
+ INCBIN "data/tilesets/omanyte_word_room_metatiles.bin"
+
+ TilesetAerodactylWordRoomMeta:
+ INCBIN "data/tilesets/aerodactyl_word_room_metatiles.bin"
+
+
+SECTION "Tileset Data 9", ROMX
@@ -264,7 +266,7 @@ Edit [gfx/tilesets.asm](../blob/master/gfx/tilesets.asm):
All we're doing here is `INCBIN`-ing each of the \*_attributes.bin files with an appropriate label. Of course, if you've added or removed any tilesets, they'll need their own labels and `INCBIN` statements. It doesn't matter which section any of them go in, or whether you create new sections.
-Also, notice that cave_attributes.bin is being used for the `cave` *and* `dark_cave` tilesets. That's because they already shared cave_metatiles.bin and cave_collision.asm. The only reason dark_cave_metatiles.bin and dark_cave_collision.asm exist is so utility programs can easily render tilesets and maps.
+Also, notice that cave_attributes.bin is being used for the `cave` *and* `dark_cave` tilesets. That's because they already shared cave_metatiles.bin and cave_collision.asm. The only reason dark_cave_metatiles.bin and dark_cave_collision.asm exist is so programs like Polished Map can easily render tilesets and maps.
## 3. Store attribute pointers in tileset metadata