Prev: CFD9 Up: Map Next: D08A
D079: Increase the height fallen and adjust position
Used by the routine at CFD9.
D079 LD HL,$C876 Point HL at the height fallen. (C876)
D07C LD A,(HL) Is the value FF?
D07D CP $FF
D07F JR NZ,$D083 Jump forward if it isn't.
D081 LD (HL),$1C Otherwise reset to 1C.
D083 INC (HL) Increase the height.
D084 CALL $D607 Update falling through the air.
D087 JP $D1CE Redraw Dan and check for any collision detection.
Prev: CFD9 Up: Map Next: D08A