Prev: 26590 Up: Map Next: 26624
26601: Controller: Scroll Playarea
Used by the routines at 26624, 27308, 27648 and 28184.
Controller_ScrollPlayarea 26601 LD HL,30740 Return if *30740 is not equal to 2.
26604 LD A,(HL)
26605 CP 2
26607 RET NZ
26608 LD (HL),0 Write 0 to *HL.
26610 INC HL Increment HL by one.
26611 LD A,(HL) A=*HL.
26612 AND A Return if A is zero.
26613 RET Z
26614 LD (HL),0 Write 0 to *HL.
26616 CP 2 Jump to 26414 if A is equal to 2.
26618 JP Z,26414
26621 JP 26508 Jump to 26508.
Prev: 26590 Up: Map Next: 26624