Prev: B6BB Up: Map Next: B6CE
B6C0: A footstep for a creature's lower half
Used by the routine at LOWER_HALF.
Called by LOWER_HALF with its own record, whose graphic is always 11: odd, so the RET at the top is always taken and the footstep never sounds (the sessions never ran the rest). What it would play is FOOTSTEP's footstep at a fixed pitch of 128 on alternate pairs of turns, the complement of the turn counter where the robot's uses the counter itself. Knight Lore's audio_guard_wizard, where the walkers' graphics change.
Input
IX the object
LOWER_HALF_STEP B6C0 LD A,(IX+$00) only on an even graphic: never
B6C3 AND $01
B6C5 RET NZ
B6C6 LD B,$80 a pitch of 128, and the turn counter inverted
B6C8 LD A,(TURNS)
B6CB CPL
B6CC JR FOOTSTEP_PITCH
Prev: B6BB Up: Map Next: B6CE