I found a bug in the ZIL library ZILF uses to compile my game. I want to create a workaround but I am unable to do so. In Borogove I do not have access to the ZIL library, neither do I have access to it from within https://zilf.io, because the library files are outside the visible file list and I seem unable to scroll down to see the files (I am particularly interested in the verbs.zil file which contains the bug):
If I understand this code correctly, the first condition evaluates to TRUE (the PRSO is not a direction object), we get the library message, and then drop out of the COND and end up with GOTO .RM. Since RM is an AUX variable which has not been set (default 0 I presume), we will end up in 0 as the room.
I think this first branch in the COND should be corrected into (when looking at the other failure branches):
So the routine handles it like all the other non-movement scenarios.
Since I cannot modify this file, I’d like to know how to work around it by replacing <SYNTAX WALK OBJECT = V-WALK>
with something like <SYNTAX WALK OBJECT = V-WALK-HACK>
or sth similar to test that initial case and work around the problem.