![]() |
Routines |
| Prev: 34151 | Up: Map | Next: 34174 |
|
||||||||||||||
| 34160 | ADD A,A | Multiply index by eight... | ||||||||||||
| 34161 | ADD A,A | ... | ||||||||||||
| 34162 | LD L,A | ... | ||||||||||||
| 34163 | LD H,0 | ... | ||||||||||||
| 34165 | ADD HL,HL | ...and load into HL | ||||||||||||
| 34166 | LD D,0 | Add value of E (e.g. 6 for attribute)... | ||||||||||||
| 34168 | ADD HL,DE | ... | ||||||||||||
| 34169 | LD DE,42242 | Point DE at start of object properties table... | ||||||||||||
| 34172 | ADD HL,DE | ...and add into HL to point to property "E" | ||||||||||||
| 34173 | RET | Return | ||||||||||||
| Prev: 34151 | Up: Map | Next: 34174 |