Routines

31723: Update SRB (and scroll screen if necessary when handling ERIC)


Used by routine at 29194

A Character's new animatory state
D Character's new y-coordinate
E Character's new x-coordinate
H Character number (183-210)

31723 CD3061 CALL 24880 Update SRB for the new animatory state and location of character
31726 7C LD A,H
31727 FED2 CP 210 Is this ERIC?
31729 C0 RET NZ Return if not
31730 C3126E JP 28178 Scroll screen if necessary