Prev: D432 Up: Map Next: D452
D44C: Start on the room's foreground objects
Used by the routine at next_bg_obj.
After the $FF come the foreground groups. IY becomes the pointer to the next free record here, because D is about to hold a location byte and HL and DE are both in use.
find_fg_objs D44C DEC B count the $FF
D44D PUSH IY IY = the next free record; the caller's IY kept on the stack
D44F PUSH DE
D450 POP IY
Prev: D432 Up: Map Next: D452