Prev: 7CF3 Up: Map Next: 7DA5
7D27: Routine at 7D27
Used by the routine at Screen_Update.
7D27 INC HL
7D28 INC HL
7D29 LD A,(HL)
7D2A AND A
7D2B JR Z,Screen_Update_0
7D2D CP $16
7D2F JR Z,Screen_Update_0
7D31 LD C,$0A
7D33 LD DE,$4000
7D36 CP $0C
7D38 JR NC,$7D91
7D3A LD B,A
7D3B JR $7D4C
7D3D PUSH BC
7D3E LD HL,(_c8a8)
7D41 CALL Lift_SceneDraw
7D44 LD A,D
7D45 ADD A,$07
7D47 AND $F8
7D49 LD D,A
7D4A POP BC
7D4B DEC C
7D4C DJNZ $7D3D
7D4E LD A,C
7D4F AND A
7D50 JR Z,Screen_Update_1
7D52 PUSH BC
7D53 LD HL,Mem_zeroes
7D56 CALL Lift_SceneDraw
7D59 LD A,D
7D5A ADD A,$07
7D5C AND $F8
7D5E LD D,A
7D5F POP BC
7D60 DEC C
7D61 JR Z,Screen_Update_1
7D63 LD HL,Stage_offscreen
7D66 LD B,C
7D67 PUSH BC
7D68 LD A,$01
7D6A CALL Blit_Block
7D6D LD A,D
7D6E ADD A,$07
7D70 AND $F8
7D72 LD D,A
7D73 POP BC
7D74 DEC C
7D75 DJNZ $7D67
7D77 LD A,C
7D78 AND A
7D79 JP Z,Screen_Update_1
7D7C PUSH BC
7D7D LD HL,Mem_zeroes
7D80 CALL Lift_SceneDraw
7D83 LD A,D
7D84 ADD A,$07
7D86 AND $F8
7D88 LD D,A
7D89 POP BC
7D8A DEC C
7D8B JR Z,Screen_Update_1
7D8D LD B,C
7D8E JP $7D3D
7D91 SUB $0C
7D93 JR Z,$7D77
7D95 LD B,A
7D96 LD HL,$6909
7D99 LD DE,$FEF0
7D9C ADD HL,DE
7D9D DJNZ $7D9C
7D9F LD B,A
7DA0 LD DE,$4000
7DA3 JR $7D67
Prev: 7CF3 Up: Map Next: 7DA5