···280280 ret
281281282282GetNeighborRoomIndex::
283283+ ; REG_L = current_room => C
284284+ ; REG_E = direction => B
285285+ push de
286286+ push bc
287287+ push hl
288288+ ld b, e
289289+ ld c, l
290290+ ld a, b
291291+ ld hl, BIT_DOOR_NORTH
292292+ cp a, [hl]
293293+ jp nz, .FuncBody
294294+295295+.FuncBody
296296+ pop hl
297297+ pop bc
298298+ pop de
283299 ret
284300285301GetOppositeDirectionBit::