![]() |
Routines |
| Prev: C4C6 | Up: Map | Next: C4D8 |
|
Used by the routine at upd_103.
This is the whole handler for types 128 to 130: they only need their drawing offset set. upd_103 calls it too.
A note that applies to all the routines from here to adj_p3_m12: +$12 and +$13 of an object record are added to the pixel position that calc_pixel_XY projects from its x, y and z, to line the sprite's picture up with the object's position in the room. X is pixels right and Y pixels up, so the usual negative values move the sprite left and down. The tcdev names that start adj_ give the Y value first: adj_m6_m12 is Y -6, X -12.
|
||||
| upd_128_to_130 | C4D3 | LD HL,$FEF8 | ||
| C4D6 | JR jp_set_pixel_adj | |||
| Prev: C4C6 | Up: Map | Next: C4D8 |