From 3b67a451c29c6a25af560ecc776de12a44ca0391 Mon Sep 17 00:00:00 2001 From: Sylpheed RE agent Date: Wed, 26 Aug 2026 03:43:56 +0000 Subject: [PATCH] tools(isl): apply the three new built-in names, with 28 flagged as probable 26 damage_unit -> set_unit_hp_pct, 29 -> set_unit_damage_taken_pct, 101 -> all_units_invulnerable, and 28 -> set_unit_damage_dealt_pct with an inline note that its label rests on a single consumer. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01PMRJjbxLqZtsb5Vb7KunPE --- tools/re-capture/isl.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/re-capture/isl.py b/tools/re-capture/isl.py index 0b5e642..61aeb93 100755 --- a/tools/re-capture/isl.py +++ b/tools/re-capture/isl.py @@ -83,7 +83,11 @@ BUILTIN = { 13: 'play_se', 14: 'play_bgm', 15: 'set_group_speed', 17: 'wait_frames', 18: 'dist_lt', 20: 'hp_pct_test', 24: 'squad_survival_pct', - 26: 'damage_unit', 30: 'objective_marker', 31: 'objective_marker_at_route', + 26: 'set_unit_hp_pct', + # 28's field and default (1.0) are certain; the LABEL rests on a single + # consumer, so it is PROBABLE, not confirmed. See isl-builtins.md. + 28: 'set_unit_damage_dealt_pct', 29: 'set_unit_damage_taken_pct', + 30: 'objective_marker', 31: 'objective_marker_at_route', 33: 'global_counter0', 34: 'global_counter1', 36: 'screen_fade', 39: 'MARK_LAST_PHASE', 40: 'mark_not_last', 43: 'play_voice', 45: 'play_voice_vol', 46: 'squadron_trace', 47: 'squadron_attack', @@ -101,7 +105,7 @@ BUILTIN = { 81: 'banner_objective_update', 82: 'banner_mission_failed', 135: 'banner_mission_restart', 93: 'clear_flag', 94: 'is_engaged', 95: 'unit_hp_pct', 100: 'reset_phase_threads', - 102: 'prompt_yes_no', 108: 'deploy_squadron_ex', + 101: 'all_units_invulnerable', 102: 'prompt_yes_no', 108: 'deploy_squadron_ex', 109: 'set_unit_flags', 115: 'named_event', 120: 'wait_cmds_drained', 123: 'timer_resume', 124: 'timer_stop', 125: 'timer_reset', 126: 'timer_elapsed', 127: 'timer_set',