Routines |
Prev: 47397 | Up: Map | Next: 47412 |
Used by the routine at GetEntitySprite.
|
||||||||||||
GetSpriteAddress | 47400 | LD L,A | Create an offset in HL. | |||||||||
47401 | LD H,0 | |||||||||||
47403 | ADD HL,HL | HL=HL * 2. | ||||||||||
47404 | LD BC,49028 | HL=SpritesTable + offset. | ||||||||||
47407 | ADD HL,BC | |||||||||||
47408 | LD E,(HL) | DE=the sprite address. | ||||||||||
47409 | INC HL | |||||||||||
47410 | LD D,(HL) | |||||||||||
47411 | RET | Return. | ||||||||||
View the equivalent code in;
|
Prev: 47397 | Up: Map | Next: 47412 |