summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-02-13 12:51:14 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-02-13 12:51:14 -0500
commit367bf83fb64cf4ac75d5ba353b9b9cccafe7d110 (patch)
tree0dc098c655b574b8c6e39d1ad0864d5c4c7b6bae
parent558fd5d1b11d7334d08b1d45e75ec800a270aff2 (diff)
Spacing
-rw-r--r--Triple-layer-blocks.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/Triple-layer-blocks.md b/Triple-layer-blocks.md
index 05201cf..c6b0640 100644
--- a/Triple-layer-blocks.md
+++ b/Triple-layer-blocks.md
@@ -95,5 +95,12 @@ This is slightly different from the binary technique. The topmost third layer co
The problem is, [porymap](https://github.com/huderlem/porymap/) doesn't support any layer types besides the default ones: "Normal - Middle/Top", "Covered - Bottom/Middle", and "Split - Bottom/Top". (Their correspondence to the cases in the `DrawMetatile` code should be apparent.) Possible workarounds:
- Keep an eye on [this issue](https://github.com/huderlem/porymap/issues/147) to see if porymap adds support for custom layer types.
-- [Build your own](https://github.com/huderlem/porymap/blob/master/INSTALL.md) copy of porymap, but edit [src/ui/tileseteditor.cpp](https://github.com/huderlem/porymap/blob/master/src/ui/tileseteditor.cpp) to support triple-layer blocks. After the line `this->ui->comboBox_layerType->addItem("Split - Bottom/Top", 2);`, just add another line `this->ui->comboBox_layerType->addItem("Triple - Bottom/Middle/Top", 3);`.
+- [Build your own](https://github.com/huderlem/porymap/blob/master/INSTALL.md) copy of porymap, but edit [src/ui/tileseteditor.cpp](https://github.com/huderlem/porymap/blob/master/src/ui/tileseteditor.cpp) to support triple-layer blocks. After the line:
+
+ this->ui->comboBox_layerType->addItem("Split - Bottom/Top", 2);
+
+ just add another line:
+
+ this->ui->comboBox_layerType->addItem("Triple - Bottom/Middle/Top", 3);
+
- Hex-edit the metatile_attributes.bin files to use layer type 3. This is cumbersome compared to using porymap, but it's not a complex format. Every two bytes correspond to a block: the first byte is its behavior value, the second byte is its layer type but shifted to the first nybble. So Normal is $00, Covered is $10, and Split is $20. Just find the pair of bytes for your triple-layer block (the first one, not the burner one) and change its layer type byte to $30.