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.

ADDEXP

Script ADDEXP.BIN of Kamidori Alchemy Meister: id 0x3440, 284 instructions, fingerprint 606b83e952a3.

Awards experience to one character: the amount its caller passes (COMMITBTL after a battle, or FIELD), times the costume bonus, over 100. A character at its level cap, or an amount of 0 or less, gains none. Weapon experience is decided after.

Source: the patch point kamidori.experience.after_calculation

Its caller sets these globals before the call:

GlobalWhat it holds
current_battle_slotthe battle slot whose unit gains the experience (ADDEXP@0x0 reads battle_unit_unit_ids by it)
shared_scratch_valuethe experience its caller awards

Calls

Called by COMMITBTL, FIELD.

It calls CALCCC, CALCREVISE, MES, SHOWCC, SHOWGROW.

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 6 reads, 4 writes and 8 indexes more.

GlobalReadsWritesIndexes
current_character_id4920
current_battle_slot1010
character_experience008
character_stats008
character_levels007
character_stat_growth_fractions007
character_weapon_experience005
character_weapon_level004
current_unit_id310
unit_canonical_character_id004
battle_unit_equipment_item_ids003
battle_unit_titles002
battle_unit_unit_ids002
character_class_titles002
character_stat_caps002
unit_level_cap002
weapon_rank_exp_thresholds002
battle_unit_levels001
battle_unit_party_cost001
battle_unit_unrevised_stats001
character_costume_item_id001
class_change_title_priority100
item_category001
item_costume_gem_sockets001
shared_scratch_value100
synthesis_rank_names001
unit_initial_class_titles001
unit_stat_growth_rates001

Patch points

Waits

Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: