Prev: 6D87 Up: Map Next: 6FFD
6E25: Routine at 6E25
Used by the routine at 7198.
6E25 DEC (IX+$07)
6E28 JR Z,$6EA8
6E2A LD A,(IX+$01)
6E2D ADD A,(IX+$04)
6E30 CP $04
6E32 JR C,$6E7A
6E34 CP $C4
6E36 JR NC,$6E8F
6E38 LD (IX+$01),A
6E3B LD A,(IX+$02)
6E3E ADD A,(IX+$05)
6E41 CP $20
6E43 JR C,$6E95
6E45 CP $A0
6E47 JR NC,$6EC0
6E49 LD (IX+$02),A
6E4C LD A,(IX+$01)
6E4F SUB $68
6E51 JP P,$6E5C
6E54 SET 7,(IX+$06)
6E58 NEG
6E5A JR $6E60
6E5C RES 7,(IX+$06)
6E60 CP $34
6E62 JR NC,$6E6A
6E64 SET 1,(IX+$06)
6E68 JR $6E6E
6E6A RES 1,(IX+$06)
6E6E LD A,(IX+$04)
6E71 AND $80
6E73 XOR (IX+$06)
6E76 LD (IX+$06),A
6E79 RET
6E7A LD (IX+$04),$04
6E7E LD A,(IX+$05)
6E81 AND A
6E82 JR NZ,$6E3B
6E84 LD A,R
6E86 AND $04
6E88 SUB $02
6E8A LD (IX+$05),A
6E8D JR $6E3B
6E8F LD (IX+$04),$FC
6E93 JR $6E7E
6E95 LD (IX+$05),$04
6E99 LD A,(IX+$04)
6E9C AND A
6E9D RET NZ
6E9E LD A,R
6EA0 AND $04
6EA2 SUB $02
6EA4 LD (IX+$04),A
6EA7 RET
6EA8 RES 7,(IX+$00)
This entry point is used by the routines at 68C4 and 6C7A.
6EAC LD A,R
6EAE AND $04
6EB0 SUB $02
6EB2 LD (IX+$04),A
6EB5 LD A,R
6EB7 RRA
6EB8 AND $04
6EBA SUB $02
6EBC LD (IX+$05),A
6EBF RET
6EC0 LD (IX+$02),A
6EC3 INC (IX+$07)
6EC6 CP $C0
6EC8 JR NC,$6F39
6ECA CP $B8
6ECC JR NC,$6EEC
6ECE CALL $6F57
6ED1 RET NC
6ED2 LD A,(IX+$02)
6ED5 CP $A8
6ED7 JR NC,$6EDF
6ED9 LD (IX+$05),$FC
6EDD JR $6E99
6EDF LD A,(IX+$04)
6EE2 NEG
6EE4 LD (IX+$04),A
6EE7 LD (IX+$05),$04
6EEB RET
6EEC CALL $6F57
6EEF JR C,$6ED2
6EF1 LD A,B
6EF2 AND A
6EF3 JR NZ,$6F1E
6EF5 CALL $6C7A
6EF8 LD A,(IX+$00)
6EFB RRCA
6EFC AND $0F
6EFE LD C,A
6EFF LD B,$00
6F01 LD HL,$6F47
6F04 ADD HL,BC
6F05 LD C,(HL)
6F06 CALL AddPointsToScore
6F09 LD (IX+$00),$28
6F0D LD (IX+$02),$A0
6F11 LD (IX+$03),$46
6F15 RET
6F16 CALL $68D4
6F19 LD (IX+$00),$00
6F1D RET
6F1E LD A,(IX+$00)
6F21 AND $3F
6F23 CP $18
6F25 JR C,$6F16
6F27 LD A,(IX+$03)
6F2A CP $47
6F2C JR NZ,$6F34
6F2E LD BC,$0150
6F31 CALL AddPointsToScore
6F34 CALL $68E7
6F37 JR $6F19
6F39 BIT 1,(IX+$06)
6F3D JR Z,$6F1E
6F3F BIT 7,(IX+$06)
6F43 JR Z,$6EF5
6F45 JR $6F1E
6F47 NOP
6F48 NOP
6F49 LD D,L
6F4A NOP
6F4B LD H,L
6F4C NOP
6F4D NOP
6F4E NOP
6F4F LD (HL),L
6F50 ADD A,L
6F51 SUB L
6F52 NOP
6F53 NOP
6F54 NOP
6F55 NOP
6F56 NOP
6F57 LD B,$03
6F59 LD A,(IX+$01)
6F5C CP $C0
6F5E JR NC,$6F76
6F60 AND A
6F61 JP P,$6F6A
6F64 NEG
6F66 SUB $40
6F68 AND $7F
6F6A DEC B
6F6B JR Z,$6F71
6F6D SUB $20
6F6F JR NC,$6F6A
6F71 NEG
6F73 CP $0F
6F75 RET
6F76 SCF
6F77 RET
6F78 CALL $76D0
6F7B LD A,(IX+$01)
6F7E ADD A,(IX+$04)
6F81 CP $C4
6F83 JR NC,$6FA4
6F85 CP $01
6F87 JR C,$6FA4
6F89 LD C,A
6F8A LD A,(IX+$02)
6F8D ADD A,(IX+$05)
6F90 CP $A8
6F92 JR NC,$6FA4
6F94 CP $20
6F96 JR C,$6FA4
6F98 LD (IX+$02),A
6F9B LD (IX+$01),C
6F9E CALL $75CC
6FA1 JP $74EE
This entry point is used by the routine at 7198.
6FA4 CALL $7617
6FA7 LD (IX+$00),$26
6FAB LD (IX+$07),$03
6FAF RET
6FB0 IN A,($1F)
6FB2 CPL
6FB3 RET
This entry point is used by the routine at GamePlay_Start.
6FB4 LD A,($5F0C)
6FB7 AND $06
6FB9 CP $02
6FBB JR Z,$6FB0
6FBD CP $04
6FBF JR Z,$6FD7
6FC1 LD A,$FB
6FC3 OUT ($FD),A
6FC5 IN A,($FE)
6FC7 LD C,A
6FC8 RRA
6FC9 AND $01
6FCB LD E,A
6FCC LD A,C
6FCD RLA
6FCE AND $02
6FD0 OR E
6FD1 LD E,A
6FD2 LD A,C
6FD3 AND $1C
6FD5 OR E
6FD6 RET
6FD7 LD A,$EF
6FD9 OUT ($FD),A
6FDB IN A,($FE)
6FDD LD C,A
6FDE AND $08
6FE0 LD E,A
6FE1 LD A,C
6FE2 RRCA
6FE3 RRCA
6FE4 AND $45
6FE6 OR E
6FE7 LD E,A
6FE8 RRCA
6FE9 RRCA
6FEA AND $10
6FEC OR E
6FED AND $1F
6FEF LD E,A
6FF0 LD A,$F7
6FF2 OUT ($FD),A
6FF4 IN A,($FE)
6FF6 RRA
6FF7 RRA
6FF8 RRA
6FF9 AND $02
6FFB OR E
6FFC RET
Prev: 6D87 Up: Map Next: 6FFD