Routines |
Prev: EC34 | Up: Map | Next: EC4A |
|
||||||||
EC3D | LD B,(HL) | Put the first byte in B as the object number. | ||||||
EC3E | INC HL | Put the second byte in A as the target object ID. | ||||||
EC3F | LD A,(HL) | |||||||
EC40 | INC HL | Move to the next part of the buffer for future use, and store it. | ||||||
EC41 | PUSH HL | |||||||
EC42 | PUSH AF | Get the current object data for this room in HL. | ||||||
EC43 | CALL $AA8C | |||||||
EC46 | POP AF | |||||||
EC47 | CP (HL) | Set the zero flag if the ID matches. | ||||||
EC48 | POP HL | Restore the active buffer pointer in HL and return. | ||||||
EC49 | RET |
Prev: EC34 | Up: Map | Next: EC4A |