Routines |
Prev: 59630 | Up: Map | Next: 59736 |
Copy a few spell-related bytes into game data buffers at 60227 and 60107:
|
||||
59689 | LD A,(60569) | Copy sprite frame number to data buffer | ||
59692 | LD (60240),A | |||
59695 | LD A,(60570) | Copy pre-graphics byte (for servant or flashing eye graphic) to data buffer | ||
59698 | LD (60239),A | |||
59701 | LD HL,(60564) | Copy graphics address pointer to data buffer | ||
59704 | LD (60241),HL | |||
59707 | CALL 58166 | Calculate graphic frame address to use for animated graphics | ||
59710 | LD A,(60240) | Copy graphic frame number to data buffer | ||
59713 | LD (60569),A | |||
59716 | CALL 56668 | Continue to print spell message text and Maroc's energy bar on scroll | ||
59719 | LD A,(60160) | Copy sprite horizontal position (in pixels) into buffer | ||
59722 | LD (60115),A | |||
59725 | LD A,(60159) | Copy sprite vertical position (in pixels) into buffer | ||
59728 | LD (60114),A | |||
59731 | LD A,1 | Graphic type = 1 | ||
59733 | LD (60227),A |
Prev: 59630 | Up: Map | Next: 59736 |