DREAMWEB: 'getbackfromob' ported to C++

This commit is contained in:
Bertrand Augereau 2011-11-26 16:56:11 +01:00
parent f7fdb0d4b7
commit 4192d1241a
5 changed files with 9 additions and 14 deletions

View file

@ -257,6 +257,12 @@ void DreamGenContext::transfertext() {
data.word(kExtextpos) += len + 1;
}
void DreamGenContext::getbackfromob() {
if (data.byte(kPickup) != 1)
getback1();
else
blank();
}
} /*namespace dreamgen */