| Data |
Size |
Notes |
| Flags |
2 bytes (16 bits) |
Flags defined in blakston.khd,
detailed below. |
| Intensity |
1 byte (8 bits) |
Range from 0-255 in
intensity. Note that only the low-order byte is sent, so a value
of 256 will send a value of 0. |
| Color |
2 bytes (16 bits) |
Send in RGB format, with each
color having 5 bits each (1 bit extra). Bit format:
XRRRRRGGGGGBBBBB, where X represents the "negative" bit. |
| Constant |
Hex
value |
Description |
| LIGHT_LIGHTNING | 0x3DFF | A bluish white for lightning effects. |
| LIGHT_BLOOD | 0x3C00 | A deep (50%) red. |
| LIGHT_FIRE | 0x7F06 | A yellow-orange fire color |
| LIGHT_SPECTRAL | 0x0D21 | DGREEN with a bit more red. |
| LIGHT_NEWSGLOBE | 0x3DFF | Identical to LIGHT_LIGHTNING, but put here in case it needs to be changed later. |
| LIGHT_FOUNTAIN | 0x0C6C | A very dim white, with blue tint, primarily for the Tos Fountain. |