![]() |
Routines |
| Prev: 41814 | Up: Map | Next: 41895 |
|
Used by the routine at SetUpRoomObjects.
Finds the entries in the table of room objects which belong to the room an actor is in.
|
||||||||||||
| FindRoomObjects | 41884 | LD L,(IX+1) | Fetch the room of the actor. | |||||||||
| 41887 | LD H,0 | Clear H. | ||||||||||
| 41889 | ADD HL,HL | Double the room, as there are two entries for each room. | ||||||||||
| 41890 | LD BC,56812 | Point BC at the table of room objects at RoomObjectTable. | ||||||||||
| 41893 | ADD HL,BC | Add the table address to get the address of the entries for the room. | ||||||||||
| 41894 | RET | Return. | ||||||||||
| Prev: 41814 | Up: Map | Next: 41895 |