Prev: 8A30 Up: Map Next: 8BD2
8AD1: Routine at 8AD1
Used by the routine at 8898.
8AD1 PUSH AF
8AD2 LD A,($8AF3)
8AD5 AND A
8AD6 JP Z,$8AE1
8AD9 POP AF
8ADA PUSH HL
8ADB LD L,A
8ADC LD H,$B8
8ADE LD A,(HL)
8ADF POP HL
8AE0 RET
8AE1 POP AF
8AE2 PUSH HL
8AE3 LD L,A
8AE4 LD H,$B9
8AE6 LD A,(HL)
8AE7 POP HL
8AE8 RET Return.
8AE9 NOP
8AEA NOP
8AEB NOP
8AEC NOP
8AED NOP
8AEE NOP
8AEF NOP
8AF0 NOP
8AF1 NOP
8AF2 NOP
8AF3 NOP
8AF4 NOP
8AF5 NOP
8AF6 NOP
8AF7 NOP
8AF8 NOP
8AF9 NOP
8AFA NOP
8AFB NOP
8AFC NOP
8AFD NOP
8AFE NOP
8AFF NOP
8B00 NOP
8B01 NOP
8B02 NOP
8B03 NOP
8B04 NOP
8B05 NOP
8B06 NOP
8B07 NOP
8B08 NOP
8B09 NOP
8B0A NOP
8B0B NOP
8B0C NOP
8B0D NOP
8B0E NOP
8B0F NOP
8B10 NOP
8B11 NOP
8B12 NOP
8B13 NOP
8B14 NOP
8B15 NOP
8B16 NOP
8B17 NOP
8B18 NOP
8B19 NOP
8B1A RET NZ
8B1B NOP
8B1C NOP
8B1D NOP
8B1E NOP
This entry point is used by the routine at Game_Over.
8B1F CP $01
8B21 JP NZ,$8B2A
8B24 LD HL,($8BD2)
8B27 JP $8B2D
8B2A LD HL,($8BE6)
8B2D LD A,$00
8B2F LD ($900D),A
8B32 PUSH DE
8B33 PUSH HL
8B34 LD DE,$8C42
8B37 XOR A
8B38 SBC HL,DE
8B3A JP NZ,$8B42
8B3D LD A,$01
8B3F LD ($900D),A
8B42 POP HL
8B43 POP DE
8B44 LD C,$00
8B46 CALL $8BA8
8B49 JP Z,$8B4E
8B4C SET 0,C
8B4E INC HL
8B4F INC HL
8B50 CALL $8BA8
8B53 JP Z,$8B5A
8B56 SET 0,C
8B58 SET 3,C
8B5A INC HL
8B5B INC HL
8B5C CALL $8BA8
8B5F JP Z,$8B64
8B62 SET 3,C
8B64 INC HL
8B65 INC HL
8B66 CALL $8BA8
8B69 JP Z,$8B70
8B6C SET 1,C
8B6E SET 3,C
8B70 INC HL
8B71 INC HL
8B72 CALL $8BA8
8B75 JP Z,$8B7A
8B78 SET 1,C
8B7A INC HL
8B7B INC HL
8B7C CALL $8BA8
8B7F JP Z,$8B86
8B82 SET 1,C
8B84 SET 2,C
8B86 INC HL
8B87 INC HL
8B88 CALL $8BA8
8B8B JP Z,$8B90
8B8E SET 2,C
8B90 INC HL
8B91 INC HL
8B92 CALL $8BA8
8B95 JP Z,$8B9C
8B98 SET 0,C
8B9A SET 2,C
8B9C INC HL
8B9D INC HL
8B9E CALL $8BA8
8BA1 JP Z,$8BA6
8BA4 SET 4,C
8BA6 LD A,C
8BA7 RET
8BA8 PUSH HL
8BA9 PUSH BC
8BAA PUSH DE
8BAB LD D,(HL)
8BAC INC HL
8BAD LD B,(HL)
8BAE LD A,B
8BAF PUSH BC
8BB0 LD B,A
8BB1 LD A,($900D)
8BB4 AND A
8BB5 LD A,B
8BB6 POP BC
8BB7 JP NZ,$8BBF
8BBA IN A,($FE)
8BBC JP $8BC3
8BBF LD A,$00
8BC1 IN A,($1F)
8BC3 LD B,A
8BC4 LD A,($900D)
8BC7 AND A
8BC8 LD A,B
8BC9 JP NZ,$8BCD
8BCC CPL
8BCD AND D
8BCE POP DE
8BCF POP BC
8BD0 POP HL
8BD1 RET
Prev: 8A30 Up: Map Next: 8BD2