diff options
author | Peter Kohaut | 2019-01-19 23:12:45 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-19 23:15:41 +0100 |
commit | 5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6 (patch) | |
tree | 3ec28e49d9f51e6c40df9c5a0f2da35080d65905 /engines/bladerunner/script/scene/ma01.cpp | |
parent | f7754012dd1766959aaf4eca8ad3028afab5d7d0 (diff) | |
download | scummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.tar.gz scummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.tar.bz2 scummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.zip |
BLADERUNNER: More variable names in the game scripts
Fixed some errors as well
Diffstat (limited to 'engines/bladerunner/script/scene/ma01.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ma01.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/ma01.cpp b/engines/bladerunner/script/scene/ma01.cpp index d48795eb65..c4594810c7 100644 --- a/engines/bladerunner/script/scene/ma01.cpp +++ b/engines/bladerunner/script/scene/ma01.cpp @@ -61,7 +61,7 @@ void SceneScriptMA01::InitializeScene() { Game_Flag_Reset(kFlagMA06toMA01); } else { Actor_Set_Invisible(kActorMcCoy, true); - Game_Flag_Set(273); + Game_Flag_Set(kFlagArrivedFromSpinner2); Scene_Loop_Start_Special(kSceneLoopModeLoseControl, kMA01LoopInshotRoof, false); Scene_Loop_Set_Default(kMA01LoopMain); } @@ -226,12 +226,18 @@ void SceneScriptMA01::SceneFrameAdvanced(int frame) { if (frame == 58) { Sound_Play(122, 17, 20, 20, 50); } - if ((frame == 75 || frame == 196) && Game_Flag_Query(273)) { + if ((frame == 75 + || frame == 196 + ) + && Game_Flag_Query(kFlagArrivedFromSpinner2) + ) { Actor_Face_Heading(kActorMcCoy, 736, false); Actor_Change_Animation_Mode(kActorMcCoy, 42); - Game_Flag_Reset(273); + Game_Flag_Reset(kFlagArrivedFromSpinner2); } else { - if (frame == 196 && !Game_Flag_Query(273)) { + if ( frame == 196 + && !Game_Flag_Query(kFlagArrivedFromSpinner2) + ) { Actor_Change_Animation_Mode(kActorMcCoy, 41); //return true; return; |