Prev: 6710 Up: Map Next: 6B8C
6790: Room data - connecting doors
4 byte sets indicating doors and the room number of their connecting door. Address pointer to these sets is stored at DAF5.
Byte Value
1 Connecting room number 1
2 Connecting room number 2
3 Door properties byte (from EB4E)
  • Bit 0 set = door is visible (default)
  • Bit 2 set = door will need erasing (default)
  • Bit 4 set = door is open
  • Bit 7 set = the door Maroc has just gone through (stored at EAF5, copied here in routine at C5E0)
4 Event value to check for door collisions at CA75 when Maroc goes through this door:
  • 0 = can be opened by Maroc bumping into it
  • 1 = can be opened by Maroc bumping into it, the servant, or a deflected missile
  • Other value = the key or spell (e.g. OPEN) number that opens this door
For example:
  • Connecting door set 28 - event value = 12 - corresponds to the key event that opens it - stored at second-to-last byte of the key item data set at 746B
  • Connecting door sets 163 & 165 - event value = 10 - corresponds to the OPEN spell - stored at byte 6 of OPEN spell data set at 6E9C
connecting room doors
Connecting room doors - click image to open a larger version in a new browser tab/window
Each of these data sets tell us which two rooms each door connects.
  • The first two bytes of each data set here indicates the two rooms that this door connects
  • In the room data table at 61A9, the penultimate bytes - preceding each end byte of 255 - reference the data sets here, for each of the doors in the room
  • For example, in the above image, a door connects room 2 to room 5. This connecting door is at 679C
  • Similarly, the door connecting room 5 and room 6 is at 67A8
