EtchedPixels / TaylorMade

Game Interpreter for later Adventure International games
GNU General Public License v2.0
5 stars 1 forks source link

Temple of Terror is not completable #5

Open angstsmurf opened 1 year ago

angstsmurf commented 1 year ago

I hope you don't mind me reporting original game bugs here.

All known versions of Temple of Terror erroneously use flag 12 to keep track both of the pirates and the final door lock puzzle, making the latter impossible to solve. I work around this in a very ugly way in my fork, but I'm sure there is a nicer way to do it.

I intercept the action that increments flag 12 when you open one lock and the condition that checks whether all four locks are opened, and change the references to flag 12 to flag 60. https://github.com/garglk/garglk/blob/54b8c784daf3d0a6507b8188919bf907fbe7dd4a/terps/taylor/player.c#L1802-L1807 https://github.com/garglk/garglk/blob/54b8c784daf3d0a6507b8188919bf907fbe7dd4a/terps/taylor/player.c#L1619-L1624