mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
ACCESS: MM - Add resource _byte1EEB5[]
This commit is contained in:
parent
ec381ae364
commit
eacc0e085a
@ -98,6 +98,7 @@ AccessEngine::AccessEngine(OSystem *syst, const AccessGameDescription *gameDesc)
|
||||
for (int i = 0; i < 16; i++)
|
||||
ASK[i];
|
||||
_startAboutItem = _startAboutBox = 0;
|
||||
_byte26CB5 = 0;
|
||||
_vidEnd = false;
|
||||
}
|
||||
|
||||
|
@ -218,6 +218,7 @@ public:
|
||||
int _startAboutBox;
|
||||
int BOXDATASTART;
|
||||
int BOXSELECTY;
|
||||
byte _byte26CB5;
|
||||
//
|
||||
|
||||
bool _vidEnd;
|
||||
|
@ -859,5 +859,14 @@ const char *const DEATHMESSAGE[] = {
|
||||
"ONCE DANGERFIELD GETS OUT OF HIS CHAMBER, HE PULLS OUT A WEAPON AND LETS YOU HAVE IT."
|
||||
};
|
||||
|
||||
const byte _byte1EEB5[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
0, 0, 0, 0, 0, 1, 0, 1, 1, 1,
|
||||
1
|
||||
};
|
||||
|
||||
} // End of namespace Martian
|
||||
} // End of namespace Access
|
||||
|
@ -61,6 +61,8 @@ extern const char *const ASKTBL[];
|
||||
extern const byte DEATH_SCREENS[];
|
||||
extern const char *const DEATHMESSAGE[];
|
||||
|
||||
extern const byte _byte1EEB5[];
|
||||
|
||||
} // End of namespace Martian
|
||||
} // End of namespace Access
|
||||
|
||||
|
@ -628,11 +628,11 @@ void Scripts::cmdDoTravel() {
|
||||
|
||||
if (type != 2) {
|
||||
int idx = TMPLPTR[boxX];
|
||||
warning("TODO: if (_byte1EEB5[idx] != _byte26CB5) {");
|
||||
// _vm->_bubbleBox->_bubbleTitle = "TRAVEL";
|
||||
// _vm->_scripts->printString("YOU CAN'T GET THERE FROM HERE.");
|
||||
// continue;
|
||||
// }
|
||||
if (Martian::_byte1EEB5[idx] != _vm->_byte26CB5) {
|
||||
_vm->_bubbleBox->_bubbleTitle = "TRAVEL";
|
||||
_vm->_scripts->printString("YOU CAN'T GET THERE FROM HERE.");
|
||||
continue;
|
||||
}
|
||||
if (_vm->_player->_roomNumber != idx) {
|
||||
if (Martian::TRAVEL_POS[idx][0] == -1) {
|
||||
_vm->_player->_roomNumber = idx;
|
||||
|
Loading…
Reference in New Issue
Block a user