Prev: 7048 Up: Map Next: 713D
706B: Game Play Start
Used by the routine at GamePlayEntry.
Init.
GamePlay_Start 706B CALL $76D0 Call 76D0.
706E CALL $6FB4 Call 6FB4.
7071 BIT 4,A
7073 JR Z,GamePlay_Start_12
7075 LD (IX+$06),$00
GamePlay_Start_0 7079 BIT 0,A
707B LD DE,$0000
707E JR Z,GamePlay_Start_6
7080 BIT 1,A
7082 JR Z,GamePlay_Start_8
7084 LD (IX+$04),$00
GamePlay_Start_1 7088 BIT 3,A
708A JR Z,GamePlay_Start_9
708C BIT 2,A
708E JR Z,GamePlay_Start_11
7090 LD (IX+$05),$00
GamePlay_Start_2 7094 LD A,(IX+$01)
7097 ADD A,(IX+$04)
709A LD E,$00
709C CP $01
709E JR C,GamePlay_Start_3
70A0 CP $C4
70A2 JR NC,GamePlay_Start_3
70A4 LD (IX+$01),A
70A7 LD E,(IX+$04)
GamePlay_Start_3 70AA LD A,(IX+$02)
70AD ADD A,(IX+$05)
70B0 LD D,$00
70B2 CP $28
70B4 JR C,GamePlay_Start_4
70B6 CP $A0
70B8 JR NC,GamePlay_Start_4
70BA LD (IX+$02),A
70BD LD D,(IX+$05)
GamePlay_Start_4 70C0 LD A,E
70C1 OR D
70C2 JR Z,GamePlay_Start_5
70C4 LD ($5F2B),DE
70C8 LD A,($5C78)
70CB RRA
70CC RRA
70CD AND $01
70CF INC A
70D0 LD (IX+$00),A
GamePlay_Start_5 70D3 CALL $75CC
70D6 JP $74EE
GamePlay_Start_6 70D9 LD E,$02
GamePlay_Start_7 70DB LD (IX+$04),E
70DE JR GamePlay_Start_1
GamePlay_Start_8 70E0 LD E,$FE
70E2 JR GamePlay_Start_7
GamePlay_Start_9 70E4 LD D,$FE
GamePlay_Start_10 70E6 LD (IX+$05),D
70E9 JR GamePlay_Start_2
GamePlay_Start_11 70EB LD D,$02
70ED JR GamePlay_Start_10
GamePlay_Start_12 70EF PUSH AF
70F0 LD A,(IX+$06)
70F3 INC (IX+$06)
70F6 AND $07
70F8 JR NZ,GamePlay_Start_14
70FA LD HL,$5F3D
70FD LD B,$02
70FF LD DE,$0008
GamePlay_Start_13 7102 LD A,(HL)
7103 AND A
7104 JR Z,GamePlay_Start_15
7106 ADD HL,DE
7107 DJNZ GamePlay_Start_13
GamePlay_Start_14 7109 POP AF
710A JP GamePlay_Start_0
GamePlay_Start_15 710D LD (HL),$03
710F PUSH HL
7110 INC HL
7111 LD A,(IX+$01)
7114 LD (HL),A
7115 INC HL
7116 LD A,(IX+$02)
7119 LD (HL),A
711A INC HL
711B LD (HL),$47
711D INC HL
711E LD DE,($5F2B)
7122 LD A,E
7123 SLA A
7125 ADD A,E
7126 LD (HL),A
7127 INC HL
7128 LD A,D
7129 SLA A
712B ADD A,D
712C LD (HL),A
712D POP HL
712E PUSH IX
7130 PUSH HL
7131 POP IX
7133 CALL $7617
7136 POP IX
7138 CALL $6825
713B JR GamePlay_Start_14
Prev: 7048 Up: Map Next: 713D