Prev: 37221 Up: Map Next: 37363
37322: ClearMessageRow
Blank the bottom message line: erase the 32 tile columns, black out the attribute row (with a red marker at column 0 priming the reveal sweep) and reset the display timer.
Used by the routine at 45401.
37322 LD HL,20704 the message line (row 23)
37325 LD (31257),HL
37328 LD B,32 blank all 32 columns
37330 PUSH BC
37331 XOR A (entering DrawSpriteRow past its
37332 CALL 31370 (DE) fetch draws tile A = blank)
37335 LD HL,31257
37338 INC (HL)
37339 POP BC
37340 DJNZ 37330
37342 LD HL,23264 attr row 23: a red block at col 0
37345 LD (HL),18 (the sweep cursor's start),
37347 LD (33710),HL MsgAttrPtr = col 0,
37350 INC HL
37351 LD B,31 and black over cols 1-31
37353 LD (HL),0
37355 INC HL
37356 DJNZ 37353
37358 LD HL,33709 display timer = 0
37361 LD (HL),B
37362 RET
Prev: 37221 Up: Map Next: 37363