Routines |
Prev: 47073 | Up: Map | Next: 47217 |
Used by the routine at Animation_ThrowingDart.
|
|||||
Plays through frames; 1, 2, 3, 3, 2, 1.
|
|||||
Animation_BarMaid | 47165 | LD DE,50980 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_01. | ||
47168 | CALL Print_BarMaid_Frame | ||||
47171 | LD DE,51076 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_02. | |||
47174 | CALL Print_BarMaid_Frame | ||||
47177 | LD DE,51172 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_03. | |||
47180 | CALL Print_BarMaid_Frame | ||||
47183 | LD DE,51172 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_03. | |||
47186 | CALL Print_BarMaid_Frame | ||||
47189 | LD DE,51076 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_02. | |||
47192 | CALL Print_BarMaid_Frame | ||||
47195 | LD DE,50980 | Call Print_BarMaid_Frame with DE=Graphics_BarMaid_01. | |||
47198 | CALL Print_BarMaid_Frame | ||||
47201 | LD B,10 | Set a counter in B for the number of times to move the pint graphic across the screen (10 times). | |||
47203 | LD HL,18448 | Set the initial screen buffer location in HL of where the pint will first appear. | |||
Pint_Loop | 47206 | PUSH BC | Stash the movement counter and screen buffer pointer on the stack. | ||
47207 | PUSH HL | ||||
47208 | CALL Print_Pint_Frame | Call Print_Pint_Frame. | |||
47211 | POP HL | Restore the screen buffer pointer and movement counter from the stack. | |||
47212 | POP BC | ||||
47213 | DEC L | Move the pint graphic left by one character block. | |||
47214 | DJNZ Pint_Loop | Decrease the movement counter by one and loop back to Pint_Loop until the pint is at its destination position. | |||
47216 | RET | Return. |
Prev: 47073 | Up: Map | Next: 47217 |