Prev: 58439 Up: Map Next: 58701
58677: Human: Draw Sprite
Fetch the humans screen co-ordinates and draw the sprite to the shadow buffer.
Draw_Human_Sprite_Mirrored 58677 INC HL Increment human table pointer by one to fetch the screen co-ordinates.
58678 LD C,(HL) C=*HL.
58679 INC HL Increment HL by one.
58680 LD B,(HL) B=*HL.
58681 INC HL Increment HL by one.
58682 PUSH HL Stash the human table pointer on the stack.
58683 CALL PrintSprite_Mirrored Call PrintSprite_Mirrored.
58686 POP HL Restore the human table pointer from the stack.
58687 JR Handler_Humans_Next Jump to Handler_Humans_Next.
Fetch the humans screen co-ordinates and draw the sprite to the shadow buffer.
Draw_Human_Sprite 58689 INC HL Increment human table pointer by one to fetch the screen co-ordinates.
58690 LD C,(HL) C=*HL.
58691 INC HL Increment HL by one.
58692 LD B,(HL) B=*HL.
58693 INC HL Increment HL by one.
58694 PUSH HL Stash the human table pointer on the stack.
58695 CALL PrintSprite Call PrintSprite.
58698 POP HL Restore the human table pointer from the stack.
58699 JR Handler_Humans_Next Jump to Handler_Humans_Next.
Prev: 58439 Up: Map Next: 58701