Prev: 31720 Up: Map Next: 31733
31723: Update the SRB for ERIC or his pellet and scroll the screen if necessary
Used by the routine at 29194. Updates the screen refresh buffer (SRB) for ERIC's new animatory state and location when he's riding the bike, or ERIC's pellet's new location as it flies through the air.
A ERIC's/pellet's new animatory state
D ERIC's/pellet's new y-coordinate
E ERIC's/pellet's new x-coordinate
H Character number: 210 (ERIC) or 214 (ERIC's pellet)
31723 CALL 24880 Update the animatory state and location of ERIC or his pellet and update the SRB
31726 LD A,H A=character number
31727 CP 210 Is this ERIC?
31729 RET NZ Return if not
31730 JP 28178 Scroll the screen if necessary
Prev: 31720 Up: Map Next: 31733