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.

$2$STINIT

Script $2$STINIT.BIN of Kamidori Alchemy Meister: id 0x2000118, 1689 instructions, fingerprint 9e0a743772ca.

A layer: the game mounts it over STINIT, the base script it writes over.

What its base script does, from OME’s notes on it:

The per-stage loader: it writes the tables of the stage in current_stage_id (its enemy and ally slots, objects and rules), which FIELD, SELSTAGE's preview and INFO3 run before they read them. It is reached through stage_loader_script_ids, each layer's loader in turn, not by a constant call.

Source: docs/kamidori-data-tables.md (Stage catalog and per-stage loader); the patch point kamidori.stage.after_loader

Its caller sets these globals before the call:

GlobalWhat it holds
current_stage_idthe stage whose tables it writes

Calls

No script calls it by a constant id.

It calls no script by a constant id.

Globals

The named globals its instructions read, write or index (take as an array’s base), with how many operands do each.

GlobalReadsWritesIndexes
current_stage_id18300
stage_object_difficulty_mask0770
stage_object_tile_x0770
stage_object_tile_y0770
stage_object_type_id0770
stage_enemy_auto_level_scale_divisor0550
stage_enemy_battle_routine_set_ids0055
stage_enemy_difficulty_mask0550
stage_enemy_max_level0550
stage_enemy_min_level0550
stage_enemy_movement_routine_set_ids0055
stage_enemy_unit_id0550
stage_enemy_faction_id0520
stage_object_primary_param0470
stage_enemy_spawn_tile_x0340
stage_enemy_spawn_tile_y0340
stage_objective_texts0240
stage_enemy_random_selection_weight0210
stage_enemy_spawn_object_slot0210
stage_object_reinforcement_interval_turns0210
stage_object_reinforcement_spawn_limit0210
stage_ally_start_tile_x0180
stage_ally_start_tile_y0180
stage_object_forbidden_story_flags0160
stage_object_required_story_flags0150
stage_object_use_story_flags_by_faction0140
stage_object_secondary_param0120
stage_description_lines080
stage_enemy_required_story_flags080
stage_reward_condition_texts080
stage_reward_row_required_story_flags060
stage_enemy_first_visit_only050
stage_map_texture_asset_overrides050
stage_ally_forced_first_visit_only040
stage_ally_forced_unit_id040
stage_background_texture_asset_ids040
stage_faction_alliance040
stage_turn_limit040
stage_bgm_id020
stage_defeat_base_loss_mode020
stage_defeat_story_flag020
stage_first_visit_party_restriction020
stage_keep_conditions_on_revisit020
stage_map_tint_color020
stage_object_base_value020
stage_turn_limit_outcome020
stage_victory_story_flag020