SCUMM: Add comments describing the room variables.

This commit is contained in:
Little Cat 2021-04-26 18:59:39 -03:00 committed by Filippos Karapetis
parent e0b61f1ec3
commit f9b741c0ee

View file

@ -1424,6 +1424,9 @@ void ScummEngine_v6::o6_getAnimateVariable() {
_currentRoom == ((_game.id == GID_BASEBALL2001) ? 4 : 3) && \
vm.slot[_currentScript].number == 2105 && \
a->_costume == ((_game.id == GID_BASEBALL2001) ? 107 : 99) && \
// Room variable 5 to ensure this workaround executes only once at
// the beginning of the script and room variable 22 to check if we
// are bunting.
readVar(0x8000 + 5) != 0 && readVar(0x8000 + 22) == 4)
push(1);
else