BgColor

Last Modified: 12/31/2020

Sets the backdrop color for the screen.

Arguments

NameTypeRequiredDescription
Palette Integer Yes This is the palette number which ranges between 0 and 3.
ColorIndex Integer Yes This is the color index of the palette. Valid values range between 0 and 15.

Example

Syntax: BgColor <Palette>, <ColorIndex>
    BgColor 0,1

Remarks

The backdrop is displayed where tile data is equal to 0 and sits behind all background planes.