![]() |
Routines |
| Prev: 44729 | Up: Map | Next: 44886 |
|
Used by the routine at Handle_Plain_Decoration.
Handler for the object types 44 to 47 (rocks) and 84 (spikes). These objects never move, so the sprite is only drawn when the room is drawn. On every other pass the routine just sets the attributes again (see ColourEntity).
An object of type 84 also lets out a bubble now and then (see Release_Bubble).
|
||||||||
| Handle_Static_Object | 44863 | BIT 0,(IX+15) | Jump to Handle_Static_Object_Draw if the object has just been created (bit 0 of the redraw flags is set). | |||||
| 44867 | JR NZ,Handle_Static_Object_Draw | |||||||
| 44869 | LD A,(IX+0) | Fetch the type of the object. | ||||||
| 44872 | CP 84 | Call Release_Bubble to let out a bubble if the type is 84. | ||||||
| 44874 | CALL Z,Release_Bubble | |||||||
| 44877 | CALL PrepDraw2 | Prepare the sprite of the object. | ||||||
| 44880 | JP ColourEntity | Jump to ColourEntity. | ||||||
| Handle_Static_Object_Draw | 44883 | JP Update_Object_Sprite | Jump to Update_Object_Sprite. | |||||
| Prev: 44729 | Up: Map | Next: 44886 |