Prev: 5ECF Up: Map Next: 600E
5F71: Routine at 5F71
Used by the routine at HeroInputHandle.
5F71 LD HL,$40BF
5F74 JR $5F79
This entry point is used by the routine at HeroInputHandle.
5F76 LD HL,$40FF
5F79 LD C,$08
5F7B PUSH HL
5F7C XOR A
5F7D LD B,$04
5F7F RLD
5F81 DEC HL
5F82 RLD
5F84 DEC HL
5F85 RLD
5F87 DEC HL
5F88 RLD
5F8A DEC HL
5F8B RLD
5F8D DEC HL
5F8E RLD
5F90 DEC HL
5F91 RLD
5F93 DEC HL
5F94 RLD
5F96 DEC HL
5F97 DJNZ $5F7F
5F99 POP HL
5F9A OR (HL)
5F9B LD (HL),A
5F9C INC H
5F9D DEC C
5F9E JR NZ,$5F7B
5FA0 RET
This entry point is used by the routine at HeroInputHandle.
5FA1 LD HL,(ManData_PosSecondary_dfc5)
5FA4 LD A,(CamDirection_DFD2)
5FA7 AND $01
5FA9 JR Z,$5FAE
5FAB LD HL,(ManData_PosPrimary_dfc3)
5FAE BIT 0,L
5FB0 LD HL,$F608
5FB3 LD IX,OffsetRectsA
5FB7 CALL Z,Vector_Screen_DrawColumn
5FBA LD HL,(CamDirection_DFD2)
5FBD LD H,$00
5FBF ADD HL,HL
5FC0 LD BC,Vector_MovePositionB
5FC3 ADD HL,BC
5FC4 CALL Call_HL
5FC7 LD DE,$0005
5FCA AND A
5FCB SBC HL,DE
5FCD JR Z,$5FD7
5FCF LD DE,$01F6
5FD2 AND A
5FD3 SBC HL,DE
5FD5 JR NZ,$5FDA
5FD7 CALL $61B8
5FDA LD C,$02
5FDC LD HL,$F608
5FDF LD B,$88
5FE1 RRD
5FE3 INC HL
5FE4 RRD
5FE6 INC HL
5FE7 RRD
5FE9 INC HL
5FEA RRD
5FEC INC HL
5FED RRD
5FEF INC HL
5FF0 RRD
5FF2 INC HL
5FF3 RRD
5FF5 INC HL
5FF6 RRD
5FF8 INC HL
5FF9 DJNZ $5FE1
5FFB DEC C
5FFC JR NZ,$5FDF
5FFE POP IX
6000 LD A,(BgType)
6003 CP $01
6005 JR Z,$603B
6007 CP $02
6009 JR Z,$6040
600B LD HL,$40DF
Prev: 5ECF Up: Map Next: 600E