Routines

25012: Update SRB for current animatory state and location of character


Used by several routines

H Character number (183-214)

25012 2E02 LD L,2
25014 56 LD D,(HL) Pick up y-coordinate of character (3-17)
25015 2D DEC L
25016 5E LD E,(HL) Pick up x-coordinate of character (0-189)
25017 2D DEC L
25018 4E LD C,(HL) Pick up character's animatory state
25019 D5 PUSH DE
25020 CD3861 CALL 24888 Set the appropriate bits in the screen refresh buffer
25023 D1 POP DE
25024 7E LD A,(HL) A=character's animatory state
25025 C9 RET