![]() |
Routines |
Prev: 25106 | Up: Map | Next: 25126 |
Used by many routines. Updates the screen refresh buffer (SRB) for a character's current animatory state and location. Returns with the character's current coordinates in DE and animatory state in A.
|
||||
25108 | LD L,96 | Point HL at byte 96 of the character's buffer | ||
25110 | LD B,(HL) | B=character's animatory state | ||
25111 | INC L | L=97 | ||
25112 | LD D,(HL) | D=character's y-coordinate (154-169) | ||
25113 | INC L | L=98 | ||
25114 | LD E,(HL) | E=character's x-coordinate (0-95) | ||
25115 | CALL 25016 | Update the SRB | ||
25118 | LD L,96 | Point HL at byte 96 of the character's buffer | ||
25120 | LD A,(HL) | A=character's animatory state | ||
25121 | INC L | L=97 | ||
25122 | LD D,(HL) | D=character's y-coordinate (155-169) | ||
25123 | INC L | L=98 | ||
25124 | LD E,(HL) | E=character's x-coordinate (0-95) | ||
25125 | RET |
Prev: 25106 | Up: Map | Next: 25126 |