![]() |
Routines |
| Prev: 50845 | Up: Map | Next: 50877 |
|
Used by the routine at HandlePortcullis.
Starts a portcullis rising, on one frame in thirty-two.
|
||||||||
| StartPortcullisRising | 50861 | LD A,(23461) | Fetch the second random seed from RandomSeed2. | |||||
| 50864 | AND %00011111 | Keep the lowest five bits. | ||||||
| 50866 | RET NZ | Return unless it is the time to set off. | ||||||
| 50867 | SET 0,(IX+0) | Change the graphic of the portcullis to the moving one. | ||||||
| 50871 | LD (IX+11),1 | Set the speed in Z to move it up. | ||||||
| 50875 | JR HandlePortcullis_Flag | Jump to HandlePortcullis_Flag. | ||||||
| Prev: 50845 | Up: Map | Next: 50877 |