johanberntsson / ozmoo

A Z-machine interpreter for the Commodore 64 and similar computers
GNU General Public License v2.0
117 stars 19 forks source link

Feature request (with implementation): Optionally convert "x" on input to "examine" #65

Closed ZornsLemma closed 7 months ago

ZornsLemma commented 7 months ago

I added this as an experimental option to the Acorn port a while ago, and you can see the code (which is probably portable) around line 1891 in text.asm. I think this improves the playability of games like Hollywood Hijinx which don't natively support it.

(It's possible - probably even likely - my implementation is sub-optimal, let me know if you have any suggestions.)

fredrikr commented 7 months ago

Great suggestion. Added in Ozmoo 14.21.

johanberntsson commented 7 months ago

Note that make.rb now activates this by default for all Infocom games that benefit from this option, including a few z4 and z5 games