Item creation destinations
ScriptItemDestination · 16-bit little-endian word, destination operand of
Create an item
The destination of a created item is normally a block index. Two special values place it in the party's hand or at the party's feet instead.1
The valid range of block and position values is not established.
typedef enum ScriptItemDestination {
SCRIPT_ITEM_DESTINATION_HELD_OR_CURRENT = 0xffff, /* Put the item in hand if possible, otherwise in the party's block. */
SCRIPT_ITEM_DESTINATION_CURRENT_BLOCK = 0xfffe /* Put the item in the party's block. */
} ScriptItemDestination;
Sources
Locations refer to the game executable reference.