Prev: E713 Up: Map Next: E75D
E741: Routine at E741
Used by the routine at E2DA.
E741 LD A,($E2C7) Jump to E74A if *Item_ID is less than 15 (unsigned comparison).
E744 CP $15
E746 JP M,$E74A
E749 RET Return.
E74A LD HL,$E293 HL=Table_Tiles.
E74D LD B,$00 B=00.
E74F LD A,($D826) A=*D826.
E752 LD C,A C=A.
E753 INC A Increment A by one.
E754 LD ($D826),A Write A to *D826.
E757 ADD HL,BC HL+=BC.
E758 LD A,($E2C7) Write *Item_ID to *HL.
E75B LD (HL),A
E75C RET Return.
Prev: E713 Up: Map Next: E75D