DQBunpackPal
FUNCTION

Prototype

DECLARE FUNCTION DQBunpackPal (PacketID AS INTEGER, Pal AS STRING)

Parameters

PacketID - Packet ID number

Pal - 768 characters string to hold decoded palette data

Returns

An INTEGER value holding the unpacking results: > 0 Operation successful > 1 Datafile not yet opened > 2 Unknown packet ID number > 3 Bad password or unknown data

Description

Decodes the palette identified by specified packet ID number from the currently opened datafile, and stores it into the Pal string. You can then use it with all the other DQB palette handling functions.

Notes:

none

Example

See DQBopenDataFile