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) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PMRJjbxLqZtsb5Vb7KunPE
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user