![]() |
Routines |
| Prev: 51398 | Up: Map | Next: 51497 |
|
Used by the routines at ProcessObjectDisplayLogic and ProcessObjectDisplayWithPointer.
|
||||
| SetObjectPointers | 51439 | LD A,(41012) | Jump to SetObjectPointers_2 if *RoomDisplayParameter is greater than or equal to 254. | |
| 51442 | CP 254 | |||
| 51444 | JR NC,SetObjectPointers_2 | |||
| 51446 | LD A,(40975) | Compare *DisplayMode with 5. | ||
| 51449 | CP 5 | |||
| 51451 | LD A,(41012) | A=*RoomDisplayParameter. | ||
| 51454 | JR NC,SetObjectPointers_0 | Jump to SetObjectPointers_0 if *DisplayMode is greater than or equal to 5. | ||
| 51456 | CALL FetchLocationDataPointer | Call FetchLocationDataPointer. | ||
| 51459 | JR SetObjectPointers_1 | Jump to SetObjectPointers_1. | ||
| SetObjectPointers_0 | 51461 | CALL FetchObjectDataPointer | Call FetchObjectDataPointer. | |
| SetObjectPointers_1 | 51464 | LD (40979),IX | Write IX to *40979. | |
| SetObjectPointers_2 | 51468 | LD A,(41013) | Return if *RoomGraphicsParameter is greater than 254. | |
| 51471 | CP 254 | |||
| 51473 | RET NC | |||
| 51474 | LD A,(40976) | Compare *40976 with 5. | ||
| 51477 | CP 5 | |||
| 51479 | LD A,(41013) | A=*RoomGraphicsParameter. | ||
| 51482 | JR NC,SetObjectPointers_3 | Jump to SetObjectPointers_3 if *40976 is greater than or equal to 5. | ||
| 51484 | CALL FetchLocationDataPointer | Call FetchLocationDataPointer. | ||
| 51487 | JR SetObjectPointers_4 | Jump to SetObjectPointers_4. | ||
| SetObjectPointers_3 | 51489 | CALL FetchObjectDataPointer | Call FetchObjectDataPointer. | |
| SetObjectPointers_4 | 51492 | LD (40981),IX | Write IX to *40981. | |
| 51496 | RET | Return. | ||
| Prev: 51398 | Up: Map | Next: 51497 |