Skip to content

Commit

Permalink
Yet another attempt at sorting out room redescribing logic
Browse files Browse the repository at this point in the history
Tested and working for:
  1: Adventureland
  2: Pirate Adventure (BYTE Magazine)
  3: Secret Mission
  8: Pyramid of Doom
  The Great Blackberry Adventure

The biggest sticking point was the behaviour of the "small nomad"
in "Pyramid of Doom". This is because if a room is automatically
described when the player moves into it and also when its content
changes then the process of the nomad following the player around
causes rooms to be described twice, one with, and once without the
nomad.

Closes-Bug: #9, #10
  • Loading branch information
thwill1000 committed Jan 26, 2022
1 parent 8b81470 commit 7cbfc12
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 57 deletions.
2 changes: 1 addition & 1 deletion src/debug.inc
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ End Sub
Sub debug.dump_message(idx%)
Local s$ = ms$(idx%)
If s$ = "" Then s$ = "<empty>"
debug.println(str.rpad$(Str$(idx%) + ":", 6) + s$)
debug.println(str.rpad$(Str$(idx%) + ":", 6) + Chr$(34) + s$ + Chr$(34))
End Sub

Sub debug.dump_objects(nstr$)
Expand Down
Loading

0 comments on commit 7cbfc12

Please sign in to comment.