include/djinn_ids.h
Djinn numbers, named from the English release.
Included by test_scenes.c, world_map_encounter_rules.c, vault_djinn.c, ability_ids.h and djinn_menu.h.
Macros
| Name | Description | |
|---|---|---|
#define | DJINN_PER_ELEMENT 20 | |
#define | DJINNI_INDEX (id) ((id) % DJINN_PER_ELEMENT) | A Djinni's place among its element's Djinn, from 0, as fdDjinnJoinParty and the party members' Djinn lists take it. |
Enumerations
| Name | Description | |
|---|---|---|
enum | DJINNI_ID { DJINNI_FLINT, DJINNI_GRANITE, DJINNI_QUARTZ, DJINNI_VINE, DJ … } | Djinn, numbered as fdRequestDjinnBattle and FLAG_DJINN_FIRST count them: DJINN_PER_ELEMENT to an element, in the order Venus, Mercury, Mars, Jupiter. |
Description
Djinn numbers, named from the English release.
Macros in detail
DJINN_PER_ELEMENT
#define DJINN_PER_ELEMENT 20
Referenced by btActionRunBuild(), btDjinnRecoveryReconcile(), btProcessTurnEnd(), dbTestGiveDjinni(), fdDjinnJoinParty(), fdDjinnResolvePending(), fdDjinnRestoreActorAfterBattle(), gmDjinnGetDefinition(), gmDjinnGiveToParty(), gmUnitCalculate(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuRun(), mnDjinnCountOwned(), mnDjinnListUnitEntries(), mnDjinnMenuDrawElementList(), mnDjinnMenuRunPreview(), mnDjinnMenuSelectDjinn(), mnDjinnSetFoundFlagAndAdd(), mnDjinnShowJoinedMessage(), mnSaveBuildFileSummary() and mnStatusScreenShowDjinnList().
Definition at line 6 of file djinn_ids.h.
DJINNI_INDEX
#define DJINNI_INDEX(id) ((id) % DJINN_PER_ELEMENT)
A Djinni's place among its element's Djinn, from 0, as fdDjinnJoinParty and
the party members' Djinn lists take it.
Referenced by dbMenuTestGivePartyDjinn(), scBilibinGustJoins(), scCrossboneIsleKeysBaneJoins(), scImilFeverJoins(), scKalayScorchJoins(), scKalayTolbiDocksGroundJoins(), scKolimaGraniteJoins(), scLaliveroTalkToTorch(), scLamakanDesertTalkToSmog(), scLunpaFortressDjinniJoins(), scMercuryLighthouseMiaJoinsAfterRescue(), scTolbiJoinEmber(), scValeCaveTalkToKite(), scVaultReturnIsaacsDjinni(), scVaultRevisitSapJoins(), scWorldMapMeetFlint() and scXianMistJoins().
Definition at line 10 of file djinn_ids.h.
Enumerations in detail
DJINNI_ID
enum DJINNI_ID
Djinn, numbered as fdRequestDjinnBattle and FLAG_DJINN_FIRST count them:
DJINN_PER_ELEMENT to an element, in the order Venus, Mercury, Mars, Jupiter.
A Djinni's English name is the message MsgDjinnName + its number. Each
element has seven; the 13 numbers after them are spares, which the text names
"=" and whose rows of DjinnDefinitionTable hold only their abilities.
| Enumerator | Value | Description |
|---|---|---|
DJINNI_FLINT | ||
DJINNI_GRANITE | ||
DJINNI_QUARTZ | ||
DJINNI_VINE | ||
DJINNI_SAP | ||
DJINNI_GROUND | ||
DJINNI_BANE | ||
DJINNI_FIZZ | DJINN_PER_ELEMENT | |
DJINNI_SLEET | ||
DJINNI_MIST | ||
DJINNI_SPRITZ | ||
DJINNI_HAIL | ||
DJINNI_TONIC | ||
DJINNI_DEW | ||
DJINNI_FORGE | DJINN_PER_ELEMENT * 2 | |
DJINNI_FEVER | ||
DJINNI_CORONA | ||
DJINNI_SCORCH | ||
DJINNI_EMBER | ||
DJINNI_FLASH | ||
DJINNI_TORCH | ||
DJINNI_GUST | DJINN_PER_ELEMENT * 3 | |
DJINNI_BREEZE | ||
DJINNI_ZEPHYR | ||
DJINNI_SMOG | ||
DJINNI_KITE | ||
DJINNI_SQUALL | ||
DJINNI_LUFF |
Definition at line 17 of file djinn_ids.h.