the-infocom-files / deadline

Deadline
4 stars 3 forks source link

You can trigger Frotz warnings when "it" isn't yet set #28

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

At the very start of the game, before refering to anything else.

>LOOK UNDER IT
Warning: @test_attr called with object 0 (PC = 7c32) (will ignore further
occurrences)
Warning: @get_parent called with object 0 (PC = 7c74) (will ignore further
occurrences)
That's not so useful.

Apparently it parses fine, but when it gets to the action routine PRSO is 0. I don't know enough about the parser to even suggest a fix here.

eriktorbjorn commented 4 years ago

This happens with other games as well. At the very least:

In some of the other games I tried, it had already set "it" to an object at the start of the game. In others, it asked me to clarify what I meant.