scummvm/scummvm — pull request #282 by bluegr (2012-09-27 22:56:25+00:00)
Title: PARALLACTION: Fix the ending of Nippon Safes (bug #5866)

This series of commits adds fixes for the ending of the Multilingual DOS version of Nippon Safes.
It fixes the issues in bug #5866: "NIPPON: Cannot open final safe (game locks)":
https://sourceforge.net/p/scummvm/bugs/5866/

There is one leftover glitch left: There is a rock texture at the center of the screen which has a higher Z value from the scrolling credits, thus the credits are drawn behind it. However, the game is completable with these fixes and it no longer crashes.

I added this as a PR as there are some not so nice hacks in here to get the ending working, plus there is still the leftover glitch left. So, someone with more knowledge on the engine (peres, most probably) should have a look in case these issues can be addressed in a nicer way, if possible. Otherwise, we could go for the approach in this pull request.