diff options
author | Strangerke | 2013-09-15 19:19:38 +0200 |
---|---|---|
committer | Strangerke | 2013-09-15 19:19:38 +0200 |
commit | 45dc123b8417ce85edab4de8b7e1050e51bc8661 (patch) | |
tree | 2b28ba6e51f9dce32bc4aabd7427d97541aa3100 | |
parent | 5de5c3900db34b884b5d3a91eb02f0b4db02a962 (diff) | |
download | scummvm-rg350-45dc123b8417ce85edab4de8b7e1050e51bc8661.tar.gz scummvm-rg350-45dc123b8417ce85edab4de8b7e1050e51bc8661.tar.bz2 scummvm-rg350-45dc123b8417ce85edab4de8b7e1050e51bc8661.zip |
AVALANCHE: Rework exampers()
-rw-r--r-- | engines/avalanche/acci.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/engines/avalanche/acci.cpp b/engines/avalanche/acci.cpp index 8747b7e57b..5436090dfb 100644 --- a/engines/avalanche/acci.cpp +++ b/engines/avalanche/acci.cpp @@ -835,26 +835,25 @@ void Acci::exampers() { if (isPersonHere()) { if (_thing != _vm->_gyro->_thinks) _vm->_lucerna->thinkAbout(_person, Gyro::kPerson); - _person -= 149; + byte newPerson = _person - 149; switch (_person) { // Special cases - case 11: - if (_vm->_gyro->_wonNim) { + case Gyro::kPeopleDogfood: + if (_vm->_gyro->_wonNim) _vm->_scrolls->displayScrollChain('Q', 8); // "I'm Not Playing!" - return; - } break; - case 9: - if (_vm->_gyro->_lustieIsAsleep) { + case Gyro::kPeopleDuLustie: + if (_vm->_gyro->_lustieIsAsleep) _vm->_scrolls->displayScrollChain('Q', 65); // He's asleep. (65! Wow!) - return; - } break; + case Gyro::kPeopleAyles: + _vm->_scrolls->displayScrollChain('p', newPerson); + if (!_vm->_gyro->_aylesIsAwake) + _vm->_scrolls->displayScrollChain('Q', 13); + break; + default: + _vm->_scrolls->displayScrollChain('p', newPerson); } - // Otherwise... - _vm->_scrolls->displayScrollChain('p', _person); - // And afterwards... - if ((_person == 14) && (!_vm->_gyro->_aylesIsAwake)) - _vm->_scrolls->displayScrollChain('Q', 13); + _person = newPerson; } } |