![]()  | 
Routines | 
| Prev: 51398 | Up: Map | Next: 51497 | 
| 51439 | LD A,(41012) | Jump to 51468 if *RoomDisplayParameter is greater than or equal to 254. | ||
| 51442 | CP 254 | |||
| 51444 | JR NC,51468 | |||
| 51446 | LD A,(40975) | Compare *40975 with 5. | ||
| 51449 | CP 5 | |||
| 51451 | LD A,(41012) | A=*RoomDisplayParameter. | ||
| 51454 | JR NC,51461 | Jump to 51461 if *40975 is greater than or equal to 5. | ||
| 51456 | CALL FetchLocationDataPointer | Call FetchLocationDataPointer. | ||
| 51459 | JR 51464 | Jump to 51464. | ||
| 51461 | CALL FetchObjectDataPointer | Call FetchObjectDataPointer. | ||
| 51464 | LD (40979),IX | Write IX to *40979. | ||
| 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,51489 | Jump to 51489 if *40976 is greater than or equal to 5. | ||
| 51484 | CALL FetchLocationDataPointer | Call FetchLocationDataPointer. | ||
| 51487 | JR 51492 | Jump to 51492. | ||
| 51489 | CALL FetchObjectDataPointer | Call FetchObjectDataPointer. | ||
| 51492 | LD (40981),IX | Write IX to *40981. | ||
| 51496 | RET | Return. | ||
| Prev: 51398 | Up: Map | Next: 51497 |