Prev: 26384 Up: Map Next: 27532
26512: 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 56053.
Byte Value
1 Connecting room number 1
2 Connecting room number 2
3 Door properties byte (from 60238)
  • 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 60149, copied here in routine at 50656)
4 Event value to check for door collisions at 51829 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 29803
  • Connecting door sets 163 & 165 - event value = 10 - corresponds to the OPEN spell - stored at byte 6 of OPEN spell data set at 28316
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 25001, 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 26524
  • Similarly, the door connecting room 5 and room 6 is at 26536
26512 DEFB 83,90,%00000101,1 Connecting door set 0
26516 DEFB 1,2,%00000101,1 Connecting door set 1
26520 DEFB 2,3,%00000101,1 Connecting door set 2
26524 DEFB 2,5,%00000101,0 Connecting door set 3
26528 DEFB 3,255,%00000101,1 Connecting door set 4
26532 DEFB 3,4,%00000101,0 Connecting door set 5
26536 DEFB 5,6,%00000101,0 Connecting door set 6
26540 DEFB 5,252,%00000101,0 Connecting door set 7
26544 DEFB 6,7,%00000101,0 Connecting door set 8
26548 DEFB 7,8,%00000101,0 Connecting door set 9
26552 DEFB 4,0,%00000101,15 Connecting door set 10
26556 DEFB 9,252,%00000101,0 Connecting door set 11
26560 DEFB 9,10,%00000101,0 Connecting door set 12
26564 DEFB 10,11,%00001101,0 Connecting door set 13
26568 DEFB 11,12,%00000101,0 Connecting door set 14
26572 DEFB 12,13,%00000101,0 Connecting door set 15
26576 DEFB 13,15,%00000101,0 Connecting door set 16
26580 DEFB 13,14,%00001101,0 Connecting door set 17
26584 DEFB 9,16,%00000101,1 Connecting door set 18
26588 DEFB 15,16,%00000101,0 Connecting door set 19
26592 DEFB 12,253,%00000010,0 Connecting door set 20
26596 DEFB 17,255,%00000101,0 Connecting door set 21
26600 DEFB 17,18,%00000101,0 Connecting door set 22
26604 DEFB 17,22,%00000101,0 Connecting door set 23
26608 DEFB 18,19,%00001101,0 Connecting door set 24
26612 DEFB 18,20,%00000101,0 Connecting door set 25
26616 DEFB 18,21,%00000101,0 Connecting door set 26
26620 DEFB 22,23,%00000101,1 Connecting door set 27
26624 DEFB 24,251,%00000101,12 Connecting door set 28
26628 DEFB 22,254,%00000101,0 Connecting door set 29
26632 DEFB 23,24,%00000101,0 Connecting door set 30
26636 DEFB 25,253,%00000101,0 Connecting door set 31
26640 DEFB 25,26,%00001101,1 Connecting door set 32
26644 DEFB 26,27,%00000101,0 Connecting door set 33
26648 DEFB 26,28,%00000101,0 Connecting door set 34
26652 DEFB 28,29,%00000010,0 Connecting door set 35
26656 DEFB 29,254,%00000101,0 Connecting door set 36
26660 DEFB 30,250,%00000101,0 Connecting door set 37
26664 DEFB 30,251,%00000101,1 Connecting door set 38
26668 DEFB 30,249,%00000101,0 Connecting door set 39
26672 DEFB 30,248,%00000101,0 Connecting door set 40
26676 DEFB 32,240,%00000101,0 Connecting door set 41
26680 DEFB 31,239,%00000101,0 Connecting door set 42
26684 DEFB 31,33,%00000101,0 Connecting door set 43
26688 DEFB 31,32,%00000101,1 Connecting door set 44
26692 DEFB 32,33,%00000101,0 Connecting door set 45
26696 DEFB 33,238,%00000101,0 Connecting door set 46
26700 DEFB 210,82,%00000101,0 Connecting door set 47
26704 DEFB 34,239,%00000101,1 Connecting door set 48
26708 DEFB 210,211,%00000101,0 Connecting door set 49
26712 DEFB 34,41,%00000101,0 Connecting door set 50
26716 DEFB 34,35,%00000101,0 Connecting door set 51
26720 DEFB 34,235,%00000101,1 Connecting door set 52
26724 DEFB 35,36,%00001101,0 Connecting door set 53
26728 DEFB 36,40,%00000101,28 Connecting door set 54
26732 DEFB 36,37,%00000101,0 Connecting door set 55
26736 DEFB 37,39,%00000101,28 Connecting door set 56
26740 DEFB 37,38,%00000101,0 Connecting door set 57
26744 DEFB 37,236,%00000101,0 Connecting door set 58
26748 DEFB 43,236,%00000101,0 Connecting door set 59
26752 DEFB 42,43,%00000101,0 Connecting door set 60
26756 DEFB 42,47,%00001101,0 Connecting door set 61
26760 DEFB 45,47,%00000101,0 Connecting door set 62
26764 DEFB 45,46,%00000101,0 Connecting door set 63
26768 DEFB 42,44,%00000101,0 Connecting door set 64
26772 DEFB 44,46,%00001101,0 Connecting door set 65
26776 DEFB 44,237,%00000101,0 Connecting door set 66
26780 DEFB 49,237,%00000101,0 Connecting door set 67
26784 DEFB 48,49,%00000101,0 Connecting door set 68
26788 DEFB 49,53,%00000101,0 Connecting door set 69
26792 DEFB 49,50,%00001101,0 Connecting door set 70
26796 DEFB 53,54,%00001101,0 Connecting door set 71
26800 DEFB 48,54,%00001101,0 Connecting door set 72
26804 DEFB 48,54,%00000101,0 Connecting door set 73
26808 DEFB 50,51,%00000101,40 Connecting door set 74
26812 DEFB 52,238,%00000101,0 Connecting door set 75
26816 DEFB 51,52,%00000101,40 Connecting door set 76
26820 DEFB 51,231,%00000101,0 Connecting door set 77
26824 DEFB 211,212,%00000101,0 Connecting door set 78
26828 DEFB 56,225,%00001101,0 Connecting door set 79
26832 DEFB 56,58,%00001101,0 Connecting door set 80
26836 DEFB 58,59,%00000101,0 Connecting door set 81
26840 DEFB 59,60,%00001101,0 Connecting door set 82
26844 DEFB 59,62,%00000101,0 Connecting door set 83
26848 DEFB 59,72,%00000101,0 Connecting door set 84
26852 DEFB 60,61,%00000101,0 Connecting door set 85
26856 DEFB 62,63,%00000101,0 Connecting door set 86
26860 DEFB 72,77,%00000101,0 Connecting door set 87
26864 DEFB 56,57,%00000101,32 Connecting door set 88
26868 DEFB 57,70,%00000101,0 Connecting door set 89
26872 DEFB 70,71,%00000101,0 Connecting door set 90
26876 DEFB 71,74,%00000010,1 Connecting door set 91
26880 DEFB 73,74,%00001101,0 Connecting door set 92
26884 DEFB 74,75,%00000101,0 Connecting door set 93
26888 DEFB 73,76,%00000101,0 Connecting door set 94
26892 DEFB 57,64,%00000101,0 Connecting door set 95
26896 DEFB 64,65,%00000101,0 Connecting door set 96
26900 DEFB 65,66,%00001101,0 Connecting door set 97
26904 DEFB 66,67,%00000101,0 Connecting door set 98
26908 DEFB 67,68,%00000101,0 Connecting door set 99
26912 DEFB 67,69,%00001010,0 Connecting door set 100
26916 DEFB 77,78,%00000101,0 Connecting door set 101
26920 DEFB 78,80,%00000101,0 Connecting door set 102
26924 DEFB 78,79,%00000101,0 Connecting door set 103
26928 DEFB 80,81,%00001101,0 Connecting door set 104
26932 DEFB 55,56,%00000101,0 Connecting door set 105
26936 DEFB 92,248,%00000101,0 Connecting door set 106
26940 DEFB 92,93,%00000101,44 Connecting door set 107
26944 DEFB 93,240,%00000101,0 Connecting door set 108
26948 DEFB 93,94,%00000101,44 Connecting door set 109
26952 DEFB 94,95,%00000101,0 Connecting door set 110
26956 DEFB 95,246,%00000101,0 Connecting door set 111
26960 DEFB 83,84,%00000101,0 Connecting door set 112
26964 DEFB 84,249,%00000101,2 Connecting door set 113
26968 DEFB 84,247,%00000101,0 Connecting door set 114
26972 DEFB 84,85,%00000101,0 Connecting door set 115
26976 DEFB 85,86,%00000101,0 Connecting door set 116
26980 DEFB 86,87,%00000101,0 Connecting door set 117
26984 DEFB 87,88,%00000101,0 Connecting door set 118
26988 DEFB 88,89,%00000101,0 Connecting door set 119
26992 DEFB 89,90,%00000101,0 Connecting door set 120
26996 DEFB 90,91,%00001101,0 Connecting door set 121
27000 DEFB 96,97,%00001101,0 Connecting door set 122
27004 DEFB 97,98,%00000101,0 Connecting door set 123
27008 DEFB 99,247,%00000101,0 Connecting door set 124
27012 DEFB 98,99,%00001101,0 Connecting door set 125
27016 DEFB 98,100,%00000101,0 Connecting door set 126
27020 DEFB 100,101,%00000101,0 Connecting door set 127
27024 DEFB 101,102,%00000101,0 Connecting door set 128
27028 DEFB 102,103,%00000101,0 Connecting door set 129
27032 DEFB 103,246,%00000010,0 Connecting door set 130
27036 DEFB 109,250,%00000101,0 Connecting door set 131
27040 DEFB 109,110,%00000101,0 Connecting door set 132
27044 DEFB 107,108,%00000101,0 Connecting door set 133
27048 DEFB 106,107,%00000101,0 Connecting door set 134
27052 DEFB 106,109,%00000101,0 Connecting door set 135
27056 DEFB 105,106,%00000101,0 Connecting door set 136
27060 DEFB 105,245,%00000101,0 Connecting door set 137
27064 DEFB 111,241,%00000101,0 Connecting door set 138
27068 DEFB 111,113,%00000101,0 Connecting door set 139
27072 DEFB 111,112,%00001100,0 Connecting door set 140
27076 DEFB 112,243,%00000101,0 Connecting door set 141
27080 DEFB 114,242,%00000101,0 Connecting door set 142
27084 DEFB 125,243,%00000010,0 Connecting door set 143
27088 DEFB 124,125,%00000101,0 Connecting door set 144
27092 DEFB 125,126,%00000101,0 Connecting door set 145
27096 DEFB 123,126,%00000101,0 Connecting door set 146
27100 DEFB 123,244,%00000101,0 Connecting door set 147
27104 DEFB 116,245,%00000101,0 Connecting door set 148
27108 DEFB 116,117,%00000101,0 Connecting door set 149
27112 DEFB 117,121,%00000101,0 Connecting door set 150
27116 DEFB 117,118,%00000101,0 Connecting door set 151
27120 DEFB 118,119,%00000101,0 Connecting door set 152
27124 DEFB 119,242,%00000010,0 Connecting door set 153
27128 DEFB 119,120,%00000101,0 Connecting door set 154
27132 DEFB 121,122,%00000101,0 Connecting door set 155
27136 DEFB 115,116,%00000101,0 Connecting door set 156
27140 DEFB 121,244,%00000101,0 Connecting door set 157
27144 DEFB 127,241,%00000101,0 Connecting door set 158
27148 DEFB 127,133,%00000101,0 Connecting door set 159
27152 DEFB 127,132,%00000101,1 Connecting door set 160
27156 DEFB 131,132,%00000101,0 Connecting door set 161
27160 DEFB 130,131,%00000101,0 Connecting door set 162
27164 DEFB 104,133,%00000101,10 Connecting door set 163
27168 DEFB 129,130,%00000101,0 Connecting door set 164
27172 DEFB 128,129,%00000101,10 Connecting door set 165
27176 DEFB 113,114,%00000101,0 Connecting door set 166
27180 DEFB 207,208,%00000101,104 Connecting door set 167
27184 DEFB 138,235,%00001101,0 Connecting door set 168
27188 DEFB 137,138,%00001101,0 Connecting door set 169
27192 DEFB 138,139,%00001101,0 Connecting door set 170
27196 DEFB 139,234,%00001101,0 Connecting door set 171
27200 DEFB 136,137,%00001101,0 Connecting door set 172
27204 DEFB 135,136,%00001101,0 Connecting door set 173
27208 DEFB 134,135,%00001101,0 Connecting door set 174
27212 DEFB 134,233,%00001101,0 Connecting door set 175
27216 DEFB 146,233,%00000101,0 Connecting door set 176
27220 DEFB 146,147,%00000101,0 Connecting door set 177
27224 DEFB 146,155,%00000101,0 Connecting door set 178
27228 DEFB 146,153,%00000101,0 Connecting door set 179
27232 DEFB 154,153,%00000101,0 Connecting door set 180
27236 DEFB 147,148,%00000101,0 Connecting door set 181
27240 DEFB 148,149,%00000101,10 Connecting door set 182
27244 DEFB 148,151,%00000101,0 Connecting door set 183
27248 DEFB 149,150,%00000101,10 Connecting door set 184
27252 DEFB 151,152,%00000101,0 Connecting door set 185
27256 DEFB 155,156,%00000101,0 Connecting door set 186
27260 DEFB 156,157,%00000101,0 Connecting door set 187
27264 DEFB 142,232,%00000101,0 Connecting door set 188
27268 DEFB 143,234,%00000101,0 Connecting door set 189
27272 DEFB 142,143,%00000101,0 Connecting door set 190
27276 DEFB 141,143,%00001101,0 Connecting door set 191
27280 DEFB 140,141,%00000101,0 Connecting door set 192
27284 DEFB 145,232,%00000101,0 Connecting door set 193
27288 DEFB 144,145,%00000101,0 Connecting door set 194
27292 DEFB 158,229,%00000101,0 Connecting door set 195
27296 DEFB 158,159,%00000101,0 Connecting door set 196
27300 DEFB 159,160,%00000101,0 Connecting door set 197
27304 DEFB 160,161,%00000101,1 Connecting door set 198
27308 DEFB 164,165,%00000101,0 Connecting door set 199
27312 DEFB 161,164,%00000101,0 Connecting door set 200
27316 DEFB 161,162,%00000101,0 Connecting door set 201
27320 DEFB 162,163,%00000101,0 Connecting door set 202
27324 DEFB 163,166,%00000101,0 Connecting door set 203
27328 DEFB 170,169,%00000101,0 Connecting door set 204
27332 DEFB 168,169,%00000101,0 Connecting door set 205
27336 DEFB 166,168,%00000101,0 Connecting door set 206
27340 DEFB 166,167,%00000101,0 Connecting door set 207
27344 DEFB 168,171,%00000101,0 Connecting door set 208
27348 DEFB 171,172,%00000101,4 Connecting door set 209
27352 DEFB 173,228,%00000101,0 Connecting door set 210
27356 DEFB 172,173,%00000101,0 Connecting door set 211
27360 DEFB 174,175,%00000101,0 Connecting door set 212
27364 DEFB 173,174,%00000101,0 Connecting door set 213
27368 DEFB 178,231,%00000101,0 Connecting door set 214
27372 DEFB 177,178,%00000101,0 Connecting door set 215
27376 DEFB 176,177,%00000101,0 Connecting door set 216
27380 DEFB 178,179,%00000101,0 Connecting door set 217
27384 DEFB 177,180,%00000101,0 Connecting door set 218
27388 DEFB 176,229,%00000101,0 Connecting door set 219
27392 DEFB 176,230,%00000101,4 Connecting door set 220
27396 DEFB 179,180,%00000101,0 Connecting door set 221
27400 DEFB 225,181,%00000101,84 Connecting door set 222
27404 DEFB 181,230,%00000101,0 Connecting door set 223
27408 DEFB 182,227,%00000101,0 Connecting door set 224
27412 DEFB 226,182,%00000101,96 Connecting door set 225
27416 DEFB 182,187,%00000010,96 Connecting door set 226
27420 DEFB 182,186,%00000010,96 Connecting door set 227
27424 DEFB 182,185,%00000010,0 Connecting door set 228
27428 DEFB 182,184,%00000010,0 Connecting door set 229
27432 DEFB 182,183,%00000010,5 Connecting door set 230
27436 DEFB 189,190,%00000101,0 Connecting door set 231
27440 DEFB 188,189,%00000101,0 Connecting door set 232
27444 DEFB 189,194,%00000101,0 Connecting door set 233
27448 DEFB 189,193,%00000101,0 Connecting door set 234
27452 DEFB 189,191,%00000101,0 Connecting door set 235
27456 DEFB 194,195,%00000101,0 Connecting door set 236
27460 DEFB 195,224,%00000101,0 Connecting door set 237
27464 DEFB 193,227,%00000101,0 Connecting door set 238
27468 DEFB 192,228,%00000101,0 Connecting door set 239
27472 DEFB 191,192,%00000101,0 Connecting door set 240
27476 DEFB 196,197,%00000010,0 Connecting door set 241
27480 DEFB 197,198,%00000010,0 Connecting door set 242
27484 DEFB 198,199,%00000101,1 Connecting door set 243
27488 DEFB 199,200,%00000101,0 Connecting door set 244
27492 DEFB 200,201,%00000101,1 Connecting door set 245
27496 DEFB 201,226,%00000101,0 Connecting door set 246
27500 DEFB 199,202,%00000101,1 Connecting door set 247
27504 DEFB 202,203,%00000101,0 Connecting door set 248
27508 DEFB 203,206,%00000010,0 Connecting door set 249
27512 DEFB 203,204,%00000101,0 Connecting door set 250
27516 DEFB 204,205,%00000101,0 Connecting door set 251
27520 DEFB 206,209,%00000101,0 Connecting door set 252
27524 DEFB 206,207,%00000101,0 Connecting door set 253
27528 DEFB 30,224,%00000101,20 Connecting door set 254
Prev: 26384 Up: Map Next: 27532