6790 DEFB $53,$5A,%00000101,$01 Connecting door set 0
6794 DEFB $01,$02,%00000101,$01 Connecting door set 1
6798 DEFB $02,$03,%00000101,$01 Connecting door set 2
679C DEFB $02,$05,%00000101,$00 Connecting door set 3
67A0 DEFB $03,$FF,%00000101,$01 Connecting door set 4
67A4 DEFB $03,$04,%00000101,$00 Connecting door set 5
67A8 DEFB $05,$06,%00000101,$00 Connecting door set 6
67AC DEFB $05,$FC,%00000101,$00 Connecting door set 7
67B0 DEFB $06,$07,%00000101,$00 Connecting door set 8
67B4 DEFB $07,$08,%00000101,$00 Connecting door set 9
67B8 DEFB $04,$00,%00000101,$0F Connecting door set 10
67BC DEFB $09,$FC,%00000101,$00 Connecting door set 11
67C0 DEFB $09,$0A,%00000101,$00 Connecting door set 12
67C4 DEFB $0A,$0B,%00001101,$00 Connecting door set 13
67C8 DEFB $0B,$0C,%00000101,$00 Connecting door set 14
67CC DEFB $0C,$0D,%00000101,$00 Connecting door set 15
67D0 DEFB $0D,$0F,%00000101,$00 Connecting door set 16
67D4 DEFB $0D,$0E,%00001101,$00 Connecting door set 17
67D8 DEFB $09,$10,%00000101,$01 Connecting door set 18
67DC DEFB $0F,$10,%00000101,$00 Connecting door set 19
67E0 DEFB $0C,$FD,%00000010,$00 Connecting door set 20
67E4 DEFB $11,$FF,%00000101,$00 Connecting door set 21
67E8 DEFB $11,$12,%00000101,$00 Connecting door set 22
67EC DEFB $11,$16,%00000101,$00 Connecting door set 23
67F0 DEFB $12,$13,%00001101,$00 Connecting door set 24
67F4 DEFB $12,$14,%00000101,$00 Connecting door set 25
67F8 DEFB $12,$15,%00000101,$00 Connecting door set 26
67FC DEFB $16,$17,%00000101,$01 Connecting door set 27
6800 DEFB $18,$FB,%00000101,$0C Connecting door set 28
6804 DEFB $16,$FE,%00000101,$00 Connecting door set 29
6808 DEFB $17,$18,%00000101,$00 Connecting door set 30
680C DEFB $19,$FD,%00000101,$00 Connecting door set 31
6810 DEFB $19,$1A,%00001101,$01 Connecting door set 32
6814 DEFB $1A,$1B,%00000101,$00 Connecting door set 33
6818 DEFB $1A,$1C,%00000101,$00 Connecting door set 34
681C DEFB $1C,$1D,%00000010,$00 Connecting door set 35
6820 DEFB $1D,$FE,%00000101,$00 Connecting door set 36
6824 DEFB $1E,$FA,%00000101,$00 Connecting door set 37
6828 DEFB $1E,$FB,%00000101,$01 Connecting door set 38
682C DEFB $1E,$F9,%00000101,$00 Connecting door set 39
6830 DEFB $1E,$F8,%00000101,$00 Connecting door set 40
6834 DEFB $20,$F0,%00000101,$00 Connecting door set 41
6838 DEFB $1F,$EF,%00000101,$00 Connecting door set 42
683C DEFB $1F,$21,%00000101,$00 Connecting door set 43
6840 DEFB $1F,$20,%00000101,$01 Connecting door set 44
6844 DEFB $20,$21,%00000101,$00 Connecting door set 45
6848 DEFB $21,$EE,%00000101,$00 Connecting door set 46
684C DEFB $D2,$52,%00000101,$00 Connecting door set 47
6850 DEFB $22,$EF,%00000101,$01 Connecting door set 48
6854 DEFB $D2,$D3,%00000101,$00 Connecting door set 49
6858 DEFB $22,$29,%00000101,$00 Connecting door set 50
685C DEFB $22,$23,%00000101,$00 Connecting door set 51
6860 DEFB $22,$EB,%00000101,$01 Connecting door set 52
6864 DEFB $23,$24,%00001101,$00 Connecting door set 53
6868 DEFB $24,$28,%00000101,$1C Connecting door set 54
686C DEFB $24,$25,%00000101,$00 Connecting door set 55
6870 DEFB $25,$27,%00000101,$1C Connecting door set 56
6874 DEFB $25,$26,%00000101,$00 Connecting door set 57
6878 DEFB $25,$EC,%00000101,$00 Connecting door set 58
687C DEFB $2B,$EC,%00000101,$00 Connecting door set 59
6880 DEFB $2A,$2B,%00000101,$00 Connecting door set 60
6884 DEFB $2A,$2F,%00001101,$00 Connecting door set 61
6888 DEFB $2D,$2F,%00000101,$00 Connecting door set 62
688C DEFB $2D,$2E,%00000101,$00 Connecting door set 63
6890 DEFB $2A,$2C,%00000101,$00 Connecting door set 64
6894 DEFB $2C,$2E,%00001101,$00 Connecting door set 65
6898 DEFB $2C,$ED,%00000101,$00 Connecting door set 66
689C DEFB $31,$ED,%00000101,$00 Connecting door set 67
68A0 DEFB $30,$31,%00000101,$00 Connecting door set 68
68A4 DEFB $31,$35,%00000101,$00 Connecting door set 69
68A8 DEFB $31,$32,%00001101,$00 Connecting door set 70
68AC DEFB $35,$36,%00001101,$00 Connecting door set 71
68B0 DEFB $30,$36,%00001101,$00 Connecting door set 72
68B4 DEFB $30,$36,%00000101,$00 Connecting door set 73
68B8 DEFB $32,$33,%00000101,$28 Connecting door set 74
68BC DEFB $34,$EE,%00000101,$00 Connecting door set 75
68C0 DEFB $33,$34,%00000101,$28 Connecting door set 76
68C4 DEFB $33,$E7,%00000101,$00 Connecting door set 77
68C8 DEFB $D3,$D4,%00000101,$00 Connecting door set 78
68CC DEFB $38,$E1,%00001101,$00 Connecting door set 79
68D0 DEFB $38,$3A,%00001101,$00 Connecting door set 80
68D4 DEFB $3A,$3B,%00000101,$00 Connecting door set 81
68D8 DEFB $3B,$3C,%00001101,$00 Connecting door set 82
68DC DEFB $3B,$3E,%00000101,$00 Connecting door set 83
68E0 DEFB $3B,$48,%00000101,$00 Connecting door set 84
68E4 DEFB $3C,$3D,%00000101,$00 Connecting door set 85
68E8 DEFB $3E,$3F,%00000101,$00 Connecting door set 86
68EC DEFB $48,$4D,%00000101,$00 Connecting door set 87
68F0 DEFB $38,$39,%00000101,$20 Connecting door set 88
68F4 DEFB $39,$46,%00000101,$00 Connecting door set 89
68F8 DEFB $46,$47,%00000101,$00 Connecting door set 90
68FC DEFB $47,$4A,%00000010,$01 Connecting door set 91
6900 DEFB $49,$4A,%00001101,$00 Connecting door set 92
6904 DEFB $4A,$4B,%00000101,$00 Connecting door set 93
6908 DEFB $49,$4C,%00000101,$00 Connecting door set 94
690C DEFB $39,$40,%00000101,$00 Connecting door set 95
6910 DEFB $40,$41,%00000101,$00 Connecting door set 96
6914 DEFB $41,$42,%00001101,$00 Connecting door set 97
6918 DEFB $42,$43,%00000101,$00 Connecting door set 98
691C DEFB $43,$44,%00000101,$00 Connecting door set 99
6920 DEFB $43,$45,%00001010,$00 Connecting door set 100
6924 DEFB $4D,$4E,%00000101,$00 Connecting door set 101
6928 DEFB $4E,$50,%00000101,$00 Connecting door set 102
692C DEFB $4E,$4F,%00000101,$00 Connecting door set 103
6930 DEFB $50,$51,%00001101,$00 Connecting door set 104
6934 DEFB $37,$38,%00000101,$00 Connecting door set 105
6938 DEFB $5C,$F8,%00000101,$00 Connecting door set 106
693C DEFB $5C,$5D,%00000101,$2C Connecting door set 107
6940 DEFB $5D,$F0,%00000101,$00 Connecting door set 108
6944 DEFB $5D,$5E,%00000101,$2C Connecting door set 109
6948 DEFB $5E,$5F,%00000101,$00 Connecting door set 110
694C DEFB $5F,$F6,%00000101,$00 Connecting door set 111
6950 DEFB $53,$54,%00000101,$00 Connecting door set 112
6954 DEFB $54,$F9,%00000101,$02 Connecting door set 113
6958 DEFB $54,$F7,%00000101,$00 Connecting door set 114
695C DEFB $54,$55,%00000101,$00 Connecting door set 115
6960 DEFB $55,$56,%00000101,$00 Connecting door set 116
6964 DEFB $56,$57,%00000101,$00 Connecting door set 117
6968 DEFB $57,$58,%00000101,$00 Connecting door set 118
696C DEFB $58,$59,%00000101,$00 Connecting door set 119
6970 DEFB $59,$5A,%00000101,$00 Connecting door set 120
6974 DEFB $5A,$5B,%00001101,$00 Connecting door set 121
6978 DEFB $60,$61,%00001101,$00 Connecting door set 122
697C DEFB $61,$62,%00000101,$00 Connecting door set 123
6980 DEFB $63,$F7,%00000101,$00 Connecting door set 124
6984 DEFB $62,$63,%00001101,$00 Connecting door set 125
6988 DEFB $62,$64,%00000101,$00 Connecting door set 126
698C DEFB $64,$65,%00000101,$00 Connecting door set 127
6990 DEFB $65,$66,%00000101,$00 Connecting door set 128
6994 DEFB $66,$67,%00000101,$00 Connecting door set 129
6998 DEFB $67,$F6,%00000010,$00 Connecting door set 130
699C DEFB $6D,$FA,%00000101,$00 Connecting door set 131
69A0 DEFB $6D,$6E,%00000101,$00 Connecting door set 132
69A4 DEFB $6B,$6C,%00000101,$00 Connecting door set 133
69A8 DEFB $6A,$6B,%00000101,$00 Connecting door set 134
69AC DEFB $6A,$6D,%00000101,$00 Connecting door set 135
69B0 DEFB $69,$6A,%00000101,$00 Connecting door set 136
69B4 DEFB $69,$F5,%00000101,$00 Connecting door set 137
69B8 DEFB $6F,$F1,%00000101,$00 Connecting door set 138
69BC DEFB $6F,$71,%00000101,$00 Connecting door set 139
69C0 DEFB $6F,$70,%00001100,$00 Connecting door set 140
69C4 DEFB $70,$F3,%00000101,$00 Connecting door set 141
69C8 DEFB $72,$F2,%00000101,$00 Connecting door set 142
69CC DEFB $7D,$F3,%00000010,$00 Connecting door set 143
69D0 DEFB $7C,$7D,%00000101,$00 Connecting door set 144
69D4 DEFB $7D,$7E,%00000101,$00 Connecting door set 145
69D8 DEFB $7B,$7E,%00000101,$00 Connecting door set 146
69DC DEFB $7B,$F4,%00000101,$00 Connecting door set 147
69E0 DEFB $74,$F5,%00000101,$00 Connecting door set 148
69E4 DEFB $74,$75,%00000101,$00 Connecting door set 149
69E8 DEFB $75,$79,%00000101,$00 Connecting door set 150
69EC DEFB $75,$76,%00000101,$00 Connecting door set 151
69F0 DEFB $76,$77,%00000101,$00 Connecting door set 152
69F4 DEFB $77,$F2,%00000010,$00 Connecting door set 153
69F8 DEFB $77,$78,%00000101,$00 Connecting door set 154
69FC DEFB $79,$7A,%00000101,$00 Connecting door set 155
6A00 DEFB $73,$74,%00000101,$00 Connecting door set 156
6A04 DEFB $79,$F4,%00000101,$00 Connecting door set 157
6A08 DEFB $7F,$F1,%00000101,$00 Connecting door set 158
6A0C DEFB $7F,$85,%00000101,$00 Connecting door set 159
6A10 DEFB $7F,$84,%00000101,$01 Connecting door set 160
6A14 DEFB $83,$84,%00000101,$00 Connecting door set 161
6A18 DEFB $82,$83,%00000101,$00 Connecting door set 162
6A1C DEFB $68,$85,%00000101,$0A Connecting door set 163
6A20 DEFB $81,$82,%00000101,$00 Connecting door set 164
6A24 DEFB $80,$81,%00000101,$0A Connecting door set 165
6A28 DEFB $71,$72,%00000101,$00 Connecting door set 166
6A2C DEFB $CF,$D0,%00000101,$68 Connecting door set 167
6A30 DEFB $8A,$EB,%00001101,$00 Connecting door set 168
6A34 DEFB $89,$8A,%00001101,$00 Connecting door set 169
6A38 DEFB $8A,$8B,%00001101,$00 Connecting door set 170
6A3C DEFB $8B,$EA,%00001101,$00 Connecting door set 171
6A40 DEFB $88,$89,%00001101,$00 Connecting door set 172
6A44 DEFB $87,$88,%00001101,$00 Connecting door set 173
6A48 DEFB $86,$87,%00001101,$00 Connecting door set 174
6A4C DEFB $86,$E9,%00001101,$00 Connecting door set 175
6A50 DEFB $92,$E9,%00000101,$00 Connecting door set 176
6A54 DEFB $92,$93,%00000101,$00 Connecting door set 177
6A58 DEFB $92,$9B,%00000101,$00 Connecting door set 178
6A5C DEFB $92,$99,%00000101,$00 Connecting door set 179
6A60 DEFB $9A,$99,%00000101,$00 Connecting door set 180
6A64 DEFB $93,$94,%00000101,$00 Connecting door set 181
6A68 DEFB $94,$95,%00000101,$0A Connecting door set 182
6A6C DEFB $94,$97,%00000101,$00 Connecting door set 183
6A70 DEFB $95,$96,%00000101,$0A Connecting door set 184
6A74 DEFB $97,$98,%00000101,$00 Connecting door set 185
6A78 DEFB $9B,$9C,%00000101,$00 Connecting door set 186
6A7C DEFB $9C,$9D,%00000101,$00 Connecting door set 187
6A80 DEFB $8E,$E8,%00000101,$00 Connecting door set 188
6A84 DEFB $8F,$EA,%00000101,$00 Connecting door set 189
6A88 DEFB $8E,$8F,%00000101,$00 Connecting door set 190
6A8C DEFB $8D,$8F,%00001101,$00 Connecting door set 191
6A90 DEFB $8C,$8D,%00000101,$00 Connecting door set 192
6A94 DEFB $91,$E8,%00000101,$00 Connecting door set 193
6A98 DEFB $90,$91,%00000101,$00 Connecting door set 194
6A9C DEFB $9E,$E5,%00000101,$00 Connecting door set 195
6AA0 DEFB $9E,$9F,%00000101,$00 Connecting door set 196
6AA4 DEFB $9F,$A0,%00000101,$00 Connecting door set 197
6AA8 DEFB $A0,$A1,%00000101,$01 Connecting door set 198
6AAC DEFB $A4,$A5,%00000101,$00 Connecting door set 199
6AB0 DEFB $A1,$A4,%00000101,$00 Connecting door set 200
6AB4 DEFB $A1,$A2,%00000101,$00 Connecting door set 201
6AB8 DEFB $A2,$A3,%00000101,$00 Connecting door set 202
6ABC DEFB $A3,$A6,%00000101,$00 Connecting door set 203
6AC0 DEFB $AA,$A9,%00000101,$00 Connecting door set 204
6AC4 DEFB $A8,$A9,%00000101,$00 Connecting door set 205
6AC8 DEFB $A6,$A8,%00000101,$00 Connecting door set 206
6ACC DEFB $A6,$A7,%00000101,$00 Connecting door set 207
6AD0 DEFB $A8,$AB,%00000101,$00 Connecting door set 208
6AD4 DEFB $AB,$AC,%00000101,$04 Connecting door set 209
6AD8 DEFB $AD,$E4,%00000101,$00 Connecting door set 210
6ADC DEFB $AC,$AD,%00000101,$00 Connecting door set 211
6AE0 DEFB $AE,$AF,%00000101,$00 Connecting door set 212
6AE4 DEFB $AD,$AE,%00000101,$00 Connecting door set 213
6AE8 DEFB $B2,$E7,%00000101,$00 Connecting door set 214
6AEC DEFB $B1,$B2,%00000101,$00 Connecting door set 215
6AF0 DEFB $B0,$B1,%00000101,$00 Connecting door set 216
6AF4 DEFB $B2,$B3,%00000101,$00 Connecting door set 217
6AF8 DEFB $B1,$B4,%00000101,$00 Connecting door set 218
6AFC DEFB $B0,$E5,%00000101,$00 Connecting door set 219
6B00 DEFB $B0,$E6,%00000101,$04 Connecting door set 220
6B04 DEFB $B3,$B4,%00000101,$00 Connecting door set 221
6B08 DEFB $E1,$B5,%00000101,$54 Connecting door set 222
6B0C DEFB $B5,$E6,%00000101,$00 Connecting door set 223
6B10 DEFB $B6,$E3,%00000101,$00 Connecting door set 224
6B14 DEFB $E2,$B6,%00000101,$60 Connecting door set 225
6B18 DEFB $B6,$BB,%00000010,$60 Connecting door set 226
6B1C DEFB $B6,$BA,%00000010,$60 Connecting door set 227
6B20 DEFB $B6,$B9,%00000010,$00 Connecting door set 228
6B24 DEFB $B6,$B8,%00000010,$00 Connecting door set 229
6B28 DEFB $B6,$B7,%00000010,$05 Connecting door set 230
6B2C DEFB $BD,$BE,%00000101,$00 Connecting door set 231
6B30 DEFB $BC,$BD,%00000101,$00 Connecting door set 232
6B34 DEFB $BD,$C2,%00000101,$00 Connecting door set 233
6B38 DEFB $BD,$C1,%00000101,$00 Connecting door set 234
6B3C DEFB $BD,$BF,%00000101,$00 Connecting door set 235
6B40 DEFB $C2,$C3,%00000101,$00 Connecting door set 236
6B44 DEFB $C3,$E0,%00000101,$00 Connecting door set 237
6B48 DEFB $C1,$E3,%00000101,$00 Connecting door set 238
6B4C DEFB $C0,$E4,%00000101,$00 Connecting door set 239
6B50 DEFB $BF,$C0,%00000101,$00 Connecting door set 240
6B54 DEFB $C4,$C5,%00000010,$00 Connecting door set 241
6B58 DEFB $C5,$C6,%00000010,$00 Connecting door set 242
6B5C DEFB $C6,$C7,%00000101,$01 Connecting door set 243
6B60 DEFB $C7,$C8,%00000101,$00 Connecting door set 244
6B64 DEFB $C8,$C9,%00000101,$01 Connecting door set 245
6B68 DEFB $C9,$E2,%00000101,$00 Connecting door set 246
6B6C DEFB $C7,$CA,%00000101,$01 Connecting door set 247
6B70 DEFB $CA,$CB,%00000101,$00 Connecting door set 248
6B74 DEFB $CB,$CE,%00000010,$00 Connecting door set 249
6B78 DEFB $CB,$CC,%00000101,$00 Connecting door set 250
6B7C DEFB $CC,$CD,%00000101,$00 Connecting door set 251
6B80 DEFB $CE,$D1,%00000101,$00 Connecting door set 252
6B84 DEFB $CE,$CF,%00000101,$00 Connecting door set 253
6B88 DEFB $1E,$E0,%00000101,$14 Connecting door set 254
Prev: 6710 Up: Map Next: 6B8C