Routines |
Prev: 25303 | Up: Map | Next: 25373 |
Continues from 25266. So far, byte 123 and bit 7 of byte 122 of the character's buffer have been adjusted to designate a new period of walking or running. All that remains is to ensure that bit 7 of byte 122 is set if the character is a teacher (teachers usually walk slowly).
|
||||||||||||
25367 | AND 80 | Check bit 6 (always reset) and bit 4 (set for teachers) of byte 122, and return (to move the character) if both are reset | ||||||||||
25369 | RET Z | |||||||||||
25370 | SET 7,(HL) | Signal: walk slowly (the norm for teachers) | ||||||||||
25372 | RET | Return to the routine at 25126 to move the character |
Prev: 25303 | Up: Map | Next: 25373 |