![]() |
Routines |
| Prev: 60233 | Up: Map | Next: 60376 |
|
Used by the routine at Handler_Player.
|
||||
| Handler_UnlockDoor | 60301 | LD A,5 | Write 5 to *SoundFlag_General. | |
| 60303 | LD (65534),A | |||
| 60306 | PUSH IX | Stash IX on the stack. | ||
| 60308 | PUSH HL | IX=HL (using the stack). | ||
| 60309 | POP IX | |||
| 60311 | PUSH BC | Stash BC and DE on the stack. | ||
| 60312 | PUSH DE | |||
| 60313 | LD C,(IX+0) | C=*IX+0. | ||
| 60316 | LD B,(IX+1) | B=*IX+1. | ||
| 60319 | DEC B | Decrease B by one. | ||
| 60320 | LD (IX+5),0 | Write 0 to *IX+5. | ||
| 60324 | PUSH BC | Stash BC on the stack. | ||
| 60325 | PUSH IX | Stash IX on the stack. | ||
| 60327 | LD DE,50 | DE=0050. | ||
| 60330 | LD HL,200 | HL=0200. | ||
| 60333 | CALL 949 | Call BEEPER. | ||
| 60336 | POP IX | Restore IX from the stack. | ||
| 60338 | POP BC | Restore BC from the stack. | ||
| 60339 | LD HL,(23606) | Stash *CHARS on the stack. | ||
| 60342 | PUSH HL | |||
| 60343 | LD HL,40812 | Write 40812 (Graphics_MaskSprite) to *CHARS. | ||
| 60346 | LD (23606),HL | |||
| 60349 | LD D,4 | DE=Set the sprite width/ height (1/ 4). | ||
| 60351 | LD E,1 | |||
| 60353 | LD A,0 | A=0. | ||
| 60355 | CALL 59183 | Call 59183. | ||
| 60358 | LD A,32 | A=32. | ||
| 60360 | CALL PrintSprite | Call PrintSprite. | ||
| 60363 | POP HL | Restore the previous value of *CHARS from the stack. | ||
| 60364 | LD (23606),HL | |||
| 60367 | POP DE | Restore DE, BC and IX from the stack. | ||
| 60368 | POP BC | |||
| 60369 | POP IX | |||
| 60371 | LD (IX+16),0 | Write 0 to *IX+16. | ||
| 60375 | RET | Return. | ||
| Prev: 60233 | Up: Map | Next: 60376 |