ACCESS: Add missing _startup checks to palette cycling opcodes
This commit is contained in:
parent
f3063a13f0
commit
c038452588
2 changed files with 5 additions and 3 deletions
|
@ -449,8 +449,9 @@ void AmazonScripts::cmdHelp() {
|
||||||
error("TODO: more cmdHelp");
|
error("TODO: more cmdHelp");
|
||||||
}
|
}
|
||||||
|
|
||||||
void AmazonScripts::cmdCycleBack() {
|
void AmazonScripts::cmdCycleBack() {
|
||||||
_vm->_screen->cyclePaletteBackwards();
|
if (_vm->_startup == -1)
|
||||||
|
_vm->_screen->cyclePaletteBackwards();
|
||||||
}
|
}
|
||||||
void AmazonScripts::cmdChapter() {
|
void AmazonScripts::cmdChapter() {
|
||||||
int chapter = _data->readByte();
|
int chapter = _data->readByte();
|
||||||
|
|
|
@ -522,7 +522,8 @@ void Scripts::cmdSetCycle() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scripts::cmdCycle() {
|
void Scripts::cmdCycle() {
|
||||||
_vm->_screen->cyclePaletteForward();
|
if (_vm->_startup == -1)
|
||||||
|
_vm->_screen->cyclePaletteForward();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scripts::cmdCharSpeak() {
|
void Scripts::cmdCharSpeak() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue