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.
26648 PUSH BC Stash BC on the stack.
26649 CALL 26012 Call 26012.
26652 CALL 26012 Call 26012.
26655 CALL Controller_ScrollPlayarea Call Controller_ScrollPlayarea.
26658 POP BC Restore BC from the stack.
26659 DJNZ 26648 Decrease counter by one and loop back to 26648 until counter is zero.
26661 RET Return.
Prev: 26601 Up: Map Next: 26662