Prev: 6A61 Up: Map Next: 6CCC
6C83: Waterfall Action Function.
Used by the routine at Vector_HeroInit.
ActionWaterfall 6C83 LD A,(CamDirection_DFD2)
6C86 BIT 0,A
6C88 JR Z,ActionWaterfall_2
6C8A LD HL,(ManData_PosPrimary_dfc3)
6C8D LD E,(IX+$05)
This entry point is used by the routine at 6A61.
ActionWaterfall_0 6C90 LD D,(IX+$06)
This entry point is used by the routine at 6A61.
ActionWaterfall_1 6C93 CALL Vector_ABS(hl_minus_de)
6C96 LD DE,$0022
6C99 AND A
6C9A SBC HL,DE
6C9C JR C,ActionWaterfall_3
6C9E RET Z
ActionWaterfall_2 6C9F LD (IX+$0B),$00
6CA3 RET
ActionWaterfall_3 6CA4 LD (IX+$0B),$54
6CA8 LD (IX+$09),$08
6CAC LD (IX+$0C),$01
6CB0 LD A,(IX+$0E)
6CB3 XOR $80
6CB5 LD (IX+$0E),A
6CB8 LD A,(BmpData_Waterfall_width)
6CBB XOR (IX+$0E)
6CBE AND $80
6CC0 JP Z,Vector_SpriteBlit
6CC3 LD HL,$0054
6CC6 CALL Vector_BitmapMirror
6CC9 JP Vector_SpriteBlit
Prev: 6A61 Up: Map Next: 6CCC