include/enemy_ids.h
Enemy ids, named from the English release.
Included by battle_internal.h, battle_sprites.c, formations.c, game_internal.h, screens_internal.h and window_internal.h.
Macros
| Name | Description | |
|---|---|---|
#define | ENEMY_ID_FIRST 8 | The first enemy id: enemy id ENEMY_ID_FIRST + n is the enemy in row n of enemy_table.c (gmEnemyGetDefinition); the ids below it are the party's characters. |
#define | ENEMY_ID_MAX 250 | The highest enemy id a battle unit takes; an id past the table's rows takes its first row. |
#define | ENEMY_ROW (id) ((id) - ENEMY_ID_FIRST) | Enemy id id's row of enemy_table.c, as a formation lists its members. |
Enumerations
| Name | Description | |
|---|---|---|
enum | ENEMY_ID { ENEMY_NONE, ENEMY_VERMIN, ENEMY_VERMIN_WORLD_MAP, ENEMY_MAD_ … } | Enemy ids, one for each row of enemy_table.c in order: an enemy id is the row plus ENEMY_ID_FIRST. |
Description
Enemy ids, named from the English release.
Macros in detail
ENEMY_ID_FIRST
#define ENEMY_ID_FIRST 8
The first enemy id: enemy id ENEMY_ID_FIRST + n is the enemy in row n of
enemy_table.c (gmEnemyGetDefinition); the ids below it are the party's
characters. A formation lists its members by row.
Referenced by btFormationAverageLevel(), btFormationBuildEnemyList(), btFormationGetRandomMember(), gmBattleUnitSet() and gmEnemyGetDefinition().
Definition at line 9 of file enemy_ids.h.
ENEMY_ID_MAX
#define ENEMY_ID_MAX 250
The highest enemy id a battle unit takes; an id past the table's rows takes its first row.
Referenced by gmBattleUnitSet().
Definition at line 13 of file enemy_ids.h.
ENEMY_ROW
#define ENEMY_ROW(id) ((id) - ENEMY_ID_FIRST)
Enemy id id's row of enemy_table.c, as a formation lists its members.
Referenced by Formations.
Definition at line 16 of file enemy_ids.h.
Enumerations in detail
ENEMY_ID
enum ENEMY_ID
Enemy ids, one for each row of enemy_table.c in order: an enemy id is the row
plus ENEMY_ID_FIRST. The rows the text names "?" are unused: two enemies in
no formation, named here for the enemy whose picture each draws, and three
blank rows after the Djinn lesson's Zombie and the empty row that ends the
table, which have no names here. Where several rows share a name, each takes
what tells its battle apart: the one place it is fought (its formation in
formations.c, chosen from a zone of encounter_zones.c), the prize a Colosso
finalist carries, or the Djinni a Djinni battle is with; a row fought in
several places is named for where it is first met.
| Enumerator | Value | Description |
|---|---|---|
ENEMY_NONE | ENEMY_ID_FIRST | Row 0: "???", in no formation; a formation's empty places list it. |
ENEMY_VERMIN | Level 1: fought on the stormy night in Vale (slots 0 and 3 of ENCOUNTER_ZONE_SCRIPTED_VALE_VAULT) and in Sol Sanctum. | |
ENEMY_VERMIN_WORLD_MAP | Level 3: fought on the world map around | |
ENEMY_MAD_VERMIN | Vale and Vault and in Goma Cave. | |
ENEMY_BAT | Level 1: fought on the stormy night in Vale (slots 1 and 3 of ENCOUNTER_ZONE_SCRIPTED_VALE_VAULT) and in Sol Sanctum. | |
ENEMY_BAT_WORLD_MAP | Level 3: fought on the world map and in | |
ENEMY_RABID_BAT | Goma Cave and the Kolima Tunnel. | |
ENEMY_WILD_MUSHROOM | Level 1: fought on the stormy night in Vale (slot 2 of ENCOUNTER_ZONE_SCRIPTED_VALE_VAULT) and in Sol Sanctum. | |
ENEMY_WILD_MUSHROOM_WORLD_MAP | Level 3: fought on the world map around | |
ENEMY_DEATH_CAP | Vale and Vault and in Goma Cave. | |
ENEMY_SLIME_SOL_SANCTUM | Level 2: fought only in Sol Sanctum (formations 11 to 14 and 16). | |
ENEMY_SLIME_WORLD_MAP | Level 3: the Slime of the world map's first encounter region, around Vale and Vault (formations 23 and 27), and of Goma Cave (formation 32). | |
ENEMY_OOZE | ||
ENEMY_SLIME_BEAST | ||
ENEMY_GHOST | ||
ENEMY_GHOST_MAGE | ||
ENEMY_HORNED_GHOST | ||
ENEMY_LICH | ||
ENEMY_ZOMBIE | Level 4: fought on the world map and in Goma Cave and the Kolima Tunnel. | |
ENEMY_UNDEAD | ||
ENEMY_WIGHT | ||
ENEMY_BANDIT | ||
ENEMY_THIEF | ||
ENEMY_BRIGAND | ||
ENEMY_SKELETON | ||
ENEMY_BONE_FIGHTER | ||
ENEMY_SKULL_WARRIOR | ||
ENEMY_WILL_HEAD | ||
ENEMY_DEATH_HEAD | ||
ENEMY_WILLOWISP | ||
ENEMY_RAT | ||
ENEMY_ARMORED_RAT | ||
ENEMY_PLATED_RAT | ||
ENEMY_RAT_SOLDIER | ||
ENEMY_RAT_FIGHTER | ||
ENEMY_RAT_WARRIOR | ||
ENEMY_DRONE_BEE | ||
ENEMY_FIGHTER_BEE | ||
ENEMY_WARRIOR_BEE | ||
ENEMY_TROLL | ||
ENEMY_CAVE_TROLL | ||
ENEMY_BRUTAL_TROLL | ||
ENEMY_SPIDER | ||
ENEMY_TARANTULA | ||
ENEMY_RECLUSE | ||
ENEMY_GNOME | ||
ENEMY_GNOME_MAGE | ||
ENEMY_GNOME_WIZARD | ||
ENEMY_GHOUL | ||
ENEMY_FIENDISH_GHOUL | ||
ENEMY_CANNIBAL_GHOUL | ||
ENEMY_MAULER | ||
ENEMY_RAVAGER | ||
ENEMY_GRISLY | ||
ENEMY_CUTTLE | ||
ENEMY_CALAMAR | ||
ENEMY_MAN_O_WAR | ||
ENEMY_HARPY | ||
ENEMY_VIRAGO | ||
ENEMY_HARRIDAN | ||
ENEMY_SIREN | ||
ENEMY_SUCCUBUS | ||
ENEMY_NIGHTMARE | ||
ENEMY_MOLE | ||
ENEMY_MAD_MOLE | ||
ENEMY_MOLE_MAGE | ||
ENEMY_DIRGE | ||
ENEMY_FOUL_DIRGE | ||
ENEMY_VILE_DIRGE | ||
ENEMY_APE | ||
ENEMY_KILLER_APE | ||
ENEMY_DIRTY_APE | ||
ENEMY_GRUB | ||
ENEMY_WORM | ||
ENEMY_ACID_MAGGOT | ||
ENEMY_ORC | ||
ENEMY_ORC_CAPTAIN | ||
ENEMY_ORC_LORD | ||
ENEMY_SALAMANDER | ||
ENEMY_EARTH_LIZARD | ||
ENEMY_THUNDER_LIZARD | ||
ENEMY_MANTICORE | ||
ENEMY_MAGICORE | ||
ENEMY_MANTICORE_KING | ||
ENEMY_KOBOLD | ||
ENEMY_GOBLIN | ||
ENEMY_HOBGOBLIN | ||
ENEMY_GARGOYLE | ||
ENEMY_CLAY_GARGOYLE | ||
ENEMY_ICE_GARGOYLE | ||
ENEMY_GRYPHON | ||
ENEMY_WILD_GRYPHON | ||
ENEMY_WISE_GRYPHON | ||
ENEMY_GOLEM | ||
ENEMY_EARTH_GOLEM | ||
ENEMY_GRAND_GOLEM | ||
ENEMY_DREAD_HOUND | ||
ENEMY_CEREBUS | ||
ENEMY_FENRIR | ||
ENEMY_STONE_SOLDIER | ||
ENEMY_BOULDER_BEAST | ||
ENEMY_RAGING_ROCK | ||
ENEMY_CHIMERA | ||
ENEMY_CHIMERA_MAGE | ||
ENEMY_UNUSED_CHIMERA | Unused, in no formation: the Chimera's picture in palette 3, with Fire Blessing, Rabid Fang, Mad Dash and Eruption. | |
ENEMY_AMAZE_SOL_SANCTUM | Level 2: fought only in Sol Sanctum. | |
ENEMY_AMAZE_WORLD_MAP | Level 3: fought only on the world map around Vale and Vault. | |
ENEMY_CREEPER | ||
ENEMY_SPIRIT | ||
ENEMY_ZOMBIE_DJINN_LESSON | The battle that ends Flint's lesson on the world map (scWorldMapExplainSettingDjinn, slot 6 of ENCOUNTER_ZONE_SCRIPTED_VALE_VAULT): ENEMY_ZOMBIE's stats but agility 1, and it leaves no coins, item or experience. | |
ENEMY_KRAKEN | ENEMY_ID_FIRST + 113 | |
ENEMY_MYSTERY_MAN | ||
ENEMY_SATUROS_MERCURY_LIGHTHOUSE | Level 18. | |
ENEMY_SATUROS_VENUS_LIGHTHOUSE | Level 38. | |
ENEMY_MYSTERY_WOMAN | ||
ENEMY_MENARDI | ||
ENEMY_LIZARD_MAN | ||
ENEMY_LIZARD_FIGHTER | ||
ENEMY_LIZARD_KING | ||
ENEMY_LIVING_STATUE | ||
ENEMY_HYDROS_STATUE | ||
ENEMY_AZART_IRON_SHIELD | The Colosso finalists, two rows each: whoever reaches a match's arena first takes its better prize, and the battle (ENCOUNTER_ZONE_COLOSSO, one formation a row) is with the opponent carrying what he took. Azart having reached the arena first: defense 20, against 2 without the shield. | |
ENEMY_AZART_PADDED_GLOVES | Azart having reached the arena second. | |
ENEMY_SATRAGE_CHAIN_MAIL | Satrage having reached the arena first: defense 28, against 6 without the mail. | |
ENEMY_SATRAGE_COTTON_SHIRT | Satrage having reached the arena second. | |
ENEMY_NAVAMPA_CLAYMORE | Navampa having reached the arena first: attack 274, against 232 without the Claymore. | |
ENEMY_NAVAMPA_HUNTERS_SWORD | Navampa having reached the arena second. | |
ENEMY_ANT_LION | ||
ENEMY_ROACH | ||
ENEMY_DOODLE_BUG | ||
ENEMY_TOADONPA | ||
ENEMY_POISON_TOAD | ||
ENEMY_UNUSED_TOADONPA | Unused, in no formation: Toadonpa's picture in palette 5, which only attacks. | |
ENEMY_TORNADO_LIZARD | ||
ENEMY_STORM_LIZARD | ||
ENEMY_TEMPEST_LIZARD | ||
ENEMY_TRET | ||
ENEMY_FUSION_DRAGON | ||
ENEMY_DEADBEARD | ||
ENEMY_MIMIC_MERCURY_LIGHTHOUSE | ||
ENEMY_MIMIC_FUCHIN_FALLS_CAVE | ||
ENEMY_MIMIC_ALTIN_PEAK | ||
ENEMY_MIMIC_VAULT_CAVE | ||
ENEMY_MIMIC_CROSSBONE_ISLE | ||
ENEMY_MIMIC_ALTMILLER_CAVE | ||
ENEMY_MIMIC_SUHALLA_DESERT | ||
ENEMY_MIMIC_PIRATE_SHIP | ||
ENEMY_VENUS_DJINNI_QUARTZ | The Djinn the party fights, each element's in order of level; gmBattleUnitSet puts them on the party's side. A Djinni's battle is a slot of its element's zone (EncounterDjinnBattles), which Djinn who join without a fight share; each row is named for the one Djinni whose scene starts its battle (fdRequestDjinnBattle). Level 12, in Mogall Forest. | |
ENEMY_VENUS_DJINNI_VINE | Level 15, on the world map. | |
ENEMY_VENUS_DJINNI_UNUSED_BANE | Unused: level 23, the battle of Bane's slot, but Bane joins on Crossbone Isle without a fight (fdDjinnJoinParty), so no battle reaches this row. | |
ENEMY_MERCURY_DJINNI_SLEET | Level 10, in Mercury Lighthouse. | |
ENEMY_MERCURY_DJINNI_SPRITZ | Level 13, on Altin Peak. | |
ENEMY_MERCURY_DJINNI_HAIL | Level 18, on the world map. | |
ENEMY_MERCURY_DJINNI_DEW | Level 24, at Suhalla Gate. | |
ENEMY_MARS_DJINNI_FORGE | Level 5, in Goma Cave. | |
ENEMY_MARS_DJINNI_CORONA | Level 13, on the world map. | |
ENEMY_MARS_DJINNI_FLASH | Level 22, in the Suhalla Desert. | |
ENEMY_JUPITER_DJINNI_BREEZE | Level 8, in Tret Tree. | |
ENEMY_JUPITER_DJINNI_ZEPHYR | Level 11, in Fuchin Falls Cave. | |
ENEMY_JUPITER_DJINNI_SQUALL | Level 18, in Altmiller Cave. | |
ENEMY_JUPITER_DJINNI_LUFF | Level 25, in Babi Lighthouse. |
Definition at line 27 of file enemy_ids.h.