- 853
- Posts
- 4
- Years
- Seen Nov 9, 2023
What's the difference between Meta-tile behavior, and a behavior byte and what can you do with each?
Last edited:
@Meister_anon~Master_o f_None
I'm not sure, I've not seen the term "meta-tile" be used very often in binary ROM Hacking.
@Meister_anon~Master_o f_None
From what I've read in Lunos' post, I can confirm that a "meta-tile" is just a tile built up from four smaller 8x8 tiles. So what's referred to as a "block" in AdvanceMap. Since a block is a term that's basically only used in AdvanceMap, they probably decided to name it differently in the decomps.
What you say about the behavior of a meta-tile is correct. The behavior byte determines the behavior of the meta-tile.
Regarding the post you sent, the special will check whether the meta-tile the player is facing has a certain behavior byte attached to it. It's similar to how surf works in gen III games. That also checks whether the player is facing a meta-tile that has a certain behavior byte attached to it.
@Meister_anon~Master_o f_None
I know, I just dislike getting notifications. I see it when I see it.
Changing a behavior byte of a specific block is very easy, also in binary hacking. You could just use the block editor in AdvanceMap.
It's also possible to make a new custom behavior byte. I know JPAN's engine makes that possible, but JPAN's engine is pretty old. Since the CFRU pretty much copied all of JPAN's engine's useful fuctions, I assume it's also possible with that.
By the looks of it, Metatile Behavior is the decomps' naming convention for what in binary is called Behavior Byte.