Pyjamarama | Routines |
Prev: 8B95 | Up: Map |
Used by the routine at Demo.
|
|||||||
Displays rocket taking off by shifting on screen image.
|
|||||||
Action11_LiftOffFromMoon | 8BB1 | PUSH HL | |||||
8BB2 | LD A,$80 | Number of times to animate rocket. | |||||
8BB4 | LD ($8BD1),A | ||||||
8BB7 | DEC A | Height of rocket. | |||||
8BB8 | LD ($8BD3),A | ||||||
8BBB | LD HL,DF_lookup_Row5 | Sets area of screen, where the rocket is, to shift. | |||||
8BBE | LD ($8BD6),HL | ||||||
8BC1 | LD HL,$0000 | Offset for X position of rocket on screen. | |||||
8BC4 | LD ($8BE0),HL | ||||||
8BC7 | LD ($8BEB),HL | ||||||
8BCA | JP Action_LiftRocket | Now shift rocket. |
Prev: 8B95 | Up: Map |