Skip to Content
The Alchemy Project

include/djinn_ids.h

Djinn numbers, named from the English release.

Included by battle_internal.h, world_map_encounter_rules.c, menu_internal.h, window_internal.h and ability_ids.h.

Macros

NameDescription
#defineDJINN_PER_ELEMENT 20The numbers each element's Djinn take, its spares among them.
#defineDJINNI_SPARE_FIRST 18The first of each element's two spares, after its eighteen Djinn (a DJINNI_INDEX): the text names the spares after the element ("Earth18").
#defineDJINN_OWN_FIRST 7The place of each element's first Djinni this game adds (DJINNI_ECHO's), after The Broken Seal's seven.
#defineDJINNI_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

NameDescription
enumDJINNI_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

The numbers each element's Djinn take, its spares among them.

Referenced by btActionRunBuild(), btDjinnRecoveryCountDownSide(), btDjinnRecoveryReconcile(), btProcessTurnEnd(), btUnitDrainDjinn(), dbPsynergyTestGiveDjinni(), dbShopTestGiveDjinni(), dbTestGiveDjinni(), fdDjinnJoinParty(), fdDjinnResolvePending(), fdDjinnRestoreActorAfterBattle(), fdRequestDjinnBattle(), fdScriptSpawnActorTable(), gmDataTransferApply(), gmDataTransferGiveDefaultDjinn(), gmDjinnAddFoundToOwner(), gmDjinnGetDefinition(), gmDjinnGiveToParty(), gmDjinnSetAllForParty(), gmPartyAddIsaacsParty(), gmPartyGivePiersDjinn(), gmUnitCalculate(), gmUnitFindLastDjinn(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuRun(), mnBattleStatusScreenRun(), mnDjinnCountOwned(), mnDjinnListUnitEntries(), mnDjinnMenuDrawEntry(), mnDjinnMenuSelectDjinn(), mnDjinnSetFoundFlagAndAdd(), mnDjinnShowJoinedMessage(), mnStatusScreenShowDjinnList(), scAncientLemuriaRimeJoins(), scApojiiIslandsHazeJoinsParty(), scAttekaInletGeodeJoins(), scClearApplyImportedData(), scContigoFreedDjinniJoinsParty(), scContigoSaltJoinsParty(), scGarohMahaTellsTheLegend(), scIzumoRoomsGiveUzumeTheDoll(), scLohoMeetLull(), scMadraRoomsGiveHealingFungus(), scMagmaRockInsideMeetDjinni(), scMikasallaMeetSpark(), scNaribweRoomsDjinniHintLimit(), scNaribweRoomsGetDjinniHint(), scNaribweRoomsListMissingDjinn(), scProxMercuryDjinniJoins(), scProxMoldJoins() and 5 more.

Definition at line 7 of file djinn_ids.h.

DJINNI_SPARE_FIRST

#define DJINNI_SPARE_FIRST 18

The first of each element's two spares, after its eighteen Djinn (a DJINNI_INDEX): the text names the spares after the element ("Earth18").

Referenced by btDebugParamSetLoad(), dbShopTestGivePartyDjinn(), mnStatusScreenShowDjinnList() and scAnemosInnerSanctumLightSymbol().

Definition at line 10 of file djinn_ids.h.

DJINN_OWN_FIRST

#define DJINN_OWN_FIRST 7

The place of each element's first Djinni this game adds (DJINNI_ECHO's), after The Broken Seal's seven.

Referenced by btDebugParamSetLoad() and mnStatusScreenShowDjinnList().

Definition at line 13 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 dbPsynergyTestGivePartyDjinn(), dbShopTestGivePartyDjinn(), gmDataTransferGiveDefaultDjinn(), gmPartyGivePiersDjinn(), mnDjinnMenuSelectDjinn(), scAncientLemuriaRimeJoins(), scApojiiIslandsHazeJoinsParty(), scAttekaInletGeodeJoins(), scContigoFreedDjinniJoinsParty(), scContigoSaltJoinsParty(), scGarohMahaTellsTheLegend(), scIzumoRoomsGiveUzumeTheDoll(), scLohoMeetLull(), scMadraRoomsGiveHealingFungus(), scMagmaRockInsideMeetDjinni(), scMikasallaMeetSpark(), scNaribweRoomsDjinniHintLimit(), scNaribweRoomsGetDjinniHint(), scNaribweRoomsListMissingDjinn(), scProxMercuryDjinniJoins(), scProxMoldJoins(), scSettlementsMeetGel(), scSettlementsMeetLostJupiterDjinni(), scSettlementsMeetTinder(), scShamanVillageMeetAroma(), scTreasureIsleVenusDjinniJoins() and scWorldMapMeetEcho().

Definition at line 17 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 eighteen; the two numbers after them are spares, which the text names after the element ("Earth18") and whose rows of DjinnDefinitionTable hold only their abilities.

EnumeratorValueDescription
DJINNI_FLINT
DJINNI_GRANITE
DJINNI_QUARTZ
DJINNI_VINE
DJINNI_SAP
DJINNI_GROUND
DJINNI_BANE
DJINNI_ECHO
DJINNI_IRON
DJINNI_STEEL
DJINNI_MUD
DJINNI_FLOWER
DJINNI_MELD
DJINNI_PETRA
DJINNI_SALT
DJINNI_GEODE
DJINNI_MOLD
DJINNI_CRYSTAL
DJINNI_EARTH19DJINNI_CRYSTAL + 2The spare the text names "Earth19", which Treasure Isle places (its fifth room's placements).
DJINNI_FIZZDJINN_PER_ELEMENT
DJINNI_SLEET
DJINNI_MIST
DJINNI_SPRITZ
DJINNI_HAIL
DJINNI_TONIC
DJINNI_DEW
DJINNI_FOG
DJINNI_SOUR
DJINNI_SPRING
DJINNI_SHADE
DJINNI_CHILL
DJINNI_STEAM
DJINNI_RIME
DJINNI_GEL
DJINNI_EDDY
DJINNI_BALM
DJINNI_SERAC
DJINNI_WATER19DJINNI_SERAC + 2The spare the text names "Water19", which Prox's houses place and scProxMercuryDjinniJoins gives.
DJINNI_FORGEDJINN_PER_ELEMENT * 2
DJINNI_FEVER
DJINNI_CORONA
DJINNI_SCORCH
DJINNI_EMBER
DJINNI_FLASH
DJINNI_TORCH
DJINNI_CANNON
DJINNI_SPARK
DJINNI_KINDLE
DJINNI_CHAR
DJINNI_COAL
DJINNI_REFLUX
DJINNI_CORE
DJINNI_TINDER
DJINNI_SHINE
DJINNI_FURY
DJINNI_FUGUE
DJINNI_FIRE19DJINNI_FUGUE + 2The spare the text names "Fire19", which Magma Rock joins to the party (scMagmaRockInsideMeetDjinni).
DJINNI_GUSTDJINN_PER_ELEMENT * 3
DJINNI_BREEZE
DJINNI_ZEPHYR
DJINNI_SMOG
DJINNI_KITE
DJINNI_SQUALL
DJINNI_LUFF
DJINNI_BREATH
DJINNI_BLITZ
DJINNI_ETHER
DJINNI_WAFT
DJINNI_HAZE
DJINNI_WHEEZE
DJINNI_AROMA
DJINNI_WHORL
DJINNI_GASP
DJINNI_LULL
DJINNI_GALE
DJINNI_WIND19DJINNI_GALE + 2The spare the text names "Wind19", which the settlements join to the party (scSettlementsMeetLostJupiterDjinni).

Definition at line 25 of file djinn_ids.h.