Routines |
Prev: 45315 | Up: Map | Next: 45418 |
Used by the routine at 45032.
|
||||
45359 | LD D,39 | D=39. | ||
45361 | LD A,(IX+1) | |||
45364 | ADD A,16 | |||
45366 | LD (IX+1),A | |||
45369 | LD L,A | Create an offset. | ||
45370 | LD H,0 | |||
45372 | LD BC,24678 | BC=Layout + offset. | ||
45375 | ADD HL,BC | |||
45376 | LD L,(HL) | |||
45377 | LD H,0 | |||
45379 | LD BC,24630 | BC=24630 + offset. | ||
45382 | ADD HL,BC | |||
45383 | LD E,(HL) | |||
This entry point is used by the routines at 45447 and 45483.
|
||||
45384 | LD A,(IX+0) | |||
45387 | SUB 16 | |||
45389 | CP 32 | |||
45391 | RET NC | |||
45392 | PUSH DE | Stash DE on the stack. | ||
45393 | CALL ClearPlayArea_Attributes | Call ClearPlayArea_Attributes. | ||
45396 | CALL ClearPlayArea | Call ClearPlayArea. | ||
45399 | CALL 48093 | Call 48093. | ||
45402 | CALL StoreEntity | Call StoreEntity. | ||
45405 | CALL DrawEntity | Call DrawEntity. | ||
45408 | CALL VisitRoom | Call VisitRoom. | ||
45411 | POP DE | Restore DE from the stack. | ||
45412 | LD A,128 | Write 128 to 38580. | ||
45414 | LD (38580),A | |||
45417 | RET | Return. |
Prev: 45315 | Up: Map | Next: 45418 |