mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-19 21:32:31 -04:00
Decompile aiSetChrPresetToUnalertedTeammate
This commit is contained in:
@@ -1734,7 +1734,7 @@ u8 func0414_programmer[] = {
|
||||
label(0xa1)
|
||||
restart_timer
|
||||
set_stage_flag(STAGEFLAG_PROGRAMMER_RAN_TO_GUARD)
|
||||
try_set_target_chr_to_teammate(/*goto*/ LABEL_RUN_TO_GUARD)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ LABEL_RUN_TO_GUARD)
|
||||
unset_object_flag_bank1(OBJ_LAPTOPGUNDOOR, OBJECTFLAG1_20000000)
|
||||
jog_to_pad(0x0086)
|
||||
|
||||
@@ -3746,7 +3746,7 @@ u8 func042f_surrendering_guard[] = {
|
||||
endloop(0x08)
|
||||
|
||||
label(0x2c)
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x54)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x54)
|
||||
goto_next(0x55)
|
||||
|
||||
label(0x54)
|
||||
|
||||
@@ -3436,7 +3436,7 @@ u8 func0419_ba8c[] = {
|
||||
goto_first(0x09)
|
||||
|
||||
label(0x0b)
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x02)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x02)
|
||||
goto_next(0x0e)
|
||||
label(0x31)
|
||||
goto_first(0x04)
|
||||
|
||||
@@ -1588,7 +1588,7 @@ u8 func0411_labtech_alerted[] = {
|
||||
|
||||
// Already alert (eg. by gunfire)
|
||||
label(0x04)
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x3f)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x3f)
|
||||
goto_next(0x42)
|
||||
|
||||
label(0x3f)
|
||||
|
||||
@@ -1487,7 +1487,7 @@ u8 func0410_labtech_showers_sa_pa[] = {
|
||||
label(0x06)
|
||||
restart_timer
|
||||
speak(CHR_TARGET, 0x2a27, 0x1b2f, CHANNEL_4, COLOR_08_RED) // "Help - help!"
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x06)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x06)
|
||||
|
||||
// No chr in same group - run to pad instead
|
||||
run_to_pad(0x0121)
|
||||
|
||||
@@ -1496,7 +1496,7 @@ u8 func0412_cia[] = {
|
||||
set_chr_team(CHR_SELF, TEAM_ALLY)
|
||||
rebuild_teams
|
||||
rebuild_squadrons
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x04)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x04)
|
||||
goto_next(0x0b)
|
||||
|
||||
label(0x03)
|
||||
@@ -1651,7 +1651,7 @@ u8 func0413_bugspotter[] = {
|
||||
|
||||
// Find another guard and run to them
|
||||
label(0x04)
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x04)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x04)
|
||||
goto_next(0x0b)
|
||||
|
||||
label(0x04)
|
||||
|
||||
@@ -3303,7 +3303,7 @@ u8 func0407_stewardess[] = {
|
||||
endloop(0x08)
|
||||
|
||||
label(0x06)
|
||||
try_set_target_chr_to_teammate(/*goto*/ 0x2d)
|
||||
try_set_chrpreset_to_unalerted_teammate(0, /*goto*/ 0x2d)
|
||||
goto_next(0x0a)
|
||||
|
||||
label(0x2d)
|
||||
|
||||
Reference in New Issue
Block a user