DREAMWEB: Fix regressions in 'intro1text', 'redrawmainscrn', 'sitdowninbar'

This commit is contained in:
Willem Jan Palenstijn 2011-12-06 19:02:23 +01:00
parent 16c9620dba
commit 7a3360e09f
3 changed files with 4 additions and 5 deletions

View file

@ -746,7 +746,7 @@ void DreamGenContext::intro1Text() {
if (data.byte(kIntrocount) != 2 && data.byte(kIntrocount) != 4 && data.byte(kIntrocount) != 6)
return;
if (isCD() && data.byte(kCh1playing) == 255) {
if (isCD() && data.byte(kCh1playing) != 255) {
data.byte(kIntrocount)--;
} else {
if (data.byte(kIntrocount) == 2)

View file

@ -3558,10 +3558,9 @@ void DreamGenContext::redrawMainScrn() {
}
void DreamGenContext::selectSlot2() {
if (data.word(kMousebutton) == 0)
selectSlot();
else
if (data.word(kMousebutton))
data.byte(kLoadingorsave) = 2;
selectSlot();
}
void DreamGenContext::blank() {

View file

@ -397,7 +397,7 @@ void DreamGenContext::useChurchHole() {
}
void DreamGenContext::sitDownInBar() {
if (data.byte(kWatchmode) == 0xFF) {
if (data.byte(kWatchmode) != 0xFF) {
// Sat down
showSecondUse();
putBackObStuff();