What is in your #include files? I don't have a hope of compiling your sketch without those. Maybe you can attach them as a .zip archive.
I suspect that you displayImage(page) will look something like this:
byte * PageImages[] = {gImage_room2doors, gImage_twodoors, gImage_sofawall, gImage_library,
gImage_fourthwall, gImage_Book, gImage_lounger, gImage_dagger,
gImage_HALL, gImage_ARROWWALL, gImage_BLANKWall, gImage_mirror,
gImage_lipstick, gImage_eye1, gImage_eye2, gImage_eye3,
gImage_book1, gImage_book2, gImage_book3, gImage_sofadetail
};
void displayImage(pages page)
{
display.drawBitmap(0, 0, PageImages[page], 128, 64, 1);
}