YXPCCCTT format

From SMWiki

Jump to: navigation, search

The YXPCCCTT format (not to be confused with the YXPPCCCT format) is used to store layer tilemap properites. The information is stored in binary and makes up a single byte.

[edit] Format

76543210
YXPCCCTT

X  : X flip
Y  : Y flip
P  : Priority 
CCC: Palette 
TT : Bits 9 and 8 of tile number

[edit] VRAM (Layer 3)

Layer 3 uses the YXPCCCTT format for it's tile properties. In the VRAM, each layer 3 tile is stored in two byte words, one byte containing the tile number and the other the tile properties (YXPCCCTT format, as above).

This article/section is a stub. You can help the SMWiki by adding content to it.
Personal tools