YXPPCCCT Editor

The YXPPCCCT format is used by sprites in SMW for OAM tile properties (its graphics). The information is stored in binary and makes up a single byte.

You can use the following to to change or generate a desired YXPPCCCT value.

OAM Properties

Name Value
Vertical Flip Bit (Y) If set, flip tile vertically.
Horizontal Flip Bit (X) If set, flip tile horizontally.
Priority Bits (PP) The priority of sprite tiles, with some exceptions. See Below for more information.
Palette Bits (CCC) Which palette row the sprite tile uses.
Graphics Page (T) Which graphics page the tile is using. First graphics page is SP1 and SP2, second is SP3 and SP4.

YXPPCCCT Values

Type Value
Hex
Binary

Priority Bits Information
Lowest Priority (00)
  • Behind all tiles by default.
  • In front of Layer 3 tiles with priority set to Off.
Low Priority (01)
  • Behind all tiles, except Layer 3.
High Priority (10)
  • In front of Layer 1 and 2, except if tiles have their priority set to On.
  • In front of Layer 3 by default. If "Force Layer 3 Priority" setting is On tiles will appear:
    • Behind Layer 3 tiles that have their priority set to On.
    • In front of Layer 3 tiles that have their priority set to Off.
  • Other sprite tiles with their priority value set to 0 will still appear behind Layer 1 and 2.
Highest Priority (11)
  • In front of all tiles except if "Force Layer 3 Priority" setting is On, then tiles will follow the convention above.
tl;dr If Layer 3 has its priority forced it will appear above everything. Tiles on Layer 3 with their priority set to OFF will appear behind all things regardless if the priority is forced or not.