mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
HOPKINS: Add some comments
This commit is contained in:
parent
a36178ff1d
commit
9878c89b97
@ -1138,12 +1138,14 @@ bool HopkinsEngine::runFull() {
|
||||
break;
|
||||
|
||||
case 30:
|
||||
// Shooting
|
||||
_linesMan->setMaxLineIdx(15);
|
||||
_globals->_characterMaxPosY = 440;
|
||||
_objectsMan->sceneControl2("IM30", "IM30", "ANIM30", "IM30", 24, false);
|
||||
break;
|
||||
|
||||
case 31:
|
||||
// Shooting target
|
||||
_objectsMan->sceneControl("IM31", "IM31", "ANIM31", "IM31", 10, true);
|
||||
break;
|
||||
|
||||
|
@ -1217,6 +1217,7 @@ int ScriptManager::handleOpcode(const byte *dataP) {
|
||||
break;
|
||||
|
||||
case 88:
|
||||
// Shooting target - Shooting at target
|
||||
if (_vm->_globals->_saveData->_data[svField183] == 1) {
|
||||
_vm->_objectsMan->setBobAnimDataIdx(1, 0);
|
||||
_vm->_objectsMan->setBobAnimDataIdx(2, 0);
|
||||
@ -1294,6 +1295,7 @@ int ScriptManager::handleOpcode(const byte *dataP) {
|
||||
break;
|
||||
|
||||
case 90:
|
||||
// Shooting target - Using the level
|
||||
_vm->_soundMan->playSoundFile("SOUND52.WAV");
|
||||
if (!_vm->_globals->_saveData->_data[svField186]) {
|
||||
_vm->_animMan->playSequence("CIB5A.SEQ", 1, 12, 1, false, false);
|
||||
|
Loading…
Reference in New Issue
Block a user