Routines
Prev:
CFD2
Up:
Map
Next:
D07B
D071: Set up a walk through the room's 48 object records
Used by the routines at
BAN_DROPS
,
WELL
and
BUCKET
.
For a loop of the form test (IY+n), ADD IY,DE, DJNZ.
Output
IY
the first of the room's records, ROOM_OBJECTS
DE
32, the size of a record
B
48, the number of them
ROOM_OBJECT_LOOP
D071
LD DE,$0020
DE = 32, IY = ROOM_OBJECTS, B = 48
D074
LD IY,
ROOM_OBJECTS
D078
LD B,$30
D07A
RET
Prev:
CFD2
Up:
Map
Next:
D07B