diff options
author | Eugene Sandulenko | 2018-03-16 20:55:20 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-16 21:31:33 +0100 |
commit | a90c1f055ead07cd2ff76fd114f5651f32af0142 (patch) | |
tree | 56e166709591e48d910bfcd15424d714bb84a0e9 /engines/bladerunner/script | |
parent | 071619d14c82b52f03288394be19edf687a41022 (diff) | |
download | scummvm-rg350-a90c1f055ead07cd2ff76fd114f5651f32af0142.tar.gz scummvm-rg350-a90c1f055ead07cd2ff76fd114f5651f32af0142.tar.bz2 scummvm-rg350-a90c1f055ead07cd2ff76fd114f5651f32af0142.zip |
BLADERUNNER: Use constants
Diffstat (limited to 'engines/bladerunner/script')
-rw-r--r-- | engines/bladerunner/script/ai/mutant1.cpp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/engines/bladerunner/script/ai/mutant1.cpp b/engines/bladerunner/script/ai/mutant1.cpp index f597e76ec5..9ecaf9d80e 100644 --- a/engines/bladerunner/script/ai/mutant1.cpp +++ b/engines/bladerunner/script/ai/mutant1.cpp @@ -325,36 +325,28 @@ bool AIScriptMutant1::GoalChanged(int currentGoalNumber, int newGoalNumber) { case 410: switch (Actor_Query_Which_Set_In(kActorMutant1)) { - case 74: + case kSetUG01: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 11, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; - case 75: - case 76: - case 81: - case 82: - case 85: - return true; - - case 77: - case 78: - case 79: + case kSetUG04: + case kSetUG05: + case kSetUG06: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 10, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; - case 80: + case kSetUG07: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 12, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; - case 83: + case kSetUG10: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 14, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; - case 84: + case kSetUG12: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 14, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; - - case 86: + case kSetUG14: Non_Player_Actor_Combat_Mode_On(kActorMutant1, 0, 0, 0, 14, 4, 7, 8, -1, -1, -1, 10, 300, 0); break; } |