src/game/rare_item_stock.c
Each item's place among the shops' rare item counters, and two short lists a new game reads. More…
Included by game.c.
Variables
| Name | Description | |
|---|---|---|
const Uint8 | NewGameSceneStateTable [4][5] | Four rows of five numbers that gmMainRoutineStateInitDefaults copies after RareItemStock. |
const Uint16 | ItemRareItemCounters [512] | Each item's rare item counter number plus one, 0 for an ordinary item; the shops' stock of a rare item is counted by it (gmItemAdjustRareItemStock). |
Description
Each item's place among the shops' rare item counters, and two short lists a
new game reads. Part of game.c.
Variables in detail
NewGameSceneStateTable
const Uint8 NewGameSceneStateTable[4][5]
Four rows of five numbers that gmMainRoutineStateInitDefaults copies after
RareItemStock. Every value is below 18, the Djinn of one element, and there
are four rows, as there are elements.
Open question (no evidence in reach): what reads the copy,
and so what the numbers are; no object of the main image or of any overlay
reads SceneLocalState or RareItemStock that far in or holds the copy's
address, and The Broken Seal has no such table.
Referenced by gmMainRoutineStateInitDefaults().
Definition at line 10 of file rare_item_stock.c.
ItemRareItemCounters
const Uint16 ItemRareItemCounters[512]
Each item's rare item counter number plus one, 0 for an ordinary item; the shops' stock of a rare
item is counted by it (gmItemAdjustRareItemStock).
Referenced by gmItemAdjustRareItemStock().
Definition at line 20 of file rare_item_stock.c.