Prev: 60AB Up: Map Next: 60EF
60AC: Initialise Hero
Used by the routines at Vector_HeroInit and HeroInputHandler.
HeroInit 60AC XOR A
60AD LD (DeathMode),A
60B0 LD A,$02
60B2 LD (ManCamDirection_DFD5),A
60B5 LD A,$01
60B7 LD (ManWalkDirection_DFD4),A
60BA LD HL,Zeros
60BD LD DE,ManData_FirstObjectCarried
60C0 LD BC,$0007
60C3 LDIR
60C5 LD DE,$DFCE
60C8 LD BC,$0004
60CB LDIR
60CD LD HL,$0064
60D0 LD (ManData_PosPrimary_dfc3),HL
60D3 LD HL,$008C
60D6 LD (ManData_PosSecondary_dfc5),HL
60D9 LD HL,$0013
60DC LD (Hero_Anim),HL
60DF LD A,$05
60E1 CALL AreaUpdateData
60E4 XOR A
60E5 LD (CamDirection_DFD2),A
60E8 CALL LocDescription
60EB CALL ScreenUpdate
60EE RET
Prev: 60AB Up: Map Next: 60EF