diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-12-30 23:39:38 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-12-30 23:39:38 -0500 |
commit | 92433e2f42ae1d9fc84b3254bc4920d3e4209d9c (patch) | |
tree | e6cd46a951d75c752e947b0802eb90f6ad313076 | |
parent | 6ee6a26577a7c92c624dd48adf89d5ce37554f39 (diff) |
gfx/tilesets.asm
-rw-r--r-- | Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md | 30 |
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 |