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.

$1$STINIT

Script $1$STINIT.BIN of Kamidori Alchemy Meister: id 0x1000234, 4095 instructions, fingerprint aedc42517764.

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_mask02250
stage_object_tile_x02250
stage_object_tile_y02250
stage_object_type_id02250
current_stage_id19200
stage_object_primary_param01790
stage_enemy_auto_level_scale_divisor01620
stage_enemy_battle_routine_set_ids00162
stage_enemy_max_level01620
stage_enemy_min_level01620
stage_enemy_movement_routine_set_ids00162
stage_enemy_unit_id01620
stage_enemy_difficulty_mask01580
stage_enemy_faction_id01370
stage_enemy_first_visit_only01360
stage_objective_texts01320
stage_enemy_spawn_tile_x01270
stage_enemy_spawn_tile_y01270
stage_ally_start_tile_x0850
stage_ally_start_tile_y0850
stage_description_lines0440
stage_reward_condition_texts0440
stage_object_secondary_param0360
stage_enemy_spawn_object_slot0330
stage_enemy_random_selection_weight0310
stage_object_reinforcement_interval_turns0310
stage_object_reinforcement_spawn_limit0310
stage_map_texture_asset_overrides0240
stage_ally_forced_first_visit_only0220
stage_ally_forced_unit_id0220
stage_background_texture_asset_ids0220
stage_turn_limit0220
stage_turn_limit_outcome0170
stage_bgm_id0110
stage_defeat_base_loss_mode0110
stage_first_visit_party_restriction0110
stage_keep_conditions_on_revisit0110
stage_map_tint_color0110
stage_object_base_value0110
stage_object_forbidden_story_flags0100
stage_faction_alliance060
stage_defeat_story_flag040
stage_object_required_story_flags040
stage_ally_slot_required_story_flags030
stage_victory_story_flag030
stage_victory_defeat_unit020
stage_enemy_forbidden_story_flags010
stage_object_use_story_flags_by_faction010
stage_victory_capture_object_slots010