mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 23:43:34 +00:00
BLADERUNNER: Use enum labels for two McCoy goals
This commit is contained in:
parent
992887810a
commit
17a1c5b2cc
@ -2842,6 +2842,7 @@ enum AffectionTowards {
|
||||
enum GoalMcCoy {
|
||||
kGoalMcCoyDefault = 0,
|
||||
kGoalMcCoyDodge = 1,
|
||||
kGoalMcCoyLeanOverAndSearch = 2, // unused, McCoy searching dumpster is done by Actor_Change_Animation_Mode(kActorMcCoy, 38);
|
||||
kGoalMcCoyBB11GetUp = 100,
|
||||
kGoalMcCoyBB11PrepareToRunAway = 101,
|
||||
kGoalMcCoyBB11RunAway = 102,
|
||||
|
@ -371,7 +371,7 @@ bool AIScriptMcCoy::GoalChanged(int currentGoalNumber, int newGoalNumber) {
|
||||
dodge();
|
||||
return true;
|
||||
|
||||
case 2:
|
||||
case kGoalMcCoyLeanOverAndSearch:
|
||||
_animationFrame = 0;
|
||||
_animationState = 47;
|
||||
return true;
|
||||
@ -535,7 +535,7 @@ bool AIScriptMcCoy::GoalChanged(int currentGoalNumber, int newGoalNumber) {
|
||||
}
|
||||
return true;
|
||||
|
||||
case 400:
|
||||
case kGoalMcCoyStartChapter5:
|
||||
Actor_Set_Health(kActorMcCoy, 50, 50);
|
||||
Game_Flag_Set(kFlagKP02Available);
|
||||
affectionTowards = Global_Variable_Query(kVariableAffectionTowards);
|
||||
|
Loading…
x
Reference in New Issue
Block a user