Prev: AFD1 Up: Map Next: B01D
B001: Draw hero body (torso + leg animation dispatch)
Draws the torso frame with the current CHARS, then switches to the leg
tileset ($C250) and draws the first leg frame. Resets the leg animation
counter (var_leg_frame) to 0.
draw_hero B001 LD HL,$B0A9 Draw torso frame frame_hero_torso (current CHARS)
B004 CALL draw_frame
B007 LD HL,$5C36 Set CHARS=$C250 (leg animation tileset)
B00A LD A,$50
B00C LD (HL),A
B00D INC HL
B00E LD A,$C2
B010 LD (HL),A
B011 LD HL,$B0E4 Draw leg frame frame_hero_legs_1 (frame 1)
B014 CALL draw_frame
B017 LD A,$00 Reset leg animation counter (var_leg_frame) to 0
B019 LD ($C34E),A
B01C RET
Prev: AFD1 Up: Map Next: B01D