changeset 49:9ec3a1204f09

Clean up a couple of data tables.
author William Astle <lost@l-w.ca>
date Sat, 27 Dec 2014 14:48:44 -0700
parents 47bc11e767f8
children 644f5e9649b2
files dod.s
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/dod.s	Sat Dec 27 14:42:42 2014 -0700
+++ b/dod.s	Sat Dec 27 14:48:44 2014 -0700
@@ -4020,15 +4020,13 @@
 		fcb $00,$01,$03,$03,$01,$00,$00	; char code 34 - left half of expanded heart
 		fcb $00,$b0,$f8,$f8,$f0,$e0,$40	; char code 35 - right part of expanded heart
 
-LDBD2		fcb $00,$80
+; These two entries are related to sound generation.
+LDBD2		fcb $00,$80,$00,$01,$00,$50,$00,$04
+LDBDA		fcb $00,$50,$00,$05
 
-LDBD4		fcb $00,$01,$00,$50
-LDBD8		fcb $00,$04
-
-LDBDA		fcb $00,$50
-
-LDBDC		fcb $00,$05
-
+; This table is for rendering walls in specific directions. There is one entry each
+; for left, right, and forward. Each entry has four pointers to graphics, for no door,
+; physical door, magical door, and solid wall.
 LDBDE		fcb 3
 		fdb LDC4F
 		fdb LDC6B