Skip to content

Addprize

Mark a Caravan prize medal as available via its prize id.

Syntax

|addprize,prizeid|

Parameters

prizeid: int

The prize id to mark as available. This must be a valid prize id or an exception will be thrown. Since the prize arrays are hardcoded and there are 23 that exists in the game, a valid prize id is between 0 and 22.

Remarks

This also increments flagvar 55 (number of prize medals available or obtained).

The actual availability depends on whether the Hard Mode medal is on or if flags 614 (HARDEST) is on. If either of them are, the flagvar corresponding to the prize is set to 1 (available through Artis). If neither are on, it will be set to 2 instead (available for purchase at the Caravan).