Routines |
Prev: D986 | Up: Map | Next: D9BB |
Used by the routines at PrintSprite and PrintSprite_Mirrored.
|
||||||||||
InitialiseSprite | D9A9 | CALL GetSpriteInfo | Call GetSpriteInfo. | |||||||
D9AC | LD A,C | A=C. | ||||||||
D9AD | ADD A,(HL) | A+=*HL. | ||||||||
D9AE | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||||||||
D9AF | INC HL | Increment HL by one. | ||||||||
D9B0 | LD A,B | A=B. | ||||||||
D9B1 | ADD A,(HL) | A+=*HL. | ||||||||
D9B2 | INC HL | Increment HL by one. | ||||||||
D9B3 | LD E,(HL) | E=*HL. | ||||||||
D9B4 | INC HL | Increment HL by one. | ||||||||
D9B5 | LD D,(HL) | D=*HL. | ||||||||
D9B6 | INC HL | Increment HL by three. | ||||||||
D9B7 | INC HL | |||||||||
D9B8 | INC HL | |||||||||
D9B9 | EXX | Switch to the shadow registers. | ||||||||
D9BA | RET | Return. |
Prev: D986 | Up: Map | Next: D9BB |