Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

UNITECH

Script UNITECH.BIN of Kamidori Alchemy Meister: id 0x122, 270 instructions, fingerprint d85c7a515c73.

Adds units to the party: for each entry of its lists, the unit's character is set up on its first join, raised to the entry's level when that is higher, and put in a roster slot, as the entry's mode says. Every caller joins one unit.

Source: docs/kamidori-data-tables.md (Joining the party, under Runtime character state)

Its caller sets these globals before the call:

GlobalWhat it holds
joining_unit_idsthe units that join
joining_unit_modeshow each joins: 0 a member, 1 with join flag bit 0 only, 2 leaving the join flags
joining_unit_levelsthe level each is raised to; 0 leaves it
joining_unit_counthow many entries to read

Calls

Called by $1$SC2600, $1$SC2630, $1$SC2650, $2$SC2710, $3$SC2800, DEBUGADV, DEBUGAM, DEBUGMAP, DEBUGMAP2, GAMESTART, SC0000, SC0010, SC0050, SC0450, SC0460, SC0470, SC0500, SC0530, SC0550, SC0610, SC0710, SC0720, SC0730, SC0740, SC0750, SC0760, SC1020, SC1470, TITLE.

It calls ADDITEM (2 sites), CALCCC.

Globals

The named globals its instructions read, write or index (take as an array’s base), with how many operands do each. Cells no global names yet take 2 reads, 0 writes and 6 indexes more.

GlobalReadsWritesIndexes
current_character_id5120
roster_flags008
roster_unit_ids007
shared_loop_index520
character_levels006
current_unit_id510
character_stats005
character_skill_list004
character_costume_item_id003
character_join_flags003
roster_equipment_item_ids003
skill_bundled_skill_ids003
unit_canonical_character_id003
unit_default_costume_item_id003
character_learned_skill_flags002
current_item_count_change020
current_item_id020
unit_stat_growth_rates002
character_affinity001
character_class_titles001
character_experience001
character_party_cost001
character_resistances001
character_stat_caps001
character_stat_growth_fractions001
character_weapon_experience001
character_weapon_level001
item_inventory_counts001
joining_unit_count100
joining_unit_ids001
joining_unit_levels001
joining_unit_modes001
party_cost_capacity010
roster_equipped_skill_ids001
unit_base_stats001
unit_element_resistance_levels001
unit_initial_affinity_tenths001
unit_initial_class_titles001
unit_initial_equipment_item_ids001
unit_initial_party_capacity001
unit_initial_stat_caps001
unit_initial_weapon_level001
unit_party_cost001
unit_skill_ids001
unit_starting_level001