Routines |
Prev: 43647 | Up: Map | Next: 43680 |
Used by the routines at Handler_Move_Characters, Handler_PickUpObjects, 60175, 60245, 60309, 60468 and 61121.
|
||||
Handler_ItemsCurrentRoom | 43660 | LD A,(IY+15) | A=*IY+15 (current room). | |
43663 | LD HL,48361 | HL=Items_TownSquare. | ||
43666 | CALL FindDataById | Call FindDataById. | ||
43669 | LD A,B | If B is zero jump to Handler_ItemsCurrentRoom_Return. | ||
43670 | OR A | |||
43671 | JR Z,Handler_ItemsCurrentRoom_Return | |||
Handler_ItemsCurrentRoom_Loop | 43673 | INC HL | Increment HL by four. | |
43674 | INC HL | |||
43675 | INC HL | |||
43676 | INC HL | |||
43677 | DJNZ Handler_ItemsCurrentRoom_Loop | Decrease counter by one and loop back to Handler_ItemsCurrentRoom_Loop until counter is zero. | ||
Handler_ItemsCurrentRoom_Return | 43679 | RET | Return. |
Prev: 43647 | Up: Map | Next: 43680 |