Routines |
Prev: 59155 | Up: Map | Next: 59229 |
Used by the routine at 58074.
|
||||
59201 | LD A,(58055) | Jump to 59210 if *Item_ID is less than 21 (unsigned comparison). | ||
59204 | CP 21 | |||
59206 | JP M,59210 | |||
59209 | RET | Return. | ||
59210 | LD HL,58003 | HL=Table_Tiles. | ||
59213 | LD B,0 | B=0. | ||
59215 | LD A,(55334) | A=*55334. | ||
59218 | LD C,A | C=A. | ||
59219 | INC A | Increment A by one. | ||
59220 | LD (55334),A | Write A to *55334. | ||
59223 | ADD HL,BC | HL+=BC. | ||
59224 | LD A,(58055) | Write *Item_ID to *HL. | ||
59227 | LD (HL),A | |||
59228 | RET | Return. |
Prev: 59155 | Up: Map | Next: 59229 |