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.

$3$STINIT

Script $3$STINIT.BIN of Kamidori Alchemy Meister: id 0x3000252, 5490 instructions, fingerprint dbf010d5f27b.

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
stage_object_difficulty_mask04170
stage_object_tile_x04170
stage_object_tile_y04170
stage_object_type_id04170
stage_object_primary_param02540
current_stage_id19600
stage_enemy_auto_level_scale_divisor01890
stage_enemy_battle_routine_set_ids00189
stage_enemy_difficulty_mask01890
stage_enemy_max_level01890
stage_enemy_min_level01890
stage_enemy_movement_routine_set_ids00189
stage_enemy_unit_id01890
stage_enemy_faction_id01850
stage_objective_texts01800
stage_enemy_spawn_tile_x01280
stage_enemy_spawn_tile_y01280
stage_object_use_story_flags_by_faction0890
stage_object_forbidden_story_flags0800
stage_object_secondary_param0750
stage_ally_start_tile_x0660
stage_ally_start_tile_y0660
stage_enemy_random_selection_weight0610
stage_enemy_spawn_object_slot0610
stage_object_reinforcement_interval_turns0610
stage_object_reinforcement_spawn_limit0610
stage_description_lines0600
stage_reward_condition_texts0600
stage_map_texture_asset_overrides0460
stage_background_texture_asset_ids0280
stage_ally_forced_unit_id0260
stage_object_required_story_flags0260
stage_turn_limit0190
stage_reward_row_required_story_flags0170
stage_bgm_id0150
stage_first_visit_party_restriction0150
stage_keep_conditions_on_revisit0150
stage_map_tint_color0150
stage_defeat_base_loss_mode0110
stage_object_base_value0110
stage_defeat_story_flag090
stage_enemy_forbidden_story_flags080
stage_victory_defeat_unit070
stage_enemy_first_visit_only060
stage_ally_forced_first_visit_only050
stage_turn_limit_outcome050
stage_enemy_required_story_flags040
stage_victory_story_flag040
stage_victory_capture_object_slots030