Startup code

20956: Walk character to middle of screen or off screen


Used by routine at 21152

20956 0628 LD B,40
20958 C5 PUSH BC
20959 26D2 LD H,210
20961 CDB461 CALL 25012 Update SRB for current AS of character
20964 3C INC A
20965 E6FB AND 251
20967 CB47 BIT 0,A
20969 2001 JR NZ,20972
20971 1C INC E Forward a pace
20972 CD3061 CALL 24880 Update SRB for new AS of character
20975 CDA062 CALL 25248 Print the character in the new location
20978 CDAB53 CALL 21419 Make a walking sound
20981 0E64 LD C,100 Wait a bit
20983 10FE DJNZ 20983
20985 0D DEC C
20986 20FB JR NZ,20983
20988 C1 POP BC
20989 10DF DJNZ 20958
20991 C9 RET