Prev: 26601 Up: Map Next: 26662
26624: Routine at 6800
Used by the routines at GameInitialisation and 28184.
26624 LD (30745),A Write A to *30745.
26627 LD A,L L-=8.
26628 SUB 8
26630 LD L,A
26631 JR NC,26637 Jump to 26637 if {} is higher.
26633 LD A,H H-=5.
26634 SUB 5
26636 LD H,A
26637 LD (30743),HL Write HL to *30743.
26640 LD HL,0 Write 0000 to *30740.
26643 LD (30740),HL
26646 LD B,32 B=32 (counter; screen columns).
26648 PUSH BC Stash the screen column counter on the stack.
26649 CALL ScrollPlayarea Call ScrollPlayarea.
26652 CALL ScrollPlayarea Call ScrollPlayarea.
26655 CALL DrawPlayarea Call DrawPlayarea.
26658 POP BC Restore the screen column counter from the stack.
26659 DJNZ 26648 Decrease the screen column counter by one and loop back to 26648 until counter is zero.
26661 RET Return.
Prev: 26601 Up: Map Next: 26662