![]() |
Routines |
| Prev: BCCA | Up: Map | Next: BD62 |
|
Used by the routines at HandleOutlawGun, HandleMuzzleFlash, HandleBulletHole and HandleSingleFrameObject.
Draws the sprites of an object which does not move with the town: the objects of the duel and the ones which stay in one place on the screen. The position of the object, which is a single byte for each direction, is where its sprites are drawn from. This routine also counts the object as drawn, which means that the stage is still running.
|
||||||||
| DrawObject | BD52 | LD H,$00 | Clear H. | |||||
| BD54 | LD L,(IX+$02) | Fetch the horizontal position of the object. | ||||||
| BD57 | LD ($A24E),HL | Set the horizontal position for drawing. | ||||||
| BD5A | LD L,(IX+$04) | Fetch the vertical position of the object. | ||||||
| BD5D | LD ($A250),HL | Set the vertical position for drawing. | ||||||
| BD60 | JR DrawScrollingObject_CountDrawn | Jump to count the object and draw it. | ||||||
| Prev: BCCA | Up: Map | Next: BD62 |