Skip to Content
The Alchemy Project

src/game

Guide: Game Logic & Tables

Files

FileDescription
ability_table.cThe 734 abilities, by ability id.
character_table.cThe eight characters' definitions, by character id.
class_table.cThe 244 classes, by class id.
djinn_table.cThe 80 Djinn, 20 of each element in element order.
element_table.cThe element tables: class series by element, element power and resistance by level, the enemies' element presets, the power and resistance curve, and the dragons and sea creatures two weapons' effects look for.
enemy_table.cThe 380 enemies' definitions (gmEnemyGetDefinition), each row keyed by its enemy id and headed by its name in the English release; the name field itself is blank, and gmBattleUnitSet takes the name from the messages.
experience_table.cEach character's element group, what the data transfer from The Broken Seal copies and hands out, and the experience each character needs for each level.
game.cThe game object: the rules of the party and its world.
game_battle_arithmetic.cBattle arithmetic: element multipliers, random rolls and success rates.
game_classes.cA unit's level in each element, the elemental power and resistance those levels give it, and the class a character's Djinn and items make it.
game_djinn.cThe Djinn the party holds: a Djinni found and given to a member, set or put on standby, moved between members and back from recovery, and the counts the menus show.
game_internal.hWhat every part of the game object shares: its includes, the declarations its parts disagreed on and one inventory helper.
game_inventory.cItems and inventories: equipping, adding, removing, breaking and counting.
game_levels.cActions and Psynergy lists, characters, experience and levelling up.
game_party.cEnemy units, the active party, coins and counters, and summons.
game_snapshot.cThe equipment put aside for the Trial Road, as The Broken Seal's for the Colosso: Felix's, Jenna's, Sheba's and Piers's inventories, and giving them back.
game_units.cThe party's units and their stats, a new game, HP and PP, and the data transfer from The Broken Seal up to Isaac's party joining at Contigo.
item_table.cThe 516 items, by item id.
main_routine.cThe main routine and scene changes: exits, returns from an engine, entering a scene.
rare_item_stock.cEach item's place among the shops' rare item counters, and two short lists a new game reads.
starting_equipment.c
summon_table.cThe summons: the order the Summon command lists them in, and each one's ability and the Djinn it needs.

On this page