Prev: 6A37 Up: Map Next: 6C83
6A61: Routine at 6A61
Used by the routine at Vector_HeroInit.
6A61 LD (IX+$08),$02
6A65 JR $6A6B
This entry point is used by the routine at Vector_HeroInit.
6A67 LD (IX+$08),$03
6A6B LD A,(IX+$0D)
6A6E AND A
6A6F JR NZ,$6AC8
6A71 LD A,(IX+$0A)
6A74 AND A
6A75 JR NZ,$6A9C
6A77 LD (IX+$0A),$01
6A7B LD A,(IX+$08)
6A7E CP $02
6A80 JR NZ,$6A8F
6A82 CALL Vector_DisplayWarning
6A85 DEFM "cernos!"
6A8C DEFB $5E
6A8D JR $6A9C
6A8F CALL Vector_DisplayWarning
6A92 DEFM "dhomnuil!"
6A9B DEFB $5E
6A9C LD HL,(ManData_PosSecondary_dfc5)
6A9F LD DE,$0084
6AA2 AND A
6AA3 SBC HL,DE
6AA5 RET NZ
6AA6 LD (IX+$0D),$01
6AAA LD (IX+$0A),$14
6AAE PUSH IX
6AB0 LD DE,$0005
6AB3 LD HL,$0154
6AB6 CALL $03B5
6AB9 POP IX
6ABB LD (IX+$05),$FF
6ABF LD (IX+$06),$30
6AC3 LD (IX+$07),$E4
6AC7 RET
6AC8 LD A,(CamDirection_DFD2)
6ACB CP (IX+$05)
6ACE JR Z,$6AE0
6AD0 LD (IX+$05),A
6AD3 LD B,$00
6AD5 LD C,$68
6AD7 LD HL,$00E0
6ADA LD A,($DFEE)
6ADD CALL Vector_BlitBitmap
6AE0 DEC (IX+$06)
6AE3 JR NZ,$6AFE
6AE5 LD A,(IX+$07)
6AE8 CP $E4
6AEA JR NZ,$6AF6
6AEC LD (IX+$07),$E1
6AF0 LD (IX+$06),$02
6AF4 JR $6AFE
6AF6 LD (IX+$07),$E4
6AFA LD (IX+$06),$30
6AFE LD B,$10
6B00 LD C,$68
6B02 LD L,(IX+$07)
6B05 XOR A
6B06 CALL Vector_BlitBitmap
6B09 LD A,(IX+$10)
6B0C AND A
6B0D JR Z,$6B2D
6B0F DEC (IX+$11)
6B12 JR NZ,$6B2D
6B14 LD (IX+$11),$02
6B18 INC (IX+$12)
6B1B LD A,(IX+$12)
6B1E CP $0A
6B20 JR NZ,$6B2D
6B22 LD (IX+$12),$00
6B26 LD (IX+$11),$02
6B2A DEC (IX+$10)
6B2D LD L,(IX+$12)
6B30 LD H,$00
6B32 LD DE,$6A37
6B35 ADD HL,DE
6B36 LD L,(HL)
6B37 LD B,$28
6B39 LD C,$70
6B3B XOR A
6B3C CALL Vector_BlitBitmap
6B3F LD A,(IX+$0D)
6B42 CP $01
6B44 JP NZ,$6BD2
6B47 DEC (IX+$0A)
6B4A RET NZ
6B4B LD HL,$6A41
6B4E LD BC,$0079
6B51 LD A,(IX+$08)
6B54 CP $02
6B56 JR Z,$6B5E
6B58 LD HL,$6A4D
6B5B LD BC,$007E
6B5E LD A,(HL)
6B5F AND A
6B60 JR NZ,$6B7F
6B62 CALL $6C2F
6B65 LD H,A
6B66 LD (HL),D
6B67 LD H,L
6B68 LD H,L
6B69 LD (HL),H
6B6A LD L,C
6B6B LD L,(HL)
6B6C LD H,A
6B6D LD (HL),E
6B6E DEC HL
6B6F JR NZ,$6B9E
6B71 JR NZ,$6BE1
6B73 LD L,A
6B74 LD (HL),A
6B75 JR NZ,$6BDE
6B77 LD L,A
6B78 LD HL,$DD5E
6B7B LD (HL),$0D
6B7D INC B
6B7E RET
6B7F INC HL
6B80 LD (TripObjPtr),HL
6B83 LD (TripValue),BC
6B87 LD (IX+$0D),$02
6B8B LD A,(IX+$08)
6B8E CP $02
6B90 JR NZ,$6BB2
6B92 CALL $6C2F
6B95 LD H,(HL)
6B96 LD L,C
6B97 LD L,(HL)
6B98 LD H,H
6B99 JR NZ,$6C08
6B9B LD A,C
6B9C JR NZ,$6C01
6B9E LD (HL),D
6B9F LD L,A
6BA0 LD (HL),A
6BA1 LD L,(HL)
6BA2 DEC HL
6BA3 LD H,(HL)
6BA4 LD L,A
6BA5 LD (HL),D
6BA6 JR NZ,$6C09
6BA8 JR NZ,$6C11
6BAA LD L,C
6BAB LD H,(HL)
6BAC LD (HL),H
6BAD LD L,$2E
6BAF LD L,$5E
6BB1 RET
6BB2 CALL $6C2F
6BB5 LD H,E
6BB6 LD H,C
6BB7 LD L,H
6BB8 LD L,L
6BB9 JR NZ,$6C2F
6BBB LD L,B
6BBC LD H,L
6BBD JR NZ,$6C31
6BBF LD H,C
6BC0 HALT
6BC1 LD H,L
6BC2 LD L,(HL)
6BC3 LD (HL),E
6BC4 DEC HL
6BC5 LD H,(HL)
6BC6 LD L,A
6BC7 LD (HL),D
6BC8 JR NZ,$6C37
6BCA LD A,C
6BCB JR NZ,$6C34
6BCD LD L,C
6BCE LD H,(HL)
6BCF LD (HL),H
6BD0 LD E,(HL)
6BD1 RET
6BD2 DEC (IX+$0A)
6BD5 JR NZ,$6BDB
6BD7 CALL $6C2F
6BDA LD E,(HL)
6BDB LD A,(IX+$0D)
6BDE CP $02
6BE0 JR NZ,$6C2E
6BE2 LD HL,ActionFlags
6BE5 BIT 6,(HL)
6BE7 JR NZ,$6C0A
6BE9 BIT 7,(HL)
6BEB RET Z
6BEC RES 7,(HL)
6BEE CALL $6C2F
6BF1 LD (HL),H
6BF2 LD L,B
6BF3 LD H,C
6BF4 LD (HL),H
6BF5 JR NZ,$6C5F
6BF7 LD H,C
6BF8 LD (HL),E
6BF9 JR NZ,$6C69
6BFB LD L,A
6BFC DEC HL
6BFD LD (HL),B
6BFE LD L,H
6BFF LD H,C
6C00 LD H,E
6C01 LD H,L
6C02 JR NZ,$6C6C
6C04 LD H,L
6C05 LD (HL),D
6C06 LD H,L
6C07 LD HL,$C95E
6C0A LD (IX+$0D),$04
6C0E LD HL,(TripObjPtr)
6C11 DEC HL
6C12 LD (HL),$00
6C14 CALL $6C2F
6C17 LD L,L
6C18 LD A,C
6C19 JR NZ,$6C8F
6C1B LD L,B
6C1C LD H,C
6C1D LD L,(HL)
6C1E LD L,E
6C1F LD (HL),E
6C20 DEC HL
6C21 LD H,C
6C22 LD L,(HL)
6C23 LD H,H
6C24 JR NZ,ActionWaterfall_1
6C26 LD A,C
6C27 JR NZ,ActionWaterfall_0
6C29 LD L,C
6C2A LD H,(HL)
6C2B LD (HL),H
6C2C LD E,(HL)
6C2D RET
6C2E RET
6C2F LD (IX+$0A),$C8
6C33 LD (IX+$10),$03
6C37 LD (IX+$11),$04
6C3B LD (IX+$12),$00
6C3F LD DE,$5AC0
6C42 LD HL,Zeros
6C45 LD BC,$0011
6C48 LDIR
6C4A LD DE,$5AE0
6C4D LD HL,Zeros
6C50 LD BC,$0011
6C53 LDIR
6C55 CALL Vector_PrintString
6C58 LD D,$06
6C5A NOP
6C5B LD DE,$1000
6C5E INC BC
6C5F INC DE
6C60 LD BC,$E15E
6C63 LD A,(HL)
6C64 INC HL
6C65 CP $5E
6C67 JR Z,$6C82
6C69 CP $2B
6C6B JR Z,$6C72
6C6D CALL Vector_PrintChar
6C70 JR $6C63
6C72 LD A,$16
6C74 CALL Vector_PrintChar
6C77 LD A,$07
6C79 CALL Vector_PrintChar
6C7C XOR A
6C7D CALL Vector_PrintChar
6C80 JR $6C63
6C82 JP (HL)
Prev: 6A37 Up: Map Next: 6C83