Prev: 67DE Up: Map Next: 6800
67E9: Controller: Scroll Playarea
Used by the routines at 6800, 6AAC, 6C00 and 6E18.
Controller_ScrollPlayarea 67E9 LD HL,$7814 Return if *7814 is not equal to 02.
67EC LD A,(HL)
67ED CP $02
67EF RET NZ
67F0 LD (HL),$00 Write 00 to *HL.
67F2 INC HL Increment HL by one.
67F3 LD A,(HL) A=*HL.
67F4 AND A Return if A is zero.
67F5 RET Z
67F6 LD (HL),$00 Write 00 to *HL.
67F8 CP $02 Jump to 672E if A is equal to 02.
67FA JP Z,$672E
67FD JP $678C Jump to 678C.
Prev: 67DE Up: Map Next: 6800