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.
| 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. |