Prev: 34152 Up: Map Next: 34190
34175: Fetch Actor Sprite
Same lookup as FetchSprite, but the index comes from the current actor type at *IX+0.
Input
IX Actor slot
Output
DE Sprite address
FetchActorSprite 34175 LD BC,47808 Point the sprite table at SpritesTable.
34178 LD A,(24226) Test LevelParity.
34181 AND A
34182 LD A,(IX+0) Fetch the actor type from *IX+0.
34185 CALL NZ,MapSpriteBand Call MapSpriteBand if this is an odd level.
34188 JR FetchSprite_Loop Jump to FetchSprite_Loop.
View the equivalent code in;
Prev: 34152 Up: Map Next: 34190