A dungeon delver roguelike using Pathfinder 2nd edition rules
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Beginning to implement get_neighbor_room_index

+16
+16
gb/src/dungeon.asm
··· 280 280 ret 281 281 282 282 GetNeighborRoomIndex:: 283 + ; REG_L = current_room => C 284 + ; REG_E = direction => B 285 + push de 286 + push bc 287 + push hl 288 + ld b, e 289 + ld c, l 290 + ld a, b 291 + ld hl, BIT_DOOR_NORTH 292 + cp a, [hl] 293 + jp nz, .FuncBody 294 + 295 + .FuncBody 296 + pop hl 297 + pop bc 298 + pop de 283 299 ret 284 300 285 301 GetOppositeDirectionBit::