![]() |
Routines |
| Prev: B4A8 | Up: Map | Next: B4BB |
|
Used by the routine at upd_144_to_149_152_to_157.
Plays on every other frame of the walk cycle. It alternates between a fixed pitch and one set by the walker's height, by bit 1 of the complemented frame counter, which gives the tick-tock of two feet; the number of waves comes from X and Y. Sabreman's steps, sound_walk_step, use the frame counter uncomplemented, so his two pitches alternate the other way round.
|
||||||||
| audio_guard_wizard | B4AD | LD A,(IX+$00) | only on even walking frames | |||||
| B4B0 | AND $01 | |||||||
| B4B2 | RET NZ | |||||||
| B4B3 | LD B,$80 | |||||||
| B4B5 | LD A,($5BA2) | |||||||
| B4B8 | CPL | |||||||
| B4B9 | JR footstep_pitch | |||||||
| Prev: B4A8 | Up: Map | Next: B4BB |