wland3/main.asm
froggestspirit 29f1df6332 Sound Files
2020-08-20 11:09:07 -04:00

174787 lines
2.2 MiB

INCLUDE "constants.asm"
SECTION "bank00", ROM0
SECTION "rst00", ROM0[$00]
jp Logged_0x015E
ds $0008 - @, $00
SECTION "rst08", ROM0[$08]
ds $0010 - @, $00
SECTION "rst10", ROM0[$10]
ds $0018 - @, $00
SECTION "rst18", ROM0[$18]
ds $0020 - @, $00
SECTION "rst20", ROM0[$20]
ds $0028 - @, $00
SECTION "rst28", ROM0[$28]
JumpList::
add a,a
pop hl
ld e,a
ld d,$00
add hl,de
ld a,[hli]
ld h,[hl]
SECTION "rst30", ROM0[$30]
ld l,a
jp hl
ds $0038 - @, $00
SECTION "rst38", ROM0[$38]
ds $0040 - @, $00
SECTION "vblankInt", ROM0[$40]
jp Logged_0x0061
ds $0048 - @, $00
SECTION "lcdstatInt", ROM0[$48]
jp $C400
ds $0050 - @, $00
SECTION "timerInt", ROM0[$50]
reti
ds $0058 - @, $00
SECTION "serialInt", ROM0[$58]
reti
ds $0060 - @, $00
SECTION "joypadInt", ROM0[$60]
reti
Logged_0x0061:
push af
push bc
push de
push hl
ld a,[$C092]
and a
jr z,Logged_0x0095
ld a,[$C5FF]
push af
ld a,[$C08E]
push af
ld a,[rSVBK]
push af
ld a,[rVBK]
push af
call $C200
pop af
ld [rVBK],a
pop af
ld [rSVBK],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,$01
ld [$C091],a
Logged_0x0095:
pop hl
pop de
pop bc
pop af
reti
ds $0100 - @, $00
SECTION "start", ROM0[$100]
nop
jp Init
SECTION "Header", ROM0[$134]
db "WARIOLAND3",0,"AW8A";Title
db CART_COMPATIBLE_GBC;CGB only
db $30,$31;0x144 New Licensee Code
db $00;SGB Flag
db CART_ROM_MBC5_RAM_BAT;Cart Type
db CART_ROM_16M;ROM Size
db CART_RAM_256K;RAM Size
db $01;Destination Code
db $33;Old Licensee Code
db $00;Version
SECTION "Home", ROM0[$150]
Init:
and a
cp $11
ld a,$00
jr nz,Logged_0x0158
inc a
Logged_0x0158:
ld [$FF00+$FE],a
ld a,$00
ld [$FF00+$FD],a
Logged_0x015E:
xor a
ld [$FF00+$FC],a
Logged_0x0161:
di
ld sp,$CFFF
ld hl,sp+$00
ld c,$00
xor a
Logged_0x016A:
ld [hld],a
dec c
jr nz,Logged_0x016A
xor a
ld [rVBK],a
ld [rSVBK],a
ld [rRP],a
ld a,$80
ld [rLCDC],a
Logged_0x0179:
ld a,[rLY]
cp $94
jr nz,Logged_0x0179
ld a,$03
ld [rLCDC],a
call Logged_0x1A64
call Logged_0x1A40
ld a,[$FF00+$FE]
and a
jr z,Logged_0x0195
xor a
ld [rVBK],a
ld [rSVBK],a
ld [rRP],a
Logged_0x0195:
xor a
ld hl,$C000
ld bc,$0F00
call Fill_HL_A
call Logged_0x1A82
xor a
ld hl,$FE00
ld bc,$0100
call Fill_HL_A
ld hl,$FF80
ld b,$7C
call Logged_0x0420
call Logged_0x038F
call Logged_0x03AD
ld a,$01
ld [$C5FF],a
ld [rROMB0+$100],a
xor a
ld [rROMB1+$100],a
xor a
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld [rIF],a
ld [rIE],a
ld [rSCY],a
ld [rSCX],a
ld [rSTAT],a
ld c,$E8
ld b,$0E
ld hl,$0418
Logged_0x01DF:
ld a,[hli]
ld [$FF00+c],a
inc c
dec b
jr nz,Logged_0x01DF
call Logged_0x0334
call Logged_0x0A92
xor a
ld [rIF],a
ld a,$01
ld [rIE],a
call Logged_0x0341
ld a,$0A
ld [rRAMG],a
ld a,$7C
ld [$FF00+$85],a
ld a,$AD
ld [$FF00+$8D],a
ld a,$4C
ld [$FF00+$8E],a
call $FF80
ei
ld a,[$FF00+$FE]
and a
jr nz,Logged_0x021A
ld a,GAME_STATE_GBC_ONLY
ld [wGameState],a
xor a
ld [wGameSubState],a
jr Logged_0x021D
Logged_0x021A:
call Logged_0x1690
Logged_0x021D:
xor a
ld [$C094],a
call Logged_0x1AC0
ld a,$80
ld [rLCDC],a
di
call Logged_0x0FAE
ei
Logged_0x022D:
call Logged_0x03D8
ld a,[$C09A]
and a
jr nz,Logged_0x024E
ld a,[$C093]
and $0F
cp $0F
jr nz,Logged_0x024E
call Logged_0x1002
ld bc,$0000
call Logged_0x0FF4
call Logged_0x0FBC
jp Logged_0x015E
Logged_0x024E:
call Logged_0x4000
ld a,[$CED8]
and a
jr z,Logged_0x0266
ld a,$34
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
Logged_0x0266:
ld a,[$CED9]
and a
jr z,Logged_0x026F
call Logged_0x2A77
Logged_0x026F:
ld a,$01
ld [$C092],a
db $76;halt
nop
Logged_0x0276:
ld a,[$C091]
and a
jr z,Logged_0x0276
ld hl,$C08F
inc [hl]
xor a
ld [$C092],a
ld [$C091],a
call Logged_0x0290
jp Logged_0x022D
Unknown_0x028D:
jp Logged_0x015E
Logged_0x0290:
ld a,[$C090]
and a
ret nz
ld hl,$FFB5
ld a,[hli]
cp $FF
jr nz,Logged_0x02A2
ld bc,$0000
jr Logged_0x02A7
Logged_0x02A2:
ld c,[hl]
ld b,a
or c
jr z,Logged_0x02AD
Logged_0x02A7:
xor a
ld [hld],a
ld [hl],a
call Logged_0x0FCA
Logged_0x02AD:
ld hl,$FFB1
ld a,[hli]
cp $FF
jr nz,Logged_0x02C0
ld bc,$0000
xor a
ld [hld],a
ld [hl],a
call Logged_0x0FE6
jr Logged_0x02CB
Logged_0x02C0:
ld c,[hl]
ld b,a
or c
jr z,Logged_0x02CB
xor a
ld [hld],a
ld [hl],a
call Logged_0x1062
Logged_0x02CB:
call Logged_0x0FBC
ret
Unknown_0x02CF:
INCBIN "baserom.gbc", $02CF, $0302 - $02CF
Logged_0x0302:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld hl,$D502
ld a,[hl]
and a
jr z,Logged_0x032D
ld a,[$C094]
and $F0
jr nz,Logged_0x032D
ld a,[$C093]
and $F0
jr z,Logged_0x032D
dec [hl]
jr nz,Logged_0x0330
ld b,a
ld a,[$C094]
or b
ld [$C094],a
ld a,$08
jr Logged_0x032F
Logged_0x032D:
ld a,$10
Logged_0x032F:
ld [hl],a
Logged_0x0330:
pop af
ld [rSVBK],a
ret
Logged_0x0334:
ld hl,RAMCode_0x0340
ld de,$C200
ld b,Logged_0x0341 - RAMCode_0x0340
call MemCopy_DE_HL
ret
RAMCode_0x0340:
ret
Logged_0x0341:
ld a,$D9
ld [$C400],a
xor a
ld [rIF],a
ld hl,$FFFF
res 1,[hl]
ld hl,$FF41
res 6,[hl]
ret
Logged_0x0354:
ld hl,RAMCode_0x0360
ld de,$C200
ld b,Logged_0x0370 - RAMCode_0x0360
call MemCopy_DE_HL
ret
RAMCode_0x0360:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
ret
Logged_0x0370:
ld a,[rSTAT]
and $03
jr z,Logged_0x0370
Logged_0x0376:
ld a,[rSTAT]
and $03
jr nz,Logged_0x0376
ret
Logged_0x037D:
ld hl,$CC00
ld b,$A0
xor a
call Logged_0x0420
xor a
ld [$C095],a
ret
Logged_0x038B:
ld a,$FF
jr Logged_0x0391
Logged_0x038F:
ld a,$7F
Logged_0x0391:
ld d,a
ld a,$01
ld [rVBK],a
ld hl,_SCRN0
ld bc,$0400
xor a
call Fill_HL_A
ld [rVBK],a
ld a,d
ld hl,_SCRN0
ld bc,$0400
call Fill_HL_A
ret
Logged_0x03AD:
ld a,$FF
ld hl,_SCRN1
ld bc,$0400
call Fill_HL_A
ret
Logged_0x03B9:
ld a,[$C095]
ld l,a
ld h,$CC
ld a,$A0
sub l
jr z,Logged_0x03D3
jr c,Logged_0x03D3
srl a
srl a
ld b,a
xor a
Logged_0x03CC:
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
dec b
jr nz,Logged_0x03CC
Logged_0x03D3:
xor a
ld [$C095],a
ret
Logged_0x03D8:
ld a,$20
ld [rP1],a
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
cpl
and $0F
swap a
ld b,a
ld a,$10
ld [rP1],a
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
ld a,[rP1]
cpl
and $0F
or b
ld c,a
ld a,[$C093]
xor c
and c
ld [$C094],a
ld a,c
ld [$C093],a
ld a,$30
ld [rP1],a
ret
LoggedData_0x0418:
INCBIN "baserom.gbc", $0418, $0420 - $0418
Logged_0x0420:
ld [hli],a
dec b
jr nz,Logged_0x0420
ret
Fill_HL_A:;write a to [hl] bc times
push af
ld a,c
and a
jr z,.skip
inc b
.skip
pop af
.fill
ld [hli],a
dec c
jr nz,.fill
dec b
jr nz,.fill
ret
Logged_0x0434:
ld a,c
and a
jr z,Logged_0x0439
inc b
Logged_0x0439:
ld a,[hli]
ld [de],a
inc de
dec c
jr nz,Logged_0x0439
dec b
jr nz,Logged_0x0439
ret
Logged_0x0443:
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,c
and a
jr z,Logged_0x0455
inc b
Logged_0x0455:
ld a,[hli]
ld [de],a
inc de
dec c
jr nz,Logged_0x0455
dec b
jr nz,Logged_0x0455
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
MemCopy_DE_HL:;len = b
ld a,[hli]
ld [de],a
inc de
dec b
jr nz,MemCopy_DE_HL
ret
Logged_0x046D:
ld a,$01
ld [$CED7],a
jr Logged_0x047F
Logged_0x0474:
ld a,$02
ld [$CED7],a
jr Logged_0x047F
Logged_0x047B:
xor a
ld [$CED7],a
Logged_0x047F:
ld a,[$C187]
cp $02
jr nc,Logged_0x0499
dec a
jr z,Logged_0x0496
ld a,$01
ld [$C186],a
call Logged_0x088D
ld hl,$C187
inc [hl]
ret
Logged_0x0496:
call Logged_0x08BF
Logged_0x0499:
ld hl,$C183
ld de,$C100
ld b,$40
Logged_0x04A1:
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rrca
rrca
rrca
rrca
rrca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hl],a
inc [hl]
ld a,[$CED7]
and a
jr z,Logged_0x04CA
inc [hl]
dec a
jr z,Logged_0x04CA
inc [hl]
inc [hl]
Logged_0x04CA:
ld a,[hl]
cp $1F
jr c,Logged_0x04D1
ld [hl],$1F
Logged_0x04D1:
dec l
inc [hl]
ld a,[$CED7]
and a
jr z,Logged_0x04DF
inc [hl]
dec a
jr z,Logged_0x04DF
inc [hl]
inc [hl]
Logged_0x04DF:
ld a,[hl]
cp $1F
jr c,Logged_0x04E6
ld [hl],$1F
Logged_0x04E6:
dec l
inc [hl]
ld a,[$CED7]
and a
jr z,Logged_0x04F4
inc [hl]
dec a
jr z,Logged_0x04F4
inc [hl]
inc [hl]
Logged_0x04F4:
ld a,[hl]
cp $1F
jr c,Logged_0x04FB
ld [hl],$1F
Logged_0x04FB:
ld a,[hli]
ld c,a
ld a,[hl]
and $07
rlca
rlca
rlca
rlca
rlca
or c
dec e
ld [de],a
ld a,[hli]
and $18
rrca
rrca
rrca
ld c,a
ld a,[hld]
rlca
rlca
or c
inc e
ld [de],a
inc e
dec l
dec b
jr nz,Logged_0x04A1
ld hl,$C187
inc [hl]
ld b,$21
ld a,[$CED7]
and a
jr z,Logged_0x052D
ld b,$12
dec a
jr z,Logged_0x052D
ld b,$0A
Logged_0x052D:
ld a,[hl]
cp b
ret c
di
ld hl,$C080
ld b,$07
ld de,$C200
ld b,$03
call MemCopy_DE_HL
ei
xor a
ld [$CED7],a
ld [$C187],a
ld [$C186],a
ld hl,wGameSubState
inc [hl]
ret
Unknown_0x054E:
INCBIN "baserom.gbc", $054E, $05DF - $054E
Logged_0x05DF:
ld a,$01
ld [$CED7],a
jr Logged_0x05F1
Logged_0x05E6:
ld a,$02
ld [$CED7],a
jr Logged_0x05F1
Logged_0x05ED:
xor a
ld [$CED7],a
Logged_0x05F1:
ld a,[$C187]
cp $02
jr nc,Logged_0x060B
dec a
jr z,Logged_0x0608
ld a,$01
ld [$C186],a
call Logged_0x088D
ld hl,$C187
inc [hl]
ret
Logged_0x0608:
call Logged_0x08BF
Logged_0x060B:
ld hl,$C180
ld de,$C000
ld b,$40
Logged_0x0613:
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rrca
rrca
rrca
rrca
rrca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hli],a
dec e
ld d,$C1
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rrca
rrca
rrca
rrca
rrca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hl],a
ld a,[$C182]
ld c,a
dec [hl]
jr z,Logged_0x0665
ld a,[$CED7]
and a
jr z,Logged_0x0665
dec [hl]
jr z,Logged_0x0665
dec a
jr z,Logged_0x0665
dec [hl]
jr z,Logged_0x0665
dec [hl]
Logged_0x0665:
ld a,[hl]
cp c
jr nc,Logged_0x066A
ld [hl],c
Logged_0x066A:
dec l
ld a,[$C181]
ld c,a
dec [hl]
jr z,Logged_0x0682
ld a,[$CED7]
and a
jr z,Logged_0x0682
dec [hl]
jr z,Logged_0x0682
dec a
jr z,Logged_0x0682
dec [hl]
jr z,Logged_0x0682
dec [hl]
Logged_0x0682:
ld a,[hl]
cp c
jr nc,Logged_0x0687
ld [hl],c
Logged_0x0687:
dec l
ld a,[$C180]
ld c,a
dec [hl]
jr z,Logged_0x069F
ld a,[$CED7]
and a
jr z,Logged_0x069F
dec [hl]
jr z,Logged_0x069F
dec a
jr z,Logged_0x069F
dec [hl]
jr z,Logged_0x069F
dec [hl]
Logged_0x069F:
ld a,[hl]
cp c
jr nc,Logged_0x06A4
ld [hl],c
Logged_0x06A4:
ld a,[hli]
ld c,a
ld a,[hl]
and $07
rlca
rlca
rlca
rlca
rlca
or c
dec e
ld [de],a
ld a,[hli]
and $18
rrca
rrca
rrca
ld c,a
ld a,[hld]
rlca
rlca
or c
inc e
ld [de],a
inc e
ld d,$C0
ld hl,$C180
dec b
jp nz,Logged_0x0613
ld hl,$C187
inc [hl]
ld b,$21
ld a,[$CED7]
and a
jr z,Logged_0x06DB
ld b,$12
dec a
jr z,Logged_0x06DB
ld b,$0A
Logged_0x06DB:
ld a,[hl]
cp b
ret c
di
ld hl,$C080
ld de,$C200
ld b,$03
call MemCopy_DE_HL
ei
xor a
ld [$CED7],a
ld [$C187],a
ld [$C186],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x06FA:
ld a,[$C187]
cp $02
jr nc,Logged_0x0714
dec a
jr z,Logged_0x0711
ld a,$01
ld [$C186],a
call Logged_0x088D
ld hl,$C187
inc [hl]
ret
Logged_0x0711:
call Logged_0x08BF
Logged_0x0714:
ld hl,$C180
ld de,$C000
ld b,$40
Logged_0x071C:
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rlca
rlca
rlca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hli],a
dec e
ld d,$C1
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rlca
rlca
rlca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hl],a
ld a,[$C182]
ld c,a
cp [hl]
jr z,Logged_0x0764
jr nc,Logged_0x0761
dec [hl]
ld a,[hl]
cp c
jr Logged_0x0764
Logged_0x0761:
inc [hl]
ld a,[hl]
cp c
Logged_0x0764:
dec l
ld a,[$C181]
ld c,a
cp [hl]
jr z,Logged_0x0776
jr nc,Logged_0x0773
dec [hl]
ld a,[hl]
cp c
jr Logged_0x0776
Logged_0x0773:
inc [hl]
ld a,[hl]
cp c
Logged_0x0776:
dec l
ld a,[$C180]
ld c,a
cp [hl]
jr z,Logged_0x0788
jr nc,Logged_0x0785
dec [hl]
ld a,[hl]
cp c
jr Logged_0x0788
Logged_0x0785:
inc [hl]
ld a,[hl]
cp c
Logged_0x0788:
ld a,[hli]
ld c,a
ld a,[hl]
and $07
rrca
rrca
rrca
or c
dec e
ld [de],a
ld a,[hli]
and $18
rrca
rrca
rrca
ld c,a
ld a,[hld]
rlca
rlca
or c
inc e
ld [de],a
inc e
ld d,$C0
ld hl,$C180
dec b
jp nz,Logged_0x071C
ld hl,$C187
inc [hl]
ld b,$21
ld a,[hl]
cp b
ret c
di
ld hl,$C080
ld de,$C200
ld b,$03
call MemCopy_DE_HL
ei
xor a
ld [$CED7],a
ld [$C187],a
ld [$C186],a
ld hl,wGameSubState
inc [hl]
ret
Unknown_0x07CF:
INCBIN "baserom.gbc", $07CF, $088D - $07CF
Logged_0x088D:
di
ld hl,$C200
ld de,$C080
ld b,$03
call MemCopy_DE_HL
ld hl,RAMCode_0x08A6
ld de,$C200
ld b,Logged_0x08A9 - RAMCode_0x08A6
call MemCopy_DE_HL
ei
ret
RAMCode_0x08A6:
jp Logged_0x08A9
Logged_0x08A9:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
call Logged_0x1A9A
call Logged_0x1AAD
ld a,$CC
call $FFE8
ret
Logged_0x08BF:
di
ld hl,RAMCode_0x08CD
ld de,$C200
ld b,Logged_0x08D0 - RAMCode_0x08CD
call MemCopy_DE_HL
ei
ret
RAMCode_0x08CD:
jp Logged_0x08D0
Logged_0x08D0:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
call Logged_0x19F3
call Logged_0x1A04
ld a,$CC
call $FFE8
ret
Logged_0x08E6:
ld a,[rLCDC]
bit 7,a
ret z
ld a,[rIE]
ld [$C09E],a
res 0,a
ld [rIE],a
Logged_0x08F4:
ld a,[rLY]
cp $91
jr nz,Logged_0x08F4
ld a,[rLCDC]
and $7F
ld [rLCDC],a
xor a
ld [rIF],a
ld a,[$C09E]
ld [rIE],a
ret
Decompress_BC_HL:
ld a,[hli]
and a
jr z,.done
bit 7,a
jr nz,.clearFlag;copy a sequence of bytes (len = a & $7F)
ld d,a
ld a,[hli];copy this byte (number of times = d)
ld e,a
.sameByte
ld a,e
ld [bc],a
inc bc
dec d
jr nz,.sameByte
jr Decompress_BC_HL
.clearFlag
and $7F
ld d,a
.sequentialBytes
ld a,[hli]
ld [bc],a
inc bc
dec d
jr nz,.sequentialBytes
jr Decompress_BC_HL
.done
ret
Logged_0x0928:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$D506]
ld c,a
ld a,[$C187]
or c
jr nz,Logged_0x095E
ld a,$01
ld [$C186],a
call Logged_0x09CB
ld a,[$D506]
xor $01
ld [$D506],a
ld a,$01
ld [$D503],a
ld a,[$D507]
ld [$D504],a
ld a,[$D508]
ld [$D505],a
Logged_0x095A:
pop af
ld [rSVBK],a
ret
Logged_0x095E:
ld a,[$D506]
xor $01
ld [$D506],a
jr z,Logged_0x096D
call Logged_0x09A3
jr Logged_0x095A
Logged_0x096D:
ld hl,$C187
inc [hl]
ld a,[hl]
cp $11
jr c,Logged_0x095A
di
ld hl,$C080
ld de,$C200
ld b,$03
call MemCopy_DE_HL
ei
xor a
ld [$C187],a
ld [$C186],a
ld [$D506],a
ld a,$FF
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+hMusicIDLow],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld hl,wGameSubState
inc [hl]
jr Logged_0x095A
Logged_0x09A3:
ld a,[$C187]
cp $10
ret nc
ld hl,$D503
ld a,[hl]
add a,$02
ld [hli],a
ld a,[hl]
add a,$20
ld [hli],a
ld a,[hl]
adc a,$00
cp $9C
jr c,Logged_0x09BD
sub $04
Logged_0x09BD:
ld [hld],a
ld a,[hl]
dec a
ld [hl],a
and $1F
cp $1F
ret nz
ld a,[hl]
add a,$20
ld [hl],a
ret
Logged_0x09CB:
di
ld hl,$C200
ld de,$C080
ld b,$03
call MemCopy_DE_HL
ld hl,RAMCode_0x09E4
ld de,$C200
ld b,Logged_0x09E7 - RAMCode_0x09E4
call MemCopy_DE_HL
ei
ret
RAMCode_0x09E4:
jp Logged_0x09E7
Logged_0x09E7:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld de,$FFE0
ld a,[$D506]
and a
jr z,Logged_0x0A49
ld hl,$D503
ld a,[hli]
ld b,a
ld c,a
ld a,[hli]
ld h,[hl]
ld l,a
Logged_0x0A0A:
ld a,$01
ld [rVBK],a
ld a,[hl]
and $7F
or $0F
ld [hl],a
xor a
ld [rVBK],a
ld [hl],$7F
add hl,de
ld a,h
cp $98
jr nc,Logged_0x0A22
add a,$04
ld h,a
Logged_0x0A22:
dec b
jr nz,Logged_0x0A0A
ld b,c
inc b
Logged_0x0A27:
ld a,$01
ld [rVBK],a
ld a,[hl]
and $7F
or $0F
ld [hl],a
xor a
ld [rVBK],a
ld a,$7F
ld [hli],a
ld a,l
and $1F
jr nz,Logged_0x0A44
ld a,l
sub $20
ld l,a
ld a,h
sbc a,$00
ld h,a
Logged_0x0A44:
dec b
jr nz,Logged_0x0A27
jr Logged_0x0A8E
Logged_0x0A49:
ld hl,$D503
ld a,[hli]
ld b,a
ld c,a
ld a,[hli]
ld h,[hl]
ld l,a
Logged_0x0A52:
ld a,$01
ld [rVBK],a
ld a,[hl]
and $7F
or $0F
ld [hl],a
xor a
ld [rVBK],a
ld a,$7F
ld [hli],a
ld a,l
and $1F
jr nz,Logged_0x0A6F
ld a,l
sub $20
ld l,a
ld a,h
sbc a,$00
ld h,a
Logged_0x0A6F:
dec b
jr nz,Logged_0x0A52
ld b,c
Logged_0x0A73:
ld a,$01
ld [rVBK],a
ld a,[hl]
and $7F
or $0F
ld [hl],a
xor a
ld [rVBK],a
ld [hl],$7F
add hl,de
ld a,h
cp $98
jr nc,Logged_0x0A8B
add a,$04
ld h,a
Logged_0x0A8B:
dec b
jr nz,Logged_0x0A73
Logged_0x0A8E:
pop af
ld [rSVBK],a
ret
Logged_0x0A92:
ld hl,RAMCode_0x0A9E
ld de,$FF80
ld b,Logged_0x0AB5 - RAMCode_0x0A9E
call MemCopy_DE_HL
ret
RAMCode_0x0A9E:
ld a,[$C5FF]
push af
ld a,$00
ld [$C5FF],a
ld [rROMB0+$100],a
call $4000
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x0AB5:
ld a,[$CEEF]
and $3C
ret nz
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C0AD]
ld h,a
ld a,[$C0AE]
ld l,a
call Logged_0x0AEE
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x0AEE:
ld c,$A0
ld de,$A000
Logged_0x0AF3:
ld a,[hli]
and a
ret z
bit 7,a
jr nz,Logged_0x0B23
ld b,a
ld a,[hli]
ld [$C09F],a
Logged_0x0AFF:
ld a,[$C09F]
ld [de],a
inc de
ld a,e
cp c
jr z,Logged_0x0B0D
Logged_0x0B08:
dec b
jr nz,Logged_0x0AFF
jr Logged_0x0AF3
Logged_0x0B0D:
ld e,$00
inc d
ld a,d
cp $C0
jr nz,Logged_0x0B21
ld d,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x0B21:
jr Logged_0x0B08
Logged_0x0B23:
and $7F
ld b,a
Logged_0x0B26:
ld a,[hli]
ld [de],a
inc de
ld a,e
cp c
jr z,Logged_0x0B32
Logged_0x0B2D:
dec b
jr nz,Logged_0x0B26
jr Logged_0x0AF3
Logged_0x0B32:
ld e,$00
inc d
ld a,d
cp $C0
jr nz,Logged_0x0B2D
ld d,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
jr Logged_0x0B2D
Logged_0x0B48:
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C0AD]
ld h,a
ld a,[$C0AE]
ld l,a
call Logged_0x0B7B
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x0B7B:
ld a,$A0
srl a
add a,$B0
dec a
ld c,a
ld de,$A0B0
Logged_0x0B86:
ld a,[hli]
and a
ret z
bit 7,a
jr nz,Logged_0x0BB6
ld b,a
ld a,[hli]
ld [$C09F],a
Logged_0x0B92:
ld a,[$C09F]
ld [de],a
ld a,e
cp c
jr z,Logged_0x0BA0
inc de
Logged_0x0B9B:
dec b
jr nz,Logged_0x0B92
jr Logged_0x0B86
Logged_0x0BA0:
ld e,$B0
inc d
ld a,d
cp $C0
jr nz,Logged_0x0BB4
ld d,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x0BB4:
jr Logged_0x0B9B
Logged_0x0BB6:
and $7F
ld b,a
Logged_0x0BB9:
ld a,[hli]
ld [de],a
ld a,e
cp c
jr z,Logged_0x0BC5
inc de
Logged_0x0BC0:
dec b
jr nz,Logged_0x0BB9
jr Logged_0x0B86
Logged_0x0BC5:
ld e,$B0
inc d
ld a,d
cp $C0
jr nz,Logged_0x0BC0
ld d,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
jr Logged_0x0BC0
Logged_0x0BDB:
ld a,[hli]
ld d,a
ld a,[hli]
swap a
and $0F
ld b,a
ld a,d
and $0F
swap a
add a,b
ld b,$01
add a,$A0
cp $C0
jr c,Logged_0x0BFB
inc b
sub $20
cp $C0
jr c,Logged_0x0BFB
inc b
sub $20
Logged_0x0BFB:
ld [$CCEA],a
ld a,b
ld [$CCE9],a
ld a,[hli]
ld d,a
ld a,[hl]
swap a
and $0F
ld l,a
ld a,d
and $0F
swap a
add a,l
ld l,a
ld [$CCEB],a
ld a,[$CCEA]
ld h,a
ret
Logged_0x0C19:
ld a,h
sub $A0
ld e,a
ld d,$00
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
ld a,d
and $03
ld d,a
ld a,l
and $0F
add a,a
ld l,a
ld h,$98
add hl,de
ld a,h
ld [$CCF0],a
ld a,l
ld [$CCF1],a
ret
Logged_0x0C4C:
ld a,[$C1A0]
and a
jr nz,Logged_0x0C72
xor a
ld [rRAMB+$100],a
ld hl,$C0BC
ld a,[$C083]
add a,[hl]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
ld hl,$CE6A
ld bc,$CE01
jp $C210
Logged_0x0C72:
ld hl,$C1A1
ld a,[hli]
ld [rROMB0+$100],a
ld c,$51
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [rVBK],a
inc c
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hl]
ld [$FF00+c],a
xor a
ld [$C1A0],a
ld hl,$C0BC
ld a,[$C083]
add a,[hl]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
xor a
ld [$CE00],a
ld [$CE69],a
ret
ld a,$01
ld [rVBK],a
ld hl,$CE6A
ld bc,$CE35
jp $C800
xor a
ld [$CE00],a
ld [$CE69],a
ret
Logged_0x0CC0:
ld a,[hli]
ld d,a
ld a,[hli]
swap a
and $0F
ld c,a
ld a,d
and $0F
swap a
add a,c
add a,$A0
ld c,a
ld [$CCED],a
ld a,[hli]
ld d,a
ld a,[hl]
swap a
and $0F
ld l,a
ld a,d
and $0F
swap a
add a,l
srl a
ld l,a
ld a,$00
adc a,$00
xor $01
ld [$CCEF],a
ld b,a
ld a,l
add a,$B0
ld l,a
ld [$CCEE],a
ld h,c
ret
Logged_0x0CF8:
push hl
ld a,h
sub $A0
ld h,a
and $F0
swap a
ld d,a
ld a,[$CCEC]
dec a
add a,a
add a,d
ld [$FF00+$A8],a
ld a,h
and $0F
swap a
add a,$10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
ld a,b
xor $01
add a,a
add a,a
add a,a
add a,a
add a,$08
ld d,a
ld a,l
sub $B0
add a,a
ld l,a
and $F0
swap a
ld [$FF00+$AA],a
ld a,l
and $0F
swap a
add a,d
ld [$FF00+$AB],a
ld a,[$FF00+$AA]
adc a,$00
ld [$FF00+$AA],a
pop hl
ret
Logged_0x0D3E:
ld a,h
sub $A0
ld d,a
and $F0
swap a
ld b,a
ld a,[$CCE9]
dec a
add a,a
add a,b
ld [$FF00+$A8],a
ld a,d
and $0F
swap a
add a,$10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
ld a,l
sub $00
ld e,a
and $F0
swap a
ld [$FF00+$AA],a
ld a,e
and $0F
swap a
add a,$08
ld [$FF00+$AB],a
ld a,[$FF00+$AA]
adc a,$00
ld [$FF00+$AA],a
ld a,l
and $01
xor $01
ld b,a
ld [$CCEF],a
ret
Logged_0x0D81:
ld a,l
sub $B0
add a,a
ld l,a
ld a,b
xor $01
add a,l
ld l,a
ret
Logged_0x0D8C:
ld a,[$CCE9]
ld [$CCEC],a
ld b,$01
ld a,l
srl a
jr nc,Logged_0x0D9A
dec b
Logged_0x0D9A:
add a,$B0
ld l,a
ret
Logged_0x0D9E:
ld a,[$CA8E]
cp $06
jr nz,Logged_0x0DB1
ld hl,$CA8D
inc [hl]
ld a,[hl]
and $F2
cp $F0
jr z,Logged_0x0DB6
ret
Logged_0x0DB1:
ld a,[$CA8D]
and a
ret nz
Logged_0x0DB6:
ld a,[$CA7E]
ld [$C0AC],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$CA7F]
ld h,a
ld a,[$CA80]
ld l,a
ld a,[$CA87]
ld [$C096],a
ld a,[$CA88]
ld [$C097],a
ld a,[$CA65]
ld [$C098],a
ld a,[$CA66]
ld [$C099],a
call Logged_0x0DF4
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x0DF4:
ld a,[$C098]
ld d,$00
add a,a
ld e,a
add hl,de
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$C097
ld a,[hld]
ld c,a
ld a,[hld]
ld b,a
ld l,[hl]
ld h,$CC
Logged_0x0E09:
ld a,l
cp $A0
ret nc
ld a,[de]
cp $80
ret z
ld a,[de]
add a,b
ld [hli],a
inc de
ld a,[de]
add a,c
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
push hl
ld hl,$C099
ld a,[de]
xor [hl]
pop hl
ld [hli],a
ld a,l
ld [$C095],a
inc de
jr Logged_0x0E09
Logged_0x0E2B:
ld a,[$D100]
bit 1,a
ret z
Logged_0x0E31:
ld a,[$CCE9]
dec a
add a,a
add a,a
add a,a
add a,a
add a,a
add a,h
ld b,a
ld c,l
ld hl,$C18E
ld a,[$C19E]
ld e,a
ld d,$00
add hl,de
ld a,b
ld [hli],a
ld [hl],c
ld a,e
add a,$02
and $0F
ld [$C19E],a
ret
ld a,[$CA81]
ld d,a
ld a,[$CA82]
ld e,a
xor a
ld [$C1A8],a
ld hl,$CA67
ld a,[hl]
sub $01
ld [hli],a
ret nc
ld a,[hl]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0x0E7E
ld [$CA65],a
ld a,[hl]
add a,$02
ld [hld],a
inc bc
ld a,[bc]
ld [hl],a
ret
Logged_0x0E7E:
xor a
ld [hld],a
ld [hl],a
ld a,$01
ld [$C1A8],a
ret
Unknown_0x0E87:
jp Logged_0x015E
Logged_0x0E8A:
ld d,$00
ld a,[$CA06]
add a,a
ld e,a
rl d
ld hl,$40BE
add hl,de
ld a,[$C5FF]
push af
ld a,$30
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[hli]
ld h,[hl]
ld l,a
ld a,h
inc a
jr z,Unknown_0x0E87
ld a,[hli]
ld [$C0AE],a
ld a,[hli]
ld [$C0AD],a
ld a,[hl]
ld [$C0AC],a
push hl
call Logged_0x0AB5
pop hl
ld a,[hli]
ld [$C0AC],a
ld a,[hli]
ld [$C0AE],a
ld a,[hl]
ld [$C0AD],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
push hl
ld a,[$CEEF]
and $3C
jr nz,Logged_0x0ED9
call Logged_0x0B48
Logged_0x0ED9:
pop hl
ret
Logged_0x0EDB:
ld d,$00
ld a,[$CA06]
add a,a
ld e,a
rl d
ld hl,$40BE
add hl,de
ld a,[$C5FF]
push af
ld a,$30
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[hli]
ld h,[hl]
ld l,a
ld a,h
inc a
jp z,Unknown_0x0E87
ld a,[hli]
ld [$C0AE],a
ld a,[hli]
ld [$C0AD],a
ld a,[hl]
ld [$C0AC],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x0F13
ret
Logged_0x0F13:
ld a,[$CEEF]
and $3C
ret nz
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C0AD]
ld d,a
ld a,[$C0AE]
ld e,a
call Logged_0x0F4C
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x0F4C:
ld c,$A0
ld hl,$A000
Logged_0x0F51:
ld a,[de]
and a
ret z
bit 7,a
jr nz,Logged_0x0F85
ld b,a
inc de
ld a,[de]
and $80
ld [$C09F],a
inc de
Logged_0x0F61:
ld a,[$C09F]
or [hl]
ld [hli],a
ld a,l
cp c
jr z,Logged_0x0F6F
Logged_0x0F6A:
dec b
jr nz,Logged_0x0F61
jr Logged_0x0F51
Logged_0x0F6F:
ld l,$00
inc h
ld a,h
cp $C0
jr nz,Logged_0x0F83
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x0F83:
jr Logged_0x0F6A
Logged_0x0F85:
and $7F
ld b,a
inc de
Logged_0x0F89:
ld a,[de]
and $80
or [hl]
ld [hli],a
inc de
ld a,l
cp c
jr z,Logged_0x0F98
Logged_0x0F93:
dec b
jr nz,Logged_0x0F89
jr Logged_0x0F51
Logged_0x0F98:
ld l,$00
inc h
ld a,h
cp $C0
jr nz,Logged_0x0F93
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
jr Logged_0x0F93
Logged_0x0FAE:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F00
pop af
ld [rSVBK],a
ret
Logged_0x0FBC:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F06
pop af
ld [rSVBK],a
ret
Logged_0x0FCA:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F0C
pop af
ld [rSVBK],a
ret
Unknown_0x0FD8:
INCBIN "baserom.gbc", $0FD8, $0FE6 - $0FD8
Logged_0x0FE6:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F18
pop af
ld [rSVBK],a
ret
Logged_0x0FF4:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F1E
pop af
ld [rSVBK],a
ret
Logged_0x1002:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F24
pop af
ld [rSVBK],a
ret
Unknown_0x1010:
INCBIN "baserom.gbc", $1010, $102C - $1010
Logged_0x102C:
ld [$FF00+$AC],a
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$FF00+$AC]
call Logged_0x3F36
pop af
ld [rSVBK],a
ret
Unknown_0x103E:
INCBIN "baserom.gbc", $103E, $1062 - $103E
Logged_0x1062:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x3F48
pop af
ld [rSVBK],a
ret
Logged_0x1070:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$12
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1079:
ld a,[$CA8E]
cp $53
call z,Logged_0x10A7
xor a
ld [$CA8C],a
ld [$CA8E],a
ld [$CA8F],a
ld [$CA92],a
ld [$CA93],a
ld [$CA94],a
ld [$CA8A],a
ld [$CA90],a
ld [$CA91],a
ld [$CA9B],a
ld [$CA8D],a
ld [$CA9C],a
ret
Logged_0x10A7:
ld hl,$C000
ld a,$80
ld [rBCPS],a
ld b,$08
ld c,$69
Logged_0x10B2:
ld a,[rSTAT]
and $03
jr z,Logged_0x10B2
Logged_0x10B8:
ld a,[rSTAT]
and $03
jr nz,Logged_0x10B8
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x10B2
ld hl,$C058
ld a,$98
ld [rOCPS],a
ld b,$04
ld c,$6B
Logged_0x10DC:
ld a,[rSTAT]
and $03
jr z,Logged_0x10DC
Logged_0x10E2:
ld a,[rSTAT]
and $03
jr nz,Logged_0x10E2
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x10DC
ret
Unknown_0x10FC:
INCBIN "baserom.gbc", $10FC, $1146 - $10FC
Logged_0x1146:
call Logged_0x114E
ld a,c
ld [$CA78],a
ret
Logged_0x114E:
ld a,[$CA61]
dec a
jr z,Logged_0x115B
dec a
jr z,Logged_0x115F
ld c,$05
jr Logged_0x1161
Logged_0x115B:
ld c,$03
jr Logged_0x1161
Logged_0x115F:
ld c,$01
Logged_0x1161:
ld a,[$CA62]
cp $80
ret nc
inc c
ret
Logged_0x1169:
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x117F
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x117F
jr c,Logged_0x117F
jr Logged_0x11AE
Logged_0x117F:
ret
Unknown_0x1180:
INCBIN "baserom.gbc", $1180, $1197 - $1180
Logged_0x1197:
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x11AD
call Logged_0x114E
ld a,[$CA78]
sub c
jr c,Logged_0x11AB
jr Logged_0x11AD
Logged_0x11AB:
jr Logged_0x11D6
Logged_0x11AD:
ret
Logged_0x11AE:
ld a,c
ld [$CA78],a
cp $05
jr z,Logged_0x11BA
ld a,$80
jr Logged_0x11BC
Logged_0x11BA:
ld a,$68
Logged_0x11BC:
ld [$C1A9],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E1
ld [$FF00+hSFXIDLow],a
ld a,$08
ld [$C1AA],a
ld a,$01
ld [$CA73],a
xor a
ld [$CAC8],a
ret
Logged_0x11D6:
ld a,c
ld [$CA78],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E1
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1AA],a
ld a,$01
ld [$CA73],a
ld a,$80
ld [$C1A9],a
xor a
ld [$CAC8],a
ret
Logged_0x11F6:
xor a
ld [$CA9A],a
ld [$C1B1],a
ld [$CED9],a
ld [$CEE0],a
ld [$CEE1],a
ld [$CEE2],a
ld [$CAC3],a
ld [$C0E6],a
inc a
ld [$CA8A],a
ld a,[$C0D7]
bit 7,a
ret nz
ld hl,wGameSubState
ld a,[$C0D7]
bit 5,a
jr z,Logged_0x1246
inc [hl]
ld a,$02
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,h
ld [$D508],a
ld a,l
ld [$D507],a
pop af
ld [rSVBK],a
ret
Logged_0x1246:
inc [hl]
inc [hl]
ld a,$FF
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+hMusicIDLow],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1259:
ld a,[$C0C3]
add a,b
ld [$C0C3],a
ld a,[$CA64]
add a,b
ld [$CA64],a
ld a,[$CA63]
adc a,$00
ld [$CA63],a
ret
Logged_0x1270:
ld a,[$C0C3]
sub b
ld [$C0C3],a
ld a,[$CA64]
sub b
ld [$CA64],a
ld a,[$CA63]
sbc a,$00
ld [$CA63],a
ret
Logged_0x1287:
ld a,[$C0C2]
add a,b
ld [$C0C2],a
Logged_0x128E:
ld a,[$CA62]
add a,b
ld [$CA62],a
ld a,[$CA61]
adc a,$00
ld [$CA61],a
ret
Logged_0x129E:
ld a,[$C0C2]
sub b
ld [$C0C2],a
Logged_0x12A5:
ld a,[$CA62]
sub b
ld [$CA62],a
ld a,[$CA61]
sbc a,$00
ld [$CA61],a
ret
Logged_0x12B5:
ld a,[$CA97]
and a
ret nz
ld a,b
ld [$CA97],a
xor a
ld [$CA98],a
ret
Logged_0x12C3:
ld hl,$CCA0
ld b,$42
xor a
call Logged_0x0420
ret
Logged_0x12CD:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$C083]
ld [$D500],a
ld a,[$C085]
ld [$D501],a
ld hl,$C000
ld de,$D280
ld b,$80
call MemCopy_DE_HL
pop af
ld [rSVBK],a
xor a
ld [rVBK],a
ld a,[rSVBK]
push af
ld a,$04
ld [rSVBK],a
ld hl,_VRAM
ld de,$D000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$05
ld [rSVBK],a
ld hl,_VRAM+$1000
ld de,$D000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$01
ld [rVBK],a
ld a,[rSVBK]
push af
ld a,$06
ld [rSVBK],a
ld hl,_VRAM
ld de,$D000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$07
ld [rSVBK],a
ld hl,_VRAM+$1000
ld de,$D000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
xor a
ld [rVBK],a
ret
Logged_0x1351:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$D500]
ld [$C083],a
ld a,[$D501]
ld [$C085],a
ld hl,$D280
ld de,$C000
ld b,$80
call MemCopy_DE_HL
pop af
ld [rSVBK],a
xor a
ld [rVBK],a
ld a,[rSVBK]
push af
ld a,$04
ld [rSVBK],a
ld hl,$D000
ld de,_VRAM
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$05
ld [rSVBK],a
ld hl,$D000
ld de,_VRAM+$1000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$01
ld [rVBK],a
ld a,[rSVBK]
push af
ld a,$06
ld [rSVBK],a
ld hl,$D000
ld de,_VRAM
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$07
ld [rSVBK],a
ld hl,$D000
ld de,_VRAM+$1000
ld bc,$1000
call Logged_0x0434
pop af
ld [rSVBK],a
xor a
ld [rVBK],a
ret
Logged_0x13D5:
call Logged_0x08E6
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$D50F]
ld [$C1AC],a
ld a,[$D510]
ld [$C1AD],a
pop af
ld [rSVBK],a
xor a
ld [$C1AF],a
ld [$C1AE],a
ld a,$01
ld [$CED8],a
call Logged_0x1351
ld a,[$C0D7]
and $F0
or $02
ld [$C0D7],a
ld a,$7C
ld [$FF00+$85],a
ld a,$69
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$87
ld [rLCDC],a
Logged_0x141A:
ld hl,wGameState
ld [hl],GAME_STATE_LEVEL
ld a,[$CED5]
ld [wGameSubState],a
ret
Logged_0x1426:
ld hl,$CA3B
set 7,[hl]
Logged_0x142B:
ld a,$F0
ld [$CEE3],a
ld a,$01
ld [$FF00+$85],a
ld a,$1E
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1440:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$7C
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x145A:
xor a
ld [$D514],a
ld a,[hld]
ld e,a
ld a,[hld]
ld d,a
ld a,[hl]
sub $01
ld [hld],a
ret nc
ld a,[hl]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0x147F
dec l
dec l
ld [hli],a
inc l
ld a,[hl]
add a,$02
ld [hli],a
inc bc
ld a,[bc]
ld [hl],a
ret
Logged_0x147F:
xor a
ld [hli],a
ld [hl],a
ld a,$01
ld [$D514],a
ret
Logged_0x1488:
ld a,[$CA74]
dec a
jr z,Logged_0x14AF
dec a
jr z,Logged_0x14AA
dec a
jr z,Logged_0x14A5
dec a
jr z,Logged_0x14A0
dec a
jr z,Logged_0x149B
ret
Logged_0x149B:
ld hl,$1947
jr Logged_0x14B2
Logged_0x14A0:
ld hl,$191F
jr Logged_0x14B2
Logged_0x14A5:
ld hl,$18CF
jr Logged_0x14B2
Logged_0x14AA:
ld hl,$18A7
jr Logged_0x14B2
Logged_0x14AF:
ld hl,$18F7
Logged_0x14B2:
ld a,[$CA75]
ld e,a
ld d,$00
add hl,de
bit 7,[hl]
jr z,Logged_0x14CA
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
jr Logged_0x14DD
Logged_0x14CA:
xor a
ld [$CA76],a
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x14DD
ld [hl],$27
Logged_0x14DD:
ret
Logged_0x14DE:
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x14F5
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x14F5
jr c,Logged_0x14F5
jp Logged_0x11AE
Logged_0x14F5:
ret
Logged_0x14F6:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1501:
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x151D
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x151D
jr c,Logged_0x151A
call Logged_0x11AE
jr Logged_0x151D
Logged_0x151A:
call Logged_0x11D6
Logged_0x151D:
ret
Logged_0x151E:
ld a,[$CA69]
and a
jr nz,Logged_0x152A
xor a
ld [$CA86],a
jr Logged_0x1554
Logged_0x152A:
ld a,[$C189]
bit 0,a
jr z,Logged_0x1554
Logged_0x1531:
ld a,[$CA86]
cp $08
jr c,Logged_0x1554
ld a,$04
ld [$CA86],a
jr Logged_0x1554
Logged_0x153F:
ld a,[$CA69]
and a
jr z,Logged_0x154B
xor a
ld [$CA86],a
jr Logged_0x1554
Logged_0x154B:
ld a,[$C189]
bit 1,a
jr z,Logged_0x1554
jr Logged_0x1531
Logged_0x1554:
ld a,[$CA86]
ld e,a
ld d,$00
ld hl,$196F
add hl,de
ld b,[hl]
ld hl,$CA86
ld a,[hl]
cp $1B
jr z,Unknown_0x1569
inc [hl]
ret
Unknown_0x1569:
and $FC
ld [hl],a
ret
Unknown_0x156D:
jp Logged_0x015E
Logged_0x1570:
call Logged_0x1079
ld a,$10
ld [$CA8C],a
jr Logged_0x157D
Logged_0x157A:
call Logged_0x1079
Logged_0x157D:
call Logged_0x161A
ld hl,$4800
call Logged_0x1AF6
ld a,[$CA74]
and a
jr nz,Logged_0x159E
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1070
Logged_0x159E:
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1070
Logged_0x15B0:
ld a,[$CA7B]
ld [$C1A1],a
ld a,[$CA7C]
ld [$C1A2],a
ld a,[$CA7D]
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ret
Logged_0x15DC:
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x15FF
ld a,[$CEE3]
cp $F1
jr z,Logged_0x15FF
cp $F2
jr z,Logged_0x15FF
cp $F3
jr z,Logged_0x15FF
ld a,[$CA3D]
and $01
jr z,Logged_0x15FF
ld a,[$CA39]
dec a
jr z,Logged_0x1610
Logged_0x15FF:
ld a,[wGameSubState]
ld [$CED5],a
ld a,GAME_STATE_PAUSE
ld [wGameState],a
ld a,$18
ld [wGameSubState],a
ret
Logged_0x1610:
ld hl,wGameState
ld [hl],GAME_STATE_PERFECT
xor a
ld [wGameSubState],a
ret
Logged_0x161A:
ld a,[$CAC3]
and a
jr nz,Logged_0x164D
ld a,[$CA8E]
and a
jr nz,Logged_0x165D
ld a,[$C5FF]
push af
ld a,$0F
ld [$C5FF],a
ld [rROMB0+$100],a
Logged_0x1632:
ld a,[$CA06]
ld d,$00
add a,a
ld e,a
rl d
ld hl,$7E40
add hl,de
ld a,[hli]
ld [$FF00+hMusicIDLow],a
ld a,[hl]
ld [$FF00+hMusicIDHigh],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x164D:
dec a
ld d,$00
add a,a
ld e,a
ld hl,$168A
add hl,de
ld a,[hli]
ld [$FF00+hMusicIDLow],a
ld a,[hl]
ld [$FF00+hMusicIDHigh],a
ret
Logged_0x165D:
ld a,[$CA8E]
and $1F
ld d,$00
add a,a
ld e,a
rl d
ld a,[$C5FF]
push af
ld a,$0F
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$7E00
add hl,de
ld a,[hli]
cp $FF
jr z,Logged_0x1632
ld [$FF00+hMusicIDLow],a
ld a,[hl]
ld [$FF00+hMusicIDHigh],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
LoggedData_0x168A:
INCBIN "baserom.gbc", $168A, $1690 - $168A
Logged_0x1690:
xor a
ld [wGameState],a
ld [wGameSubState],a
ret
Unknown_0x1698:
xor a
ld hl,$A380
ld b,$08
call Logged_0x0420
ld hl,$AB80
ld b,$08
call Logged_0x0420
ld hl,$A000
ld b,$08
call Logged_0x0420
ld hl,$A800
ld b,$08
call Logged_0x0420
ld hl,$A400
ld b,$08
call Logged_0x0420
ld hl,$AC00
ld b,$08
call Logged_0x0420
ld a,$00
ld [$FF00+$FD],a
jp Logged_0x015E
Logged_0x16D0:
ld hl,wGameState
ld a,GAME_STATE_TUTORIAL
ld [hli],a
ld [hl],$00
ret
Logged_0x16D9:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $18
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld b,$0E
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1700:
xor a
ld [$C0DE],a
ld a,[$CA71]
cpl
inc a
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
ld a,$06
ld [$FF00+$85],a
ld a,$51
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DE]
and a
ret nz
ld a,[$CA72]
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
ld a,$06
ld [$FF00+$85],a
ld a,$51
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DE]
and a
ret
Logged_0x1762:
ld a,[$CA75]
cp $18
jr nc,Logged_0x1776
ld a,[$CA86]
cp $10
jr c,Logged_0x1775
ld a,$0C
ld [$CA86],a
Logged_0x1775:
ret
Logged_0x1776:
ld a,[$CA86]
cp $08
jr c,Logged_0x1782
ld a,$04
ld [$CA86],a
Logged_0x1782:
ret
Logged_0x1783:
ld a,$35
ld [$FF00+$85],a
ld a,$76
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret
Logged_0x1795:
ld a,$02
ld b,$40
ld d,$0F
ld e,$0F
call Logged_0x102C
call Logged_0x0FBC
ret
Logged_0x17A4:
ld hl,$CA3E
ld c,$03
Logged_0x17A9:
ld b,$08
ld a,[hli]
Logged_0x17AC:
rrca
jr nc,Logged_0x17BC
dec b
jr nz,Logged_0x17AC
dec c
jr nz,Logged_0x17A9
ld a,[hl]
rrca
jr nc,Logged_0x17BC
ld a,$01
ret
Logged_0x17BC:
xor a
ret
Logged_0x17BE:
ld a,[hli]
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld a,[$C5FF]
push af
ld a,$2A
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$6B5C
call Logged_0x0DF4
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x17EC:
ld a,[hli]
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld a,[$D521]
ld [$C0AC],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$D51E]
ld h,a
ld a,[$D51F]
ld l,a
call Logged_0x0DF4
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Unknown_0x1826:
INCBIN "baserom.gbc", $1826, $1827 - $1826
LoggedData_0x1827:
INCBIN "baserom.gbc", $1827, $1867 - $1827
Unknown_0x1867:
INCBIN "baserom.gbc", $1867, $18A7 - $1867
LoggedData_0x18A7:
INCBIN "baserom.gbc", $18A7, $1987 - $18A7
Unknown_0x1987:
INCBIN "baserom.gbc", $1987, $198B - $1987
LoggedData_0x198B:
INCBIN "baserom.gbc", $198B, $19F3 - $198B
Logged_0x19F3:
ld hl,$C100
ld a,$80
ld [rBCPS],a
ld b,$40
ld c,$69
Logged_0x19FE:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x19FE
ret
Logged_0x1A04:
ld hl,$C140
ld a,$80
ld [rOCPS],a
ld b,$40
ld c,$6B
Logged_0x1A0F:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1A0F
ret
Logged_0x1A15:
ld de,$C000
ld b,$40
Logged_0x1A1A:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x1A1A
ret
Logged_0x1A21:
ld de,$C040
ld b,$40
Logged_0x1A26:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x1A26
ret
Logged_0x1A2D:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x1A2D
ret
Logged_0x1A34:
ld de,$C060
ld b,$20
Logged_0x1A39:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x1A39
ret
Logged_0x1A40:
ld a,[rKEY1]
bit 7,a
ret nz
ld a,$01
ld [rKEY1],a
ld a,[rIE]
push af
xor a
ld [rIE],a
ld a,$30
ld [rP1],a
stop
Logged_0x1A55:
ld a,[rKEY1]
bit 7,a
jr z,Logged_0x1A55
xor a
ld [rP1],a
ld [rIF],a
pop af
ld [rIE],a
ret
Logged_0x1A64:
ld a,[$FF00+$FE]
and a
ret z
ld a,$01
ld [rVBK],a
xor a
ld hl,_VRAM
ld bc,$2000
call Fill_HL_A
xor a
ld [rVBK],a
ld hl,_VRAM
ld bc,$2000
jp Fill_HL_A
Logged_0x1A82:
ld e,$01
Logged_0x1A84:
ld a,e
ld [rSVBK],a
xor a
ld hl,$D000
ld bc,$1000
call Fill_HL_A
inc e
bit 3,e
jr z,Logged_0x1A84
xor a
ld [rSVBK],a
ret
Logged_0x1A9A:
xor a
ld e,a
ld hl,$C100
ld b,$40
ld c,$69
Logged_0x1AA3:
ld a,e
ld [rBCPS],a
ld a,[$FF00+c]
ld [hli],a
inc e
dec b
jr nz,Logged_0x1AA3
ret
Logged_0x1AAD:
xor a
ld e,a
ld hl,$C140
ld b,$40
ld c,$6B
Logged_0x1AB6:
ld a,e
ld [rOCPS],a
ld a,[$FF00+c]
ld [hli],a
inc e
dec b
jr nz,Logged_0x1AB6
ret
Logged_0x1AC0:
ld hl,$1827
ld a,$80
ld [rBCPS],a
ld b,$40
ld c,$69
Logged_0x1ACB:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1ACB
ret
Logged_0x1AD1:
ld hl,$1827
ld a,$80
ld [rOCPS],a
ld b,$40
ld c,$6B
Logged_0x1ADC:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1ADC
ret
Unknown_0x1AE2:
INCBIN "baserom.gbc", $1AE2, $1AF6 - $1AE2
Logged_0x1AF6:
ld a,h
ld [$CA79],a
ld a,l
ld [$CA7A],a
ld a,[$C5FF]
push af
ld a,$03
ld [$C5FF],a
ld [rROMB0+$100],a
push hl
ld de,$C040
ld b,$10
ld a,$03
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,$80
ld [rOCPS],a
ld b,$02
ld c,$6B
Logged_0x1B28:
ld a,[rSTAT]
and $03
jr z,Logged_0x1B28
Logged_0x1B2E:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1B2E
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1B28
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x1B4F:
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$CED4
ld a,[hl]
and $7F
dec a
ld c,a
ld b,$00
ld hl,$D0F4
add hl,bc
ld a,[hl]
sub $04
add a,a
add a,a
add a,a
ld e,a
ld d,b
ld hl,$6D65
add hl,de
ld a,[$C5FF]
push af
ld a,$26
ld [$C5FF],a
ld [rROMB0+$100],a
push hl
ld de,$C060
ld a,c
add a,a
add a,a
add a,a
ld c,a
add a,e
ld e,a
ld b,$08
ld a,$26
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,$A0
or c
ld [rOCPS],a
ld c,$6B
Logged_0x1BA0:
ld a,[rSTAT]
and $03
jr z,Logged_0x1BA0
Logged_0x1BA6:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1BA6
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [rSVBK],a
ret
Logged_0x1BC7:
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$CED4
ld a,[hl]
and $7F
dec a
ld c,a
ld b,$00
ld hl,$D0F4
add hl,bc
ld a,[hl]
sub $04
add a,a
add a,a
add a,a
ld e,a
ld d,b
ld hl,$6D65
add hl,de
ld a,[$C5FF]
push af
ld a,$26
ld [$C5FF],a
ld [rROMB0+$100],a
ld de,$C078
ld b,$08
ld a,$26
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [rSVBK],a
ret
Logged_0x1C13:
push bc
push hl
sla b
sla b
sla b
call Logged_0x1A2D
pop hl
pop bc
ld a,c
add a,a
add a,a
add a,a
or $80
ld [rOCPS],a
ld c,$6B
Logged_0x1C2A:
ld a,[rSTAT]
and $03
jr z,Logged_0x1C2A
Logged_0x1C30:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1C30
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1C2A
ret
Logged_0x1C4A:
ld hl,$C000
ld a,$80
ld [rBCPS],a
ld b,$40
ld c,$69
Logged_0x1C55:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1C55
ret
Logged_0x1C5B:
ld hl,$C040
ld a,$80
ld [rOCPS],a
ld b,$40
ld c,$6B
Logged_0x1C66:
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1C66
ret
Unknown_0x1C6C:
INCBIN "baserom.gbc", $1C6C, $2800 - $1C6C
Logged_0x2800:
ld a,[$C0CA]
add a,a
ld e,a
ld d,$00
ld hl,$4000
add hl,de
ld a,[$C5FF]
push af
ld a,$32
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[hli]
ld h,[hl]
ld l,a
ld a,h
cp $FF
jr z,Unknown_0x2859
ld a,[$C0CA]
cp $3F
jr nc,Logged_0x2836
ld de,$CD00
ld b,$00
call MemCopy_DE_HL
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x2836:
ld a,[$C5FF]
push af
ld a,$50
ld [$C5FF],a
ld [rROMB0+$100],a
ld de,$CD00
ld b,$00
call MemCopy_DE_HL
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Unknown_0x2859:
jp Logged_0x015E
Logged_0x285C:
ld a,$70
ld [$CA5E],a
ld a,$58
ld [$CA5F],a
sub $58
cpl
inc a
add a,$58
ld [$CA60],a
ld a,[$C5FF]
push af
ld a,$30
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$CA06]
add a,a
ld e,a
ld d,$00
rl d
ld hl,$4319
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,h
cp $FF
jr nz,Logged_0x2893
jp Logged_0x015E
Logged_0x2893:
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$CA06]
cp $64
jr nc,Logged_0x28AF
ld a,[$C5FF]
push af
ld a,$30
ld [$C5FF],a
ld [rROMB0+$100],a
jr Logged_0x28BB
Logged_0x28AF:
ld a,[$C5FF]
push af
ld a,$31
ld [$C5FF],a
ld [rROMB0+$100],a
Logged_0x28BB:
ld a,[$C0A0]
add a,a
ld e,a
ld d,$00
add hl,de
ld a,[hli]
ld e,a
ld h,[hl]
ld l,e
ld a,h
cp $FF
jr nz,Logged_0x28CF
jp Logged_0x015E
Logged_0x28CF:
ld a,[hli]
ld [$C0A1],a
ld a,[hl]
swap a
and $0F
ld [$C0B7],a
ld a,[hli]
and $0F
ld [$C0B6],a
ld a,[hl]
swap a
and $0F
ld [$C0B8],a
ld a,[hli]
and $0F
ld [$C0B9],a
ld a,[hli]
ld [$C0BA],a
ld a,[hli]
ld [$C0C8],a
push hl
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$19
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
pop hl
ld a,[hli]
ld [$C1AB],a
push hl
ld a,$30
ld [$FF00+$85],a
ld a,$78
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[hli]
ld [$C1B0],a
push hl
ld a,$30
ld [$FF00+$85],a
ld a,$95
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[hl]
ld [$C0C9],a
ld a,$30
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C0B6]
add a,a
add a,a
add a,a
add a,a
add a,$A0
jr nz,Logged_0x2963
ld a,$FF
Logged_0x2963:
ld [$C0C4],a
ld a,[$C0B7]
add a,a
add a,a
add a,a
add a,a
add a,$A0
ld [$C0C5],a
ld a,[$C0B9]
add a,a
add a,a
add a,a
add a,$B0
jr nz,Logged_0x297E
ld a,$FF
Logged_0x297E:
ld [$C0C7],a
ld a,[$C0B8]
add a,a
add a,a
add a,a
add a,$B0
ld [$C0C6],a
ret
Logged_0x298D:
ld a,[$C0CA]
add a,a
ld e,a
ld d,$00
ld hl,$490D
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C0CF]
ld [$C0AC],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld de,$C600
ld bc,$0200
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x29BF:
ld a,[$C0CB]
add a,a
ld e,a
ld d,$00
ld hl,$49D1
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C0D0]
ld [$C0AC],a
ld bc,$D300
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29E7:
ld a,[$C0CC]
add a,a
ld e,a
ld d,$00
ld hl,$4A95
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C0D1]
ld [$C0AC],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld de,_VRAM+$1000
ld bc,$0800
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x2A19:
ld a,$01
ld [rVBK],a
ld a,[$C0CD]
add a,a
ld e,a
ld d,$00
ld hl,$4AF7
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C0D2]
ld [$C0AC],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld de,_VRAM+$1000
ld bc,$0800
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
xor a
ld [rVBK],a
ret
Logged_0x2A52:
ld a,[$C0CE]
add a,a
ld e,a
ld d,$00
ld hl,$4B1B
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C0D3]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A77:
ld a,[rLY]
cp $88
jp nc,Logged_0x2B24
ld a,[$C1B1]
and a
jp z,Logged_0x2B24
ld b,a
ld a,[$C1B5]
inc a
ld [$C1B5],a
cp b
jp c,Logged_0x2B24
xor a
ld [$C1B5],a
ld a,[$C1B2]
ld h,a
ld a,[$C1B3]
ld l,a
ld a,[$C1B4]
inc a
cp $08
jr c,Logged_0x2AA6
xor a
Logged_0x2AA6:
ld [$C1B4],a
ld e,a
ld d,$00
add hl,de
ld a,[$C5FF]
push af
ld a,$30
ld [$C5FF],a
ld [rROMB0+$100],a
ld d,$00
ld a,[hl]
add a,a
ld e,a
rl d
ld hl,$4B1B
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C5FF]
push af
ld a,$33
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,$80
ld [rBCPS],a
ld b,$05
ld c,$69
Logged_0x2AE2:
ld a,[rSTAT]
and $03
jr z,Logged_0x2AE2
Logged_0x2AE8:
ld a,[rSTAT]
and $03
jr nz,Logged_0x2AE8
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x2AE2
Logged_0x2B09:
ld a,[rSTAT]
and $03
jr z,Logged_0x2B09
Logged_0x2B0F:
ld a,[rSTAT]
and $03
jr nz,Logged_0x2B0F
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hl]
ld [$FF00+c],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
Logged_0x2B24:
ret
Unknown_0x2B25:
INCBIN "baserom.gbc", $2B25, $2C00 - $2B25
Logged_0x2C00:
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x2C18:
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
call Decompress_BC_HL
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x2C30:
ld a,h
ld [rHDMA1],a
ld a,l
ld [rHDMA2],a
ld a,[$DC11]
ld [rHDMA3],a
ld a,[$DC12]
ld [rHDMA4],a
ld a,[$DC13]
ld [rHDMA5],a
ret
Logged_0x2C46:
ld de,$FF68
ld c,$04
jr Logged_0x2C52
Unknown_0x2C4D:
INCBIN "baserom.gbc", $2C4D, $2C52 - $2C4D
Logged_0x2C52:
ld a,$80
ld [de],a
inc e
Logged_0x2C56:
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
ld a,[hli]
ld [de],a
dec c
jr nz,Logged_0x2C56
ret
Logged_0x2C7A:
ld c,$00
ld a,[hl]
sub $01
ld [hli],a
ret nc
ld a,[hli]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0x2C98
inc bc
ld [hld],a
ld a,[hl]
add a,$02
ld [hld],a
ld a,[bc]
ld [hl],a
ld c,$00
ret
Logged_0x2C98:
ld a,[hl]
ld [$DC09],a
ld a,[de]
ld [hld],a
inc de
ld a,$02
ld [hld],a
ld a,[de]
ld [hl],a
ld c,$01
ret
Logged_0x2CA7:
ld a,[hli]
ld [$C096],a
ld a,[hli]
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld a,[$DC17]
ld h,a
ld a,[$DC18]
ld l,a
call Logged_0x0DF4
ret
Logged_0x2CC3:
ld hl,$2D38
ld a,[$DC84]
ld b,$00
ld c,a
add hl,bc
ld a,[hl]
ld [$C0AC],a
ld a,[$DC42]
and a
jr z,Logged_0x2CDB
ld a,c
add a,$0C
ld c,a
Logged_0x2CDB:
ld hl,$2D44
ld b,$00
sla c
add hl,bc
ld a,[hli]
ld [$DC18],a
ld a,[hl]
ld [$DC17],a
ld hl,$2D74
add hl,bc
ld a,[hli]
ld d,[hl]
ld e,a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$DC85
call Logged_0x2C7A
ld a,c
ld [$DC2A],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$DC2A]
and a
call nz,Logged_0x1C8F37
ld a,[$DC87]
ld [$DC8A],a
ld a,[$C5FF]
push af
ld a,[$C0AC]
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$DC88
call Logged_0x2CA7
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
LoggedData_0x2D38:
INCBIN "baserom.gbc", $2D38, $2D41 - $2D38
Unknown_0x2D41:
INCBIN "baserom.gbc", $2D41, $2D42 - $2D41
LoggedData_0x2D42:
INCBIN "baserom.gbc", $2D42, $2D56 - $2D42
Unknown_0x2D56:
INCBIN "baserom.gbc", $2D56, $2D58 - $2D56
LoggedData_0x2D58:
INCBIN "baserom.gbc", $2D58, $2D5E - $2D58
Unknown_0x2D5E:
INCBIN "baserom.gbc", $2D5E, $2D6A - $2D5E
LoggedData_0x2D6A:
INCBIN "baserom.gbc", $2D6A, $2D6C - $2D6A
Unknown_0x2D6C:
INCBIN "baserom.gbc", $2D6C, $2D74 - $2D6C
LoggedData_0x2D74:
INCBIN "baserom.gbc", $2D74, $2D86 - $2D74
Unknown_0x2D86:
INCBIN "baserom.gbc", $2D86, $2D88 - $2D86
LoggedData_0x2D88:
INCBIN "baserom.gbc", $2D88, $2D8E - $2D88
Unknown_0x2D8E:
INCBIN "baserom.gbc", $2D8E, $2D9A - $2D8E
LoggedData_0x2D9A:
INCBIN "baserom.gbc", $2D9A, $2D9C - $2D9A
Unknown_0x2D9C:
INCBIN "baserom.gbc", $2D9C, $2DA4 - $2D9C
LoggedData_0x2DA4:
INCBIN "baserom.gbc", $2DA4, $2DAA - $2DA4
Unknown_0x2DAA:
INCBIN "baserom.gbc", $2DAA, $2DB0 - $2DAA
LoggedData_0x2DB0:
INCBIN "baserom.gbc", $2DB0, $2DB5 - $2DB0
Unknown_0x2DB5:
INCBIN "baserom.gbc", $2DB5, $3000 - $2DB5
Logged_0x3000:
ld a,[$C5FF]
push af
ld a,[hl]
swap a
and $07
or $60
ld [$C5FF],a
ld [rROMB0+$100],a
ld l,e
ld a,[hli]
ld [$C096],a
ld a,[hli]
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$C098]
ld d,$00
add a,a
ld e,a
add hl,de
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$C097
ld a,[hld]
ld c,a
ld a,[hld]
ld b,a
ld l,[hl]
ld h,$CC
Logged_0x3036:
ld a,l
cp $A0
jr nc,Logged_0x3054
ld a,[de]
cp $80
jr z,Logged_0x3054
ld a,[de]
add a,b
ld [hli],a
inc de
ld a,[de]
add a,c
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
ld a,l
ld [$C095],a
inc de
jr Logged_0x3036
Logged_0x3054:
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x305C:
ld a,[$D118]
ld b,a
ld hl,$D105
ld a,[hl]
sub b
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x3069:
ld a,[$D118]
ld b,a
ld hl,$D105
ld a,[hl]
add a,b
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x3076:
ld a,[$D118]
ld b,a
ld hl,$D103
ld a,[hl]
sub b
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x3083:
ld a,[$D118]
ld b,a
ld hl,$D103
ld a,[hl]
add a,b
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x3090:
ld hl,$D105
ld a,[hl]
sub $02
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x309A:
ld hl,$D105
ld a,[hl]
add a,$02
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x30A4:
ld hl,$D103
ld a,[hl]
add a,$02
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x30AE:
ld hl,$D103
ld a,[hl]
sub $02
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x30B8:
ld a,[$C08F]
rra
ret c
Logged_0x30BD:
ld hl,$D105
inc [hl]
ret nz
inc l
inc [hl]
ret
Logged_0x30C5:
ld a,[$C08F]
rra
ret nc
Logged_0x30CA:
ld hl,$D105
ld a,[hl]
sub $01
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x30D4:
ld a,[$C08F]
rra
ret c
Logged_0x30D9:
ld hl,$D103
inc [hl]
ret nz
inc l
inc [hl]
ret
Logged_0x30E1:
ld a,[$C08F]
rra
ret nc
Logged_0x30E6:
ld hl,$D103
ld a,[hl]
sub $01
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x30F0:
ld hl,$D112
ld a,e
ld [hli],a
ld a,d
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ret
Logged_0x30FB:
ld l,$1A
ld a,[hl]
and $0F
dec a
ret z
dec [hl]
ret
Logged_0x3104:
ld hl,$D114
ld a,[hld]
sub $01
ret nc
ld a,[$C5FF]
push af
ld a,$1A
ld [$C5FF],a
ld [rROMB0+$100],a
dec l
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
inc l
ld a,[hl]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr nz,Logged_0x312A
ld a,[de]
Logged_0x312A:
ld [$D10F],a
jr Logged_0x316B
Logged_0x312F:
ld hl,$D114
ld a,[hl]
sub $01
ld [hld],a
ret nc
ld a,[$C5FF]
push af
ld a,$1A
ld [$C5FF],a
ld [rROMB0+$100],a
dec l
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
inc l
ld a,[hl]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0x3161
ld [$D10F],a
ld a,[hl]
add a,$02
ld [hld],a
inc bc
ld a,[bc]
ld [hl],a
jr Logged_0x316B
Logged_0x3161:
ld a,$02
ld [hld],a
ld a,[de]
ld [$D10F],a
inc de
ld a,[de]
ld [hl],a
Logged_0x316B:
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3173:
farjump Logged_0x62E57
Logged_0x3182:
farjump Logged_0x62E6E
Logged_0x3191:
farjump Logged_0x62E8F
Logged_0x31A0:
farjump Logged_0x62EA5
Logged_0x31AF:
farjump Logged_0x62F76
Logged_0x31BE:
farjump Logged_0x62F8C
Logged_0x31CD:
farjump Logged_0x62EAA
Logged_0x31DC:
farjump Logged_0x62EC0
Logged_0x31EB:
farjump Logged_0x62F91
Logged_0x31FA:
farjump Logged_0x62FA7
Logged_0x3209:
farjump Logged_0x62E74
Logged_0x3218:
farjump Logged_0x62E8A
Logged_0x3227:
farjump Logged_0x62F5B
Logged_0x3236:
farjump Logged_0x62F71
Logged_0x3245:
farjump Logged_0x62C9F
Logged_0x3254:
farjump Logged_0x62D7D
Logged_0x3263:
farjump Logged_0x6303F
Logged_0x3272:
farjump Logged_0x63050
Logged_0x3281:
farjump Logged_0x6305F
Logged_0x3290:
farjump Logged_0x62A5B
Logged_0x329F:
farjump Logged_0x629D0
Logged_0x32AE:
farjump Logged_0x62AE5
Logged_0x32BD:
farjump Logged_0x62BCE
Logged_0x32CC:
farjump Logged_0x62CA8
Logged_0x32DB:
farjump Logged_0x62D86
Logged_0x32EA:
farjump Logged_0x628EA
Logged_0x32F9:
farjump Logged_0x629A6
Logged_0x3308:
farjump Logged_0x62908
Logged_0x3317:
farjump Logged_0x62898
Logged_0x3326:
farjump Logged_0x62840
Logged_0x3335:
farjump Logged_0x61F54
Logged_0x3344:
farjump Logged_0x620A6
Logged_0x3353:
farjump Logged_0x621FB
Logged_0x3362:
farjump Logged_0x622BD
Logged_0x3371:
farjump Logged_0x62926
Logged_0x3380:
farjump Logged_0x62382
Logged_0x338F:
farjump Logged_0x6247B
Logged_0x339E:
farjump Logged_0x62574
Logged_0x33AD:
farjump Logged_0x62605
Logged_0x33BC:
farjump Logged_0x626DA
Logged_0x33CB:
farjump Logged_0x62768
Logged_0x33DA:
farjump Logged_0x62BB9
Logged_0x33E9:
farjump Logged_0x62AD0
Logged_0x33F8:
farjump Logged_0x62892
Logged_0x3407:
farjump Logged_0x6283A
Logged_0x3416:
farcall Logged_0x642D9
ret
Logged_0x342D:
farcall Logged_0x6428A
ret
Logged_0x3444:
farcall Logged_0x632AC
ret
Logged_0x345B:
farcall Logged_0x63339
ret
Logged_0x3472:
farcall Logged_0x631A1
ret
Logged_0x3489:
farcall Logged_0x63268
ret
Logged_0x34A0:
farcall Logged_0x6328A
ret
Logged_0x34B7:
farcall Logged_0x631E8
ret
Logged_0x34CE:
farcall Logged_0x63247
ret
Unknown_0x34E5:
farcall Logged_0x6189D
ret
Logged_0x34FC:
farcall Logged_0x63209
ret
Logged_0x3513:
farcall Logged_0x19BC3
ld a,b
ret
Logged_0x352B:
farcall Logged_0x19B7B
ld a,b
ret
Logged_0x3543:
farcall Logged_0x19B51
ld a,b
ret
Logged_0x355B:
farcall Logged_0x19B61
ld a,b
ret
Logged_0x3573:
farcall Logged_0x19B69
ld a,b
ret
Logged_0x358B:
farcall Logged_0x19B9B
ld a,b
ret
Logged_0x35A3:
farcall Logged_0x19B8B
ld a,b
ret
Logged_0x35BB:
ld a,c
add a,a
add a,a
add a,a
or $80
ld [rOCPS],a
ld c,$6B
Logged_0x35C5:
ld a,[rSTAT]
and $03
jr z,Logged_0x35C5
Logged_0x35CB:
ld a,[rSTAT]
and $03
jr nz,Logged_0x35CB
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x35C5
ret
Logged_0x35E5:
ld a,c
add a,a
add a,a
add a,a
or $80
ld [rBCPS],a
ld c,$69
Logged_0x35EF:
ld a,[rSTAT]
and $03
jr z,Logged_0x35EF
Logged_0x35F5:
ld a,[rSTAT]
and $03
jr nz,Logged_0x35F5
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x35EF
ret
Logged_0x360F:
ld a,c
add a,a
add a,a
add a,a
or $80
ld [rOCPS],a
ld c,$6B
Logged_0x3619:
ld a,[rSTAT]
and $03
jr z,Logged_0x3619
Logged_0x361F:
ld a,[rSTAT]
and $03
jr nz,Logged_0x361F
xor a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
dec b
jr nz,Logged_0x3619
ret
Logged_0x3632:
ld a,c
add a,a
add a,a
add a,a
or $80
ld [rBCPS],a
ld c,$69
Logged_0x363C:
ld a,[rSTAT]
and $03
jr z,Logged_0x363C
Logged_0x3642:
ld a,[rSTAT]
and $03
jr nz,Logged_0x3642
xor a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
dec b
jr nz,Logged_0x363C
ret
Logged_0x3655:
ld a,[$D100]
and $20
ret nz
ld a,[$D109]
ld b,a
ld a,[$D10D]
add a,$2D
add a,b
ld b,a
ld a,[$CA87]
add a,$2A
cp b
ret c
ld a,$81
ld [$D11C],a
ret
Unknown_0x3673:
INCBIN "baserom.gbc", $3673, $3A00 - $3673
Logged_0x3A00:
ld a,[$C083]
ld c,a
ld a,[hli]
sub c
ld c,$10
add a,c
ld [$C096],a
ld a,[$C085]
ld c,a
ld a,[hli]
sub c
ld c,$08
add a,c
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld h,d
ld l,e
Logged_0x3A22:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x0DF4
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3A38:
ld a,[hli]
ld c,$10
add a,c
ld [$C096],a
ld a,[hli]
ld c,$08
add a,c
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld h,d
ld l,e
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x0DF4
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3A66:
xor a
ld [$D024],a
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[hl]
sub $01
ld [hli],a
jr nc,Logged_0x3A92
ld a,[hl]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0x3AA2
ld d,a
ld a,[hl]
Logged_0x3A89:
add a,$02
ld [hld],a
inc bc
ld a,[bc]
dec a
ld [hld],a
dec l
ld [hl],d
Logged_0x3A92:
ld a,$F8
and l
ld l,a
ld b,h
add a,$06
ld c,a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3AA2:
ld [$D024],a
ld b,d
ld c,e
ld a,[de]
ld d,a
xor a
jr Logged_0x3A89
Logged_0x3AAC:
ld hl,$D000
ld e,a
srl e
srl e
srl e
ld d,$00
add hl,de
ld e,$01
bit 2,a
jr z,Logged_0x3AC1
swap e
Logged_0x3AC1:
and $03
ld d,a
ld a,e
jr z,Logged_0x3AD0
rla
dec d
jr z,Logged_0x3AD0
rla
dec d
jr z,Logged_0x3AD0
rla
Logged_0x3AD0:
ld d,a
and [hl]
ret z
ld a,$01
scf
ret
Logged_0x3AD7:
ld a,[hli]
and $F8
rlca
rlca
ld c,a
and $0F
ld b,a
ld a,c
and $F0
ld c,a
ld a,[hl]
and $F8
rlca
swap a
add a,c
ld l,a
ld [$D082],a
ld a,b
add a,$D5
ld h,a
ld [$D083],a
ret
Logged_0x3AF7:
ld a,$24
ld hl,$CA46
add a,[hl]
ld [$D079],a
xor a
ld [$D0B0],a
ld hl,$4000
ld c,$00
ld a,b
swap a
ld b,a
add hl,bc
ld a,d
add a,a
ld d,a
ld e,$00
add hl,de
ld a,h
ld [$D0B5],a
ld a,l
ld [$D0B6],a
ld a,$15
ld [$D0B7],a
xor a
ld [$D0B8],a
ld a,$1F
ld [$D0B9],a
ret
Logged_0x3B2B:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld b,c
call MemCopy_DE_HL
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3B42:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld b,c
ld c,$00
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3B5B:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld bc,$0800
ld de,_VRAM+$1000
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3B77:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld bc,$0240
ld de,_SCRN0
call Logged_0x0434
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3B93:
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ret
Logged_0x3B98:
ld a,[$D011]
and a
jr nz,Logged_0x3BAB
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$21
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
Logged_0x3BAB:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$22
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
Logged_0x3BB8:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x1A15
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3BCE:
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x1A21
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ret
Logged_0x3BE4:
ld c,[hl]
xor a
ld [hli],a
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld b,a
ld a,[hli]
ld l,[hl]
ld h,a
Logged_0x3BEF:
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x3BEF
ret
Logged_0x3C03:
ld a,$01
ld [rVBK],a
ld hl,$D0B5
ld a,[hli]
ld c,$51
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
xor a
ld [$D079],a
ret
Logged_0x3C1F:
call Logged_0x3C35
sub e
jr Logged_0x3C29
Logged_0x3C25:
call Logged_0x3C35
add a,e
Logged_0x3C29:
ld [bc],a
ld a,[hl]
cp $80
ret nz
ld a,$07
or c
ld c,a
xor a
ld [bc],a
ret
Logged_0x3C35:
ld c,l
ld b,h
ld a,$07
or l
ld l,a
ld a,[hl]
inc [hl]
add a,a
ld l,a
ld a,$00
adc a,$00
ld h,a
add hl,de
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[bc]
add a,d
ld [bc],a
inc c
ld a,[bc]
ret
Logged_0x3C4F:
add a,a
ld e,a
ld a,$00
adc a,$00
ld d,a
add hl,de
ret
Logged_0x3C58:
call Logged_0x3C4F
ld a,[hli]
ld h,[hl]
ld l,a
ret
Logged_0x3C5F:
call Logged_0x3C4F
ld a,[hli]
ld d,[hl]
ld e,a
ret
Logged_0x3C66:
call Logged_0x3C4F
ld a,[hli]
ld h,[hl]
ld l,a
ld a,c
call Logged_0x3C4F
ret
Logged_0x3C71:
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hl]
ret
Logged_0x3C76:
xor a
ld hl,$D0C0
ld bc,$0010
call Fill_HL_A
ret
Unknown_0x3C81:
INCBIN "baserom.gbc", $3C81, $3F00 - $3C81
Logged_0x3F00:
call Logged_0x3F4E
jp Logged_0x30000
Logged_0x3F06:
call Logged_0x3F75
jp Logged_0x3007A
Logged_0x3F0C:
call Logged_0x3F62
jp Logged_0x301B8
Unknown_0x3F12:
INCBIN "baserom.gbc", $3F12, $3F18 - $3F12
Logged_0x3F18:
call Logged_0x3F62
jp Logged_0x302B8
Logged_0x3F1E:
call Logged_0x3F62
jp Logged_0x303C9
Logged_0x3F24:
call Logged_0x3F62
jp Logged_0x30416
Unknown_0x3F2A:
INCBIN "baserom.gbc", $3F2A, $3F36 - $3F2A
Logged_0x3F36:
call Logged_0x3F62
jp Logged_0x3049E
Unknown_0x3F3C:
INCBIN "baserom.gbc", $3F3C, $3F48 - $3F3C
Logged_0x3F48:
call Logged_0x3F62
jp Logged_0x302CE
Logged_0x3F4E:
ld a,[$C5FF]
ld [$D001],a
Logged_0x3F54:
ld a,$0C
Logged_0x3F56:
ld [$C5FF],a
ld [rROMB0],a
ret
Logged_0x3F5D:
ld a,[$D001]
jr Logged_0x3F56
Logged_0x3F62:
ld hl,$D000
bit 7,[hl]
jr nz,Unknown_0x3F71
Logged_0x3F69:
set 7,[hl]
push af
call Logged_0x3F4E
pop af
ret
Unknown_0x3F71:
pop hl
ld a,$FF
ret
Logged_0x3F75:
ld hl,$D000
bit 7,[hl]
jr z,Logged_0x3F69
bit 6,[hl]
jr nz,Unknown_0x3F71
set 6,[hl]
pop hl
ld a,h
ld [$D004],a
ld a,l
ld [$D003],a
xor a
ret
Logged_0x3F8D:
ld hl,$D000
bit 6,[hl]
jr nz,Unknown_0x3F9B
call Logged_0x3F5D
res 7,[hl]
xor a
ret
Unknown_0x3F9B:
ld a,[$D004]
ld h,a
ld a,[$D003]
ld l,a
push hl
ld hl,$D000
res 6,[hl]
ret
Logged_0x3FAA:
ld a,[$D026]
call Logged_0x3F56
ld a,[de]
ld c,a
jp Logged_0x3F54
Logged_0x3FB5:
ld a,[$D026]
call Logged_0x3F56
ld a,[de]
ld c,a
inc de
ld a,[de]
ld b,a
jp Logged_0x3F54
ds $4000 - @, $00
SECTION "Bank01", ROMX, BANK[$01]
Logged_0x4000:
ld a,[wGameState]
rst JumpList
dw Logged_0x402B
dw Logged_0x4686
dw Logged_0x46CC
dw Logged_0x46DC
dw Logged_0x46F6
dw Logged_0x4710
dw Logged_0x472A
dw Logged_0x474C
dw Logged_0x4766
dw Logged_0x4776
dw Logged_0x4790
dw Unknown_0x47AA
dw Logged_0x47FD
dw Logged_0x4817
dw Logged_0x4831
dw Unknown_0x4028;these all reset the game
dw Unknown_0x4028
dw Unknown_0x4028
Unknown_0x4028:
jp Logged_0x015E
Logged_0x402B:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x4039
pop af
ld [rSVBK],a
ret
Logged_0x4039:
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x405F
dw Logged_0x05ED
dw Logged_0x41CF
dw Logged_0x42ED
dw Logged_0x43B5
dw Logged_0x44C3
dw Logged_0x4508
dw Logged_0x0474
dw Logged_0x4640
dw Logged_0x4670
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0x405F:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0x4917
call Logged_0x4937
call Logged_0x4951
call Logged_0x49DB
ld a,$04
ld [$C083],a
ld [rSCY],a
xor a
ld [$C085],a
ld [rSCX],a
ld a,[$CEEF]
and a
jr nz,Logged_0x40FC
ld hl,$D515
ld a,$40
ld [hli],a
ld a,$D0
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$2C
ld [hli],a
xor a
ld [hld],a
ld [$D522],a
call Logged_0x145A
ld hl,$D523
ld a,$80
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6C
ld [hli],a
ld a,$E6
ld [hl],a
call Logged_0x145A
ld hl,$D53B
ld a,$10
ld [hli],a
ld a,$00
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$A1
ld [hl],a
call Logged_0x145A
ld hl,$D547
ld a,$08
ld [hli],a
ld a,$20
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$A4
ld [hl],a
call Logged_0x145A
ld hl,$D53B
call Logged_0x4B93
ld hl,$D547
call Logged_0x4B93
ld a,$00
ld [$D513],a
jp Logged_0x41A8
Logged_0x40FC:
ld hl,$D515
ld a,$6C
ld [hli],a
ld a,$80
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$98
ld [hli],a
xor a
ld [hld],a
ld [$D522],a
ld a,$01
ld [rVBK],a
ld hl,$9984
ld de,$0020
ld c,$02
Logged_0x4121:
push hl
ld b,$0B
Logged_0x4124:
ld a,[hl]
or $80
ld [hli],a
dec b
jr nz,Logged_0x4124
pop hl
add hl,de
push hl
ld b,$0B
Logged_0x4130:
ld a,[hl]
or $80
ld [hli],a
dec b
jr nz,Logged_0x4130
pop hl
add hl,de
add hl,de
add hl,de
dec c
jr nz,Logged_0x4121
xor a
ld [rVBK],a
ld hl,$6B47
ld de,$99C4
push de
ld b,$0C
call MemCopy_DE_HL
pop de
ld a,e
add a,$20
ld e,a
ld a,d
adc a,$00
ld d,a
ld b,$0C
call MemCopy_DE_HL
ld hl,$D523
ld a,$82
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x4178
ld a,$6C
ld [hli],a
ld a,$E9
ld [hl],a
jr Logged_0x417E
Logged_0x4178:
ld a,$6D
ld [hli],a
ld a,$1E
ld [hl],a
Logged_0x417E:
call Logged_0x145A
ld hl,$D52B
ld a,$86
ld [hli],a
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x4192
ld a,$44
jr Logged_0x4194
Logged_0x4192:
ld a,$40
Logged_0x4194:
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$1B
ld [hl],a
call Logged_0x145A
ld a,$01
ld [$D513],a
Logged_0x41A8:
ld hl,$D533
ld a,$24
ld [hli],a
ld a,$68
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$18
ld [hl],a
call Logged_0x145A
ld a,$87
ld [rLCDC],a
xor a
ld [$CEE5],a
ld [$C08F],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x41CF:
ld a,[$CEEF]
and a
jp nz,Logged_0x44F0
call Logged_0x4E5E
call Logged_0x4D45
ld a,[$D51D]
dec a
jr z,Logged_0x420A
dec a
jr z,Logged_0x4235
dec a
jr z,Logged_0x4250
dec a
jr z,Logged_0x4266
dec a
jp z,Logged_0x4294
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $B4
jp c,Logged_0x42CC
ld [hl],$00
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$34
ld [$FF00+hMusicIDLow],a
ld hl,$D51D
inc [hl]
jp Logged_0x42CC
Logged_0x420A:
ld hl,$D516
ld a,[hl]
cp $48
jr nc,Logged_0x4224
cp $38
jr nc,Logged_0x4225
cp $30
jr z,Logged_0x4229
ld a,[$C08F]
and $03
jp nz,Logged_0x42CC
jr Logged_0x4225
Logged_0x4224:
dec [hl]
Logged_0x4225:
dec [hl]
jp Logged_0x42CC
Logged_0x4229:
ld a,$30
ld [$CEE5],a
ld hl,$D51D
inc [hl]
jp Logged_0x42CC
Logged_0x4235:
ld hl,$CEE5
dec [hl]
jp nz,Logged_0x42CC
ld [hl],$03
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$A7
ld [hl],a
ld hl,$D51D
inc [hl]
jr Logged_0x42CC
Logged_0x4250:
ld a,[$C08F]
and $07
jr nz,Logged_0x42CC
ld hl,$D515
inc [hl]
ld a,[hl]
cp $46
jr nz,Logged_0x42CC
ld hl,$D51D
inc [hl]
jr Logged_0x42CC
Logged_0x4266:
ld a,[$C08F]
and $07
jr nz,Logged_0x42CC
ld hl,$D515
dec [hl]
ld a,[hl]
cp $40
jr nz,Logged_0x42CC
ld hl,$CEE5
dec [hl]
jr z,Logged_0x4282
ld hl,$D51D
dec [hl]
jr Logged_0x42CC
Logged_0x4282:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$2C
ld [hl],a
ld hl,$D51D
inc [hl]
jr Logged_0x42CC
Logged_0x4294:
ld hl,$D516
ld a,[hl]
cp $C0
jr z,Logged_0x42AA
cp $38
jr nc,Logged_0x42A7
ld a,[$C08F]
and $03
jr nz,Logged_0x42CC
Logged_0x42A7:
inc [hl]
jr Logged_0x42CC
Logged_0x42AA:
ld hl,$D515
ld a,$10
ld [hli],a
ld a,$C0
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$3D
ld [hli],a
xor a
ld [hl],a
ld [$D522],a
ld a,$1C
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
Logged_0x42CC:
call Logged_0x4CBB
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0x4B93
ld hl,$D53B
call Logged_0x4B93
ld hl,$D547
call Logged_0x4B93
call Logged_0x03B9
jp Logged_0x4D07
Logged_0x42ED:
call Logged_0x4D45
call Logged_0x4EB1
ld a,[$D51D]
dec a
jr z,Logged_0x4336
dec a
jr z,Logged_0x4357
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x4307
dec [hl]
jp Logged_0x4394
Logged_0x4307:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Logged_0x432B
cp $48
jr nc,Logged_0x431D
ld a,[$C08F]
and $03
jp nz,Logged_0x4394
jr Logged_0x4325
Logged_0x431D:
ld a,[$C08F]
and $01
jp nz,Logged_0x4394
Logged_0x4325:
ld hl,$D516
dec [hl]
jr Logged_0x4394
Logged_0x432B:
ld a,$30
ld [$CEE5],a
ld hl,$D51D
inc [hl]
jr Logged_0x4394
Logged_0x4336:
ld hl,$CEE5
dec [hl]
jr nz,Logged_0x4394
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$44
ld [hli],a
xor a
ld [$D522],a
ld a,$E0
ld [$CEE5],a
ld hl,$D51D
inc [hl]
jr Logged_0x4394
Logged_0x4357:
ld a,[$D519]
cp $18
jr nz,Logged_0x436C
ld a,[$D51A]
and a
jr nz,Logged_0x436C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$23
ld [$FF00+hSFXIDLow],a
Logged_0x436C:
ld hl,$CEE5
dec [hl]
jr nz,Logged_0x4394
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F9
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$65
ld [hli],a
xor a
ld [hl],a
ld [$D522],a
ld a,$30
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
Logged_0x4394:
call Logged_0x4CBB
ld hl,$D51C
call Logged_0x145A
ld hl,$D53B
call Logged_0x4B93
ld hl,$D515
call Logged_0x4B93
ld hl,$D547
call Logged_0x4B93
call Logged_0x03B9
jp Logged_0x4D07
Logged_0x43B5:
call Logged_0x4D45
ld a,[$D51D]
dec a
jr z,Logged_0x43E7
dec a
jr z,Logged_0x440C
dec a
jr z,Logged_0x442F
dec a
jp z,Logged_0x445A
ld a,[$D520]
and a
jp z,Logged_0x4497
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$72
ld [hli],a
inc [hl]
jp Logged_0x4497
Logged_0x43E7:
ld a,[$C08F]
and $03
jr nz,Logged_0x43F2
ld hl,$D516
inc [hl]
Logged_0x43F2:
ld hl,$D515
inc [hl]
ld a,[hl]
cp $10
jp c,Logged_0x4497
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$7B
ld [hli],a
inc [hl]
jp Logged_0x4497
Logged_0x440C:
ld a,[$C08F]
and $03
jr nz,Logged_0x4417
ld hl,$D516
inc [hl]
Logged_0x4417:
ld hl,$D515
inc [hl]
ld a,[hl]
cp $30
jr c,Logged_0x4497
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$84
ld [hli],a
inc [hl]
jr Logged_0x4497
Logged_0x442F:
ld a,[$C08F]
and $03
jr nz,Logged_0x443A
ld hl,$D516
inc [hl]
Logged_0x443A:
ld hl,$D515
inc [hl]
ld a,[hl]
cp $70
jr c,Logged_0x4497
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$8D
ld [hli],a
inc [hl]
jr Logged_0x4497
Logged_0x445A:
ld a,[$C088]
cp $E0
jr z,Logged_0x4466
ld hl,$D516
inc [hl]
inc [hl]
Logged_0x4466:
ld a,[$D520]
and a
jr z,Logged_0x449C
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$71
ld [hli],a
ld a,$98
ld [hli],a
xor a
ld [hld],a
ld [$CEE5],a
ld hl,$5002
call Logged_0x1A15
ld hl,$5042
call Logged_0x1A21
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$33
ld [$FF00+hMusicIDLow],a
ld hl,wGameSubState
inc [hl]
jr Logged_0x449C
Logged_0x4497:
call Logged_0x4CBB
jr Logged_0x449F
Logged_0x449C:
call Logged_0x4CD0
Logged_0x449F:
ld hl,$D51C
call Logged_0x145A
ld a,[$D514]
ld [$D520],a
ld hl,$D53B
call Logged_0x4B93
ld hl,$D515
call Logged_0x4B93
ld hl,$D547
call Logged_0x4B93
call Logged_0x03B9
jp Logged_0x4D07
Logged_0x44C3:
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0x4B93
call Logged_0x03B9
ld a,[$CEEF]
and a
jr nz,Logged_0x44F0
ld hl,$CEE5
ld a,[hl]
cp $78
jr nc,Logged_0x44E2
inc [hl]
ret
Logged_0x44E2:
ld a,[$C08F]
and $03
call z,Logged_0x06FA
ld a,[wGameSubState]
cp $07
ret nz
Logged_0x44F0:
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$33
ld [$FF00+hMusicIDLow],a
ld a,$08
ld [$CEE6],a
ld a,$44
ld [$CEE5],a
ld hl,wGameSubState
ld [hl],$07
ret
Logged_0x4508:
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0x4B93
ld hl,$D533
call Logged_0x4B73
call Logged_0x4BB3
ld hl,$D523
call Logged_0x4B73
ld a,[$CEEF]
and a
jr z,Logged_0x453E
ld a,[$C08F]
and $07
jr nz,Logged_0x4538
ld a,[$D52E]
xor $03
ld [$D52E],a
Logged_0x4538:
ld hl,$D52B
call Logged_0x4B73
Logged_0x453E:
call Logged_0x03B9
ld hl,$D513
bit 7,[hl]
jr nz,Logged_0x4578
ld a,[hl]
cp $00
jr z,Logged_0x455C
cp $01
jr z,Logged_0x455C
ld a,$08
ld [$CEE6],a
ld a,$44
ld [$CEE5],a
ret
Logged_0x455C:
ld hl,$CEE5
ld a,[hl]
sub $01
ld [hli],a
ld b,a
ld a,[hl]
sbc a,$00
ld [hl],a
or b
ret nz
xor a
ld [hld],a
ld [hl],a
ld a,[$CA3C]
or $40
ld [$CA3C],a
jp Logged_0x16D0
Logged_0x4578:
ld hl,$D513
ld a,[hl]
and $0F
cp $00
jr z,Logged_0x45D6
cp $01
jr z,Logged_0x45ED
cp $02
jr z,Unknown_0x45B1
cp $04
jp z,Unknown_0x1698
ld a,$86
ld [$D52B],a
ld a,$82
ld [$D523],a
ld a,[$CA3D]
bit 1,a
jr nz,Unknown_0x45AA
ld a,$80
ld [$CEE4],a
ld bc,$6CE9
jr Unknown_0x45AD
Unknown_0x45AA:
ld bc,$6D1E
Unknown_0x45AD:
ld a,$01
jr Unknown_0x45C5
Unknown_0x45B1:
ld a,$81
ld [$CEE4],a
ld a,$90
ld [$D52B],a
ld a,$78
ld [$D523],a
ld bc,$6CEC
ld a,$03
Unknown_0x45C5:
ld [$D513],a
ld hl,$D527
xor a
ld [hli],a
ld [hli],a
ld a,b
ld [hli],a
ld a,c
ld [hl],a
call Logged_0x145A
ret
Logged_0x45D6:
ld a,GAME_STATE_LANGUAGE
ld [wGameState],a
xor a
ld [wGameSubState],a
ret
Unknown_0x45E0:
INCBIN "baserom.gbc", $45E0, $45ED - $45E0
Logged_0x45ED:
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x4607
ld a,[$CEEF]
and $3C
jr nz,Logged_0x45FD
jr Logged_0x461E
Logged_0x45FD:
ld a,GAME_STATE_LEVEL
ld [wGameState],a
xor a
ld [wGameSubState],a
ret
Logged_0x4607:
call Logged_0x08E6
call Logged_0x1AC0
call Logged_0x1AD1
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x4619:
ld a,$FF
ld [$CEE3],a
Logged_0x461E:
ld a,GAME_STATE_MAP
ld [wGameState],a
xor a
ld [wGameSubState],a
ret
xor a
ld [$C1AC],a
ld [$C1AD],a
ld [$C1AF],a
ld [$C1AE],a
xor a
ld [$D50D],a
ld hl,$CA3B
set 7,[hl]
jr Logged_0x461E
Logged_0x4640:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0x496B
call Logged_0x1C4A
call Logged_0x4972
call Logged_0x49A1
call Logged_0x0354
xor a
ld [$C083],a
ld [rSCY],a
ld [$C085],a
ld [rSCX],a
ld a,$87
ld [rLCDC],a
xor a
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x4670:
call Logged_0x4D7F
ld a,[$C094]
bit 0,a
ret z
call Logged_0x08E6
call Logged_0x1AC0
ld a,$87
ld [rLCDC],a
jp Logged_0x461E
Logged_0x4686:
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld a,$20
ld [$FF00+$85],a
ld a,$92
ld [$FF00+$8D],a
ld a,$43
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ld hl,wGameState
ld a,[hl]
cp GAME_STATE_LEVEL
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
call Logged_0x4AE7
ld a,[$CA06]
cp $FF
jr z,Logged_0x46BD
cp $C8
jr z,Logged_0x46C3
ret
Logged_0x46BD:
ld a,GAME_STATE_GOLF_MENU
ld [wGameState],a
ret
Logged_0x46C3:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ret
Logged_0x46CC:
ld a,$02
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x46DC:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$35
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x46F6:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$7C
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x4710:
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$72
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x472A:
ld a,[wGameSubState]
rst JumpList
dw Logged_0x4732
dw Logged_0x473C
Logged_0x4732:
ld a,[$C08F]
and $03
ret nz
call Logged_0x047B
ret
Logged_0x473C:
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x474C:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$7E
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x4766:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $64
ret c
ld [hl],$00
ld a,GAME_STATE_LEVEL
ld [wGameState],a
ret
Logged_0x4776:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$58
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x4790:
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$72
ld [$FF00+$85],a
ld a,$70
ld [$FF00+$8D],a
ld a,$45
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Unknown_0x47AA:
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Unknown_0x47BE
dw Logged_0x05ED
dw Unknown_0x47FC
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Unknown_0x47BE:
call Logged_0x08E6
call Logged_0x038B
call Logged_0x037D
ld a,$7C
ld [$FF00+$85],a
ld a,$01
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$7C
ld [$FF00+$85],a
ld a,$0B
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x0354
xor a
ld [$C085],a
ld [rSCX],a
ld [$C083],a
ld [rSCY],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Unknown_0x47FC:
ret
Logged_0x47FD:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$36
ld [$FF00+$85],a
ld a,$77
ld [$FF00+$8D],a
ld a,$72
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x4817:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,$37
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x4831:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x483F
pop af
ld [rSVBK],a
ret
Logged_0x483F:
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x4857
dw Logged_0x05ED
dw Logged_0x48C9
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0x4857:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
ld a,$7C
ld [$FF00+$85],a
ld a,$19
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$7C
ld [$FF00+$85],a
ld a,$F7
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld a,$7C
ld [$FF00+$85],a
ld a,$26
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x4DDF
xor a
ld [$C083],a
ld [rSCY],a
ld [$C085],a
ld [rSCX],a
ld a,$01
ld [$CA46],a
ld hl,$D523
ld a,$46
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$76
ld [hli],a
ld a,$B5
ld [hl],a
call Logged_0x145A
ld hl,$D523
call Logged_0x4E3E
call Logged_0x03B9
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x48C9:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x4619
bit 7,a
jr nz,Logged_0x48DB
bit 6,a
jr nz,Logged_0x48E8
jr Logged_0x4907
Logged_0x48DB:
ld a,[$CA46]
and a
ret z
ld a,$56
ld [$D523],a
xor a
jr Logged_0x48F7
Logged_0x48E8:
ld a,[$CA46]
dec a
ret z
ld hl,$D523
ld a,$46
ld [$D523],a
ld a,$01
Logged_0x48F7:
ld [$CA46],a
add a,$80
ld [$CEE4],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
Logged_0x4907:
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0x4E3E
call Logged_0x03B9
ret
Logged_0x4917:
ld a,[$CEEF]
and a
jr nz,Logged_0x492A
ld hl,$4F82
call Logged_0x1A15
ld hl,$4FC2
call Logged_0x1A21
ret
Logged_0x492A:
ld hl,$5002
call Logged_0x1A15
ld hl,$5042
call Logged_0x1A21
ret
Logged_0x4937:
ld a,$01
ld [rVBK],a
ld hl,$635C
ld bc,_VRAM
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$5082
ld bc,_VRAM
call Decompress_BC_HL
ret
Logged_0x4951:
ld a,$01
ld [rVBK],a
ld hl,$6AE7
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$697A
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0x496B:
ld hl,$71B0
call Logged_0x1A15
ret
Logged_0x4972:
ld a,$01
ld [rVBK],a
ld a,$7C
ld [$FF00+$85],a
ld a,$F7
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld hl,$4F80
ld de,_VRAM+$1000
ld bc,$0800
ld a,$2C
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$04
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x49A1:
ld a,[$CA46]
and a
jr nz,Logged_0x49C1
ld a,$01
ld [rVBK],a
ld hl,$7316
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$71F0
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0x49C1:
ld a,$01
ld [rVBK],a
ld hl,$74E8
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$73E6
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0x49DB:
ld hl,RAMCode_0x49E7
ld de,$C200
ld b,Logged_0x4A33 - RAMCode_0x49E7
call MemCopy_DE_HL
ret
RAMCode_0x49E7:
ld a,[$C5FF]
push af
ld a,$01
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$CEE4]
bit 7,a
jr z,.done
ld hl,$6B47
xor a
ld [rVBK],a
ld de,$99C4
push de
ld b,$0C
call MemCopy_DE_HL
pop de
ld a,e
add a,$20
ld e,a
ld a,d
adc a,$00
ld d,a
ld b,$0C
call MemCopy_DE_HL
ld hl,$CEE4
res 7,[hl]
.done
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
ret
Logged_0x4A33:
ld bc,$FFE0
ld de,$0020
ld a,[$CA04]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$CA05]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$CA05]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ret
xor a
ld [$CA5B],a
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld a,[$D00F]
dec a
call Logged_0x4A79
pop af
ld [rSVBK],a
ret
Logged_0x4A79:
add a,a
add a,a
ld e,a
ld d,$00
ld hl,$198F
add hl,de
ld a,[hli]
push hl
call Logged_0x3AAC
jr z,Logged_0x4A8E
ld hl,$CA5B
set 4,[hl]
Logged_0x4A8E:
pop hl
ld a,[hli]
push hl
call Logged_0x3AAC
jr z,Logged_0x4A9B
ld hl,$CA5B
set 5,[hl]
Logged_0x4A9B:
pop hl
ld a,[hli]
push hl
call Logged_0x3AAC
jr z,Logged_0x4AA8
ld hl,$CA5B
set 6,[hl]
Logged_0x4AA8:
pop hl
ld a,[hli]
push hl
call Logged_0x3AAC
jr z,Logged_0x4AB5
ld hl,$CA5B
set 7,[hl]
Logged_0x4AB5:
pop hl
ret
ld bc,$FFE0
ld de,$0020
ld a,[$CA39]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$CA3A]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$CA3A]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ret
Logged_0x4AE7:
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld a,[$D00F]
and a
jr z,Logged_0x4B66
cp $1A
jr z,Logged_0x4B6A
dec a
add a,a
add a,a
add a,a
ld [$CA06],a
ld e,a
ld d,$00
ld hl,$4EBA
add hl,de
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
ld c,a
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
and c
jr nz,Logged_0x4B49
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
ld c,a
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
and c
jr nz,Logged_0x4B53
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
ld c,a
ld a,[hli]
push hl
call Logged_0x3AAC
pop hl
and c
jr nz,Logged_0x4B5D
Logged_0x4B36:
ld a,[$CA3B]
and $01
add a,a
add a,a
ld b,a
ld a,[$CA06]
or b
ld [$CA06],a
pop af
ld [rSVBK],a
ret
Logged_0x4B49:
ld a,[$CA06]
add a,$03
ld [$CA06],a
jr Logged_0x4B36
Logged_0x4B53:
ld a,[$CA06]
add a,$02
ld [$CA06],a
jr Logged_0x4B36
Logged_0x4B5D:
ld a,[$CA06]
inc a
ld [$CA06],a
jr Logged_0x4B36
Logged_0x4B66:
ld a,$C8
jr Logged_0x4B6C
Logged_0x4B6A:
ld a,$FF
Logged_0x4B6C:
ld [$CA06],a
pop af
ld [rSVBK],a
ret
Logged_0x4B73:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$6B5F
call Logged_0x0DF4
ret
Logged_0x4B93:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$6D21
call Logged_0x0DF4
ret
Logged_0x4BB3:
ld a,[$D513]
bit 4,a
jp nz,Logged_0x4C58
bit 5,a
jp nz,Unknown_0x4C81
bit 6,a
jp nz,Logged_0x4C96
ld a,[$C094]
bit 0,a
jr nz,Logged_0x4BDD
bit 7,a
jr nz,Logged_0x4C08
bit 6,a
jr nz,Logged_0x4C15
bit 4,a
jr nz,Unknown_0x4C39
bit 5,a
jr nz,Unknown_0x4C29
ret
Logged_0x4BDD:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
ld hl,$D513
ld a,[hl]
and $0F
cp $03
jr z,Unknown_0x4BFA
cp $04
jr z,Unknown_0x4C01
set 6,[hl]
xor a
ld [$D527],a
ret
Unknown_0x4BFA:
ld bc,$6CF2
ld a,$23
jr Unknown_0x4C47
Unknown_0x4C01:
ld bc,$6D05
ld a,$24
jr Unknown_0x4C47
Logged_0x4C08:
ld a,[$D513]
cp $01
ret nz
ld a,$12
ld [$D513],a
jr Logged_0x4C20
Logged_0x4C15:
ld a,[$D513]
cp $02
ret nz
ld a,$11
ld [$D513],a
Logged_0x4C20:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x4C29:
ld a,[$D513]
cp $03
ret nz
call Logged_0x4C20
ld bc,$6CEF
ld a,$04
jr Unknown_0x4C47
Unknown_0x4C39:
ld a,[$D513]
cp $04
ret nz
call Logged_0x4C20
ld bc,$6CEC
ld a,$03
Unknown_0x4C47:
ld [$D513],a
ld hl,$D527
xor a
ld [hli],a
ld [hli],a
ld a,b
ld [hli],a
ld a,c
ld [hl],a
call Logged_0x145A
ret
Logged_0x4C58:
ld a,[$D513]
cp $12
jr z,Logged_0x4C6E
ld hl,$D523
inc [hl]
ld a,[hl]
cp $82
ret nz
ld a,$86
ld [$D52B],a
jr Logged_0x4C7B
Logged_0x4C6E:
ld hl,$D523
dec [hl]
ld a,[hl]
cp $74
ret nz
ld a,$76
ld [$D52B],a
Logged_0x4C7B:
ld hl,$D513
res 4,[hl]
ret
Unknown_0x4C81:
ld hl,$D52A
call Logged_0x145A
ld a,[$D514]
and a
ret z
Logged_0x4C8C:
ld hl,$D513
set 7,[hl]
xor a
ld [$D527],a
ret
Logged_0x4C96:
ld a,[$C08F]
and $01
ret nz
ld hl,$D527
ld a,[hl]
cp $10
jr z,Logged_0x4C8C
inc [hl]
and $03
jr z,Logged_0x4CB2
dec a
jr z,Logged_0x4CAF
dec a
jr z,Logged_0x4CB6
Logged_0x4CAF:
xor a
jr Logged_0x4CB8
Logged_0x4CB2:
ld a,$03
jr Logged_0x4CB8
Logged_0x4CB6:
ld a,$01
Logged_0x4CB8:
dec l
ld [hl],a
ret
Logged_0x4CBB:
ld a,[$C08F]
and $03
jr nz,Logged_0x4CC6
ld hl,$C086
dec [hl]
Logged_0x4CC6:
ld hl,$C087
dec [hl]
ld hl,$C088
dec [hl]
dec [hl]
ret
Logged_0x4CD0:
ld a,[$C08F]
and $03
jr nz,Logged_0x4CE6
ld hl,$C086
ld a,[hl]
and $1F
jr nz,Logged_0x4CE5
ld a,[$C085]
ld [hl],a
jr Logged_0x4CE6
Logged_0x4CE5:
dec [hl]
Logged_0x4CE6:
ld hl,$C087
ld a,[hl]
and $1F
jr nz,Logged_0x4CF4
ld a,[$C085]
ld [hl],a
jr Logged_0x4CF5
Logged_0x4CF4:
dec [hl]
Logged_0x4CF5:
ld hl,$C088
ld a,[hl]
cp $E0
jr z,Logged_0x4CFF
jr Logged_0x4D04
Logged_0x4CFF:
ld a,$E0
ld [hl],a
jr Logged_0x4D06
Logged_0x4D04:
dec [hl]
dec [hl]
Logged_0x4D06:
ret
Logged_0x4D07:
ld a,[$CEEF]
and a
ret nz
Logged_0x4D0C:
ld a,[rLY]
cp $5B
jr c,Logged_0x4D0C
call Logged_0x0370
ld a,[$C086]
ld [rSCX],a
Logged_0x4D1A:
ld a,[rLY]
cp $63
jr c,Logged_0x4D1A
call Logged_0x0370
ld a,[$C087]
ld [rSCX],a
Logged_0x4D28:
ld a,[rLY]
cp $73
jr c,Logged_0x4D28
call Logged_0x0370
ld a,[$C088]
ld [rSCX],a
Logged_0x4D36:
ld a,[rLY]
cp $83
jr c,Logged_0x4D36
call Logged_0x0370
ld a,[$C085]
ld [rSCX],a
ret
Logged_0x4D45:
ld a,[$C08F]
and $01
jr z,Logged_0x4D66
ld hl,$D548
ld a,[hl]
cp $B0
jr c,Logged_0x4D65
ld a,[wGameSubState]
cp $05
jr nc,Logged_0x4D66
cp $04
jr c,Logged_0x4D65
ld a,[$D51D]
and a
jr nz,Logged_0x4D66
Logged_0x4D65:
inc [hl]
Logged_0x4D66:
ld hl,$D53C
ld a,[hl]
cp $B0
jr c,Logged_0x4D7D
ld a,[wGameSubState]
cp $05
ret nc
cp $04
jr c,Logged_0x4D7D
ld a,[$D51D]
and a
ret nz
Logged_0x4D7D:
inc [hl]
ret
Logged_0x4D7F:
ld a,[$CA46]
and a
ret nz
Unknown_0x4D84:
ld a,[rLY]
cp $2F
jr c,Unknown_0x4D84
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
Unknown_0x4D93:
ld a,[rLY]
cp $38
jr c,Unknown_0x4D93
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
Unknown_0x4DA2:
ld a,[rLY]
cp $41
jr c,Unknown_0x4DA2
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
Unknown_0x4DB1:
ld a,[rLY]
cp $5A
jr c,Unknown_0x4DB1
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
Unknown_0x4DC0:
ld a,[rLY]
cp $63
jr c,Unknown_0x4DC0
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
Unknown_0x4DCF:
ld a,[rLY]
cp $6C
jr c,Unknown_0x4DCF
call Logged_0x0370
ld a,[rSCY]
add a,$07
ld [rSCY],a
ret
Logged_0x4DDF:
ld hl,RAMCode_0x4DEB
ld de,$C200
ld b,Logged_0x4E3E - RAMCode_0x4DEB
call MemCopy_DE_HL
ret
RAMCode_0x4DEB:
ld a,[$CEE4]
bit 7,a
jr z,Unknown_0x4E2E
and $7F
dec a
jr z,Unknown_0x4E11
ld a,$01
ld [rVBK],a
ld hl,$98E5
ld b,$0D
ld a,$07
call Logged_0x0420
ld hl,$9925
ld b,$0D
ld a,$06
call Logged_0x0420
jr Unknown_0x4E29
Unknown_0x4E11:
ld a,$01
ld [rVBK],a
ld hl,$98E5
ld b,$0D
ld a,$06
call Logged_0x0420
ld hl,$9925
ld b,$0D
ld a,$07
call Logged_0x0420
Unknown_0x4E29:
ld hl,$CEE4
res 7,[hl]
Unknown_0x4E2E:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
ret
Logged_0x4E3E:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$75C3
call Logged_0x0DF4
ret
Logged_0x4E5E:
ld a,[$D516]
cp $A0
jr nc,Logged_0x4E99
cp $70
jr nc,Logged_0x4E81
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x4E80
ld a,$0C
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F6
ld [$FF00+hSFXIDLow],a
Logged_0x4E80:
ret
Logged_0x4E81:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x4E98
ld a,$0C
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F7
ld [$FF00+hSFXIDLow],a
Logged_0x4E98:
ret
Logged_0x4E99:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x4EB0
ld a,$0C
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F8
ld [$FF00+hSFXIDLow],a
Logged_0x4EB0:
ret
Logged_0x4EB1:
ld a,[$D516]
cp $A0
jr nc,Logged_0x4E99
jr Logged_0x4E81
LoggedData_0x4EBA:
INCBIN "baserom.gbc", $4EBA, $4EC0 - $4EBA
Unknown_0x4EC0:
INCBIN "baserom.gbc", $4EC0, $4EC2 - $4EC0
LoggedData_0x4EC2:
INCBIN "baserom.gbc", $4EC2, $4EC8 - $4EC2
Unknown_0x4EC8:
INCBIN "baserom.gbc", $4EC8, $4ECA - $4EC8
LoggedData_0x4ECA:
INCBIN "baserom.gbc", $4ECA, $4ED0 - $4ECA
Unknown_0x4ED0:
INCBIN "baserom.gbc", $4ED0, $4ED2 - $4ED0
LoggedData_0x4ED2:
INCBIN "baserom.gbc", $4ED2, $4ED8 - $4ED2
Unknown_0x4ED8:
INCBIN "baserom.gbc", $4ED8, $4EDA - $4ED8
LoggedData_0x4EDA:
INCBIN "baserom.gbc", $4EDA, $4EE0 - $4EDA
Unknown_0x4EE0:
INCBIN "baserom.gbc", $4EE0, $4EE2 - $4EE0
LoggedData_0x4EE2:
INCBIN "baserom.gbc", $4EE2, $4EE8 - $4EE2
Unknown_0x4EE8:
INCBIN "baserom.gbc", $4EE8, $4EEA - $4EE8
LoggedData_0x4EEA:
INCBIN "baserom.gbc", $4EEA, $4EF0 - $4EEA
Unknown_0x4EF0:
INCBIN "baserom.gbc", $4EF0, $4EF2 - $4EF0
LoggedData_0x4EF2:
INCBIN "baserom.gbc", $4EF2, $4EF8 - $4EF2
Unknown_0x4EF8:
INCBIN "baserom.gbc", $4EF8, $4EFA - $4EF8
LoggedData_0x4EFA:
INCBIN "baserom.gbc", $4EFA, $4F00 - $4EFA
Unknown_0x4F00:
INCBIN "baserom.gbc", $4F00, $4F02 - $4F00
LoggedData_0x4F02:
INCBIN "baserom.gbc", $4F02, $4F08 - $4F02
Unknown_0x4F08:
INCBIN "baserom.gbc", $4F08, $4F0A - $4F08
LoggedData_0x4F0A:
INCBIN "baserom.gbc", $4F0A, $4F10 - $4F0A
Unknown_0x4F10:
INCBIN "baserom.gbc", $4F10, $4F12 - $4F10
LoggedData_0x4F12:
INCBIN "baserom.gbc", $4F12, $4F18 - $4F12
Unknown_0x4F18:
INCBIN "baserom.gbc", $4F18, $4F1A - $4F18
LoggedData_0x4F1A:
INCBIN "baserom.gbc", $4F1A, $4F20 - $4F1A
Unknown_0x4F20:
INCBIN "baserom.gbc", $4F20, $4F22 - $4F20
LoggedData_0x4F22:
INCBIN "baserom.gbc", $4F22, $4F28 - $4F22
Unknown_0x4F28:
INCBIN "baserom.gbc", $4F28, $4F2A - $4F28
LoggedData_0x4F2A:
INCBIN "baserom.gbc", $4F2A, $4F30 - $4F2A
Unknown_0x4F30:
INCBIN "baserom.gbc", $4F30, $4F32 - $4F30
LoggedData_0x4F32:
INCBIN "baserom.gbc", $4F32, $4F38 - $4F32
Unknown_0x4F38:
INCBIN "baserom.gbc", $4F38, $4F3A - $4F38
LoggedData_0x4F3A:
INCBIN "baserom.gbc", $4F3A, $4F40 - $4F3A
Unknown_0x4F40:
INCBIN "baserom.gbc", $4F40, $4F42 - $4F40
LoggedData_0x4F42:
INCBIN "baserom.gbc", $4F42, $4F48 - $4F42
Unknown_0x4F48:
INCBIN "baserom.gbc", $4F48, $4F4A - $4F48
LoggedData_0x4F4A:
INCBIN "baserom.gbc", $4F4A, $4F50 - $4F4A
Unknown_0x4F50:
INCBIN "baserom.gbc", $4F50, $4F52 - $4F50
LoggedData_0x4F52:
INCBIN "baserom.gbc", $4F52, $4F58 - $4F52
Unknown_0x4F58:
INCBIN "baserom.gbc", $4F58, $4F5A - $4F58
LoggedData_0x4F5A:
INCBIN "baserom.gbc", $4F5A, $4F60 - $4F5A
Unknown_0x4F60:
INCBIN "baserom.gbc", $4F60, $4F62 - $4F60
LoggedData_0x4F62:
INCBIN "baserom.gbc", $4F62, $4F68 - $4F62
Unknown_0x4F68:
INCBIN "baserom.gbc", $4F68, $4F6A - $4F68
LoggedData_0x4F6A:
INCBIN "baserom.gbc", $4F6A, $4F70 - $4F6A
Unknown_0x4F70:
INCBIN "baserom.gbc", $4F70, $4F72 - $4F70
LoggedData_0x4F72:
INCBIN "baserom.gbc", $4F72, $4F78 - $4F72
Unknown_0x4F78:
INCBIN "baserom.gbc", $4F78, $4F7A - $4F78
LoggedData_0x4F7A:
INCBIN "baserom.gbc", $4F7A, $4F80 - $4F7A
Unknown_0x4F80:
INCBIN "baserom.gbc", $4F80, $4F82 - $4F80
LoggedData_0x4F82:
INCBIN "baserom.gbc", $4F82, $6B63 - $4F82
Unknown_0x6B63:
INCBIN "baserom.gbc", $6B63, $6B6B - $6B63
LoggedData_0x6B6B:
INCBIN "baserom.gbc", $6B6B, $6BBF - $6B6B
Unknown_0x6BBF:
INCBIN "baserom.gbc", $6BBF, $6C93 - $6BBF
LoggedData_0x6C93:
INCBIN "baserom.gbc", $6C93, $6CE8 - $6C93
Unknown_0x6CE8:
INCBIN "baserom.gbc", $6CE8, $6CE9 - $6CE8
LoggedData_0x6CE9:
INCBIN "baserom.gbc", $6CE9, $6CEB - $6CE9
Unknown_0x6CEB:
INCBIN "baserom.gbc", $6CEB, $6D18 - $6CEB
LoggedData_0x6D18:
INCBIN "baserom.gbc", $6D18, $6D1A - $6D18
Unknown_0x6D1A:
INCBIN "baserom.gbc", $6D1A, $6D1B - $6D1A
LoggedData_0x6D1B:
INCBIN "baserom.gbc", $6D1B, $6D1D - $6D1B
Unknown_0x6D1D:
INCBIN "baserom.gbc", $6D1D, $6D1E - $6D1D
LoggedData_0x6D1E:
INCBIN "baserom.gbc", $6D1E, $6D20 - $6D1E
Unknown_0x6D20:
INCBIN "baserom.gbc", $6D20, $6D21 - $6D20
LoggedData_0x6D21:
INCBIN "baserom.gbc", $6D21, $6D45 - $6D21
Unknown_0x6D45:
INCBIN "baserom.gbc", $6D45, $6D4B - $6D45
LoggedData_0x6D4B:
INCBIN "baserom.gbc", $6D4B, $6F9D - $6D4B
Unknown_0x6F9D:
INCBIN "baserom.gbc", $6F9D, $6FDC - $6F9D
LoggedData_0x6FDC:
INCBIN "baserom.gbc", $6FDC, $7174 - $6FDC
Unknown_0x7174:
INCBIN "baserom.gbc", $7174, $717B - $7174
LoggedData_0x717B:
INCBIN "baserom.gbc", $717B, $71A3 - $717B
Unknown_0x71A3:
INCBIN "baserom.gbc", $71A3, $71A4 - $71A3
LoggedData_0x71A4:
INCBIN "baserom.gbc", $71A4, $71A6 - $71A4
Unknown_0x71A6:
INCBIN "baserom.gbc", $71A6, $71A7 - $71A6
LoggedData_0x71A7:
INCBIN "baserom.gbc", $71A7, $71F0 - $71A7
Unknown_0x71F0:
INCBIN "baserom.gbc", $71F0, $73E6 - $71F0
LoggedData_0x73E6:
INCBIN "baserom.gbc", $73E6, $76D7 - $73E6
Unknown_0x76D7:
INCBIN "baserom.gbc", $76D7, $8000 - $76D7
SECTION "Bank02", ROMX, BANK[$02]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x8024
dw Logged_0x05ED
dw Logged_0x80AA
dw Logged_0x0928
dw Logged_0x047B
dw Logged_0x846E
dw Logged_0x861C
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0x8024:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0x12C3
xor a
ld [rSCY],a
ld [$C083],a
ld [rSCX],a
ld [$C085],a
ld a,$03
ld [$FF00+$85],a
ld a,$E2
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
call Logged_0x8747
call Logged_0x161A
ld a,$01
ld [$CED8],a
xor a
ld [$CEEF],a
ld a,[$C08E]
push af
ld a,$00
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld hl,$A000
ld [hli],a
ld [hli],a
ld [hli],a
ld [hl],a
ld hl,$A800
ld [hli],a
ld [hli],a
ld [hli],a
ld [hl],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,wGameSubState
inc [hl]
ld a,[$CA06]
cp $C8
jr z,Logged_0x808B
ld a,$87
ld [rLCDC],a
ret
Logged_0x808B:
ld a,$36
ld [$FF00+$85],a
ld a,$1E
ld [$FF00+$8D],a
ld a,$74
ld [$FF00+$8E],a
call $FF80
ld a,$88
ld [$C08D],a
ld [rWY],a
ld a,$07
ld [rWX],a
ld a,$E7
ld [rLCDC],a
ret
Logged_0x80AA:
ld a,$01
ld [$CED9],a
ld a,$03
ld [$FF00+$85],a
ld a,$26
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0BA]
and $0F
cp $01
jp z,Logged_0x8331
cp $00
jp z,Logged_0x83D1
ld a,[$C1AA]
and a
jr nz,Logged_0x80E7
ld a,$01
ld [$C0DA],a
ld a,$07
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
Logged_0x80E7:
ld a,[$C0BA]
cp $3C
jr z,Logged_0x80FC
ld a,[$CAC5]
ld [$C083],a
ld a,[$CAC7]
ld [$C085],a
jr Logged_0x8112
Logged_0x80FC:
ld hl,$C0BC
ld a,[$C089]
add a,[hl]
ld [$C083],a
ld a,[$C08B]
ld [$C085],a
ld a,[$C08D]
add a,[hl]
ld [rWY],a
Logged_0x8112:
xor a
ld [$C0DA],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0xB8D3
ld a,[$CA06]
cp $C8
jr nz,Logged_0x814F
ld a,[$CA9B]
cp $02
jr nz,Logged_0x814F
ld a,$06
ld [$FF00+$85],a
ld a,$9A
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
Logged_0x814F:
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$01
ld [$C0DA],a
ld a,$08
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
xor a
ld [$C0DA],a
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x03B9
ld a,[$C1AA]
and $0C
jr z,Logged_0x8215
ld a,[$C1A0]
and a
jr nz,Logged_0x8215
xor a
ld [$C0C2],a
ld a,[$CA87]
ld [$CA5E],a
ld a,[$C1AA]
bit 3,a
jr nz,Logged_0x81E4
ld b,$04
ld a,[$C0C2]
sub b
ld [$C0C2],a
ld a,[$C1A9]
sub b
ld [$C1A9],a
jr nz,Logged_0x8209
ld hl,$C1AA
res 2,[hl]
xor a
ld [$CA73],a
jr Logged_0x8209
Logged_0x81E4:
ld b,$04
ld a,[$C0C2]
add a,b
ld [$C0C2],a
ld a,[$C1A9]
sub b
ld [$C1A9],a
jr z,Logged_0x8200
ld a,[$C0BD]
dec a
jr nz,Logged_0x8209
xor a
ld [$C1A9],a
Logged_0x8200:
ld hl,$C1AA
res 3,[hl]
xor a
ld [$CA73],a
Logged_0x8209:
xor a
ld [$C0BE],a
ld [$C0BD],a
call Logged_0xB915
jr Logged_0x8229
Logged_0x8215:
ld a,[$C0BA]
cp $3C
jr z,Logged_0x8227
and $0F
cp $0C
jr z,Logged_0x8229
call Logged_0xB9A6
jr Logged_0x8229
Logged_0x8227:
jr Logged_0x8247
Logged_0x8229:
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x8ED9
call Logged_0xBB85
di
call Logged_0xB681
ei
pop af
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x8247:
ld a,[wGameState]
cp GAME_STATE_LEVEL
ret nz
ld hl,$CED4
ld a,[hl]
and a
jr z,Logged_0x82C6
bit 7,a
ret nz
ld a,$01
ld [$C09A],a
xor a
ld [$CA97],a
ld [$C0BC],a
ld [$C1AC],a
ld [$C1B1],a
ld [$CED8],a
ld [$CED9],a
ld [$CEE0],a
ld [$CEE1],a
ld [$CEE2],a
ld [$CA9C],a
ld hl,$CA3D
ld a,[$CED4]
cp $06
jr z,Logged_0x829D
cp $07
jr z,Logged_0x82A4
ld hl,wGameState
inc [hl]
xor a
ld [wGameSubState],a
ld a,[$CA3D]
bit 1,a
ret z
ld a,$04
ld [wGameSubState],a
ret
Logged_0x829D:
ld a,$F3
ld [$CEE3],a
jr Logged_0x82BA
Logged_0x82A4:
ld a,[$CA39]
dec a
jr z,Unknown_0x82B1
ld a,$F1
ld [$CEE3],a
jr Logged_0x82B8
Unknown_0x82B1:
ld a,$F2
ld [$CEE3],a
set 1,[hl]
Logged_0x82B8:
set 0,[hl]
Logged_0x82BA:
set 2,[hl]
ld hl,wGameState
ld [hl],GAME_STATE_MAP_RELOAD
xor a
ld [wGameSubState],a
ret
Logged_0x82C6:
ld a,[$CEDA]
and a
jr z,Logged_0x82D8
ld a,[wGameSubState]
ld [$CED5],a
ld a,$07
ld [wGameSubState],a
ret
Logged_0x82D8:
call Logged_0xBD3C
ld a,[$C1AA]
and a
ret nz
ld a,[$C0D7]
and a
ret nz
ld a,[$C094]
and $0C
ret z
ld a,[$CA8E]
cp $53
jr z,Unknown_0x82FF
ld a,[$C0E6]
and a
jr nz,Unknown_0x82FF
ld a,[$CA8E]
cp $53
jr nz,Logged_0x8308
Unknown_0x82FF:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
ret
Logged_0x8308:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E4
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+hMusicIDLow],a
xor a
ld [$CED9],a
ld a,$01
ld [$CED6],a
ld a,[wGameSubState]
ld [$CED5],a
ld a,GAME_STATE_PAUSE
ld [wGameState],a
xor a
ld [wGameSubState],a
ret
Logged_0x8331:
ld a,$01
ld [$C0DA],a
ld a,$07
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC5]
ld [$C083],a
ld a,[$CAC7]
ld [$C085],a
xor a
ld [$C0DA],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0xB8D3
ld a,$01
ld [$C0DA],a
ld a,$08
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
xor a
ld [$C0DA],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x03B9
xor a
ld [$C0BE],a
ld [$C0BD],a
call Logged_0xB915
call Logged_0xB9A6
jp Logged_0x8229
Logged_0x83D1:
ld a,$01
ld [$C0DA],a
ld a,$07
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC5]
ld [$C083],a
ld a,[$CAC7]
ld [$C085],a
xor a
ld [$C0DA],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0xB8D3
ld a,$01
ld [$C0DA],a
ld a,$08
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
xor a
ld [$C0DA],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x03B9
xor a
ld [$C0BE],a
ld [$C0BD],a
call Logged_0xB915
jp Logged_0x8229
Logged_0x846E:
ld a,[$C0D7]
and $0F
cp $03
jr nz,Logged_0x849D
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$C1AC]
ld [$D50F],a
ld a,[$C1AD]
ld [$D510],a
pop af
ld [rSVBK],a
ld a,[wGameSubState]
ld [$CED5],a
ld hl,wGameState
ld [hl],GAME_STATE_GOLF
xor a
ld [wGameSubState],a
ret
Logged_0x849D:
call Logged_0x08E6
ld a,$19
ld [$FF00+$85],a
ld a,$87
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$2A
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ld a,$00
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C0D7]
and $0F
cp $07
jr nz,Logged_0x84E2
ld a,$01
ld [$CA61],a
xor a
ld [$CA63],a
Logged_0x84E2:
ld a,[$CA62]
sub $10
ld [$CA62],a
ld a,[$CA61]
sbc a,$00
ld [$CA61],a
ld b,a
swap b
ld a,[$CA63]
or b
ld [$CA6C],a
ld hl,$CA61
call Logged_0x8EC2
xor a
ld [$C1AA],a
ld [$C1A9],a
ld [$C0C2],a
ld [$C0C3],a
ld [$C0BE],a
ld [$C0BD],a
ld [$CA97],a
ld [$C0BC],a
ld a,[$C0A0]
ld [$CA5D],a
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x285C
pop af
ld [rSVBK],a
call Logged_0x038F
call Logged_0x037D
call Logged_0x12C3
call Logged_0x8A41
call Logged_0x8AD9
call Logged_0x8C12
ld a,[$C0D7]
bit 6,a
jr z,Logged_0x854A
call Logged_0x0EDB
Logged_0x854A:
xor a
ld [$C0D7],a
call Logged_0xBC5E
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x8CD7
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x896F
pop af
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0xB8D3
ld a,[$CA83]
cp $2C
jr nz,Logged_0x85A7
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4D
ld [$CA81],a
ld a,$18
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x85A7:
call Logged_0x161A
xor a
ld [$C0DA],a
ld [$CA73],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
xor a
ld [$CA8A],a
ld a,$02
ld [wGameSubState],a
ld a,$87
ld [rLCDC],a
ret
Logged_0x861C:
call Logged_0x867F
ld a,$03
ld [$FF00+$85],a
ld a,$26
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x03B9
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
di
call Logged_0xB681
ei
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x867F:
ld a,[$CEDA]
and $0F
add a,$10
ld [$CEDA],a
and $08
ld [$CEDE],a
Logged_0x868E:
ld a,[$CEDA]
and $07
dec a
jr z,Logged_0x86C1
dec a
jr z,Logged_0x86D8
dec a
jr z,Logged_0x86EF
ld a,[$CEDC]
inc a
ld h,a
ld [$CCEA],a
cp $C0
ld a,[$CEDB]
jr nz,Logged_0x86B5
ld a,$A0
ld h,a
ld [$CCEA],a
ld a,[$CEDB]
inc a
Logged_0x86B5:
ld [$CCE9],a
ld a,[$CEDD]
ld l,a
ld [$CCEB],a
jr Logged_0x8712
Logged_0x86C1:
ld a,[$CEDB]
ld [$CCE9],a
ld a,[$CEDC]
ld h,a
ld [$CCEA],a
ld a,[$CEDD]
inc a
ld l,a
ld [$CCEB],a
jr Logged_0x8712
Logged_0x86D8:
ld a,[$CEDB]
ld [$CCE9],a
ld a,[$CEDD]
dec a
ld l,a
ld [$CCEB],a
ld a,[$CEDC]
ld h,a
ld [$CCEA],a
jr Logged_0x8712
Logged_0x86EF:
ld a,[$CEDC]
dec a
ld h,a
ld [$CCEA],a
cp $9F
ld a,[$CEDB]
jr nz,Logged_0x8708
ld a,$BF
ld h,a
ld [$CCEA],a
ld a,[$CEDB]
dec a
Logged_0x8708:
ld [$CCE9],a
ld a,[$CEDD]
ld l,a
ld [$CCEB],a
Logged_0x8712:
ld a,[$CEDA]
and $F8
ld [$CEDA],a
ld a,$06
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,[$CEDA]
and $07
jr nz,Logged_0x8733
jp Logged_0x8739
Logged_0x8733:
call Logged_0xBB85
jp Logged_0x868E
Logged_0x8739:
xor a
ld [$CEDA],a
ld [$CA73],a
ld a,[$CED5]
ld [wGameSubState],a
ret
Logged_0x8747:
xor a
ld [$C0E6],a
ld a,[$CEEF]
and $3C
jp nz,Logged_0x87E2
xor a
ld [$C0A0],a
ld [$CA6C],a
ld [$CA5D],a
xor a
ld [$CED4],a
ld [$CA5C],a
ld [$C1AA],a
ld [$C1A9],a
ld [$C0C2],a
ld [$C0C3],a
ld [$C0BE],a
ld [$C0BD],a
ld [$CA8A],a
ld [$CA8C],a
ld [$CAC1],a
ld [$CA9D],a
ld [$CA99],a
ld [$CA66],a
ld [$CA6A],a
ld [$C0E2],a
ld [$C0E3],a
ld [$C0E4],a
ld [$CAC3],a
ld [$CA6D],a
ld [$CA6E],a
call Logged_0x1079
ld [$CA8D],a
ld [$CAC8],a
ld [$CAC9],a
ld [$CA97],a
ld [$C0BC],a
ld [$CA9C],a
ld [$C1AC],a
ld [$C1B1],a
ld [$CED8],a
ld [$CED9],a
ld [$CEE0],a
ld [$CEE1],a
ld [$CEE2],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$10
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
jr Logged_0x87EB
Logged_0x87E2:
ld a,[$CA5D]
ld [$C0A0],a
call Logged_0x15B0
Logged_0x87EB:
call Logged_0x0E8A
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
call Logged_0x285C
pop af
ld [rSVBK],a
ld a,[$CEEF]
and $3C
jr nz,Logged_0x883A
call Logged_0x8A41
ld a,$01
ld [$CA69],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ld hl,$4800
ld a,h
ld [$CA79],a
ld a,l
ld [$CA7A],a
ld de,$C040
ld b,$10
ld a,$03
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
jr Logged_0x8861
Logged_0x883A:
ld a,[$CA79]
ld h,a
ld a,[$CA7A]
ld l,a
ld de,$C040
ld b,$10
ld a,$03
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
ld hl,$CAA1
ld de,$C060
ld b,$20
call MemCopy_DE_HL
Logged_0x8861:
ld hl,$51FE
ld de,$C050
ld b,$08
ld a,$03
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
call Logged_0x8AD9
call Logged_0x8C12
call Logged_0xB672
call Logged_0xB681
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x8CD7
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$CEEF]
and $3C
jr nz,Logged_0x88B7
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x896F
pop af
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x88B7:
ld a,[$CA06]
cp $C8
jr nz,Logged_0x88DB
xor a
ld a,[$CAC5]
ld [$C08A],a
ld [$C089],a
ld [$C083],a
ld [rSCY],a
ld a,[$CAC7]
ld [$C08C],a
ld [$C08B],a
ld [$C085],a
ld [rSCX],a
Logged_0x88DB:
call Logged_0xB8D3
xor a
ld [$C0DA],a
ld a,[$CEEF]
and $3C
jr nz,Logged_0x8917
xor a
ld [$CA73],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
jr Logged_0x8935
Logged_0x8917:
ld a,$01
ld [$CA73],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$48
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
Logged_0x8935:
xor a
ld [$CA73],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x896F:
ld de,$C0A6
ld hl,$FFAB
ld a,[de]
ld [hld],a
dec de
ld a,[de]
ld [hld],a
dec de
ld a,[de]
ld [hld],a
dec de
ld a,[de]
ld [hl],a
call Logged_0x0CC0
ld c,$01
ld a,[$CCED]
cp $C0
jr c,Logged_0x8996
inc c
sub $20
cp $C0
jr c,Logged_0x8996
inc c
sub $20
Logged_0x8996:
ld h,a
ld a,c
ld [$CCEC],a
ld [$C08E],a
ld [rRAMB+$100],a
ld a,$01
ld [$CCEF],a
ld b,a
ld d,$10
Logged_0x89A9:
ld e,$08
Logged_0x89AB:
ld a,[hl]
and $F0
swap a
call nz,Logged_0x89E2
ld a,b
xor $01
ld b,a
ld a,[hl]
and $0F
call nz,Logged_0x89E2
inc l
ld a,b
xor $01
ld b,a
dec e
jr nz,Logged_0x89AB
ld a,l
sub $08
ld l,a
inc h
ld a,h
cp $C0
jr nz,Logged_0x89DE
ld h,$A0
ld a,[$CCEC]
inc a
ld [$CCEC],a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x89DE:
dec d
jr nz,Logged_0x89A9
ret
Logged_0x89E2:
cp $0F
ret nc
ld c,a
ld a,[$C0C7]
dec a
cp l
ret c
ld a,[$C0C6]
cp l
jr z,Logged_0x89F3
ret nc
Logged_0x89F3:
ld a,[$CCEC]
dec a
jr nz,Logged_0x8A08
ld a,[$C0C4]
dec a
cp h
ret c
ld a,[$C0C5]
cp h
jr z,Logged_0x8A19
ret nc
jr Logged_0x8A19
Logged_0x8A08:
ld a,[$C0C4]
sub $20
dec a
cp h
ret c
ld a,[$C0C5]
sub $20
cp h
jr z,Logged_0x8A19
ret nc
Logged_0x8A19:
push de
push bc
call Logged_0x0CF8
push hl
call Logged_0x0D81
ld d,h
ld e,l
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$19
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
pop hl
pop bc
pop de
ret
Logged_0x8A41:
ld hl,$FFAB
xor a
ld [hld],a
ld a,[$C0A1]
and $0F
ld [hld],a
xor a
ld [hld],a
ld a,[$C0A1]
and $F0
swap a
ld [hl],a
call Logged_0x0CC0
ld c,$01
ld a,[$CCED]
cp $C0
jr c,Logged_0x8A6C
inc c
sub $20
cp $C0
jr c,Logged_0x8A6C
inc c
sub $20
Logged_0x8A6C:
ld h,a
ld a,c
ld [$CCEC],a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x8A77:
ld e,$08
Logged_0x8A79:
ld a,[hl]
and $F0
swap a
cp $0F
jr nc,Logged_0x8AB0
ld a,b
xor $01
ld b,a
ld a,[hl]
and $0F
cp $0F
jr nc,Logged_0x8AB0
inc l
ld a,b
xor $01
ld b,a
dec e
jr nz,Logged_0x8A79
ld a,l
sub $08
ld l,a
inc h
ld a,h
cp $C0
jr nz,Logged_0x8A77
ld h,$A0
ld a,[$CCEC]
inc a
ld [$CCEC],a
ld [$C08E],a
ld [rRAMB+$100],a
jr Logged_0x8A77
Logged_0x8AB0:
ld c,a
call Logged_0x0CF8
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x8AD8
ld a,[$CEEF]
and $3C
jr nz,Logged_0x8AD8
call Logged_0x1146
Logged_0x8AD8:
ret
Logged_0x8AD9:
xor a
ld [$C0B5],a
ld a,[$C0BA]
and $0F
cp $0C
jr z,Logged_0x8AEA
cp $00
jr nz,Logged_0x8AF7
Logged_0x8AEA:
ld a,[$CA63]
ld [$CAC6],a
ld a,$30
ld [$CAC7],a
jr Logged_0x8B69
Logged_0x8AF7:
ld a,[$CA69]
and a
jr nz,Logged_0x8B05
ld a,[$CA60]
sub $08
ld b,a
jr Logged_0x8B0B
Logged_0x8B05:
ld a,[$CA5F]
sub $08
ld b,a
Logged_0x8B0B:
ld a,[$CA64]
sub b
ld [$CAC7],a
ld l,a
ld a,[$CA63]
sbc a,$00
ld [$CAC6],a
ld h,a
ld a,[$C0BA]
bit 5,a
jr z,Logged_0x8B27
ld de,$FFE0
add hl,de
Logged_0x8B27:
ld a,[$C0B8]
ld b,a
ld a,h
bit 7,a
jr nz,Logged_0x8B39
cp b
jr c,Logged_0x8B39
jr nz,Logged_0x8B44
ld a,l
and a
jr nz,Logged_0x8B44
Logged_0x8B39:
ld a,b
ld [$CAC6],a
ld a,$01
ld [$C0B5],a
jr Logged_0x8B69
Logged_0x8B44:
ld hl,$CAC6
ld a,[hli]
ld l,[hl]
ld h,a
ld de,$00A0
ld a,[$C0BA]
bit 4,a
jr z,Logged_0x8B56
ld e,$C0
Logged_0x8B56:
add hl,de
ld a,[$C0B9]
ld b,a
ld a,h
cp b
jr c,Logged_0x8B69
ld a,b
dec a
ld [$CAC6],a
ld a,$FF
ld [$C0B5],a
Logged_0x8B69:
ld a,[$CEEF]
and $3C
jr z,Logged_0x8B78
ld a,[$C0BA]
and $0F
cp $08
ret nc
Logged_0x8B78:
xor a
ld [$CAC8],a
ld a,[$CA62]
sub $60
ld [$CAC5],a
ld l,a
ld a,[$CA61]
sbc a,$00
ld [$CAC4],a
ld h,a
ld a,[$C0BA]
bit 6,a
jr z,Logged_0x8B99
ld de,$FFE0
add hl,de
Logged_0x8B99:
ld a,[$C0B7]
ld b,a
ld a,h
bit 7,a
jr nz,Logged_0x8BAB
cp b
jr c,Logged_0x8BAB
jr nz,Logged_0x8BB5
ld a,l
and a
jr nz,Logged_0x8BB5
Logged_0x8BAB:
ld a,b
ld [$CAC4],a
ld a,$01
ld [$CAC8],a
ret
Logged_0x8BB5:
ld hl,$CAC4
ld a,[hli]
ld l,[hl]
ld h,a
ld de,$0090
ld a,[$C0BA]
bit 7,a
jr z,Logged_0x8BC7
ld e,$B0
Logged_0x8BC7:
add hl,de
ld a,[$C0B6]
ld b,a
ld a,h
cp b
jr c,Logged_0x8BDB
ld a,b
dec a
ld [$CAC4],a
ld a,$FF
ld [$CAC8],a
ret
Logged_0x8BDB:
ld a,[$C0BA]
and $0F
cp $08
ret c
ld a,[$CA62]
cp $80
jr nc,Logged_0x8C0C
ld a,[$C0B7]
ld b,a
ld a,[$CA61]
dec a
ld [$CAC4],a
cp b
jr c,Logged_0x8BAB
bit 7,a
jr z,Logged_0x8C06
xor a
ld [$CAC4],a
ld a,$01
ld [$CAC8],a
ret
Logged_0x8C06:
ld a,$E8
ld [$CAC5],a
ret
Logged_0x8C0C:
ld a,$68
ld [$CAC5],a
ret
Logged_0x8C12:
ld a,[$CAC4]
ld h,a
ld a,[$CAC5]
ld l,a
ld a,[$CAC8]
cp $01
jr z,Logged_0x8C38
cp $FF
jr z,Logged_0x8C54
ld a,l
ld [rSCY],a
ld [$C083],a
sub $18
ld [$C0A4],a
ld a,h
sbc a,$00
ld [$C0A3],a
jr Logged_0x8C70
Logged_0x8C38:
ld a,[$C0BA]
bit 6,a
ld a,$00
jr z,Logged_0x8C43
ld a,$20
Logged_0x8C43:
ld [$CAC5],a
ld [rSCY],a
ld [$C083],a
ld [$C0A4],a
ld a,h
ld [$C0A3],a
jr Logged_0x8C70
Logged_0x8C54:
ld a,[$C0BA]
bit 7,a
ld a,$68
jr z,Logged_0x8C5F
ld a,$48
Logged_0x8C5F:
ld [$CAC5],a
ld [rSCY],a
ld [$C083],a
sub $20
ld [$C0A4],a
ld a,h
ld [$C0A3],a
Logged_0x8C70:
ld a,[$CAC6]
ld h,a
ld a,[$CAC7]
ld l,a
ld a,[$C0B5]
cp $01
jr z,Logged_0x8C9F
cp $FF
jr z,Logged_0x8CBA
ld a,l
ld [rSCX],a
ld [$C085],a
sub $10
ld [$C0A6],a
ld a,h
sbc a,$00
ld [$C0A5],a
bit 7,a
ret z
xor a
ld [$C0A6],a
ld [$C0A5],a
ret
Logged_0x8C9F:
ld a,[$C0BA]
bit 5,a
ld a,$00
jr z,Logged_0x8CAA
ld a,$20
Logged_0x8CAA:
ld [$CAC7],a
ld [rSCX],a
ld [$C085],a
ld [$C0A6],a
ld a,h
ld [$C0A5],a
ret
Logged_0x8CBA:
ld a,[$C0BA]
bit 4,a
ld a,$60
jr z,Logged_0x8CC5
ld a,$40
Logged_0x8CC5:
ld [$CAC7],a
ld [rSCX],a
ld [$C085],a
sub $28
ld [$C0A6],a
ld a,h
ld [$C0A5],a
ret
Logged_0x8CD7:
ld hl,$C0A3
ld de,$C0A7
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$20
ld [$C0A2],a
Logged_0x8CED:
call Logged_0x8D69
ld a,[$CCF0]
ld d,a
ld a,[$CCF1]
ld e,a
ld hl,$CE01
ld b,$20
Logged_0x8CFD:
ld a,[hli]
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,d
adc a,$00
ld d,a
cp $9C
jr nz,Logged_0x8D0D
ld d,$98
Logged_0x8D0D:
dec b
jr nz,Logged_0x8CFD
ld a,$01
ld [rVBK],a
ld a,[$CCF0]
ld d,a
ld a,[$CCF1]
ld e,a
ld hl,$CE35
ld b,$20
Logged_0x8D21:
ld a,[hli]
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,d
adc a,$00
ld d,a
cp $9C
jr nz,Logged_0x8D31
ld d,$98
Logged_0x8D31:
dec b
jr nz,Logged_0x8D21
xor a
ld [rVBK],a
xor a
ld [$CE69],a
ld [$CE00],a
ld a,[$C0A6]
add a,$08
ld [$C0A6],a
ld a,[$C0A5]
adc a,$00
ld [$C0A5],a
ld a,[$C0A2]
dec a
ld [$C0A2],a
jr nz,Logged_0x8CED
ld hl,$C0A7
ld de,$C0A3
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x8D69:
call Logged_0x8E5B
ld a,[$CE69]
ld b,a
ld de,$CE6A
ld a,e
add a,b
ld e,a
ld b,$20
Logged_0x8D78:
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
dec b
jr nz,Logged_0x8D78
ld a,[$CE69]
add a,$40
ld [$CE69],a
ld hl,$C0A3
call Logged_0x0BDB
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C0A6]
and $08
jr z,Logged_0x8DD4
push hl
ld a,$08
ld [$FF00+$85],a
ld a,$51
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld a,$08
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
jr Logged_0x8DFD
Logged_0x8DD4:
push hl
ld a,$08
ld [$FF00+$85],a
ld a,$FC
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld a,$08
ld [$FF00+$85],a
ld a,$BB
ld [$FF00+$8D],a
ld a,$61
ld [$FF00+$8E],a
call $FF80
Logged_0x8DFD:
ld a,[$CE00]
add a,$20
ld [$CE00],a
ret
ld a,[$CA62]
sub $18
ld l,a
ld a,[$CA61]
sbc a,$00
ld h,a
srl h
rr l
srl h
rr l
srl h
rr l
sla l
rl h
sla l
rl h
sla l
rl h
sla l
rl h
sla l
rl h
ld a,h
and $03
ld d,a
ld e,l
ld a,[$CA63]
ld h,a
ld a,[$CA64]
ld l,a
srl h
rr l
srl h
rr l
srl h
rr l
ld a,l
and $1F
ld l,a
ld h,$98
add hl,de
ld a,h
ld [$CCF0],a
ld a,l
ld [$CCF1],a
ret
Logged_0x8E5B:
ld a,[$C0A3]
ld h,a
ld a,[$C0A4]
ld l,a
srl h
rr l
srl h
rr l
srl h
rr l
sla l
rl h
sla l
rl h
sla l
rl h
sla l
rl h
sla l
rl h
ld a,h
and $03
ld d,a
ld e,l
ld a,[$C0A5]
ld h,a
ld a,[$C0A6]
ld l,a
srl h
rr l
srl h
rr l
srl h
rr l
ld a,l
and $1F
ld l,a
ld h,$98
add hl,de
ld a,h
ld [$CCF0],a
ld a,l
ld [$CCF1],a
ret
Unknown_0x8EAC:
INCBIN "baserom.gbc", $8EAC, $8EC2 - $8EAC
Logged_0x8EC2:
ld a,[hli]
and a
jr z,Logged_0x8ED3
ld b,a
inc hl
ld a,[hl]
ld c,$0A
Logged_0x8ECB:
add a,c
dec b
jr nz,Logged_0x8ECB
ld [$C0A0],a
ret
Logged_0x8ED3:
inc hl
ld a,[hl]
ld [$C0A0],a
ret
Logged_0x8ED9:
ld a,[$C0BB]
and a
ret z
ld b,a
and $03
jr nz,Logged_0x8EEC
Logged_0x8EE3:
bit 2,b
jr nz,Logged_0x8F11
bit 3,b
jr nz,Logged_0x8EF6
ret
Logged_0x8EEC:
bit 0,b
jr nz,Logged_0x8F2C
bit 1,b
jr nz,Logged_0x8F52
jr Logged_0x8EE3
Logged_0x8EF6:
call Logged_0x8F79
call Logged_0x9085
ld hl,$C0BB
res 3,[hl]
ld a,$03
ld [$FF00+$85],a
ld a,$86
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x8F11:
call Logged_0x8FB3
call Logged_0x9085
ld hl,$C0BB
res 2,[hl]
ld a,$03
ld [$FF00+$85],a
ld a,$86
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x8F2C:
call Logged_0x8FEC
call Logged_0xA0E2
ld hl,$C0BB
res 0,[hl]
ld a,$03
ld [$FF00+$85],a
ld a,$1A
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ld a,[$C0BB]
bit 2,a
jr nz,Logged_0x8F11
bit 3,a
jr nz,Logged_0x8EF6
ret
Logged_0x8F52:
call Logged_0x9039
call Logged_0xA0E2
ld hl,$C0BB
res 1,[hl]
ld a,$03
ld [$FF00+$85],a
ld a,$1A
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ld a,[$C0BB]
bit 2,a
jr nz,Logged_0x8F11
bit 3,a
jp nz,Logged_0x8EF6
ret
Logged_0x8F79:
ld hl,$CAC5
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$00A0
add hl,de
ld a,h
cp $03
jr c,Logged_0x8F8F
ld hl,$02F8
ld a,h
Logged_0x8F8F:
ld [$C0A3],a
ld a,l
ld [$C0A4],a
ld hl,$CAC7
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x8FAA
ld hl,$0000
Logged_0x8FAA:
ld a,h
ld [$C0A5],a
ld a,l
ld [$C0A6],a
ret
Logged_0x8FB3:
ld hl,$CAC5
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x8FC7
ld hl,$0000
Logged_0x8FC7:
ld a,h
ld [$C0A3],a
ld a,l
ld [$C0A4],a
ld hl,$CAC7
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x8FE3
ld hl,$0000
Logged_0x8FE3:
ld a,h
ld [$C0A5],a
ld a,l
ld [$C0A6],a
ret
Logged_0x8FEC:
ld hl,$CAC5
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x9002
ld hl,$0000
jr Logged_0x9013
Logged_0x9002:
ld de,$00B8
push hl
add hl,de
ld a,h
cp $03
jr c,Logged_0x9012
pop hl
ld hl,$0240
jr Logged_0x9013
Logged_0x9012:
pop hl
Logged_0x9013:
ld a,h
ld [$C0A3],a
ld a,l
ld [$C0A4],a
ld hl,$CAC7
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$00B0
add hl,de
ld a,h
cp $0A
jr c,Logged_0x9031
ld hl,$09F8
ld a,h
Logged_0x9031:
ld [$C0A5],a
ld a,l
ld [$C0A6],a
ret
Logged_0x9039:
ld hl,$CAC5
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x904F
ld hl,$0000
jr Logged_0x9060
Logged_0x904F:
ld de,$00B8
push hl
add hl,de
ld a,h
cp $03
jr c,Logged_0x905F
pop hl
ld hl,$0240
jr Logged_0x9060
Logged_0x905F:
pop hl
Logged_0x9060:
ld a,h
ld [$C0A3],a
ld a,l
ld [$C0A4],a
ld hl,$CAC7
ld a,[hld]
and $F8
ld e,a
ld h,[hl]
ld l,e
ld de,$FFF0
add hl,de
bit 7,h
jr z,Logged_0x907C
ld hl,$0000
Logged_0x907C:
ld a,h
ld [$C0A5],a
ld a,l
ld [$C0A6],a
ret
Logged_0x9085:
call Logged_0x8E5B
ld a,[$CE69]
ld b,a
ld de,$CE6A
ld a,e
add a,b
ld e,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
and $E0
ld c,a
inc e
inc l
ld a,l
and $1F
add a,c
ld l,a
ld a,[$CE69]
add a,$32
ld [$CE69],a
ld hl,$C0A3
call Logged_0x0BDB
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C0A4]
and $08
jr z,Logged_0x923A
push hl
call Logged_0x9254
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x9605
jr Logged_0x924B
Logged_0x923A:
push hl
call Logged_0x99CA
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x9D4C
Logged_0x924B:
ld a,[$CE00]
add a,$19
ld [$CE00],a
ret
Logged_0x9254:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A6]
and $08
jp nz,Logged_0x9438
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0x9438:
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0x9605:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A6]
and $08
jp nz,Logged_0x97F3
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0x97F3:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0x99CA:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A6]
and $08
jp nz,Logged_0x9B94
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0x9B94:
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0x9D4C:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A6]
and $08
jp nz,Logged_0x9F20
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0x9F20:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
ld a,[hli]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0xA0E2:
call Logged_0x8E5B
ld a,[$CE69]
ld b,a
ld de,$CE6A
ld a,e
add a,b
ld e,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
push de
ld de,$0020
add hl,de
pop de
ld a,h
and $FB
ld h,a
ld a,[$CE69]
add a,$2E
ld [$CE69],a
ld hl,$C0A3
call Logged_0x0BDB
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C0A6]
and $08
jr z,Logged_0xA290
push hl
call Logged_0xA2AA
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0xA79E
jr Logged_0xA2A1
Logged_0xA290:
push hl
call Logged_0xACA6
pop hl
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0xB182
Logged_0xA2A1:
ld a,[$CE00]
add a,$17
ld [$CE00],a
ret
Logged_0xA2AA:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A4]
and $08
jp nz,Logged_0xA52F
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA2F7
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA2F7:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA32D
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA32D:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA363
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA363:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA399
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA399:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA3CF
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA3CF:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA405
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA405:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA43B
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA43B:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA471
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA471:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA4A7
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA4A7:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA4DD
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA4DD:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA513
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA513:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0xA52F:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA562
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA562:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA598
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA598:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA5CE
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA5CE:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA604
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA604:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA63A
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA63A:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA670
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA670:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA6A6
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA6A6:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA6DC
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA6DC:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA712
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA712:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA748
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA748:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA77E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA77E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0xA79E:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A4]
and $08
jp nz,Logged_0xAA2D
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA7F2
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA7F2:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA828
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA828:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA85E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA85E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA894
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA894:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA8CA
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA8CA:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA900
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA900:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA936
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA936:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA96C
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA96C:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA9A2
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA9A2:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xA9D8
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xA9D8:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAA0E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAA0E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0xAA2D:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAA67
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAA67:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAA9D
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAA9D:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAAD3
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAAD3:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAB09
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAB09:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAB3F
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAB3F:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAB75
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAB75:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xABAB
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xABAB:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xABE1
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xABE1:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAC17
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAC17:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAC4D
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAC4D:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAC83
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAC83:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0xACA6:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A4]
and $08
jp nz,Logged_0xAF1F
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xACF2
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xACF2:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAD27
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAD27:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAD5C
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAD5C:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAD91
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAD91:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xADC6
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xADC6:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xADFB
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xADFB:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAE30
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAE30:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAE65
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAE65:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAE9A
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAE9A:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAECF
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAECF:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAF04
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAF04:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0xAF1F:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAF51
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAF51:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAF86
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAF86:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAFBB
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAFBB:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xAFF0
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xAFF0:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB025
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB025:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB05A
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB05A:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB08F
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB08F:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB0C4
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB0C4:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB0F9
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB0F9:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB12E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB12E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB163
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB163:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
ret
Logged_0xB182:
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A4]
and $08
jp nz,Logged_0xB405
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB1D5
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB1D5:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB20A
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB20A:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB23F
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB23F:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB274
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB274:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB2A9
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB2A9:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB2DE
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB2DE:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB313
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB313:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB348
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB348:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB37D
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB37D:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB3B2
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB3B2:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB3E7
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB3E7:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0xB405:
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB43E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB43E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB473
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB473:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB4A8
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB4A8:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB4DD
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB4DD:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB512
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB512:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB547
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB547:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB57C
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB57C:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB5B1
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB5B1:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB5E6
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB5E6:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB61B
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB61B:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0xB650
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xB650:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0xB672:
ld hl,RAMCode_0xB67E
ld de,$C200
ld b,Logged_0xB681 - RAMCode_0xB67E
call MemCopy_DE_HL
ret
RAMCode_0xB67E:
jp Logged_0x0C4C
Logged_0xB681:
ld hl,$C210
ld a,[$CE00]
and a
jr z,Logged_0xB6CB
ld c,a
Logged_0xB68B:
ld a,$2A
ld [hli],a
ld a,$57
ld [hli],a
ld a,$2A
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$0A
ld [hli],a
ld a,$12
ld [hli],a
ld a,$0C
ld [hli],a
dec c
jr nz,Logged_0xB68B
ld a,$C3
ld [hli],a
ld a,$AB
ld [hli],a
ld a,$0C
ld [hl],a
ld a,[$CE00]
ld c,a
ld hl,$C800
Logged_0xB6B3:
ld a,$2A
ld [hli],a
ld a,$57
ld [hli],a
ld a,$2A
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$0A
ld [hli],a
ld a,$12
ld [hli],a
ld a,$0C
ld [hli],a
dec c
jr nz,Logged_0xB6B3
Logged_0xB6CB:
ld a,$C3
ld [hli],a
ld a,$B8
ld [hli],a
ld a,$0C
ld [hl],a
ret
Logged_0xB6D5:
xor a
ld [$C0C0],a
ld a,[$C0B9]
dec a
ld c,a
ld a,[$CAC7]
add a,b
ld [$CAC7],a
ld a,[$CAC6]
adc a,$00
ld [$CAC6],a
ld a,[$C0BA]
bit 4,a
ld b,$60
jr z,Logged_0xB6F8
ld b,$40
Logged_0xB6F8:
ld a,[$CAC6]
cp c
jr c,Logged_0xB70E
ld a,[$CAC7]
cp b
jr c,Logged_0xB70E
ld a,b
ld [$CAC7],a
ld a,$01
ld [$C0C0],a
ret
Logged_0xB70E:
ld a,[$C0B8]
ld c,a
ld a,[$CA63]
cp c
ret nz
ld a,[$CA69]
and a
jr nz,Logged_0xB722
ld a,[$CA60]
jr Logged_0xB725
Logged_0xB722:
ld a,[$CA5F]
Logged_0xB725:
sub $08
ld c,a
ld a,[$C0BA]
bit 5,a
jr z,Logged_0xB733
ld a,c
add a,$20
ld c,a
Logged_0xB733:
ld a,[$CA64]
cp c
ret nc
ld a,[$C0BA]
bit 5,a
ld a,$00
jr z,Logged_0xB743
ld a,$20
Logged_0xB743:
ld [$CAC7],a
ld a,$02
ld [$C0C0],a
ret
Logged_0xB74C:
xor a
ld [$C0BF],a
ld a,[$C0B8]
ld c,a
ld a,[$CAC7]
sub b
ld [$CAC7],a
ld a,[$CAC6]
sbc a,$00
ld [$CAC6],a
ld a,[$CAC7]
add a,$10
ld l,a
ld a,[$CAC6]
adc a,$00
cp c
jr nz,Logged_0xB790
ld a,[$C0BA]
bit 5,a
ld b,$10
jr z,Logged_0xB77C
ld b,$30
Logged_0xB77C:
ld a,l
cp b
jr nc,Logged_0xB790
ld a,c
ld [$CAC6],a
ld a,b
sub $10
ld [$CAC7],a
ld a,$01
ld [$C0BF],a
ret
Logged_0xB790:
ld a,[$C0B9]
dec a
ld c,a
ld a,[$CA63]
cp c
ret nz
ld a,[$CA69]
and a
jr nz,Logged_0xB7A5
ld a,[$CA60]
jr Logged_0xB7A8
Logged_0xB7A5:
ld a,[$CA5F]
Logged_0xB7A8:
ld c,a
ld a,$A8
sub c
ld c,a
xor a
sub c
ld c,a
ld a,[$C0BA]
bit 4,a
jr z,Logged_0xB7BB
ld a,c
sub $20
ld c,a
Logged_0xB7BB:
ld a,[$CA64]
cp c
ret c
ld a,$02
ld [$C0BF],a
ld a,[$C0B9]
dec a
ld [$CAC6],a
ld a,[$C0BA]
bit 4,a
ld a,$60
jr z,Logged_0xB7D7
ld a,$40
Logged_0xB7D7:
ld [$CAC7],a
ret
Logged_0xB7DB:
ld a,[$C0B6]
dec a
ld c,a
ld a,[$CAC5]
add a,b
ld [$CAC5],a
ld a,[$CAC4]
adc a,$00
ld [$CAC4],a
cp c
jr c,Logged_0xB80D
ld a,[$C0BA]
bit 7,a
ld b,$68
jr z,Logged_0xB7FD
ld b,$48
Logged_0xB7FD:
ld a,[$CAC5]
cp b
jr c,Logged_0xB80D
ld a,b
ld [$CAC5],a
ld a,$01
ld [$C0BD],a
ret
Logged_0xB80D:
ld a,[$C0BA]
and $0F
cp $08
ret nc
ld a,[$C0B7]
ld c,a
ld a,[$CA61]
cp c
jr c,Logged_0xB836
ret nz
ld a,[$CA5E]
sub $10
ld c,a
ld a,[$C0BA]
bit 6,a
jr z,Logged_0xB831
ld a,c
add a,$20
ld c,a
Logged_0xB831:
ld a,[$CA62]
cp c
ret nc
Logged_0xB836:
ld a,[$C0BA]
bit 6,a
ld a,$00
jr z,Logged_0xB841
ld a,$20
Logged_0xB841:
ld [$CAC5],a
ld a,[$C0B7]
ld [$CAC4],a
ld a,$02
ld [$C0BD],a
ret
Logged_0xB850:
ld a,[$C0B7]
ld c,a
ld a,[$CAC5]
sub b
ld [$CAC5],a
ld a,[$CAC4]
sbc a,$00
ld [$CAC4],a
ld a,[$C0BA]
bit 6,a
ld b,$10
jr z,Logged_0xB86E
ld b,$30
Logged_0xB86E:
ld a,[$CAC5]
add a,$10
ld l,a
ld a,[$CAC4]
adc a,$00
cp c
jr c,Logged_0xB882
jr nz,Logged_0xB892
ld a,l
cp b
jr nc,Logged_0xB892
Logged_0xB882:
ld a,c
ld [$CAC4],a
ld a,b
sub $10
ld [$CAC5],a
ld a,$01
ld [$C0BE],a
ret
Logged_0xB892:
ld a,[$C0BA]
and $0F
cp $08
ret nc
ld a,[$C0B6]
dec a
ld c,a
ld a,[$CA61]
cp c
ret nz
ld a,[$CA5E]
ld c,a
ld a,$A0
sub c
ld c,a
xor a
sub c
ld c,a
ld a,[$C0BA]
bit 7,a
jr z,Logged_0xB8BA
ld a,c
sub $20
ld c,a
Logged_0xB8BA:
ld a,[$CA62]
cp c
ret c
ld a,$02
ld [$C0BE],a
ld a,[$C0BA]
bit 7,a
ld a,$68
jr z,Logged_0xB8CF
ld a,$48
Logged_0xB8CF:
ld [$CAC5],a
ret
Logged_0xB8D3:
ld a,[$C0BA]
cp $3C
jr z,Logged_0xB8F5
ld a,[$C083]
ld b,a
ld a,[$CA62]
add a,$10
sub b
ld [$CA87],a
ld a,[$C085]
ld b,a
ld a,[$CA64]
add a,$08
sub b
ld [$CA88],a
ret
Logged_0xB8F5:
ld a,[$C0BC]
ld c,a
ld a,[$C08A]
add a,c
ld b,a
ld a,[$CA62]
add a,$10
sub b
ld [$CA87],a
ld a,[$C08C]
ld b,a
ld a,[$CA64]
add a,$08
sub b
ld [$CA88],a
ret
Logged_0xB915:
ld a,[$C0C2]
ld b,a
and a
jr z,Logged_0xB964
xor a
ld [$C0D4],a
bit 7,b
jr nz,Logged_0xB941
ld hl,$CA87
ld a,[$CA5E]
cp [hl]
jr nc,Logged_0xB92E
inc b
Logged_0xB92E:
call Logged_0xB7DB
ld a,[$C0BD]
and a
jr nz,Logged_0xB93C
ld hl,$C0BB
set 3,[hl]
Logged_0xB93C:
xor a
ld [$C0C2],a
ret
Logged_0xB941:
ld a,b
cpl
inc a
ld b,a
ld hl,$CA87
ld a,[$CA5E]
cp [hl]
jr c,Logged_0xB951
jr z,Logged_0xB951
inc b
Logged_0xB951:
call Logged_0xB850
ld a,[$C0BE]
and a
jr nz,Logged_0xB95F
ld hl,$C0BB
set 2,[hl]
Logged_0xB95F:
xor a
ld [$C0C2],a
ret
Logged_0xB964:
ld a,[$C0DB]
and a
ret nz
ld a,[$CA75]
and a
ret nz
ld a,[$CA83]
cp $4C
ret z
cp $3A
jr c,Logged_0xB97B
cp $3F
ret c
Logged_0xB97B:
ld a,[$C0D4]
inc a
ld [$C0D4],a
dec a
ret z
ld hl,$CA87
ld a,[$CA5E]
sub [hl]
jr nc,Logged_0xB98F
cpl
inc a
Logged_0xB98F:
ld b,a
ld a,[$C189]
and a
jr nz,Logged_0xB99C
ld a,b
cp $08
ret c
ld b,$07
Logged_0xB99C:
ld a,[$CA5E]
cp [hl]
jr c,Logged_0xB92E
ret z
jp Logged_0xB951
Logged_0xB9A6:
ld a,[$C0C3]
ld b,a
and a
jr z,Logged_0xBA13
xor a
ld [$C0D5],a
bit 7,b
jr nz,Logged_0xB9E2
ld hl,$CA88
ld a,[$CA69]
and a
jr nz,Logged_0xB9C3
ld a,[$CA60]
jr Logged_0xB9C6
Logged_0xB9C3:
ld a,[$CA5F]
Logged_0xB9C6:
cp [hl]
jr z,Logged_0xB9CF
jr c,Logged_0xB9CE
dec b
jr Logged_0xB9CF
Logged_0xB9CE:
inc b
Logged_0xB9CF:
call Logged_0xB6D5
ld a,[$C0C0]
and a
jr nz,Logged_0xB9DD
ld hl,$C0BB
set 0,[hl]
Logged_0xB9DD:
xor a
ld [$C0C3],a
ret
Logged_0xB9E2:
ld a,b
cpl
inc a
ld b,a
ld hl,$CA88
ld a,[$CA69]
and a
jr nz,Logged_0xB9F4
ld a,[$CA60]
jr Logged_0xB9F7
Logged_0xB9F4:
ld a,[$CA5F]
Logged_0xB9F7:
cp [hl]
jr z,Logged_0xBA00
jr c,Logged_0xB9FF
inc b
jr Logged_0xBA00
Logged_0xB9FF:
dec b
Logged_0xBA00:
call Logged_0xB74C
ld a,[$C0BF]
and a
jr nz,Logged_0xBA0E
ld hl,$C0BB
set 1,[hl]
Logged_0xBA0E:
xor a
ld [$C0C3],a
ret
Logged_0xBA13:
ld a,[$CA8E]
cp $42
jr nz,Logged_0xBA1F
ld a,[$CA74]
and a
ret nz
Logged_0xBA1F:
ld a,[$C0D5]
inc a
ld [$C0D5],a
dec a
ret z
ld b,$01
ld hl,$CA88
ld a,[$CA69]
and a
jr nz,Logged_0xBA38
ld a,[$CA60]
jr Logged_0xBA3B
Logged_0xBA38:
ld a,[$CA5F]
Logged_0xBA3B:
cp [hl]
jr c,Logged_0xB9CF
ret z
jp Logged_0xBA00
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
push de
push hl
ld c,$01
ld a,[hld]
cp $C0
jr c,Logged_0xBA68
inc c
sub $20
cp $C0
jr c,Logged_0xBA68
inc c
sub $20
Logged_0xBA68:
ld l,[hl]
ld h,a
ld a,c
ld [$CCE9],a
call Logged_0x0D8C
ld a,[$CCEC]
ld [$C08E],a
ld [rRAMB+$100],a
bit 0,b
jr z,Logged_0xBA85
swap e
ld a,[hl]
and $0F
jr Logged_0xBA88
Logged_0xBA85:
ld a,[hl]
and $F0
Logged_0xBA88:
or e
ld [hl],a
pop hl
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld c,$01
ld a,[hld]
cp $C0
jr c,Logged_0xBAAF
inc c
sub $20
cp $C0
jr c,Logged_0xBAAF
inc c
sub $20
Logged_0xBAAF:
ld d,a
ld a,[hld]
ld e,a
ld a,c
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[de]
or $80
ld [de],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [rSVBK],a
ld a,c
ld [$CCE9],a
ld h,d
ld l,e
call Logged_0x0D3E
pop de
ld c,e
ld d,h
ld e,l
ld a,$19
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [rSVBK],a
ret
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld c,$01
ld a,[hld]
cp $C0
jr c,Logged_0xBB12
inc c
sub $20
cp $C0
jr c,Logged_0xBB12
inc c
sub $20
Logged_0xBB12:
ld d,a
ld a,[hld]
ld e,a
xor a
ld [hl],a
ld a,c
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[de]
or $80
ld [de],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [rSVBK],a
ret
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld c,$01
ld a,[hld]
cp $C0
jr c,Logged_0xBB51
inc c
sub $20
cp $C0
jr c,Logged_0xBB51
inc c
sub $20
Logged_0xBB51:
ld l,[hl]
ld h,a
ld a,c
ld [$CCE9],a
call Logged_0x0D8C
ld a,[$CCEC]
ld [$C08E],a
ld [rRAMB+$100],a
bit 0,b
jr z,Logged_0xBB76
ld a,[hl]
and $0F
ld [hl],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [rSVBK],a
ret
Logged_0xBB76:
ld a,[hl]
and $F0
ld [hl],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [rSVBK],a
ret
Logged_0xBB85:
ld a,[$C1A0]
and a
ret nz
ld b,$01
ld a,[$C19F]
ld e,a
ld d,$00
ld hl,$C18E
add hl,de
ld a,[hli]
and a
ret z
ld l,[hl]
cp $C0
jr c,Logged_0xBBA8
inc b
sub $20
cp $C0
jr c,Logged_0xBBA8
inc b
sub $20
Logged_0xBBA8:
ld h,a
ld a,b
ld [$CCE9],a
ld [$C08E],a
ld [rRAMB+$100],a
push hl
call Logged_0x0C19
ld a,[$CE69]
ld b,a
ld de,$CE6A
ld a,e
add a,b
ld e,a
ld a,h
ld [de],a
inc e
ld a,l
ld [de],a
inc e
ld a,h
ld [de],a
inc e
ld a,l
and $E0
ld c,a
ld a,l
inc a
and $1F
add a,c
ld [de],a
inc e
ld bc,$0020
add hl,bc
ld a,h
and $FB
ld h,a
ld [de],a
inc e
ld a,l
ld [de],a
inc e
ld a,h
ld [de],a
inc e
ld a,l
and $E0
ld c,a
ld a,l
inc a
and $1F
add a,c
ld [de],a
ld a,[$CE69]
add a,$08
ld [$CE69],a
pop hl
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
push de
ld hl,$C600
add hl,de
ld a,[$CE00]
ld e,a
ld d,$CE
ld a,$01
add a,e
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
pop de
ld hl,$D300
add hl,de
ld a,[$CE00]
ld e,a
ld d,$CE
ld a,$35
add a,e
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
ld a,[$CE00]
add a,$04
ld [$CE00],a
ld a,[$C19F]
ld e,a
ld d,$00
ld hl,$C18E
add hl,de
xor a
ld [hli],a
ld [hl],a
ld a,e
add a,$02
and $0F
ld [$C19F],a
pop af
ld [rSVBK],a
ret
Logged_0xBC5E:
ld a,[$CA6A]
and a
ret z
xor a
ld [$CA6A],a
ld a,[$CA6B]
cp $68
jr z,Logged_0xBCD5
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
Logged_0xBC7D:
ld a,[hli]
and $7F
cp $60
jr c,Logged_0xBC8D
cp $68
jr nc,Logged_0xBC8D
dec l
ld a,[hl]
add a,$08
ld [hli],a
Logged_0xBC8D:
ld a,l
cp $A0
jr c,Logged_0xBC7D
ld l,$00
inc h
ld a,h
cp $C0
jr nz,Logged_0xBC7D
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
Logged_0xBCB0:
ld a,[hli]
and $7F
cp $60
jr c,Logged_0xBCC0
cp $68
jr nc,Logged_0xBCC0
dec l
ld a,[hl]
add a,$08
ld [hli],a
Logged_0xBCC0:
ld a,l
cp $A0
jr c,Logged_0xBCB0
ld l,$00
inc h
ld a,h
cp $B0
jr nz,Logged_0xBCB0
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0xBCD5:
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
Logged_0xBCE4:
ld a,[hli]
and $7F
cp $68
jr c,Logged_0xBCF4
cp $70
jr nc,Logged_0xBCF4
dec l
ld a,[hl]
sub $08
ld [hli],a
Logged_0xBCF4:
ld a,l
cp $A0
jr c,Logged_0xBCE4
ld l,$00
inc h
ld a,h
cp $C0
jr nz,Logged_0xBCE4
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
Logged_0xBD17:
ld a,[hli]
and $7F
cp $68
jr c,Logged_0xBD27
cp $70
jr nc,Logged_0xBD27
dec l
ld a,[hl]
sub $08
ld [hli],a
Logged_0xBD27:
ld a,l
cp $A0
jr c,Logged_0xBD17
ld l,$00
inc h
ld a,h
cp $B0
jr nz,Logged_0xBD17
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0xBD3C:
ld a,[$CA3D]
bit 1,a
ret z
ld a,[$CED4]
and a
ret nz
ld a,[$C0E4]
add a,$01
daa
ld [$C0E4],a
cp $60
ret c
xor a
ld [$C0E4],a
ld a,[$C0E3]
add a,$01
daa
ld [$C0E3],a
cp $60
ret c
xor a
ld [$C0E3],a
ld a,[$C0E2]
add a,$01
daa
ld [$C0E2],a
cp $60
ret c
ld a,$59
ld [$C0E2],a
ld [$C0E3],a
ret
Unknown_0xBD7C:
INCBIN "baserom.gbc", $BD7C, $C000 - $BD7C
SECTION "Bank03", ROMX, BANK[$03]
LoggedData_0xC000:
INCBIN "baserom.gbc", $C000, $C880 - $C000
Unknown_0xC880:
INCBIN "baserom.gbc", $C880, $C890 - $C880
LoggedData_0xC890:
INCBIN "baserom.gbc", $C890, $C930 - $C890
Unknown_0xC930:
INCBIN "baserom.gbc", $C930, $C950 - $C930
LoggedData_0xC950:
INCBIN "baserom.gbc", $C950, $C960 - $C950
Unknown_0xC960:
INCBIN "baserom.gbc", $C960, $C980 - $C960
LoggedData_0xC980:
INCBIN "baserom.gbc", $C980, $C9F0 - $C980
call Logged_0xCE3E
ld a,[$CCE1]
add a,a
add a,a
add a,a
add a,a
ld e,a
ld d,$00
ld a,[$CCE1]
inc a
and $03
ld [$CCE1],a
ld hl,$CCA0
add hl,de
ld a,[hl]
and a
jr nz,Logged_0xCA15
ld a,[$CCE0]
inc a
ld [$CCE0],a
Logged_0xCA15:
ld [hl],b
inc l
xor a
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$AA]
ld [hli],a
ld a,[$FF00+$AB]
ld [hli],a
ret
ld a,[$CCE0]
and a
ret z
ld hl,$CCA0
ld a,[hl]
and a
jr z,Logged_0xCA35
call Logged_0xCA54
Logged_0xCA35:
ld hl,$CCB0
ld a,[hl]
and a
jr z,Logged_0xCA3F
call Logged_0xCA54
Logged_0xCA3F:
ld hl,$CCC0
ld a,[hl]
and a
jr z,Logged_0xCA49
call Logged_0xCA54
Logged_0xCA49:
ld hl,$CCD0
ld a,[hl]
and a
jr z,Logged_0xCA53
call Logged_0xCA54
Logged_0xCA53:
ret
Logged_0xCA54:
ld b,h
ld c,l
ld a,[hl]
rst JumpList
dw Unknown_0xCA86
dw Logged_0xCA87
dw Logged_0xCAB8
dw Logged_0xCAE1
dw Logged_0xCB0A
dw Logged_0xCB33
dw Logged_0xCB82
dw Logged_0xCBD1
dw Logged_0xCBFA
dw Logged_0xCC23
dw Logged_0xCC4C
dw Logged_0xCC99
dw Logged_0xCCC2
dw Logged_0xCCEB
dw Logged_0xCD09
dw Logged_0xCD3D
dw Logged_0xCD66
dw Logged_0xCDAF
dw Logged_0xCDF8
dw Unknown_0xCA86
dw Unknown_0xCA86
dw Unknown_0xCA86
dw Unknown_0xCA86
Unknown_0xCA86:
ret
Logged_0xCA87:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCAA3
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
dec c
jr Logged_0xCAA8
Logged_0xCAA3:
inc c
inc c
inc c
inc c
inc c
Logged_0xCAA8:
call Logged_0xCFF6
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCAB8:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCACC
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCAD1
Logged_0xCACC:
inc c
inc c
inc c
inc c
inc c
Logged_0xCAD1:
call Logged_0xD016
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCAE1:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCAF5
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCAFA
Logged_0xCAF5:
inc c
inc c
inc c
inc c
inc c
Logged_0xCAFA:
call Logged_0xD076
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCB0A:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCB1E
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCB23
Logged_0xCB1E:
inc c
inc c
inc c
inc c
inc c
Logged_0xCB23:
call Logged_0xCFD5
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCB33:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCB47
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCB71
Logged_0xCB47:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCB71:
call Logged_0xCFD5
pop bc
ld a,[$CA83]
cp $27
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCB82:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCB96
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCBC0
Logged_0xCB96:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,$0C
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCBC0:
call Logged_0xCFD5
pop bc
ld a,[$CA83]
cp $27
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCBD1:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCBE5
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCBEA
Logged_0xCBE5:
inc c
inc c
inc c
inc c
inc c
Logged_0xCBEA:
call Logged_0xD036
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCBFA:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCC0E
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCC13
Logged_0xCC0E:
inc c
inc c
inc c
inc c
inc c
Logged_0xCC13:
call Logged_0xD056
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCC23:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCC37
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCC3C
Logged_0xCC37:
inc c
inc c
inc c
inc c
inc c
Logged_0xCC3C:
call Logged_0xCE75
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCC4C:
ld a,[$CA83]
cp $92
jr nz,Logged_0xCC92
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCC67
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCC89
Logged_0xCC67:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCC89:
call Logged_0xCF67
pop bc
ld a,[$CCE6]
and a
ret z
Logged_0xCC92:
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCC99:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCCAD
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCCB2
Logged_0xCCAD:
inc c
inc c
inc c
inc c
inc c
Logged_0xCCB2:
call Logged_0xCF46
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCCC2:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCCD6
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCCDB
Logged_0xCCD6:
inc c
inc c
inc c
inc c
inc c
Logged_0xCCDB:
call Logged_0xCFA9
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCCEB:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCCFF
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCD04
Logged_0xCCFF:
inc c
inc c
inc c
inc c
inc c
Logged_0xCD04:
call Logged_0xCF25
pop bc
ret
Logged_0xCD09:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCD1D
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCD2C
Logged_0xCD1D:
inc c
inc c
ld a,[bc]
sub $02
ld [bc],a
dec c
ld a,[bc]
sbc a,$00
ld [bc],a
inc c
inc c
inc c
inc c
Logged_0xCD2C:
call Logged_0xCF04
pop bc
ld a,[$C096]
cp $C0
ret c
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCD3D:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCD51
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCD56
Logged_0xCD51:
inc c
inc c
inc c
inc c
inc c
Logged_0xCD56:
call Logged_0xCF88
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCD66:
ld a,[$CA83]
cp $E5
jr z,Logged_0xCDA8
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCD81
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCDA3
Logged_0xCD81:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCDA3:
call Logged_0xCEA1
pop bc
ret
Logged_0xCDA8:
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCDAF:
ld a,[$CA83]
cp $E5
jr z,Logged_0xCDF1
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCDCA
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCDEC
Logged_0xCDCA:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCDEC:
call Logged_0xCEC2
pop bc
ret
Logged_0xCDF1:
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCDF8:
push bc
inc c
ld a,[bc]
and a
jr nz,Logged_0xCE0C
inc a
ld [bc],a
inc c
inc c
inc c
inc c
inc c
xor a
ld [bc],a
inc c
ld [bc],a
dec c
jr Logged_0xCE2E
Logged_0xCE0C:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
inc c
ld a,[$FF00+$A8]
ld [bc],a
inc c
ld a,[$FF00+$A9]
ld [bc],a
inc c
ld a,[$FF00+$AA]
ld [bc],a
inc c
ld a,[$FF00+$AB]
ld [bc],a
inc c
Logged_0xCE2E:
call Logged_0xCEE3
pop bc
ld a,[$CCE6]
and a
ret z
xor a
ld [bc],a
ld hl,$CCE0
dec [hl]
ret
Logged_0xCE3E:
ld a,h
sub $A0
ld h,a
and $F0
swap a
ld d,a
ld a,[$CCE9]
dec a
add a,a
add a,d
ld [$FF00+$A8],a
ld a,h
and $0F
swap a
add a,$10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
ld a,l
and $F0
swap a
ld [$FF00+$AA],a
ld a,l
and $0F
swap a
add a,$08
ld [$FF00+$AB],a
ld a,[$FF00+$AA]
adc a,$00
ld [$FF00+$AA],a
ret
Logged_0xCE75:
ld h,b
ld l,c
ld a,[$CA69]
and a
jr nz,Logged_0xCE82
ld de,$5502
jr Logged_0xCE85
Logged_0xCE82:
ld de,$550B
Logged_0xCE85:
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jp Logged_0xD094
Logged_0xCEA1:
ld h,b
ld l,c
ld de,$58E7
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$580D
jp Logged_0xD094
Logged_0xCEC2:
ld h,b
ld l,c
ld de,$58F4
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$580D
jp Logged_0xD094
Logged_0xCEE3:
ld h,b
ld l,c
ld de,$5901
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$580D
jp Logged_0xD094
Logged_0xCF04:
ld h,b
ld l,c
ld de,$57B4
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$5763
jp Logged_0xD094
Logged_0xCF25:
ld h,b
ld l,c
ld de,$575A
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$5716
jp Logged_0xD094
Logged_0xCF46:
ld h,b
ld l,c
ld de,$5622
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$55AE
jp Logged_0xD094
Logged_0xCF67:
ld h,b
ld l,c
ld de,$5591
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$5532
jp Logged_0xD094
Logged_0xCF88:
ld h,b
ld l,c
ld de,$5806
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$57BD
jp Logged_0xD094
Logged_0xCFA9:
ld h,b
ld l,c
ld a,[$CA69]
and a
jr nz,Logged_0xCFB6
ld de,$56FD
jr Logged_0xCFB9
Logged_0xCFB6:
ld de,$56E4
Logged_0xCFB9:
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$562B
jp Logged_0xD094
Logged_0xCFD5:
ld h,b
ld l,c
ld de,$54C5
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jp Logged_0xD094
Logged_0xCFF6:
ld h,b
ld l,c
ld de,$549A
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jr Logged_0xD094
Logged_0xD016:
ld h,b
ld l,c
ld de,$5525
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jr Logged_0xD094
Logged_0xD036:
ld h,b
ld l,c
ld de,$54F3
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jr Logged_0xD094
Logged_0xD056:
ld h,b
ld l,c
ld de,$54EA
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
jr Logged_0xD094
Logged_0xD076:
ld h,b
ld l,c
ld de,$54BA
call Logged_0xD0EF
ld a,[hld]
ld [$CCE4],a
dec l
dec l
ld a,[hld]
ld [$CCE3],a
dec l
ld a,[hld]
ld [$CCE2],a
xor a
ld [$CCE5],a
ld hl,$520E
Logged_0xD094:
ld a,[$C0BA]
cp $3C
jr z,Logged_0xD0C5
ld a,[$C083]
ld b,a
ld a,[$CCE2]
add a,$10
sub b
ld [$C096],a
ld a,[$C085]
ld b,a
ld a,[$CCE3]
add a,$08
sub b
ld [$C097],a
ld a,[$CCE4]
ld [$C098],a
ld a,[$CCE5]
ld [$C099],a
call Logged_0x0DF4
ret
Logged_0xD0C5:
ld a,[$CAC5]
ld b,a
ld a,[$CCE2]
add a,$10
sub b
ld [$C096],a
ld a,[$CAC7]
ld b,a
ld a,[$CCE3]
add a,$08
sub b
ld [$C097],a
ld a,[$CCE4]
ld [$C098],a
ld a,[$CCE5]
ld [$C099],a
call Logged_0x0DF4
ret
Logged_0xD0EF:
xor a
ld [$CCE6],a
ld a,[hl]
sub $01
ld [hli],a
jr nc,Logged_0xD10D
ld a,[hli]
add a,e
ld c,a
ld a,d
adc a,$00
ld b,a
ld a,[bc]
cp $FF
jr z,Logged_0xD10F
ld [hld],a
ld a,[hl]
add a,$02
ld [hld],a
inc bc
ld a,[bc]
ld [hli],a
Logged_0xD10D:
inc hl
ret
Logged_0xD10F:
dec hl
xor a
ld [hld],a
ld [hli],a
inc hl
ld a,$01
ld [$CCE6],a
ret
ld a,[$CED4]
and a
ret nz
ld hl,$C0A3
call Logged_0x0BDB
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0xD132
ret
Logged_0xD132:
ld e,$0C
Logged_0xD134:
bit 7,[hl]
jr z,Logged_0xD16D
push hl
call Logged_0x0D8C
ld a,[hl]
bit 0,b
jr z,Logged_0xD143
swap a
Logged_0xD143:
and $0F
ld c,a
pop hl
jr z,Logged_0xD16D
push de
push bc
call Logged_0x0D3E
ld d,h
ld e,l
push hl
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$19
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
pop hl
pop bc
pop de
Logged_0xD16D:
inc h
ld a,h
cp $C0
jr nz,Logged_0xD182
ld h,$A0
ld a,[$CCE9]
inc a
ld [$CCE9],a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0xD182:
dec e
jr nz,Logged_0xD134
ret
ld a,[$CED4]
and a
ret nz
ld hl,$C0A3
call Logged_0x0BDB
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0xD19E
ret
Logged_0xD19E:
ld e,$0D
Logged_0xD1A0:
bit 7,[hl]
jr z,Logged_0xD1D9
push hl
call Logged_0x0D8C
ld a,[hl]
bit 0,b
jr z,Logged_0xD1AF
swap a
Logged_0xD1AF:
and $0F
ld c,a
pop hl
jr z,Logged_0xD1D9
push de
push bc
call Logged_0x0D3E
ld d,h
ld e,l
push hl
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$19
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
pop hl
pop bc
pop de
Logged_0xD1D9:
ld a,b
xor $01
ld b,a
inc l
dec e
jr nz,Logged_0xD1A0
ret
ld hl,$4000
ld de,$8800
ld bc,$0800
call Logged_0x0434
ld a,$26
ld [$FF00+$85],a
ld a,$90
ld [$FF00+$8D],a
ld a,$6A
ld [$FF00+$8E],a
call $FF80
ret
LoggedData_0xD1FE:
INCBIN "baserom.gbc", $D1FE, $D206 - $D1FE
Unknown_0xD206:
INCBIN "baserom.gbc", $D206, $D20E - $D206
LoggedData_0xD20E:
INCBIN "baserom.gbc", $D20E, $D236 - $D20E
Unknown_0xD236:
INCBIN "baserom.gbc", $D236, $D24E - $D236
LoggedData_0xD24E:
INCBIN "baserom.gbc", $D24E, $D26C - $D24E
Unknown_0xD26C:
INCBIN "baserom.gbc", $D26C, $D278 - $D26C
LoggedData_0xD278:
INCBIN "baserom.gbc", $D278, $D34A - $D278
Unknown_0xD34A:
INCBIN "baserom.gbc", $D34A, $D386 - $D34A
LoggedData_0xD386:
INCBIN "baserom.gbc", $D386, $D3F1 - $D386
Unknown_0xD3F1:
INCBIN "baserom.gbc", $D3F1, $D437 - $D3F1
LoggedData_0xD437:
INCBIN "baserom.gbc", $D437, $D4CE - $D437
Unknown_0xD4CE:
INCBIN "baserom.gbc", $D4CE, $D4EA - $D4CE
LoggedData_0xD4EA:
INCBIN "baserom.gbc", $D4EA, $D514 - $D4EA
Unknown_0xD514:
INCBIN "baserom.gbc", $D514, $D525 - $D514
LoggedData_0xD525:
INCBIN "baserom.gbc", $D525, $D912 - $D525
Unknown_0xD912:
INCBIN "baserom.gbc", $D912, $10000 - $D912
SECTION "Bank04", ROMX, BANK[$04]
LoggedData_0x10000:
INCBIN "baserom.gbc", $10000, $10800 - $10000
Unknown_0x10800:
INCBIN "baserom.gbc", $10800, $14000 - $10800
SECTION "Bank05", ROMX, BANK[$05]
LoggedData_0x14000:
INCBIN "baserom.gbc", $14000, $14002 - $14000
Unknown_0x14002:
INCBIN "baserom.gbc", $14002, $14008 - $14002
LoggedData_0x14008:
INCBIN "baserom.gbc", $14008, $1400A - $14008
Unknown_0x1400A:
INCBIN "baserom.gbc", $1400A, $1401C - $1400A
LoggedData_0x1401C:
INCBIN "baserom.gbc", $1401C, $14024 - $1401C
Unknown_0x14024:
INCBIN "baserom.gbc", $14024, $14028 - $14024
LoggedData_0x14028:
INCBIN "baserom.gbc", $14028, $14041 - $14028
Unknown_0x14041:
INCBIN "baserom.gbc", $14041, $1408C - $14041
LoggedData_0x1408C:
INCBIN "baserom.gbc", $1408C, $140A5 - $1408C
Unknown_0x140A5:
INCBIN "baserom.gbc", $140A5, $14186 - $140A5
LoggedData_0x14186:
INCBIN "baserom.gbc", $14186, $141EA - $14186
Unknown_0x141EA:
INCBIN "baserom.gbc", $141EA, $14252 - $141EA
LoggedData_0x14252:
INCBIN "baserom.gbc", $14252, $1427C - $14252
Unknown_0x1427C:
INCBIN "baserom.gbc", $1427C, $1429C - $1427C
LoggedData_0x1429C:
INCBIN "baserom.gbc", $1429C, $142BC - $1429C
Unknown_0x142BC:
INCBIN "baserom.gbc", $142BC, $142DC - $142BC
LoggedData_0x142DC:
INCBIN "baserom.gbc", $142DC, $142E4 - $142DC
Unknown_0x142E4:
INCBIN "baserom.gbc", $142E4, $142E8 - $142E4
LoggedData_0x142E8:
INCBIN "baserom.gbc", $142E8, $143B4 - $142E8
Unknown_0x143B4:
INCBIN "baserom.gbc", $143B4, $14584 - $143B4
LoggedData_0x14584:
INCBIN "baserom.gbc", $14584, $14714 - $14584
Unknown_0x14714:
INCBIN "baserom.gbc", $14714, $148E4 - $14714
LoggedData_0x148E4:
INCBIN "baserom.gbc", $148E4, $14948 - $148E4
Unknown_0x14948:
INCBIN "baserom.gbc", $14948, $14982 - $14948
LoggedData_0x14982:
INCBIN "baserom.gbc", $14982, $149D6 - $14982
Unknown_0x149D6:
INCBIN "baserom.gbc", $149D6, $149FE - $149D6
LoggedData_0x149FE:
INCBIN "baserom.gbc", $149FE, $14A3E - $149FE
Unknown_0x14A3E:
INCBIN "baserom.gbc", $14A3E, $14A6C - $14A3E
LoggedData_0x14A6C:
INCBIN "baserom.gbc", $14A6C, $14A78 - $14A6C
Unknown_0x14A78:
INCBIN "baserom.gbc", $14A78, $14A79 - $14A78
LoggedData_0x14A79:
INCBIN "baserom.gbc", $14A79, $14A7B - $14A79
Unknown_0x14A7B:
INCBIN "baserom.gbc", $14A7B, $14A82 - $14A7B
LoggedData_0x14A82:
INCBIN "baserom.gbc", $14A82, $14CE1 - $14A82
Unknown_0x14CE1:
INCBIN "baserom.gbc", $14CE1, $14CF6 - $14CE1
LoggedData_0x14CF6:
INCBIN "baserom.gbc", $14CF6, $15278 - $14CF6
Unknown_0x15278:
INCBIN "baserom.gbc", $15278, $1527A - $15278
LoggedData_0x1527A:
INCBIN "baserom.gbc", $1527A, $15496 - $1527A
Unknown_0x15496:
INCBIN "baserom.gbc", $15496, $154BB - $15496
LoggedData_0x154BB:
INCBIN "baserom.gbc", $154BB, $15568 - $154BB
Unknown_0x15568:
INCBIN "baserom.gbc", $15568, $15569 - $15568
LoggedData_0x15569:
INCBIN "baserom.gbc", $15569, $155A8 - $15569
Unknown_0x155A8:
INCBIN "baserom.gbc", $155A8, $155AB - $155A8
LoggedData_0x155AB:
INCBIN "baserom.gbc", $155AB, $155B0 - $155AB
Unknown_0x155B0:
INCBIN "baserom.gbc", $155B0, $155BE - $155B0
LoggedData_0x155BE:
INCBIN "baserom.gbc", $155BE, $155E0 - $155BE
Unknown_0x155E0:
INCBIN "baserom.gbc", $155E0, $155EC - $155E0
LoggedData_0x155EC:
INCBIN "baserom.gbc", $155EC, $1571A - $155EC
Unknown_0x1571A:
INCBIN "baserom.gbc", $1571A, $157B8 - $1571A
LoggedData_0x157B8:
INCBIN "baserom.gbc", $157B8, $15903 - $157B8
Unknown_0x15903:
INCBIN "baserom.gbc", $15903, $15924 - $15903
LoggedData_0x15924:
INCBIN "baserom.gbc", $15924, $15985 - $15924
Unknown_0x15985:
INCBIN "baserom.gbc", $15985, $15987 - $15985
LoggedData_0x15987:
INCBIN "baserom.gbc", $15987, $1599F - $15987
Unknown_0x1599F:
INCBIN "baserom.gbc", $1599F, $159AB - $1599F
LoggedData_0x159AB:
INCBIN "baserom.gbc", $159AB, $159B3 - $159AB
Unknown_0x159B3:
INCBIN "baserom.gbc", $159B3, $159B7 - $159B3
LoggedData_0x159B7:
INCBIN "baserom.gbc", $159B7, $159C1 - $159B7
Unknown_0x159C1:
INCBIN "baserom.gbc", $159C1, $159C3 - $159C1
LoggedData_0x159C3:
INCBIN "baserom.gbc", $159C3, $15C27 - $159C3
Unknown_0x15C27:
INCBIN "baserom.gbc", $15C27, $15C40 - $15C27
LoggedData_0x15C40:
INCBIN "baserom.gbc", $15C40, $15D6C - $15C40
Unknown_0x15D6C:
INCBIN "baserom.gbc", $15D6C, $15E02 - $15D6C
LoggedData_0x15E02:
INCBIN "baserom.gbc", $15E02, $15E66 - $15E02
Unknown_0x15E66:
INCBIN "baserom.gbc", $15E66, $15E98 - $15E66
LoggedData_0x15E98:
INCBIN "baserom.gbc", $15E98, $15F21 - $15E98
Unknown_0x15F21:
INCBIN "baserom.gbc", $15F21, $15F3A - $15F21
LoggedData_0x15F3A:
INCBIN "baserom.gbc", $15F3A, $15FDF - $15F3A
Unknown_0x15FDF:
INCBIN "baserom.gbc", $15FDF, $15FF2 - $15FDF
LoggedData_0x15FF2:
INCBIN "baserom.gbc", $15FF2, $16002 - $15FF2
Unknown_0x16002:
INCBIN "baserom.gbc", $16002, $16009 - $16002
LoggedData_0x16009:
INCBIN "baserom.gbc", $16009, $16019 - $16009
Unknown_0x16019:
INCBIN "baserom.gbc", $16019, $1604E - $16019
LoggedData_0x1604E:
INCBIN "baserom.gbc", $1604E, $16060 - $1604E
Unknown_0x16060:
INCBIN "baserom.gbc", $16060, $16063 - $16060
LoggedData_0x16063:
INCBIN "baserom.gbc", $16063, $1642E - $16063
Unknown_0x1642E:
INCBIN "baserom.gbc", $1642E, $1642F - $1642E
LoggedData_0x1642F:
INCBIN "baserom.gbc", $1642F, $16462 - $1642F
Unknown_0x16462:
INCBIN "baserom.gbc", $16462, $16472 - $16462
LoggedData_0x16472:
INCBIN "baserom.gbc", $16472, $1656E - $16472
Unknown_0x1656E:
INCBIN "baserom.gbc", $1656E, $1665E - $1656E
LoggedData_0x1665E:
INCBIN "baserom.gbc", $1665E, $16732 - $1665E
Unknown_0x16732:
INCBIN "baserom.gbc", $16732, $1673C - $16732
LoggedData_0x1673C:
INCBIN "baserom.gbc", $1673C, $16EBB - $1673C
Unknown_0x16EBB:
INCBIN "baserom.gbc", $16EBB, $16EBD - $16EBB
LoggedData_0x16EBD:
INCBIN "baserom.gbc", $16EBD, $1701C - $16EBD
Unknown_0x1701C:
INCBIN "baserom.gbc", $1701C, $17031 - $1701C
LoggedData_0x17031:
INCBIN "baserom.gbc", $17031, $17192 - $17031
Unknown_0x17192:
INCBIN "baserom.gbc", $17192, $17193 - $17192
LoggedData_0x17193:
INCBIN "baserom.gbc", $17193, $171BF - $17193
Unknown_0x171BF:
INCBIN "baserom.gbc", $171BF, $171C0 - $171BF
LoggedData_0x171C0:
INCBIN "baserom.gbc", $171C0, $1781E - $171C0
Unknown_0x1781E:
INCBIN "baserom.gbc", $1781E, $1781F - $1781E
LoggedData_0x1781F:
INCBIN "baserom.gbc", $1781F, $17821 - $1781F
Unknown_0x17821:
INCBIN "baserom.gbc", $17821, $17822 - $17821
LoggedData_0x17822:
INCBIN "baserom.gbc", $17822, $17884 - $17822
Unknown_0x17884:
INCBIN "baserom.gbc", $17884, $17887 - $17884
LoggedData_0x17887:
INCBIN "baserom.gbc", $17887, $17E59 - $17887
Unknown_0x17E59:
INCBIN "baserom.gbc", $17E59, $18000 - $17E59
SECTION "Bank06", ROMX, BANK[$06]
Logged_0x18000:
xor a
ld [$C0DD],a
ld a,[$CCE9]
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
add a,a
ld e,a
ld d,$00
ld hl,$CD00
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
jp hl
Logged_0x18020:
xor a
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld [$C0D8],a
ld [$C0D9],a
ld [$C18D],a
ret
Logged_0x18032:
xor a
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld [$C0D8],a
ld [$C0D9],a
ld a,[$C0DA]
and a
jr z,Logged_0x18058
ld a,[$C189]
and a
jr z,Logged_0x18058
ld a,[$C0D6]
bit 4,a
jr z,Logged_0x18058
xor a
ld [$C18D],a
ret
Logged_0x18058:
ld a,[$FF00+$A9]
and $F0
ld [$FF00+$A9],a
ld a,$01
ld [$C18D],a
ret
Logged_0x18064:
xor a
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld [$C0D8],a
ld [$C0D9],a
ld a,$10
ld [$C18D],a
ret
Unknown_0x18078:
INCBIN "baserom.gbc", $18078, $1808C - $18078
Logged_0x1808C:
xor a
ld [$C08E],a
ld [rRAMB+$100],a
xor a
ld [$C0D8],a
ld [$C0D9],a
xor a
ld [$C18D],a
ret
ld a,[$C0D6]
bit 0,a
jp z,Logged_0x18020
ld a,[$FF00+$A9]
add a,$10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
jr Logged_0x180F7
ld a,[$C0DA]
and a
jr z,Logged_0x180C3
ld a,[$CA83]
cp $08
jp z,Logged_0x18032
Logged_0x180C3:
ld a,[$C0D6]
and $03
jp z,Logged_0x18020
ld a,[$FF00+$A9]
sub $10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
sbc a,$00
ld [$FF00+$A8],a
jr Logged_0x180F7
ld a,[$C0D6]
and $03
jp z,Logged_0x18020
ld a,[$C0D6]
bit 1,a
jr z,Logged_0x180F7
ld a,[$FF00+$A9]
and $0F
ld b,a
ld a,[$FF00+$AB]
and $0F
add a,b
cp $10
jp c,Logged_0x18020
Logged_0x180F7:
ld a,[$FF00+$AB]
and $0F
ld c,a
ld a,$10
sub c
ld c,a
ld a,[$FF00+$A9]
and $F0
add a,c
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
ld a,[$C0D6]
and $03
jr z,Logged_0x18126
ld a,[$C0DA]
and a
jr nz,Logged_0x18121
ld a,$11
ld [$C18C],a
jr Logged_0x18126
Logged_0x18121:
ld a,$11
ld [$C189],a
Logged_0x18126:
jp Logged_0x18064
ld a,[$C0D6]
bit 0,a
jp z,Logged_0x18020
ld a,[$FF00+$A9]
add a,$10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
jr Logged_0x1817C
ld a,[$C0DA]
and a
jr z,Logged_0x1814D
ld a,[$CA83]
cp $08
jp z,Logged_0x18032
Logged_0x1814D:
ld a,[$C0D6]
and $03
jp z,Logged_0x18020
ld a,[$FF00+$A9]
sub $10
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
sbc a,$00
ld [$FF00+$A8],a
jr Logged_0x1817C
ld a,[$C0D6]
and $03
jp z,Logged_0x18020
bit 1,a
jr z,Logged_0x1817C
ld a,[$FF00+$A9]
and $0F
ld b,a
ld a,[$FF00+$AB]
and $0F
cp b
jp nc,Logged_0x18020
Logged_0x1817C:
ld a,[$C0D6]
and $03
jr z,Logged_0x181A9
ld a,[$FF00+$AB]
and $0F
inc a
inc a
ld c,a
ld a,[$FF00+$A9]
and $F0
add a,c
ld [$FF00+$A9],a
ld a,[$FF00+$A8]
adc a,$00
ld [$FF00+$A8],a
ld a,[$C0DA]
and a
jr nz,Logged_0x181A4
ld a,$12
ld [$C18C],a
jr Logged_0x181A9
Logged_0x181A4:
ld a,$12
ld [$C189],a
Logged_0x181A9:
jp Logged_0x18064
Logged_0x181AC:
ld a,$01
ld [$C0DD],a
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,$01
ld [$C0DB],a
jp Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$01
ld [$CEE0],a
jp Logged_0x181AC
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$04
ld [$CEE0],a
jp Logged_0x181AC
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$02
ld [$CEE0],a
jp Logged_0x181AC
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$08
ld [$CEE0],a
jp Logged_0x181AC
Logged_0x18208:
ld a,$01
ld [$C1CA],a
ld a,[$C0D6]
bit 0,a
jr nz,Logged_0x18228
bit 2,a
jr nz,Logged_0x18228
and $B8
jp nz,Logged_0x18020
ld a,[$FF00+$A9]
and $0F
cp $05
jr c,Logged_0x18228
jp Logged_0x18020
Logged_0x18228:
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA83]
cp $8B
jp z,Logged_0x18020
cp $8C
jp z,Logged_0x18020
jp Logged_0x18032
ld a,[$C0D6]
bit 1,a
jr nz,Logged_0x18257
ld a,[$FF00+$A9]
and $0E
jp nz,Logged_0x181AC
ld a,[$C0D6]
and $05
jr nz,Logged_0x1825A
jp Logged_0x181AC
Logged_0x18257:
jp Logged_0x18208
Logged_0x1825A:
ld a,$01
ld [$C0DD],a
jp Logged_0x18032
ld a,[$C0DA]
and a
jp nz,Logged_0x18020
ld a,$01
ld [$C1CA],a
ld a,[$C0D6]
bit 0,a
jp nz,Logged_0x18032
bit 2,a
jp nz,Logged_0x18032
and $B8
jp nz,Logged_0x18020
ld a,[$FF00+$A9]
and $0F
cp $05
jp c,Logged_0x18032
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
and $28
jp z,Logged_0x18032
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
ld [$CA6B],a
xor $08
ld [hl],a
call Logged_0x0E31
ld a,[$CA6A]
xor $01
ld [$CA6A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
ld b,$10
call Logged_0x12B5
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jr nz,Logged_0x182D4
jp Logged_0x18020
Logged_0x182D4:
ld a,$01
ld [$C1C7],a
jp Logged_0x1808C
ld a,[$C0DA]
and a
jp z,Logged_0x18032
jr Logged_0x182EC
ld a,[$C0DA]
and a
jp z,Logged_0x18208
Logged_0x182EC:
ld a,[$C0D6]
bit 7,a
jr nz,Logged_0x182F6
jp Logged_0x18208
Logged_0x182F6:
ld a,$02
ld [$C1C7],a
jp Logged_0x1808C
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,$01
ld [$C1C7],a
ld a,$45
ld [$C0D7],a
jp Logged_0x18020
Unknown_0x1831A:
INCBIN "baserom.gbc", $1831A, $18336 - $1831A
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$CA8C]
and a
jp nz,Logged_0x18020
ld a,[$CA94]
cp $02
jp z,Logged_0x18020
ld a,[$CA83]
cp $15
jp z,Logged_0x18020
cp $16
jp z,Logged_0x18020
ld a,[$CA69]
and a
jr nz,Logged_0x18366
ld a,$01
ld [$CA69],a
jr Logged_0x1836B
Logged_0x18366:
ld a,$00
ld [$CA69],a
Logged_0x1836B:
ld a,[$CA94]
and a
jr nz,Logged_0x18383
ld a,$08
ld [$FF00+$85],a
ld a,$F9
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18020
Logged_0x18383:
cp $01
jr z,Logged_0x1838A
jp Logged_0x18020
Logged_0x1838A:
ld a,$08
ld [$FF00+$85],a
ld a,$EB
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8C]
and a
jp nz,Logged_0x18032
ld a,[$CA94]
cp $02
jp z,Logged_0x18032
ld a,[$CA83]
cp $15
jp z,Logged_0x18032
cp $16
jp z,Logged_0x18032
ld a,[$CA69]
and a
jr nz,Logged_0x183CC
ld a,$01
ld [$CA69],a
jr Logged_0x183D1
Logged_0x183CC:
ld a,$00
ld [$CA69],a
Logged_0x183D1:
ld a,[$CA94]
and a
jr nz,Unknown_0x183E9
ld a,$08
ld [$FF00+$85],a
ld a,$F9
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18032
Unknown_0x183E9:
cp $01
jr z,Unknown_0x183F0
jp Logged_0x18032
Unknown_0x183F0:
ld a,$08
ld [$FF00+$85],a
ld a,$EB
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x181AC
ld a,[$CA8C]
and a
jp nz,Logged_0x181AC
ld a,[$CA83]
cp $10
jp z,Logged_0x181AC
ld a,$08
ld [$FF00+$85],a
ld a,$0D
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
jp Logged_0x181AC
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA83]
cp $00
jr z,Logged_0x1843D
cp $1F
jp nz,Logged_0x18032
Logged_0x1843D:
ld a,[$C0D6]
and $01
jp z,Logged_0x18032
ld a,[$C093]
bit 7,a
jp z,Logged_0x18032
ld a,[$CA64]
and $F0
add a,$18
ld [$CA64],a
ld a,[$CA63]
adc a,$00
ld [$CA63],a
jr Logged_0x1848E
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA83]
cp $00
jr z,Logged_0x18474
cp $1F
jp nz,Logged_0x18032
Logged_0x18474:
ld a,[$C0D6]
and $01
jp z,Logged_0x18032
ld a,[$C093]
bit 7,a
jp z,Logged_0x18032
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
Logged_0x1848E:
ld a,$C1
ld [$C0D7],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$30
ld [$FF00+hSFXIDLow],a
ld a,$17
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA96],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,$4C
ld [$CA81],a
ld a,$F6
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA83]
cp $04
jr z,Logged_0x1850F
cp $21
jp nz,Logged_0x18032
Logged_0x1850F:
ld a,[$C0D6]
and $20
jp z,Logged_0x18032
ld a,[$C093]
bit 6,a
jp z,Logged_0x18032
ld a,[$CA64]
and $F0
add a,$18
ld [$CA64],a
ld a,[$CA63]
adc a,$00
ld [$CA63],a
jr Logged_0x18560
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA83]
cp $04
jr z,Logged_0x18546
cp $21
jp nz,Logged_0x18032
Logged_0x18546:
ld a,[$C0D6]
and $20
jp z,Logged_0x18032
ld a,[$C093]
bit 6,a
jp z,Logged_0x18032
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
Logged_0x18560:
ld a,$C1
ld [$C0D7],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$30
ld [$FF00+hSFXIDLow],a
ld a,$18
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,$4C
ld [$CA81],a
ld a,$F6
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,[$C094]
bit 6,a
jp z,Logged_0x18020
ld a,[$CA83]
cp $00
jr z,Logged_0x185F2
cp $30
jr z,Logged_0x185F2
cp $1F
jp nz,Logged_0x18020
Logged_0x185F2:
ld a,$E2
ld [$C0D7],a
jp Logged_0x18676
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,[$C094]
bit 6,a
jp z,Logged_0x18020
ld a,[$CA83]
cp $00
jr z,Logged_0x1861D
cp $1F
jp nz,Logged_0x18020
Logged_0x1861D:
ld a,$E3
ld [$C0D7],a
jr Logged_0x18676
Unknown_0x18624:
INCBIN "baserom.gbc", $18624, $18676 - $18624
Logged_0x18676:
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E6
ld [$FF00+hSFXIDLow],a
ld a,$2C
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x186DD
ld a,$4D
ld [$CA81],a
ld a,$0B
ld [$CA82],a
jr Logged_0x186E7
Logged_0x186DD:
ld a,$4D
ld [$CA81],a
ld a,$10
ld [$CA82],a
Logged_0x186E7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x181AC
ld a,[$CA8E]
cp $06
jr z,Logged_0x1870B
and a
jp nz,Logged_0x181AC
Logged_0x1870B:
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$01
ld [$C0DB],a
ld a,[$C094]
bit 6,a
jr z,Logged_0x18724
ld a,$66
ld [$C0D7],a
Logged_0x18724:
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x181AC
ld a,[$CA8E]
cp $06
jr z,Logged_0x18739
and a
jp nz,Logged_0x181AC
Logged_0x18739:
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$01
ld [$C0DB],a
ld a,[$C094]
bit 6,a
jr z,Logged_0x18752
ld a,$26
ld [$C0D7],a
Logged_0x18752:
jp Logged_0x18020
Unknown_0x18755:
INCBIN "baserom.gbc", $18755, $1877E - $18755
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C094]
bit 6,a
jp z,Logged_0x18020
ld a,[$CA8E]
and a
jp nz,Logged_0x18020
ld a,[$CA83]
cp $00
jr z,Logged_0x187A4
cp $30
jr z,Logged_0x187A4
cp $1F
jp nz,Logged_0x18020
Logged_0x187A4:
xor a
ld [$CA9A],a
ld a,$05
ld [$CED4],a
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,$44
ld [$C0D7],a
jp Logged_0x18020
Unknown_0x187C7:
INCBIN "baserom.gbc", $187C7, $187DE - $187C7
ld a,[$C0DA]
and a
jp z,Logged_0x181AC
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x181AC
ld a,$44
ld [$C0D7],a
jp Logged_0x181AC
Unknown_0x187F5:
INCBIN "baserom.gbc", $187F5, $1880C - $187F5
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$CA8E]
cp $06
jp nz,Logged_0x18020
call Logged_0x157A
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$CA8E]
cp $48
jr z,Logged_0x1883A
cp $4B
jp nz,Logged_0x18020
call Logged_0x157A
jp Logged_0x18020
Logged_0x1883A:
ld a,$0A
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$5E
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18020
ld a,$01
ld [$C0DD],a
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,$01
ld [$CAA0],a
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$CA8E]
cp $4B
jp nz,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18032
ld a,[$CA64]
and $08
jr nz,Unknown_0x1889E
ld a,[$CA72]
ld b,a
ld a,[$CA64]
and $F0
sub b
ld [$CA64],a
ld a,[$CA63]
sbc a,$00
ld [$CA63],a
jp Logged_0x18032
Unknown_0x1889E:
ld a,[$CA71]
ld b,a
ld a,$10
sub b
ld b,a
ld a,[$CA64]
and $F0
add a,b
ld [$CA64],a
ld a,[$CA63]
adc a,$00
ld [$CA63],a
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18032
jp Logged_0x18020
ld a,$01
ld [$C0DD],a
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jp z,Logged_0x18020
ld a,$02
ld [$C0DB],a
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
and $47
jp nz,Logged_0x18020
ld a,[$CA8C]
and a
jp nz,Logged_0x18020
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x18020
ld a,$C1
ld [$CA8E],a
ld a,$01
ld [$CA8F],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$02
ld [$CA90],a
ld a,$58
ld [$CA91],a
call Logged_0x161A
ld a,$08
ld [$FF00+$85],a
ld a,$CF
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ret
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jr nz,Logged_0x18945
jp Logged_0x18020
Logged_0x18945:
ld a,$01
ld [$C1C8],a
jp Logged_0x1808C
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$C0D6]
bit 7,a
jr nz,Logged_0x1895E
jp Logged_0x18020
Logged_0x1895E:
ld a,[$CA8C]
and a
jp nz,Logged_0x18020
ld a,$01
ld [$C1C9],a
ld a,[$CA8E]
and a
jp nz,Logged_0x18020
ld a,$12
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$50
ld [$FF00+$8E],a
call $FF80
jp Logged_0x18020
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
and $01
jp z,Logged_0x18032
ld a,$01
ld [$C0DE],a
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18208
ld a,[$C0D6]
and $01
jp z,Logged_0x18208
ld a,$01
ld [$C0DE],a
jp Logged_0x18208
ld a,[$C1B4]
cp $07
jr z,Logged_0x189D1
cp $04
jp nc,Logged_0x18020
Logged_0x189D1:
jp Logged_0x18208
ld a,[$C1B4]
cp $03
jp c,Logged_0x18020
jp Logged_0x18208
ld a,[$C0DA]
and a
jp z,Logged_0x18020
ld a,[$CA8E]
cp $42
jp z,Logged_0x18020
jp Logged_0x18032
ld a,[$C0DA]
and a
jp z,Logged_0x18020
jp Logged_0x18208
ld b,$78
jr Logged_0x18A19
ld b,$79
jr Logged_0x18A19
ld b,$7A
jr Logged_0x18A19
ld b,$7B
jr Logged_0x18A19
ld b,$7C
jr Logged_0x18A19
Unknown_0x18A0F:
INCBIN "baserom.gbc", $18A0F, $18A19 - $18A0F
Logged_0x18A19:
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18A36
bit 5,a
jr nz,Logged_0x18A45
bit 3,a
jr nz,Logged_0x18A45
and $42
jr nz,Logged_0x18A5C
jp Logged_0x18032
Logged_0x18A36:
ld a,[$CA89]
and a
jr nz,Logged_0x18A5C
ld a,[$CA9D]
and a
jr nz,Logged_0x18A5C
jp Logged_0x18032
Logged_0x18A45:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18A5C
ld a,[$CA6D]
and a
jr nz,Logged_0x18A5C
jp Logged_0x18032
Logged_0x18A5C:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19690
ld a,[$CA9D]
and a
jp nz,Logged_0x18020
ld a,[$CA8E]
cp $84
jp z,Logged_0x18020
ld a,[$CA96]
and a
jr nz,Unknown_0x18A8F
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
jp Logged_0x18020
Unknown_0x18A8F:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
jp Logged_0x18020
Unknown_0x18A9A:
INCBIN "baserom.gbc", $18A9A, $18AA6 - $18A9A
ld b,$78
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18AD6
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $01
jp c,Logged_0x18032
ld a,$01
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18AD6:
or $01
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18ADE:
INCBIN "baserom.gbc", $18ADE, $18AEA - $18ADE
ld b,$78
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18B17
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $01
jp c,Logged_0x18032
ld a,$03
ld [$CEDA],a
Logged_0x18B17:
or $03
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18B1F:
INCBIN "baserom.gbc", $18B1F, $18B23 - $18B1F
ld b,$7A
jr Logged_0x18B2D
Unknown_0x18B27:
INCBIN "baserom.gbc", $18B27, $18B2B - $18B27
ld b,$78
Logged_0x18B2D:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18B5B
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $01
jp c,Logged_0x18032
ld a,$02
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18B5B:
or $02
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18B63:
INCBIN "baserom.gbc", $18B63, $18B67 - $18B63
ld b,$7A
jr Logged_0x18B71
Unknown_0x18B6B:
INCBIN "baserom.gbc", $18B6B, $18B6F - $18B6B
ld b,$78
Logged_0x18B71:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18B9F
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $01
jp c,Logged_0x18032
ld a,$04
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18B9F:
or $04
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18BA7:
INCBIN "baserom.gbc", $18BA7, $18BB3 - $18BA7
ld b,$78
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18BE3
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $03
jp nz,Logged_0x18032
ld a,$01
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18BE3:
or $01
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18BEB:
INCBIN "baserom.gbc", $18BEB, $18BF7 - $18BEB
ld b,$78
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18C24
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $03
jp nz,Logged_0x18032
ld a,$03
ld [$CEDA],a
Logged_0x18C24:
or $03
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18C2C:
INCBIN "baserom.gbc", $18C2C, $18C30 - $18C2C
ld b,$7A
jr Logged_0x18C3A
Unknown_0x18C34:
INCBIN "baserom.gbc", $18C34, $18C38 - $18C34
ld b,$78
Logged_0x18C3A:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18C68
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $03
jp nz,Logged_0x18032
ld a,$02
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18C68:
or $02
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18C70:
INCBIN "baserom.gbc", $18C70, $18C74 - $18C70
ld b,$7A
jr Logged_0x18C7E
Unknown_0x18C78:
INCBIN "baserom.gbc", $18C78, $18C7C - $18C78
ld b,$78
Logged_0x18C7E:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18CAC
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $50
jp nz,Logged_0x18032
ld a,[$CA8F]
cp $03
jp nz,Logged_0x18032
ld a,$04
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x18CAC:
or $04
ld [$CEDA],a
jp Logged_0x18F32
ld b,$78
jr Logged_0x18CD2
ld b,$79
jr Logged_0x18CD2
ld b,$7A
jr Logged_0x18CD2
ld b,$7B
jr Logged_0x18CD2
ld b,$7C
jr Logged_0x18CD2
ld b,$7D
jr Logged_0x18CD2
ld b,$7E
jr Logged_0x18CD2
ld b,$7F
Logged_0x18CD2:
ld a,[$C0D9]
cp $02
jp z,Logged_0x19423
cp $03
jp z,Logged_0x18020
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18CFC
bit 5,a
jr nz,Logged_0x18D0B
bit 3,a
jr nz,Logged_0x18D0B
and $42
jr nz,Logged_0x18D22
jp Logged_0x18032
Logged_0x18CFC:
ld a,[$CA89]
and a
jr nz,Logged_0x18D22
ld a,[$CA9D]
and a
jr nz,Logged_0x18D22
jp Logged_0x18032
Logged_0x18D0B:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18D22
ld a,[$CA6D]
and a
jr nz,Logged_0x18D22
jp Logged_0x18032
Logged_0x18D22:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
ld a,[$CA9D]
and a
jp nz,Logged_0x18020
ld a,[$CA8E]
cp $84
jp z,Logged_0x18020
ld a,[$CA96]
and a
jr nz,Logged_0x18D55
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
jp Logged_0x18020
Logged_0x18D55:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
jp Logged_0x18020
ld b,$78
jr Logged_0x18D7E
ld b,$79
jr Logged_0x18D7E
ld b,$7A
jr Logged_0x18D7E
ld b,$7B
jr Logged_0x18D7E
ld b,$7C
jr Logged_0x18D7E
ld b,$7D
jr Logged_0x18D7E
ld b,$7E
jr Logged_0x18D7E
ld b,$7F
Logged_0x18D7E:
ld a,[$C0D9]
cp $02
jp z,Logged_0x19423
cp $03
jp z,Logged_0x18020
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jr z,Logged_0x18DB7
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18DCB
bit 5,a
jr nz,Logged_0x18DDA
bit 3,a
jr nz,Logged_0x18DDA
and $42
jr nz,Logged_0x18DC1
jp Logged_0x18032
Logged_0x18DB7:
ld a,[$C0D6]
and $42
jr nz,Logged_0x18DF1
jp Logged_0x18032
Logged_0x18DC1:
ld a,[$CA3C]
cp $06
jr nc,Logged_0x18DF1
jp Logged_0x18032
Logged_0x18DCB:
ld a,[$CA89]
and a
jr nz,Logged_0x18DF1
ld a,[$CA9D]
and a
jr nz,Logged_0x18DF1
jp Logged_0x18032
Logged_0x18DDA:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18DF1
ld a,[$CA6D]
and a
jr nz,Logged_0x18DF1
jp Logged_0x18032
Logged_0x18DF1:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
ld a,[$CA9D]
and a
jp nz,Logged_0x18020
jp Logged_0x18032
ld b,$79
jr Logged_0x18E2C
Unknown_0x18E12:
INCBIN "baserom.gbc", $18E12, $18E1A - $18E12
ld b,$7C
jr Logged_0x18E2C
Unknown_0x18E1E:
INCBIN "baserom.gbc", $18E1E, $18E26 - $18E1E
ld b,$7F
jr Logged_0x18E2C
ld b,$78
Logged_0x18E2C:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18E92
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x18E9A
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18E64
bit 5,a
jr nz,Logged_0x18E73
bit 3,a
jr nz,Logged_0x18E73
and $42
jr nz,Logged_0x18E8A
jp Logged_0x18032
Logged_0x18E64:
ld a,[$CA89]
and a
jr nz,Logged_0x18E8A
ld a,[$CA9D]
and a
jr nz,Logged_0x18E8A
jp Logged_0x18032
Logged_0x18E73:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18E8A
ld a,[$CA6D]
and a
jr nz,Logged_0x18E8A
jp Logged_0x18032
Logged_0x18E8A:
ld a,$01
ld [$CEDA],a
jp Logged_0x19086
Logged_0x18E92:
or $01
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18E9A:
ld a,$01
ld [$CEDA],a
jp Logged_0x18F32
ld b,$79
jr Logged_0x18EC0
Unknown_0x18EA6:
INCBIN "baserom.gbc", $18EA6, $18EAE - $18EA6
ld b,$7C
jr Logged_0x18EC0
Unknown_0x18EB2:
INCBIN "baserom.gbc", $18EB2, $18EBE - $18EB2
ld b,$78
Logged_0x18EC0:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18F26
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x18F2D
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18EF8
bit 5,a
jr nz,Logged_0x18F07
bit 3,a
jr nz,Logged_0x18F07
and $42
jr nz,Logged_0x18F1E
jp Logged_0x18032
Logged_0x18EF8:
ld a,[$CA89]
and a
jr nz,Logged_0x18F1E
ld a,[$CA9D]
and a
jr nz,Logged_0x18F1E
jp Logged_0x18032
Logged_0x18F07:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18F1E
ld a,[$CA6D]
and a
jr nz,Logged_0x18F1E
jp Logged_0x18032
Logged_0x18F1E:
ld a,$03
ld [$CEDA],a
jp Logged_0x19086
Logged_0x18F26:
or $03
ld [$CEDA],a
jr Logged_0x18F32
Unknown_0x18F2D:
ld a,$03
ld [$CEDA],a
Logged_0x18F32:
ld a,[$C08E]
ld [$CEDB],a
ld hl,$CCEA
ld a,[hli]
ld [$CEDC],a
ld d,a
ld a,[hl]
ld [$CEDD],a
ld e,a
ld a,[de]
ld [$CEDF],a
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
jp Logged_0x18020
ld b,$79
jr Logged_0x18F7D
Unknown_0x18F63:
INCBIN "baserom.gbc", $18F63, $18F6B - $18F63
ld b,$7C
jr Logged_0x18F7D
Unknown_0x18F6F:
INCBIN "baserom.gbc", $18F6F, $18F7B - $18F6F
ld b,$78
Logged_0x18F7D:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x18FE3
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x18FEB
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x18FB5
bit 5,a
jr nz,Unknown_0x18FC4
bit 3,a
jr nz,Unknown_0x18FC4
and $42
jr nz,Logged_0x18FDB
jp Logged_0x18032
Logged_0x18FB5:
ld a,[$CA89]
and a
jr nz,Logged_0x18FDB
ld a,[$CA9D]
and a
jr nz,Logged_0x18FDB
jp Logged_0x18032
Unknown_0x18FC4:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x18FDB
ld a,[$CA6D]
and a
jr nz,Logged_0x18FDB
jp Logged_0x18032
Logged_0x18FDB:
ld a,$02
ld [$CEDA],a
jp Logged_0x19086
Logged_0x18FE3:
or $02
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x18FEB:
ld a,$02
ld [$CEDA],a
jp Logged_0x18F32
ld b,$79
jr Logged_0x19011
Unknown_0x18FF7:
INCBIN "baserom.gbc", $18FF7, $18FFF - $18FF7
ld b,$7C
jr Logged_0x19011
Unknown_0x19003:
INCBIN "baserom.gbc", $19003, $19007 - $19003
ld b,$7E
jr Logged_0x19011
Unknown_0x1900B:
INCBIN "baserom.gbc", $1900B, $1900F - $1900B
ld b,$78
Logged_0x19011:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x19076
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x1907E
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x19049
bit 5,a
jr nz,Unknown_0x19058
bit 3,a
jr nz,Unknown_0x19058
and $42
jr nz,Logged_0x1906F
jp Logged_0x18032
Logged_0x19049:
ld a,[$CA89]
and a
jr nz,Logged_0x1906F
ld a,[$CA9D]
and a
jr nz,Logged_0x1906F
jp Logged_0x18032
Unknown_0x19058:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x1906F
ld a,[$CA6D]
and a
jr nz,Logged_0x1906F
jp Logged_0x18032
Logged_0x1906F:
ld a,$04
ld [$CEDA],a
jr Logged_0x19086
Logged_0x19076:
or $04
ld [$CEDA],a
jp Logged_0x18F32
Unknown_0x1907E:
ld a,$04
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x19086:
ld a,[$C08E]
ld [$CEDB],a
ld hl,$CCEA
ld a,[hli]
ld [$CEDC],a
ld d,a
ld a,[hl]
ld [$CEDD],a
ld e,a
ld a,[de]
ld [$CEDF],a
ld a,$01
ld [$CA73],a
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
ld a,[$CA9D]
and a
jp nz,Logged_0x18020
ld a,[$CA8E]
cp $84
jp z,Logged_0x18020
ld a,[$CA96]
and a
jr nz,Logged_0x190D5
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
jp Logged_0x18020
Logged_0x190D5:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
jp Logged_0x18020
Unknown_0x190E0:
INCBIN "baserom.gbc", $190E0, $190E4 - $190E0
ld b,$7A
jr Logged_0x190FE
ld b,$7B
jr Logged_0x190FE
Unknown_0x190EC:
INCBIN "baserom.gbc", $190EC, $190FC - $190EC
ld b,$78
Logged_0x190FE:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18032
ld a,[$CEDA]
and $F8
jr nz,Logged_0x19185
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x1918D
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jr z,Unknown_0x19145
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x1914F
bit 5,a
jr nz,Logged_0x1915E
bit 3,a
jr nz,Logged_0x1915E
and $42
jr nz,Unknown_0x19175
jp Logged_0x18032
Unknown_0x19145:
ld a,[$C0D6]
and $42
jr nz,Logged_0x1917D
jp Logged_0x18032
Logged_0x1914F:
ld a,[$CA89]
and a
jr nz,Logged_0x1917D
ld a,[$CA9D]
and a
jr nz,Unknown_0x19175
jp Logged_0x18032
Logged_0x1915E:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x1917D
ld a,[$CA6D]
and a
jr nz,Logged_0x1917D
jp Logged_0x18032
Unknown_0x19175:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
Logged_0x1917D:
ld a,$01
ld [$CEDA],a
jp Logged_0x193DC
Logged_0x19185:
or $01
ld [$CEDA],a
jp Logged_0x19246
Unknown_0x1918D:
ld a,$01
ld [$CEDA],a
jp Logged_0x19246
Unknown_0x19195:
INCBIN "baserom.gbc", $19195, $19199 - $19195
ld b,$7A
jr Logged_0x191B3
ld b,$7B
jr Logged_0x191B3
Unknown_0x191A1:
INCBIN "baserom.gbc", $191A1, $191B1 - $191A1
ld b,$78
Logged_0x191B3:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18032
ld a,[$CEDA]
and $F8
jr nz,Logged_0x1923A
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x19241
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jr z,Unknown_0x191FA
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x19204
bit 5,a
jr nz,Logged_0x19213
bit 3,a
jr nz,Logged_0x19213
and $42
jr nz,Unknown_0x1922A
jp Logged_0x18032
Unknown_0x191FA:
ld a,[$C0D6]
and $42
jr nz,Logged_0x19232
jp Logged_0x18032
Logged_0x19204:
ld a,[$CA89]
and a
jr nz,Logged_0x19232
ld a,[$CA9D]
and a
jr nz,Logged_0x19232
jp Logged_0x18032
Logged_0x19213:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x19232
ld a,[$CA6D]
and a
jr nz,Logged_0x19232
jp Logged_0x18032
Unknown_0x1922A:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
Logged_0x19232:
ld a,$03
ld [$CEDA],a
jp Logged_0x193DC
Logged_0x1923A:
or $03
ld [$CEDA],a
jr Logged_0x19246
Unknown_0x19241:
ld a,$03
ld [$CEDA],a
Logged_0x19246:
ld a,[$C08E]
ld [$CEDB],a
ld hl,$CCEA
ld a,[hli]
ld [$CEDC],a
ld d,a
ld a,[hl]
ld [$CEDD],a
ld e,a
ld a,[de]
ld [$CEDF],a
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
jp Logged_0x18020
Unknown_0x19273:
INCBIN "baserom.gbc", $19273, $19277 - $19273
ld b,$7A
jr Logged_0x19291
ld b,$7B
jr Logged_0x19291
Unknown_0x1927F:
INCBIN "baserom.gbc", $1927F, $1928F - $1927F
ld b,$78
Logged_0x19291:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18032
ld a,[$CEDA]
and $F8
jr nz,Logged_0x19318
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x19320
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jr z,Unknown_0x192D8
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Logged_0x192E2
bit 5,a
jr nz,Unknown_0x192F1
bit 3,a
jr nz,Unknown_0x192F1
and $42
jr nz,Logged_0x19308
jp Logged_0x18032
Unknown_0x192D8:
ld a,[$C0D6]
and $42
jr nz,Logged_0x19310
jp Logged_0x18032
Logged_0x192E2:
ld a,[$CA89]
and a
jr nz,Logged_0x19310
ld a,[$CA9D]
and a
jr nz,Logged_0x19310
jp Logged_0x18032
Unknown_0x192F1:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x19310
ld a,[$CA6D]
and a
jr nz,Logged_0x19310
jp Logged_0x18032
Logged_0x19308:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
Logged_0x19310:
ld a,$02
ld [$CEDA],a
jp Logged_0x193DC
Logged_0x19318:
or $02
ld [$CEDA],a
jp Logged_0x19246
Unknown_0x19320:
ld a,$02
ld [$CEDA],a
jp Logged_0x19246
Unknown_0x19328:
INCBIN "baserom.gbc", $19328, $1932C - $19328
ld b,$7A
jr Logged_0x19346
ld b,$7B
jr Logged_0x19346
Unknown_0x19334:
INCBIN "baserom.gbc", $19334, $19344 - $19334
ld b,$78
Logged_0x19346:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18032
ld a,[$CEDA]
and $F8
jr nz,Logged_0x193CC
ld a,[$C0D9]
cp $03
jp z,Logged_0x18020
cp $02
jr z,Unknown_0x193D4
ld a,[$C0D8]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jr z,Unknown_0x1938D
ld a,[$CA3C]
cp $05
jp c,Logged_0x18032
ld a,[$C0D6]
bit 4,a
jr nz,Unknown_0x19397
bit 5,a
jr nz,Unknown_0x193A6
bit 3,a
jr nz,Unknown_0x193A6
and $42
jr nz,Logged_0x193BD
jp Logged_0x18032
Unknown_0x1938D:
ld a,[$C0D6]
and $42
jr nz,Logged_0x193C5
jp Logged_0x18032
Unknown_0x19397:
ld a,[$CA89]
and a
jr nz,Logged_0x193C5
ld a,[$CA9D]
and a
jr nz,Logged_0x193C5
jp Logged_0x18032
Unknown_0x193A6:
ld a,[$CA3C]
cp $03
jp c,Logged_0x18032
ld a,[$CA74]
and a
jr nz,Logged_0x193C5
ld a,[$CA6D]
and a
jr nz,Logged_0x193C5
jp Logged_0x18032
Logged_0x193BD:
ld a,[$CA3C]
cp $06
jp c,Logged_0x18032
Logged_0x193C5:
ld a,$04
ld [$CEDA],a
jr Logged_0x193DC
Logged_0x193CC:
or $04
ld [$CEDA],a
jp Logged_0x19246
Unknown_0x193D4:
ld a,$04
ld [$CEDA],a
jp Logged_0x19246
Logged_0x193DC:
ld a,[$C08E]
ld [$CEDB],a
ld hl,$CCEA
ld a,[hli]
ld [$CEDC],a
ld d,a
ld a,[hl]
ld [$CEDD],a
ld e,a
ld a,[de]
ld [$CEDF],a
ld a,$01
ld [$CA73],a
jp Logged_0x18DF1
ld b,$78
jr Logged_0x19419
ld b,$79
jr Logged_0x19419
ld b,$7A
jr Logged_0x19419
ld b,$7B
jr Logged_0x19419
ld b,$7C
jr Logged_0x19419
ld b,$7D
jr Logged_0x19419
Unknown_0x19413:
INCBIN "baserom.gbc", $19413, $19419 - $19413
Logged_0x19419:
ld a,[$C0D9]
cp $01
jr z,Logged_0x19423
jp Logged_0x18032
Logged_0x19423:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E2B
pop hl
ld a,[$D100]
bit 1,a
jr z,Logged_0x19440
call Logged_0x19609
jp Logged_0x18020
Logged_0x19440:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
jp Logged_0x18020
ld b,$78
jr Logged_0x19469
ld b,$79
jr Logged_0x19469
ld b,$7A
jr Logged_0x19469
ld b,$7B
jr Logged_0x19469
Unknown_0x1945B:
INCBIN "baserom.gbc", $1945B, $1945F - $1945B
ld b,$7D
jr Logged_0x19469
ld b,$7E
jr Logged_0x19469
Unknown_0x19467:
INCBIN "baserom.gbc", $19467, $19469 - $19467
Logged_0x19469:
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $C1
jr nz,Logged_0x1947E
ld a,[$CA8F]
cp $02
jr nc,Logged_0x19481
Logged_0x1947E:
jp Logged_0x18032
Logged_0x19481:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
jp Logged_0x18020
ld b,$78
jr Logged_0x194B5
ld b,$79
jr Logged_0x194B5
ld b,$7A
jr Logged_0x194B5
ld b,$7B
jr Logged_0x194B5
Unknown_0x194A7:
INCBIN "baserom.gbc", $194A7, $194B5 - $194A7
Logged_0x194B5:
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $84
jp nz,Logged_0x18032
ld a,[$C0D6]
and $42
jr nz,Logged_0x194CE
jp Logged_0x18032
Logged_0x194CE:
ld hl,$CCEA
ld a,[hli]
ld l,[hl]
ld h,a
ld a,[hl]
and $80
or b
ld [hl],a
push hl
call Logged_0x0E31
pop hl
call Logged_0x19609
jp Logged_0x18032
Unknown_0x194E4:
INCBIN "baserom.gbc", $194E4, $19518 - $194E4
ld b,$7A
jr Logged_0x19522
Unknown_0x1951C:
INCBIN "baserom.gbc", $1951C, $19520 - $1951C
ld b,$78
Logged_0x19522:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x1954A
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $C3
jr z,Logged_0x19542
jp Logged_0x18032
Logged_0x19542:
ld a,$01
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x1954A:
or $01
ld [$CEDA],a
jp Logged_0x18F32
ld b,$79
jr Logged_0x19560
ld b,$7A
jr Logged_0x19560
Unknown_0x1955A:
INCBIN "baserom.gbc", $1955A, $1955E - $1955A
ld b,$78
Logged_0x19560:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x19585
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $C3
jr z,Logged_0x19580
jp Logged_0x18032
Logged_0x19580:
ld a,$03
ld [$CEDA],a
Logged_0x19585:
or $03
ld [$CEDA],a
jp Logged_0x18F32
ld b,$79
jr Logged_0x1959B
Unknown_0x19591:
INCBIN "baserom.gbc", $19591, $19599 - $19591
ld b,$78
Logged_0x1959B:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x195C3
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $C3
jr z,Unknown_0x195BB
jp Logged_0x18032
Unknown_0x195BB:
ld a,$02
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x195C3:
or $02
ld [$CEDA],a
jp Logged_0x18F32
ld b,$79
jr Logged_0x195D9
Unknown_0x195CF:
INCBIN "baserom.gbc", $195CF, $195D7 - $195CF
ld b,$78
Logged_0x195D9:
ld a,[$CEDA]
and $07
jp nz,Logged_0x18020
ld a,[$CEDA]
and $F8
jr nz,Logged_0x19601
ld a,[$C0DA]
and a
jp z,Logged_0x18032
ld a,[$CA8E]
cp $C3
jr z,Unknown_0x195F9
jp Logged_0x18032
Unknown_0x195F9:
ld a,$04
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x19601:
or $04
ld [$CEDA],a
jp Logged_0x18F32
Logged_0x19609:
ld a,[$FF00+$A8]
ld [$FF00+$AD],a
ld a,[$FF00+$A9]
ld [$FF00+$AE],a
ld a,[$FF00+$AA]
ld [$FF00+$AF],a
ld a,[$FF00+$AB]
ld [$FF00+$B0],a
ld b,$01
ld a,$03
ld [$FF00+$85],a
ld a,$F0
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,[rDIV]
and $03
jr nz,Logged_0x1967F
ld a,[$CAC2]
and a
jr nz,Logged_0x1967F
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$64
ld [$CAC2],a
ld hl,$D101
ld de,$FFA0
ld b,$06
call MemCopy_DE_HL
ld hl,$D101
xor a
ld [hli],a
ld [hli],a
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$FF00+$AB]
ld [hli],a
ld a,[$FF00+$AA]
ld [hli],a
ld bc,$4E5A
ld a,$19
ld [$FF00+$85],a
ld a,$8A
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ld hl,$FFA0
ld de,$D101
ld b,$06
call MemCopy_DE_HL
pop af
ld [rSVBK],a
Logged_0x1967F:
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
ret
Logged_0x19690:
ld a,[$FF00+$A8]
ld [$FF00+$AD],a
ld a,[$FF00+$A9]
ld [$FF00+$AE],a
ld a,[$FF00+$AA]
ld [$FF00+$AF],a
ld a,[$FF00+$AB]
ld [$FF00+$B0],a
ld b,$01
ld a,$03
ld [$FF00+$85],a
ld a,$F0
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D101
ld de,$FFA0
ld b,$06
call MemCopy_DE_HL
ld hl,$D101
xor a
ld [hli],a
ld [hli],a
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$FF00+$AB]
ld [hli],a
ld a,[$FF00+$AA]
ld [hli],a
ld bc,$4E6D
ld a,$19
ld [$FF00+$85],a
ld a,$8A
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ld hl,$FFA0
ld de,$D101
ld b,$06
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
ret
ld a,$01
ld [$C0DA],a
call Logged_0x19741
xor a
ld [$C0DA],a
ret
ld a,$01
ld [$C0DA],a
call Logged_0x197B1
xor a
ld [$C0DA],a
ret
ld a,$01
ld [$C0DA],a
call Logged_0x199E9
xor a
ld [$C0DA],a
ld a,b
and a
jp nz,Logged_0x14F6
jp Logged_0x14DE
ld a,$01
ld [$C0D8],a
ld a,[$CA69]
and a
jr z,Logged_0x197B6
jr Logged_0x19746
Logged_0x19741:
ld a,$01
ld [$C0D8],a
Logged_0x19746:
ld a,[$CA8E]
cp $42
jr z,Logged_0x19774
ld a,[$CA72]
sub $01
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[$CA70]
cpl
inc a
add a,$07
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x19799
Logged_0x19774:
ld a,[$CA72]
sub $01
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[$CA70]
cpl
inc a
add a,$01
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x19799:
ld a,[$FF00+$A9]
and $F0
ld [$C0DC],a
call Logged_0x19BC3
and $0F
jp z,Logged_0x19832
ld a,[$CA89]
and a
jp nz,Logged_0x19823
ld a,b
ret
Logged_0x197B1:
ld a,$01
ld [$C0D8],a
Logged_0x197B6:
ld a,[$CA8E]
cp $42
jr z,Logged_0x197E6
ld a,[$CA71]
cpl
inc a
sub $01
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[$CA70]
cpl
inc a
add a,$07
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x1980D
Logged_0x197E6:
ld a,[$CA71]
cpl
inc a
sub $01
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[$CA70]
cpl
inc a
add a,$01
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x1980D:
ld a,[$FF00+$A9]
and $F0
ld [$C0DC],a
call Logged_0x19BC3
and $0F
jr z,Logged_0x19832
ld a,[$CA89]
and a
jr nz,Logged_0x19823
ld a,b
ret
Logged_0x19823:
ld a,$01
ld [$C0D8],a
call Logged_0x19BD3
ld a,$01
ld [$C18D],a
ld b,a
ret
Logged_0x19832:
ld a,[$CA8B]
and a
jp nz,Logged_0x198C1
ld a,[$CA6F]
ld b,a
ld a,[$CA62]
add a,b
add a,$02
and $F0
ld b,a
ld a,[$C0DC]
cp b
jp z,Logged_0x198C1
ld a,$01
ld [$C0D8],a
call Logged_0x19BD3
and $0F
ret z
ld a,[$CA74]
and a
jp nz,Logged_0x198C0
ld a,[$CA89]
and a
jr nz,Logged_0x198C0
ld a,[$C0DB]
and a
jr nz,Logged_0x198C0
ld a,[$CA8B]
and a
jr nz,Logged_0x198C0
ld a,[$CAC9]
and a
jr nz,Logged_0x198C0
ld a,[$CA8E]
and a
jr nz,Logged_0x198C0
ld a,[$CAA0]
and a
jr nz,Logged_0x198C0
ld a,[$C093]
bit 4,a
jr nz,Logged_0x198AA
bit 5,a
jr nz,Logged_0x19894
ld a,[$CA69]
and a
jr nz,Logged_0x198AA
Logged_0x19894:
ld b,$02
call Logged_0x1270
ld a,$07
ld [$FF00+$85],a
ld a,$55
ld [$FF00+$8D],a
ld a,$68
ld [$FF00+$8E],a
call $FF80
jr Logged_0x198C1
Logged_0x198AA:
ld b,$02
call Logged_0x1259
ld a,$07
ld [$FF00+$85],a
ld a,$55
ld [$FF00+$8D],a
ld a,$68
ld [$FF00+$8E],a
call $FF80
jr Logged_0x198C1
Logged_0x198C0:
ret
Logged_0x198C1:
xor a
ld [$C18D],a
ld b,a
ret
Logged_0x198C7:
xor a
ld [$C189],a
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
call Logged_0x19B51
ret
ld a,$01
ld [$CED3],a
call Logged_0x198C7
and a
ret nz
xor a
ld [$CED3],a
ld a,[$CA71]
cpl
inc a
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19B8B
and a
ret nz
ld a,[$CA72]
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19B8B
and a
ret nz
ld a,[$CAC9]
and a
ret z
ld b,a
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$01
ret
Logged_0x19942:
ld a,[$CA8E]
cp $07
jr z,Logged_0x1994E
ld a,$01
ld [$C0D8],a
Logged_0x1994E:
ld a,[$CA6F]
cpl
inc a
add a,$02
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
call Logged_0x19BEB
ret
ld a,$01
ld [$CED2],a
call Logged_0x19942
and a
ret nz
xor a
ld [$CED2],a
ld a,[$CA8E]
cp $07
jr z,Logged_0x19988
ld a,$01
ld [$C0D8],a
Logged_0x19988:
ld a,[$CA71]
cpl
inc a
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[$CA6F]
cpl
inc a
add a,$02
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
call Logged_0x19B9B
and a
ret nz
ld a,[$CA8E]
cp $07
jr z,Logged_0x199C0
ld a,$01
ld [$C0D8],a
Logged_0x199C0:
ld a,[$CA72]
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[$CA6F]
cpl
inc a
add a,$02
ld c,a
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
call Logged_0x19B9B
ret
Logged_0x199E9:
call Logged_0x19A53
and a
ret nz
ld a,[$CA96]
and a
jr z,Logged_0x199F9
ld a,$01
ld [$C0D8],a
Logged_0x199F9:
ld a,[$CA71]
cpl
inc a
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19BFB
and a
ret nz
ld a,[$CAC9]
and a
jr z,Logged_0x19A22
ld b,a
ret
Logged_0x19A22:
ld a,[$CA96]
and a
jr z,Logged_0x19A2D
ld a,$01
ld [$C0D8],a
Logged_0x19A2D:
ld a,[$CA72]
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19BFB
and a
ret nz
ld a,[$CAC9]
and a
ret z
ld b,a
ret
Logged_0x19A53:
xor a
ld [$C189],a
ld a,[$CA96]
and a
jr z,Logged_0x19A62
ld a,$01
ld [$C0D8],a
Logged_0x19A62:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
call Logged_0x19B7B
ret
xor a
ld [$C1CA],a
ld a,[$CA71]
cpl
inc a
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub c
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19B3A
and a
jr z,Logged_0x19AA2
ld a,[$C1CA]
and a
ret z
Logged_0x19AA2:
xor a
ld [$C1CA],a
ld a,[$CA72]
sub $03
ld c,a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,c
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hl]
ld [de],a
call Logged_0x19B3A
and a
jr z,Logged_0x19AC7
ret
Logged_0x19AC7:
ld a,$01
ld [$C1CA],a
ret
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x19B3A
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $1A
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x19B3A
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $18
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x19B3A
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jr Logged_0x19B3A
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $04
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x19B3A:
xor a
ld [$C0DB],a
ld [$C1C7],a
ld [$C0D7],a
ld [$CAA0],a
ld [$C1C8],a
ld [$C1C9],a
call Logged_0x19C0B
ret
Logged_0x19B51:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$01
ld [$C0D6],a
Logged_0x19B5C:
call Logged_0x18000
ld b,a
ret
Logged_0x19B61:
call Logged_0x19B71
ld a,[hl]
inc a
ret z
jr Logged_0x19B5C
Logged_0x19B69:
call Logged_0x19B76
ld a,[hl]
and a
ret z
jr Logged_0x19B5C
Logged_0x19B71:
ld hl,$CCEB
dec [hl]
ret
Logged_0x19B76:
ld hl,$CCEB
inc [hl]
ret
Logged_0x19B7B:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$02
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
Logged_0x19B8B:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$04
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
Logged_0x19B9B:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$08
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
Unknown_0x19BAB:
INCBIN "baserom.gbc", $19BAB, $19BC3 - $19BAB
Logged_0x19BC3:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$10
ld [$C0D6],a
Logged_0x19BCE:
call Logged_0x18000
ld b,a
ret
Logged_0x19BD3:
ld hl,$CCEA
dec [hl]
ld a,[hl]
cp $9F
jr nz,Logged_0x19BE6
ld a,[$CCE9]
dec a
ld [$CCE9],a
ld a,$BF
ld [hl],a
Logged_0x19BE6:
ld a,[hli]
ld l,[hl]
ld h,a
jr Logged_0x19BCE
Logged_0x19BEB:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$20
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
Logged_0x19BFB:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$40
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
Logged_0x19C0B:
ld hl,$FFA8
call Logged_0x0BDB
ld a,$80
ld [$C0D6],a
call Logged_0x18000
ld b,a
ret
ld a,[$CA83]
sub $30
rst JumpList
dw Logged_0x19CE7
dw Logged_0x19EF1
dw Logged_0x1A046
dw Logged_0x1A077
dw Unknown_0x1A0B4
dw Logged_0x1A17E
dw Logged_0x1A1C5
dw Unknown_0x1A296
dw Unknown_0x1A2D6
dw Unknown_0x1A394
dw Logged_0x1A436
dw Logged_0x1A51D
dw Logged_0x1A55C
dw Logged_0x1A617
dw Logged_0x1A6B6
dw Logged_0x1A7D6
dw Logged_0x1A89E
dw Logged_0x1A8FF
dw Logged_0x1A980
dw Logged_0x1A9E9
dw Logged_0x1AA5C
dw Logged_0x1AAC9
dw Logged_0x1AB44
dw Logged_0x1A8FF
dw Logged_0x1A980
dw Logged_0x1ABB1
dw Logged_0x1ABF4
dw Unknown_0x1AC73
dw Logged_0x1AD7D
dw Logged_0x1ADFB
dw Logged_0x1AED0
dw Logged_0x1AF98
dw Logged_0x1B00F
dw Logged_0x1B0A9
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
ld a,$30
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA89],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
ld [$CA85],a
and a
jr nz,Logged_0x19CCD
ld a,$42
ld [$CA81],a
ld a,$52
ld [$CA82],a
jr Logged_0x19CD7
Logged_0x19CCD:
ld a,$42
ld [$CA81],a
ld a,$5F
ld [$CA82],a
Logged_0x19CD7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19CE7:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA85]
cp $04
jp nc,Logged_0x19DB6
cp $02
jr nc,Logged_0x19D62
ld b,a
ld a,[$C093]
and $30
jp z,Logged_0x19DB6
rlca
rlca
rlca
and $01
cp b
jp nz,Logged_0x19DB6
xor $01
add a,$02
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA85]
and $01
jr nz,Logged_0x19D56
ld a,$4C
ld [$CA81],a
ld a,$BE
ld [$CA82],a
jr Logged_0x19DAF
Logged_0x19D56:
ld a,$4C
ld [$CA81],a
ld a,$C5
ld [$CA82],a
jr Logged_0x19DAF
Logged_0x19D62:
ld b,a
ld a,[$C1A8]
and a
jr z,Logged_0x19DB6
ld a,b
add a,$02
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA85]
and $01
jr nz,Logged_0x19DA3
ld a,$49
ld [$CA81],a
ld a,$B4
ld [$CA82],a
jr Logged_0x19DAF
Logged_0x19DA3:
ld a,$49
ld [$CA81],a
ld a,$C5
ld [$CA82],a
jr Logged_0x19DAF
Logged_0x19DAF:
xor a
ld [$CA67],a
ld [$CA68],a
Logged_0x19DB6:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr z,Logged_0x19DDC
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19DDC:
ld a,[$C093]
bit 7,a
jr z,Logged_0x19DE6
jp Logged_0x19E89
Logged_0x19DE6:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $30
ret nz
ld a,b
and a
jr nz,Logged_0x19E0F
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19E0F:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $30
ret nz
ld a,b
and a
jr nz,Logged_0x19E67
call Logged_0x1700
jr z,Logged_0x19E67
ld hl,$CA84
inc [hl]
ld a,[hl]
ld a,[hl]
cp $08
jr c,Logged_0x19E4D
cp $0F
jr c,Logged_0x19E57
cp $15
jr c,Logged_0x19E51
jr z,Logged_0x19E67
ret
Logged_0x19E4D:
ld b,$02
jr Logged_0x19E59
Logged_0x19E51:
ld a,[$C08F]
and $01
ret z
Logged_0x19E57:
ld b,$01
Logged_0x19E59:
ld a,[$CA69]
and a
jr nz,Logged_0x19E63
call Logged_0x1270
ret
Logged_0x19E63:
call Logged_0x1259
ret
Logged_0x19E67:
ld a,[$CA85]
and $01
ld [$CA69],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
xor a
ld [$CA84],a
ld a,[$CA69]
ld [$CA85],a
Logged_0x19E89:
ld a,$31
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA89],a
ld [$CA9A],a
inc a
ld [$CA8B],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA85]
cp $01
jr z,Logged_0x19ED7
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x19EE1
Logged_0x19ED7:
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
Logged_0x19EE1:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19EF1:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C094]
bit 0,a
jr z,Logged_0x19F1E
ld a,$07
ld [$FF00+$85],a
ld a,$3F
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19F1E:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $31
ret nz
ld a,b
and a
jr nz,Logged_0x19F47
ld a,$07
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x19F47:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $31
ret nz
ld a,b
and a
jr nz,Logged_0x19F9E
call Logged_0x1700
jr z,Logged_0x19F9E
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $06
jr c,Logged_0x19F84
cp $0A
jr c,Logged_0x19F8E
cp $0E
jr c,Logged_0x19F88
jr nc,Logged_0x19F9E
ret
Logged_0x19F84:
ld b,$02
jr Logged_0x19F90
Logged_0x19F88:
ld a,[$C08F]
and $01
ret z
Logged_0x19F8E:
ld b,$01
Logged_0x19F90:
ld a,[$CA69]
and a
jr nz,Logged_0x19F9A
call Logged_0x1270
ret
Logged_0x19F9A:
call Logged_0x1259
ret
Logged_0x19F9E:
ld a,[$CA85]
and $01
ld [$CA69],a
ld a,$07
ld [$FF00+$85],a
ld a,$55
ld [$FF00+$8D],a
ld a,$68
ld [$FF00+$8E],a
call $FF80
ret
ld a,$32
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA89],a
ld [$CA9A],a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ld [$CA8B],a
ld [$CA9D],a
inc a
ld [$CA9B],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1A02C
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x1A036
Logged_0x1A02C:
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
Logged_0x1A036:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A046:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9B]
and a
ret nz
ld a,[$CA06]
cp $C8
jr z,Logged_0x1A071
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A071:
ld a,$06
ld [$CED4],a
ret
Logged_0x1A077:
ld a,$01
ld [$CA8A],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0x1A0AB
cp $B4
ret c
ld [hl],$00
ld a,$15
ld [$CA83],a
ld a,$01
ld [$CA8C],a
ld hl,$C0D7
res 7,[hl]
jp Logged_0x11F6
Logged_0x1A0AB:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$82
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x1A0B4:
ld a,$01
ld [$CA8A],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $11
jr z,Logged_0x1A0AB
cp $B4
ret c
ld [hl],$00
ld a,$10
ld [$CA83],a
ld a,$01
ld [$CA8C],a
ld hl,$C0D7
res 7,[hl]
jp Logged_0x11F6
Logged_0x1A0E8:
xor a
ld [$CA9A],a
ld a,$35
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA89],a
ld [$CA9D],a
ld [$CA6D],a
ld [$CA8B],a
ld [$C0E0],a
ld hl,$4800
call Logged_0x1AF6
Logged_0x1A12A:
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
Logged_0x1A14B:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1A164
ld a,$5F
ld [$CA81],a
ld a,$94
ld [$CA82],a
jr Logged_0x1A16E
Logged_0x1A164:
ld a,$5F
ld [$CA81],a
ld a,$97
ld [$CA82],a
Logged_0x1A16E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A17E:
call Logged_0x1B2C0
ld a,[$CA83]
cp $35
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Unknown_0x1A236
Logged_0x1A1A7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
ld a,$36
ld [$CA83],a
xor a
ld [$CA75],a
ld [$CA84],a
ld [$CA85],a
inc a
ld [$CA74],a
jp Logged_0x1A12A
Logged_0x1A1C5:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CAA0]
and a
jr nz,Logged_0x1A1EA
ld a,$07
ld [$FF00+$85],a
ld a,$89
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A1EA:
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $04
jr c,Logged_0x1A208
ld a,$00
ld [$CA86],a
Logged_0x1A208:
ld a,[$CA95]
and a
jr z,Logged_0x1A211
call Logged_0x1A14B
Logged_0x1A211:
ld a,[$C093]
bit 0,a
jp z,Logged_0x1A0E8
ld a,[$CA75]
cp $18
jp nc,Logged_0x1A0E8
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
jp Logged_0x1A0E8
Unknown_0x1A236:
ld a,$37
ld [$CA83],a
xor a
ld [$CA75],a
ld [$CA74],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Unknown_0x1A27C
ld a,$42
ld [$CA81],a
ld a,$52
ld [$CA82],a
jr Unknown_0x1A286
Unknown_0x1A27C:
ld a,$42
ld [$CA81],a
ld a,$5F
ld [$CA82],a
Unknown_0x1A286:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1A296:
call Unknown_0x1B322
ret
Unknown_0x1A29A:
xor a
ld [$CA86],a
ld a,$38
ld [$CA83],a
ld a,[$C093]
bit 4,a
jr nz,Unknown_0x1A2B0
bit 5,a
jr nz,Unknown_0x1A2B7
jr Unknown_0x1A2BC
Unknown_0x1A2B0:
ld a,$01
ld [$CA69],a
jr Unknown_0x1A2BC
Unknown_0x1A2B7:
ld a,$00
ld [$CA69],a
Unknown_0x1A2BC:
xor a
ld [$CEED],a
ld [$CA75],a
ld [$CA74],a
ld a,$07
ld [$FF00+$85],a
ld a,$EA
ld [$FF00+$8D],a
ld a,$66
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1A2D6:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Unknown_0x1A2ED
ld a,$24
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
Unknown_0x1A2ED:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Unknown_0x1B333
ld a,[$CA83]
cp $38
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1A0E8
ret
Unknown_0x1A330:
ld a,$39
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Unknown_0x1A37A
ld a,$4C
ld [$CA81],a
ld a,$BE
ld [$CA82],a
jr Unknown_0x1A384
Unknown_0x1A37A:
ld a,$4C
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Unknown_0x1A384:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1A394:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1A1A7
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$C093]
and $30
jp nz,Unknown_0x1A29A
jp Unknown_0x1A236
Logged_0x1A3BB:
ld a,$3A
ld [$CA83],a
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA75],a
ld [$CA74],a
ld [$CA99],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$04
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$55
ld [$CA7F],a
ld a,$CC
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$58
ld [$CA81],a
ld a,$D6
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A436:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1A463
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$38
ld [$FF00+hSFXIDLow],a
Logged_0x1A463:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr z,Logged_0x1A49A
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$04
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
Logged_0x1A49A:
call Logged_0x1B3A0
ret
Logged_0x1A49E:
ld a,$3B
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA99],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$04
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$55
ld [$CA7F],a
ld a,$CC
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1A511
ld a,$59
ld [$CA81],a
ld a,$00
ld [$CA82],a
Logged_0x1A501:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A511:
ld a,$58
ld [$CA81],a
ld a,$FD
ld [$CA82],a
jr Logged_0x1A501
Logged_0x1A51D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C1C7]
and a
jr nz,Logged_0x1A549
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A549:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1B480
ret
Logged_0x1A55C:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C1C7]
and a
jr nz,Logged_0x1A588
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A588:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld b,$02
call Logged_0x1287
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1A5B3
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x1A5B3
jr c,Logged_0x1A5B3
call Logged_0x11AE
Logged_0x1A5B3:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1A5E1
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A5E1:
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $40
ret c
ld [hl],$00
jp Logged_0x1A49E
Logged_0x1A5EE:
ld a,$3D
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
inc a
ld [$CA99],a
ld [$CA8A],a
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1A611
ld a,$00
ld [$CA69],a
ret
Logged_0x1A611:
ld a,$01
ld [$CA69],a
ret
Logged_0x1A617:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1A62E
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$38
ld [$FF00+hSFXIDLow],a
Logged_0x1A62E:
ld a,[$CA69]
and a
jr nz,Logged_0x1A63B
ld b,$01
call Logged_0x1270
jr Logged_0x1A640
Logged_0x1A63B:
ld b,$01
call Logged_0x1259
Logged_0x1A640:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C7]
and a
ret nz
xor a
ld [$CA99],a
ld [$CA8A],a
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A66B:
ld a,$3E
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0C
ld [$FF00+hSFXIDLow],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA99],a
inc a
ld [$CA74],a
ld a,[$CA3C]
cp $01
jr c,Logged_0x1A695
ld a,$01
ld [$CA96],a
Logged_0x1A695:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$59
ld [$CA81],a
ld a,$45
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A6B6:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C1C7]
and a
jr nz,Logged_0x1A6E6
xor a
ld [$CA96],a
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A6E6:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
bit 6,a
jp nz,Logged_0x1A3BB
ld b,$02
call Logged_0x1287
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1A719
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x1A719
jr c,Logged_0x1A719
call Logged_0x11AE
Logged_0x1A719:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA96]
and a
jr z,Logged_0x1A753
ld a,[$CA3C]
cp $06
jr c,Logged_0x1A763
ld a,$07
ld [$FF00+$85],a
ld a,$FD
ld [$FF00+$8D],a
ld a,$45
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A753:
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A763:
ld a,$07
ld [$FF00+$85],a
ld a,$6B
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
ld a,$3F
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA89],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1A7BC
ld a,$4A
ld [$CA81],a
ld a,$20
ld [$CA82],a
jr Logged_0x1A7C6
Logged_0x1A7BC:
ld a,$4A
ld [$CA81],a
ld a,$23
ld [$CA82],a
Logged_0x1A7C6:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A7D6:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA9A]
and a
jr nz,Logged_0x1A802
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A802:
ld a,[$C094]
bit 0,a
jr z,Logged_0x1A819
ld a,$07
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A819:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $3F
ret nz
ld a,b
and a
jr nz,Logged_0x1A842
ld a,$07
ld [$FF00+$85],a
ld a,$D3
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A842:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $3F
ret nz
ld a,b
and a
jr nz,Unknown_0x1A88E
call Logged_0x1700
jr z,Unknown_0x1A88E
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $08
jr c,Logged_0x1A874
cp $0F
jr c,Unknown_0x1A87E
cp $15
jr c,Unknown_0x1A878
jr z,Unknown_0x1A88E
ret
Logged_0x1A874:
ld b,$02
jr Logged_0x1A880
Unknown_0x1A878:
ld a,[$C08F]
and $01
ret z
Unknown_0x1A87E:
ld b,$01
Logged_0x1A880:
ld a,[$CA69]
and a
jr nz,Logged_0x1A88A
call Logged_0x1270
ret
Logged_0x1A88A:
call Logged_0x1259
ret
Unknown_0x1A88E:
ld a,$07
ld [$FF00+$85],a
ld a,$E7
ld [$FF00+$8D],a
ld a,$6F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A89E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA74]
and a
jr z,Logged_0x1A8DA
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
xor a
ld [$CA74],a
ld [$CA75],a
Logged_0x1A8DA:
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $30
ret c
ld a,$18
ld [$CA84],a
Logged_0x1A8E7:
ld hl,$CA83
inc [hl]
xor a
ld [$CA85],a
ld a,$07
ld [$FF00+$85],a
ld a,$EA
ld [$FF00+$8D],a
ld a,$66
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A8FF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA69]
and a
jr nz,Logged_0x1A91B
ld b,$01
call Logged_0x1270
jr Logged_0x1A920
Logged_0x1A91B:
ld b,$01
call Logged_0x1259
Logged_0x1A920:
ld hl,$CA84
dec [hl]
ret nz
ld hl,$CA83
inc [hl]
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$43
ld [$CA7F],a
ld a,$1B
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1A966
ld a,$44
ld [$CA81],a
ld a,$6A
ld [$CA82],a
jr Logged_0x1A970
Logged_0x1A966:
ld a,$44
ld [$CA81],a
ld a,$61
ld [$CA82],a
Logged_0x1A970:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A980:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$CA83]
cp $48
jp z,Logged_0x1AB64
ld a,$43
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$0B
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,$42
ld [$CA81],a
ld a,$AB
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1A9E9:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$44
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$43
ld [$CA7F],a
ld a,$1B
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1AA42
ld a,$44
ld [$CA81],a
ld a,$46
ld [$CA82],a
jr Logged_0x1AA4C
Logged_0x1AA42:
ld a,$44
ld [$CA81],a
ld a,$39
ld [$CA82],a
Logged_0x1AA4C:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AA5C:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$45
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3E
ld [$FF00+hSFXIDLow],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld a,$0B
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$42
ld [$CA81],a
ld a,$C4
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AAC9:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$46
ld [$CA83],a
call Logged_0x1B4F
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$43
ld [$CA7F],a
ld a,$1B
ld [$CA80],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x1AB2A
ld a,$44
ld [$CA81],a
ld a,$5A
ld [$CA82],a
jr Logged_0x1AB34
Logged_0x1AB2A:
ld a,$44
ld [$CA81],a
ld a,$53
ld [$CA82],a
Logged_0x1AB34:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AB44:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$20
ld [$CA84],a
xor a
ld [$CA9B],a
jp Logged_0x1A8E7
Logged_0x1AB64:
ld a,$49
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$0B
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,$43
ld [$CA81],a
ld a,$0D
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ABB1:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$4A
ld [$CA83],a
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0D
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
xor a
ld [$CA84],a
ld [$CA85],a
ret
Logged_0x1ABF4:
ld hl,$CA84
ld a,[$C093]
bit 0,a
jr nz,Logged_0x1AC03
inc [hl]
ld a,[hl]
cp $B4
ret c
Logged_0x1AC03:
ld a,[$CCE6]
and a
ret z
ld [hl],$00
ld hl,$CED4
res 7,[hl]
ret
Unknown_0x1AC10:
INCBIN "baserom.gbc", $1AC10, $1AC73 - $1AC10
Unknown_0x1AC73:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA84]
dec a
jr z,Unknown_0x1ACD0
dec a
jp z,Unknown_0x1AD0C
ld a,[$C1A8]
and a
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$36
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$CA84
inc [hl]
ld a,[$CA69]
and a
jr nz,Unknown_0x1ACB6
ld a,$42
ld [$CA81],a
ld a,$2E
ld [$CA82],a
jr Unknown_0x1ACC0
Unknown_0x1ACB6:
ld a,$42
ld [$CA81],a
ld a,$37
ld [$CA82],a
Unknown_0x1ACC0:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1ACD0:
ld a,[$C1A8]
and a
jr z,Unknown_0x1ACDE
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$36
ld [$FF00+hSFXIDLow],a
Unknown_0x1ACDE:
ld a,[$C093]
and a
ret z
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$CA84
inc [hl]
ld a,[$CA69]
and a
jr nz,Unknown_0x1AD00
ld a,$42
ld [$CA81],a
ld a,$40
ld [$CA82],a
jr Unknown_0x1ACC0
Unknown_0x1AD00:
ld a,$42
ld [$CA81],a
ld a,$49
ld [$CA82],a
jr Unknown_0x1ACC0
Unknown_0x1AD0C:
ld a,[$C1A8]
and a
ret z
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AD21:
ld a,$4C
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld [$CA99],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1AD63
ld a,$59
ld [$CA81],a
ld a,$03
ld [$CA82],a
jr Logged_0x1AD6D
Logged_0x1AD63:
ld a,$59
ld [$CA81],a
ld a,$24
ld [$CA82],a
Logged_0x1AD6D:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AD7D:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
and a
jr nz,Logged_0x1AD97
ld a,[$C1A8]
and a
ret z
Logged_0x1AD97:
jp Logged_0x1A49E
ld a,$4D
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld a,$03
ld [$CA9B],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ADE1
ld a,$4D
ld [$CA81],a
ld a,$0B
ld [$CA82],a
jr Logged_0x1ADEB
Logged_0x1ADE1:
ld a,$4D
ld [$CA81],a
ld a,$10
ld [$CA82],a
Logged_0x1ADEB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ADFB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA84]
and a
jr nz,Logged_0x1AE3A
ld a,[$C1A8]
and a
jr z,Logged_0x1AE3A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4D
ld [$CA81],a
ld a,$15
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
Logged_0x1AE3A:
ld a,[$CA74]
and a
jr z,Logged_0x1AE67
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
xor a
ld [$CA74],a
ld [$CA75],a
Logged_0x1AE67:
ret
Logged_0x1AE68:
ld a,$4E
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$04
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$55
ld [$CA7F],a
ld a,$CC
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$58
ld [$CA81],a
ld a,$D6
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AED0:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1AEE7
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$38
ld [$FF00+hSFXIDLow],a
Logged_0x1AEE7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr z,Logged_0x1AF1E
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$04
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
Logged_0x1AF1E:
call Logged_0x1B168
ret
Logged_0x1AF22:
ld a,$4F
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$04
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$55
ld [$CA7F],a
ld a,$CC
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1AF7E
ld a,$59
ld [$CA81],a
ld a,$00
ld [$CA82],a
jr Logged_0x1AF88
Logged_0x1AF7E:
ld a,$58
ld [$CA81],a
ld a,$FD
ld [$CA82],a
Logged_0x1AF88:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1AF98:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1B21A
ret
Logged_0x1AFAB:
ld a,$50
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1AFF5
bit 5,a
jr nz,Logged_0x1AFE9
ld a,[$CA69]
and a
jr nz,Logged_0x1AFF5
Logged_0x1AFE9:
ld a,$58
ld [$CA81],a
ld a,$F2
ld [$CA82],a
jr Logged_0x1AFFF
Logged_0x1AFF5:
ld a,$58
ld [$CA81],a
ld a,$E7
ld [$CA82],a
Logged_0x1AFFF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B00F:
ld a,$06
ld [$FF00+$85],a
ld a,$FB
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C8]
and a
jr nz,Logged_0x1B034
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B034:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1B04B
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$38
ld [$FF00+hSFXIDLow],a
Logged_0x1B04B:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1B24F
ret
Logged_0x1B05E:
ld a,$51
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0C
ld [$FF00+hSFXIDLow],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA99],a
inc a
ld [$CA74],a
ld a,[$CA3C]
cp $01
jr c,Logged_0x1B088
ld a,$01
ld [$CA96],a
Logged_0x1B088:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$59
ld [$CA81],a
ld a,$45
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B0A9:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C1C8]
and a
jr nz,Logged_0x1B0D9
xor a
ld [$CA96],a
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B0D9:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
bit 6,a
jr z,Logged_0x1B0F2
jp Logged_0x1AE68
Logged_0x1B0F2:
ld b,$02
call Logged_0x1287
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1B10E
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x1B10E
jr c,Logged_0x1B10E
call Logged_0x11AE
Logged_0x1B10E:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA96]
and a
jr z,Unknown_0x1B148
ld a,[$CA3C]
cp $06
jr c,Unknown_0x1B158
ld a,$07
ld [$FF00+$85],a
ld a,$FD
ld [$FF00+$8D],a
ld a,$45
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1B148:
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1B158:
ld a,$07
ld [$FF00+$85],a
ld a,$6B
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B168:
ld a,[$C093]
and $82
cp $82
jp z,Logged_0x1B05E
ld a,[$CA77]
and a
jr nz,Logged_0x1B18F
ld a,[$C093]
bit 0,a
jr z,Logged_0x1B18F
Logged_0x1B17F:
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B18F:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1B17F
ld a,[$C093]
bit 6,a
jr nz,Logged_0x1B1A9
bit 7,a
jr nz,Logged_0x1B1C3
and $30
jp nz,Logged_0x1AFAB
jp Logged_0x1AF22
Logged_0x1B1A9:
ld a,$06
ld [$FF00+$85],a
ld a,$E4
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C8]
and a
ret z
ld b,$01
call Logged_0x129E
ret
Logged_0x1B1C3:
ld b,$01
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1B1FF
ld a,$06
ld [$FF00+$85],a
ld a,$FB
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C8]
and a
ret nz
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B1FF:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B21A:
ld a,[$CA77]
and a
jr nz,Logged_0x1B237
ld a,[$C093]
bit 0,a
jr z,Logged_0x1B237
Logged_0x1B227:
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B237:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1B227
ld a,[$C093]
and $C0
jp nz,Logged_0x1AE68
ld a,[$C093]
and $30
jp nz,Logged_0x1AFAB
ret
Logged_0x1B24F:
ld a,[$CA77]
and a
jr nz,Logged_0x1B26C
ld a,[$C093]
bit 0,a
jr z,Logged_0x1B26C
Logged_0x1B25C:
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B26C:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1B25C
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1B286
bit 5,a
jr nz,Logged_0x1B2A3
and $C0
jp nz,Logged_0x1AE68
jp Logged_0x1AF22
Logged_0x1B286:
ld a,$01
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x1B2A3:
ld a,$00
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x1B2C0:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1A1A7
call Logged_0x1B302
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,$0A
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $04
jr c,Logged_0x1B2F8
ld a,$00
ld [$CA86],a
Logged_0x1B2F8:
ld a,[$CA95]
and a
jr z,Logged_0x1B301
call Logged_0x1A14B
Logged_0x1B301:
ret
Logged_0x1B302:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
ld a,[$C093]
bit 7,a
jr z,Logged_0x1B31E
inc b
Logged_0x1B31E:
call Logged_0x1287
ret
Unknown_0x1B322:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1A1A7
ld a,[$C093]
and $30
jp nz,Unknown_0x1A29A
ret
Unknown_0x1B333:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1A1A7
ld a,[$C093]
bit 4,a
jr nz,Unknown_0x1B349
bit 5,a
jr nz,Unknown_0x1B37A
jp Unknown_0x1A236
Unknown_0x1B349:
ld a,[$CA69]
and a
jp z,Unknown_0x1A330
ld a,$01
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x151E
call Logged_0x1259
Unknown_0x1B36D:
ld a,[$CA86]
cp $04
jr c,Unknown_0x1B379
ld a,$00
ld [$CA86],a
Unknown_0x1B379:
ret
Unknown_0x1B37A:
ld a,[$CA69]
and a
jp nz,Unknown_0x1A330
ld a,$00
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x153F
call Logged_0x1270
jr Unknown_0x1B36D
Logged_0x1B3A0:
ld a,[$C093]
and $82
cp $82
jp z,Logged_0x1A66B
ld a,[$C093]
bit 6,a
jr nz,Logged_0x1B3B8
bit 7,a
jr nz,Logged_0x1B40F
jp Logged_0x1A49E
Logged_0x1B3B8:
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CED2]
and a
ret nz
ld b,$01
call Logged_0x129E
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1B3E6
call Logged_0x114E
ld a,[$CA78]
sub c
jr nc,Logged_0x1B3E6
jp Logged_0x11D6
Logged_0x1B3E6:
ld a,[$C1C7]
and a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C7]
and a
ret nz
Logged_0x1B3FF:
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B40F:
ld b,$01
call Logged_0x1287
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1B42B
call Logged_0x114E
ld a,[$CA78]
sub c
jr z,Logged_0x1B42B
jr c,Logged_0x1B42B
jp Logged_0x11AE
Logged_0x1B42B:
ld a,$06
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C7]
and a
jr z,Logged_0x1B45D
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
ret
Logged_0x1B45D:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1B3FF
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1B480:
ld a,[$C093]
bit 1,a
jr z,Logged_0x1B48E
ld a,[$C093]
and $30
jr nz,Logged_0x1B4A7
Logged_0x1B48E:
ld a,[$C093]
and $C0
jp nz,Logged_0x1A3BB
ld hl,$CA84
ld a,[hl]
add a,$01
ld [hli],a
ld a,[hl]
adc a,$00
ld [hl],a
cp $02
ret c
jp Logged_0x1AD21
Logged_0x1B4A7:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1B4D3
ld a,$F0
ld [$CA71],a
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1B4EB
Logged_0x1B4C6:
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
jp Logged_0x1A5EE
Logged_0x1B4D3:
ld a,$10
ld [$CA72],a
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1B4C6
Logged_0x1B4EB:
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ret
Unknown_0x1B4F6:
INCBIN "baserom.gbc", $1B4F6, $1C000 - $1B4F6
SECTION "Bank07", ROMX, BANK[$07]
ld hl,$CAC2
ld a,[hl]
and a
jr z,Logged_0x1C008
dec [hl]
Logged_0x1C008:
call Logged_0x1F6DC
call Logged_0x1F64A
ld a,[$CA83]
cp $30
jr c,Logged_0x1C04D
cp $60
jr c,Logged_0x1C03D
cp $B0
jr c,Logged_0x1C02D
ld a,$7B
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C02D:
ld a,$0A
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C03D:
ld a,$06
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$5C
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C04D:
rst JumpList
dw Logged_0x1C0B6
dw Logged_0x1C1AB
dw Logged_0x1C244
dw Unknown_0x156D
dw Logged_0x1C369
dw Logged_0x1C6ED
dw Logged_0x1C7C3
dw Logged_0x1C8DF
dw Logged_0x1CBB9
dw Logged_0x1CCAF
dw Logged_0x1CE42
dw Logged_0x1CF53
dw Logged_0x1D008
dw Logged_0x1D0BA
dw Logged_0x1D297
dw Logged_0x1D354
dw Logged_0x1D395
dw Unknown_0x1D455
dw Logged_0x1D46D
dw Logged_0x1D4A7
dw Logged_0x1D522
dw Logged_0x1D627
dw Logged_0x1D766
dw Logged_0x1D7C1
dw Logged_0x1D80D
dw Logged_0x1D85C
dw Logged_0x1D8F8
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1D916
dw Logged_0x1D943
dw Logged_0x1D995
dw Logged_0x1DA4F
dw Logged_0x1DCFC
dw Logged_0x1DD7F
dw Logged_0x1DE88
dw Logged_0x1DEAA
dw Logged_0x1DECC
dw Logged_0x1DFD4
dw Logged_0x1E09D
dw Logged_0x1E1E9
dw Logged_0x1E2C5
dw Logged_0x1E347
dw Logged_0x1E3E8
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
Logged_0x1C0B6:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $00
ret nz
ld a,b
and a
jp z,Logged_0x1C2AE
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA83]
cp $00
ret nz
ld a,[$C093]
bit 7,a
jr z,Logged_0x1C115
ld a,$06
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $00
ret nz
ld a,[$C1C7]
cp $02
jp nz,Logged_0x1E855
ld a,$06
ld [$FF00+$85],a
ld a,$BB
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C115:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C1C7]
and a
jr z,Logged_0x1C157
ld a,[$C093]
bit 6,a
jr z,Logged_0x1C157
ld a,$06
ld [$FF00+$85],a
ld a,$BB
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C157:
ld a,[$C1C8]
and a
jr z,Logged_0x1C174
ld a,[$C093]
bit 6,a
jr z,Logged_0x1C174
ld a,$06
ld [$FF00+$85],a
ld a,$68
ld [$FF00+$8D],a
ld a,$6E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C174:
ld a,[$CA83]
cp $00
ret nz
call Logged_0x1E68A
ld a,[$CA83]
cp $00
ret nz
ld a,[$CAC9]
and a
ret nz
ld a,[$CA84]
add a,$01
ld [$CA84],a
ld a,[$CA85]
adc a,$00
ld [$CA85],a
cp $07
ret c
ld a,$06
ld [$FF00+$85],a
ld a,$10
ld [$FF00+$8D],a
ld a,$6C
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C1AB:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1C1C2
ld a,$24
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
Logged_0x1C1C2:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr z,Logged_0x1C1F9
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$04
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
Logged_0x1C1F9:
call Logged_0x1E8ED
ld a,[$CA83]
cp $01
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $01
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $01
ret nz
ld a,b
and a
jp z,Logged_0x1C2AE
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1C244:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1C2B9
bit 1,a
jp nz,Logged_0x1E7AB
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$C093]
and $30
jp nz,Logged_0x1E6B5
jp Logged_0x1E99B
Logged_0x1C270:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$CA75],a
ld a,$01
ld [$CA77],a
ld a,$01
ld [$CA76],a
jr Logged_0x1C2CD
xor a
ld [$CA75],a
ld a,$01
ld [$CA77],a
ld a,$01
ld [$CA76],a
ld a,[$CA3C]
cp $07
ld a,$01
jr c,Logged_0x1C2A9
ld hl,$C093
bit 6,[hl]
jr z,Logged_0x1C2A9
ld a,$02
Logged_0x1C2A9:
ld [$CA74],a
jr Logged_0x1C2E2
Logged_0x1C2AE:
xor a
ld [$CA77],a
Logged_0x1C2B2:
ld a,$18
ld [$CA75],a
jr Logged_0x1C2CD
Logged_0x1C2B9:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld [$CA96],a
ld a,$01
ld [$CA77],a
Logged_0x1C2CD:
ld a,[$CA3C]
cp $07
ld a,$02
jr c,Logged_0x1C2DF
ld hl,$C093
bit 6,[hl]
jr z,Logged_0x1C2DF
ld a,$03
Logged_0x1C2DF:
ld [$CA74],a
Logged_0x1C2E2:
xor a
ld [$C189],a
ld a,$04
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA8B],a
ld [$CA89],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C345
ld a,$5F
ld [$CA81],a
ld a,$94
ld [$CA82],a
jr Logged_0x1C34F
Logged_0x1C345:
ld a,$5F
ld [$CA81],a
ld a,$97
ld [$CA82],a
Logged_0x1C34F:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
ld b,$02
call Logged_0x129E
ret
Logged_0x1C369:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA75]
cp $18
jr c,Logged_0x1C3F2
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1C3A3
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C3A3:
ld a,[$C1C7]
and a
jr z,Logged_0x1C3C0
ld a,[$C093]
bit 6,a
jr z,Logged_0x1C3C0
ld a,$06
ld [$FF00+$85],a
ld a,$BB
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C3C0:
ld a,[$CA83]
cp $04
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$FB
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C8]
and a
jr z,Logged_0x1C3F2
ld a,[$C093]
bit 6,a
jr z,Logged_0x1C3F2
ld a,$06
ld [$FF00+$85],a
ld a,$68
ld [$FF00+$8D],a
ld a,$6E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C3F2:
ld a,[$CA83]
cp $04
ret nz
call Logged_0x1F077
ld a,[$CA83]
cp $04
ret nz
ld a,[$CA3C]
cp $01
jr c,Logged_0x1C43D
ld a,[$CA96]
and a
jr nz,Logged_0x1C430
ld a,[$CA75]
cp $18
jr c,Logged_0x1C43D
ld a,[$C093]
bit 7,a
jr z,Logged_0x1C43D
ld a,$01
ld [$CA96],a
Logged_0x1C421:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C48D
jr Logged_0x1C46E
Logged_0x1C430:
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1C43D
xor a
ld [$CA96],a
jr Logged_0x1C449
Logged_0x1C43D:
ld a,[$CA95]
and a
jr z,Logged_0x1C4AA
ld a,[$CA96]
and a
jr nz,Logged_0x1C421
Logged_0x1C449:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C462
ld a,$5F
ld [$CA81],a
ld a,$94
ld [$CA82],a
jr Logged_0x1C4AA
Logged_0x1C462:
ld a,$5F
ld [$CA81],a
ld a,$97
ld [$CA82],a
jr Logged_0x1C4AA
Logged_0x1C46E:
ld a,[$CA3C]
cp $06
jr nc,Logged_0x1C481
ld a,$5F
ld [$CA81],a
ld a,$8E
ld [$CA82],a
jr Logged_0x1C4AA
Logged_0x1C481:
ld a,$60
ld [$CA81],a
ld a,$4E
ld [$CA82],a
jr Logged_0x1C4AA
Logged_0x1C48D:
ld a,[$CA3C]
cp $06
jr nc,Logged_0x1C4A0
ld a,$5F
ld [$CA81],a
ld a,$91
ld [$CA82],a
jr Logged_0x1C4AA
Logged_0x1C4A0:
ld a,$60
ld [$CA81],a
ld a,$55
ld [$CA82],a
Logged_0x1C4AA:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA75]
cp $18
jr nc,Logged_0x1C4EA
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $04
ret nz
ld a,[$CED2]
and a
jp nz,Logged_0x1C2B2
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
ret
Logged_0x1C4EA:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $04
ret nz
ld a,b
and a
jr nz,Logged_0x1C506
jp Logged_0x14DE
Logged_0x1C506:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$04
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,[$CA75]
cp $27
jr c,Logged_0x1C541
ld a,[$C093]
and $30
jr z,Logged_0x1C58A
Logged_0x1C541:
call Logged_0x1501
xor a
ld [$CA75],a
ld [$CA74],a
ld a,[$CA96]
and a
jr z,Logged_0x1C55C
ld a,[$CA3C]
cp $06
jp c,Logged_0x1C66B
jp Logged_0x1C5FD
Logged_0x1C55C:
ld a,[$C093]
and $80
jp nz,Logged_0x1E855
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1C57F
jp Logged_0x1E855
Logged_0x1C57F:
ld a,[$C093]
and $30
jp nz,Logged_0x1E6B9
jp Logged_0x1E99B
Logged_0x1C58A:
call Logged_0x1501
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA67],a
ld [$CA68],a
ld [$CA86],a
ld a,[$CA96]
and a
jr z,Logged_0x1C5AD
ld a,[$CA3C]
cp $06
jp c,Logged_0x1C66B
jr Logged_0x1C5FD
Logged_0x1C5AD:
ld a,[$C093]
and $80
jp nz,Logged_0x1E855
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
ld a,$05
ld [$CA83],a
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C5E3
ld a,$5F
ld [$CA81],a
ld a,$9A
ld [$CA82],a
jr Logged_0x1C5ED
Logged_0x1C5E3:
ld a,$5F
ld [$CA81],a
ld a,$A1
ld [$CA82],a
Logged_0x1C5ED:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C5FD:
ld a,[$CA97]
and a
jr nz,Logged_0x1C60D
ld a,$20
ld [$CA97],a
ld a,$01
ld [$CA98],a
Logged_0x1C60D:
ld a,[$C1AA]
and a
jr nz,Logged_0x1C61B
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$02
ld [$FF00+hSFXIDLow],a
Logged_0x1C61B:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C650
ld a,$5F
ld [$CA81],a
ld a,$B8
ld [$CA82],a
jr Logged_0x1C65A
Logged_0x1C650:
ld a,$5F
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1C65A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jr Logged_0x1C6C1
Logged_0x1C66B:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$33
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1C6A8
ld a,$5F
ld [$CA81],a
ld a,$F2
ld [$CA82],a
jr Logged_0x1C6B2
Logged_0x1C6A8:
ld a,$60
ld [$CA81],a
ld a,$09
ld [$CA82],a
Logged_0x1C6B2:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1C6C1:
ld a,$81
ld [$CA96],a
ld a,$1A
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ret
Logged_0x1C6ED:
ld a,[$C094]
and $30
jr nz,Logged_0x1C70A
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr nz,Logged_0x1C70D
ret
Logged_0x1C70A:
jp Logged_0x1E6B5
Logged_0x1C70D:
ld a,[$CA77]
and a
jr nz,Logged_0x1C71A
ld a,[$C093]
bit 0,a
jr nz,Logged_0x1C72C
Logged_0x1C71A:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1C72C
ld a,[$C093]
bit 7,a
jp nz,Logged_0x1E855
jp Logged_0x1E99B
Logged_0x1C72C:
call Logged_0x1C2B9
ld a,[$CA3C]
cp $07
ret c
ld a,$03
ld [$CA74],a
ret
Logged_0x1C73B:
xor a
ld [$CEED],a
ld [$CA89],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0C
ld [$FF00+hSFXIDLow],a
ld a,$06
ld [$CA83],a
ld a,$01
ld [$CA8B],a
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA69]
cp $01
jr z,Logged_0x1C7B7
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
Logged_0x1C7A7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C7B7:
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
jr Logged_0x1C7A7
Logged_0x1C7C3:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $06
ret nz
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1C885
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $06
ret nz
ld a,b
and a
jp z,Logged_0x1ED34
ld a,[$C189]
and a
jr z,Logged_0x1C815
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x1DEF1
Logged_0x1C815:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $06
ret nz
ld a,b
and a
jp nz,Logged_0x1C8B1
ld hl,$CA84
inc [hl]
ld a,[$CA3C]
cp $05
jr nc,Logged_0x1C84B
ld a,[hl]
cp $14
jr c,Logged_0x1C85B
cp $24
jr c,Logged_0x1C86B
cp $28
jr c,Logged_0x1C875
jp z,Logged_0x1C8B1
ret
Logged_0x1C84B:
ld a,[hl]
cp $1E
jr c,Logged_0x1C85B
cp $36
jr c,Logged_0x1C86B
cp $3C
jr c,Logged_0x1C875
jr z,Logged_0x1C8B1
ret
Logged_0x1C85B:
ld b,$02
ld a,[$CA69]
and a
jr nz,Logged_0x1C867
Logged_0x1C863:
call Logged_0x1270
ret
Logged_0x1C867:
call Logged_0x1259
ret
Logged_0x1C86B:
ld b,$01
ld a,[$CA69]
and a
jr nz,Logged_0x1C867
jr Logged_0x1C863
Logged_0x1C875:
ld a,[$C08F]
and $01
ret z
ld b,$01
ld a,[$CA69]
and a
jr nz,Logged_0x1C867
jr Logged_0x1C863
Logged_0x1C885:
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $06
ret nz
ld a,b
and a
jr nz,Unknown_0x1C8AB
ld a,$F1
ld [$CA6F],a
jp Logged_0x1ED3F
Unknown_0x1C8AB:
ld a,$F1
ld [$CA6F],a
ret
Logged_0x1C8B1:
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1C8D7
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $06
ret nz
ld a,b
and a
jp z,Logged_0x1E99B
Logged_0x1C8D7:
ld a,$F1
ld [$CA6F],a
jp Logged_0x1E855
Logged_0x1C8DF:
ld a,[$CA3C]
cp $05
jr nc,Logged_0x1C8FF
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1C8FD
ld a,$06
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Logged_0x1C8FD:
jr Logged_0x1C916
Logged_0x1C8FF:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1C916
ld a,$06
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1C916:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EA3E
ld a,[$CA83]
cp $07
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $07
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $07
ret nz
ld a,b
and $0F
jp nz,Logged_0x1C9F7
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1CB33
ld a,[$CA83]
cp $07
ret nz
ld a,[$CA89]
cp $2B
jr nc,Logged_0x1C9B2
ld a,[$CA69]
and a
jr nz,Logged_0x1C9A0
call Logged_0x153F
call Logged_0x1270
ld a,[$CA86]
cp $14
jr c,Logged_0x1C99E
ld a,$10
ld [$CA86],a
Logged_0x1C99E:
jr Logged_0x1C9B2
Logged_0x1C9A0:
call Logged_0x151E
call Logged_0x1259
ld a,[$CA86]
cp $14
jr c,Logged_0x1C9B2
ld a,$10
ld [$CA86],a
Logged_0x1C9B2:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA83]
cp $07
ret nz
ld hl,$CA89
dec [hl]
ret nz
call Logged_0x1700
jr z,Logged_0x1C9EC
ld a,$06
ld [$FF00+$85],a
ld a,$81
ld [$FF00+$8D],a
ld a,$5C
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1C9EC:
ld a,[$C093]
and $30
jp nz,Logged_0x1E6B5
jp Logged_0x1E99B
Logged_0x1C9F7:
jp Logged_0x1CA0E
Logged_0x1C9FA:
ld a,[$CA69]
and a
jr nz,Logged_0x1CA07
ld b,$03
call Logged_0x1259
jr Logged_0x1CA0C
Logged_0x1CA07:
ld b,$03
call Logged_0x1270
Logged_0x1CA0C:
jr Logged_0x1CA20
Logged_0x1CA0E:
ld a,[$CA69]
and a
jr nz,Logged_0x1CA1B
ld b,$02
call Logged_0x1259
jr Logged_0x1CA20
Logged_0x1CA1B:
ld b,$02
call Logged_0x1270
Logged_0x1CA20:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,[$CA74]
and a
jr nz,Logged_0x1CA32
ld a,$0A
jr Logged_0x1CA34
Logged_0x1CA32:
ld a,$18
Logged_0x1CA34:
ld [$CA75],a
jr Logged_0x1CA46
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$0A
ld [$CA75],a
Logged_0x1CA46:
ld a,$09
ld [$CA83],a
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$01
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA89],a
ld a,[$CA9D]
and a
jp nz,Logged_0x1CABF
ld a,[$CA69]
and a
jr nz,Logged_0x1CAA4
ld a,$52
ld [$CA81],a
ld a,$19
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jr Logged_0x1CABE
Logged_0x1CAA4:
ld a,$52
ld [$CA81],a
ld a,$16
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1CABD:
ret
Logged_0x1CABE:
ret
Logged_0x1CABF:
xor a
ld [$CA9D],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1CAF9
call Logged_0x1CABE
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
jr Logged_0x1CB06
Logged_0x1CAF9:
call Logged_0x1CABD
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
Logged_0x1CB06:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1CB32
ld a,$18
ld [$CA75],a
Logged_0x1CB32:
ret
Logged_0x1CB33:
ld a,$18
ld [$CA75],a
jr Logged_0x1CB43
Logged_0x1CB3A:
xor a
ld [$CA75],a
ld a,$01
ld [$CA77],a
Logged_0x1CB43:
xor a
ld [$C189],a
ld a,$08
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA3C]
cp $07
ld a,$02
jr c,Logged_0x1CB5D
inc a
Logged_0x1CB5D:
ld [$CA74],a
ld a,[$CA3C]
cp $05
jr nc,Logged_0x1CB85
ld a,[$CA69]
and a
jr nz,Logged_0x1CB79
ld a,$52
ld [$CA81],a
ld a,$16
ld [$CA82],a
jr Logged_0x1CBA1
Logged_0x1CB79:
ld a,$52
ld [$CA81],a
ld a,$19
ld [$CA82],a
jr Logged_0x1CBA1
Logged_0x1CB85:
ld a,[$CA69]
and a
jr nz,Logged_0x1CB97
ld a,$52
ld [$CA81],a
ld a,$3E
ld [$CA82],a
jr Logged_0x1CBA1
Logged_0x1CB97:
ld a,$52
ld [$CA81],a
ld a,$49
ld [$CA82],a
Logged_0x1CBA1:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
call Logged_0x1CBB9
ret
Logged_0x1CBB9:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1CBEC
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1CBEC:
ld a,[$CA83]
cp $08
ret nz
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1CC09
ld a,$06
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Logged_0x1CC09:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EA64
ld a,[$CA83]
cp $08
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $08
ret nz
ld a,b
and $0F
jr nz,Logged_0x1CCAC
ld a,[$CA89]
dec a
jr z,Logged_0x1CC44
ld [$CA89],a
Logged_0x1CC44:
ld a,[$CA69]
and a
jr nz,Logged_0x1CC58
ld a,[$C094]
bit 4,a
jr z,Logged_0x1CC5F
Logged_0x1CC51:
xor a
ld [$CA89],a
jp Logged_0x1C2AE
Logged_0x1CC58:
ld a,[$C094]
bit 5,a
jr nz,Logged_0x1CC51
Logged_0x1CC5F:
ld a,[$CA75]
cp $18
jr nc,Logged_0x1CC8A
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $08
ret nz
ld a,[$CA75]
cp $18
ret nc
ld a,$18
ld [$CA75],a
ret
Logged_0x1CC8A:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1CCA0
jp Logged_0x14DE
Logged_0x1CCA0:
call Logged_0x14F6
ld a,[$CA83]
cp $08
ret nz
jp Logged_0x1E99B
Logged_0x1CCAC:
jp Logged_0x1CA0E
Logged_0x1CCAF:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1CCE2
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1CCE2:
ld a,[$CA83]
cp $09
ret nz
call Logged_0x1EA83
ld a,[$CA83]
cp $09
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x1CD16
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $09
ret nz
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x1CD16:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1CD2C
jp Logged_0x14DE
Logged_0x1CD2C:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,[$CA83]
cp $09
ret nz
jp Logged_0x1C541
Logged_0x1CD48:
xor a
ld [$CA9A],a
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$FF00+$A9]
and $F0
ld [$FF00+$A9],a
ld b,$03
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,$E5
ld [$CA6F],a
ld a,$05
ld [$CA7E],a
ld a,$52
ld [$CA7F],a
ld a,$54
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1CDA9
ld a,$55
ld [$CA81],a
ld a,$A0
ld [$CA82],a
jr Logged_0x1CDB3
Logged_0x1CDA9:
ld a,$55
ld [$CA81],a
ld a,$A3
ld [$CA82],a
Logged_0x1CDB3:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jr Logged_0x1CDF6
Logged_0x1CDC4:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1CDDD
ld a,$55
ld [$CA81],a
ld a,$69
ld [$CA82],a
jr Logged_0x1CDE7
Logged_0x1CDDD:
ld a,$55
ld [$CA81],a
ld a,$73
ld [$CA82],a
Logged_0x1CDE7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1CDF6:
ld a,$0A
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA89],a
ld [$CA9D],a
ld [$CA6D],a
ld [$CA8B],a
ld [$C0E0],a
ld hl,$4800
call Logged_0x1AF6
ld a,$04
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ret
Logged_0x1CE42:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $0A
ret nz
ld a,b
and a
jr nz,Logged_0x1CE8A
call Logged_0x1F14F
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $0A
jr c,Logged_0x1CE6D
cp $0E
jr c,Logged_0x1CE71
jr Logged_0x1CE95
Logged_0x1CE6D:
ld b,$02
jr Logged_0x1CE73
Logged_0x1CE71:
ld b,$01
Logged_0x1CE73:
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1CE8A
ret
Logged_0x1CE8A:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1CE95:
ld a,$0B
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA6D],a
ld [$C0E0],a
ld [$CA9C],a
ld a,$04
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$52
ld [$CA7F],a
ld a,$54
ld [$CA80],a
ld a,[$CA3C]
cp $02
jr c,Logged_0x1CF20
ld a,[$C0DB]
cp $02
jr z,Logged_0x1CF20
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1CF06
ld a,$55
ld [$CA81],a
ld a,$76
ld [$CA82],a
jr Logged_0x1CF10
Logged_0x1CF06:
ld a,$55
ld [$CA81],a
ld a,$8B
ld [$CA82],a
Logged_0x1CF10:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1CF20:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1CF39
ld a,$55
ld [$CA81],a
ld a,$A0
ld [$CA82],a
jr Logged_0x1CF43
Logged_0x1CF39:
ld a,$55
ld [$CA81],a
ld a,$A3
ld [$CA82],a
Logged_0x1CF43:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1CF53:
xor a
ld [$C0E1],a
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $0B
ret nz
call Logged_0x1E46A
call Logged_0x1F1A9
ret
Logged_0x1CF7A:
xor a
ld [$CEED],a
ld [$CA6E],a
ld a,$04
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$52
ld [$CA7F],a
ld a,$54
ld [$CA80],a
Logged_0x1CFA2:
ld a,$0C
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA6D],a
ld [$C0E0],a
ld [$CA9C],a
ld a,[$C0DB]
and a
jr nz,Logged_0x1CFDC
ld a,$01
ld [$C0DB],a
Logged_0x1CFDC:
ld a,[$CA69]
and a
jr nz,Logged_0x1CFEE
ld a,$55
ld [$CA81],a
ld a,$54
ld [$CA82],a
jr Logged_0x1CFF8
Logged_0x1CFEE:
ld a,$55
ld [$CA81],a
ld a,$5B
ld [$CA82],a
Logged_0x1CFF8:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D008:
xor a
ld [$C0E1],a
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $0C
ret nz
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1D03F
ld a,$1C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$37
ld [$FF00+hSFXIDLow],a
Logged_0x1D03F:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1D1BC
call Logged_0x1F40F
ld a,[$CA83]
cp $0C
ret nz
ld a,[$C093]
and $30
jr nz,Logged_0x1D065
call Logged_0x1E46A
ret
Logged_0x1D065:
ld a,$0D
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA6D],a
ld a,[$CA69]
and a
jr nz,Logged_0x1D0A0
ld a,$55
ld [$CA81],a
ld a,$54
ld [$CA82],a
jr Logged_0x1D0AA
Logged_0x1D0A0:
ld a,$55
ld [$CA81],a
ld a,$5B
ld [$CA82],a
Logged_0x1D0AA:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D0BA:
xor a
ld [$C0E1],a
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1D0EB
ld a,$1C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$37
ld [$FF00+hSFXIDLow],a
Logged_0x1D0EB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1D1BC
call Logged_0x1E46A
call Logged_0x1D107
call Logged_0x1F40F
ret
Logged_0x1D107:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1D115
bit 5,a
jr nz,Logged_0x1D16E
jp Logged_0x1CFA2
Logged_0x1D115:
ld a,[$CA69]
and a
jr nz,Logged_0x1D141
ld a,$01
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$55
ld [$CA81],a
ld a,$5B
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D141:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld hl,$CEE2
ld a,[hld]
or [hl]
and $03
ret nz
call Logged_0x151E
call Logged_0x1259
Logged_0x1D161:
ld a,[$CA86]
cp $04
jr c,Logged_0x1D16D
ld a,$00
ld [$CA86],a
Logged_0x1D16D:
ret
Logged_0x1D16E:
ld a,[$CA69]
and a
jr z,Logged_0x1D19A
ld a,$00
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$55
ld [$CA81],a
ld a,$54
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D19A:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld hl,$CEE2
ld a,[hld]
or [hl]
and $03
ret nz
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1D161
Logged_0x1D1BC:
ld a,[$C08F]
and $03
ret nz
ld hl,$CA6E
inc [hl]
ld a,[hl]
cp $07
jr nc,Logged_0x1D1D1
ld b,$01
call Logged_0x128E
ret
Logged_0x1D1D1:
cp $0C
jr c,Logged_0x1D1D7
xor a
ld [hl],a
Logged_0x1D1D7:
ld b,$01
call Logged_0x12A5
ret
Logged_0x1D1DD:
ld a,$40
ld [$CA9C],a
jr Logged_0x1D1EC
Logged_0x1D1E4:
ld a,[$C093]
and $F0
ld [$CA9C],a
Logged_0x1D1EC:
ld a,$0E
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CEED],a
ld [$CA6D],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA9C]
and a
jr z,Logged_0x1D282
ld a,[$CA9C]
bit 5,a
jr nz,Logged_0x1D22C
bit 4,a
jr nz,Logged_0x1D250
ld a,[$CA69]
and a
jr nz,Logged_0x1D250
Logged_0x1D22C:
ld a,$00
ld [$CA69],a
ld a,[$CA3C]
cp $08
jr c,Logged_0x1D244
ld a,$55
ld [$CA81],a
ld a,$62
ld [$CA82],a
jr Logged_0x1D272
Logged_0x1D244:
ld a,$55
ld [$CA81],a
ld a,$BE
ld [$CA82],a
jr Logged_0x1D272
Logged_0x1D250:
ld a,$01
ld [$CA69],a
ld a,[$CA3C]
cp $08
jr c,Logged_0x1D268
ld a,$55
ld [$CA81],a
ld a,$6C
ld [$CA82],a
jr Logged_0x1D272
Logged_0x1D268:
ld a,$55
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1D272:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D282:
ld a,[$CA69]
cp $01
jr z,Logged_0x1D290
ld a,$20
ld [$CA9C],a
jr Logged_0x1D22C
Logged_0x1D290:
ld a,$10
ld [$CA9C],a
jr Logged_0x1D250
Logged_0x1D297:
xor a
ld [$C0E1],a
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $0E
ret nz
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1D2CE
ld a,$0F
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1D2CE:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1F470
ld a,[$CA83]
cp $0E
ret nz
call Logged_0x1E46A
ret
Logged_0x1D2EA:
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$0F
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA6D],a
ld [$CA9C],a
ld [$C0E0],a
ld a,$04
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1D33A
ld a,$55
ld [$CA81],a
ld a,$73
ld [$CA82],a
jr Logged_0x1D344
Logged_0x1D33A:
ld a,$55
ld [$CA81],a
ld a,$69
ld [$CA82],a
Logged_0x1D344:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D354:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D38A
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $04
jr c,Logged_0x1D376
cp $08
jr c,Logged_0x1D37A
jr Logged_0x1D38A
Logged_0x1D376:
ld b,$02
jr Logged_0x1D37C
Logged_0x1D37A:
ld b,$01
Logged_0x1D37C:
ld a,[$CA69]
and a
jr nz,Logged_0x1D386
call Logged_0x1270
ret
Logged_0x1D386:
call Logged_0x1259
ret
Logged_0x1D38A:
ld a,[$CA69]
xor $01
ld [$CA69],a
jp Logged_0x1CE95
Logged_0x1D395:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D3ED
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jr z,Logged_0x1D404
ld a,[$CA84]
cp $78
jr nc,Logged_0x1D3F8
ld a,[$C08F]
and $01
ret nz
ld b,$01
call Logged_0x129E
ld a,[$CEE0]
and a
ret z
xor a
ld [$CEE0],a
jr Logged_0x1D3F8
Logged_0x1D3ED:
ld a,[$CA84]
cp $78
ret c
ld a,$40
ld [$C0E1],a
Logged_0x1D3F8:
xor a
ld [$CA8A],a
ld a,$10
ld [$CA8C],a
jp Logged_0x1CE95
Logged_0x1D404:
ld a,[$CA84]
cp $78
ret c
xor a
ld [$CA8A],a
ld a,$10
ld [$CA8C],a
jp Logged_0x1CF7A
Unknown_0x1D416:
ld a,$11
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Unknown_0x1D43B
ld a,$55
ld [$CA81],a
ld a,$B0
ld [$CA82],a
jr Unknown_0x1D445
Unknown_0x1D43B:
ld a,$55
ld [$CA81],a
ld a,$B7
ld [$CA82],a
Unknown_0x1D445:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1D455:
ld a,[$C093]
bit 7,a
jp z,Logged_0x1CFA2
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D46D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $12
ret nz
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
call Logged_0x1EB46
ld a,[$CA83]
cp $12
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ED34
ret
Logged_0x1D4A7:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1D4BE
ld a,$15
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$4A
ld [$FF00+hSFXIDLow],a
Logged_0x1D4BE:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $13
ret nz
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
call Logged_0x1EC6C
ld a,[$CA83]
cp $13
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ED34
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$C189]
and a
jr nz,Logged_0x1D51F
ret
Logged_0x1D51F:
jp Logged_0x1DEF1
Logged_0x1D522:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1D555
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D555:
ld a,[$CA83]
cp $14
ret nz
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1D583
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $14
ret nz
ld a,b
and a
jr nz,Logged_0x1D583
jp Logged_0x1C2CD
Logged_0x1D583:
ld a,$F1
ld [$CA6F],a
call Logged_0x1F077
ld a,[$CA83]
cp $14
ret nz
ld a,[$CA95]
and a
jr z,Logged_0x1D5C9
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1D5B0
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x1D5BA
Logged_0x1D5B0:
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
Logged_0x1D5BA:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1D5C9:
ld a,[$CA75]
cp $18
jr nc,Logged_0x1D5EE
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $14
ret nz
ld a,$18
ld [$CA75],a
ret
Logged_0x1D5EE:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D60A
ld a,[$CA83]
cp $14
ret nz
jp Logged_0x14DE
Logged_0x1D60A:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA83]
cp $14
ret nz
call Logged_0x1C541
ld a,[$C093]
bit 7,a
ret z
jp Logged_0x1E855
Logged_0x1D627:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1D65A
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D65A:
call Logged_0x1F6C2
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D6A3
ld a,[$CA69]
and a
jr nz,Logged_0x1D694
ld b,$01
ld a,[$CA75]
cp $18
jr nc,Logged_0x1D68F
inc b
Logged_0x1D68F:
call Logged_0x1270
jr Logged_0x1D6B5
Logged_0x1D694:
ld b,$01
ld a,[$CA75]
cp $18
jr nc,Logged_0x1D69E
inc b
Logged_0x1D69E:
call Logged_0x1259
jr Logged_0x1D6B5
Logged_0x1D6A3:
ld a,[$CA69]
and a
jr nz,Logged_0x1D6B0
ld b,$01
call Logged_0x1259
jr Logged_0x1D6B5
Logged_0x1D6B0:
ld b,$01
call Logged_0x1270
Logged_0x1D6B5:
ld a,[$CA74]
and a
jr nz,Logged_0x1D6E3
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jp nc,Logged_0x1D759
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
ld a,$18
ld [$CA75],a
ld a,$01
ld [$CA74],a
ret
Logged_0x1D6E3:
ld a,[$CA75]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
bit 7,[hl]
jr z,Logged_0x1D715
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
jr Logged_0x1D6E3
Logged_0x1D715:
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x1D724
ld [hl],$27
Logged_0x1D724:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D73A
jp Logged_0x14DE
Logged_0x1D73A:
call Logged_0x14F6
ld a,[$CA74]
inc a
ld [$CA74],a
sub $02
jr z,Logged_0x1D74D
dec a
jr z,Logged_0x1D753
jr Logged_0x1D759
Logged_0x1D74D:
ld a,$0A
ld [$CA75],a
ret
Logged_0x1D753:
ld a,$0E
ld [$CA75],a
ret
Logged_0x1D759:
xor a
ld [$CA84],a
ld [$CA85],a
ld a,$16
ld [$CA83],a
ret
Logged_0x1D766:
call Logged_0x1F6C2
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $14
ret c
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$10
ld [$CA8C],a
ld hl,$4800
call Logged_0x1AF6
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $16
ret nz
ld a,b
and a
jr nz,Logged_0x1D7B9
ld a,[$C093]
bit 7,a
jp z,Logged_0x1E99B
Logged_0x1D7B9:
ld a,$F1
ld [$CA6F],a
jp Logged_0x1E855
Logged_0x1D7C1:
ld a,$01
ld [$CA8A],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld b,$01
call Logged_0x1287
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $20
jr z,Logged_0x1D7F9
cp $21
jr z,Logged_0x1D804
cp $40
ret c
ld a,[$CA64]
sub $08
ld [$CA64],a
xor a
ld [$CA8A],a
jp Logged_0x1E99B
Logged_0x1D7F9:
call Logged_0x1079
ld hl,$C0D7
res 7,[hl]
jp Logged_0x11F6
Logged_0x1D804:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E1
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1D80D:
ld a,$01
ld [$CA8A],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld b,$01
call Logged_0x129E
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $20
jr z,Logged_0x1D848
cp $21
jr z,Logged_0x1D853
cp $40
ret c
ld a,[$CA64]
sub $08
ld [$CA64],a
xor a
ld [$CA8A],a
call Logged_0x1146
jp Logged_0x1E99B
Logged_0x1D848:
call Logged_0x1079
ld hl,$C0D7
res 7,[hl]
jp Logged_0x11F6
Logged_0x1D853:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E1
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1D85C:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1D88F
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1D88F:
ld a,[$CA83]
cp $19
ret nz
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EA83
ld a,[$CA83]
cp $19
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x1D8CC
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x1D8CC:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1D8E2
jp Logged_0x14DE
Logged_0x1D8E2:
ld a,[$CA69]
xor $01
ld [$CA69],a
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x1C541
Logged_0x1D8F8:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $1B
ret c
xor a
ld [$CA96],a
jp Logged_0x1E99B
Logged_0x1D916:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1DD78
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
and $0F
cp $02
jp z,Logged_0x1EFE7
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1EFE7
Logged_0x1D943:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $1F
ret nz
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
call Logged_0x1EE88
ld a,[$CA83]
cp $1F
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $1F
ret nz
ld a,b
and a
jp z,Logged_0x1EDD3
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1D995:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $20
ret nz
ld a,[$CA9A]
and a
jp z,Logged_0x1E6B5
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1D9CF
ld a,$24
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
Logged_0x1D9CF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EEFC
ld a,[$CA83]
cp $20
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1EDD3
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1DA07:
ld a,$25
ld [$CA83],a
ld a,[$CA9A]
and $F0
or $07
ld [$CA9A],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DA43
ld a,$5F
ld [$CA81],a
ld a,$AE
ld [$CA82],a
Logged_0x1DA33:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1DA43:
ld a,$5F
ld [$CA81],a
ld a,$B3
ld [$CA82],a
jr Logged_0x1DA33
Logged_0x1DA4F:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $21
ret nz
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CA9A]
and a
jp z,Logged_0x1C2AE
ld a,[$CAA0]
and a
jr z,Logged_0x1DA8F
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1DA8F:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1DA07
call Logged_0x1F077
ld a,[$CA83]
cp $21
ret nz
ld a,[$CA3C]
cp $01
jr c,Logged_0x1DADC
ld a,[$CA96]
and a
jr nz,Logged_0x1DACF
ld a,[$CA75]
cp $18
jr c,Logged_0x1DADC
ld a,[$C093]
bit 7,a
jr z,Logged_0x1DADC
ld a,$01
ld [$CA96],a
Logged_0x1DAC0:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DB2C
jr Logged_0x1DB0D
Logged_0x1DACF:
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1DADC
xor a
ld [$CA96],a
jr Logged_0x1DAE8
Logged_0x1DADC:
ld a,[$CA95]
and a
jr z,Logged_0x1DB49
ld a,[$CA96]
and a
jr nz,Logged_0x1DAC0
Logged_0x1DAE8:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DB01
ld a,$5F
ld [$CA81],a
ld a,$A8
ld [$CA82],a
jr Logged_0x1DB49
Logged_0x1DB01:
ld a,$5F
ld [$CA81],a
ld a,$AB
ld [$CA82],a
jr Logged_0x1DB49
Logged_0x1DB0D:
ld a,[$CA3C]
cp $06
jr nc,Logged_0x1DB20
ld a,$5F
ld [$CA81],a
ld a,$EC
ld [$CA82],a
jr Logged_0x1DB49
Logged_0x1DB20:
ld a,$60
ld [$CA81],a
ld a,$5C
ld [$CA82],a
jr Logged_0x1DB49
Logged_0x1DB2C:
ld a,[$CA3C]
cp $06
jr nc,Logged_0x1DB3F
ld a,$5F
ld [$CA81],a
ld a,$EF
ld [$CA82],a
jr Logged_0x1DB49
Logged_0x1DB3F:
ld a,$60
ld [$CA81],a
ld a,$63
ld [$CA82],a
Logged_0x1DB49:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9A]
bit 7,a
jr z,Logged_0x1DB6B
ld a,[$CA86]
cp $08
jr c,Logged_0x1DB6B
ld a,$04
ld [$CA86],a
Logged_0x1DB6B:
ld a,[$CA75]
cp $18
jr nc,Logged_0x1DB8A
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x1DB8A:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $21
ret nz
ld a,b
and a
jr nz,Logged_0x1DBA6
jp Logged_0x14DE
Logged_0x1DBA6:
call Logged_0x14F6
ld a,[$C1AA]
and a
jr nz,Logged_0x1DBB7
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
Logged_0x1DBB7:
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA86],a
ld a,[$CA96]
and a
jr z,Logged_0x1DBD0
ld a,[$CA3C]
cp $06
jr c,Unknown_0x1DC25
jr Logged_0x1DBD3
Logged_0x1DBD0:
jp Logged_0x1EFE7
Logged_0x1DBD3:
ld a,[$CA97]
and a
jr nz,Logged_0x1DBE3
ld a,$20
ld [$CA97],a
ld a,$01
ld [$CA98],a
Logged_0x1DBE3:
ld a,[$C1AA]
and a
jr nz,Logged_0x1DBF1
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$02
ld [$FF00+hSFXIDLow],a
Logged_0x1DBF1:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Unknown_0x1DC0A
ld a,$5F
ld [$CA81],a
ld a,$D2
ld [$CA82],a
jr Logged_0x1DC14
Unknown_0x1DC0A:
ld a,$5F
ld [$CA81],a
ld a,$DF
ld [$CA82],a
Logged_0x1DC14:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jr Logged_0x1DC5F
Unknown_0x1DC25:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$33
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Unknown_0x1DC46
ld a,$60
ld [$CA81],a
ld a,$20
ld [$CA82],a
jr Unknown_0x1DC50
Unknown_0x1DC46:
ld a,$60
ld [$CA81],a
ld a,$37
ld [$CA82],a
Unknown_0x1DC50:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1DC5F:
ld a,$81
ld [$CA96],a
ld a,$26
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ret
Logged_0x1DC8B:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2C
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$22
ld [$CA83],a
ld a,[$CA9A]
and $F0
add a,$04
ld [$CA9A],a
ld a,$04
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$60
ld [$CA7F],a
ld a,$6A
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DCE2
ld a,$64
ld [$CA81],a
ld a,$2C
ld [$CA82],a
jr Logged_0x1DCEC
Logged_0x1DCE2:
ld a,$64
ld [$CA81],a
ld a,$2F
ld [$CA82],a
Logged_0x1DCEC:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1DCFC:
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
ld a,[$C093]
bit 1,a
jp z,Logged_0x1DE3F
bit 0,a
jp nz,Logged_0x1DD78
bit 7,a
jp nz,Logged_0x1E855
ld a,[$CA9A]
bit 7,a
jr nz,Logged_0x1DD20
ld b,$1E
jr Logged_0x1DD22
Logged_0x1DD20:
ld b,$3C
Logged_0x1DD22:
ld a,[$CA84]
inc a
ld [$CA84],a
cp b
jr nc,Logged_0x1DD2D
ret
Logged_0x1DD2D:
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$23
ld [$CA83],a
ld a,[$CA9A]
and $F0
add a,$05
ld [$CA9A],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DD5E
ld a,$64
ld [$CA81],a
ld a,$32
ld [$CA82],a
jr Logged_0x1DD68
Logged_0x1DD5E:
ld a,$64
ld [$CA81],a
ld a,$35
ld [$CA82],a
Logged_0x1DD68:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1DD78:
xor a
ld [$CA9A],a
jp Logged_0x1C2B9
Logged_0x1DD7F:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1DD96
ld a,$1E
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
Logged_0x1DD96:
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
and $0F
cp $06
jr z,Logged_0x1DDE0
ld a,[$CA84]
and a
jr nz,Logged_0x1DDE0
ld a,[$C1A8]
and a
jr z,Logged_0x1DDE0
ld a,[$CA9A]
and $F0
add a,$06
ld [$CA9A],a
xor a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DDD6
ld a,$64
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x1DDE0
Logged_0x1DDD6:
ld a,$64
ld [$CA81],a
ld a,$41
ld [$CA82],a
Logged_0x1DDE0:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
bit 1,a
jr z,Logged_0x1DE01
bit 0,a
jp nz,Logged_0x1DD78
bit 7,a
jp nz,Logged_0x1E855
ret
Logged_0x1DE01:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DE1A
ld a,$64
ld [$CA81],a
ld a,$03
ld [$CA82],a
jr Logged_0x1DE24
Logged_0x1DE1A:
ld a,$64
ld [$CA81],a
ld a,$23
ld [$CA82],a
Logged_0x1DE24:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9A]
and $F0
add a,$47
ld [$CA9A],a
jr Logged_0x1DE7B
Logged_0x1DE3F:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1DE58
ld a,$63
ld [$CA81],a
ld a,$FE
ld [$CA82],a
jr Logged_0x1DE62
Logged_0x1DE58:
ld a,$64
ld [$CA81],a
ld a,$1E
ld [$CA82],a
Logged_0x1DE62:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9A]
and $F0
add a,$07
ld [$CA9A],a
Logged_0x1DE7B:
xor a
ld [$CA84],a
ld [$CA85],a
ld a,$24
ld [$CA83],a
ret
Logged_0x1DE88:
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA9A],a
jp Logged_0x1E99B
Logged_0x1DEAA:
ld a,[$CA9A]
and a
jp z,Logged_0x1C2AE
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA9A],a
jp Logged_0x1C2AE
Logged_0x1DECC:
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $1B
ret c
xor a
ld [$CA96],a
jp Logged_0x1EFE7
Logged_0x1DEF1:
ld a,$27
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA8B],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA86],a
ld [$CA9A],a
ld a,$01
ld [$CA9D],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$09
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$64
ld [$CA7F],a
ld a,$4A
ld [$CA80],a
ld a,[$C189]
bit 1,a
jr nz,Logged_0x1DF8B
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,$0C
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld b,$06
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$00
ld [$CA69],a
ld a,$67
ld [$CA81],a
ld a,$08
ld [$CA82],a
jr Logged_0x1DFC4
Logged_0x1DF8B:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $0C
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld b,$05
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$CA69],a
ld a,$67
ld [$CA81],a
ld a,$1D
ld [$CA82],a
Logged_0x1DFC4:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1DFD4:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1DFEB
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0B
ld [$FF00+hSFXIDLow],a
Logged_0x1DFEB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1F825
ld a,[$CA83]
cp $27
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$C7
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1E174
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jp nz,Logged_0x1CA0E
ld a,[$C1A8]
and a
ret z
Logged_0x1E042:
xor a
ld [$CEED],a
ld [$CA75],a
ld [$CA74],a
ld a,$28
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$F2
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$02
ld [$CA9D],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1E083
ld a,$66
ld [$CA81],a
ld a,$E6
ld [$CA82],a
jr Logged_0x1E08D
Logged_0x1E083:
ld a,$66
ld [$CA81],a
ld a,$F7
ld [$CA82],a
Logged_0x1E08D:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E09D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1E0CA
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0A
ld [$FF00+hSFXIDLow],a
Logged_0x1E0CA:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1E145
ld a,[$CA69]
and a
jr nz,Logged_0x1E0EE
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1E0F4
Logged_0x1E0EE:
call Logged_0x151E
call Logged_0x1259
Logged_0x1E0F4:
ld a,[$CA86]
cp $18
jr c,Logged_0x1E100
ld a,$14
ld [$CA86],a
Logged_0x1E100:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jp nz,Logged_0x1C9FA
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1E174
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$C189]
and a
ret z
and $0F
dec a
ld b,a
ld a,[$CA69]
xor b
jp nz,Logged_0x1CA0E
ret
Logged_0x1E145:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$C189]
and a
jp z,Logged_0x1E1E3
and $0F
dec a
ld b,a
ld a,[$CA69]
xor b
jp nz,Logged_0x1CA0E
jp Logged_0x1E1E3
Logged_0x1E174:
ld a,$18
ld [$CA75],a
Logged_0x1E179:
xor a
ld [$C189],a
ld [$CA9A],a
ld a,$01
ld [$CA74],a
ld a,$29
ld [$CA83],a
ld a,$02
ld [$CA9D],a
ld a,$09
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$64
ld [$CA7F],a
ld a,$4A
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1E1C9
ld a,$66
ld [$CA81],a
ld a,$E6
ld [$CA82],a
jr Logged_0x1E1D3
Logged_0x1E1C9:
ld a,$66
ld [$CA81],a
ld a,$F7
ld [$CA82],a
Logged_0x1E1D3:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E1E3:
xor a
ld [$CA75],a
jr Logged_0x1E179
Logged_0x1E1E9:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1CD48
ld a,[$CAA0]
and a
jr z,Logged_0x1E21C
ld a,$06
ld [$FF00+$85],a
ld a,$E8
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E21C:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA69]
and a
jr nz,Logged_0x1E239
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1E23F
Logged_0x1E239:
call Logged_0x151E
call Logged_0x1259
Logged_0x1E23F:
ld a,[$CA86]
cp $18
jr c,Logged_0x1E24B
ld a,$14
ld [$CA86],a
Logged_0x1E24B:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jp nz,Logged_0x1C9FA
ld a,[$CA75]
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
bit 7,[hl]
jr z,Logged_0x1E27B
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
jr Logged_0x1E28A
Logged_0x1E27B:
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x1E28A
ld [hl],$27
Logged_0x1E28A:
ld a,[$CA75]
cp $18
jr nc,Logged_0x1E2A9
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x1E2A9:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E2BF
jp Logged_0x14DE
Logged_0x1E2BF:
call Logged_0x14F6
jp Logged_0x1E042
Logged_0x1E2C5:
ld a,[$CA69]
and a
jr nz,Logged_0x1E32A
ld a,[$C094]
and $13
jr nz,Logged_0x1E2EF
Logged_0x1E2D2:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA9F
dec [hl]
ret nz
ld a,$20
ld [hl],a
ld a,$06
ld [$CA9E],a
ret
Logged_0x1E2EF:
ld a,$20
ld [$CA9F],a
ld a,$01
ld [$CA69],a
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
Logged_0x1E303:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$20
ld [$CA9F],a
ld hl,$CA9E
dec [hl]
ret nz
xor a
ld [$CA9B],a
jp Logged_0x1C2AE
Logged_0x1E32A:
ld a,[$C094]
and $23
jr z,Logged_0x1E2D2
ld a,$20
ld [$CA9F],a
ld a,$00
ld [$CA69],a
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x1E303
Logged_0x1E347:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA97]
and a
jr z,Logged_0x1E3B6
ld a,[$CA74]
and a
ret z
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
call Logged_0x1762
ld a,[$CA75]
cp $18
jr nc,Logged_0x1E395
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x1E395:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E3AB
jp Logged_0x14DE
Logged_0x1E3AB:
call Logged_0x14F6
xor a
ld [$CA74],a
ld [$CA75],a
ret
Logged_0x1E3B6:
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1E3D1
jp Logged_0x1E855
Logged_0x1E3D1:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1C2AE
jp Logged_0x1E99B
Logged_0x1E3E8:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1E3FF
ld a,$24
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
Logged_0x1E3FF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA84]
dec a
jr z,Logged_0x1E444
dec a
jr z,Logged_0x1E455
dec a
jr z,Logged_0x1E45A
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4D
ld [$CA81],a
ld a,$15
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ret
Logged_0x1E444:
ld a,[$C1A8]
and a
ret z
ld hl,$CA84
inc [hl]
ld hl,$C0D7
res 7,[hl]
jp Logged_0x11F6
Logged_0x1E455:
ld hl,$CA84
inc [hl]
ret
Logged_0x1E45A:
ld a,[$C1A8]
and a
ret z
ld a,[$C093]
and $30
jp nz,Logged_0x1E6B5
jp Logged_0x1E99B
Logged_0x1E46A:
call Logged_0x1E598
ld a,[$CEE0]
bit 0,a
jr nz,Logged_0x1E48E
bit 1,a
jr nz,Logged_0x1E4CD
bit 2,a
jp nz,Logged_0x1E50C
bit 3,a
jp nz,Logged_0x1E54B
ld a,[$CEE2]
and a
call nz,Logged_0x1E58A
xor a
ld [$CEE2],a
ret
Logged_0x1E48E:
ld a,[$CEE2]
and $0E
call nz,Logged_0x1E58A
ld hl,$CEE0
ld a,[hl]
ld [$CEE2],a
res 0,[hl]
ld a,[$C0E1]
bit 4,a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,[$CA9C]
bit 4,a
ret nz
bit 5,a
jr z,Logged_0x1E4C7
ld a,[$CA3C]
cp $08
ret nc
Logged_0x1E4C7:
ld b,$02
call Logged_0x1259
ret
Logged_0x1E4CD:
ld a,[$CEE2]
and $0D
call nz,Logged_0x1E58A
ld hl,$CEE0
ld a,[hl]
ld [$CEE2],a
res 1,[hl]
ld a,[$C0E1]
bit 5,a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,[$CA9C]
bit 5,a
ret nz
bit 4,a
jr z,Logged_0x1E506
ld a,[$CA3C]
cp $08
ret nc
Logged_0x1E506:
ld b,$02
call Logged_0x1270
ret
Logged_0x1E50C:
ld a,[$CEE2]
and $0B
call nz,Logged_0x1E58A
ld hl,$CEE0
ld a,[hl]
ld [$CEE2],a
res 2,[hl]
ld a,[$C0E1]
bit 6,a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,[$CA9C]
bit 6,a
ret nz
bit 7,a
jr z,Logged_0x1E545
ld a,[$CA3C]
cp $08
ret nc
Logged_0x1E545:
ld b,$02
call Logged_0x129E
ret
Logged_0x1E54B:
ld a,[$CEE2]
and $07
call nz,Logged_0x1E58A
ld hl,$CEE0
ld a,[hl]
ld [$CEE2],a
res 3,[hl]
ld a,[$C0E1]
bit 7,a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,[$CA9C]
bit 7,a
ret nz
bit 6,a
jr z,Logged_0x1E584
ld a,[$CA3C]
cp $08
ret nc
Logged_0x1E584:
ld b,$02
call Logged_0x1287
ret
Logged_0x1E58A:
ld a,[$CEE1]
and a
ret nz
ld a,[$CEE2]
add a,$F0
ld [$CEE1],a
ret
Logged_0x1E598:
ld a,[$CEE1]
and a
ret z
bit 0,a
jr nz,Logged_0x1E5B0
bit 1,a
jr nz,Logged_0x1E5E3
bit 2,a
jp nz,Logged_0x1E624
bit 3,a
jp nz,Logged_0x1E657
ret
Logged_0x1E5B0:
ld a,[$C0E1]
bit 4,a
jr nz,Logged_0x1E61F
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E61F
ld a,[$CA9C]
bit 4,a
jr nz,Logged_0x1E614
bit 5,a
jr z,Logged_0x1E5DC
ld a,[$CA3C]
cp $08
jr nc,Logged_0x1E614
Logged_0x1E5DC:
ld b,$01
call Logged_0x1259
jr Logged_0x1E614
Logged_0x1E5E3:
ld a,[$C0E1]
bit 5,a
jr nz,Logged_0x1E61F
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E61F
ld a,[$CA9C]
bit 5,a
jr nz,Logged_0x1E614
bit 4,a
jr z,Logged_0x1E60F
ld a,[$CA3C]
cp $08
jr nc,Logged_0x1E614
Logged_0x1E60F:
ld b,$01
call Logged_0x1270
Logged_0x1E614:
ld a,[$CEE1]
sub $10
ld [$CEE1],a
and $F0
ret nz
Logged_0x1E61F:
xor a
ld [$CEE1],a
ret
Logged_0x1E624:
ld a,[$C0E1]
bit 6,a
jr nz,Logged_0x1E61F
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E61F
ld a,[$CA9C]
bit 6,a
jr nz,Logged_0x1E614
bit 7,a
jr z,Logged_0x1E650
ld a,[$CA3C]
cp $08
jr nc,Logged_0x1E614
Logged_0x1E650:
ld b,$01
call Logged_0x129E
jr Logged_0x1E614
Logged_0x1E657:
ld a,[$C0E1]
bit 7,a
jr nz,Logged_0x1E61F
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1E61F
ld a,[$CA9C]
bit 7,a
jr nz,Logged_0x1E614
bit 6,a
jr z,Logged_0x1E683
ld a,[$CA3C]
cp $08
jr nc,Logged_0x1E614
Logged_0x1E683:
ld b,$01
call Logged_0x1287
jr Logged_0x1E614
Logged_0x1E68A:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1E7AB
bit 0,a
jp nz,Logged_0x1C2B9
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1E6A3
bit 5,a
jr nz,Logged_0x1E6AC
ret
Logged_0x1E6A3:
ld a,[$CA69]
and a
jr nz,Logged_0x1E6B5
jp Logged_0x1E73E
Logged_0x1E6AC:
ld a,[$CA69]
and a
jr z,Logged_0x1E6B5
jp Logged_0x1E73E
Logged_0x1E6B5:
xor a
ld [$CA86],a
Logged_0x1E6B9:
ld a,$01
ld [$CA83],a
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1E6CB
bit 5,a
jr nz,Logged_0x1E6D2
jr Logged_0x1E6D7
Logged_0x1E6CB:
ld a,$01
ld [$CA69],a
jr Logged_0x1E6D7
Logged_0x1E6D2:
ld a,$00
ld [$CA69],a
Logged_0x1E6D7:
xor a
ld [$CEED],a
ld [$CA75],a
ld [$CA74],a
ld [$CA96],a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1E724
ld a,$49
ld [$CA81],a
ld a,$B4
ld [$CA82],a
jr Logged_0x1E72E
Logged_0x1E724:
ld a,$49
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1E72E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E73E:
ld a,$02
ld [$CA83],a
xor a
ld [$CA89],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x1E791
ld a,$4C
ld [$CA81],a
ld a,$BE
ld [$CA82],a
jr Logged_0x1E79B
Logged_0x1E791:
ld a,$4C
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1E79B:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E7AB:
ld a,$30
ld [$CA89],a
xor a
ld [$CEED],a
ld a,$07
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld a,$05
ld [$CA7E],a
ld a,$4D
ld [$CA7F],a
ld a,$1B
ld [$CA80],a
ld a,$04
ld [$CA7B],a
ld a,$58
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,[$CA3C]
cp $05
jr nc,Logged_0x1E829
ld a,[$CA69]
and a
jr nz,Logged_0x1E81D
ld a,$51
ld [$CA81],a
ld a,$E4
ld [$CA82],a
jr Logged_0x1E845
Logged_0x1E81D:
ld a,$51
ld [$CA81],a
ld a,$FD
ld [$CA82],a
jr Logged_0x1E845
Logged_0x1E829:
ld a,[$CA69]
and a
jr nz,Logged_0x1E83B
ld a,$52
ld [$CA81],a
ld a,$1C
ld [$CA82],a
jr Logged_0x1E845
Logged_0x1E83B:
ld a,$52
ld [$CA81],a
ld a,$2D
ld [$CA82],a
Logged_0x1E845:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E855:
ld a,[$C189]
and a
jp nz,Logged_0x1DEF1
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$12
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA86],a
ld [$CA74],a
ld [$CA75],a
ld a,$01
ld [$CA8B],a
ld a,[$C093]
and $30
jp nz,Logged_0x1EB94
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
cp $01
jr z,Logged_0x1E8D3
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x1E8DD
Logged_0x1E8D3:
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
Logged_0x1E8DD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E8ED:
ld a,[$CA77]
and a
jr nz,Logged_0x1E8FB
ld a,[$C093]
bit 0,a
jp nz,Logged_0x1C2B9
Logged_0x1E8FB:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1E7AB
bit 0,a
jp nz,Logged_0x1C2B9
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1E985
bit 4,a
jr nz,Logged_0x1E919
bit 5,a
jr nz,Logged_0x1E94A
jr Logged_0x1E970
Logged_0x1E919:
ld a,[$CA69]
and a
jp z,Logged_0x1E73E
ld a,$01
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x151E
call Logged_0x1259
Logged_0x1E93D:
ld a,[$CA86]
cp $10
jr c,Logged_0x1E949
ld a,$0C
ld [$CA86],a
Logged_0x1E949:
ret
Logged_0x1E94A:
ld a,[$CA69]
and a
jp nz,Logged_0x1E73E
ld a,$00
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1E93D
Logged_0x1E970:
call Logged_0x1700
jr z,Logged_0x1E99B
ld a,$06
ld [$FF00+$85],a
ld a,$81
ld [$FF00+$8D],a
ld a,$5C
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E985:
call Logged_0x1700
jp z,Logged_0x1E855
ld a,$06
ld [$FF00+$85],a
ld a,$7F
ld [$FF00+$8D],a
ld a,$5E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E99B:
xor a
ld [$CA86],a
ld a,$00
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA8B],a
ld [$CA89],a
ld [$CA9A],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $00
ret nz
ld a,b
and a
jp nz,Logged_0x1E855
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EA24
ld a,$42
ld [$CA81],a
ld a,$52
ld [$CA82],a
jr Logged_0x1EA2E
Logged_0x1EA24:
ld a,$42
ld [$CA81],a
ld a,$5F
ld [$CA82],a
Logged_0x1EA2E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EA3E:
ld a,[$CA69]
and a
jr nz,Logged_0x1EA5A
ld a,[$C093]
bit 4,a
jp nz,Logged_0x1E73E
Logged_0x1EA4C:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1CB3A
bit 7,a
jp nz,Logged_0x1C73B
ret
Logged_0x1EA5A:
ld a,[$C093]
bit 5,a
jp nz,Logged_0x1E73E
jr Logged_0x1EA4C
Logged_0x1EA64:
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $14
jr c,Logged_0x1EA82
ld a,$10
ld [$CA86],a
Logged_0x1EA82:
ret
Logged_0x1EA83:
ld a,[$CA75]
cp $1C
jr c,Logged_0x1EAD8
ld a,[$C093]
and $30
jr z,Logged_0x1EAD8
bit 4,a
jr nz,Logged_0x1EAB4
ld a,$00
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EAD1
ld b,$01
call Logged_0x1259
jr Logged_0x1EAD1
Logged_0x1EAB4:
ld a,$01
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EAD1
ld b,$01
call Logged_0x1270
Logged_0x1EAD1:
xor a
ld [$CA86],a
jp Logged_0x1C2AE
Logged_0x1EAD8:
ld a,[$CA69]
cp $01
jr z,Logged_0x1EAFE
ld b,$01
call Logged_0x1270
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1EB1B
ld b,$01
call Logged_0x1259
jr Logged_0x1EB1B
Logged_0x1EAFE:
ld b,$01
call Logged_0x1259
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1EB1B
ld b,$01
call Logged_0x1270
Logged_0x1EB1B:
ld a,[$CA75]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
bit 7,[hl]
jr z,Logged_0x1EB36
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
jr Logged_0x1EB45
Logged_0x1EB36:
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x1EB45
ld [hl],$27
Logged_0x1EB45:
ret
Logged_0x1EB46:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1EC19
bit 1,a
jp nz,Logged_0x1EC4B
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1EB79
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $12
ret nz
ld a,b
and a
jp z,Logged_0x1E99B
Logged_0x1EB79:
ld a,$F1
ld [$CA6F],a
ld a,[$C093]
and $30
ret z
bit 4,a
jr nz,Logged_0x1EB8F
ld a,$00
ld [$CA69],a
jr Logged_0x1EB94
Logged_0x1EB8F:
ld a,$01
ld [$CA69],a
Logged_0x1EB94:
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$13
ld [$CA83],a
ld a,$01
ld [$CA8B],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA89],a
ld [$CA9A],a
ld [$CEED],a
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,[$CA69]
cp $01
jr z,Logged_0x1EC0D
ld a,$4A
ld [$CA81],a
ld a,$26
ld [$CA82],a
Logged_0x1EBFD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC0D:
ld a,$4A
ld [$CA81],a
ld a,$2F
ld [$CA82],a
jr Logged_0x1EBFD
Logged_0x1EC19:
ld a,$01
ld [$CA74],a
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $12
jr z,Logged_0x1EC3C
cp $13
ret nz
Logged_0x1EC3C:
ld a,b
and a
jp z,Logged_0x1ED3F
xor a
ld [$CA74],a
ld a,$F1
ld [$CA6F],a
ret
Logged_0x1EC4B:
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EC66
jp Logged_0x1E7AB
Logged_0x1EC66:
ld a,$F1
ld [$CA6F],a
ret
Logged_0x1EC6C:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1EC19
bit 1,a
jr nz,Logged_0x1EC4B
ld a,[$C093]
bit 7,a
jr nz,Logged_0x1EC9D
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $13
ret nz
ld a,b
and a
jp z,Logged_0x1E99B
Logged_0x1EC9D:
ld a,$F1
ld [$CA6F],a
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1ECB0
bit 5,a
jr nz,Logged_0x1ECF2
jp Logged_0x1E855
Logged_0x1ECB0:
ld a,[$CA69]
and a
jr nz,Logged_0x1ECCC
ld a,$01
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4A
ld [$CA81],a
ld a,$2F
ld [$CA82],a
Logged_0x1ECCC:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
call Logged_0x151E
call Logged_0x1259
ld a,[$CA86]
cp $04
jr c,Logged_0x1ECF1
ld a,$00
ld [$CA86],a
Logged_0x1ECF1:
ret
Logged_0x1ECF2:
ld a,[$CA69]
and a
jr z,Logged_0x1ED0E
ld a,$00
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4A
ld [$CA81],a
ld a,$26
ld [$CA82],a
Logged_0x1ED0E:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
call Logged_0x153F
call Logged_0x1270
ld a,[$CA86]
cp $04
jr c,Logged_0x1ED33
ld a,$00
ld [$CA86],a
Logged_0x1ED33:
ret
Logged_0x1ED34:
xor a
ld [$CA86],a
ld a,$18
ld [$CA75],a
jr Logged_0x1ED4B
Logged_0x1ED3F:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
Logged_0x1ED4B:
ld a,$14
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$02
ld [$CA74],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EDAF
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x1EDB9
Logged_0x1EDAF:
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
Logged_0x1EDB9:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
ld b,$02
call Logged_0x129E
ret
Logged_0x1EDD3:
ld a,[$CA9A]
and $F0
add a,$03
ld [$CA9A],a
ld a,$18
ld [$CA75],a
ld a,$03
ld [$CA74],a
jr Logged_0x1EE0D
Logged_0x1EDE9:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld [$CA96],a
ld a,[$CA3C]
cp $07
ld a,$02
jr c,Logged_0x1EE0A
ld hl,$C093
bit 6,[hl]
jr z,Logged_0x1EE0A
ld a,$03
Logged_0x1EE0A:
ld [$CA74],a
Logged_0x1EE0D:
ld a,$21
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EE66
ld a,$5F
ld [$CA81],a
ld a,$A8
ld [$CA82],a
jr Logged_0x1EE70
Logged_0x1EE66:
ld a,$5F
ld [$CA81],a
ld a,$AB
ld [$CA82],a
Logged_0x1EE70:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
call Logged_0x1DA4F
ret
Logged_0x1EE88:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1EDE9
ld a,[$C093]
bit 1,a
jp nz,Logged_0x1DC8B
bit 7,a
jp nz,Logged_0x1E855
and $30
jr nz,Logged_0x1EEA2
ret
Logged_0x1EEA2:
ld a,$20
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1EEEB
ld a,$00
ld [$CA69],a
ld a,$49
ld [$CA81],a
ld a,$FE
ld [$CA82],a
Logged_0x1EEDB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EEEB:
ld a,$01
ld [$CA69],a
ld a,$4A
ld [$CA81],a
ld a,$0F
ld [$CA82],a
jr Logged_0x1EEDB
Logged_0x1EEFC:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1DC8B
bit 0,a
jp nz,Logged_0x1EDE9
bit 7,a
jp nz,Logged_0x1EFAF
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1EF31
bit 5,a
jr nz,Logged_0x1EF4D
call Logged_0x1700
jr z,Logged_0x1EF2E
ld a,$06
ld [$FF00+$85],a
ld a,$73
ld [$FF00+$8D],a
ld a,$67
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EF2E:
jp Logged_0x1EFE7
Logged_0x1EF31:
ld a,[$CA69]
and a
jp z,Logged_0x1EFE7
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
jr Logged_0x1EF69
Logged_0x1EF4D:
ld a,[$CA69]
and a
jp nz,Logged_0x1EFE7
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
jr Logged_0x1EF7B
Logged_0x1EF69:
call Logged_0x151E
call Logged_0x1259
ld a,[$C189]
and a
jr z,Logged_0x1EF8D
bit 0,a
jr z,Logged_0x1EF8D
jr Unknown_0x1EFC5
Logged_0x1EF7B:
call Logged_0x153F
call Logged_0x1270
ld a,[$C189]
and a
jr z,Logged_0x1EF8D
bit 0,a
jr nz,Logged_0x1EF8D
jr Unknown_0x1EFC5
Logged_0x1EF8D:
ld a,[$CA9A]
bit 7,a
jr nz,Logged_0x1EFA1
ld a,[$CA86]
cp $10
jr c,Logged_0x1EFA0
ld a,$0C
ld [$CA86],a
Logged_0x1EFA0:
ret
Logged_0x1EFA1:
ld a,[$CA86]
cp $08
jr c,Logged_0x1EFA0
ld a,$04
ld [$CA86],a
jr Logged_0x1EFA0
Logged_0x1EFAF:
call Logged_0x1700
jp z,Logged_0x1E855
ld a,$06
ld [$FF00+$85],a
ld a,$7F
ld [$FF00+$8D],a
ld a,$5E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1EFC5:
ld a,[$CA9A]
bit 7,a
jr nz,Unknown_0x1EFD9
ld a,[$CA86]
cp $08
jr c,Unknown_0x1EFD8
ld a,$04
ld [$CA86],a
Unknown_0x1EFD8:
ret
Unknown_0x1EFD9:
ld a,[$CA86]
cp $04
jr c,Unknown_0x1EFD8
ld a,$00
ld [$CA86],a
jr Unknown_0x1EFD8
Logged_0x1EFE7:
ld a,[$CA9A]
and a
jp z,Logged_0x1E99B
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA96],a
ld [$CA8B],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,[$CA9A]
and $F0
add a,$03
ld [$CA9A],a
ld a,$1F
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1F05D
ld a,$4A
ld [$CA81],a
ld a,$20
ld [$CA82],a
jr Logged_0x1F067
Logged_0x1F05D:
ld a,$4A
ld [$CA81],a
ld a,$23
ld [$CA82],a
Logged_0x1F067:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F077:
ld a,[$C093]
bit 0,a
jr nz,Logged_0x1F094
xor a
ld [$CA77],a
ld a,[$CA75]
cp $18
jr nc,Logged_0x1F094
ld a,[$CA76]
and a
jr nz,Logged_0x1F094
ld a,$18
ld [$CA75],a
Logged_0x1F094:
ld a,[$CA75]
ld e,a
ld d,$00
ld a,[$CA74]
dec a
jr z,Logged_0x1F0AD
dec a
jr z,Logged_0x1F0A8
ld hl,$18CF
jr Logged_0x1F0B0
Logged_0x1F0A8:
ld hl,$18A7
jr Logged_0x1F0B0
Logged_0x1F0AD:
ld hl,$18F7
Logged_0x1F0B0:
add hl,de
bit 7,[hl]
jr z,Logged_0x1F0C2
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
jr Logged_0x1F0D5
Logged_0x1F0C2:
xor a
ld [$CA76],a
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x1F0D5
ld [hl],$27
Logged_0x1F0D5:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1F0E1
bit 5,a
jr nz,Logged_0x1F0E7
ret
Logged_0x1F0E1:
call Logged_0x1F0ED
jp Logged_0x1762
Logged_0x1F0E7:
call Logged_0x1F104
jp Logged_0x1762
Logged_0x1F0ED:
xor a
ld [$CA95],a
ld a,[$CA69]
and a
jr nz,Logged_0x1F101
ld a,$01
ld [$CA69],a
ld a,$01
ld [$CA95],a
Logged_0x1F101:
jp Logged_0x1F11B
Logged_0x1F104:
xor a
ld [$CA95],a
ld a,[$CA69]
and a
jr z,Logged_0x1F118
ld a,$00
ld [$CA69],a
ld a,$01
ld [$CA95],a
Logged_0x1F118:
jp Logged_0x1F135
Logged_0x1F11B:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
call Logged_0x151E
call Logged_0x1259
ret
Logged_0x1F135:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
call Logged_0x153F
call Logged_0x1270
ret
Logged_0x1F14F:
ld a,[$CA3C]
cp $02
ret c
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1F161
bit 5,a
jr nz,Logged_0x1F185
ret
Logged_0x1F161:
ld a,[$CA69]
cp $01
jr z,Logged_0x1F16D
ld a,$01
ld [$CA69],a
Logged_0x1F16D:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x1F185:
ld a,[$CA69]
cp $00
jr z,Logged_0x1F191
ld a,$00
ld [$CA69],a
Logged_0x1F191:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x1F1A9:
ld a,[$C0DB]
cp $02
jr z,Logged_0x1F1F5
ld a,[$CA3C]
cp $02
jr c,Logged_0x1F1F5
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1D1E4
bit 0,a
jp nz,Logged_0x1D1DD
ld a,[$C093]
and $F0
jp nz,Logged_0x1F24C
ld a,[$CA85]
and a
jr nz,Logged_0x1F1F5
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1F1EB
ld a,$55
ld [$CA81],a
ld a,$69
ld [$CA82],a
jr Logged_0x1F1F5
Logged_0x1F1EB:
ld a,$55
ld [$CA81],a
ld a,$73
ld [$CA82],a
Logged_0x1F1F5:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$CA85],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F246
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jp z,Logged_0x1CF7A
ld a,[$C08F]
and $01
ret nz
ld hl,$CEE2
ld a,[hld]
or [hl]
and $0C
ret nz
ld b,$01
call Logged_0x129E
ret
Logged_0x1F246:
ld a,$40
ld [$C0E1],a
ret
Logged_0x1F24C:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1F263
ld a,$25
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F263:
ld a,[$CA85]
and a
jr z,Logged_0x1F28F
xor a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1F285
ld a,$55
ld [$CA81],a
ld a,$76
ld [$CA82],a
jr Logged_0x1F28F
Logged_0x1F285:
ld a,$55
ld [$CA81],a
ld a,$8B
ld [$CA82],a
Logged_0x1F28F:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C08F]
and $01
jr z,Logged_0x1F2B2
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1F2C0
bit 5,a
jp nz,Logged_0x1F357
ret
Logged_0x1F2B2:
ld a,[$C093]
bit 6,a
jp nz,Logged_0x1F3D9
bit 7,a
jp nz,Logged_0x1F3A7
ret
Logged_0x1F2C0:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1F2DE
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1F2DE:
ld a,[$CA83]
cp $10
ret z
ld a,[$CA69]
and a
jr nz,Logged_0x1F310
ld a,$01
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$55
ld [$CA81],a
ld a,$8B
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F310:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F345
ld a,[$CA69]
and a
jr z,Logged_0x1F337
ld hl,$CEE2
ld a,[hld]
or [hl]
and $03
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x1F337:
ld hl,$CEE2
ld a,[hld]
or [hl]
and $03
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x1F345:
ld a,[$CA69]
and a
jr z,Logged_0x1F351
ld a,$10
ld [$C0E1],a
ret
Logged_0x1F351:
ld a,$20
ld [$C0E1],a
ret
Logged_0x1F357:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1F375
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1F375:
ld a,[$CA83]
cp $10
ret z
ld a,[$CA69]
and a
jr z,Logged_0x1F310
ld a,$00
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$55
ld [$CA81],a
ld a,$76
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F3A7:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1F3CB
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$80
ld [$C0E1],a
ret
Logged_0x1F3CB:
ld hl,$CEE2
ld a,[hld]
or [hl]
and $0C
ret nz
ld b,$01
call Logged_0x1287
ret
Logged_0x1F3D9:
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jp z,Logged_0x1CF7A
ld hl,$CEE2
ld a,[hld]
or [hl]
and $0C
ret nz
ld b,$01
call Logged_0x129E
ret
Logged_0x1F40F:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1C270
bit 1,a
jr z,Logged_0x1F448
ld a,[$CA3C]
cp $02
jp c,Logged_0x1F448
ld a,[$C093]
bit 6,a
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
cp $02
jp z,Unknown_0x1D416
ld b,$03
call Logged_0x1287
jp Logged_0x1D1E4
Logged_0x1F448:
ld a,[$C093]
bit 7,a
ret z
ld a,[$CA3C]
cp $02
jp c,Unknown_0x1D416
ld a,$06
ld [$FF00+$85],a
ld a,$12
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
cp $02
jp z,Unknown_0x1D416
jp Logged_0x1CE95
Logged_0x1F470:
ld hl,$CA6D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1F47E
xor a
ld [hl],a
jp Logged_0x1CE95
Logged_0x1F47E:
ld a,[$C093]
and $03
jp z,Logged_0x1CE95
ld a,[$CA9C]
bit 4,a
jr nz,Logged_0x1F49C
bit 5,a
jr nz,Logged_0x1F4FB
bit 6,a
jp nz,Logged_0x1F600
bit 7,a
jp nz,Logged_0x1F5C3
ret
Logged_0x1F49C:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1F4BA
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1F4BA:
ld a,[$CA83]
cp $10
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp nz,Logged_0x1D2EA
ld a,[$CA6D]
ld e,a
ld d,$00
ld hl,$786C
ld a,[$CA9C]
and $C0
jr z,Logged_0x1F4E7
ld hl,$78BC
Logged_0x1F4E7:
add hl,de
ld b,[hl]
call Logged_0x1259
ld a,[$CA9C]
bit 6,a
jp nz,Logged_0x1F600
bit 7,a
jp nz,Logged_0x1F5C3
jr Logged_0x1F55A
Logged_0x1F4FB:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1F519
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1F519:
ld a,[$CA83]
cp $10
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp nz,Logged_0x1D2EA
ld a,[$CA6D]
ld e,a
ld d,$00
ld hl,$786C
ld a,[$CA9C]
and $C0
jr z,Logged_0x1F546
ld hl,$78BC
Logged_0x1F546:
add hl,de
ld b,[hl]
call Logged_0x1270
ld a,[$CA9C]
bit 6,a
jp nz,Logged_0x1F600
bit 7,a
jp nz,Logged_0x1F5C3
jr Logged_0x1F55A
Logged_0x1F55A:
ld a,[$C093]
and $C0
ret z
bit 7,a
jr nz,Logged_0x1F599
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F593
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jp z,Logged_0x1CF7A
ld b,$01
call Logged_0x129E
ret
Logged_0x1F593:
ld hl,$C0E1
set 6,[hl]
ret
Logged_0x1F599:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F5B2
ld b,$01
call Logged_0x1287
ret
Logged_0x1F5B2:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld hl,$C0E1
set 7,[hl]
ret
Logged_0x1F5C3:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F5EF
ld a,[$CA6D]
ld e,a
ld d,$00
ld hl,$786C
ld a,[$CA9C]
and $30
jr z,Logged_0x1F5E9
ld hl,$7894
Logged_0x1F5E9:
add hl,de
ld b,[hl]
call Logged_0x1287
ret
Logged_0x1F5EF:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld hl,$C0E1
set 7,[hl]
ret
Logged_0x1F600:
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1F642
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jp z,Logged_0x1CF7A
ld a,[$CA6D]
ld e,a
ld d,$00
ld hl,$786C
ld a,[$CA9C]
and $30
jr z,Logged_0x1F63C
ld hl,$7894
Logged_0x1F63C:
add hl,de
ld b,[hl]
call Logged_0x129E
ret
Logged_0x1F642:
ld hl,$C0E1
set 6,[hl]
jp Logged_0x1CDC4
Logged_0x1F64A:
ld a,[$CA8C]
and a
ret z
cp $16
jr nc,Logged_0x1F68B
cp $10
jr nc,Logged_0x1F67C
ld a,[$CA83]
cp $15
jr z,Logged_0x1F67B
cp $16
jr z,Logged_0x1F67B
ld a,$10
ld [$CA8C],a
ld a,[$CA79]
cp $48
jr nz,Logged_0x1F67B
ld a,[$CA7A]
cp $10
jr nz,Logged_0x1F67B
ld hl,$4800
call Logged_0x1AF6
Logged_0x1F67B:
ret
Logged_0x1F67C:
ld a,[$C08F]
and $03
ret nz
ld a,[$CA8C]
inc a
ld [$CA8C],a
jr Logged_0x1F6B9
Logged_0x1F68B:
ld a,[$C08F]
and $01
ret nz
ld a,[$CA8C]
inc a
ld [$CA8C],a
cp $28
jr c,Logged_0x1F6B9
xor a
ld [$CA8C],a
ld [$CA8D],a
ld a,[$C093]
and $B0
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F6B9:
ld a,[$CA8D]
xor $01
ld [$CA8D],a
ret
Logged_0x1F6C2:
ld a,[$C08F]
and $07
jr z,Logged_0x1F6CE
cp $03
jr z,Logged_0x1F6D5
ret
Logged_0x1F6CE:
ld hl,$4810
call Logged_0x1AF6
ret
Logged_0x1F6D5:
ld hl,$4800
call Logged_0x1AF6
ret
Logged_0x1F6DC:
ld a,[$CED4]
and a
ret nz
ld hl,$CA97
ld a,[hl]
and a
jr z,Logged_0x1F726
cp $10
jr c,Logged_0x1F72B
ld a,[$CA99]
and a
jr nz,Logged_0x1F72B
ld a,[$CA98]
and a
jr nz,Logged_0x1F72B
ld a,[$CA74]
and a
jr nz,Logged_0x1F72B
ld a,[$C0DB]
and a
jr nz,Logged_0x1F72B
ld a,[$CA8E]
and a
jr nz,Logged_0x1F72B
ld a,[$C0D7]
and a
jr nz,Logged_0x1F72B
ld a,[$CA8A]
and a
jr nz,Logged_0x1F72B
ld a,[$CAC9]
and a
jr nz,Logged_0x1F72B
ld a,[$CA83]
cp $2B
jr z,Logged_0x1F72B
jr Logged_0x1F73C
Unknown_0x1F725:
INCBIN "baserom.gbc", $1F725, $1F726 - $1F725
Logged_0x1F726:
xor a
ld [$CA98],a
ret
Logged_0x1F72B:
dec [hl]
ld a,[hl]
and $02
jr nz,Logged_0x1F736
xor a
ld [$C0BC],a
ret
Logged_0x1F736:
ld a,$02
ld [$C0BC],a
ret
Logged_0x1F73C:
ld a,[$CA83]
cp $3A
jp z,Logged_0x1F7E6
cp $3B
jp z,Logged_0x1F7E6
cp $4C
jp z,Logged_0x1F7E6
ld a,$2B
ld [$CA83],a
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA89],a
ld [$CA9D],a
ld [$CA9A],a
ld a,$F1
ld [$CA6F],a
ld a,[$CA8B]
and a
jr nz,Logged_0x1F77D
ld a,$E5
ld [$CA6F],a
ld a,$0A
ld [$CA75],a
ld a,$01
ld [$CA74],a
Logged_0x1F77D:
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1F7CC
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x1F7D6
Logged_0x1F7CC:
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
Logged_0x1F7D6:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F7E6:
ld a,$3C
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0C
ld [$FF00+hSFXIDLow],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA99],a
inc a
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$59
ld [$CA81],a
ld a,$48
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1F825:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1F85C
ld a,[$CA69]
and a
jr nz,Logged_0x1F849
ld a,[$C094]
bit 4,a
jr nz,Unknown_0x1F855
call Logged_0x1F135
Logged_0x1F83C:
ld a,[$CA86]
cp $08
jr c,Logged_0x1F848
ld a,$04
ld [$CA86],a
Logged_0x1F848:
ret
Logged_0x1F849:
ld a,[$C094]
bit 5,a
jr nz,Unknown_0x1F855
call Logged_0x1F11B
jr Logged_0x1F83C
Unknown_0x1F855:
xor a
ld [$CA9D],a
jp Logged_0x1E99B
Logged_0x1F85C:
xor a
ld [$CA9D],a
jp Logged_0x1C2B9
ld hl,$786C
add hl,de
ld b,[hl]
call Logged_0x129E
ret
LoggedData_0x1F86C:
INCBIN "baserom.gbc", $1F86C, $1F8B2 - $1F86C
Unknown_0x1F8B2:
INCBIN "baserom.gbc", $1F8B2, $1F8BC - $1F8B2
LoggedData_0x1F8BC:
INCBIN "baserom.gbc", $1F8BC, $1F8DA - $1F8BC
Unknown_0x1F8DA:
INCBIN "baserom.gbc", $1F8DA, $20000 - $1F8DA
SECTION "Bank08", ROMX, BANK[$08]
ld a,[$CA8A]
and a
ret nz
ld a,[$CA73]
and a
ret nz
ld a,[$CA9B]
and a
ret nz
xor a
ld [$CAC9],a
ld hl,$D000
Logged_0x20016:
ld a,h
cp $D1
ret z
ld [$C1B6],a
ld a,l
ld [$C1B7],a
ld a,[hl]
and $03
cp $03
jr z,Logged_0x20036
Logged_0x20028:
ld a,[$C1B6]
ld h,a
ld a,[$C1B7]
ld l,a
ld de,$0020
add hl,de
jr Logged_0x20016
Logged_0x20036:
push hl
ld e,$1D
ld d,$00
add hl,de
ld a,[hld]
ld [$C1B8],a
ld a,[hl]
pop hl
and a
jr nz,Logged_0x20028
ld e,$08
ld d,$00
add hl,de
ld a,[hli]
ld [$C1B9],a
ld a,[hli]
ld [$C1BA],a
ld a,[hli]
ld [$C1BB],a
ld a,[hli]
ld [$C1BC],a
ld a,[hli]
ld [$C1BD],a
ld a,[hli]
ld [$C1BE],a
ld a,[hl]
ld [$C1BF],a
ld e,$0C
ld d,$00
add hl,de
ld a,[hl]
bit 7,a
jr nz,Logged_0x20074
ld a,$00
jr Logged_0x20076
Logged_0x20074:
ld a,$01
Logged_0x20076:
ld [$C1C6],a
xor a
ld [$C1C0],a
ld a,$FF
ld [$C1C2],a
ld [$C1C1],a
ld [$C1C3],a
ld [$C1C4],a
ld e,$D0
ld hl,$C1BA
ld a,[$C1BE]
add a,[hl]
sub e
ld b,a
ld hl,$CA70
ld a,[$CA87]
add a,[hl]
sub e
sub b
jp c,Logged_0x20028
ld c,a
ld hl,$CA6F
ld a,[$CA87]
add a,[hl]
sub e
ld b,a
ld hl,$C1BB
ld a,[$C1BE]
add a,[hl]
sub e
sub b
jp c,Logged_0x20028
ld d,a
ld a,d
sub c
jr c,Logged_0x200C9
jr z,Logged_0x200C5
ld a,c
ld [$C1C1],a
jr Logged_0x200CD
Logged_0x200C5:
ld a,c
ld [$C1C1],a
Logged_0x200C9:
ld a,d
ld [$C1C2],a
Logged_0x200CD:
ld hl,$C1BC
ld a,[$C1BF]
add a,[hl]
sub e
ld b,a
ld hl,$CA72
ld a,[$CA88]
add a,[hl]
sub e
sub b
jp c,Logged_0x20028
ld c,a
ld hl,$CA71
ld a,[$CA88]
add a,[hl]
sub e
ld b,a
ld hl,$C1BD
ld a,[$C1BF]
add a,[hl]
sub e
sub b
jp c,Logged_0x20028
ld d,a
sub c
jr c,Logged_0x20108
jr z,Logged_0x20104
ld a,c
ld [$C1C3],a
jr Logged_0x2010C
Logged_0x20104:
ld a,c
ld [$C1C3],a
Logged_0x20108:
ld a,d
ld [$C1C4],a
Logged_0x2010C:
ld hl,$C1C0
ld a,$F0
ld [hl],a
ld a,[$C1C4]
ld b,a
ld a,[$C1C3]
ld c,a
cp b
jr z,Logged_0x20126
jr c,Logged_0x20123
res 5,[hl]
jr Logged_0x20126
Logged_0x20123:
res 4,[hl]
ld b,c
Logged_0x20126:
ld a,[$C1C2]
ld d,a
ld a,[$C1C1]
ld e,a
cp d
jr z,Logged_0x2013A
jr c,Logged_0x20137
res 6,[hl]
jr Logged_0x2013A
Logged_0x20137:
res 7,[hl]
ld d,e
Logged_0x2013A:
ld a,b
cp d
jr z,Logged_0x2014A
jr c,Logged_0x20146
res 4,[hl]
res 5,[hl]
jr Logged_0x2014A
Logged_0x20146:
res 6,[hl]
res 7,[hl]
Logged_0x2014A:
ld a,[$C1B9]
and $7F
rst JumpList
dw Logged_0x20B6B
dw Logged_0x20D1D
dw Logged_0x20D20
dw Unknown_0x20D47
dw Logged_0x20D6E
dw Logged_0x20D7E
dw Logged_0x20D81
dw Unknown_0x20D8C
dw Unknown_0x20DEB
dw Unknown_0x20E39
dw Logged_0x20E60
dw Logged_0x20E6A
dw Logged_0x20E77
dw Logged_0x20E82
dw Logged_0x20E97
dw Logged_0x20F6A
dw Logged_0x20FED
dw Logged_0x20FF4
dw Logged_0x20FFB
dw Logged_0x21002
dw Logged_0x2101C
dw Logged_0x2103C
dw Logged_0x2105C
dw Logged_0x2107C
dw Logged_0x21156
dw Logged_0x21245
dw Logged_0x21358
dw Logged_0x21433
dw Logged_0x21455
dw Logged_0x21548
dw Logged_0x21569
dw Logged_0x215A2
dw Logged_0x215E7
dw Logged_0x2164F
dw Logged_0x21675
dw Logged_0x21774
dw Logged_0x217B9
dw Logged_0x21819
dw Logged_0x21853
dw Logged_0x21887
dw Logged_0x218E7
dw Logged_0x21999
dw Logged_0x20E0F
dw Logged_0x21A4F
dw Logged_0x21A47
dw Logged_0x21A52
dw Logged_0x21A8C
dw Logged_0x21A97
dw Logged_0x21AC3
dw Logged_0x21AF1
dw Logged_0x21B08
dw Logged_0x21B0B
dw Logged_0x21B2B
dw Logged_0x21B42
dw Logged_0x21B78
dw Logged_0x21573
dw Logged_0x21B89
dw Logged_0x21C17
dw Unknown_0x21C26
dw Logged_0x21C56
dw Logged_0x21C61
dw Logged_0x21C86
dw Logged_0x21C98
dw Logged_0x21CA8
dw Unknown_0x21CCF
dw Logged_0x21CE9
dw Logged_0x21CF8
dw Logged_0x207ED
dw Logged_0x21CFD
dw Logged_0x21D17
dw Unknown_0x21D3B
dw Unknown_0x21D64
dw Logged_0x21D6F
dw Logged_0x21D88
dw Logged_0x21DD3
dw Logged_0x21DF8
dw Logged_0x21E2E
dw Logged_0x21E3E
dw Logged_0x21E9C
dw Logged_0x21EA6
dw Logged_0x21ECD
dw Unknown_0x21F01
dw Logged_0x21F28
dw Unknown_0x20202
dw Unknown_0x20202
dw Unknown_0x20202
dw Unknown_0x20202
dw Unknown_0x20202
dw Unknown_0x20202
Unknown_0x20202:
ret
Logged_0x20203:
ld hl,$D000
ld de,$0020
Logged_0x20209:
ld a,h
cp $D1
ret z
ld a,[hl]
and $03
cp $01
jr z,Logged_0x2021B
cp $03
jr z,Logged_0x2021B
Logged_0x20218:
add hl,de
jr Logged_0x20209
Logged_0x2021B:
ld a,[$C1B7]
cp l
jr z,Logged_0x20218
push hl
ld c,$1C
ld b,$00
add hl,bc
ld [hl],$08
pop hl
jr Logged_0x20218
Logged_0x2022C:
ld a,[$CA9D]
and a
jp nz,Logged_0x20350
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20447
Logged_0x2023B:
ld a,[$CA93]
and a
jr z,Logged_0x20257
cp $02
jr z,Logged_0x20257
cp $01
jp z,Logged_0x20939
cp $03
jp z,Logged_0x20350
cp $04
jp z,Logged_0x205E7
jp Logged_0x20028
Logged_0x20257:
ld a,[$CA89]
and a
jp nz,Logged_0x20350
ld b,$01
call Logged_0x20657
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA8E]
cp $42
jr z,Logged_0x2028A
and a
ret nz
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x20283
ld a,$00
ld [$CA69],a
jr Logged_0x20288
Logged_0x20283:
ld a,$01
ld [$CA69],a
Logged_0x20288:
jr Logged_0x202B5
Logged_0x2028A:
ld a,[$CA74]
and a
ret z
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x202A0
ld a,$00
ld [$CA69],a
jr Logged_0x202A5
Logged_0x202A0:
ld a,$01
ld [$CA69],a
Logged_0x202A5:
ld a,$0A
ld [$FF00+$85],a
ld a,$57
ld [$FF00+$8D],a
ld a,$47
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x202B5:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$0E
ld [$CA75],a
ld a,$01
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA9A],a
ld a,$19
ld [$CA83],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA8B]
and a
jr nz,Logged_0x20332
ld a,[$CA69]
and a
jr nz,Logged_0x20326
ld a,$4A
ld [$CA81],a
ld a,$71
ld [$CA82],a
Logged_0x20316:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20326:
ld a,$4A
ld [$CA81],a
ld a,$6C
ld [$CA82],a
jr Logged_0x20316
Logged_0x20332:
ld a,[$CA69]
and a
jr nz,Logged_0x20344
ld a,$4A
ld [$CA81],a
ld a,$3B
ld [$CA82],a
jr Logged_0x20316
Logged_0x20344:
ld a,$4A
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x20316
Logged_0x20350:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x20382
ld a,$20
ld [$C1C0],a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,$08
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x203A0
Logged_0x20382:
ld a,$10
ld [$C1C0],a
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x203A0:
ld b,$02
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld b,$02
call Logged_0x20657
ld a,[$CA8E]
cp $84
jr z,Logged_0x20422
cp $50
jr z,Logged_0x20432
and a
ret nz
ld a,[$CA9D]
and a
jr z,Logged_0x203E5
ld a,[$C1B9]
bit 7,a
ret z
ld a,[$CA3C]
cp $05
ret nc
ld a,$07
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x203E5:
ld a,[$C1B9]
bit 7,a
jr z,Logged_0x203FC
ld a,$07
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x203FC:
ld a,[$CA74]
and a
jr nz,Logged_0x20412
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20412:
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20422:
ld a,$0A
ld [$FF00+$85],a
ld a,$31
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20432:
ld a,[$CA8F]
and a
ret nz
ld a,$7B
ld [$FF00+$85],a
ld a,$B2
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20447:
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA96]
dec a
jr nz,Logged_0x2045E
ld a,[$CA8E]
cp $84
jp z,Logged_0x205E7
jp Logged_0x20602
Logged_0x2045E:
ld a,[$CA8E]
and a
jp nz,Logged_0x20585
xor a
ld [$CA89],a
ld a,[$CA9D]
and a
jp nz,Logged_0x20350
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x20484
ld a,[$C1C0]
or $20
ld [$C1C0],a
jr Logged_0x2048C
Logged_0x20484:
ld a,[$C1C0]
or $10
ld [$C1C0],a
Logged_0x2048C:
ld a,[$C1C0]
bit 7,a
jr nz,Logged_0x20506
ld a,[$CA87]
ld b,a
ld a,[$C1BE]
cp b
jr c,Logged_0x20506
ld a,[$CA9A]
and $0F
cp $03
jr z,Logged_0x204D9
xor a
ld [$CA9A],a
ld a,[$CA8B]
and a
jr nz,Logged_0x204C8
ld a,[$C093]
and a
jp z,Logged_0x20575
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
jr Logged_0x204E8
Logged_0x204C8:
ld a,$07
ld [$FF00+$85],a
ld a,$3F
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
jr Logged_0x204E8
Logged_0x204D9:
ld a,$07
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
Logged_0x204E8:
ld a,$01
ld [$CA76],a
ld a,$0A
ld [$CA75],a
ld a,[$C093]
bit 0,a
jr z,Logged_0x20578
ld a,[$CA3C]
cp $07
jr c,Logged_0x20578
xor a
ld [$CA75],a
jr Logged_0x20578
Logged_0x20506:
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA8B]
and a
jr nz,Logged_0x2055E
ld a,[$CA9A]
and $0F
cp $03
jr z,Logged_0x20547
xor a
ld [$CA9A],a
ld a,[$CA74]
and a
jr nz,Logged_0x20536
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20578
Logged_0x20536:
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20578
Logged_0x20547:
ld a,[$CA74]
and a
jr z,Logged_0x20578
ld a,$07
ld [$FF00+$85],a
ld a,$D3
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20578
Logged_0x2055E:
ld a,[$CA74]
and a
jr z,Logged_0x20578
ld a,$07
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20578
Logged_0x20575:
call Logged_0x20939
Logged_0x20578:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld b,$04
jp Logged_0x20657
Logged_0x20585:
ld a,[$CA8E]
cp $C1
jr nz,Logged_0x20593
ld a,[$CA8F]
cp $02
jr nc,Logged_0x205E7
Logged_0x20593:
ld a,[$CA8E]
cp $84
jp z,Logged_0x20350
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x205AF
ld a,[$C1C0]
or $20
ld [$C1C0],a
jr Logged_0x205B7
Logged_0x205AF:
ld a,[$C1C0]
or $10
ld [$C1C0],a
Logged_0x205B7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld b,$04
call Logged_0x20657
ld a,[$CA8E]
cp $42
jp z,Logged_0x2028A
cp $09
jr z,Logged_0x205D1
ret
Logged_0x205D1:
ld a,[$CA93]
cp $05
ret z
ld a,$0A
ld [$FF00+$85],a
ld a,$B2
ld [$FF00+$8D],a
ld a,$60
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x205E7:
ld b,$05
call Logged_0x20657
ld a,[$CA8E]
cp $48
ret nz
ld a,$0A
ld [$FF00+$85],a
ld a,$A8
ld [$FF00+$8D],a
ld a,$5E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20602:
ld a,[$CA8E]
cp $06
jr z,Logged_0x2060C
and a
jr nz,Logged_0x205E7
Logged_0x2060C:
ld a,[$CA9A]
and $0F
cp $03
jr z,Logged_0x2062A
xor a
ld [$CA9A],a
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20639
Logged_0x2062A:
ld a,$07
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
Logged_0x20639:
ld a,$01
ld [$CA76],a
ld a,$0A
ld [$CA75],a
ld a,[$C093]
bit 0,a
jr z,Logged_0x20655
ld a,[$CA3C]
cp $07
jr c,Logged_0x20655
xor a
ld [$CA75],a
Logged_0x20655:
ld b,$05
Logged_0x20657:
ld a,[$C1B6]
ld h,a
ld a,[$C1B7]
ld l,a
ld e,$1C
ld d,$00
add hl,de
ld [hl],b
inc l
ld a,[$C1C0]
ld b,a
ld a,[hl]
and $0F
or b
ld [hl],a
ret
Logged_0x20670:
ld a,[$CA8C]
and a
jp nz,Logged_0x20939
ld a,[$CA3C]
cp $05
jr nc,Logged_0x20685
ld a,[$C1B9]
bit 7,a
jr nz,Logged_0x2068C
Logged_0x20685:
ld a,[$CA9D]
and a
jp nz,Logged_0x20350
Logged_0x2068C:
ld a,[$CA92]
and a
jr z,Logged_0x206A8
cp $01
jr z,Logged_0x206A8
cp $02
jp z,Logged_0x2023B
cp $03
jp z,Logged_0x20350
cp $04
jp z,Logged_0x205E7
jp Logged_0x20028
Logged_0x206A8:
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x206BC
ld a,[$C1C0]
or $20
ld [$C1C0],a
jr Logged_0x206C4
Logged_0x206BC:
ld a,[$C1C0]
or $10
ld [$C1C0],a
Logged_0x206C4:
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x206D2
ld a,$01
ld [$CA69],a
jr Logged_0x206D7
Logged_0x206D2:
ld a,$00
ld [$CA69],a
Logged_0x206D7:
ld b,$06
call Logged_0x20657
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA92]
cp $01
jr z,Logged_0x206EB
jr Logged_0x206F9
Logged_0x206EB:
ld a,[$CA8E]
cp $0E
call z,Logged_0x16D9
call Logged_0x1079
call Logged_0x161A
Logged_0x206F9:
ld a,$01
ld [$CA8C],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
ld a,$15
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA9D],a
ld [$CA96],a
ld a,$06
ld [$CA75],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,[$CA8B]
and a
jr z,Logged_0x20774
ld a,$E5
ld [$CA6F],a
ld a,[$FF00+$A8]
ld [$FF00+$AD],a
ld a,[$FF00+$A9]
ld [$FF00+$AE],a
ld a,[$FF00+$AA]
ld [$FF00+$AF],a
ld a,[$FF00+$AB]
ld [$FF00+$B0],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x20780
xor a
ld [$CA8B],a
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
Logged_0x20774:
ld a,$E5
ld [$CA6F],a
ld a,$01
ld [$CA74],a
jr Logged_0x20799
Logged_0x20780:
ld a,$F1
ld [$CA6F],a
xor a
ld [$CA74],a
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
Logged_0x20799:
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x207D3
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
jr Logged_0x207DD
Logged_0x207D3:
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
Logged_0x207DD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x207ED:
ld a,[$CA8C]
and a
ret nz
ld a,[$C0DB]
and a
ret z
ld a,[$CA92]
and a
jr z,Logged_0x20808
cp $02
jp z,Logged_0x208FA
cp $04
jp z,Unknown_0x2092D
ret
Logged_0x20808:
ld b,$06
call Logged_0x20657
Logged_0x2080D:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$CA8C],a
ld a,$10
ld [$CA83],a
xor a
ld [$CA6D],a
ld [$CA74],a
ld [$CA84],a
ld [$CA85],a
ld a,$01
ld [$CA8A],a
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2087F
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x20889
Logged_0x2087F:
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
Logged_0x20889:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20899:
ld a,[$CA92]
and a
jr z,Logged_0x208A9
cp $02
jr z,Logged_0x208A9
cp $04
jp z,Unknown_0x2092D
ret
Logged_0x208A9:
ld a,[$C0DB]
and a
ret z
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x208C2
ld a,[$C1C0]
or $20
ld [$C1C0],a
jr Logged_0x208CA
Logged_0x208C2:
ld a,[$C1C0]
or $10
ld [$C1C0],a
Logged_0x208CA:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld b,$04
call Logged_0x20657
ld a,[$CA8E]
and a
ret nz
ld a,[$C1C0]
bit 6,a
ret nz
ld a,$07
ld [$FF00+$85],a
ld a,$C4
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x208F2:
jr Logged_0x208FA
Logged_0x208F4:
ld b,$01
call Logged_0x20657
ret
Logged_0x208FA:
ld a,[$CA92]
and a
jr z,Logged_0x2090A
cp $02
jr z,Logged_0x2090A
cp $04
jp z,Unknown_0x2092D
ret
Logged_0x2090A:
ld a,[$C0DB]
and a
ret z
call Logged_0x208F4
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA8E]
and a
ret nz
ld a,$07
ld [$FF00+$85],a
ld a,$C4
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x2092D:
ld b,$05
jp Logged_0x20657
Logged_0x20932:
ld a,[$CA89]
and a
jp nz,Logged_0x20350
Logged_0x20939:
ld a,[$CA93]
and a
jp nz,Logged_0x2023B
ld b,$06
call Logged_0x20657
ld a,[$CA8C]
cp $01
ret z
ld a,$07
ld [$FF00+$85],a
ld a,$39
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
xor a
ld [$CA9A],a
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x209B4
ld a,$20
ld [$C1C0],a
ld a,$00
ld [$CA69],a
ld a,$4A
ld [$CA81],a
ld a,$79
ld [$CA82],a
Logged_0x209A4:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x209B4:
ld a,$10
ld [$C1C0],a
ld a,$01
ld [$CA69],a
ld a,$4A
ld [$CA81],a
ld a,$76
ld [$CA82],a
jr Logged_0x209A4
Logged_0x209CA:
ld a,[$CA83]
cp $08
jr nz,Logged_0x209D5
xor a
ld [$CA89],a
Logged_0x209D5:
ld a,[$C0DB]
and a
ret nz
ld a,[$CA83]
cp $0A
ret z
ld a,$01
ld [$CAC9],a
ld a,[$C1C1]
and a
jr z,Logged_0x209F5
cp $03
jr c,Logged_0x209F1
ld a,$02
Logged_0x209F1:
ld b,a
call Logged_0x129E
Logged_0x209F5:
ld b,$09
call Logged_0x20657
ld a,[$CA74]
and a
jr z,Logged_0x20A60
ld a,[$CA89]
and a
jr nz,Logged_0x20A60
ld a,[$CA9D]
and a
jr nz,Logged_0x20A60
call Logged_0x1501
ld a,[$CA8C]
cp $01
jr z,Logged_0x20A60
ld a,[$CA8E]
and a
ret nz
ld a,[$CA9A]
and a
jr nz,Logged_0x20A51
ld a,[$CA8B]
and a
jr nz,Logged_0x20A3C
xor a
ld [$C0DB],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20A60
Logged_0x20A3C:
xor a
ld [$C0DB],a
ld a,$07
ld [$FF00+$85],a
ld a,$55
ld [$FF00+$8D],a
ld a,$68
ld [$FF00+$8E],a
call $FF80
jr Logged_0x20A60
Logged_0x20A51:
ld a,$07
ld [$FF00+$85],a
ld a,$E7
ld [$FF00+$8D],a
ld a,$6F
ld [$FF00+$8E],a
call $FF80
Logged_0x20A60:
jp Logged_0x20028
Logged_0x20A63:
ld b,$07
call Logged_0x20657
ret
Logged_0x20A69:
ld b,$0D
call Logged_0x20657
ret
Logged_0x20A6F:
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x20AA5
Logged_0x20A79:
ld a,[$CA69]
and a
jp z,Logged_0x20028
ld a,$20
ld [$C1C0],a
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x20ACF
ld a,[$C1C3]
cp $FF
jr z,Logged_0x20AA5
ld b,a
call Logged_0x1270
jr Logged_0x20ACF
Logged_0x20AA5:
ld a,[$CA69]
and a
jp nz,Logged_0x20028
ld a,$10
ld [$C1C0],a
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x20ACF
ld a,[$C1C4]
cp $FF
jr z,Logged_0x20A79
ld b,a
call Logged_0x1259
Logged_0x20ACF:
ld a,[$CA8E]
cp $C3
jr z,Logged_0x20AFF
cp $C1
jr z,Logged_0x20B15
cp $4D
jr z,Logged_0x20B2B
xor a
ld [$CA86],a
ld a,[$CA9D]
and a
jr nz,Logged_0x20AEF
ld a,[$CA89]
and a
jp z,Logged_0x20028
Logged_0x20AEF:
ld a,$07
ld [$FF00+$85],a
ld a,$39
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20AFF:
ld a,[$CA8F]
cp $01
ret nz
ld a,$0A
ld [$FF00+$85],a
ld a,$D5
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20B15:
ld a,[$CA8F]
cp $01
ret nz
ld a,$0A
ld [$FF00+$85],a
ld a,$C5
ld [$FF00+$8D],a
ld a,$6F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20B2B:
ld a,[$CA83]
cp $B3
ret z
ld a,$7B
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20B41:
ld a,[$CA93]
and a
jr z,Logged_0x20B5E
cp $02
jp z,Logged_0x20A6F
cp $01
jp z,Logged_0x20A6F
cp $03
jp z,Logged_0x20350
cp $04
jp z,Logged_0x205E7
jp Logged_0x20A6F
Logged_0x20B5E:
ld a,[$CA93]
and a
ret nz
call Logged_0x20939
ld b,$12
jp Logged_0x20657
Logged_0x20B6B:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20447
ld a,[$CA93]
and a
jr z,Logged_0x20B8B
cp $03
jp z,Logged_0x20350
cp $04
jp z,Logged_0x205E7
cp $05
jp z,Logged_0x20028
jp Logged_0x20C41
Logged_0x20B8B:
ld a,[$CA83]
cp $0A
jr c,Logged_0x20B97
cp $12
jp c,Logged_0x20899
Logged_0x20B97:
ld a,[$CA9D]
ld b,a
ld a,[$CA89]
or b
jp nz,Logged_0x20350
ld a,[$CA8B]
ld b,a
ld a,[$CA9A]
or b
jp nz,Logged_0x20C41
ld a,[$CA3C]
cp $04
jp c,Logged_0x20C41
ld a,[$CA83]
cp $4C
jp z,Logged_0x20C41
cp $3A
jr c,Logged_0x20BC6
cp $3F
jp c,Logged_0x20C41
Logged_0x20BC6:
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x20BDD
ld a,$20
ld [$C1C0],a
ld a,[$CA69]
and a
jr nz,Logged_0x20BE8
jr Logged_0x20C41
Logged_0x20BDD:
ld a,$10
ld [$C1C0],a
ld a,[$CA69]
and a
jr nz,Logged_0x20C41
Logged_0x20BE8:
ld a,[$CA8C]
cp $01
ret z
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
ld [de],a
dec de
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld a,[$C1B9]
bit 7,a
jr nz,Logged_0x20C11
ld a,$01
ld [$CA9A],a
jr Logged_0x20C1D
Logged_0x20C11:
ld a,[$CA3C]
cp $09
jr c,Logged_0x20C41
ld a,$81
ld [$CA9A],a
Logged_0x20C1D:
ld b,$03
call Logged_0x20657
ld a,[$CA74]
and a
jr z,Logged_0x20C5E
ld a,[$C1B9]
bit 7,a
jr z,Logged_0x20C31
jr Logged_0x20C41
Logged_0x20C31:
ld a,$07
ld [$FF00+$85],a
ld a,$D3
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20C41:
jp Logged_0x20447
Unknown_0x20C44:
INCBIN "baserom.gbc", $20C44, $20C5E - $20C44
Logged_0x20C5E:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld a,$1E
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$04
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$60
ld [$CA7F],a
ld a,$6A
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x20CDB
ld a,[$C189]
bit 1,a
jr nz,Unknown_0x20CF5
ld a,[$CA9A]
and $80
jr nz,Logged_0x20D05
ld a,$63
ld [$CA81],a
ld a,$EC
ld [$CA82],a
Logged_0x20CCB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20CDB:
ld a,[$C189]
bit 0,a
jr nz,Unknown_0x20CF5
ld a,[$CA9A]
and $80
jr nz,Logged_0x20D11
ld a,$64
ld [$CA81],a
ld a,$0C
ld [$CA82],a
jr Logged_0x20CCB
Unknown_0x20CF5:
ld a,$07
ld [$FF00+$85],a
ld a,$E7
ld [$FF00+$8D],a
ld a,$6F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20D05:
ld a,$63
ld [$CA81],a
ld a,$F5
ld [$CA82],a
jr Logged_0x20CCB
Logged_0x20D11:
ld a,$64
ld [$CA81],a
ld a,$15
ld [$CA82],a
jr Logged_0x20CCB
Logged_0x20D1D:
jp Logged_0x2022C
Logged_0x20D20:
ld a,[$C1C0]
and $C0
jr nz,Logged_0x20D44
ld a,[$C1C6]
cp $01
jr z,Logged_0x20D39
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x20670
jp Logged_0x2022C
Logged_0x20D39:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x20670
jp Logged_0x2022C
Logged_0x20D44:
jp Logged_0x20447
Unknown_0x20D47:
ld a,[$C1C0]
and $C0
jr nz,Unknown_0x20D6B
ld a,[$C1C6]
cp $01
jr z,Unknown_0x20D60
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x20670
jp Logged_0x2022C
Unknown_0x20D60:
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x20670
jp Logged_0x2022C
Unknown_0x20D6B:
jp Logged_0x20447
Logged_0x20D6E:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20670
bit 7,a
jp nz,Logged_0x20447
jp Logged_0x2022C
Logged_0x20D7E:
jp Logged_0x20670
Logged_0x20D81:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20899
jp Logged_0x208F2
Unknown_0x20D8C:
ld a,[$C0DB]
and a
ret z
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x207ED
ld a,[$CA8E]
and a
ret nz
ld a,[$C1C0]
bit 7,a
jr nz,Unknown_0x20DDB
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Unknown_0x20DBE
ld a,[$C1C0]
or $20
ld [$C1C0],a
ld a,$00
ld [$CA69],a
jr Unknown_0x20DCB
Unknown_0x20DBE:
ld a,[$C1C0]
or $10
ld [$C1C0],a
ld a,$01
ld [$CA69],a
Unknown_0x20DCB:
ld a,$07
ld [$FF00+$85],a
ld a,$F2
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x20DDB:
ld a,$07
ld [$FF00+$85],a
ld a,$C4
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x20DEB:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20899
ld a,[$C1C6]
and a
jr nz,Unknown_0x20E04
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x207ED
jp Logged_0x208F2
Unknown_0x20E04:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x207ED
jp Logged_0x208F2
Logged_0x20E0F:
ld a,[$C1C0]
bit 7,a
jp nz,Logged_0x20899
bit 6,a
jp nz,Logged_0x207ED
ld a,[$C1C6]
cp $01
jr z,Logged_0x20E2E
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x207ED
jp Logged_0x208F2
Logged_0x20E2E:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x207ED
jp Logged_0x208F2
Unknown_0x20E39:
ld a,[$C1C0]
and $C0
jr nz,Unknown_0x20E5D
ld a,[$C1C6]
cp $01
jr z,Unknown_0x20E52
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x20939
jp Logged_0x2022C
Unknown_0x20E52:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x20939
jp Logged_0x2022C
Unknown_0x20E5D:
jp Logged_0x20447
Logged_0x20E60:
jp Logged_0x20939
Logged_0x20E63:
ld a,[$CA89]
and a
jp nz,Logged_0x20350
Logged_0x20E6A:
call Logged_0x20939
ld a,[$CA93]
and a
ret nz
ld b,$0A
jp Logged_0x20657
Logged_0x20E77:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x21AAC
jp Logged_0x20932
Logged_0x20E82:
ld hl,$CA5C
ld a,[hl]
cp $08
jp nc,Logged_0x20028
inc [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$31
ld [$FF00+hSFXIDLow],a
jp Logged_0x21DDB
Logged_0x20E97:
ld b,$06
call Logged_0x20657
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld a,$C1
ld [$CA8E],a
ld a,$01
ld [$CA8F],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$02
ld [$CA90],a
ld a,$58
ld [$CA91],a
call Logged_0x161A
xor a
ld [$CA84],a
ld a,$60
ld [$CA83],a
xor a
ld [$CA8D],a
ld [$CEED],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,[$CA84]
and a
ret nz
ld hl,$4820
call Logged_0x1AF6
ld a,$09
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$67
ld [$CA7F],a
ld a,$3C
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x20F50
ld a,$6B
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x20F5A
Logged_0x20F50:
ld a,$6B
ld [$CA81],a
ld a,$49
ld [$CA82],a
Logged_0x20F5A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x20F6A:
ld a,[$C1C0]
bit 6,a
jr nz,Logged_0x20F78
bit 7,a
jr nz,Logged_0x20F82
jp Logged_0x20932
Logged_0x20F78:
ld a,[$CA96]
dec a
jp z,Logged_0x20602
jp Logged_0x20447
Logged_0x20F82:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
ld a,[$C1C7]
cp $02
jr z,Unknown_0x20FDB
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Unknown_0x20FDB
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Unknown_0x20FDB
ld b,$0B
call Logged_0x20657
ld a,$0A
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$44
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x20FDB:
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
jp Logged_0x20447
Unknown_0x20FE8:
INCBIN "baserom.gbc", $20FE8, $20FED - $20FE8
Logged_0x20FED:
ld hl,$CA5B
set 0,[hl]
jr Logged_0x21007
Logged_0x20FF4:
ld hl,$CA5B
set 1,[hl]
jr Logged_0x21007
Logged_0x20FFB:
ld hl,$CA5B
set 2,[hl]
jr Logged_0x21007
Logged_0x21002:
ld hl,$CA5B
set 3,[hl]
Logged_0x21007:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$32
ld [$FF00+hSFXIDLow],a
call Logged_0x20A63
ld a,GAME_STATE_LEVEL_SLOW
ld [wGameState],a
xor a
ld [$CEE5],a
ret
Logged_0x2101C:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
ld a,[$CA8E]
and a
jp nz,Logged_0x20A6F
ld hl,$CA5B
bit 0,[hl]
jp z,Logged_0x20A6F
set 4,[hl]
ld a,$01
ld [$CED4],a
jr Logged_0x2109A
Logged_0x2103C:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
ld a,[$CA8E]
and a
jp nz,Logged_0x20A6F
ld hl,$CA5B
bit 1,[hl]
jp z,Logged_0x20A6F
set 5,[hl]
ld a,$02
ld [$CED4],a
jr Logged_0x2109A
Logged_0x2105C:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
ld a,[$CA8E]
and a
jp nz,Logged_0x20A6F
ld hl,$CA5B
bit 2,[hl]
jp z,Logged_0x20A6F
set 6,[hl]
ld a,$03
ld [$CED4],a
jr Logged_0x2109A
Logged_0x2107C:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
ld a,[$CA8E]
and a
jp nz,Logged_0x20A6F
ld hl,$CA5B
bit 3,[hl]
jp z,Logged_0x20A6F
set 7,[hl]
ld a,$04
ld [$CED4],a
Logged_0x2109A:
ld a,$FF
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+hMusicIDLow],a
call Logged_0x20A63
call Logged_0x20203
ld hl,$CED4
ld a,[hl]
cp $05
ret z
set 7,[hl]
ld a,$01
ld [$C09A],a
xor a
ld [$CA86],a
ld a,$40
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA75],a
ld [$CA84],a
ld [$CA85],a
ld [$CA96],a
ld [$CA8B],a
ld [$CA89],a
inc a
ld [$CA8A],a
ld [$CA9B],a
ld a,[$CA74]
and a
jr z,Logged_0x210EA
ld a,$18
ld [$CA75],a
Logged_0x210EA:
ld hl,$4800
call Logged_0x1AF6
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x21130
ld a,[$C1C3]
ld b,a
call Logged_0x1270
ld a,$01
ld [$CA69],a
ld a,$42
ld [$CA81],a
ld a,$5F
ld [$CA82],a
jr Logged_0x21146
Logged_0x21130:
ld a,[$C1C4]
ld b,a
call Logged_0x1259
ld a,$00
ld [$CA69],a
ld a,$42
ld [$CA81],a
ld a,$52
ld [$CA82],a
Logged_0x21146:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21156:
ld a,[$CA74]
and a
jp nz,Logged_0x2022C
ld b,$0C
call Logged_0x20657
ld a,[$CA8E]
cp $42
jp z,Logged_0x211FB
and a
jp nz,Logged_0x2022C
ld a,$01
ld [$CA9B],a
ld a,$2A
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA96],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9A],a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA74],a
ld a,$06
ld [$CA9E],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x211E1
ld a,$5F
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x211EB
Logged_0x211E1:
ld a,$5F
ld [$CA81],a
ld a,$7F
ld [$CA82],a
Logged_0x211EB:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x211FB:
ld a,$01
ld [$CA9B],a
ld a,$6B
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
ld a,$06
ld [$CA9E],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,$71
ld [$CA81],a
ld a,$93
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21245:
ld a,[$C1C0]
and $C0
jr nz,Logged_0x21267
ld a,[$C1C6]
cp $01
jr z,Logged_0x2125D
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x2126A
jp Logged_0x2022C
Logged_0x2125D:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x2126A
jp Logged_0x2022C
Logged_0x21267:
jp Logged_0x20447
Logged_0x2126A:
ld a,[$CA8B]
and a
jr z,Logged_0x21290
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x21290
ld a,$F1
ld [$CA6F],a
jp Logged_0x2022C
Logged_0x21290:
ld b,$06
call Logged_0x20657
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2023B
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x212B3
ld a,$00
ld [$CA69],a
jr Logged_0x212B8
Logged_0x212B3:
ld a,$01
ld [$CA69],a
Logged_0x212B8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$39
ld [$FF00+hSFXIDLow],a
ld a,$C3
ld [$CA8E],a
xor a
ld [$CA8F],a
ld a,$03
ld [$CA93],a
ld a,$03
ld [$CA92],a
ld a,$01
ld [$CA94],a
call Logged_0x161A
ld a,$70
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4860
call Logged_0x1AF6
ld a,$09
ld [$CA7B],a
ld a,$58
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$71
ld [$CA7F],a
ld a,$C0
ld [$CA80],a
ld a,$74
ld [$CA81],a
ld a,$14
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21358:
ld a,[$CA8B]
and a
jp nz,Logged_0x20A69
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x20A69
cp $84
jr nz,Logged_0x21373
jp Logged_0x20A69
Logged_0x21373:
call Logged_0x20A63
ld a,$84
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$01
ld [$CA90],a
ld a,$A4
ld [$CA91],a
xor a
ld [$CA8D],a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld a,[$CA74]
and a
jr z,Logged_0x213BB
ld a,$18
ld [$CA75],a
Logged_0x213BB:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3A
ld [$FF00+hSFXIDLow],a
call Logged_0x161A
ld a,$77
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$09
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$74
ld [$CA7F],a
ld a,$2D
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x21419
ld a,$78
ld [$CA81],a
ld a,$9C
ld [$CA82],a
jr Logged_0x21423
Logged_0x21419:
ld a,$78
ld [$CA81],a
ld a,$C3
ld [$CA82],a
Logged_0x21423:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21433:
ld hl,$CA05
ld a,[hl]
add a,$01
daa
ld [hld],a
ld a,[hl]
adc a,$00
daa
ld [hl],a
and $F0
jr z,Logged_0x2144A
ld a,$09
ld [hli],a
ld a,$99
ld [hl],a
Logged_0x2144A:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$09
ld [$FF00+hSFXIDLow],a
jp Logged_0x20A63
Logged_0x21455:
ld a,[$CA88]
ld b,a
ld a,[$C1BF]
cp b
jr c,Logged_0x21469
ld a,[$C1C0]
or $20
ld [$C1C0],a
jr Logged_0x21471
Logged_0x21469:
ld a,[$C1C0]
or $10
ld [$C1C0],a
Logged_0x21471:
ld b,$06
call Logged_0x20657
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
cp $85
ret z
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x21492
ld a,$01
ld [$CA69],a
jr Logged_0x21497
Logged_0x21492:
ld a,$00
ld [$CA69],a
Logged_0x21497:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$40
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA8D],a
ld a,$7F
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$85
ld [$CA8E],a
ld a,$04
ld [$CA93],a
ld a,$04
ld [$CA92],a
ld a,$01
ld [$CA94],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4870
call Logged_0x1AF6
ld a,$09
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$79
ld [$CA7F],a
ld a,$0E
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x2152E
ld a,$7B
ld [$CA81],a
ld a,$79
ld [$CA82],a
jr Logged_0x21538
Logged_0x2152E:
ld a,$7B
ld [$CA81],a
ld a,$76
ld [$CA82],a
Logged_0x21538:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21548:
call Logged_0x20A63
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
cp $06
ret z
ld a,$0A
ld [$FF00+$85],a
ld a,$89
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21569:
ld a,[$C1C0]
bit 7,a
jr nz,Logged_0x21573
jp Logged_0x2022C
Logged_0x21573:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
cp $07
jp z,Logged_0x2022C
ld a,[$CA8E]
cp $0E
call z,Logged_0x16D9
ld b,$06
call Logged_0x20657
ld a,$0A
ld [$FF00+$85],a
ld a,$5E
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x215A2:
ld a,[$CA8C]
and a
jp nz,Logged_0x20A69
ld a,[$CA8E]
cp $48
jp z,Logged_0x205E7
bit 6,a
jp nz,Logged_0x20A69
ld b,$06
call Logged_0x20657
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$28
ld [$FF00+hSFXIDLow],a
ld a,$48
ld [$CA8E],a
ld a,$04
ld [$CA93],a
ld a,$04
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$0A
ld [$FF00+$85],a
ld a,$D0
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x215E7:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20447
ld a,[$C1C6]
cp $01
jr z,Logged_0x21600
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x2160A
jp Logged_0x2022C
Logged_0x21600:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x2160A
jp Logged_0x2022C
Logged_0x2160A:
ld a,[$CA8C]
and a
ret nz
ld b,$06
call Logged_0x20657
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
cp $09
jp z,Logged_0x2022C
ld a,$09
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$03
ld [$CA90],a
ld a,$84
ld [$CA91],a
ld a,$0A
ld [$FF00+$85],a
ld a,$59
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2164F:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20447
ld a,[$C1C6]
cp $01
jr z,Logged_0x21668
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x21672
jp Logged_0x2022C
Logged_0x21668:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x21672
jp Logged_0x2022C
Logged_0x21672:
jp Logged_0x20E97
Logged_0x21675:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
bit 7,a
jr nz,Logged_0x2168B
ld a,[$CA89]
and a
jp nz,Logged_0x217A9
jp Logged_0x20A6F
Logged_0x2168B:
ld a,[$CA83]
cp $6E
jr nz,Logged_0x216A2
ld a,$0A
ld [$FF00+$85],a
ld a,$5B
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x216A2:
ld a,[$C1C2]
cp $10
jr c,Logged_0x216AB
ld a,$0C
Logged_0x216AB:
ld b,a
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jr z,Logged_0x216D4
ld a,$07
ld [$FF00+$85],a
ld a,$7C
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x216D4:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x21710
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA8E]
cp $42
jr z,Unknown_0x2173E
and a
ret nz
ld a,[$CA8B]
and a
jr nz,Logged_0x2174E
xor a
ld [$CA9A],a
ld a,$07
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21710:
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$CA8C]
cp $01
ret z
ld a,[$CA8E]
cp $42
jr z,Unknown_0x2175E
and a
ret nz
xor a
ld [$CA9A],a
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x2173E:
ld a,$0A
ld [$FF00+$85],a
ld a,$57
ld [$FF00+$8D],a
ld a,$47
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2174E:
ld a,$07
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x2175E:
ld a,[$CA83]
cp $6E
ret z
ld a,$0A
ld [$FF00+$85],a
ld a,$B8
ld [$FF00+$8D],a
ld a,$45
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21774:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
bit 7,a
jr nz,Logged_0x21789
ld a,[$CA89]
and a
jr nz,Logged_0x217A9
jp Logged_0x20A6F
Logged_0x21789:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
ld b,$0B
call Logged_0x20657
ld a,$0A
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$44
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x217A9:
ld a,$07
ld [$FF00+$85],a
ld a,$39
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x217B9:
ld a,[$C1C0]
and $C0
jr nz,Unknown_0x217DB
ld a,[$C1C6]
cp $01
jr z,Unknown_0x217D1
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x217DE
jp Logged_0x2022C
Unknown_0x217D1:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x217DE
jp Logged_0x2022C
Unknown_0x217DB:
jp Logged_0x20447
Logged_0x217DE:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
cp $0A
jp z,Logged_0x2022C
ld b,$06
call Logged_0x20657
ld a,$0A
ld [$CA8E],a
ld a,$03
ld [$CA93],a
ld a,$03
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$0A
ld [$FF00+$85],a
ld a,$ED
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21819:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
ld b,$06
call Logged_0x20657
ld a,$4B
ld [$CA8E],a
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA8E]
cp $4B
ret nz
ld a,$0A
ld [$FF00+$85],a
ld a,$81
ld [$FF00+$8D],a
ld a,$6A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21853:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
ld b,$07
call Logged_0x20657
ld a,$4C
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$0A
ld [$FF00+$85],a
ld a,$7D
ld [$FF00+$8D],a
ld a,$6C
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21887:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
ret nz
ld a,[$CA8B]
and a
jr z,Logged_0x218B6
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x218B6
ld a,$F1
ld [$CA6F],a
ret
Logged_0x218B6:
ld b,$07
call Logged_0x20657
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$28
ld [$FF00+hSFXIDLow],a
ld a,$4D
ld [$CA8E],a
ld a,$03
ld [$CA93],a
ld a,$03
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$8C
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x218E7:
ld a,[$C1C0]
bit 7,a
jr nz,Logged_0x218F1
jp Logged_0x20939
Logged_0x218F1:
ld a,[$CA8E]
bit 6,a
ret nz
cp $0E
ret z
call Logged_0x20A63
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$21
ld [$FF00+hSFXIDLow],a
ld a,$0E
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$B8
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$0B
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$5D
ld [$CA7F],a
ld a,$B4
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
ld a,$6D
ld [$CA81],a
ld a,$53
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21999:
ld a,[$CA8E]
bit 6,a
ret nz
cp $0F
ret z
ld b,$06
call Logged_0x20657
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$21
ld [$FF00+hSFXIDLow],a
ld a,$0F
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$C0
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
inc a
ld [$CA9B],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$0B
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$6E
ld [$CA7F],a
ld a,$05
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
ld a,$6E
ld [$CA81],a
ld a,$C4
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21A47:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20447
Logged_0x21A4F:
jp Logged_0x2126A
Logged_0x21A52:
ld a,[$CA8C]
and a
jp nz,Logged_0x20A69
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x20A69
call Logged_0x20A63
ld a,$50
ld [$CA8E],a
xor a
ld [$CA8F],a
ld a,$03
ld [$CA93],a
ld a,$03
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$49
ld [$FF00+$8D],a
ld a,$47
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21A8C:
ld a,[$CA8E]
cp $C1
ret nz
ld b,$0E
jp Logged_0x20657
Logged_0x21A97:
ld a,[$C1C0]
bit 6,a
jr nz,Logged_0x21AAC
bit 7,a
jp nz,Logged_0x2168B
ld a,[$CA89]
and a
jr nz,Logged_0x21ABB
jp Logged_0x20A6F
Logged_0x21AAC:
ld a,[$CA96]
dec a
jp nz,Logged_0x209CA
call Logged_0x20602
ld b,$0F
jp Logged_0x20657
Logged_0x21ABB:
ld b,$02
call Logged_0x20657
jp Logged_0x20A6F
Logged_0x21AC3:
ld a,[$C1C0]
bit 6,a
jr nz,Logged_0x21AE4
ld a,[$C1C6]
and a
jr nz,Logged_0x21ADA
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x21AEE
jp Logged_0x20E6A
Logged_0x21ADA:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x21AEE
jp Logged_0x20E6A
Logged_0x21AE4:
ld a,[$CA96]
and a
jp nz,Logged_0x20602
jp Logged_0x20E6A
Logged_0x21AEE:
jp Logged_0x21CFD
Logged_0x21AF1:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
bit 7,a
jp nz,Logged_0x20447
ld a,[$CA89]
and a
jp nz,Logged_0x217A9
jp Logged_0x20A6F
Logged_0x21B08:
jp Logged_0x2160A
Logged_0x21B0B:
ld b,$06
call Logged_0x20657
ld a,[$CA9D]
and a
ret nz
ld a,[$C1C6]
ld [$CA69],a
ld a,$07
ld [$FF00+$85],a
ld a,$74
ld [$FF00+$8D],a
ld a,$61
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21B2B:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20447
ld a,[$CA89]
and a
jp nz,Logged_0x20350
Logged_0x21B3A:
call Logged_0x20939
ld b,$00
jp Logged_0x20657
Logged_0x21B42:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld b,$06
call Logged_0x20657
ld a,$51
ld [$CA8E],a
ld a,$05
ld [$CA93],a
ld a,$05
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$9E
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21B78:
ld a,[$C1C0]
bit 6,a
jr z,Logged_0x21B86
ld a,[$CA96]
and a
jp nz,Logged_0x20602
Logged_0x21B86:
jp Logged_0x20939
Logged_0x21B89:
ld a,[$C1C0]
bit 7,a
jp z,Logged_0x2022C
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld b,$06
call Logged_0x20657
ld a,$53
ld [$CA8E],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA92],a
ld a,$01
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$31
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
ld a,$80
ld [rBCPS],a
ld b,$04
ld c,$69
Logged_0x21BCE:
ld a,[rSTAT]
and $03
jr z,Logged_0x21BCE
Logged_0x21BD4:
ld a,[rSTAT]
and $03
jr nz,Logged_0x21BD4
xor a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
dec b
jr nz,Logged_0x21BCE
ld a,$98
ld [rOCPS],a
ld b,$02
ld c,$6B
Logged_0x21BF6:
ld a,[rSTAT]
and $03
jr z,Logged_0x21BF6
Logged_0x21BFC:
ld a,[rSTAT]
and $03
jr nz,Logged_0x21BFC
xor a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
ld [$FF00+c],a
dec b
jr nz,Logged_0x21BF6
ret
Logged_0x21C17:
ld b,$06
call Logged_0x20657
ld a,[$CA8E]
and a
jp z,Logged_0x20028
jp Logged_0x1570
Unknown_0x21C26:
ld a,[$C1C6]
cp $01
jr z,Unknown_0x21C37
ld a,[$C1C0]
bit 5,a
jr nz,Unknown_0x21C41
jp Logged_0x207ED
Unknown_0x21C37:
ld a,[$C1C0]
bit 4,a
jr nz,Unknown_0x21C41
jp Logged_0x207ED
Unknown_0x21C41:
ld b,$11
call Logged_0x20657
ld a,$7B
ld [$FF00+$85],a
ld a,$60
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21C56:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x21AAC
jp Logged_0x20B6B
Logged_0x21C61:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20447
ld a,[$C1C6]
and a
jr nz,Unknown_0x21C7A
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x21B0B
jp Logged_0x20E6A
Unknown_0x21C7A:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x21B0B
jp Logged_0x20E6A
Unknown_0x21C85:
INCBIN "baserom.gbc", $21C85, $21C86 - $21C85
Logged_0x21C86:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20E6A
ld a,[$CA89]
and a
jp nz,Logged_0x20350
jp Logged_0x20E6A
Logged_0x21C98:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
bit 7,a
jp nz,Logged_0x2168B
jp Logged_0x20B41
Logged_0x21CA8:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ld a,$06
ld [$FF00+$85],a
ld a,$B6
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
Logged_0x21CC9:
ld b,$13
call Logged_0x20657
ret
Unknown_0x21CCF:
ld a,$E7
ld [$C0D7],a
call Logged_0x2080D
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$34
ld [$CA83],a
ld b,$10
jp Logged_0x20657
Logged_0x21CE9:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20899
bit 7,a
jr nz,Unknown_0x21CCF
jp Logged_0x208F2
Logged_0x21CF8:
ld b,$06
jp Logged_0x20657
Logged_0x21CFD:
ld a,$E7
ld [$C0D7],a
call Logged_0x206EB
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$33
ld [$CA83],a
ld b,$10
jp Logged_0x20657
Logged_0x21D17:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x209CA
ld a,[$CA8E]
and a
ret nz
ld a,[$C0DB]
and a
jp z,Logged_0x21B3A
ld a,$07
ld [$FF00+$85],a
ld a,$C4
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x21D3B:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20E6A
bit 7,a
jp nz,Logged_0x20E6A
ld a,[$C1C6]
and a
jr nz,Unknown_0x21D59
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
Unknown_0x21D59:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
Unknown_0x21D64:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
Logged_0x21D6F:
ld a,[$C1C0]
bit 6,a
jr nz,Logged_0x21D7E
bit 7,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
Logged_0x21D7E:
ld a,[$CA96]
and a
jp nz,Logged_0x20602
jp Logged_0x20E6A
Logged_0x21D88:
ld a,[$C1C0]
and $C0
jp nz,Logged_0x20899
ld a,[$C1C6]
and a
jr nz,Logged_0x21DA1
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x21DAC
jp Logged_0x208F2
Logged_0x21DA1:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x21DAC
jp Logged_0x208F2
Logged_0x21DAC:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld a,[$C1C6]
ld [$CA69],a
ld a,$7B
ld [$FF00+$85],a
ld a,$38
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld b,$06
jp Logged_0x20657
Logged_0x21DD3:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$4B
ld [$FF00+hSFXIDLow],a
Logged_0x21DDB:
ld hl,$CA05
ld a,[hl]
add a,$10
daa
ld [hld],a
ld a,[hl]
adc a,$00
daa
ld [hl],a
and $F0
jr z,Logged_0x21DF2
ld a,$09
ld [hli],a
ld a,$99
ld [hl],a
Logged_0x21DF2:
call Logged_0x20A63
jp Logged_0x20028
Logged_0x21DF8:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld b,$06
call Logged_0x20657
ld a,$55
ld [$CA8E],a
ld a,$05
ld [$CA93],a
ld a,$05
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$AA
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21E2E:
ld a,[$C1C0]
bit 7,a
jp nz,Logged_0x20670
bit 6,a
jp nz,Logged_0x20447
jp Logged_0x2022C
Logged_0x21E3E:
ld a,[$CA8E]
cp $56
jr z,Logged_0x21E8A
ld a,[$C1C0]
bit 7,a
jr nz,Logged_0x21E54
bit 6,a
jp nz,Logged_0x20447
jp Logged_0x20E63
Logged_0x21E54:
ld a,[$CA8C]
and a
ret nz
ld a,[$CA8E]
bit 6,a
jp nz,Logged_0x2022C
ld b,$06
call Logged_0x20657
ld a,$56
ld [$CA8E],a
ld a,$05
ld [$CA93],a
ld a,$05
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$7B
ld [$FF00+$85],a
ld a,$21
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21E8A:
ld a,$7B
ld [$FF00+$85],a
ld a,$D8
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
jp Logged_0x21CC9
Logged_0x21E9C:
ld a,[$CA8E]
cp $56
jr z,Logged_0x21E8A
jp Logged_0x20939
Logged_0x21EA6:
ld a,[$C1C6]
ld b,a
and a
jr nz,Logged_0x21EB6
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x21EBF
jr Logged_0x21ECA
Logged_0x21EB6:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x21EBF
jr Logged_0x21ECA
Logged_0x21EBF:
ld a,[$C1C6]
xor $01
ld [$CA69],a
jp Logged_0x20A6F
Logged_0x21ECA:
jp Logged_0x21B3A
Logged_0x21ECD:
ld a,[$C1C6]
and a
jr nz,Logged_0x21EDD
ld a,[$C1C0]
bit 5,a
jr nz,Logged_0x21EE7
jp Logged_0x20E6A
Logged_0x21EDD:
ld a,[$C1C0]
bit 4,a
jr nz,Logged_0x21EE7
jp Logged_0x20E6A
Logged_0x21EE7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ld a,$06
ld [$FF00+$85],a
ld a,$B6
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
jp Logged_0x21CC9
Unknown_0x21F01:
ld a,[$C1C0]
bit 6,a
jr nz,Unknown_0x21F0B
jp Unknown_0x20D8C
Unknown_0x21F0B:
ld a,[$C1C0]
or $10
ld [$C1C0],a
ld a,$01
ld [$CA69],a
ld a,$07
ld [$FF00+$85],a
ld a,$F2
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x21F28:
ld a,[$C1C0]
bit 6,a
jp nz,Logged_0x21D7E
bit 7,a
jp nz,Logged_0x20E6A
ld a,[$C1C6]
and a
jr nz,Unknown_0x21F46
ld a,[$C1C0]
bit 5,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
Unknown_0x21F46:
ld a,[$C1C0]
bit 4,a
jp nz,Logged_0x20670
jp Logged_0x20E6A
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A4]
and $08
jr nz,Logged_0x21FA3
ld b,$10
Logged_0x21F69:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x21F9F
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x21F9F:
dec b
jr nz,Logged_0x21F69
ret
Logged_0x21FA3:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x21FD6
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x21FD6:
ld b,$10
Logged_0x21FD8:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x2200E
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x2200E:
dec b
jr nz,Logged_0x21FD8
ret
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A4]
and $08
jp nz,Logged_0x2208A
ld b,$10
Logged_0x22032:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x22068
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x22068:
dec b
jr nz,Logged_0x22032
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
ld a,[hl]
ld [de],a
pop hl
pop af
ld [rSVBK],a
ret
Logged_0x2208A:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$CE35
add hl,de
inc l
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x220BD
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x220BD:
ld b,$10
Logged_0x220BF:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x220F5
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x220F5:
dec b
jr nz,Logged_0x220BF
pop af
ld [rSVBK],a
ret
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$CCE7],a
ld a,$01
add a,b
ld [$CCE8],a
ld a,[$C0A4]
and $08
jp nz,Logged_0x2214E
ld b,$10
Logged_0x22115:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x2214A
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x2214A:
dec b
jr nz,Logged_0x22115
ret
Logged_0x2214E:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
inc l
inc l
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
inc a
ld [$CCE8],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x22180
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x22180:
ld b,$10
Logged_0x22182:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$C600
add hl,de
ld a,[$CCE7]
ld d,a
ld a,[$CCE8]
ld e,a
add a,$02
ld [$CCE8],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x221B7
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x221B7:
dec b
jr nz,Logged_0x22182
ret
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld a,[$CE00]
ld b,a
ld a,$CE
ld [$C0B3],a
ld a,$35
add a,b
ld [$C0B4],a
ld a,[$C0A4]
and $08
jp nz,Logged_0x22217
ld b,$10
Logged_0x221DB:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x22210
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x22210:
dec b
jr nz,Logged_0x221DB
pop af
ld [rSVBK],a
ret
Logged_0x22217:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
inc l
inc l
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
inc a
ld [$C0B4],a
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x22249
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x22249:
ld b,$10
Logged_0x2224B:
ld a,[hl]
ld d,$00
ld e,a
sla e
sla e
rl d
push hl
ld hl,$D300
add hl,de
ld a,[$C0B3]
ld d,a
ld a,[$C0B4]
ld e,a
add a,$02
ld [$C0B4],a
ld a,[hli]
ld [de],a
inc l
inc e
ld a,[hl]
ld [de],a
pop hl
inc h
ld a,h
cp $C0
jr nz,Logged_0x22280
ld h,$A0
ld a,[$C08E]
inc a
ld [$C08E],a
ld [rRAMB+$100],a
Logged_0x22280:
dec b
jr nz,Logged_0x2224B
pop af
ld [rSVBK],a
ret
Unknown_0x22287:
INCBIN "baserom.gbc", $22287, $24000 - $22287
SECTION "Bank09", ROMX, BANK[$09]
Unknown_0x24000:
INCBIN "baserom.gbc", $24000, $28000 - $24000
SECTION "Bank0A", ROMX, BANK[$0A]
ld a,[$CA83]
sub $60
rst JumpList
dw Logged_0x280A6
dw Logged_0x281C1
dw Logged_0x2827A
dw Logged_0x2839F
dw Logged_0x2841E
dw Logged_0x28511
dw Logged_0x28599
dw Logged_0x28601
dw Logged_0x28672
dw Logged_0x2871F
dw Logged_0x287A2
dw Logged_0x288E5
dw Logged_0x2894E
dw Logged_0x28A39
dw Logged_0x28A5A
dw Logged_0x28A8A
dw Logged_0x28AAD
dw Logged_0x28B36
dw Logged_0x28C25
dw Logged_0x28CEB
dw Logged_0x28D92
dw Logged_0x28E1A
dw Logged_0x28E70
dw Logged_0x28E87
dw Logged_0x28F39
dw Logged_0x28FC0
dw Logged_0x2906D
dw Logged_0x29123
dw Logged_0x29243
dw Logged_0x292E5
dw Logged_0x293B9
dw Logged_0x293D0
dw Logged_0x294BF
dw Logged_0x29672
dw Logged_0x2972E
dw Logged_0x29816
dw Logged_0x29871
dw Logged_0x298F3
dw Logged_0x29975
dw Logged_0x29A74
dw Logged_0x29B06
dw Logged_0x29BA2
dw Logged_0x29C29
dw Logged_0x29D6F
dw Logged_0x29DD3
dw Logged_0x29E7E
dw Logged_0x29EF3
dw Unknown_0x29F42
dw Logged_0x29FFA
dw Logged_0x2A087
dw Logged_0x2A0F9
dw Logged_0x2A1F5
dw Logged_0x2A267
dw Logged_0x2A2D3
dw Logged_0x2A362
dw Logged_0x2A489
dw Logged_0x2A544
dw Logged_0x2A5D8
dw Logged_0x2A657
dw Logged_0x2A6C0
dw Logged_0x2A77B
dw Logged_0x2A804
dw Logged_0x2A890
dw Logged_0x2A8D2
dw Logged_0x2A9B2
dw Logged_0x2AA08
dw Logged_0x2AB18
dw Logged_0x2AB42
dw Logged_0x2AC04
dw Logged_0x2AD06
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
Logged_0x280A6:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x280D3
ld a,$0E
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
Logged_0x280D3:
ld a,[$CA84]
and a
jr nz,Logged_0x28100
ld a,[$C1A8]
and a
jr z,Logged_0x28100
ld a,$01
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x280F6
ld a,$6B
ld [$CA81],a
ld a,$14
ld [$CA82],a
jr Logged_0x28100
Logged_0x280F6:
ld a,$6B
ld [$CA81],a
ld a,$1D
ld [$CA82],a
Logged_0x28100:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
cp $01
jr nz,Logged_0x28121
ld a,[hl]
cp $2C
jr nz,Logged_0x28121
jr Logged_0x28154
Logged_0x28121:
call Logged_0x2AE8A
ld a,[$CA83]
cp $60
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x2AF75
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Unknown_0x2814A:
ld a,$01
ld [$CA90],a
ld a,$2C
ld [$CA91],a
Logged_0x28154:
ld a,$02
ld [$CA8F],a
ld a,$62
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld a,$04
ld [$CA92],a
ld a,$04
ld [$CA93],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$C093]
and $30
jr z,Logged_0x28195
bit 4,a
jr nz,Logged_0x28190
ld a,$00
ld [$CA69],a
jr Logged_0x28195
Logged_0x28190:
ld a,$01
ld [$CA69],a
Logged_0x28195:
ld a,[$CA69]
and a
jr nz,Logged_0x281B5
ld a,$6B
ld [$CA81],a
ld a,$26
ld [$CA82],a
Logged_0x281A5:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x281B5:
ld a,$6B
ld [$CA81],a
ld a,$2F
ld [$CA82],a
jr Logged_0x281A5
Logged_0x281C1:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x2ADE4
ld a,[$CA84]
and a
jr nz,Logged_0x2820B
ld a,[$C1A8]
and a
jr z,Logged_0x2820B
ld a,$01
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x28201
ld a,$6B
ld [$CA81],a
ld a,$14
ld [$CA82],a
jr Logged_0x2820B
Logged_0x28201:
ld a,$6B
ld [$CA81],a
ld a,$1D
ld [$CA82],a
Logged_0x2820B:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2AF9C
ld a,[$CA83]
cp $61
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x28245
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $61
ret nz
jp Logged_0x2AF75
Logged_0x28245:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28261
ld a,[$CA83]
cp $61
ret nz
jp Logged_0x14DE
Logged_0x28261:
call Logged_0x14F6
ld a,[$CA83]
cp $61
ret nz
ld a,$08
ld [$FF00+$85],a
ld a,$D3
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2827A:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x282A7
ld a,$10
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0x282A7:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
cp $00
jr nz,Logged_0x282EA
ld a,[hl]
cp $E0
jr z,Logged_0x282D4
cp $A4
jr z,Logged_0x282DC
cp $3C
jr z,Logged_0x282E4
cp $01
jr nz,Logged_0x282EA
jr Logged_0x28313
Logged_0x282D4:
ld hl,$4830
call Logged_0x1AF6
jr Logged_0x282EA
Logged_0x282DC:
ld hl,$4840
call Logged_0x1AF6
jr Logged_0x282EA
Logged_0x282E4:
ld hl,$4850
call Logged_0x1AF6
Logged_0x282EA:
call Logged_0x2B07A
ld a,[$CA83]
cp $62
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x28380
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x28313:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$22
ld [$FF00+hSFXIDLow],a
ld a,$64
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld hl,$4820
call Logged_0x1AF6
ld a,$09
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$6B
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x28366
ld a,$6E
ld [$CA81],a
ld a,$47
ld [$CA82],a
jr Logged_0x28370
Logged_0x28366:
ld a,$6E
ld [$CA81],a
ld a,$72
ld [$CA82],a
Logged_0x28370:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28380:
ld a,[$CA64]
and $F0
add a,$08
ld [$CA64],a
Logged_0x2838A:
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
ld a,$63
ld [$CA83],a
ld a,$08
ld [$CA84],a
ret
Logged_0x2839F:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x2ADE4
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B027
ld a,[$CA83]
cp $63
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x283F6
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $63
ret nz
jp Logged_0x2838A
Logged_0x283F6:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28412
ld a,[$CA83]
cp $63
ret nz
jp Logged_0x14DE
Logged_0x28412:
call Logged_0x14F6
ld a,[$CA83]
cp $63
ret nz
jp Logged_0x28154
Logged_0x2841E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1570
ld a,[$CA8E]
bit 6,a
ret nz
ld a,[$CA8E]
cp $0E
call z,Logged_0x16D9
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$C1B6]
ld h,a
ld a,[$C1B7]
ld l,a
ld de,$0005
add hl,de
ld b,$00
ld a,[$C1B9]
and $7F
sub $0F
jr z,Logged_0x2846A
ld a,$01
ld [$CA84],a
ld b,$08
jr Logged_0x2846D
Logged_0x2846A:
ld [$CA84],a
Logged_0x2846D:
ld a,[hli]
sub b
ld [$CA64],a
ld a,[hl]
sbc a,$00
ld [$CA63],a
pop af
ld [rSVBK],a
ld a,$42
ld [$CA8E],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1B
ld [$FF00+hSFXIDLow],a
call Logged_0x161A
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
inc a
ld [$CA9B],a
ld [$CA74],a
ld a,$65
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
ld a,$09
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$6E
ld [$CA7F],a
ld a,$9D
ld [$CA80],a
ld a,$71
ld [$CA81],a
ld a,$BD
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28511:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x28900
ld b,$02
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28549
jp Logged_0x14DE
Logged_0x28549:
call Logged_0x14F6
ld a,$66
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld [$CA9B],a
inc a
ld [$CA8A],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
ld a,$71
ld [$CA81],a
ld a,$5F
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28599:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA8A],a
ld a,[$CA84]
and a
jp nz,Logged_0x28A50
Logged_0x285B8:
ld a,$67
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
ld a,$71
ld [$CA81],a
ld a,$8B
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28601:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B10A
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
jp Logged_0x28757
Logged_0x28628:
ld a,$68
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
ld a,$71
ld [$CA81],a
ld a,$75
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
bit 4,a
jr nz,Logged_0x2866C
ld a,$00
ld [$CA69],a
ret
Logged_0x2866C:
ld a,$01
ld [$CA69],a
ret
Logged_0x28672:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x2869F
ld a,$0A
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1C
ld [$FF00+hSFXIDLow],a
Logged_0x2869F:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B11B
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x28757
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x286D1:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1D
ld [$FF00+hSFXIDLow],a
ld a,$69
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld a,[$C093]
bit 6,a
jr nz,Logged_0x286FC
ld a,$01
jr Logged_0x286FE
Logged_0x286FC:
ld a,$02
Logged_0x286FE:
ld [$CA74],a
ld a,$71
ld [$CA81],a
ld a,$90
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
Logged_0x2871F:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
call Logged_0x1488
call Logged_0x2B17A
call Logged_0x1762
ld a,[$CA75]
cp $18
jr nc,Logged_0x28757
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
Logged_0x28757:
ld a,$6A
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$C189],a
inc a
ld [$CA75],a
ld [$CA74],a
ld a,[$CA69]
and a
jr nz,Logged_0x28796
ld a,$71
ld [$CA81],a
ld a,$B8
ld [$CA82],a
Logged_0x28786:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28796:
ld a,$71
ld [$CA81],a
ld a,$86
ld [$CA82],a
jr Logged_0x28786
Logged_0x287A2:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x28900
ld a,[$C1A8]
and a
jr nz,Logged_0x287FF
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr z,Logged_0x287FF
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$71
ld [$CA81],a
ld a,$90
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$C1A8],a
Logged_0x287FF:
ld hl,$CA86
ld e,[hl]
ld d,$00
inc [hl]
push de
ld a,[$CA69]
and a
jp nz,Logged_0x288AD
ld hl,$768C
add hl,de
ld b,[hl]
call Logged_0x1270
Logged_0x28816:
ld a,[$CA86]
cp $28
jr nc,Logged_0x28857
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x288B8
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,[$CA69]
and a
jr nz,Logged_0x2884E
ld b,$03
call Logged_0x1270
jr Logged_0x28853
Logged_0x2884E:
ld b,$03
call Logged_0x1259
Logged_0x28853:
ld a,$00
jr Logged_0x288A8
Logged_0x28857:
ld a,[$CA69]
and a
jr nz,Logged_0x28866
ld a,[$C093]
bit 5,a
jr nz,Logged_0x288A7
jr Logged_0x2886D
Logged_0x28866:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x288A7
Logged_0x2886D:
xor a
ld [$CA67],a
ld [$CA68],a
ld [$C1A8],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x2888E
ld a,$71
ld [$CA81],a
ld a,$B8
ld [$CA82],a
jr Logged_0x28898
Logged_0x2888E:
ld a,$71
ld [$CA81],a
ld a,$86
ld [$CA82],a
Logged_0x28898:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x288A7:
xor a
Logged_0x288A8:
ld [$CA86],a
pop de
ret
Logged_0x288AD:
ld hl,$768C
add hl,de
ld b,[hl]
call Logged_0x1259
jp Logged_0x28816
Logged_0x288B8:
pop de
ld hl,$7664
add hl,de
ld b,[hl]
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x288D7
jp Logged_0x14DE
Logged_0x288D7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$20
ld [$FF00+hSFXIDLow],a
call Logged_0x14F6
jp Logged_0x285B8
Logged_0x288E5:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA9B],a
jp Logged_0x1570
Logged_0x28900:
ld a,$6C
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
inc a
ld [$CA8A],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$71
ld [$CA81],a
ld a,$9A
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2894E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C08F]
and $0F
call z,Logged_0x2899A
ld a,[$C08F]
and $01
ret nz
ld b,$01
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
jr Logged_0x289C5
Logged_0x2899A:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $04
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld b,$09
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x289C5:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $04
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
ld b,$09
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$6D
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$F8
ld [$CA6F],a
ld a,$F5
ld [$CA71],a
ld a,$0B
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$71
ld [$CA81],a
ld a,$A3
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28A39:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x2AD6A
Logged_0x28A50:
ld a,$6E
ld [$CA83],a
xor a
ld [$CA84],a
ret
Logged_0x28A5A:
ret
ld a,$01
ld [$CA8A],a
ld a,$6F
ld [$CA83],a
xor a
ld [$CA84],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$71
ld [$CA81],a
ld a,$6C
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28A8A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld b,$01
call Logged_0x129E
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $32
ret c
xor a
ld [$CA8A],a
jp Logged_0x28757
Logged_0x28AAD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x28C15
Logged_0x28AD5:
ld a,$71
ld [$CA83],a
ld a,$01
ld [$CA8F],a
xor a
ld [$CEED],a
ld [$CA86],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
ld a,$FF
ld [$CA70],a
ld a,$E8
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x28B2A
ld a,$74
ld [$CA81],a
ld a,$1F
ld [$CA82],a
Logged_0x28B1A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28B2A:
ld a,$73
ld [$CA81],a
ld a,$FE
ld [$CA82],a
jr Logged_0x28B1A
Logged_0x28B36:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x28B63
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0A
ld [$FF00+hSFXIDLow],a
Logged_0x28B63:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA69]
and a
jr nz,Logged_0x28B80
call Logged_0x153F
call Logged_0x1270
jr Logged_0x28B86
Logged_0x28B80:
call Logged_0x151E
call Logged_0x1259
Logged_0x28B86:
ld a,[$CA86]
cp $18
jr c,Logged_0x28B92
ld a,$14
ld [$CA86],a
Logged_0x28B92:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jr nz,Logged_0x28BD5
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x28C15
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$C189]
and a
ret z
and $0F
dec a
ld b,a
ld a,[$CA69]
xor b
jr nz,Logged_0x28BD5
ret
Logged_0x28BD5:
ld a,[$CA69]
xor $01
ld [$CA69],a
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $05
jr nc,Logged_0x28C12
ld a,[$CA69]
and a
jr nz,Logged_0x28C06
ld a,$74
ld [$CA81],a
ld a,$1F
ld [$CA82],a
Logged_0x28BF6:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28C06:
ld a,$73
ld [$CA81],a
ld a,$FE
ld [$CA82],a
jr Logged_0x28BF6
Logged_0x28C12:
jp Logged_0x28C94
Logged_0x28C15:
ld a,$18
ld [$CA75],a
ld a,$03
ld [$CA74],a
ld a,$72
ld [$CA83],a
ret
Logged_0x28C25:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jp nz,Logged_0x28BD5
call Logged_0x1488
call Logged_0x2B1A6
ld a,[$CA86]
cp $18
jr c,Logged_0x28C78
ld a,$14
ld [$CA86],a
Logged_0x28C78:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28C8E
jp Logged_0x14DE
Logged_0x28C8E:
call Logged_0x14F6
jp Logged_0x28AD5
Logged_0x28C94:
xor a
ld [$CA8F],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$73
ld [$CA83],a
ld a,$0A
ld [$CA75],a
ld a,$01
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$74
ld [$CA81],a
ld a,$2A
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28CEB:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B1CC
ld a,[$CA75]
cp $18
jr nc,Logged_0x28D22
ret
Logged_0x28D22:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28D38
jp Logged_0x14DE
Logged_0x28D38:
ld a,[$CA69]
xor $01
ld [$CA69],a
call Logged_0x14F6
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3C
ld [$FF00+hSFXIDLow],a
ld a,$74
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$74
ld [$CA81],a
ld a,$09
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28D92:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3D
ld [$FF00+hSFXIDLow],a
ld a,$75
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
inc a
ld [$CA8A],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$7B
ld [$CA7F],a
ld a,$BC
ld [$CA80],a
ld a,$7C
ld [$CA81],a
ld a,$E2
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28E1A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1570
ld a,$76
ld [$CA83],a
xor a
ld [$CA75],a
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x28E64
ld a,$78
ld [$CA81],a
ld a,$FC
ld [$CA82],a
Logged_0x28E54:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28E64:
ld a,$79
ld [$CA81],a
ld a,$05
ld [$CA82],a
jr Logged_0x28E54
Logged_0x28E70:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x28EEB
Logged_0x28E87:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x2926A
ld a,[$CA74]
and a
jr z,Logged_0x28ECD
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x28EC3
jp Logged_0x14DE
Logged_0x28EC3:
call Logged_0x14F6
xor a
ld [$CA74],a
ld [$CA75],a
Logged_0x28ECD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
Logged_0x28EEB:
ld a,$78
ld [$CA83],a
ld a,$03
ld [$CA93],a
ld a,$03
ld [$CA92],a
ld a,$01
ld [$CA94],a
xor a
ld [$CA75],a
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x28F2D
ld a,$78
ld [$CA81],a
ld a,$1C
ld [$CA82],a
Logged_0x28F1D:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28F2D:
ld a,$78
ld [$CA81],a
ld a,$1F
ld [$CA82],a
jr Logged_0x28F1D
Logged_0x28F39:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
call Logged_0x28F6D
ld a,[$CA83]
cp $78
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x290D6
ret
Logged_0x28F6D:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x290A1
ld a,[$C093]
and $30
jr nz,Logged_0x28F7D
ret
Logged_0x28F7D:
xor a
ld [$CA86],a
ld a,$79
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x28FB4
ld a,$78
ld [$CA81],a
ld a,$22
ld [$CA82],a
Logged_0x28FA4:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x28FB4:
ld a,$78
ld [$CA81],a
ld a,$2B
ld [$CA82],a
jr Logged_0x28FA4
Logged_0x28FC0:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x28FED
ld a,$1C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
Logged_0x28FED:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
cp $02
jp nc,Logged_0x29363
or [hl]
jp z,Logged_0x29363
call Logged_0x2B239
ld a,[$CA83]
cp $79
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x290D6
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x29035:
ld a,$7A
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29061
ld a,$78
ld [$CA81],a
ld a,$F3
ld [$CA82],a
Logged_0x29051:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29061:
ld a,$78
ld [$CA81],a
ld a,$EA
ld [$CA82],a
jr Logged_0x29051
Logged_0x2906D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr nz,Logged_0x290A1
ld a,[$C1A8]
and a
ret z
jp Logged_0x28F7D
Logged_0x290A1:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld a,$01
ld [$CA74],a
ld a,[$CA69]
and a
jr nz,Logged_0x290CA
ld a,$78
ld [$CA81],a
ld a,$34
ld [$CA82],a
jr Logged_0x290D4
Logged_0x290CA:
ld a,$78
ld [$CA81],a
ld a,$39
ld [$CA82],a
Logged_0x290D4:
jr Logged_0x29104
Logged_0x290D6:
ld a,$18
ld [$CA75],a
ld a,$01
ld [$CA96],a
ld [$CA84],a
ld a,$02
ld [$CA74],a
ld a,[$CA69]
and a
jr nz,Logged_0x290FA
ld a,$78
ld [$CA81],a
ld a,$3E
ld [$CA82],a
jr Logged_0x29104
Logged_0x290FA:
ld a,$78
ld [$CA81],a
ld a,$41
ld [$CA82],a
Logged_0x29104:
xor a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$7B
ld [$CA83],a
ret
Logged_0x29123:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x2926A
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
or [hl]
jr nz,Logged_0x2914B
inc [hl]
Logged_0x2914B:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA84]
and a
jr nz,Logged_0x2919D
ld a,[$C1A8]
and a
jr z,Logged_0x2919D
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$01
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x29184
ld a,$78
ld [$CA81],a
ld a,$3E
ld [$CA82],a
jr Logged_0x2918E
Logged_0x29184:
ld a,$78
ld [$CA81],a
ld a,$41
ld [$CA82],a
Logged_0x2918E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x2919D:
call Logged_0x2B2A4
ld a,[$CA83]
cp $7B
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x291C8
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $7B
ret nz
jp Logged_0x290D6
Logged_0x291C8:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x291DE
jp Logged_0x14DE
Logged_0x291DE:
call Logged_0x14F6
ld a,[$CA97]
and a
jr nz,Logged_0x291F1
ld a,$20
ld [$CA97],a
ld a,$01
ld [$CA98],a
Logged_0x291F1:
ld a,[$C1AA]
and a
jr nz,Logged_0x291FF
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$24
ld [$FF00+hSFXIDLow],a
Logged_0x291FF:
ld a,$7C
ld [$CA83],a
xor a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29229
ld a,$78
ld [$CA81],a
ld a,$72
ld [$CA82],a
jr Logged_0x29233
Logged_0x29229:
ld a,$78
ld [$CA81],a
ld a,$87
ld [$CA82],a
Logged_0x29233:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29243:
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
cp $02
jp nc,Logged_0x29363
or [hl]
jp z,Logged_0x29363
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA97]
and a
ret nz
jp Logged_0x28EEB
Logged_0x2926A:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$FF00+$A9]
and $F0
ld [$FF00+$A9],a
ld b,$03
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,$7D
ld [$CA83],a
xor a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA8A],a
ld a,[$CA69]
and a
jr nz,Logged_0x292CB
ld a,$78
ld [$CA81],a
ld a,$72
ld [$CA82],a
jr Logged_0x292D5
Logged_0x292CB:
ld a,$78
ld [$CA81],a
ld a,$87
ld [$CA82],a
Logged_0x292D5:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x292E5:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C08F]
and $0F
call z,Logged_0x29317
ld b,$01
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
call Logged_0x2AD6A
ret
Logged_0x29317:
ld a,[$CA69]
and a
jr nz,Logged_0x29338
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $04
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $10
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x29351
Logged_0x29338:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,$04
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
sub $10
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x29351:
ld b,$09
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29363:
ld a,$7E
ld [$CA83],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2939F
ld a,$78
ld [$CA81],a
ld a,$44
ld [$CA82],a
jr Logged_0x293A9
Logged_0x2939F:
ld a,$78
ld [$CA81],a
ld a,$5B
ld [$CA82],a
Logged_0x293A9:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x293B9:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1570
Logged_0x293D0:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$01
ld [$CA8C],a
ld a,$80
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$06
ld [$CA75],a
ld a,$FF
ld [$CA70],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,[$CA8B]
and a
jr z,Logged_0x2946E
ld a,$E5
ld [$CA6F],a
ld a,[$FF00+$A8]
ld [$FF00+$AD],a
ld a,[$FF00+$A9]
ld [$FF00+$AE],a
ld a,[$FF00+$AA]
ld [$FF00+$AF],a
ld a,[$FF00+$AB]
ld [$FF00+$B0],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $80
ret nz
ld a,b
and a
jr nz,Unknown_0x2947A
xor a
ld [$CA8B],a
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
Logged_0x2946E:
ld a,$E5
ld [$CA6F],a
ld a,$01
ld [$CA74],a
jr Logged_0x29493
Unknown_0x2947A:
ld a,$F1
ld [$CA6F],a
xor a
ld [$CA74],a
ld a,[$FF00+$AD]
ld [$FF00+$A8],a
ld a,[$FF00+$AE]
ld [$FF00+$A9],a
ld a,[$FF00+$AF]
ld [$FF00+$AA],a
ld a,[$FF00+$B0]
ld [$FF00+$AB],a
Logged_0x29493:
ld a,[$CA69]
and a
jr nz,Logged_0x294A5
ld a,$7B
ld [$CA81],a
ld a,$8D
ld [$CA82],a
jr Logged_0x294AF
Logged_0x294A5:
ld a,$7B
ld [$CA81],a
ld a,$7C
ld [$CA82],a
Logged_0x294AF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x294BF:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x29522
ld a,[$CA69]
and a
jr nz,Logged_0x29513
ld b,$01
ld a,[$CA75]
cp $18
jr nc,Logged_0x2950E
inc b
Logged_0x2950E:
call Logged_0x1270
jr Logged_0x29534
Logged_0x29513:
ld b,$01
ld a,[$CA75]
cp $18
jr nc,Logged_0x2951D
inc b
Logged_0x2951D:
call Logged_0x1259
jr Logged_0x29534
Logged_0x29522:
ld a,[$CA69]
and a
jr nz,Unknown_0x2952F
ld b,$01
call Logged_0x1259
jr Logged_0x29534
Unknown_0x2952F:
ld b,$01
call Logged_0x1270
Logged_0x29534:
ld a,[$CA74]
and a
jr nz,Logged_0x29562
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jp nc,Logged_0x295D8
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
ret nz
ld a,$18
ld [$CA75],a
ld a,$01
ld [$CA74],a
ret
Logged_0x29562:
ld a,[$CA75]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
bit 7,[hl]
jr z,Logged_0x29594
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
jr Logged_0x29562
Logged_0x29594:
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x295A3
ld [hl],$27
Logged_0x295A3:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x295B9
jp Logged_0x14DE
Logged_0x295B9:
call Logged_0x14F6
ld a,[$CA74]
inc a
ld [$CA74],a
sub $02
jr z,Logged_0x295CC
dec a
jr z,Logged_0x295D2
jr Logged_0x295D8
Logged_0x295CC:
ld a,$0A
ld [$CA75],a
ret
Logged_0x295D2:
ld a,$0E
ld [$CA75],a
ret
Logged_0x295D8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$41
ld [$FF00+hSFXIDLow],a
ld a,[$CA69]
and a
jr nz,Logged_0x29601
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
sub $08
ld [de],a
dec de
ld a,[hld]
sbc a,$00
ld [de],a
dec de
ld a,[hld]
sub $20
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
jr Logged_0x2961A
Logged_0x29601:
ld hl,$CA64
ld de,$FFAB
ld a,[hld]
add a,$08
ld [de],a
dec de
ld a,[hld]
adc a,$00
ld [de],a
dec de
ld a,[hld]
sub $20
ld [de],a
dec de
ld a,[hl]
sbc a,$00
ld [de],a
Logged_0x2961A:
ld b,$08
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
xor a
ld [$CA84],a
ld [$CA85],a
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$81
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29658
ld a,$7B
ld [$CA81],a
ld a,$9E
ld [$CA82],a
jr Logged_0x29662
Logged_0x29658:
ld a,$7B
ld [$CA81],a
ld a,$AD
ld [$CA82],a
Logged_0x29662:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29672:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1570
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3F
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
inc a
ld [$CA8A],a
ld a,$82
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA93],a
ld [$CA92],a
ld [$CA94],a
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4800
call Logged_0x1AF6
ld a,$04
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$7C
ld [$CA7F],a
ld a,$F7
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x29714
ld a,$7E
ld [$CA81],a
ld a,$1B
ld [$CA82],a
jr Logged_0x2971E
Logged_0x29714:
ld a,$7E
ld [$CA81],a
ld a,$3A
ld [$CA82],a
Logged_0x2971E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2972E:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA8A],a
ld a,$06
ld [$CA8E],a
call Logged_0x161A
ld a,$07
ld [$FF00+$85],a
ld a,$9B
ld [$FF00+$8D],a
ld a,$69
ld [$FF00+$8E],a
call $FF80
ret
ld a,$07
ld [$CA8E],a
ld a,$01
ld [$CA92],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA94],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$25
ld [$FF00+hSFXIDLow],a
ld a,$83
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA6D],a
ld [$CA6E],a
ld [$CEE0],a
ld [$CEE1],a
ld [$CEE2],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$09
ld [$CA7B],a
ld a,$70
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$77
ld [$CA7E],a
ld a,$49
ld [$CA7F],a
ld a,$3F
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x297FB
ld a,$4C
ld [$CA81],a
ld a,$C0
ld [$CA82],a
jr Logged_0x29805
Logged_0x297FB:
ld a,$4C
ld [$CA81],a
ld a,$C9
ld [$CA82],a
Logged_0x29805:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29816:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x2982B:
ld a,$84
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA74],a
ld hl,$4800
call Logged_0x1AF6
ld a,[$CA69]
and a
jr nz,Logged_0x29856
ld a,$4D
ld [$CA81],a
ld a,$4E
ld [$CA82],a
jr Logged_0x29860
Logged_0x29856:
ld a,$4D
ld [$CA81],a
ld a,$57
ld [$CA82],a
Logged_0x29860:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29871:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x2989E
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$26
ld [$FF00+hSFXIDLow],a
Logged_0x2989E:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B2C2
ret
Logged_0x298B2:
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$85
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x298D8
ld a,$4C
ld [$CA81],a
ld a,$E3
ld [$CA82],a
jr Logged_0x298E2
Logged_0x298D8:
ld a,$4C
ld [$CA81],a
ld a,$D8
ld [$CA82],a
Logged_0x298E2:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x298F3:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B342
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $85
ret nz
ld a,b
and a
jr z,Logged_0x29922
jp Logged_0x2992A
Logged_0x29922:
ld a,[$C1A8]
and a
ret z
jp Logged_0x2982B
Logged_0x2992A:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$27
ld [$FF00+hSFXIDLow],a
ld a,$86
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA8A],a
ld a,[$CA69]
and a
jr nz,Logged_0x2995A
ld a,$4C
ld [$CA81],a
ld a,$EE
ld [$CA82],a
jr Logged_0x29964
Logged_0x2995A:
ld a,$4D
ld [$CA81],a
ld a,$1E
ld [$CA82],a
Logged_0x29964:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29975:
ld a,[$CA84]
and a
jr nz,Logged_0x299B8
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$01
ld [$CA84],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x299AE
ld a,$4D
ld [$CA81],a
ld a,$01
ld [$CA82],a
jr Logged_0x299B8
Logged_0x299AE:
ld a,$4D
ld [$CA81],a
ld a,$31
ld [$CA82],a
Logged_0x299B8:
ld a,[$CA7E]
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1570
Logged_0x299D0:
ld a,$87
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
ld a,$04
ld [$CA93],a
ld a,$04
ld [$CA92],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA8D],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA75],a
ld [$CA74],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4890
call Logged_0x1AF6
ld a,$0B
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$44
ld [$CA7F],a
ld a,$8B
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x29A5A
ld a,$48
ld [$CA81],a
ld a,$B6
ld [$CA82],a
jr Logged_0x29A64
Logged_0x29A5A:
ld a,$48
ld [$CA81],a
ld a,$B9
ld [$CA82],a
Logged_0x29A64:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29A74:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $87
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $87
ret nz
ld a,b
and a
jp z,Logged_0x29BB9
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B34E
ret
Logged_0x29AC1:
xor a
ld [$CEED],a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld a,$88
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29AEC
ld a,$48
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x29AF6
Logged_0x29AEC:
ld a,$48
ld [$CA81],a
ld a,$79
ld [$CA82],a
Logged_0x29AF6:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29B06:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x29B33
ld a,$24
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$29
ld [$FF00+hSFXIDLow],a
Logged_0x29B33:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B381
ld a,[$CA83]
cp $88
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x29BB9
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x29B6A:
ld a,$89
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29B88
ld a,$48
ld [$CA81],a
ld a,$9D
ld [$CA82],a
jr Logged_0x29B92
Logged_0x29B88:
ld a,$48
ld [$CA81],a
ld a,$94
ld [$CA82],a
Logged_0x29B92:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29BA2:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x29AC1
Logged_0x29BB9:
ld a,[$CA69]
and a
jr nz,Logged_0x29BCB
ld a,$48
ld [$CA81],a
ld a,$B0
ld [$CA82],a
jr Logged_0x29BD5
Logged_0x29BCB:
ld a,$48
ld [$CA81],a
ld a,$B3
ld [$CA82],a
Logged_0x29BD5:
ld a,$01
ld [$CA84],a
ld a,$18
ld [$CA75],a
jr Logged_0x29C04
Logged_0x29BE1:
ld a,[$CA69]
and a
jr nz,Logged_0x29BF3
ld a,$48
ld [$CA81],a
ld a,$A6
ld [$CA82],a
jr Logged_0x29BFD
Logged_0x29BF3:
ld a,$48
ld [$CA81],a
ld a,$AB
ld [$CA82],a
Logged_0x29BFD:
xor a
ld [$CA84],a
ld [$CA75],a
Logged_0x29C04:
ld a,$01
ld [$CA74],a
xor a
ld [$CA85],a
ld a,$8A
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29C29:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA83]
cp $8A
ret nz
call Logged_0x2B3DD
ld a,[$CA83]
cp $8A
ret nz
ld a,[$CA84]
and a
jr nz,Logged_0x29C88
ld a,[$C1A8]
and a
jr z,Logged_0x29C88
xor a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x29C7E
ld a,$48
ld [$CA81],a
ld a,$B0
ld [$CA82],a
jr Logged_0x29C88
Logged_0x29C7E:
ld a,$48
ld [$CA81],a
ld a,$B3
ld [$CA82],a
Logged_0x29C88:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $8A
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x29CBF
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $8A
ret nz
jp Logged_0x29BB9
Logged_0x29CBF:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x29CD5
jp Logged_0x14DE
Logged_0x29CD5:
call Logged_0x14F6
ld a,[$CA83]
cp $8A
ret nz
Logged_0x29CDE:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$CA93],a
ld a,$02
ld [$CA92],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA75],a
ld [$CA74],a
ld a,$8B
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA67],a
ld [$CA68],a
ld a,$06
ld [$FF00+$85],a
ld a,$77
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1CA]
and a
jr z,Logged_0x29D43
ld a,$01
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x29D37
ld a,$48
ld [$CA81],a
ld a,$BC
ld [$CA82],a
jr Logged_0x29D5F
Logged_0x29D37:
ld a,$48
ld [$CA81],a
ld a,$D5
ld [$CA82],a
jr Logged_0x29D5F
Logged_0x29D43:
ld a,[$CA69]
and a
jr nz,Logged_0x29D55
ld a,$49
ld [$CA81],a
ld a,$48
ld [$CA82],a
jr Logged_0x29D5F
Logged_0x29D55:
ld a,$49
ld [$CA81],a
ld a,$53
ld [$CA82],a
Logged_0x29D5F:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29D6F:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$CA84]
dec a
jr z,Logged_0x29D8C
jp Logged_0x299D0
Logged_0x29D8C:
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
ld a,$06
ld [$CA85],a
ld a,$8C
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29DB9
ld a,$49
ld [$CA81],a
ld a,$28
ld [$CA82],a
jr Logged_0x29DC3
Logged_0x29DB9:
ld a,$49
ld [$CA81],a
ld a,$2B
ld [$CA82],a
Logged_0x29DC3:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29DD3:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA83]
cp $8C
ret nz
call Logged_0x2B3DD
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $8C
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x29E2A
ld a,[$CA83]
cp $8C
ret nz
jp Logged_0x14DE
Logged_0x29E2A:
call Logged_0x14F6
ld a,[$CA83]
cp $8C
ret nz
call Logged_0x29CDE
ld a,[$CA69]
and a
jr nz,Logged_0x29E48
ld a,$48
ld [$CA81],a
ld a,$EE
ld [$CA82],a
jr Logged_0x29E52
Logged_0x29E48:
ld a,$49
ld [$CA81],a
ld a,$0B
ld [$CA82],a
Logged_0x29E52:
xor a
ld [$CA67],a
ld [$CA68],a
ld [$C1A8],a
ld a,$02
ld [$CA84],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
ld a,$8D
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ret
Logged_0x29E7E:
ld a,[$C08F]
and $03
ret nz
ld hl,$CA84
inc [hl]
ld a,[hli]
cp $08
jr c,Logged_0x29E95
cp $0B
jr z,Logged_0x29EA5
dec [hl]
ld a,[hl]
jr Logged_0x29E96
Logged_0x29E95:
ld [hl],a
Logged_0x29E96:
add a,a
add a,a
add a,a
add a,a
ld e,a
ld d,$00
ld hl,$4890
add hl,de
call Logged_0x1AF6
ret
Logged_0x29EA5:
jp Logged_0x1570
ld a,[$CA83]
cp $8E
ret z
cp $8C
ret z
cp $8B
ret z
xor a
ld [$CA75],a
ld [$CA74],a
ld a,$8E
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x29ED9
ld a,$49
ld [$CA81],a
ld a,$2E
ld [$CA82],a
jr Logged_0x29EE3
Logged_0x29ED9:
ld a,$49
ld [$CA81],a
ld a,$3B
ld [$CA82],a
Logged_0x29EE3:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x29EF3:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x299D0
Unknown_0x29F0A:
ld a,$8F
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Unknown_0x29F28
ld a,$48
ld [$CA81],a
ld a,$82
ld [$CA82],a
jr Unknown_0x29F32
Unknown_0x29F28:
ld a,$48
ld [$CA81],a
ld a,$8B
ld [$CA82],a
Unknown_0x29F32:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x29F42:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C093]
and a
jp nz,Logged_0x299D0
ret
ld a,$90
ld [$CA83],a
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
ld a,$FF
ld [$CA70],a
ld a,$E3
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA8D],a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4910
call Logged_0x1AF6
ld a,$0B
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$49
ld [$CA7F],a
ld a,$5E
ld [$CA80],a
ld a,$4C
ld [$CA81],a
ld a,$6C
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld b,$02
call Logged_0x1259
ret
Logged_0x29FFA:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
call Logged_0x1488
call Logged_0x2B1A6
ld a,[$CA86]
cp $08
jr c,Logged_0x2A029
ld a,$04
ld [$CA86],a
Logged_0x2A029:
ld a,[$CA83]
cp $90
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A04B
ld a,[$CA83]
cp $90
ret nz
jp Logged_0x14DE
Logged_0x2A04B:
call Logged_0x14F6
ld a,[$CA83]
cp $90
ret nz
Logged_0x2A054:
xor a
ld [$CA75],a
ld [$CA74],a
ld [$CA84],a
ld [$CA86],a
ld a,$91
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4C
ld [$CA81],a
ld a,$5F
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A087:
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
or [hl]
jp z,Logged_0x2A2E7
call Logged_0x2AE3B
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$C093]
bit 0,a
jr nz,Logged_0x2A0BB
jr Logged_0x2A0C2
ld a,[$C093]
bit 0,a
jr nz,Logged_0x2A0BB
jr Logged_0x2A0C2
Logged_0x2A0BB:
ld a,$05
ld [$CA74],a
jr Logged_0x2A0C7
Logged_0x2A0C2:
ld a,$04
ld [$CA74],a
Logged_0x2A0C7:
xor a
ld [$CA75],a
Logged_0x2A0CB:
ld a,$92
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2B
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4C
ld [$CA81],a
ld a,$6C
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A0F9:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$C1A8]
and a
jr nz,Logged_0x2A15A
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA74]
cp $05
jr nz,Logged_0x2A15A
ld a,[$C1A8]
and a
jr z,Logged_0x2A15A
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0A
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
Logged_0x2A15A:
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
or [hl]
jp z,Logged_0x2A21E
call Logged_0x2AE3B
call Logged_0x1488
call Logged_0x2B17A
ld a,[$CA86]
cp $08
jr c,Logged_0x2A17A
ld a,$04
ld [$CA86],a
Logged_0x2A17A:
ld a,[$CA83]
cp $92
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x2A1A6
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $92
ret nz
ld a,$18
ld [$CA75],a
jr Logged_0x2A1CE
Logged_0x2A1A6:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A1C2
ld a,[$CA83]
cp $92
ret nz
jp Logged_0x14DE
Logged_0x2A1C2:
call Logged_0x14F6
ld a,[$CA83]
cp $92
ret nz
jp Logged_0x2A054
Logged_0x2A1CE:
xor a
ld a,$93
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4C
ld [$CA81],a
ld a,$75
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A1F5:
call Logged_0x2AE2F
ld hl,$CA90
ld a,[hli]
or [hl]
jr z,Logged_0x2A21E
call Logged_0x2AE3B
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$18
ld [$CA75],a
jp Logged_0x2A0CB
Logged_0x2A21E:
ld a,$94
ld [$CA83],a
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
xor a
ld [$CA85],a
ld a,$05
ld [$CA93],a
ld a,$05
ld [$CA92],a
ld a,$02
ld [$CA94],a
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4910
call Logged_0x1AF6
ld a,$4C
ld [$CA81],a
ld a,$82
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A267:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A29D
jp Logged_0x14DE
Logged_0x2A29D:
call Logged_0x14F6
ld a,[$CA83]
cp $94
ret nz
ld a,$95
ld [$CA83],a
xor a
ld [$CA75],a
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$4C
ld [$CA81],a
ld a,$85
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A2D3:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x2A2E7:
ld a,$05
ld [$CA93],a
ld a,$05
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld hl,$4910
call Logged_0x1AF6
ld a,[$CA69]
and a
jr nz,Logged_0x2A30E
ld a,$4C
ld [$CA81],a
ld a,$BF
ld [$CA82],a
jr Logged_0x2A318
Logged_0x2A30E:
ld a,$4C
ld [$CA81],a
ld a,$B2
ld [$CA82],a
Logged_0x2A318:
xor a
ld [$CA67],a
ld [$CA68],a
jr Logged_0x2A344
Unknown_0x2A321:
INCBIN "baserom.gbc", $2A321, $2A344 - $2A321
Logged_0x2A344:
ld a,$96
ld [$CA83],a
xor a
ld [$CA75],a
ld a,$02
ld [$CA74],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A362:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$C1A8]
and a
jr nz,Logged_0x2A394
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x2A394:
call Logged_0x1488
call Logged_0x2B1A6
ld a,[$CA86]
cp $08
jr c,Logged_0x2A3A6
ld a,$04
ld [$CA86],a
Logged_0x2A3A6:
ld a,[$CA75]
cp $18
jr nc,Logged_0x2A3CB
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $96
ret nz
ld a,$18
ld [$CA75],a
ret
Logged_0x2A3CB:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A3E1
jp Logged_0x14DE
Logged_0x2A3E1:
call Logged_0x14F6
ld a,[$CA83]
cp $96
ret nz
jp Logged_0x1570
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$42
ld [$FF00+hSFXIDLow],a
ld a,$97
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld a,[$CA74]
and a
jr z,Logged_0x2A42F
ld a,$18
ld [$CA75],a
Logged_0x2A42F:
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
and a
jr nz,Unknown_0x2A46F
ld a,$4C
ld [$CA81],a
ld a,$CC
ld [$CA82],a
jr Logged_0x2A479
Unknown_0x2A46F:
ld a,$4C
ld [$CA81],a
ld a,$E1
ld [$CA82],a
Logged_0x2A479:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A489:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA74]
and a
jr z,Logged_0x2A4CF
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A4C5
jp Logged_0x14DE
Logged_0x2A4C5:
call Logged_0x14F6
xor a
ld [$CA74],a
ld [$CA75],a
Logged_0x2A4CF:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $80
ret c
ld [hl],$00
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$43
ld [$FF00+hSFXIDLow],a
ld a,$98
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$7B
ld [$CA7F],a
ld a,$BC
ld [$CA80],a
ld a,$7C
ld [$CA81],a
ld a,$E2
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A544:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x2A558:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$43
ld [$FF00+hSFXIDLow],a
ld a,$99
ld [$CA83],a
ld a,$02
ld [$CA93],a
ld a,$01
ld [$CA92],a
ld a,$01
ld [$CA94],a
xor a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$0B
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$4C
ld [$CA7F],a
ld a,$D5
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x2A5BE
ld a,$4F
ld [$CA81],a
ld a,$9F
ld [$CA82],a
jr Logged_0x2A5C8
Logged_0x2A5BE:
ld a,$4F
ld [$CA81],a
ld a,$6E
ld [$CA82],a
Logged_0x2A5C8:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A5D8:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B3F9
ld a,[$CA83]
cp $99
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Unknown_0x2A67B
ret
Logged_0x2A61A:
ld a,$9A
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x2A63D
ld a,$4F
ld [$CA81],a
ld a,$D0
ld [$CA82],a
jr Logged_0x2A647
Logged_0x2A63D:
ld a,$4F
ld [$CA81],a
ld a,$D7
ld [$CA82],a
Logged_0x2A647:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A657:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr nz,Logged_0x2A675
ld a,[$C1A8]
and a
ret z
jp Logged_0x2A558
Logged_0x2A675:
xor a
ld [$CA75],a
jr Logged_0x2A680
Unknown_0x2A67B:
ld a,$18
ld [$CA75],a
Logged_0x2A680:
ld a,$9B
ld [$CA83],a
ld a,$02
ld [$CA74],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2A6A6
ld a,$4F
ld [$CA81],a
ld a,$9F
ld [$CA82],a
jr Logged_0x2A6B0
Logged_0x2A6A6:
ld a,$4F
ld [$CA81],a
ld a,$6E
ld [$CA82],a
Logged_0x2A6B0:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A6C0:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1488
call Logged_0x2B1A6
ld a,[$CA86]
cp $10
jr c,Logged_0x2A6FE
ld a,$0C
ld [$CA86],a
Logged_0x2A6FE:
ld a,[$CA75]
cp $18
jr nc,Logged_0x2A71D
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ret
Logged_0x2A71D:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Unknown_0x2A733
jp Logged_0x14DE
Unknown_0x2A733:
call Logged_0x14F6
jp Logged_0x2A558
Logged_0x2A739:
ld a,$9C
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$0B
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$54
ld [$CA7F],a
ld a,$98
ld [$CA80],a
ld a,$58
ld [$CA81],a
ld a,$1C
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A77B:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $9C
ret nz
ld a,b
and a
jp z,Logged_0x2A8A7
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B4F3
ret
Logged_0x2A7A8:
ld a,$9D
ld [$CA83],a
xor a
ld [$CA86],a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
ld a,[$C093]
bit 5,a
jr nz,Logged_0x2A7D4
bit 4,a
jr nz,Logged_0x2A7E5
ld a,[$CA69]
and a
jr nz,Logged_0x2A7E5
Logged_0x2A7D4:
ld a,$00
ld [$CA69],a
ld a,$58
ld [$CA81],a
ld a,$25
ld [$CA82],a
jr Logged_0x2A7F4
Logged_0x2A7E5:
ld a,$01
ld [$CA69],a
ld a,$58
ld [$CA81],a
ld a,$2E
ld [$CA82],a
Logged_0x2A7F4:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A804:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA83]
cp $9D
ret nz
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B509
ld a,[$CA83]
cp $9D
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $9D
ret nz
ld a,b
and a
ret nz
jp Logged_0x2A8A7
Logged_0x2A853:
ld a,$9E
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Unknown_0x2A876
ld a,$58
ld [$CA81],a
ld a,$41
ld [$CA82],a
jr Logged_0x2A880
Unknown_0x2A876:
ld a,$58
ld [$CA81],a
ld a,$3A
ld [$CA82],a
Logged_0x2A880:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A890:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x2A7A8
Logged_0x2A8A7:
ld a,$18
ld [$CA75],a
jr Logged_0x2A8BA
Logged_0x2A8AE:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1D
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
Logged_0x2A8BA:
ld a,$9F
ld [$CA83],a
ld a,$01
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ret
Logged_0x2A8D2:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA83]
cp $9F
ret nz
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B55C
ld a,[$CA83]
cp $9F
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x2A92F
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $9F
ret nz
ld a,b
and a
ret z
jp Logged_0x2A8A7
Logged_0x2A92F:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2A945
jp Logged_0x14DE
Logged_0x2A945:
call Logged_0x14F6
ld a,[$CA83]
cp $9F
ret nz
jp Logged_0x2A739
Logged_0x2A951:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$46
ld [$FF00+hSFXIDLow],a
ld a,$A0
ld [$CA83],a
ld a,$F1
ld [$CA6F],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$0B
ld [$CA7B],a
ld a,$58
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$50
ld [$CA7F],a
ld a,$31
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x2A998
ld a,$54
ld [$CA81],a
ld a,$0A
ld [$CA82],a
jr Logged_0x2A9A2
Logged_0x2A998:
ld a,$54
ld [$CA81],a
ld a,$79
ld [$CA82],a
Logged_0x2A9A2:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2A9B2:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x2A9C6:
ld a,$A1
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA75],a
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2A9EE
ld a,$54
ld [$CA81],a
ld a,$5F
ld [$CA82],a
jr Logged_0x2A9F8
Logged_0x2A9EE:
ld a,$54
ld [$CA81],a
ld a,$6C
ld [$CA82],a
Logged_0x2A9F8:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2AA08:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $A1
ret nz
ld a,b
and a
jp z,Logged_0x2ABF4
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x2AA39
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x2AA39:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 1,a
jr nz,Logged_0x2AA55
bit 0,a
jp nz,Logged_0x2AB2F
ret
Logged_0x2AA55:
ld a,$E5
ld [$CA6F],a
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $A1
ret nz
ld a,b
and a
jr z,Logged_0x2AA81
ld a,$F1
ld [$CA6F],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
ret
Logged_0x2AA81:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$45
ld [$FF00+hSFXIDLow],a
ld a,$A2
ld [$CA83],a
ld a,$04
ld [$CA93],a
ld a,$04
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4950
call Logged_0x1AF6
ld a,$0B
ld [$CA7B],a
ld a,$58
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$50
ld [$CA7F],a
ld a,$31
ld [$CA80],a
ld a,$54
ld [$CA81],a
ld a,$39
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2AB18:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x2A739
Logged_0x2AB2F:
ld a,$A3
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA75],a
inc a
ld [$CA74],a
jp Logged_0x2ABC1
Logged_0x2AB42:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA83]
cp $A3
ret nz
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x2AB7C
ld a,$10
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x2AB7C:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $A3
ret nz
ld a,b
and a
jr nz,Logged_0x2ABF4
call Logged_0x2B63B
ld a,[$CA83]
cp $A3
ret nz
call Logged_0x2B17A
ld a,[$CA86]
cp $08
jr c,Logged_0x2ABBC
ld a,$04
ld [$CA86],a
Logged_0x2ABBC:
ld a,[$CA95]
and a
ret z
Logged_0x2ABC1:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2ABDA
ld a,$54
ld [$CA81],a
ld a,$2C
ld [$CA82],a
jr Logged_0x2ABE4
Logged_0x2ABDA:
ld a,$54
ld [$CA81],a
ld a,$34
ld [$CA82],a
Logged_0x2ABE4:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2ABF4:
ld a,$A4
ld [$CA83],a
ld a,$03
ld [$CA74],a
ld a,$18
ld [$CA75],a
ret
Logged_0x2AC04:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA83]
cp $A4
ret nz
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jp nz,Logged_0x2AB2F
call Logged_0x1488
call Logged_0x2B17A
ld a,[$CA86]
cp $08
jr c,Logged_0x2AC50
ld a,$04
ld [$CA86],a
Logged_0x2AC50:
ld a,[$CA95]
and a
call nz,Logged_0x2ABC1
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $A4
ret nz
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x2A9C6
ld a,$A5
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CEED],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4980
call Logged_0x1AF6
ld a,$0B
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$58
ld [$CA7F],a
ld a,$7C
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
ld [$CA84],a
ld a,$5B
ld [$CA81],a
ld a,$2C
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2AD06:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0DB]
and a
jr z,Logged_0x2AD45
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x2AD32
ld a,$0E
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$23
ld [$FF00+hSFXIDLow],a
Logged_0x2AD32:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x2B56F
ret
Logged_0x2AD45:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0B
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1570
Logged_0x2AD6A:
call Logged_0x1079
ld a,$10
ld [$CA8C],a
call Logged_0x161A
ld a,$07
ld [$FF00+$85],a
ld a,$95
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
xor a
ld [$CA67],a
ld [$CA68],a
inc a
ld [$CA85],a
ld hl,$4800
call Logged_0x1AF6
ld a,$04
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$52
ld [$CA7F],a
ld a,$54
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x2ADC8
ld a,$55
ld [$CA81],a
ld a,$A6
ld [$CA82],a
jr Logged_0x2ADD2
Logged_0x2ADC8:
ld a,$55
ld [$CA81],a
ld a,$AB
ld [$CA82],a
Logged_0x2ADD2:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1070
Logged_0x2ADE4:
call Logged_0x1079
ld a,$10
ld [$CA8C],a
call Logged_0x161A
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$FF00+$A9]
and $F0
ld [$FF00+$A9],a
ld b,$07
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,$07
ld [$FF00+$85],a
ld a,$7C
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2AE2F:
ld hl,$CA91
ld a,[hl]
sub $01
ld [hld],a
ld a,[hl]
sbc a,$00
ld [hl],a
ret
Logged_0x2AE3B:
call Logged_0x2AE5C
ret nc
ld de,$0000
ld a,[$CA85]
xor $01
ld [$CA85],a
jr z,Logged_0x2AE54
ld hl,$4920
add hl,de
call Logged_0x1AF6
ret
Logged_0x2AE54:
ld hl,$4910
add hl,de
call Logged_0x1AF6
ret
Logged_0x2AE5C:
ld hl,$CA90
ld a,[hli]
cp $02
jr nc,Logged_0x2AE87
and a
jr z,Logged_0x2AE6E
ld a,[hl]
cp $68
jr nc,Logged_0x2AE87
jr Logged_0x2AE7E
Logged_0x2AE6E:
ld a,[hl]
cp $78
jr nc,Logged_0x2AE7E
ld a,[$C08F]
and $03
jr nz,Logged_0x2AE87
ld a,$01
jr Logged_0x2AE85
Logged_0x2AE7E:
ld a,[$C08F]
and $0F
jr nz,Logged_0x2AE87
Logged_0x2AE85:
scf
ret
Logged_0x2AE87:
scf
ccf
ret
Logged_0x2AE8A:
ld a,[$C094]
bit 0,a
jr z,Logged_0x2AEA7
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2AEA7
jp Logged_0x2AF81
Logged_0x2AEA7:
ld a,[$CA69]
and a
jr nz,Logged_0x2AECB
jr Logged_0x2AEAF
Logged_0x2AEAF:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2AEF1
call Logged_0x153F
call Logged_0x1270
jp Logged_0x2AEE4
Logged_0x2AECB:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2AF19
call Logged_0x151E
call Logged_0x1259
Logged_0x2AEE4:
ld a,[$CA86]
cp $14
jr c,Logged_0x2AEF0
ld a,$10
ld [$CA86],a
Logged_0x2AEF0:
ret
Logged_0x2AEF1:
ld b,$02
call Logged_0x1259
ld a,$01
ld [$CA69],a
ld a,[$CA84]
and a
jr nz,Logged_0x2AF0D
ld a,$6B
ld [$CA81],a
ld a,$49
ld [$CA82],a
jr Logged_0x2AF3F
Logged_0x2AF0D:
ld a,$6B
ld [$CA81],a
ld a,$1D
ld [$CA82],a
jr Logged_0x2AF3F
Logged_0x2AF19:
ld b,$02
call Logged_0x1270
ld a,$00
ld [$CA69],a
ld a,[$CA84]
and a
jr nz,Logged_0x2AF35
ld a,$6B
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x2AF3F
Logged_0x2AF35:
ld a,$6B
ld [$CA81],a
ld a,$14
ld [$CA82],a
Logged_0x2AF3F:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp nz,Unknown_0x2814A
ret
Logged_0x2AF75:
ld a,$18
ld [$CA75],a
ld a,$03
ld [$CA74],a
jr Logged_0x2AF92
Logged_0x2AF81:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld a,$02
ld [$CA74],a
Logged_0x2AF92:
xor a
ld [$CA85],a
ld a,$61
ld [$CA83],a
ret
Logged_0x2AF9C:
call Logged_0x1488
call Logged_0x2B1A6
ld a,[$CA86]
cp $14
jr c,Logged_0x2AFAE
ld a,$10
ld [$CA86],a
Logged_0x2AFAE:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,$18
ld [$CA75],a
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,[$CA69]
and a
jr nz,Logged_0x2AFF6
ld b,$03
call Logged_0x1270
ld a,[$CA84]
and a
jr nz,Logged_0x2AFEA
ld a,$6B
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x2B017
Logged_0x2AFEA:
ld a,$6B
ld [$CA81],a
ld a,$14
ld [$CA82],a
jr Logged_0x2B017
Logged_0x2AFF6:
ld b,$03
call Logged_0x1259
ld a,[$CA84]
and a
jr nz,Logged_0x2B00D
ld a,$6B
ld [$CA81],a
ld a,$49
ld [$CA82],a
jr Logged_0x2B017
Logged_0x2B00D:
ld a,$6B
ld [$CA81],a
ld a,$1D
ld [$CA82],a
Logged_0x2B017:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B027:
call Logged_0x1488
ld hl,$CA84
ld a,[hl]
and a
jr z,Logged_0x2B033
dec [hl]
ret
Logged_0x2B033:
call Logged_0x2B17A
ld a,[$CA86]
cp $08
jr c,Logged_0x2B042
ld a,$04
ld [$CA86],a
Logged_0x2B042:
ld a,[$CA95]
and a
ret z
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x2B060
ld a,$6B
ld [$CA81],a
ld a,$26
ld [$CA82],a
jr Logged_0x2B06A
Logged_0x2B060:
ld a,$6B
ld [$CA81],a
ld a,$2F
ld [$CA82],a
Logged_0x2B06A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B07A:
ld a,[$C093]
and $30
ret z
and $10
jr nz,Logged_0x2B0C7
ld a,[$CA69]
and a
jr z,Logged_0x2B0AF
ld a,$00
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$6B
ld [$CA81],a
ld a,$26
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x2B0AF:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x2B0C7:
ld a,[$CA69]
and a
jr nz,Logged_0x2B0F2
ld a,$01
ld [$CA69],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$6B
ld [$CA81],a
ld a,$2F
ld [$CA82],a
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x2B0F2:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x2B10A:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x286D1
ld a,[$C093]
and $30
jp nz,Logged_0x28628
ret
Logged_0x2B11B:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x286D1
ld a,[$C093]
bit 5,a
jr nz,Logged_0x2B131
bit 4,a
jr nz,Logged_0x2B150
jp Logged_0x285B8
Logged_0x2B131:
ld a,$00
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x153F
call Logged_0x1270
jr Logged_0x2B16D
Logged_0x2B150:
ld a,$01
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
call Logged_0x151E
call Logged_0x1259
Logged_0x2B16D:
ld a,[$CA86]
cp $04
jr c,Logged_0x2B179
ld a,$00
ld [$CA86],a
Logged_0x2B179:
ret
Logged_0x2B17A:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x2B186
bit 5,a
jr nz,Logged_0x2B196
ret
Logged_0x2B186:
ld a,$07
ld [$FF00+$85],a
ld a,$ED
ld [$FF00+$8D],a
ld a,$70
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B196:
ld a,$07
ld [$FF00+$85],a
ld a,$04
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B1A6:
ld a,[$CA69]
and a
jr nz,Logged_0x2B1BC
ld a,$07
ld [$FF00+$85],a
ld a,$04
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B1BC:
ld a,$07
ld [$FF00+$85],a
ld a,$ED
ld [$FF00+$8D],a
ld a,$70
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B1CC:
ld a,[$CA69]
and a
jr nz,Logged_0x2B1F1
ld b,$02
call Logged_0x1270
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x2B20E
ld b,$02
call Logged_0x1259
jr Logged_0x2B20E
Logged_0x2B1F1:
ld b,$02
call Logged_0x1259
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x2B20E
ld b,$02
call Logged_0x1270
Logged_0x2B20E:
ld a,[$CA75]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
bit 7,[hl]
jr z,Logged_0x2B229
ld a,[hl]
cpl
inc a
ld b,a
call Logged_0x129E
ld hl,$CA75
inc [hl]
jr Logged_0x2B238
Logged_0x2B229:
ld b,[hl]
call Logged_0x1287
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $27
jr c,Logged_0x2B238
ld [hl],$27
Logged_0x2B238:
ret
Logged_0x2B239:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x290A1
ld a,[$C093]
bit 4,a
jr nz,Logged_0x2B24F
bit 5,a
jr nz,Logged_0x2B279
jp Logged_0x28EEB
Logged_0x2B24F:
ld a,[$CA69]
and a
jr z,Logged_0x2B271
ld a,$07
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x2B270
ld a,$04
ld [$CA86],a
Logged_0x2B270:
ret
Logged_0x2B271:
ld a,$01
ld [$CA69],a
jp Logged_0x29035
Logged_0x2B279:
ld a,[$CA69]
cp $00
jr nz,Logged_0x2B29C
ld a,$07
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x2B29B
ld a,$04
ld [$CA86],a
Logged_0x2B29B:
ret
Logged_0x2B29C:
ld a,$00
ld [$CA69],a
jp Logged_0x29035
Logged_0x2B2A4:
call Logged_0x1488
call Logged_0x2B17A
ld a,[$CA86]
cp $08
jr c,Logged_0x2B2B6
ld a,$04
ld [$CA86],a
Logged_0x2B2B6:
ld a,[$CA75]
cp $18
ret nz
ld a,$01
ld [$CA96],a
ret
Logged_0x2B2C2:
call Logged_0x2B342
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $84
ret nz
ld a,b
and a
jr z,Logged_0x2B2E1
jp Logged_0x2992A
Logged_0x2B2E1:
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x2B2F6
call Logged_0x114E
ld a,[$CA78]
sub c
jr nc,Logged_0x2B2F6
call Logged_0x11D6
Logged_0x2B2F6:
ld a,[$CA69]
and a
jr nz,Logged_0x2B31F
ld a,[$C093]
bit 4,a
jp nz,Logged_0x298B2
bit 5,a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x2B31F:
ld a,[$C093]
bit 5,a
jp nz,Logged_0x298B2
bit 4,a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x2B342:
ld a,[$C08F]
and $01
ret nz
ld b,$01
call Logged_0x129E
ret
Logged_0x2B34E:
ld a,[$C093]
bit 0,a
jp nz,Logged_0x29BE1
and $30
jp nz,Logged_0x29AC1
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x29BB9
ld hl,$CA84
ld a,[hl]
add a,$01
ld [hli],a
ld a,[hl]
adc a,$00
ld [hl],a
cp $02
ret c
jp Unknown_0x29F0A
Unknown_0x2B380:
INCBIN "baserom.gbc", $2B380, $2B381 - $2B380
Logged_0x2B381:
ld a,[$C093]
bit 0,a
jp nz,Logged_0x29BE1
bit 4,a
jr nz,Logged_0x2B394
bit 5,a
jr nz,Logged_0x2B3B3
jp Logged_0x299D0
Logged_0x2B394:
ld a,[$CA69]
and a
jr z,Logged_0x2B3AB
ld a,$07
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
jr Logged_0x2B3C8
Logged_0x2B3AB:
ld a,$01
ld [$CA69],a
jp Logged_0x29B6A
Logged_0x2B3B3:
ld a,[$CA69]
and a
jr nz,Logged_0x2B3D5
ld a,$07
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
Logged_0x2B3C8:
ld a,[$CA86]
cp $04
jr c,Logged_0x2B3D4
ld a,$00
ld [$CA86],a
Logged_0x2B3D4:
ret
Logged_0x2B3D5:
ld a,$00
ld [$CA69],a
jp Logged_0x29B6A
Logged_0x2B3DD:
call Logged_0x1488
ld hl,$CA85
ld a,[hl]
and a
jr z,Logged_0x2B3E9
dec [hl]
ret
Logged_0x2B3E9:
call Logged_0x2B17A
ld a,[$CA86]
cp $04
jr c,Logged_0x2B3F8
ld a,$00
ld [$CA86],a
Logged_0x2B3F8:
ret
Logged_0x2B3F9:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x2A675
call Logged_0x2B42B
ld a,[$CA83]
cp $99
ret nz
ld a,[$C1A8]
and a
ret z
ld a,[$CA69]
and a
jr nz,Unknown_0x2B421
ld a,[$C093]
bit 5,a
jr z,Unknown_0x2B428
Unknown_0x2B41C:
xor a
ld [$CA86],a
ret
Unknown_0x2B421:
ld a,[$C093]
bit 4,a
jr nz,Unknown_0x2B41C
Unknown_0x2B428:
jp Logged_0x2A61A
Logged_0x2B42B:
ld hl,$CA86
inc [hl]
ld a,[hl]
cp $06
jr c,Logged_0x2B495
jp z,Logged_0x2B4D0
cp $09
ret c
cp $12
jr c,Logged_0x2B495
jp z,Logged_0x2B4D0
cp $15
ret c
cp $18
jr c,Logged_0x2B495
cp $22
jr c,Logged_0x2B45D
jp z,Logged_0x2B4D0
cp $25
ret c
cp $2C
jr c,Logged_0x2B457
ret
Logged_0x2B457:
ld a,[$C08F]
and $01
ret z
Logged_0x2B45D:
ld a,[$CA69]
and a
jr nz,Logged_0x2B47C
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B4CD
ld b,$01
call Logged_0x1270
ret
Logged_0x2B47C:
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B4CD
ld b,$01
call Logged_0x1259
ret
Logged_0x2B495:
ld a,[$CA69]
and a
jr nz,Logged_0x2B4B4
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B4CD
ld b,$02
call Logged_0x1270
ret
Logged_0x2B4B4:
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B4CD
ld b,$02
call Logged_0x1259
ret
Logged_0x2B4CD:
jp Logged_0x2A61A
Logged_0x2B4D0:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$04
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x2B4F3:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x2A951
bit 0,a
jp nz,Logged_0x2A8AE
ld a,[$C093]
and $30
jp nz,Logged_0x2A7A8
ret
Logged_0x2B509:
ld a,[$C093]
bit 1,a
jp nz,Logged_0x2A951
bit 0,a
jp nz,Logged_0x2A8AE
bit 4,a
jr nz,Logged_0x2B521
bit 5,a
jr nz,Logged_0x2B539
jp Logged_0x2A739
Logged_0x2B521:
ld a,[$CA69]
and a
jp z,Logged_0x2A853
ld a,$07
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
jr Logged_0x2B54F
Logged_0x2B539:
ld a,[$CA69]
and a
jp nz,Logged_0x2A853
ld a,$07
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
Logged_0x2B54F:
ld a,[$CA86]
cp $10
jr c,Logged_0x2B55B
ld a,$0C
ld [$CA86],a
Logged_0x2B55B:
ret
Logged_0x2B55C:
call Logged_0x1488
call Logged_0x2B17A
ld a,[$CA86]
cp $10
jr c,Logged_0x2B56E
ld a,$0C
ld [$CA86],a
Logged_0x2B56E:
ret
Logged_0x2B56F:
ld a,[$C08F]
and $01
jr z,Logged_0x2B5B2
ld b,$01
call Logged_0x129E
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0B
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1570
Logged_0x2B5B2:
ld a,[$C093]
bit 4,a
jr nz,Logged_0x2B607
bit 5,a
jr nz,Logged_0x2B621
ld a,[$CA84]
ld [$CA69],a
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B5F7
ld hl,$76B4
ld a,[$CA75]
ld e,a
ld d,$00
add hl,de
ld b,[hl]
ld a,[$CA84]
and a
jr nz,Logged_0x2B5EC
call Logged_0x1270
jr Logged_0x2B5EF
Logged_0x2B5EC:
call Logged_0x1259
Logged_0x2B5EF:
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $2F
ret c
Logged_0x2B5F7:
ld a,[$CA84]
xor $01
ld [$CA84],a
ld [$CA69],a
Logged_0x2B602:
xor a
ld [$CA75],a
ret
Logged_0x2B607:
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B5F7
ld b,$01
call Logged_0x1259
jr Logged_0x2B602
Logged_0x2B621:
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x2B5F7
ld b,$01
call Logged_0x1270
jr Logged_0x2B602
Logged_0x2B63B:
ld a,[$C093]
bit 0,a
jp z,Logged_0x2ABF4
ld hl,$CA75
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x2B651
jp Logged_0x2ABF4
Unknown_0x2B64F:
INCBIN "baserom.gbc", $2B64F, $2B651 - $2B64F
Logged_0x2B651:
ld e,a
ld d,$00
ld a,$07
ld [$FF00+$85],a
ld a,$63
ld [$FF00+$8D],a
ld a,$78
ld [$FF00+$8E],a
call $FF80
ret
LoggedData_0x2B664:
INCBIN "baserom.gbc", $2B664, $2B68B - $2B664
Unknown_0x2B68B:
INCBIN "baserom.gbc", $2B68B, $2B68C - $2B68B
LoggedData_0x2B68C:
INCBIN "baserom.gbc", $2B68C, $2B6E3 - $2B68C
Unknown_0x2B6E3:
INCBIN "baserom.gbc", $2B6E3, $2C000 - $2B6E3
SECTION "Bank0B", ROMX, BANK[$0B]
Unknown_0x2C000:
INCBIN "baserom.gbc", $2C000, $2F000 - $2C000
LoggedData_0x2F000:
INCBIN "baserom.gbc", $2F000, $2F800 - $2F000
Unknown_0x2F800:
INCBIN "baserom.gbc", $2F800, $30000 - $2F800
SECTION "Bank0C", ROMX, BANK[$0C]
Logged_0x30000:
ld a,$FF
ld [$D000],a
ld a,[$D001]
push af
ld hl,$D001
ld b,$3F
xor a
Logged_0x3000F:
ld [hli],a
dec b
jr nz,Logged_0x3000F
pop af
ld [$D001],a
ld a,$4A
ld [$D005],a
ld [$D007],a
ld [$D00A],a
ld [$D00C],a
ld a,$40
ld [$D006],a
ld [$D00B],a
ld a,$FF
ld [$D01D],a
xor a
ld b,$08
ld de,$003C
ld hl,$D040
Logged_0x3003B:
ld [hl],a
add hl,de
dec b
jr nz,Logged_0x3003B
xor a
ld b,$04
ld de,$0018
ld hl,$D220
Logged_0x30049:
ld [hl],a
add hl,de
dec b
jr nz,Logged_0x30049
ld a,$80
ld [rAUDENA],a
ld a,$00
ld [rAUDTERM],a
ld a,$08
ld [rAUD1ENV],a
ld [rAUD2ENV],a
ld [rAUD4ENV],a
ld a,AUDHIGH_RESTART
ld [rAUD1HIGH],a
ld [rAUD2HIGH],a
ld [rAUD4GO],a
ld a,$00
ld [rAUD3ENA],a
ld a,$FF
ld [rAUDTERM],a
ld a,$77
ld [rAUDVOL],a
ld a,$00
ld [$D000],a
jp Logged_0x3F5D
Logged_0x3007A:
push bc
push de
call Logged_0x30527
ld hl,$D000
set 5,[hl]
ld hl,$D007
ld a,[hli]
add a,[hl]
ld [hli],a
ld a,$00
adc a,[hl]
ld [hld],a
ld a,[hli]
sub $4A
ld b,a
ld a,[hl]
sbc a,$00
jr nc,Logged_0x300A4
call Logged_0x30144
Logged_0x3009A:
call Logged_0x30547
call Logged_0x3015F
jr nz,Logged_0x3009A
jr Logged_0x300C8
Logged_0x300A4:
ld [hld],a
ld [hl],b
call Logged_0x30193
Logged_0x300A9:
call Logged_0x30BB0
call Logged_0x301A4
jr nz,Logged_0x300A9
call Logged_0x30144
Logged_0x300B4:
call Logged_0x30559
call Logged_0x3015F
jr nz,Logged_0x300B4
ld hl,$D008
ld a,[hli]
sub $4A
ld b,a
ld a,[hl]
sbc a,$00
jr nc,Logged_0x300A4
Logged_0x300C8:
ld hl,$D000
res 5,[hl]
ld hl,$D00C
ld a,[hli]
add a,[hl]
ld [hli],a
ld a,$00
adc a,[hl]
ld [hld],a
ld a,[hli]
sub $4A
ld b,a
ld a,[hl]
sbc a,$00
jr nc,Logged_0x300ED
call Logged_0x3014B
Logged_0x300E3:
call Logged_0x30547
call Logged_0x3015F
jr nz,Logged_0x300E3
jr Logged_0x30111
Logged_0x300ED:
ld [hld],a
ld [hl],b
call Logged_0x30193
Logged_0x300F2:
call Logged_0x30BC2
call Logged_0x301A4
jr nz,Logged_0x300F2
call Logged_0x3014B
Logged_0x300FD:
call Logged_0x30559
call Logged_0x3015F
jr nz,Logged_0x300FD
ld hl,$D00D
ld a,[hli]
sub $4A
ld b,a
ld a,[hl]
sbc a,$00
jr nc,Logged_0x300ED
Logged_0x30111:
call Logged_0x30193
Logged_0x30114:
call Logged_0x30BFB
call Logged_0x301A4
jr nz,Logged_0x30114
ld a,[$D01A]
and a
jr nz,Logged_0x30124
ld a,$0F
Logged_0x30124:
dec a
ld [$D01A],a
ld c,$08
ld de,$003C
ld hl,$D040
Logged_0x30130:
ld a,[hl]
and $F8
ld [hl],a
rla
rr b
add hl,de
dec c
jr nz,Logged_0x30130
ld a,b
ld [$D024],a
pop de
pop bc
jp Logged_0x3F8D
Logged_0x30144:
ld de,$D040
ld a,$04
jr Logged_0x30157
Logged_0x3014B:
ld de,$D130
ld a,$04
jr Logged_0x30157
Unknown_0x30152:
INCBIN "baserom.gbc", $30152, $30157 - $30152
Logged_0x30157:
ld hl,$D00F
ld [hli],a
ld a,e
ld [hli],a
ld [hl],d
ret
Logged_0x3015F:
ld hl,$D00F
dec [hl]
ret z
inc hl
ld a,$3C
add a,[hl]
ld [hli],a
ld a,$00
adc a,[hl]
ld [hl],a
rra
ret
Logged_0x3016F:
ld de,$D220
ld a,$01
ld c,$12
jr Logged_0x3019A
Logged_0x30178:
ld de,$D238
ld a,$01
ld c,$17
jr Logged_0x3019A
Logged_0x30181:
ld de,$D250
ld a,$01
ld c,$1C
jr Logged_0x3019A
Logged_0x3018A:
ld de,$D268
ld a,$01
ld c,$21
jr Logged_0x3019A
Logged_0x30193:
ld de,$D220
ld a,$04
ld c,$12
Logged_0x3019A:
ld hl,$D012
ld [hli],a
ld a,e
ld [hli],a
ld a,d
ld [hli],a
ld [hl],c
ret
Logged_0x301A4:
ld hl,$D012
dec [hl]
ret z
inc hl
ld a,$18
add a,[hl]
ld [hli],a
ld a,$00
adc a,[hl]
ld [hli],a
ld a,[hl]
add a,$05
ld [hl],a
rra
ret
Logged_0x301B8:
ld a,b
or c
jp z,Logged_0x30401
call Logged_0x30302
ld a,[$D03F]
bit 7,a
jr nz,Unknown_0x30211
ld b,a
sub $04
jr nc,Logged_0x3020E
cpl
inc a
ld [$D00F],a
ld hl,$D040
ld a,b
and a
jr z,Logged_0x301DF
ld de,$003C
Logged_0x301DB:
add hl,de
dec b
jr nz,Logged_0x301DB
Logged_0x301DF:
ld a,l
ld [$D010],a
ld a,h
ld [$D011],a
jr Logged_0x301F1
Logged_0x301E9:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
Logged_0x301F1:
bit 7,[hl]
jr z,Logged_0x30204
ld bc,$0008
add hl,bc
ld a,[$D03E]
cp [hl]
jr nc,Logged_0x30204
call Logged_0x30366
jr Logged_0x30207
Logged_0x30204:
call Logged_0x30341
Logged_0x30207:
jr z,Logged_0x3020E
call Logged_0x3015F
jr nz,Logged_0x301E9
Logged_0x3020E:
jp Logged_0x3F8D
Unknown_0x30211:
call Logged_0x30144
ld a,$01
ld [$D03B],a
xor a
ld [$D03A],a
Unknown_0x3021D:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
bit 7,[hl]
jr nz,Unknown_0x30239
call Logged_0x30341
jr z,Unknown_0x3027C
ld a,[$D03B]
ld b,a
ld a,[$D03A]
or b
ld [$D03A],a
Unknown_0x30239:
ld a,[$D03B]
sla a
ld [$D03B],a
call Logged_0x3015F
jr nz,Unknown_0x3021D
call Logged_0x30144
ld a,$01
ld [$D03B],a
Unknown_0x3024E:
ld a,[$D03B]
ld b,a
ld a,[$D03A]
and b
jr nz,Unknown_0x3026F
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0008
add hl,bc
ld a,[$D03E]
cp [hl]
jr c,Unknown_0x3026F
call Logged_0x30341
jr z,Unknown_0x3027C
Unknown_0x3026F:
ld a,[$D03B]
sla a
ld [$D03B],a
call Logged_0x3015F
jr nz,Unknown_0x3024E
Unknown_0x3027C:
jp Logged_0x3F8D
Logged_0x3027F:
ld a,b
or c
jp z,Logged_0x30416
ld a,c
ld [$D01B],a
ld a,b
ld [$D01C],a
xor a
ld [$D020],a
xor a
ld [$D025],a
call Logged_0x30302
call Logged_0x3014B
Logged_0x3029A:
call Logged_0x30341
jr z,Logged_0x302B0
call Logged_0x3015F
jr nz,Logged_0x3029A
jr Logged_0x302B5
Logged_0x302A6:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
xor a
ld [hl],a
Logged_0x302B0:
call Logged_0x3015F
jr nz,Logged_0x302A6
Logged_0x302B5:
jp Logged_0x3F8D
Logged_0x302B8:
ld a,[$D01B]
cp c
jr nz,Logged_0x3027F
ld a,[$D01C]
cp b
jr nz,Logged_0x3027F
ld a,[$D024]
and $F0
jr z,Logged_0x3027F
jp Logged_0x3F8D
Logged_0x302CE:
ld a,[$D01B]
cp c
jr nz,Logged_0x3027F
ld a,[$D01C]
cp b
jr nz,Logged_0x3027F
ld a,[$D024]
and $F0
jr z,Logged_0x302E4
jp Logged_0x3F8D
Logged_0x302E4:
xor a
ld [$D025],a
call Logged_0x3014B
Logged_0x302EB:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,[hl]
and $60
jr z,Logged_0x302FA
set 7,[hl]
Logged_0x302FA:
call Logged_0x3015F
jr nz,Logged_0x302EB
jp Logged_0x3F8D
Logged_0x30302:
ld a,b
ld [$D039],a
cp $02
ld a,c
jr z,Logged_0x30311
jr c,Logged_0x30315
Unknown_0x3030D:
pop hl
jp Logged_0x3F8D
Logged_0x30311:
cp $39
jr nc,Unknown_0x3030D
Logged_0x30315:
ld [$D038],a
ld l,c
ld h,b
add hl,hl
add hl,hl
add hl,hl
ld bc,SoundPointers - 8
add hl,bc
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld [$D026],a
inc hl
ld a,[hli]
ld [$D03E],a
ld a,[hli]
ld [$D03F],a
ld a,[hl]
ld [$D03C],a
inc de
inc de
ld a,e
ld [$D017],a
ld a,d
ld [$D018],a
ret
Logged_0x30341:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,$A0
ld [hli],a
inc hl
ld a,[$D017]
ld [hli],a
ld a,[$D018]
ld [hli],a
ld a,[$D026]
ld [hli],a
inc hl
ld a,[$D038]
ld [hli],a
ld a,[$D039]
ld [hli],a
ld a,[$D03E]
ld [hli],a
Logged_0x30366:
ld hl,$D03C
dec [hl]
ret z
ld hl,$D017
ld a,$02
add a,[hl]
ld [hli],a
ld a,$00
adc a,[hl]
ld [hl],a
rra
ret
Logged_0x30378:
ld a,$C0
ld [hli],a
xor a
ld [hli],a
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hld]
ld [$D026],a
call Logged_0x3FB5
ld a,b
ld [hld],a
ld [hl],c
ld bc,$0007
add hl,bc
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$FF
ld [hli],a
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$FF
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$17
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$FF
ld [hli],a
ret
Logged_0x303C9:
ld a,b
or c
jp z,Logged_0x30401
ld a,c
ld [$D038],a
ld a,b
ld [$D039],a
call Logged_0x30144
Unknown_0x303D9:
ld a,[$D010]
ld c,a
ld a,[$D011]
ld b,a
ld a,[bc]
bit 7,a
jr z,Unknown_0x303F9
ld hl,$0006
add hl,bc
ld a,[$D038]
cp [hl]
jr nz,Unknown_0x303F9
inc hl
ld a,[$D039]
cp [hl]
jr nz,Unknown_0x303F9
xor a
ld [bc],a
Unknown_0x303F9:
call Logged_0x3015F
jr nz,Unknown_0x303D9
jp Logged_0x3F8D
Logged_0x30401:
call Logged_0x30144
Logged_0x30404:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
xor a
ld [hl],a
call Logged_0x3015F
jr nz,Logged_0x30404
jp Logged_0x3F8D
Logged_0x30416:
call Logged_0x30420
jp Logged_0x3F8D
Unknown_0x3041C:
xor a
ld [$D020],a
Logged_0x30420:
ld a,$FF
ld [$D025],a
call Logged_0x3014B
Logged_0x30428:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
res 7,[hl]
call Logged_0x3015F
jr nz,Logged_0x30428
ret
Unknown_0x30438:
INCBIN "baserom.gbc", $30438, $30494 - $30438
LoggedData_0x30494:
INCBIN "baserom.gbc", $30494, $30496 - $30494
Unknown_0x30496:
INCBIN "baserom.gbc", $30496, $3049E - $30496
Logged_0x3049E:
call Logged_0x304A4
jp Logged_0x3F8D
Logged_0x304A4:
cp $07
ret nc
push af
ld hl,$D038
ld a,c
ld [hli],a
ld a,b
ld [hli],a
ld a,e
ld [hli],a
ld a,d
ld [hli],a
xor a
ld [hl],a
pop af
ld bc,$4490
jp Logged_0x305B6
Logged_0x304BC:
call Logged_0x304FA
Logged_0x304BF:
rrc d
jr nc,Logged_0x304D3
bit 7,[hl]
jr z,Logged_0x304D3
ld a,[$D03C]
or [hl]
ld [hl],a
push hl
add hl,bc
ld a,[$D039]
ld [hl],a
pop hl
Logged_0x304D3:
call Logged_0x3050F
jr nz,Logged_0x304BF
ret
Unknown_0x304D9:
INCBIN "baserom.gbc", $304D9, $304FA - $304D9
Logged_0x304FA:
ld a,[$D03B]
and $0F
ld d,a
ld a,[$D03A]
swap a
and $F0
or d
ld d,a
ld e,$08
ld hl,$D040
ret
Logged_0x3050F:
ld a,$3C
add a,l
ld l,a
ld a,$00
adc a,h
ld h,a
dec e
ret
Unknown_0x30519:
INCBIN "baserom.gbc", $30519, $30527 - $30519
Logged_0x30527:
ld a,[$D025]
and a
ret nz
ld a,[$D020]
and a
ret z
ld hl,$D021
dec [hl]
ret nz
ld [hli],a
ld a,[hl]
sub $04
jp c,Unknown_0x3041C
ld [hl],a
ld b,a
ld a,$02
ld de,$00FF
jp Logged_0x304A4
Logged_0x30547:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,[hl]
cp $C0
ret c
ld [$D019],a
jp Logged_0x30651
Logged_0x30559:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,[hl]
bit 7,a
ret z
bit 6,a
jr nz,Logged_0x3056F
push hl
call Logged_0x30378
pop hl
ld a,[hl]
Logged_0x3056F:
ld [$D019],a
inc hl
ld a,[hl]
and a
jr z,Logged_0x3057B
dec [hl]
inc hl
jr Logged_0x305CF
Logged_0x3057B:
inc hl
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld [$D026],a
Logged_0x30584:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0011
add hl,bc
call Logged_0x3FB5
bit 7,c
jr nz,Logged_0x3059F
ld a,c
ld [$D01F],a
dec de
ld a,[hl]
jr Logged_0x305A9
Logged_0x3059F:
ld a,b
ld [$D01F],a
ld a,c
cp $BE
jr c,Logged_0x305A9
ld [hl],a
Logged_0x305A9:
cp $D0
jp nc,Logged_0x30A14
sub $B1
jp c,Logged_0x3073F
ld bc,$46D1
Logged_0x305B6:
sla a
add a,c
ld c,a
ld a,$00
adc a,b
ld b,a
ld a,[bc]
ld l,a
inc bc
ld a,[bc]
ld h,a
jp hl
Logged_0x305C4:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
xor a
ld [hli],a
ret
Logged_0x305CF:
ld bc,$0029
add hl,bc
ld a,[hl]
and a
jr z,Logged_0x305E0
dec [hl]
ld bc,$FFF5
add hl,bc
ld a,$40
jr Logged_0x305E6
Logged_0x305E0:
ld bc,$FFF4
add hl,bc
ld a,[hli]
add a,[hl]
Logged_0x305E6:
ld [hl],a
sla a
jr nc,Logged_0x305EC
cpl
Logged_0x305EC:
ld [$D01E],a
ld bc,$0001
add hl,bc
ld a,[hli]
add a,[hl]
jr z,Logged_0x3060C
ld c,a
ld a,[$D01E]
ld b,a
push hl
push bc
call Logged_0x30FEE
pop bc
ld b,h
pop hl
inc hl
ld a,[hli]
cp $00
jr z,Logged_0x30617
jr Logged_0x30646
Logged_0x3060C:
ld bc,$0000
inc hl
ld a,[hli]
cp $00
jr z,Logged_0x30629
jr Logged_0x30646
Logged_0x30617:
ld a,b
srl c
sub c
ld c,a
ld a,$00
sbc a,a
sla c
rla
sla c
rla
sla c
rla
ld b,a
Logged_0x30629:
ld a,c
cp [hl]
jr z,Logged_0x30636
ld a,[$D019]
set 2,a
ld [$D019],a
ld [hl],c
Logged_0x30636:
inc hl
ld a,b
cp [hl]
jr z,Logged_0x30644
ld a,[$D019]
set 2,a
ld [$D019],a
ld [hl],b
Logged_0x30644:
jr Logged_0x30646
Logged_0x30646:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,[$D019]
Logged_0x30651:
bit 2,a
jr z,Logged_0x30691
ld bc,$001D
add hl,bc
ld e,[hl]
ld a,$00
sla e
sbc a,a
ld d,a
ld bc,$FFFE
add hl,bc
ld a,[hli]
add a,e
ld e,a
ld a,[hld]
adc a,d
ld d,a
ld bc,$FFF8
add hl,bc
ld a,[hli]
add a,e
ld e,a
ld a,[hld]
adc a,d
ld d,a
ld bc,$0010
add hl,bc
ld a,[hli]
cp $00
jr nz,Logged_0x30683
ld a,[hli]
add a,e
ld e,a
ld a,[hld]
adc a,d
ld d,a
Logged_0x30683:
ld bc,$0008
add hl,bc
ld a,e
ld [hli],a
ld [hl],d
ld bc,$FFD3
add hl,bc
ld a,[$D019]
Logged_0x30691:
bit 0,a
jr z,Logged_0x306A8
ld bc,$0017
add hl,bc
ld a,[hli]
add a,[hl]
ld e,a
ld bc,$0016
add hl,bc
ld [hl],e
ld bc,$FFD2
add hl,bc
ld a,[$D019]
Logged_0x306A8:
bit 1,a
jr z,Logged_0x306CF
ld bc,$0015
add hl,bc
ld a,[hli]
ld b,a
ld c,[hl]
call Logged_0x31012
add a,$0F
and $F0
cp $40
jr c,Logged_0x306C0
ld a,$FF
Logged_0x306C0:
rlca
rlca
ld e,a
ld bc,$0019
add hl,bc
ld [hl],e
ld bc,$FFD1
add hl,bc
ld a,[$D019]
Logged_0x306CF:
ld [hl],a
ret
LoggedData_0x306D1:
INCBIN "baserom.gbc", $306D1, $306D9 - $306D1
Unknown_0x306D9:
INCBIN "baserom.gbc", $306D9, $306E7 - $306D9
LoggedData_0x306E7:
INCBIN "baserom.gbc", $306E7, $306EF - $306E7
Unknown_0x306EF:
INCBIN "baserom.gbc", $306EF, $306F1 - $306EF
LoggedData_0x306F1:
INCBIN "baserom.gbc", $306F1, $306FD - $306F1
Unknown_0x306FD:
INCBIN "baserom.gbc", $306FD, $3070B - $306FD
LoggedData_0x3070B:
INCBIN "baserom.gbc", $3070B, $3070F - $3070B
Unknown_0x3070F:
INCBIN "baserom.gbc", $3070F, $3073F - $3070F
Logged_0x3073F:
add a,$31
jp z,Logged_0x30584
add a,$2B
ld l,a
ld a,$00
adc a,$50
ld h,a
ld b,[hl]
dec b
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
inc hl
ld a,b
ld [hli],a
ld a,e
ld [hli],a
ld a,d
ld [hld],a
jp Logged_0x305CF
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0026
add hl,bc
ld a,[hl]
cp $0A
jp nc,Logged_0x305C4
inc a
inc a
ld [hl],a
ld c,a
ld b,$00
add hl,bc
ld bc,$000A
add hl,bc
inc de
inc de
ld a,e
ld [hli],a
ld [hl],d
dec de
dec de
call Logged_0x3FB5
ld e,c
ld d,b
jp Logged_0x30584
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0026
add hl,bc
ld a,[hl]
and a
jp z,Logged_0x30584
dec a
dec a
ld [hl],a
ld c,a
ld b,$00
add hl,bc
ld bc,$000C
add hl,bc
ld a,[hli]
ld e,a
ld d,[hl]
jp Logged_0x30584
Unknown_0x307AE:
INCBIN "baserom.gbc", $307AE, $307CC - $307AE
ld hl,$D000
bit 5,[hl]
ld hl,$D00A
jr z,Logged_0x307D9
ld hl,$D005
Logged_0x307D9:
ld a,[$D01F]
inc de
ld [hl],a
call Logged_0x307E4
jp Logged_0x30584
Logged_0x307E4:
ld a,[hli]
ld b,a
ld a,[hli]
ld c,a
push hl
call Logged_0x30FEE
ld a,h
cp $40
jr c,Logged_0x307F5
ld a,$3F
ld l,$FF
Logged_0x307F5:
sla l
rla
sla l
rla
and a
jr nz,Logged_0x307FF
inc a
Logged_0x307FF:
pop hl
ld [hl],a
ret
Unknown_0x30802:
INCBIN "baserom.gbc", $30802, $30823 - $30802
ld bc,$0012
jp Logged_0x3095C
Unknown_0x30829:
INCBIN "baserom.gbc", $30829, $30837 - $30829
ld a,[$D01F]
inc de
cp $28
jr z,Logged_0x30867
call Logged_0x30872
ld a,[$D010]
add a,$0C
ld c,a
ld a,[$D011]
adc a,$00
ld b,a
ld a,[hli]
ld [bc],a
inc bc
ld a,[hli]
ld [bc],a
inc bc
ld a,[hli]
ld [bc],a
inc bc
ld a,[hli]
ld [bc],a
inc bc
ld a,[hli]
ld [bc],a
ld a,[$D019]
res 4,a
ld [$D019],a
jp Logged_0x30584
Logged_0x30867:
ld a,[$D019]
set 4,a
ld [$D019],a
jp Logged_0x30584
Logged_0x30872:
ld l,a
ld h,$00
add hl,hl
ld c,l
ld b,h
add hl,hl
add hl,bc
ld bc,$51C4
add hl,bc
ret
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0019
add hl,bc
ld a,[$D01F]
inc de
rlca
sub $80
ld [hli],a
ld b,a
ld a,[hli]
ld c,a
Logged_0x30896:
push hl
sla b
jr c,Logged_0x308A2
call Logged_0x30FEE
ld c,l
ld b,h
jr Logged_0x308AF
Logged_0x308A2:
ld a,b
cpl
ld b,a
call Logged_0x30FEE
dec hl
ld a,l
cpl
ld c,a
ld a,h
cpl
ld b,a
Logged_0x308AF:
pop hl
ld a,c
ld [hli],a
ld [hl],b
ld a,[$D019]
set 2,a
ld [$D019],a
jp Logged_0x30584
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$001A
add hl,bc
ld a,[$D01F]
inc de
ld [hld],a
ld c,a
ld a,[hli]
ld b,a
inc hl
jr Logged_0x30896
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$001F
add hl,bc
ld a,[$D01F]
inc de
ld [hli],a
sla a
jr nz,Logged_0x308EE
ccf
rra
rra
ld [hl],a
Logged_0x308EE:
jp Logged_0x30584
Unknown_0x308F1:
INCBIN "baserom.gbc", $308F1, $3090E - $308F1
ld bc,$002A
jr Logged_0x3095C
ld a,[$D019]
set 1,a
ld [$D019],a
ld bc,$0015
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
add hl,bc
ld a,[$D01F]
inc de
rlca
ld [hl],a
jp Logged_0x30584
ld a,[$D03C]
set 1,a
ld [$D03C],a
ld bc,$0016
jp Logged_0x304BC
Unknown_0x3093E:
INCBIN "baserom.gbc", $3093E, $30959 - $3093E
ld bc,$0021
Logged_0x3095C:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
add hl,bc
ld a,[$D01F]
inc de
ld [hl],a
jp Logged_0x30584
ld a,[$D019]
or $07
ld [$D019],a
ld bc,$0023
jr Logged_0x3095C
Unknown_0x3097A:
INCBIN "baserom.gbc", $3097A, $30A10 - $3097A
ld b,$00
jr Logged_0x30A1F
Logged_0x30A14:
sub $CF
add a,$2B
ld l,a
ld a,$00
adc a,$50
ld h,a
ld b,[hl]
Logged_0x30A1F:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld a,b
ld bc,$000B
add hl,bc
ld [hld],a
ld b,$00
ld a,[$D01F]
jr Logged_0x30A39
Logged_0x30A34:
inc de
call Logged_0x3FAA
ld a,c
Logged_0x30A39:
bit 7,a
jr nz,Logged_0x30A68
cp $24
jr nc,Logged_0x30A50
cp $20
jr c,Logged_0x30A5A
bit 5,b
jr nz,Logged_0x30A68
set 5,b
inc hl
add a,[hl]
ld [hld],a
jr Logged_0x30A34
Logged_0x30A50:
bit 7,b
jr nz,Logged_0x30A68
set 7,b
dec hl
ld [hli],a
jr Logged_0x30A34
Logged_0x30A5A:
bit 6,b
jr nz,Logged_0x30A68
set 6,b
rlca
rlca
rlca
or $07
ld [hl],a
jr Logged_0x30A34
Logged_0x30A68:
push de
dec hl
ld a,[hl]
ld bc,$0009
add hl,bc
add a,[hl]
ld [$D03A],a
ld [$D03B],a
ld bc,$0018
add hl,bc
ld a,[hli]
ld [hld],a
ld bc,$FFE2
add hl,bc
ld a,[$D019]
bit 4,a
jr z,Logged_0x30AA5
push hl
ld e,l
ld d,h
ld a,[$D03A]
add a,$04
call Logged_0x30872
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
ld a,[hl]
ld [$D03B],a
pop hl
Logged_0x30AA5:
ld a,[hl]
cp $10
jr nc,Logged_0x30AB8
cp $08
jr nc,Logged_0x30AB3
call Logged_0x3016F
jr Logged_0x30AC4
Logged_0x30AB3:
call Logged_0x30178
jr Logged_0x30AC4
Logged_0x30AB8:
cp $40
jr nc,Logged_0x30AC1
call Logged_0x30181
jr Logged_0x30AC4
Logged_0x30AC1:
call Logged_0x3018A
Logged_0x30AC4:
ld a,[$D00F]
ld hl,$D000
bit 5,[hl]
jr z,Logged_0x30AD0
set 7,a
Logged_0x30AD0:
ld [$D039],a
ld e,a
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0008
add hl,bc
ld a,[hl]
ld [$D038],a
ld d,a
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld a,[hli]
and a
jr z,Logged_0x30B01
bit 5,a
jr nz,Logged_0x30AF7
jr Logged_0x30B01
Logged_0x30AF7:
ld a,[hli]
cp d
jr c,Logged_0x30B01
jr nz,Logged_0x30B49
ld a,e
cp [hl]
jr c,Logged_0x30B49
Logged_0x30B01:
call Logged_0x30FBB
ld a,[$D010]
ld e,a
ld a,[$D011]
ld d,a
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld a,$F0
ld [hli],a
ld a,[$D038]
ld [hli],a
ld a,[$D039]
ld [hli],a
ld a,[$D03A]
ld [hli],a
ld a,e
ld [hli],a
ld a,d
ld [hli],a
ld a,$0A
add a,e
ld e,a
ld a,$00
adc a,d
ld d,a
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
xor a
ld [hli],a
ld a,[$D03B]
ld [hl],a
Logged_0x30B49:
pop de
jp Logged_0x30584
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$0009
add hl,bc
ld a,[$D01F]
bit 7,a
jr nz,Logged_0x30B66
cp $24
jr c,Logged_0x30B66
inc de
ld [hl],a
Logged_0x30B66:
ld a,[hl]
ld bc,$0009
add hl,bc
add a,[hl]
ld [$D03A],a
push de
call Logged_0x30193
ld a,[$D00F]
ld hl,$D000
bit 5,[hl]
jr z,Logged_0x30B7F
set 7,a
Logged_0x30B7F:
ld e,a
ld a,[$D03A]
ld d,a
Logged_0x30B84:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld a,[hli]
bit 5,a
jr z,Logged_0x30BA7
inc hl
ld a,[hli]
cp e
jr nz,Logged_0x30BA7
ld a,[hl]
cp d
jr nz,Logged_0x30BA7
ld bc,$0004
add hl,bc
ld a,[hl]
and a
jr nz,Logged_0x30BA7
call Logged_0x30BE3
jr Logged_0x30BAC
Logged_0x30BA7:
call Logged_0x301A4
jr nz,Logged_0x30B84
Logged_0x30BAC:
pop de
jp Logged_0x30584
Logged_0x30BB0:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
bit 7,[hl]
ret z
inc hl
inc hl
bit 7,[hl]
ret z
jr Logged_0x30BD2
Logged_0x30BC2:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
bit 7,[hl]
ret z
inc hl
inc hl
bit 7,[hl]
ret nz
Logged_0x30BD2:
inc hl
inc hl
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[de]
cp $C0
jr c,Logged_0x30BF2
inc hl
ld a,[hl]
and a
ret z
dec [hl]
ret nz
Logged_0x30BE3:
ld bc,$FFF9
add hl,bc
ld a,[hl]
bit 6,a
jr nz,Logged_0x30BF6
or $50
and $DF
ld [hl],a
ret
Logged_0x30BF2:
ld bc,$FFFA
add hl,bc
Logged_0x30BF6:
xor a
ld [hl],a
jp Logged_0x30FBB
Logged_0x30BFB:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld a,[hl]
bit 7,a
ret z
ld b,a
push hl
ld de,$0004
add hl,de
ld a,[hli]
ld [$D010],a
ld e,a
ld a,[hli]
ld [$D011],a
ld d,a
ld a,[de]
cp $C0
jr nc,Logged_0x30C1F
pop hl
jr Logged_0x30BF6
Logged_0x30C1F:
ld [$D019],a
bit 6,b
jr nz,Logged_0x30C46
ld de,$000C
add hl,de
ld a,[$D01A]
and a
jr nz,Logged_0x30C31
inc [hl]
Logged_0x30C31:
inc [hl]
pop hl
bit 5,b
jr z,Logged_0x30C3E
bit 4,b
jr nz,Logged_0x30C95
jp Logged_0x30CE9
Logged_0x30C3E:
bit 4,b
jp nz,Logged_0x30D22
jp Unknown_0x30D70
Logged_0x30C46:
pop hl
res 6,[hl]
bit 5,[hl]
jr z,Logged_0x30C76
push hl
call Logged_0x30E32
pop hl
ld a,[$D019]
or $07
ld [$D019],a
call Logged_0x30DC6
ld bc,$000B
add hl,bc
ld a,[hl]
ld bc,$0006
add hl,bc
swap a
cpl
rrca
and $07
jr z,Logged_0x30CBA
or $08
ld [hli],a
xor a
ld [hli],a
jp Logged_0x30D9D
Logged_0x30C76:
ld bc,$000C
add hl,bc
ld b,[hl]
ld de,$0005
add hl,de
ld a,[hl]
and $F0
jp z,Logged_0x30D3B
ld c,a
ld a,b
cpl
rrca
and $07
jp z,Logged_0x30D3B
or c
ld [hli],a
xor a
ld [hli],a
jp Logged_0x30D95
Logged_0x30C95:
ld a,[$D019]
bit 1,a
call nz,Logged_0x30DC6
ld bc,$0011
add hl,bc
ld a,[hli]
and $07
dec a
cp [hl]
jr nc,Logged_0x30CB3
xor a
ld [hld],a
ld a,[hl]
add a,$10
jr c,Logged_0x30CBA
call Logged_0x30E1B
ld [hli],a
Logged_0x30CB3:
dec hl
ld a,[hld]
cp [hl]
jp c,Logged_0x30D84
inc hl
Logged_0x30CBA:
ld bc,$FFFA
add hl,bc
ld b,[hl]
ld de,$0005
add hl,de
ld c,[hl]
push bc
ld bc,$FFF0
add hl,bc
res 4,[hl]
call Logged_0x30DEB
ld d,a
ld bc,$0011
add hl,bc
pop bc
ld a,b
cpl
rrca
and $07
jr nz,Logged_0x30CE2
call Logged_0x30DBA
jr z,Logged_0x30D3B
ld a,d
ld c,d
Logged_0x30CE2:
or c
ld [hli],a
xor a
ld [hli],a
jp Logged_0x30D95
Logged_0x30CE9:
ld a,[$D019]
bit 1,a
call nz,Logged_0x30DEB
ld bc,$0011
add hl,bc
ld a,[hli]
and $07
jr z,Logged_0x30D1B
dec a
cp [hl]
jr nc,Logged_0x30D09
xor a
ld [hld],a
ld a,[hl]
sub $10
jr c,Logged_0x30D11
call Logged_0x30E1B
ld [hli],a
Logged_0x30D09:
dec hl
dec hl
ld a,[hli]
or $0F
cp [hl]
jr c,Logged_0x30D84
Logged_0x30D11:
call Logged_0x30DBA
jr z,Logged_0x30D3B
dec hl
Logged_0x30D17:
ld a,[hli]
ld [hl],a
jr Logged_0x30D95
Logged_0x30D1B:
dec hl
ld a,[hld]
xor [hl]
jr nz,Logged_0x30D17
jr Logged_0x30D9D
Logged_0x30D22:
ld bc,$0011
add hl,bc
ld a,[hli]
and $07
dec a
cp [hl]
jr nc,Logged_0x30D84
xor a
ld [hld],a
ld a,[hl]
sub $10
jr c,Logged_0x30D3B
call Logged_0x30E1B
ld [hl],a
jr Logged_0x30D84
Unknown_0x30D3A:
INCBIN "baserom.gbc", $30D3A, $30D3B - $30D3A
Logged_0x30D3B:
push hl
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$002F
add hl,bc
ld b,[hl]
ld de,$FFF8
add hl,de
ld a,[hli]
ld c,a
ld d,[hl]
pop hl
ld a,b
and a
jr z,Logged_0x30D77
ld a,c
and a
jr z,Logged_0x30D77
ld a,d
and a
jr z,Logged_0x30D77
call Logged_0x31012
add a,$0F
and $F0
ld [hli],a
ld [hl],d
ld bc,$FFEE
add hl,bc
ld a,[hl]
and $8F
ld [hl],a
jr Logged_0x30D95
Unknown_0x30D70:
ld bc,$0012
add hl,bc
dec [hl]
jr nz,Logged_0x30D9D
Logged_0x30D77:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
xor a
ld [hl],a
jp Logged_0x30FBB
Logged_0x30D84:
ld a,[$D015]
cp $1C
jr z,Logged_0x30D9D
ld a,[$D019]
res 1,a
ld [$D019],a
jr Logged_0x30D9D
Logged_0x30D95:
ld a,[$D019]
set 1,a
ld [$D019],a
Logged_0x30D9D:
ld a,[$D019]
bit 2,a
jr z,Logged_0x30DAA
call Logged_0x30EB1
ld a,[$D019]
Logged_0x30DAA:
bit 0,a
jr z,Logged_0x30DB4
call Logged_0x30F36
ld a,[$D019]
Logged_0x30DB4:
bit 1,a
ret z
jp Logged_0x30F7E
Logged_0x30DBA:
ld bc,$FFFB
add hl,bc
ld a,[hl]
ld bc,$0005
add hl,bc
and $F0
ret
Logged_0x30DC6:
push hl
ld bc,$0006
add hl,bc
ld c,[hl]
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld de,$002F
add hl,de
ld b,[hl]
call Logged_0x31012
add a,$0F
and $F0
pop hl
ld de,$0010
add hl,de
ld [hl],a
ld de,$FFF0
add hl,de
ret
Logged_0x30DEB:
push hl
ld bc,$000C
add hl,bc
ld b,[hl]
ld de,$FFFA
add hl,de
ld c,[hl]
call Logged_0x31012
add a,$0F
ld c,a
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld de,$002F
add hl,de
ld b,[hl]
call Logged_0x31012
add a,$0F
and $F0
pop hl
ld de,$0010
add hl,de
ld [hl],a
ld de,$FFF0
add hl,de
ret
Logged_0x30E1B:
ld b,a
ld a,[$D015]
cp $1C
ld a,b
ret nz
xor [hl]
and $C0
jr z,Logged_0x30E30
ld a,[$D019]
set 1,a
ld [$D019],a
Logged_0x30E30:
ld a,b
ret
Logged_0x30E32:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld bc,$0008
add hl,bc
ld a,[$D015]
ld c,a
cp $1C
jr c,Logged_0x30E64
jr z,Logged_0x30E82
ld a,[hli]
rlca
rlca
rlca
and $08
ld b,a
inc c
ld a,[$FF00+c]
and $F7
or b
ld [$FF00+c],a
ld a,[hl]
and a
jr z,Logged_0x30E5F
cpl
inc a
ld [rAUD4LEN],a
ld a,$40
Logged_0x30E5F:
or $80
ld [rAUD4GO],a
ret
Logged_0x30E64:
ld a,[hli]
rrca
rrca
and $C0
ld b,a
ld a,[hli]
and a
jr z,Logged_0x30E76
cpl
inc a
and $3F
or b
ld b,a
ld a,$40
Logged_0x30E76:
inc c
inc c
ld [$FF00+c],a
dec c
dec c
dec c
ld a,b
ld [$FF00+c],a
dec c
ld a,[hl]
ld [$FF00+c],a
ret
Logged_0x30E82:
ld a,[hli]
sub $10
ld b,a
ld a,[hl]
and a
jr z,Logged_0x30E90
cpl
inc a
ld [rAUD3LEN],a
ld a,$40
Logged_0x30E90:
ld [rAUD3HIGH],a
ld a,[$D01D]
cp b
ret z
ld a,b
ld [$D01D],a
ld l,b
ld h,$00
add hl,hl
add hl,hl
add hl,hl
add hl,hl
ld bc,$54A6
add hl,bc
ld c,$30
ld b,$10
Logged_0x30EAA:
ld a,[hli]
ld [$FF00+c],a
inc c
dec b
jr nz,Logged_0x30EAA
ret
Logged_0x30EB1:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$002C
add hl,bc
ld a,[hli]
ld c,a
ld b,[hl]
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld de,$000E
add hl,de
ld a,[hl]
add a,b
ld b,a
ld a,[$D015]
cp $1C
jr c,Logged_0x30EDC
jr nz,Logged_0x30F14
ld a,b
add a,$0C
ld b,a
Logged_0x30EDC:
push hl
ld a,b
call Logged_0x30FD1
ld b,a
call Logged_0x30FEE
ld bc,$00FF
add hl,bc
ld l,h
ld h,$00
add hl,de
ld a,[$D015]
ld c,a
inc c
ld a,l
ld [$FF00+c],a
inc c
ld a,[$FF00+c]
and $40
jr z,Logged_0x30EFE
or h
ld [$FF00+c],a
jr Logged_0x30F0B
Logged_0x30EFE:
or h
ld [$FF00+c],a
ld b,a
ld a,[$D015]
ld c,a
dec c
ld a,[$FF00+c]
and $C0
ld [$FF00+c],a
ld a,b
Logged_0x30F0B:
pop hl
ld bc,$0005
add hl,bc
or $80
ld [hl],a
ret
Logged_0x30F14:
ld c,a
inc c
ld a,b
sub $0D
cpl
ld b,a
and $03
ld d,a
ld a,b
cp $C0
jr c,Logged_0x30F2B
and $3C
rlca
rlca
or d
or $04
ld d,a
Logged_0x30F2B:
ld a,[$FF00+c]
and $08
or d
ld [$FF00+c],a
inc c
ld a,[$FF00+c]
or $80
ld [$FF00+c],a
ret
Logged_0x30F36:
ld a,[$D010]
ld l,a
ld a,[$D011]
ld h,a
ld bc,$002E
add hl,bc
ld a,[$D015]
cp $17
jr c,Logged_0x30F54
jr z,Logged_0x30F59
cp $21
jr c,Logged_0x30F5E
ld de,$7788
jr Logged_0x30F61
Logged_0x30F54:
ld de,$EE11
jr Logged_0x30F61
Logged_0x30F59:
ld de,$DD22
jr Logged_0x30F61
Logged_0x30F5E:
ld de,$BB44
Logged_0x30F61:
bit 7,[hl]
jr nz,Unknown_0x30F6D
bit 6,[hl]
jr z,Logged_0x30F77
ld a,$0F
jr Unknown_0x30F75
Unknown_0x30F6D:
bit 6,[hl]
jr nz,Logged_0x30F77
ld a,$F0
jr Unknown_0x30F75
Unknown_0x30F75:
and e
ld e,a
Logged_0x30F77:
ld c,$25
ld a,[$FF00+c]
and d
or e
ld [$FF00+c],a
ret
Logged_0x30F7E:
ld a,[$D013]
ld l,a
ld a,[$D014]
ld h,a
ld bc,$0011
add hl,bc
ld a,[hli]
ld b,a
ld a,[$D015]
ld c,a
cp $1C
jr c,Logged_0x30F9F
jr z,Logged_0x30FA7
ld a,b
ld [$FF00+c],a
ld a,[rAUD4GO]
or $80
ld [rAUD4GO],a
ret
Logged_0x30F9F:
ld a,b
ld [$FF00+c],a
inc c
inc c
inc hl
ld a,[hl]
ld [$FF00+c],a
ret
Logged_0x30FA7:
ld a,b
sub $40
xor $C0
rrca
ld [$FF00+c],a
ld a,[rAUD3ENA]
rla
ret c
ld a,$80
ld [rAUD3ENA],a
inc hl
ld a,[hl]
ld [rAUD3HIGH],a
ret
Logged_0x30FBB:
ld a,[$D015]
ld c,a
cp $1C
jr z,Logged_0x30FCC
ld a,$08
ld [$FF00+c],a
inc c
inc c
ld a,$80
ld [$FF00+c],a
ret
Logged_0x30FCC:
ld a,$00
ld [rAUD3ENA],a
ret
Logged_0x30FD1:
sub $24
jr nc,Logged_0x30FD6
xor a
Logged_0x30FD6:
cp $78
jr c,Logged_0x30FDC
ld a,$77
Logged_0x30FDC:
ld d,$00
ld e,a
add a,e
add a,e
rl d
ld e,a
ld hl,$505C
add hl,de
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hl]
ret
Logged_0x30FEE:
ld h,b
ld l,$00
ld b,l
add hl,hl
jr nc,Logged_0x30FF6
add hl,bc
Logged_0x30FF6:
add hl,hl
jr nc,Logged_0x30FFA
add hl,bc
Logged_0x30FFA:
add hl,hl
jr nc,Logged_0x30FFE
add hl,bc
Logged_0x30FFE:
add hl,hl
jr nc,Logged_0x31002
add hl,bc
Logged_0x31002:
add hl,hl
jr nc,Logged_0x31006
add hl,bc
Logged_0x31006:
add hl,hl
jr nc,Logged_0x3100A
add hl,bc
Logged_0x3100A:
add hl,hl
jr nc,Logged_0x3100E
add hl,bc
Logged_0x3100E:
add hl,hl
ret nc
add hl,bc
ret
Logged_0x31012:
ld a,c
and $F0
swap a
ld c,a
ld a,b
and $F0
add a,a
jr nc,Logged_0x3101F
add a,c
Logged_0x3101F:
add a,a
jr nc,Logged_0x31023
add a,c
Logged_0x31023:
add a,a
jr nc,Logged_0x31027
add a,c
Logged_0x31027:
add a,a
ret nc
add a,c
ret
Unknown_0x3102B:
INCBIN "baserom.gbc", $3102B, $3102C - $3102B
LoggedData_0x3102C:
INCBIN "baserom.gbc", $3102C, $3103C - $3102C
Unknown_0x3103C:
INCBIN "baserom.gbc", $3103C, $3103D - $3103C
LoggedData_0x3103D:
INCBIN "baserom.gbc", $3103D, $31042 - $3103D
Unknown_0x31042:
INCBIN "baserom.gbc", $31042, $31043 - $31042
LoggedData_0x31043:
INCBIN "baserom.gbc", $31043, $31055 - $31043
Unknown_0x31055:
INCBIN "baserom.gbc", $31055, $31056 - $31055
LoggedData_0x31056:
INCBIN "baserom.gbc", $31056, $31143 - $31056
Unknown_0x31143:
INCBIN "baserom.gbc", $31143, $31155 - $31143
LoggedData_0x31155:
INCBIN "baserom.gbc", $31155, $31158 - $31155
Unknown_0x31158:
INCBIN "baserom.gbc", $31158, $31200 - $31158
LoggedData_0x31200:
INCBIN "baserom.gbc", $31200, $31205 - $31200
Unknown_0x31205:
INCBIN "baserom.gbc", $31205, $31206 - $31205
LoggedData_0x31206:
INCBIN "baserom.gbc", $31206, $3120B - $31206
Unknown_0x3120B:
INCBIN "baserom.gbc", $3120B, $31212 - $3120B
LoggedData_0x31212:
INCBIN "baserom.gbc", $31212, $31217 - $31212
Unknown_0x31217:
INCBIN "baserom.gbc", $31217, $3121E - $31217
LoggedData_0x3121E:
INCBIN "baserom.gbc", $3121E, $31223 - $3121E
Unknown_0x31223:
INCBIN "baserom.gbc", $31223, $31224 - $31223
LoggedData_0x31224:
INCBIN "baserom.gbc", $31224, $31229 - $31224
Unknown_0x31229:
INCBIN "baserom.gbc", $31229, $3122A - $31229
LoggedData_0x3122A:
INCBIN "baserom.gbc", $3122A, $3122F - $3122A
Unknown_0x3122F:
INCBIN "baserom.gbc", $3122F, $31230 - $3122F
LoggedData_0x31230:
INCBIN "baserom.gbc", $31230, $31235 - $31230
Unknown_0x31235:
INCBIN "baserom.gbc", $31235, $3123C - $31235
LoggedData_0x3123C:
INCBIN "baserom.gbc", $3123C, $31241 - $3123C
Unknown_0x31241:
INCBIN "baserom.gbc", $31241, $31242 - $31241
LoggedData_0x31242:
INCBIN "baserom.gbc", $31242, $31247 - $31242
Unknown_0x31247:
INCBIN "baserom.gbc", $31247, $31248 - $31247
LoggedData_0x31248:
INCBIN "baserom.gbc", $31248, $3124D - $31248
Unknown_0x3124D:
INCBIN "baserom.gbc", $3124D, $3124E - $3124D
LoggedData_0x3124E:
INCBIN "baserom.gbc", $3124E, $31253 - $3124E
Unknown_0x31253:
INCBIN "baserom.gbc", $31253, $31254 - $31253
LoggedData_0x31254:
INCBIN "baserom.gbc", $31254, $31259 - $31254
Unknown_0x31259:
INCBIN "baserom.gbc", $31259, $3125A - $31259
LoggedData_0x3125A:
INCBIN "baserom.gbc", $3125A, $3125F - $3125A
Unknown_0x3125F:
INCBIN "baserom.gbc", $3125F, $31260 - $3125F
LoggedData_0x31260:
INCBIN "baserom.gbc", $31260, $31265 - $31260
Unknown_0x31265:
INCBIN "baserom.gbc", $31265, $31266 - $31265
LoggedData_0x31266:
INCBIN "baserom.gbc", $31266, $3126B - $31266
Unknown_0x3126B:
INCBIN "baserom.gbc", $3126B, $3126C - $3126B
LoggedData_0x3126C:
INCBIN "baserom.gbc", $3126C, $31271 - $3126C
Unknown_0x31271:
INCBIN "baserom.gbc", $31271, $31296 - $31271
LoggedData_0x31296:
INCBIN "baserom.gbc", $31296, $3129B - $31296
Unknown_0x3129B:
INCBIN "baserom.gbc", $3129B, $312A2 - $3129B
LoggedData_0x312A2:
INCBIN "baserom.gbc", $312A2, $312A7 - $312A2
Unknown_0x312A7:
INCBIN "baserom.gbc", $312A7, $312B4 - $312A7
LoggedData_0x312B4:
INCBIN "baserom.gbc", $312B4, $312D2 - $312B4
Unknown_0x312D2:
INCBIN "baserom.gbc", $312D2, $312D8 - $312D2
LoggedData_0x312D8:
INCBIN "baserom.gbc", $312D8, $312DE - $312D8
Unknown_0x312DE:
INCBIN "baserom.gbc", $312DE, $312E4 - $312DE
LoggedData_0x312E4:
INCBIN "baserom.gbc", $312E4, $312EA - $312E4
Unknown_0x312EA:
INCBIN "baserom.gbc", $312EA, $312F0 - $312EA
LoggedData_0x312F0:
INCBIN "baserom.gbc", $312F0, $312F5 - $312F0
Unknown_0x312F5:
INCBIN "baserom.gbc", $312F5, $312F6 - $312F5
LoggedData_0x312F6:
INCBIN "baserom.gbc", $312F6, $312FB - $312F6
Unknown_0x312FB:
INCBIN "baserom.gbc", $312FB, $312FC - $312FB
LoggedData_0x312FC:
INCBIN "baserom.gbc", $312FC, $31301 - $312FC
Unknown_0x31301:
INCBIN "baserom.gbc", $31301, $31302 - $31301
LoggedData_0x31302:
INCBIN "baserom.gbc", $31302, $31307 - $31302
Unknown_0x31307:
INCBIN "baserom.gbc", $31307, $31308 - $31307
LoggedData_0x31308:
INCBIN "baserom.gbc", $31308, $3130D - $31308
Unknown_0x3130D:
INCBIN "baserom.gbc", $3130D, $3130E - $3130D
LoggedData_0x3130E:
INCBIN "baserom.gbc", $3130E, $31313 - $3130E
Unknown_0x31313:
INCBIN "baserom.gbc", $31313, $31314 - $31313
LoggedData_0x31314:
INCBIN "baserom.gbc", $31314, $31319 - $31314
Unknown_0x31319:
INCBIN "baserom.gbc", $31319, $3131A - $31319
LoggedData_0x3131A:
INCBIN "baserom.gbc", $3131A, $3131F - $3131A
Unknown_0x3131F:
INCBIN "baserom.gbc", $3131F, $31320 - $3131F
LoggedData_0x31320:
INCBIN "baserom.gbc", $31320, $31325 - $31320
Unknown_0x31325:
INCBIN "baserom.gbc", $31325, $31326 - $31325
LoggedData_0x31326:
INCBIN "baserom.gbc", $31326, $3132B - $31326
Unknown_0x3132B:
INCBIN "baserom.gbc", $3132B, $3132C - $3132B
LoggedData_0x3132C:
INCBIN "baserom.gbc", $3132C, $31331 - $3132C
Unknown_0x31331:
INCBIN "baserom.gbc", $31331, $31332 - $31331
LoggedData_0x31332:
INCBIN "baserom.gbc", $31332, $31337 - $31332
Unknown_0x31337:
INCBIN "baserom.gbc", $31337, $31338 - $31337
LoggedData_0x31338:
INCBIN "baserom.gbc", $31338, $3133D - $31338
Unknown_0x3133D:
INCBIN "baserom.gbc", $3133D, $3133E - $3133D
LoggedData_0x3133E:
INCBIN "baserom.gbc", $3133E, $31343 - $3133E
Unknown_0x31343:
INCBIN "baserom.gbc", $31343, $31344 - $31343
LoggedData_0x31344:
INCBIN "baserom.gbc", $31344, $31349 - $31344
Unknown_0x31349:
INCBIN "baserom.gbc", $31349, $3134A - $31349
LoggedData_0x3134A:
INCBIN "baserom.gbc", $3134A, $3134F - $3134A
Unknown_0x3134F:
INCBIN "baserom.gbc", $3134F, $31350 - $3134F
LoggedData_0x31350:
INCBIN "baserom.gbc", $31350, $31355 - $31350
Unknown_0x31355:
INCBIN "baserom.gbc", $31355, $31356 - $31355
LoggedData_0x31356:
INCBIN "baserom.gbc", $31356, $3135B - $31356
Unknown_0x3135B:
INCBIN "baserom.gbc", $3135B, $3135C - $3135B
LoggedData_0x3135C:
INCBIN "baserom.gbc", $3135C, $31361 - $3135C
Unknown_0x31361:
INCBIN "baserom.gbc", $31361, $31362 - $31361
LoggedData_0x31362:
INCBIN "baserom.gbc", $31362, $31367 - $31362
Unknown_0x31367:
INCBIN "baserom.gbc", $31367, $31368 - $31367
LoggedData_0x31368:
INCBIN "baserom.gbc", $31368, $3136D - $31368
Unknown_0x3136D:
INCBIN "baserom.gbc", $3136D, $3136E - $3136D
LoggedData_0x3136E:
INCBIN "baserom.gbc", $3136E, $31373 - $3136E
Unknown_0x31373:
INCBIN "baserom.gbc", $31373, $31374 - $31373
LoggedData_0x31374:
INCBIN "baserom.gbc", $31374, $31379 - $31374
Unknown_0x31379:
INCBIN "baserom.gbc", $31379, $3137A - $31379
LoggedData_0x3137A:
INCBIN "baserom.gbc", $3137A, $3137F - $3137A
Unknown_0x3137F:
INCBIN "baserom.gbc", $3137F, $31380 - $3137F
LoggedData_0x31380:
INCBIN "baserom.gbc", $31380, $31385 - $31380
Unknown_0x31385:
INCBIN "baserom.gbc", $31385, $31386 - $31385
LoggedData_0x31386:
INCBIN "baserom.gbc", $31386, $3138B - $31386
Unknown_0x3138B:
INCBIN "baserom.gbc", $3138B, $313A4 - $3138B
LoggedData_0x313A4:
INCBIN "baserom.gbc", $313A4, $313A9 - $313A4
Unknown_0x313A9:
INCBIN "baserom.gbc", $313A9, $313AA - $313A9
LoggedData_0x313AA:
INCBIN "baserom.gbc", $313AA, $313AF - $313AA
Unknown_0x313AF:
INCBIN "baserom.gbc", $313AF, $313B0 - $313AF
LoggedData_0x313B0:
INCBIN "baserom.gbc", $313B0, $313B5 - $313B0
Unknown_0x313B5:
INCBIN "baserom.gbc", $313B5, $313B6 - $313B5
LoggedData_0x313B6:
INCBIN "baserom.gbc", $313B6, $313BB - $313B6
Unknown_0x313BB:
INCBIN "baserom.gbc", $313BB, $313C2 - $313BB
LoggedData_0x313C2:
INCBIN "baserom.gbc", $313C2, $313C7 - $313C2
Unknown_0x313C7:
INCBIN "baserom.gbc", $313C7, $313D4 - $313C7
LoggedData_0x313D4:
INCBIN "baserom.gbc", $313D4, $313D9 - $313D4
Unknown_0x313D9:
INCBIN "baserom.gbc", $313D9, $313E0 - $313D9
LoggedData_0x313E0:
INCBIN "baserom.gbc", $313E0, $313E5 - $313E0
Unknown_0x313E5:
INCBIN "baserom.gbc", $313E5, $313EC - $313E5
LoggedData_0x313EC:
INCBIN "baserom.gbc", $313EC, $313F1 - $313EC
Unknown_0x313F1:
INCBIN "baserom.gbc", $313F1, $313F2 - $313F1
LoggedData_0x313F2:
INCBIN "baserom.gbc", $313F2, $313F7 - $313F2
Unknown_0x313F7:
INCBIN "baserom.gbc", $313F7, $313F8 - $313F7
LoggedData_0x313F8:
INCBIN "baserom.gbc", $313F8, $313FD - $313F8
Unknown_0x313FD:
INCBIN "baserom.gbc", $313FD, $31404 - $313FD
LoggedData_0x31404:
INCBIN "baserom.gbc", $31404, $31409 - $31404
Unknown_0x31409:
INCBIN "baserom.gbc", $31409, $3140A - $31409
LoggedData_0x3140A:
INCBIN "baserom.gbc", $3140A, $3140F - $3140A
Unknown_0x3140F:
INCBIN "baserom.gbc", $3140F, $31410 - $3140F
LoggedData_0x31410:
INCBIN "baserom.gbc", $31410, $31415 - $31410
Unknown_0x31415:
INCBIN "baserom.gbc", $31415, $31416 - $31415
LoggedData_0x31416:
INCBIN "baserom.gbc", $31416, $3141B - $31416
Unknown_0x3141B:
INCBIN "baserom.gbc", $3141B, $3141C - $3141B
LoggedData_0x3141C:
INCBIN "baserom.gbc", $3141C, $31421 - $3141C
Unknown_0x31421:
INCBIN "baserom.gbc", $31421, $31422 - $31421
LoggedData_0x31422:
INCBIN "baserom.gbc", $31422, $31427 - $31422
Unknown_0x31427:
INCBIN "baserom.gbc", $31427, $31428 - $31427
LoggedData_0x31428:
INCBIN "baserom.gbc", $31428, $3142D - $31428
Unknown_0x3142D:
INCBIN "baserom.gbc", $3142D, $31434 - $3142D
LoggedData_0x31434:
INCBIN "baserom.gbc", $31434, $31439 - $31434
Unknown_0x31439:
INCBIN "baserom.gbc", $31439, $3143A - $31439
LoggedData_0x3143A:
INCBIN "baserom.gbc", $3143A, $3143F - $3143A
Unknown_0x3143F:
INCBIN "baserom.gbc", $3143F, $31440 - $3143F
LoggedData_0x31440:
INCBIN "baserom.gbc", $31440, $31445 - $31440
Unknown_0x31445:
INCBIN "baserom.gbc", $31445, $31446 - $31445
LoggedData_0x31446:
INCBIN "baserom.gbc", $31446, $3144B - $31446
Unknown_0x3144B:
INCBIN "baserom.gbc", $3144B, $3144C - $3144B
LoggedData_0x3144C:
INCBIN "baserom.gbc", $3144C, $31451 - $3144C
Unknown_0x31451:
INCBIN "baserom.gbc", $31451, $31452 - $31451
LoggedData_0x31452:
INCBIN "baserom.gbc", $31452, $31457 - $31452
Unknown_0x31457:
INCBIN "baserom.gbc", $31457, $31458 - $31457
LoggedData_0x31458:
INCBIN "baserom.gbc", $31458, $3145D - $31458
Unknown_0x3145D:
INCBIN "baserom.gbc", $3145D, $3145E - $3145D
LoggedData_0x3145E:
INCBIN "baserom.gbc", $3145E, $31463 - $3145E
Unknown_0x31463:
INCBIN "baserom.gbc", $31463, $3146A - $31463
LoggedData_0x3146A:
INCBIN "baserom.gbc", $3146A, $3146F - $3146A
Unknown_0x3146F:
INCBIN "baserom.gbc", $3146F, $3147C - $3146F
LoggedData_0x3147C:
INCBIN "baserom.gbc", $3147C, $31481 - $3147C
Unknown_0x31481:
INCBIN "baserom.gbc", $31481, $3148E - $31481
LoggedData_0x3148E:
INCBIN "baserom.gbc", $3148E, $31493 - $3148E
Unknown_0x31493:
INCBIN "baserom.gbc", $31493, $314A0 - $31493
LoggedData_0x314A0:
INCBIN "baserom.gbc", $314A0, $314A5 - $314A0
Unknown_0x314A5:
INCBIN "baserom.gbc", $314A5, $314B6 - $314A5
LoggedData_0x314B6:
INCBIN "baserom.gbc", $314B6, $314D6 - $314B6
Unknown_0x314D6:
INCBIN "baserom.gbc", $314D6, $314E6 - $314D6
LoggedData_0x314E6:
INCBIN "baserom.gbc", $314E6, $31506 - $314E6
Unknown_0x31506:
INCBIN "baserom.gbc", $31506, $31516 - $31506
LoggedData_0x31516:
INCBIN "baserom.gbc", $31516, $31526 - $31516
Unknown_0x31526:
INCBIN "baserom.gbc", $31526, $31546 - $31526
LoggedData_0x31546:
INCBIN "baserom.gbc", $31546, $31566 - $31546
SoundPointers:;(8bytes: pointer low, pointer high, bank, unused, unknown, unknown, unknown, unused)
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_02, $64, $00, $03
sound_pointer SoundData_03, $64, $00, $02
sound_pointer SoundData_04, $64, $00, $03
sound_pointer SoundData_05, $64, $00, $03
sound_pointer SoundData_06, $64, $00, $03
sound_pointer SoundData_07, $64, $00, $04
sound_pointer SoundData_08, $64, $00, $03
sound_pointer SoundData_09, $64, $00, $03
sound_pointer SoundData_0A, $64, $00, $03
sound_pointer SoundData_0B, $64, $00, $03
sound_pointer SoundData_0C, $64, $00, $03
sound_pointer SoundData_0D, $64, $00, $03
sound_pointer SoundData_0E, $64, $00, $04
sound_pointer SoundData_0F, $64, $00, $04
sound_pointer SoundData_10, $64, $00, $04
sound_pointer SoundData_11, $64, $00, $04
sound_pointer SoundData_12, $64, $00, $04
sound_pointer SoundData_13, $64, $00, $04
sound_pointer SoundData_14, $64, $00, $04
sound_pointer SoundData_15, $64, $00, $04
sound_pointer SoundData_16, $64, $00, $03
sound_pointer SoundData_17, $64, $00, $03
sound_pointer SoundData_18, $64, $00, $03
sound_pointer SoundData_19, $64, $00, $02
sound_pointer SoundData_1A, $64, $00, $03
sound_pointer SoundData_1B, $64, $00, $03
sound_pointer SoundData_1C, $64, $00, $03
sound_pointer SoundData_1D, $64, $00, $03
sound_pointer SoundData_1E, $64, $00, $03
sound_pointer SoundData_1F, $64, $00, $02
sound_pointer SoundData_20, $64, $00, $03
sound_pointer SoundData_21, $64, $00, $04
sound_pointer SoundData_22, $64, $00, $03
sound_pointer SoundData_23, $64, $00, $03
sound_pointer SoundData_24, $64, $00, $04
sound_pointer SoundData_25, $64, $00, $02
sound_pointer SoundData_26, $64, $00, $03
sound_pointer SoundData_27, $64, $00, $04
sound_pointer SoundData_28, $64, $00, $04
sound_pointer SoundData_29, $64, $00, $02
sound_pointer SoundData_2A, $64, $00, $03
sound_pointer SoundData_2B, $64, $00, $04
sound_pointer SoundData_2C, $64, $00, $03
sound_pointer SoundData_2D, $64, $00, $02
sound_pointer SoundData_2E, $64, $00, $02
sound_pointer SoundData_2F, $64, $00, $04
sound_pointer SoundData_30, $64, $00, $03
sound_pointer SoundData_31, $64, $00, $03
sound_pointer SoundData_32, $64, $00, $02
sound_pointer SoundData_33, $64, $00, $04
sound_pointer SoundData_34, $64, $00, $03
sound_pointer SoundData_35, $64, $00, $04
sound_pointer SoundData_36, $64, $00, $04
sound_pointer SoundData_37, $64, $00, $03
sound_pointer SoundData_38, $64, $00, $03
sound_pointer SoundData_39, $64, $00, $03
sound_pointer SoundData_3A, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_101, $DC, $00, $01
sound_pointer SoundData_102, $ED, $03, $01
sound_pointer SoundData_103, $EC, $00, $01
sound_pointer SoundData_104, $E2, $03, $01
sound_pointer SoundData_105, $EC, $03, $01
sound_pointer SoundData_106, $EC, $03, $01
sound_pointer SoundData_107, $EB, $03, $01
sound_pointer SoundData_108, $EB, $00, $02
sound_pointer SoundData_109, $EB, $00, $01
sound_pointer SoundData_10A, $E6, $00, $01
sound_pointer SoundData_10B, $E6, $03, $01
sound_pointer SoundData_10C, $ED, $00, $01
sound_pointer SoundData_10D, $EB, $00, $02
sound_pointer SoundData_10E, $E4, $00, $01
sound_pointer SoundData_10F, $D2, $00, $01
sound_pointer SoundData_110, $E4, $03, $01
sound_pointer SoundData_111, $C8, $00, $01
sound_pointer SoundData_112, $FF, $00, $01
sound_pointer SoundData_113, $ED, $02, $01
sound_pointer SoundData_114, $EF, $00, $01
sound_pointer SoundData_115, $D2, $00, $01
sound_pointer SoundData_116, $EF, $00, $01
sound_pointer SoundData_117, $EE, $00, $02
sound_pointer SoundData_118, $E6, $03, $01
sound_pointer SoundData_119, $EC, $00, $01
sound_pointer SoundData_11A, $EF, $02, $01
sound_pointer SoundData_11B, $DC, $00, $02
sound_pointer SoundData_11C, $C8, $00, $01
sound_pointer SoundData_11D, $DC, $00, $01
sound_pointer SoundData_11E, $DD, $03, $01
sound_pointer SoundData_11F, $E4, $03, $01
sound_pointer SoundData_120, $DD, $03, $01
sound_pointer SoundData_121, $DC, $03, $01
sound_pointer SoundData_122, $E5, $00, $01
sound_pointer SoundData_123, $DC, $00, $01
sound_pointer SoundData_124, $EC, $00, $01
sound_pointer SoundData_125, $F0, $00, $01
sound_pointer SoundData_126, $DD, $00, $01
sound_pointer SoundData_127, $DC, $03, $01
sound_pointer SoundData_128, $E2, $00, $01
sound_pointer SoundData_129, $E2, $03, $01
sound_pointer SoundData_12A, $E2, $03, $01
sound_pointer SoundData_12B, $DC, $00, $01
sound_pointer SoundData_12C, $DC, $00, $01
sound_pointer SoundData_12D, $DC, $00, $01
sound_pointer SoundData_12E, $E8, $00, $01
sound_pointer SoundData_12F, $EC, $00, $01
sound_pointer SoundData_130, $DC, $00, $01
sound_pointer SoundData_131, $FF, $00, $02
sound_pointer SoundData_132, $FF, $00, $02
sound_pointer SoundData_133, $ED, $00, $01
sound_pointer SoundData_134, $ED, $00, $02
sound_pointer SoundData_135, $DD, $03, $01
sound_pointer SoundData_136, $E4, $03, $01
sound_pointer SoundData_137, $DC, $00, $01
sound_pointer SoundData_138, $DC, $00, $02
sound_pointer SoundData_139, $DC, $00, $01
sound_pointer SoundData_13A, $DC, $00, $01
sound_pointer SoundData_13B, $E6, $00, $01
sound_pointer SoundData_13C, $DC, $00, $01
sound_pointer SoundData_13D, $DC, $00, $01
sound_pointer SoundData_13E, $DC, $00, $01
sound_pointer SoundData_13F, $DC, $00, $02
sound_pointer SoundData_140, $EC, $03, $01
sound_pointer SoundData_141, $DC, $00, $01
sound_pointer SoundData_142, $DC, $00, $01
sound_pointer SoundData_143, $DC, $00, $01
sound_pointer SoundData_144, $DC, $03, $01
sound_pointer SoundData_145, $DC, $00, $03
sound_pointer SoundData_146, $DC, $00, $03
sound_pointer SoundData_147, $DC, $00, $01
sound_pointer SoundData_148, $EF, $00, $02
sound_pointer SoundData_149, $DC, $00, $01
sound_pointer SoundData_14A, $C8, $00, $01
sound_pointer SoundData_14B, $F0, $00, $01
sound_pointer SoundData_14C, $EF, $00, $02
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_161, $EF, $03, $01
sound_pointer SoundData_162, $ED, $03, $01
sound_pointer SoundData_163, $EF, $03, $01
sound_pointer SoundData_164, $DC, $00, $01
sound_pointer SoundData_165, $DD, $03, $01
sound_pointer SoundData_166, $DC, $00, $01
sound_pointer SoundData_167, $DC, $00, $01
sound_pointer SoundData_168, $DC, $03, $01
sound_pointer SoundData_169, $DC, $00, $01
sound_pointer SoundData_16A, $DC, $00, $01
sound_pointer SoundData_16B, $DC, $00, $01
sound_pointer SoundData_16C, $DC, $00, $01
sound_pointer SoundData_16D, $DC, $03, $01
sound_pointer SoundData_16E, $DC, $03, $01
sound_pointer SoundData_16F, $DC, $00, $01
sound_pointer SoundData_170, $DC, $00, $01
sound_pointer SoundData_171, $DC, $03, $01
sound_pointer SoundData_172, $DC, $03, $01
sound_pointer SoundData_173, $E3, $03, $01
sound_pointer SoundData_174, $DD, $00, $01
sound_pointer SoundData_175, $DC, $00, $01
sound_pointer SoundData_176, $EB, $03, $01
sound_pointer SoundData_177, $DC, $02, $01
sound_pointer SoundData_178, $F0, $03, $01
sound_pointer SoundData_179, $E3, $03, $01
sound_pointer SoundData_17A, $E3, $03, $01
sound_pointer SoundData_17B, $E3, $03, $01
sound_pointer SoundData_17C, $DC, $00, $02
sound_pointer SoundData_17D, $DD, $03, $01
sound_pointer SoundData_17E, $EF, $00, $01
sound_pointer SoundData_17F, $DC, $00, $01
sound_pointer SoundData_180, $DC, $03, $01
sound_pointer SoundData_181, $E3, $00, $01
sound_pointer SoundData_182, $DC, $00, $02
sound_pointer SoundData_183, $DC, $00, $02
sound_pointer SoundData_184, $DC, $00, $01
sound_pointer SoundData_185, $DC, $02, $01
sound_pointer SoundData_186, $DC, $00, $01
sound_pointer SoundData_187, $DC, $03, $01
sound_pointer SoundData_188, $DC, $00, $02
sound_pointer SoundData_189, $E3, $03, $01
sound_pointer SoundData_18A, $E3, $00, $02
sound_pointer SoundData_18B, $DC, $00, $01
sound_pointer SoundData_18C, $E3, $03, $01
sound_pointer SoundData_18D, $DC, $00, $01
sound_pointer SoundData_18E, $EF, $00, $01
sound_pointer SoundData_18F, $DC, $03, $01
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_1A1, $EA, $03, $01
sound_pointer SoundData_1A2, $EA, $00, $02
sound_pointer SoundData_1A3, $EF, $00, $01
sound_pointer SoundData_1A4, $EF, $02, $01
sound_pointer SoundData_1A5, $DC, $00, $01
sound_pointer SoundData_1A6, $DC, $02, $01
sound_pointer SoundData_1A7, $EF, $02, $01
sound_pointer SoundData_1A8, $EF, $00, $02
sound_pointer SoundData_1A9, $EF, $02, $01
sound_pointer SoundData_1AA, $EF, $00, $02
sound_pointer SoundData_1AB, $EF, $00, $01
sound_pointer SoundData_1AC, $EF, $00, $01
sound_pointer SoundData_1AD, $DC, $00, $01
sound_pointer SoundData_1AE, $DC, $00, $01
sound_pointer SoundData_1AF, $DC, $00, $01
sound_pointer SoundData_1B0, $DC, $00, $02
sound_pointer SoundData_1B1, $EF, $00, $01
sound_pointer SoundData_1B2, $EF, $00, $02
sound_pointer SoundData_1B3, $EF, $00, $01
sound_pointer SoundData_1B4, $EF, $00, $01
sound_pointer SoundData_1B5, $EE, $00, $02
sound_pointer SoundData_1B6, $EE, $00, $02
sound_pointer SoundData_1B7, $EF, $00, $02
sound_pointer SoundData_1B8, $EF, $00, $02
sound_pointer SoundData_1B9, $DC, $00, $01
sound_pointer SoundData_1BA, $DC, $00, $02
sound_pointer SoundData_1BB, $DC, $00, $02
sound_pointer SoundData_1BC, $EF, $00, $01
sound_pointer SoundData_1BD, $EF, $00, $01
sound_pointer SoundData_1BE, $EF, $02, $01
sound_pointer SoundData_1BF, $EF, $02, $01
sound_pointer SoundData_1C0, $EF, $02, $01
sound_pointer SoundData_1C1, $EE, $00, $02
sound_pointer SoundData_1C2, $E6, $00, $01
sound_pointer SoundData_1C3, $DB, $00, $01
sound_pointer SoundData_1C4, $DC, $00, $01
sound_pointer SoundData_1C5, $DC, $00, $01
sound_pointer SoundData_1C6, $DC, $00, $01
sound_pointer SoundData_1C7, $EF, $00, $02
sound_pointer SoundData_1C8, $DC, $00, $01
sound_pointer SoundData_1C9, $DC, $00, $01
sound_pointer SoundData_1CA, $F0, $00, $02
sound_pointer SoundData_1CB, $EF, $03, $01
sound_pointer SoundData_1CC, $DC, $00, $02
sound_pointer SoundData_1CD, $DC, $00, $03
sound_pointer SoundData_1CE, $F0, $00, $02
sound_pointer SoundData_1CF, $DC, $00, $02
sound_pointer SoundData_1D0, $EF, $00, $01
sound_pointer SoundData_1D1, $EF, $00, $02
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_1E1, $FF, $00, $01
sound_pointer SoundData_1E2, $DC, $00, $01
sound_pointer SoundData_1E3, $DC, $00, $01
sound_pointer SoundData_1E4, $FB, $00, $01
sound_pointer SoundData_1E5, $E6, $00, $02
sound_pointer SoundData_1E6, $E3, $01, $01
sound_pointer SoundData_1E7, $DC, $00, $01
sound_pointer SoundData_1E8, $DC, $00, $01
sound_pointer SoundData_1E9, $DC, $00, $01
sound_pointer SoundData_1EA, $DC, $00, $01
sound_pointer SoundData_1EB, $DC, $00, $02
sound_pointer SoundData_1EC, $DC, $02, $01
sound_pointer SoundData_1ED, $DC, $03, $01
sound_pointer SoundData_1EE, $DC, $00, $01
sound_pointer SoundData_1EF, $ED, $00, $01
sound_pointer SoundData_1F0, $DC, $00, $01
sound_pointer SoundData_1F1, $ED, $00, $01
sound_pointer SoundData_1F2, $DC, $00, $01
sound_pointer SoundData_1F3, $DC, $03, $01
sound_pointer SoundData_1F4, $DC, $00, $01
sound_pointer SoundData_1F5, $DC, $03, $01
sound_pointer SoundData_1F6, $DC, $03, $01
sound_pointer SoundData_1F7, $DC, $03, $01
sound_pointer SoundData_1F8, $DC, $03, $01
sound_pointer SoundData_1F9, $DC, $03, $01
sound_pointer SoundData_1FA, $EF, $00, $03
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_01, $64, $00, $04
sound_pointer SoundData_201, $DC, $03, $01
sound_pointer SoundData_202, $DC, $00, $01
sound_pointer SoundData_203, $DC, $03, $01
sound_pointer SoundData_204, $DC, $00, $01
sound_pointer SoundData_205, $DC, $00, $02
sound_pointer SoundData_206, $ED, $02, $01
sound_pointer SoundData_207, $DB, $00, $01
sound_pointer SoundData_208, $DC, $00, $01
sound_pointer SoundData_209, $DC, $00, $02
sound_pointer SoundData_20A, $DC, $03, $01
sound_pointer SoundData_20B, $DC, $00, $01
sound_pointer SoundData_20C, $DC, $03, $01
sound_pointer SoundData_20D, $EC, $00, $01
sound_pointer SoundData_20E, $DC, $00, $02
sound_pointer SoundData_20F, $DC, $03, $01
sound_pointer SoundData_210, $DC, $00, $02
sound_pointer SoundData_211, $DC, $03, $01
sound_pointer SoundData_212, $DC, $00, $03
sound_pointer SoundData_213, $DC, $00, $01
sound_pointer SoundData_214, $DC, $03, $01
sound_pointer SoundData_215, $DC, $03, $01
sound_pointer SoundData_216, $DC, $03, $01
sound_pointer SoundData_217, $DC, $00, $02
sound_pointer SoundData_218, $DC, $00, $02
sound_pointer SoundData_219, $DC, $00, $01
sound_pointer SoundData_21A, $DC, $00, $01
sound_pointer SoundData_21B, $DC, $00, $02
sound_pointer SoundData_21C, $DC, $00, $01
sound_pointer SoundData_21D, $DC, $00, $01
sound_pointer SoundData_21E, $DC, $00, $02
sound_pointer SoundData_21F, $DC, $00, $02
sound_pointer SoundData_220, $DC, $00, $02
sound_pointer SoundData_221, $DC, $00, $02
sound_pointer SoundData_222, $DC, $00, $01
sound_pointer SoundData_223, $DC, $00, $01
sound_pointer SoundData_224, $DC, $03, $01
sound_pointer SoundData_225, $DC, $03, $01
sound_pointer SoundData_226, $DC, $03, $01
sound_pointer SoundData_227, $DC, $01, $02
sound_pointer SoundData_228, $DC, $00, $01
sound_pointer SoundData_229, $EF, $03, $01
sound_pointer SoundData_22A, $DC, $03, $01
sound_pointer SoundData_22B, $DC, $02, $01
sound_pointer SoundData_22C, $DC, $00, $02
sound_pointer SoundData_22D, $DC, $03, $01
sound_pointer SoundData_22E, $DC, $00, $04
sound_pointer SoundData_22F, $DC, $03, $01
sound_pointer SoundData_230, $DC, $03, $01
sound_pointer SoundData_231, $DC, $03, $01
sound_pointer SoundData_232, $DC, $00, $01
sound_pointer SoundData_233, $DC, $02, $01
sound_pointer SoundData_234, $DC, $00, $01
sound_pointer SoundData_235, $DC, $00, $01
sound_pointer SoundData_236, $EC, $01, $01
sound_pointer SoundData_237, $E2, $03, $01
sound_pointer SoundData_238, $DC, $03, $01
LoggedData_0x32726:
INCBIN "baserom.gbc", $32726, $3285D - $32726
Unknown_0x3285D:
INCBIN "baserom.gbc", $3285D, $3285E - $3285D
LoggedData_0x3285E:
INCBIN "baserom.gbc", $3285E, $32917 - $3285E
Unknown_0x32917:
INCBIN "baserom.gbc", $32917, $32918 - $32917
LoggedData_0x32918:
INCBIN "baserom.gbc", $32918, $32A08 - $32918
Unknown_0x32A08:
INCBIN "baserom.gbc", $32A08, $32A09 - $32A08
LoggedData_0x32A09:
INCBIN "baserom.gbc", $32A09, $32A97 - $32A09
Unknown_0x32A97:
INCBIN "baserom.gbc", $32A97, $32A98 - $32A97
SoundData_01:;0x32A98
INCBIN "data/sound/sound01.bin"
SoundData_02:;0x32D27
INCBIN "data/sound/sound02.bin"
SoundData_03:;0x32EED
INCBIN "data/sound/sound03.bin"
SoundData_04:;0x332E7
INCBIN "data/sound/sound04.bin"
SoundData_05:;0x335AF
INCBIN "data/sound/sound05.bin"
SoundData_06:;0x337F9
INCBIN "data/sound/sound06.bin"
SoundData_07:;0x33B2E
INCBIN "data/sound/sound07.bin"
SoundData_08:;0x33DD5
INCBIN "data/sound/sound08.bin"
ds $34000 - $33DE9, $00
SECTION "Bank0D", ROMX, BANK[$0D]
LoggedData_0x34000:
INCBIN "baserom.gbc", $34000, $3413C - $34000
Unknown_0x3413C:
INCBIN "baserom.gbc", $3413C, $34149 - $3413C
LoggedData_0x34149:
INCBIN "baserom.gbc", $34149, $3424D - $34149
Unknown_0x3424D:
INCBIN "baserom.gbc", $3424D, $34259 - $3424D
LoggedData_0x34259:
INCBIN "baserom.gbc", $34259, $34384 - $34259
Unknown_0x34384:
INCBIN "baserom.gbc", $34384, $34391 - $34384
SoundData_09:;0x34391
INCBIN "data/sound/sound09.bin"
SoundData_0A:;0x3481C
INCBIN "data/sound/sound0A.bin"
SoundData_0B:;0x34A50
INCBIN "data/sound/sound0B.bin"
SoundData_0C:;0x34D69
INCBIN "data/sound/sound0C.bin"
SoundData_0D:;0x35179
INCBIN "data/sound/sound0D.bin"
SoundData_0E:;0x3547A
INCBIN "data/sound/sound0E.bin"
SoundData_0F:;0x35718
INCBIN "data/sound/sound0F.bin"
SoundData_10:;0x35A63
INCBIN "data/sound/sound10.bin"
SoundData_11:;0x35F44
INCBIN "data/sound/sound11.bin"
SoundData_12:;0x364C6
INCBIN "data/sound/sound12.bin"
SoundData_13:;0x367CB
INCBIN "data/sound/sound13.bin"
SoundData_14:;0x36997
INCBIN "data/sound/sound14.bin"
SoundData_15:;0x37450
INCBIN "data/sound/sound15.bin"
SoundData_16:;0x375C1
INCBIN "data/sound/sound16.bin"
SoundData_17:;0x376E0
INCBIN "data/sound/sound17.bin"
SoundData_18:;0x37829
INCBIN "data/sound/sound18.bin"
SoundData_19:;0x37901
INCBIN "data/sound/sound19.bin"
SoundData_1A:;0x379E5
INCBIN "data/sound/sound1A.bin"
SoundData_1B:;0x37B78
INCBIN "data/sound/sound1B.bin"
SoundData_1C:;0x37CF0
INCBIN "data/sound/sound1C.bin"
SoundData_1D:;0x37DF8
INCBIN "data/sound/sound1D.bin"
SoundData_1E:;0x37F41
INCBIN "data/sound/sound1E.bin"
ds $38000 - $37F55, $00
SECTION "Bank0E", ROMX, BANK[$0E]
LoggedData_0x38000:
INCBIN "baserom.gbc", $38000, $38101 - $38000
Unknown_0x38101:
INCBIN "baserom.gbc", $38101, $3815C - $38101
LoggedData_0x3815C:
INCBIN "baserom.gbc", $3815C, $381C1 - $3815C
Unknown_0x381C1:
INCBIN "baserom.gbc", $381C1, $381E6 - $381C1
SoundData_1F:;0x381E6
INCBIN "data/sound/sound1F.bin"
SoundData_20:;0x38351
INCBIN "data/sound/sound20.bin"
SoundData_21:;0x386F6
INCBIN "data/sound/sound21.bin"
SoundData_22:;0x38951
INCBIN "data/sound/sound22.bin"
SoundData_23:;0x38A63
INCBIN "data/sound/sound23.bin"
SoundData_24:;0x38B5E
INCBIN "data/sound/sound24.bin"
SoundData_25:;0x38BD6
INCBIN "data/sound/sound25.bin"
SoundData_26:;0x38F13
INCBIN "data/sound/sound26.bin"
SoundData_27:;0x39308
INCBIN "data/sound/sound27.bin"
SoundData_28:;0x394CC
INCBIN "data/sound/sound28.bin"
SoundData_29:;0x395E1
INCBIN "data/sound/sound29.bin"
SoundData_2A:;0x39641
INCBIN "data/sound/sound2A.bin"
SoundData_2B:;0x396BC
INCBIN "data/sound/sound2B.bin"
SoundData_2C:;0x397F2
INCBIN "data/sound/sound2C.bin"
SoundData_2D:;0x398B4
INCBIN "data/sound/sound2D.bin"
SoundData_2E:;0x39991
INCBIN "data/sound/sound2E.bin"
SoundData_2F:;0x39BA8
INCBIN "data/sound/sound2F.bin"
SoundData_30:;0x39D53
INCBIN "data/sound/sound30.bin"
SoundData_31:;0x39DB7
INCBIN "data/sound/sound31.bin"
SoundData_32:;0x39F11
INCBIN "data/sound/sound32.bin"
SoundData_33:;0x3A2EF
INCBIN "data/sound/sound33.bin"
SoundData_34:;0x3A641
INCBIN "data/sound/sound34.bin"
SoundData_35:;0x3AC2B
INCBIN "data/sound/sound35.bin"
SoundData_36:;0x3B152
INCBIN "data/sound/sound36.bin"
SoundData_37:;0x3B2A6
INCBIN "data/sound/sound37.bin"
SoundData_38:;0x3B48D
INCBIN "data/sound/sound38.bin"
SoundData_39:;0x3B4E5
INCBIN "data/sound/sound39.bin"
SoundData_3A:;0x3B834
INCBIN "data/sound/sound3A.bin"
SoundData_101:;0x3B85B
INCBIN "data/sound/sound101.bin"
SoundData_102:;0x3B92E
INCBIN "data/sound/sound102.bin"
SoundData_103:;0x3B93F
INCBIN "data/sound/sound103.bin"
SoundData_104:;0x3B958
INCBIN "data/sound/sound104.bin"
SoundData_105:;0x3B981
INCBIN "data/sound/sound105.bin"
SoundData_106:;0x3B9BC
INCBIN "data/sound/sound106.bin"
SoundData_107:;0x3B9D3
INCBIN "data/sound/sound107.bin"
SoundData_108:;0x3B9F7
INCBIN "data/sound/sound108.bin"
SoundData_109:;0x3BA24
INCBIN "data/sound/sound109.bin"
SoundData_10A:;0x3BA44
INCBIN "data/sound/sound10A.bin"
SoundData_10B:;0x3BA55
INCBIN "data/sound/sound10B.bin"
SoundData_10C:;0x3BA68
INCBIN "data/sound/sound10C.bin"
SoundData_10D:;0x3BAA6
INCBIN "data/sound/sound10D.bin"
SoundData_10E:;0x3BAC7
INCBIN "data/sound/sound10E.bin"
SoundData_10F:;0x3BADD
INCBIN "data/sound/sound10F.bin"
SoundData_110:;0x3BAF2
INCBIN "data/sound/sound110.bin"
SoundData_111:;0x3BB05
INCBIN "data/sound/sound111.bin"
SoundData_112:;0x3BB38
INCBIN "data/sound/sound112.bin"
SoundData_113:;0x3BB70
INCBIN "data/sound/sound113.bin"
SoundData_114:;0x3BB83
INCBIN "data/sound/sound114.bin"
SoundData_115:;0x3BB94
INCBIN "data/sound/sound115.bin"
SoundData_116:;0x3BBA5
INCBIN "data/sound/sound116.bin"
SoundData_117:;0x3BBCF
INCBIN "data/sound/sound117.bin"
SoundData_118:;0x3BBFD
INCBIN "data/sound/sound118.bin"
SoundData_119:;0x3BC0E
INCBIN "data/sound/sound119.bin"
SoundData_11A:;0x3BC21
INCBIN "data/sound/sound11A.bin"
SoundData_11B:;0x3BC85
INCBIN "data/sound/sound11B.bin"
SoundData_11C:;0x3BCAA
INCBIN "data/sound/sound11C.bin"
SoundData_11D:;0x3BCBB
INCBIN "data/sound/sound11D.bin"
SoundData_11E:;0x3BCCC
INCBIN "data/sound/sound11E.bin"
SoundData_11F:;0x3BCE1
INCBIN "data/sound/sound11F.bin"
SoundData_120:;0x3BD04
INCBIN "data/sound/sound120.bin"
SoundData_121:;0x3BD1D
INCBIN "data/sound/sound121.bin"
SoundData_122:;0x3BD2F
INCBIN "data/sound/sound122.bin"
SoundData_123:;0x3BD60
INCBIN "data/sound/sound123.bin"
SoundData_124:;0x3BDCC
INCBIN "data/sound/sound124.bin"
SoundData_125:;0x3BDEA
INCBIN "data/sound/sound125.bin"
SoundData_126:;0x3BE15
INCBIN "data/sound/sound126.bin"
SoundData_127:;0x3BE44
INCBIN "data/sound/sound127.bin"
SoundData_128:;0x3BE63
INCBIN "data/sound/sound128.bin"
SoundData_129:;0x3BE7E
INCBIN "data/sound/sound129.bin"
SoundData_12A:;0x3BEAF
INCBIN "data/sound/sound12A.bin"
SoundData_12B:;0x3BFC4
INCBIN "data/sound/sound12B.bin"
SoundData_12C:;0x3BFD5
INCBIN "data/sound/sound12C.bin"
SoundData_12D:;0x3BFEE
INCBIN "data/sound/sound12D.bin"
ds $3C000 - $3BFF2, $00
SECTION "Bank0F", ROMX, BANK[$0F]
LoggedData_0x3C000:
INCBIN "baserom.gbc", $3C000, $3C015 - $3C000
SoundData_12E:;0x3C015
INCBIN "data/sound/sound12E.bin"
SoundData_12F:;0x3C02A
INCBIN "data/sound/sound12F.bin"
SoundData_130:;0x3C03D
INCBIN "data/sound/sound130.bin"
SoundData_131:;0x3C0AE
INCBIN "data/sound/sound131.bin"
SoundData_132:;0x3C14F
INCBIN "data/sound/sound132.bin"
SoundData_133:;0x3C166
INCBIN "data/sound/sound133.bin"
SoundData_134:;0x3C1AC
INCBIN "data/sound/sound134.bin"
SoundData_135:;0x3C1C8
INCBIN "data/sound/sound135.bin"
SoundData_136:;0x3C1EA
INCBIN "data/sound/sound136.bin"
SoundData_137:;0x3C206
INCBIN "data/sound/sound137.bin"
SoundData_138:;0x3C228
INCBIN "data/sound/sound138.bin"
SoundData_139:;0x3C253
INCBIN "data/sound/sound139.bin"
SoundData_13A:;0x3C296
INCBIN "data/sound/sound13A.bin"
SoundData_13B:;0x3C2AD
INCBIN "data/sound/sound13B.bin"
SoundData_13C:;0x3C2D4
INCBIN "data/sound/sound13C.bin"
SoundData_13D:;0x3C329
INCBIN "data/sound/sound13D.bin"
SoundData_13E:;0x3C374
INCBIN "data/sound/sound13E.bin"
SoundData_13F:;0x3C3DC
INCBIN "data/sound/sound13F.bin"
SoundData_140:;0x3C3F1
INCBIN "data/sound/sound140.bin"
SoundData_141:;0x3C418
INCBIN "data/sound/sound141.bin"
SoundData_142:;0x3C452
INCBIN "data/sound/sound142.bin"
SoundData_143:;0x3C4A9
INCBIN "data/sound/sound143.bin"
SoundData_144:;0x3C520
INCBIN "data/sound/sound144.bin"
SoundData_145:;0x3C597
INCBIN "data/sound/sound145.bin"
SoundData_146:;0x3C617
INCBIN "data/sound/sound146.bin"
SoundData_147:;0x3C683
INCBIN "data/sound/sound147.bin"
SoundData_148:;0x3C718
INCBIN "data/sound/sound148.bin"
SoundData_149:;0x3C72D
INCBIN "data/sound/sound149.bin"
SoundData_14A:;0x3C741
INCBIN "data/sound/sound14A.bin"
SoundData_14B:;0x3C77C
INCBIN "data/sound/sound14B.bin"
SoundData_14C:;0x3C7EB
INCBIN "data/sound/sound14C.bin"
SoundData_161:;0x3C80F
INCBIN "data/sound/sound161.bin"
SoundData_162:;0x3C82A
INCBIN "data/sound/sound162.bin"
SoundData_163:;0x3C84C
INCBIN "data/sound/sound163.bin"
SoundData_164:;0x3C8A1
INCBIN "data/sound/sound164.bin"
SoundData_165:;0x3C8B7
INCBIN "data/sound/sound165.bin"
SoundData_166:;0x3C8CC
INCBIN "data/sound/sound166.bin"
SoundData_167:;0x3C8EB
INCBIN "data/sound/sound167.bin"
SoundData_168:;0x3C906
INCBIN "data/sound/sound168.bin"
SoundData_169:;0x3C919
INCBIN "data/sound/sound169.bin"
SoundData_16A:;0x3C93B
INCBIN "data/sound/sound16A.bin"
SoundData_16B:;0x3C952
INCBIN "data/sound/sound16B.bin"
SoundData_16C:;0x3C9C0
INCBIN "data/sound/sound16C.bin"
SoundData_16D:;0x3C9D5
INCBIN "data/sound/sound16D.bin"
SoundData_16E:;0x3C9F3
INCBIN "data/sound/sound16E.bin"
SoundData_16F:;0x3CA12
INCBIN "data/sound/sound16F.bin"
SoundData_170:;0x3CA2D
INCBIN "data/sound/sound170.bin"
SoundData_171:;0x3CA46
INCBIN "data/sound/sound171.bin"
SoundData_172:;0x3CA7D
INCBIN "data/sound/sound172.bin"
SoundData_173:;0x3CA92
INCBIN "data/sound/sound173.bin"
SoundData_174:;0x3CAD0
INCBIN "data/sound/sound174.bin"
SoundData_175:;0x3CAF1
INCBIN "data/sound/sound175.bin"
SoundData_176:;0x3CB0A
INCBIN "data/sound/sound176.bin"
SoundData_177:;0x3CB30
INCBIN "data/sound/sound177.bin"
SoundData_178:;0x3CB44
INCBIN "data/sound/sound178.bin"
SoundData_179:;0x3CB7A
INCBIN "data/sound/sound179.bin"
SoundData_17A:;0x3CB97
INCBIN "data/sound/sound17A.bin"
SoundData_17B:;0x3CBAE
INCBIN "data/sound/sound17B.bin"
SoundData_17C:;0x3CC84
INCBIN "data/sound/sound17C.bin"
SoundData_17D:;0x3CC9D
INCBIN "data/sound/sound17D.bin"
SoundData_17E:;0x3CCB2
INCBIN "data/sound/sound17E.bin"
SoundData_17F:;0x3CCE7
INCBIN "data/sound/sound17F.bin"
SoundData_180:;0x3CD08
INCBIN "data/sound/sound180.bin"
SoundData_181:;0x3CD77
INCBIN "data/sound/sound181.bin"
SoundData_182:;0x3CE0A
INCBIN "data/sound/sound182.bin"
SoundData_183:;0x3CE5A
INCBIN "data/sound/sound183.bin"
SoundData_184:;0x3CE7B
INCBIN "data/sound/sound184.bin"
SoundData_185:;0x3CE90
INCBIN "data/sound/sound185.bin"
SoundData_186:;0x3CEAD
INCBIN "data/sound/sound186.bin"
SoundData_187:;0x3CEC2
INCBIN "data/sound/sound187.bin"
SoundData_188:;0x3CF36
INCBIN "data/sound/sound188.bin"
SoundData_189:;0x3CF57
INCBIN "data/sound/sound189.bin"
SoundData_18A:;0x3CFD5
INCBIN "data/sound/sound18A.bin"
SoundData_18B:;0x3D000
INCBIN "data/sound/sound18B.bin"
SoundData_18C:;0x3D02D
INCBIN "data/sound/sound18C.bin"
SoundData_18D:;0x3D08C
INCBIN "data/sound/sound18D.bin"
SoundData_18E:;0x3D0F9
INCBIN "data/sound/sound18E.bin"
SoundData_18F:;0x3D11E
INCBIN "data/sound/sound18F.bin"
SoundData_1A1:;0x3D163
INCBIN "data/sound/sound1A1.bin"
SoundData_1A2:;0x3D1B3
INCBIN "data/sound/sound1A2.bin"
SoundData_1A3:;0x3D1C6
INCBIN "data/sound/sound1A3.bin"
SoundData_1A4:;0x3D1F5
INCBIN "data/sound/sound1A4.bin"
SoundData_1A5:;0x3D206
INCBIN "data/sound/sound1A5.bin"
SoundData_1A6:;0x3D24B
INCBIN "data/sound/sound1A6.bin"
SoundData_1A7:;0x3D2A8
INCBIN "data/sound/sound1A7.bin"
SoundData_1A8:;0x3D2F2
INCBIN "data/sound/sound1A8.bin"
SoundData_1A9:;0x3D355
INCBIN "data/sound/sound1A9.bin"
SoundData_1AA:;0x3D385
INCBIN "data/sound/sound1AA.bin"
SoundData_1AB:;0x3D3A9
INCBIN "data/sound/sound1AB.bin"
SoundData_1AC:;0x3D4BA
INCBIN "data/sound/sound1AC.bin"
SoundData_1AD:;0x3D4D0
INCBIN "data/sound/sound1AD.bin"
SoundData_1AE:;0x3D4E7
INCBIN "data/sound/sound1AE.bin"
SoundData_1AF:;0x3D4FE
INCBIN "data/sound/sound1AF.bin"
SoundData_1B0:;0x3D643
INCBIN "data/sound/sound1B0.bin"
SoundData_1B1:;0x3D684
INCBIN "data/sound/sound1B1.bin"
SoundData_1B2:;0x3D726
INCBIN "data/sound/sound1B2.bin"
SoundData_1B3:;0x3D75B
INCBIN "data/sound/sound1B3.bin"
SoundData_1B4:;0x3D830
INCBIN "data/sound/sound1B4.bin"
SoundData_1B5:;0x3D86D
INCBIN "data/sound/sound1B5.bin"
SoundData_1B6:;0x3D8AC
INCBIN "data/sound/sound1B6.bin"
SoundData_1B7:;0x3D8EB
INCBIN "data/sound/sound1B7.bin"
SoundData_1B8:;0x3D92A
INCBIN "data/sound/sound1B8.bin"
SoundData_1B9:;0x3D94B
INCBIN "data/sound/sound1B9.bin"
SoundData_1BA:;0x3D96D
INCBIN "data/sound/sound1BA.bin"
SoundData_1BB:;0x3D9B3
INCBIN "data/sound/sound1BB.bin"
SoundData_1BC:;0x3D9EF
INCBIN "data/sound/sound1BC.bin"
SoundData_1BD:;0x3DA97
INCBIN "data/sound/sound1BD.bin"
SoundData_1BE:;0x3DACA
INCBIN "data/sound/sound1BE.bin"
SoundData_1BF:;0x3DB17
INCBIN "data/sound/sound1BF.bin"
SoundData_1C0:;0x3DB76
INCBIN "data/sound/sound1C0.bin"
SoundData_1C1:;0x3DB96
INCBIN "data/sound/sound1C1.bin"
SoundData_1C2:;0x3DBE8
INCBIN "data/sound/sound1C2.bin"
SoundData_1C3:;0x3DBF9
INCBIN "data/sound/sound1C3.bin"
SoundData_1C4:;0x3DC0A
INCBIN "data/sound/sound1C4.bin"
SoundData_1C5:;0x3DC1D
INCBIN "data/sound/sound1C5.bin"
SoundData_1C6:;0x3DC34
INCBIN "data/sound/sound1C6.bin"
SoundData_1C7:;0x3DCBC
INCBIN "data/sound/sound1C7.bin"
SoundData_1C8:;0x3DDD1
INCBIN "data/sound/sound1C8.bin"
SoundData_1C9:;0x3DDE4
INCBIN "data/sound/sound1C9.bin"
SoundData_1CA:;0x3DE42
INCBIN "data/sound/sound1CA.bin"
SoundData_1CB:;0x3DE7C
INCBIN "data/sound/sound1CB.bin"
SoundData_1CC:;0x3DF77
INCBIN "data/sound/sound1CC.bin"
SoundData_1CD:;0x3E032
INCBIN "data/sound/sound1CD.bin"
SoundData_1CE:;0x3E0C1
INCBIN "data/sound/sound1CE.bin"
SoundData_1CF:;0x3E17F
INCBIN "data/sound/sound1CF.bin"
SoundData_1D0:;0x3E23A
INCBIN "data/sound/sound1D0.bin"
SoundData_1D1:;0x3E29E
INCBIN "data/sound/sound1D1.bin"
SoundData_1E1:;0x3E2B7
INCBIN "data/sound/sound1E1.bin"
SoundData_1E2:;0x3E2C8
INCBIN "data/sound/sound1E2.bin"
SoundData_1E3:;0x3E2E8
INCBIN "data/sound/sound1E3.bin"
SoundData_1E4:;0x3E303
INCBIN "data/sound/sound1E4.bin"
SoundData_1E5:;0x3E333
INCBIN "data/sound/sound1E5.bin"
SoundData_1E6:;0x3E356
INCBIN "data/sound/sound1E6.bin"
SoundData_1E7:;0x3E376
INCBIN "data/sound/sound1E7.bin"
SoundData_1E8:;0x3E412
INCBIN "data/sound/sound1E8.bin"
SoundData_1E9:;0x3E440
INCBIN "data/sound/sound1E9.bin"
SoundData_1EA:;0x3E46E
INCBIN "data/sound/sound1EA.bin"
SoundData_1EB:;0x3E4BF
INCBIN "data/sound/sound1EB.bin"
SoundData_1EC:;0x3E4D4
INCBIN "data/sound/sound1EC.bin"
SoundData_1ED:;0x3E506
INCBIN "data/sound/sound1ED.bin"
SoundData_1EE:;0x3E558
INCBIN "data/sound/sound1EE.bin"
SoundData_1EF:;0x3E57B
INCBIN "data/sound/sound1EF.bin"
SoundData_1F0:;0x3E5B4
INCBIN "data/sound/sound1F0.bin"
SoundData_1F1:;0x3E5C9
INCBIN "data/sound/sound1F1.bin"
SoundData_1F2:;0x3E5DC
INCBIN "data/sound/sound1F2.bin"
SoundData_1F3:;0x3E5EF
INCBIN "data/sound/sound1F3.bin"
SoundData_1F4:;0x3E610
INCBIN "data/sound/sound1F4.bin"
SoundData_1F5:;0x3E63D
INCBIN "data/sound/sound1F5.bin"
SoundData_1F6:;0x3E654
INCBIN "data/sound/sound1F6.bin"
SoundData_1F7:;0x3E66B
INCBIN "data/sound/sound1F7.bin"
SoundData_1F8:;0x3E682
INCBIN "data/sound/sound1F8.bin"
SoundData_1F9:;0x3E6A5
INCBIN "data/sound/sound1F9.bin"
SoundData_1FA:;0x3E73F
INCBIN "data/sound/sound1FA.bin"
SoundData_201:;0x3E78C
INCBIN "data/sound/sound201.bin"
SoundData_202:;0x3E7C1
INCBIN "data/sound/sound202.bin"
SoundData_203:;0x3E7DA
INCBIN "data/sound/sound203.bin"
SoundData_204:;0x3E839
INCBIN "data/sound/sound204.bin"
SoundData_205:;0x3E972
INCBIN "data/sound/sound205.bin"
SoundData_206:;0x3E988
INCBIN "data/sound/sound206.bin"
SoundData_207:;0x3E9A1
INCBIN "data/sound/sound207.bin"
SoundData_208:;0x3EA09
INCBIN "data/sound/sound208.bin"
SoundData_209:;0x3EA29
INCBIN "data/sound/sound209.bin"
SoundData_20A:;0x3EA4D
INCBIN "data/sound/sound20A.bin"
SoundData_20B:;0x3EA5E
INCBIN "data/sound/sound20B.bin"
SoundData_20C:;0x3EAC5
INCBIN "data/sound/sound20C.bin"
SoundData_20D:;0x3EAE2
INCBIN "data/sound/sound20D.bin"
SoundData_20E:;0x3EB57
INCBIN "data/sound/sound20E.bin"
SoundData_20F:;0x3EB72
INCBIN "data/sound/sound20F.bin"
SoundData_210:;0x3EBA2
INCBIN "data/sound/sound210.bin"
SoundData_211:;0x3EBBA
INCBIN "data/sound/sound211.bin"
SoundData_212:;0x3EC49
INCBIN "data/sound/sound212.bin"
SoundData_213:;0x3EC70
INCBIN "data/sound/sound213.bin"
SoundData_214:;0x3EC86
INCBIN "data/sound/sound214.bin"
SoundData_215:;0x3EC9C
INCBIN "data/sound/sound215.bin"
SoundData_216:;0x3ECB2
INCBIN "data/sound/sound216.bin"
SoundData_217:;0x3ECF5
INCBIN "data/sound/sound217.bin"
SoundData_218:;0x3ED32
INCBIN "data/sound/sound218.bin"
SoundData_219:;0x3ED7C
INCBIN "data/sound/sound219.bin"
SoundData_21A:;0x3ED9D
INCBIN "data/sound/sound21A.bin"
SoundData_21B:;0x3EEF2
INCBIN "data/sound/sound21B.bin"
SoundData_21C:;0x3EF2D
INCBIN "data/sound/sound21C.bin"
SoundData_21D:;0x3EF94
INCBIN "data/sound/sound21D.bin"
SoundData_21E:;0x3EFCB
INCBIN "data/sound/sound21E.bin"
SoundData_21F:;0x3F009
INCBIN "data/sound/sound21F.bin"
SoundData_220:;0x3F042
INCBIN "data/sound/sound220.bin"
SoundData_221:;0x3F07F
INCBIN "data/sound/sound221.bin"
SoundData_222:;0x3F0A4
INCBIN "data/sound/sound222.bin"
SoundData_223:;0x3F0CD
INCBIN "data/sound/sound223.bin"
SoundData_224:;0x3F0FE
INCBIN "data/sound/sound224.bin"
SoundData_225:;0x3F10F
INCBIN "data/sound/sound225.bin"
SoundData_226:;0x3F120
INCBIN "data/sound/sound226.bin"
SoundData_227:;0x3F154
INCBIN "data/sound/sound227.bin"
SoundData_228:;0x3F1A7
INCBIN "data/sound/sound228.bin"
SoundData_229:;0x3F1C0
INCBIN "data/sound/sound229.bin"
SoundData_22A:;0x3F1D9
INCBIN "data/sound/sound22A.bin"
SoundData_22B:;0x3F1EA
INCBIN "data/sound/sound22B.bin"
SoundData_22C:;0x3F20A
INCBIN "data/sound/sound22C.bin"
SoundData_22D:;0x3F229
INCBIN "data/sound/sound22D.bin"
SoundData_22E:;0x3F2A5
INCBIN "data/sound/sound22E.bin"
SoundData_22F:;0x3F2C9
INCBIN "data/sound/sound22F.bin"
SoundData_230:;0x3F2DE
INCBIN "data/sound/sound230.bin"
SoundData_231:;0x3F2F3
INCBIN "data/sound/sound231.bin"
SoundData_232:;0x3F308
INCBIN "data/sound/sound232.bin"
SoundData_233:;0x3F31B
INCBIN "data/sound/sound233.bin"
SoundData_234:;0x3F32C
INCBIN "data/sound/sound234.bin"
SoundData_235:;0x3F34D
INCBIN "data/sound/sound235.bin"
SoundData_236:;0x3F362
INCBIN "data/sound/sound236.bin"
SoundData_237:;0x3F375
INCBIN "data/sound/sound237.bin"
SoundData_238:;0x3F38E
INCBIN "data/sound/sound238.bin"
ds $3FE00 - $3F392, $00
LoggedData_0x3FE00:
INCBIN "baserom.gbc", $3FE00, $3FE0B - $3FE00
Unknown_0x3FE0B:
INCBIN "baserom.gbc", $3FE0B, $3FE0C - $3FE0B
LoggedData_0x3FE0C:
INCBIN "baserom.gbc", $3FE0C, $3FE0F - $3FE0C
Unknown_0x3FE0F:
INCBIN "baserom.gbc", $3FE0F, $3FE10 - $3FE0F
LoggedData_0x3FE10:
INCBIN "baserom.gbc", $3FE10, $3FE19 - $3FE10
Unknown_0x3FE19:
INCBIN "baserom.gbc", $3FE19, $3FE1A - $3FE19
LoggedData_0x3FE1A:
INCBIN "baserom.gbc", $3FE1A, $3FE1B - $3FE1A
Unknown_0x3FE1B:
INCBIN "baserom.gbc", $3FE1B, $3FE1C - $3FE1B
LoggedData_0x3FE1C:
INCBIN "baserom.gbc", $3FE1C, $3FE1F - $3FE1C
Unknown_0x3FE1F:
INCBIN "baserom.gbc", $3FE1F, $3FE20 - $3FE1F
LoggedData_0x3FE20:
INCBIN "baserom.gbc", $3FE20, $3FE23 - $3FE20
Unknown_0x3FE23:
INCBIN "baserom.gbc", $3FE23, $3FE24 - $3FE23
LoggedData_0x3FE24:
INCBIN "baserom.gbc", $3FE24, $3FE25 - $3FE24
Unknown_0x3FE25:
INCBIN "baserom.gbc", $3FE25, $3FE26 - $3FE25
LoggedData_0x3FE26:
INCBIN "baserom.gbc", $3FE26, $3FE27 - $3FE26
Unknown_0x3FE27:
INCBIN "baserom.gbc", $3FE27, $3FE40 - $3FE27
LoggedData_0x3FE40:
INCBIN "baserom.gbc", $3FE40, $3FE42 - $3FE40
Unknown_0x3FE42:
INCBIN "baserom.gbc", $3FE42, $3FE46 - $3FE42
LoggedData_0x3FE46:
INCBIN "baserom.gbc", $3FE46, $3FE48 - $3FE46
Unknown_0x3FE48:
INCBIN "baserom.gbc", $3FE48, $3FE4A - $3FE48
LoggedData_0x3FE4A:
INCBIN "baserom.gbc", $3FE4A, $3FE52 - $3FE4A
Unknown_0x3FE52:
INCBIN "baserom.gbc", $3FE52, $3FE56 - $3FE52
LoggedData_0x3FE56:
INCBIN "baserom.gbc", $3FE56, $3FE58 - $3FE56
Unknown_0x3FE58:
INCBIN "baserom.gbc", $3FE58, $3FE5C - $3FE58
LoggedData_0x3FE5C:
INCBIN "baserom.gbc", $3FE5C, $3FE60 - $3FE5C
Unknown_0x3FE60:
INCBIN "baserom.gbc", $3FE60, $3FE62 - $3FE60
LoggedData_0x3FE62:
INCBIN "baserom.gbc", $3FE62, $3FE66 - $3FE62
Unknown_0x3FE66:
INCBIN "baserom.gbc", $3FE66, $3FE68 - $3FE66
LoggedData_0x3FE68:
INCBIN "baserom.gbc", $3FE68, $3FE6A - $3FE68
Unknown_0x3FE6A:
INCBIN "baserom.gbc", $3FE6A, $3FE6E - $3FE6A
LoggedData_0x3FE6E:
INCBIN "baserom.gbc", $3FE6E, $3FE72 - $3FE6E
Unknown_0x3FE72:
INCBIN "baserom.gbc", $3FE72, $3FE74 - $3FE72
LoggedData_0x3FE74:
INCBIN "baserom.gbc", $3FE74, $3FE78 - $3FE74
Unknown_0x3FE78:
INCBIN "baserom.gbc", $3FE78, $3FE7E - $3FE78
LoggedData_0x3FE7E:
INCBIN "baserom.gbc", $3FE7E, $3FE80 - $3FE7E
Unknown_0x3FE80:
INCBIN "baserom.gbc", $3FE80, $3FE82 - $3FE80
LoggedData_0x3FE82:
INCBIN "baserom.gbc", $3FE82, $3FE84 - $3FE82
Unknown_0x3FE84:
INCBIN "baserom.gbc", $3FE84, $3FE88 - $3FE84
LoggedData_0x3FE88:
INCBIN "baserom.gbc", $3FE88, $3FE8A - $3FE88
Unknown_0x3FE8A:
INCBIN "baserom.gbc", $3FE8A, $3FE8C - $3FE8A
LoggedData_0x3FE8C:
INCBIN "baserom.gbc", $3FE8C, $3FE90 - $3FE8C
Unknown_0x3FE90:
INCBIN "baserom.gbc", $3FE90, $3FE94 - $3FE90
LoggedData_0x3FE94:
INCBIN "baserom.gbc", $3FE94, $3FE9A - $3FE94
Unknown_0x3FE9A:
INCBIN "baserom.gbc", $3FE9A, $3FE9C - $3FE9A
LoggedData_0x3FE9C:
INCBIN "baserom.gbc", $3FE9C, $3FE9E - $3FE9C
Unknown_0x3FE9E:
INCBIN "baserom.gbc", $3FE9E, $3FEA2 - $3FE9E
LoggedData_0x3FEA2:
INCBIN "baserom.gbc", $3FEA2, $3FEA4 - $3FEA2
Unknown_0x3FEA4:
INCBIN "baserom.gbc", $3FEA4, $3FEA6 - $3FEA4
LoggedData_0x3FEA6:
INCBIN "baserom.gbc", $3FEA6, $3FEA8 - $3FEA6
Unknown_0x3FEA8:
INCBIN "baserom.gbc", $3FEA8, $3FEAA - $3FEA8
LoggedData_0x3FEAA:
INCBIN "baserom.gbc", $3FEAA, $3FEAC - $3FEAA
Unknown_0x3FEAC:
INCBIN "baserom.gbc", $3FEAC, $3FEAE - $3FEAC
LoggedData_0x3FEAE:
INCBIN "baserom.gbc", $3FEAE, $3FEB0 - $3FEAE
Unknown_0x3FEB0:
INCBIN "baserom.gbc", $3FEB0, $3FEB4 - $3FEB0
LoggedData_0x3FEB4:
INCBIN "baserom.gbc", $3FEB4, $3FEB6 - $3FEB4
Unknown_0x3FEB6:
INCBIN "baserom.gbc", $3FEB6, $3FEB8 - $3FEB6
LoggedData_0x3FEB8:
INCBIN "baserom.gbc", $3FEB8, $3FEBC - $3FEB8
Unknown_0x3FEBC:
INCBIN "baserom.gbc", $3FEBC, $3FEBE - $3FEBC
LoggedData_0x3FEBE:
INCBIN "baserom.gbc", $3FEBE, $3FEC4 - $3FEBE
Unknown_0x3FEC4:
INCBIN "baserom.gbc", $3FEC4, $3FECA - $3FEC4
LoggedData_0x3FECA:
INCBIN "baserom.gbc", $3FECA, $3FED0 - $3FECA
Unknown_0x3FED0:
INCBIN "baserom.gbc", $3FED0, $3FED4 - $3FED0
LoggedData_0x3FED4:
INCBIN "baserom.gbc", $3FED4, $3FEDE - $3FED4
Unknown_0x3FEDE:
INCBIN "baserom.gbc", $3FEDE, $3FEE0 - $3FEDE
LoggedData_0x3FEE0:
INCBIN "baserom.gbc", $3FEE0, $3FEE2 - $3FEE0
Unknown_0x3FEE2:
INCBIN "baserom.gbc", $3FEE2, $3FEE4 - $3FEE2
LoggedData_0x3FEE4:
INCBIN "baserom.gbc", $3FEE4, $3FEE8 - $3FEE4
Unknown_0x3FEE8:
INCBIN "baserom.gbc", $3FEE8, $3FEEC - $3FEE8
LoggedData_0x3FEEC:
INCBIN "baserom.gbc", $3FEEC, $3FEEE - $3FEEC
Unknown_0x3FEEE:
INCBIN "baserom.gbc", $3FEEE, $3FEF4 - $3FEEE
LoggedData_0x3FEF4:
INCBIN "baserom.gbc", $3FEF4, $3FEF6 - $3FEF4
Unknown_0x3FEF6:
INCBIN "baserom.gbc", $3FEF6, $3FEF8 - $3FEF6
LoggedData_0x3FEF8:
INCBIN "baserom.gbc", $3FEF8, $3FEFC - $3FEF8
Unknown_0x3FEFC:
INCBIN "baserom.gbc", $3FEFC, $3FEFE - $3FEFC
LoggedData_0x3FEFE:
INCBIN "baserom.gbc", $3FEFE, $3FF04 - $3FEFE
Unknown_0x3FF04:
INCBIN "baserom.gbc", $3FF04, $3FF0C - $3FF04
LoggedData_0x3FF0C:
INCBIN "baserom.gbc", $3FF0C, $3FF10 - $3FF0C
Unknown_0x3FF10:
INCBIN "baserom.gbc", $3FF10, $3FF18 - $3FF10
LoggedData_0x3FF18:
INCBIN "baserom.gbc", $3FF18, $3FF1A - $3FF18
Unknown_0x3FF1A:
INCBIN "baserom.gbc", $3FF1A, $3FF1C - $3FF1A
LoggedData_0x3FF1C:
INCBIN "baserom.gbc", $3FF1C, $3FF24 - $3FF1C
Unknown_0x3FF24:
INCBIN "baserom.gbc", $3FF24, $3FF26 - $3FF24
LoggedData_0x3FF26:
INCBIN "baserom.gbc", $3FF26, $3FF28 - $3FF26
Unknown_0x3FF28:
INCBIN "baserom.gbc", $3FF28, $3FF2C - $3FF28
LoggedData_0x3FF2C:
INCBIN "baserom.gbc", $3FF2C, $3FF2E - $3FF2C
Unknown_0x3FF2E:
INCBIN "baserom.gbc", $3FF2E, $3FF30 - $3FF2E
LoggedData_0x3FF30:
INCBIN "baserom.gbc", $3FF30, $3FF32 - $3FF30
Unknown_0x3FF32:
INCBIN "baserom.gbc", $3FF32, $3FF36 - $3FF32
LoggedData_0x3FF36:
INCBIN "baserom.gbc", $3FF36, $3FF38 - $3FF36
Unknown_0x3FF38:
INCBIN "baserom.gbc", $3FF38, $3FF3A - $3FF38
LoggedData_0x3FF3A:
INCBIN "baserom.gbc", $3FF3A, $3FF42 - $3FF3A
Unknown_0x3FF42:
INCBIN "baserom.gbc", $3FF42, $3FF44 - $3FF42
LoggedData_0x3FF44:
INCBIN "baserom.gbc", $3FF44, $3FF46 - $3FF44
Unknown_0x3FF46:
INCBIN "baserom.gbc", $3FF46, $3FF4C - $3FF46
LoggedData_0x3FF4C:
INCBIN "baserom.gbc", $3FF4C, $3FF50 - $3FF4C
Unknown_0x3FF50:
INCBIN "baserom.gbc", $3FF50, $3FF52 - $3FF50
LoggedData_0x3FF52:
INCBIN "baserom.gbc", $3FF52, $3FF58 - $3FF52
Unknown_0x3FF58:
INCBIN "baserom.gbc", $3FF58, $3FF5A - $3FF58
LoggedData_0x3FF5A:
INCBIN "baserom.gbc", $3FF5A, $3FF5C - $3FF5A
Unknown_0x3FF5C:
INCBIN "baserom.gbc", $3FF5C, $3FF5E - $3FF5C
LoggedData_0x3FF5E:
INCBIN "baserom.gbc", $3FF5E, $3FF60 - $3FF5E
Unknown_0x3FF60:
INCBIN "baserom.gbc", $3FF60, $3FF66 - $3FF60
LoggedData_0x3FF66:
INCBIN "baserom.gbc", $3FF66, $3FF6E - $3FF66
Unknown_0x3FF6E:
INCBIN "baserom.gbc", $3FF6E, $3FF76 - $3FF6E
LoggedData_0x3FF76:
INCBIN "baserom.gbc", $3FF76, $3FF7A - $3FF76
Unknown_0x3FF7A:
INCBIN "baserom.gbc", $3FF7A, $3FF7C - $3FF7A
LoggedData_0x3FF7C:
INCBIN "baserom.gbc", $3FF7C, $3FF80 - $3FF7C
Unknown_0x3FF80:
INCBIN "baserom.gbc", $3FF80, $3FF84 - $3FF80
LoggedData_0x3FF84:
INCBIN "baserom.gbc", $3FF84, $3FF86 - $3FF84
Unknown_0x3FF86:
INCBIN "baserom.gbc", $3FF86, $3FF88 - $3FF86
LoggedData_0x3FF88:
INCBIN "baserom.gbc", $3FF88, $3FF8A - $3FF88
Unknown_0x3FF8A:
INCBIN "baserom.gbc", $3FF8A, $3FF8C - $3FF8A
LoggedData_0x3FF8C:
INCBIN "baserom.gbc", $3FF8C, $3FF90 - $3FF8C
Unknown_0x3FF90:
INCBIN "baserom.gbc", $3FF90, $3FF94 - $3FF90
LoggedData_0x3FF94:
INCBIN "baserom.gbc", $3FF94, $3FF9A - $3FF94
Unknown_0x3FF9A:
INCBIN "baserom.gbc", $3FF9A, $3FF9E - $3FF9A
LoggedData_0x3FF9E:
INCBIN "baserom.gbc", $3FF9E, $3FFA0 - $3FF9E
Unknown_0x3FFA0:
INCBIN "baserom.gbc", $3FFA0, $3FFA4 - $3FFA0
LoggedData_0x3FFA4:
INCBIN "baserom.gbc", $3FFA4, $3FFAA - $3FFA4
Unknown_0x3FFAA:
INCBIN "baserom.gbc", $3FFAA, $3FFAE - $3FFAA
LoggedData_0x3FFAE:
INCBIN "baserom.gbc", $3FFAE, $3FFB4 - $3FFAE
Unknown_0x3FFB4:
INCBIN "baserom.gbc", $3FFB4, $3FFB6 - $3FFB4
LoggedData_0x3FFB6:
INCBIN "baserom.gbc", $3FFB6, $3FFB8 - $3FFB6
Unknown_0x3FFB8:
INCBIN "baserom.gbc", $3FFB8, $3FFBA - $3FFB8
LoggedData_0x3FFBA:
INCBIN "baserom.gbc", $3FFBA, $3FFBE - $3FFBA
Unknown_0x3FFBE:
INCBIN "baserom.gbc", $3FFBE, $3FFC2 - $3FFBE
LoggedData_0x3FFC2:
INCBIN "baserom.gbc", $3FFC2, $3FFC6 - $3FFC2
Unknown_0x3FFC6:
INCBIN "baserom.gbc", $3FFC6, $3FFCC - $3FFC6
LoggedData_0x3FFCC:
INCBIN "baserom.gbc", $3FFCC, $3FFD2 - $3FFCC
Unknown_0x3FFD2:
INCBIN "baserom.gbc", $3FFD2, $40000 - $3FFD2
SECTION "Bank10", ROMX, BANK[$10]
LoggedData_0x40000:
INCBIN "baserom.gbc", $40000, $40040 - $40000
ld hl,$D11F
ld a,$40
ld [hld],a
ld a,$4E
ld [hld],a
xor a
ld [$D117],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$40
ld [hld],a
ld a,$69
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[$CA3B]
rra
jp c,Logged_0x40165
jp Logged_0x4021B
ld a,[$D11B]
rst JumpList
dw Logged_0x4021B
dw Logged_0x402D8
dw Logged_0x403C2
dw Logged_0x403D6
dw Logged_0x405FC
dw Logged_0x40606
dw Logged_0x40620
dw Logged_0x40633
dw Logged_0x4056B
dw Logged_0x40575
dw Logged_0x3182
dw Logged_0x405AA
dw Logged_0x405B1
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x404A2
dw Logged_0x404CB
dw Logged_0x4025D
dw Logged_0x406AF
dw Logged_0x404EB
dw Logged_0x4046A
dw Logged_0x40472
dw Logged_0x40404
dw Logged_0x40437
dw Logged_0x4067A
dw Logged_0x40646
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x405F2
dw Logged_0x405E8
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x40182
dw Logged_0x402AA
dw Logged_0x40213
dw Logged_0x3290
dw Logged_0x4030F
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x4021B
dw Logged_0x405C2
dw Logged_0x405D5
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x404B1
dw Logged_0x404D9
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x4050A
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x40429
dw Logged_0x4045C
dw Logged_0x4069E
dw Logged_0x4066A
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x4012D
dw Logged_0x40149
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x4021B
dw Logged_0x33BC
dw Logged_0x33CB
Logged_0x4012D:
ld hl,$D11B
ld a,$5E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40140
ld de,$4292
call Logged_0x30F0
jp Logged_0x33BC
Logged_0x40140:
ld de,$429B
call Logged_0x30F0
jp Logged_0x33BC
Logged_0x40149:
ld hl,$D11B
ld a,$5F
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x4015C
ld de,$4292
call Logged_0x30F0
jp Logged_0x33CB
Unknown_0x4015C:
ld de,$429B
call Logged_0x30F0
jp Logged_0x33CB
Logged_0x40165:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$2D
ld [hld],a
ld de,$4234
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ret
Logged_0x40182:
ld hl,$D11A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x40197
set 7,[hl]
jr Logged_0x40199
Logged_0x40197:
res 7,[hl]
Logged_0x40199:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $20
jr c,Logged_0x401AD
cp $E0
jr c,Logged_0x401BF
Logged_0x401AD:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $E0
jr nc,Logged_0x401F5
cp $20
jr c,Logged_0x401F5
Logged_0x401BF:
ld a,[$CA97]
cp $10
jr c,Logged_0x401D0
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x401D0:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x401EB
ld a,$11
ld [$D11B],a
ret
Logged_0x401EB:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ret
Logged_0x401F5:
ld a,[hli]
rlca
ld a,$2F
ld [hl],a
jr c,Logged_0x40201
ld de,$427C
jr Logged_0x4020C
Logged_0x40201:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$4287
Logged_0x4020C:
call Logged_0x30F0
ld a,$20
ld [hli],a
ret
Logged_0x40213:
ld hl,$D116
dec [hl]
ret nz
jp Logged_0x404EB
Logged_0x4021B:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4024A
res 7,[hl]
dec l
xor a
ld [hld],a
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$41D2
jp Logged_0x30F0
Logged_0x4024A:
set 7,[hl]
dec l
xor a
ld [hld],a
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$41DB
jp Logged_0x30F0
Logged_0x4025D:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40270
xor a
ld [hld],a
ld de,$41D2
call Logged_0x30F0
ret
Logged_0x40270:
xor a
ld [hld],a
ld de,$41DB
call Logged_0x30F0
ret
Logged_0x40279:
ld hl,$D108
ld a,[hl]
and $80
or $02
ld [hld],a
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40298
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$4208
jr Logged_0x402A3
Logged_0x40298:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$4213
Logged_0x402A3:
call Logged_0x30F0
ld a,$20
ld [hli],a
ret
Logged_0x402AA:
ld a,[$CA97]
cp $10
jr c,Logged_0x402BB
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x402BB:
ld hl,$D116
dec [hl]
ret nz
inc l
xor a
ld [hl],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x402D1
ld de,$41D2
jr Logged_0x402D4
Logged_0x402D1:
ld de,$41DB
Logged_0x402D4:
call Logged_0x30F0
ret
Logged_0x402D8:
ld a,[$D117]
inc a
jr z,Logged_0x40279
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x402FD
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$41D2
jr Logged_0x40308
Logged_0x402FD:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$41DB
Logged_0x40308:
call Logged_0x30F0
ld a,$0A
ld [hli],a
ret
Logged_0x4030F:
ld a,[$CA97]
cp $10
jr c,Logged_0x40320
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x40320:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x40332
dec [hl]
ret nz
ld l,$08
ld a,[hl]
and $80
or $02
ld [hld],a
ret
Logged_0x40332:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x4034D
ld a,$11
ld [$D11B],a
ret
Logged_0x4034D:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x4038E
ld a,[hl]
and $0F
sub $0A
jr nc,Logged_0x4036A
call Logged_0x355B
and $0F
jr z,Logged_0x40388
Logged_0x4036A:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $0A
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x40388:
ld a,$13
ld [$D11B],a
ret
Logged_0x4038E:
ld a,[hl]
and $0F
add a,$09
cp $10
jr c,Logged_0x4039E
call Logged_0x3573
and $0F
jr z,Logged_0x403BC
Logged_0x4039E:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$09
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x403BC:
ld a,$13
ld [$D11B],a
ret
Logged_0x403C2:
ld hl,$D11B
ld a,$32
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x403D1
ld de,$426E
jr Logged_0x403E8
Logged_0x403D1:
ld de,$41F6
jr Logged_0x403E8
Logged_0x403D6:
ld hl,$D11B
ld a,$33
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x403E5
ld de,$41FF
jr Logged_0x403E8
Logged_0x403E5:
ld de,$4265
Logged_0x403E8:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x40404:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40413
ld de,$41E4
jr Logged_0x40416
Logged_0x40413:
ld de,$41ED
Logged_0x40416:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x40429:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x40437:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40446
ld de,$41E4
jr Logged_0x40449
Logged_0x40446:
ld de,$41ED
Logged_0x40449:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4045C:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4046A:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x40478
Logged_0x40472:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x40478:
ld a,[hld]
rlca
jr c,Logged_0x40484
ld de,$41E4
call Logged_0x30F0
jr Logged_0x4048A
Logged_0x40484:
ld de,$41ED
call Logged_0x30F0
Logged_0x4048A:
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x404A2:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x404B1:
ld a,[$CA97]
cp $10
jr c,Logged_0x404BE
ld a,$1C
ld [$D11B],a
ret
Logged_0x404BE:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x404CB:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x404D9:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ld a,$FF
ld [$D117],a
ret
Logged_0x404EB:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x404FD
ld de,$424F
call Logged_0x30F0
jr Logged_0x40503
Logged_0x404FD:
ld de,$425A
call Logged_0x30F0
Logged_0x40503:
ld a,$30
ld [hli],a
ld a,$1C
ld [hl],a
ret
Logged_0x4050A:
ld a,[$CA97]
cp $10
jr c,Logged_0x4051B
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4051B:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x4054E
dec [hl]
jp nz,Logged_0x3308
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x40545
ld de,$421E
call Logged_0x30F0
jp Logged_0x3308
Logged_0x40545:
ld de,$4229
call Logged_0x30F0
jp Logged_0x3308
Logged_0x4054E:
inc l
dec [hl]
jp nz,Logged_0x3308
ld a,[$D11A]
rlca
jr c,Logged_0x40562
ld hl,$D11B
ld a,$01
ld [hld],a
set 7,[hl]
ret
Logged_0x40562:
ld hl,$D11B
ld a,$01
ld [hld],a
res 7,[hl]
ret
Logged_0x4056B:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x4057D
Logged_0x40575:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x4057D:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4058A
ld de,$41E4
call Logged_0x30F0
jr Logged_0x40590
Logged_0x4058A:
ld de,$41ED
call Logged_0x30F0
Logged_0x40590:
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x405AA:
ld a,$3B
ld [$D11B],a
jr Logged_0x405B6
Logged_0x405B1:
ld a,$3C
ld [$D11B],a
Logged_0x405B6:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld a,$02
ld [$D118],a
ret
Logged_0x405C2:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$13
ld [$D11B],a
ret
Logged_0x405D5:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$13
ld [$D11B],a
ret
Logged_0x405E8:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x4060E
Logged_0x405F2:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x4060E
Logged_0x405FC:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x4060E
Logged_0x40606:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x4060E:
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ld de,$4277
jp Logged_0x30F0
Logged_0x40620:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x40633:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x40646:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x40658
ld de,$41E4
call Logged_0x30F0
jr Logged_0x4065E
Logged_0x40658:
ld de,$41ED
call Logged_0x30F0
Logged_0x4065E:
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4066A:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x4067A
Logged_0x4067A:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4068C
ld de,$41E4
call Logged_0x30F0
jr Logged_0x40692
Logged_0x4068C:
ld de,$41ED
call Logged_0x30F0
Logged_0x40692:
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4069E:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x40646
Logged_0x406AF:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$47
ld [hld],a
ld a,$43
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$4319
call Logged_0x30F0
inc l
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$EB
ld [hld],a
ld a,$04
ld [hl],a
ret
Logged_0x406F0:
ld a,[$CA97]
cp $10
jp nc,Unknown_0x4076E
ld l,$17
ld c,[hl]
ld a,[$D103]
cp c
jr nz,Logged_0x40709
inc l
ld b,[hl]
ld a,[$D104]
cp b
jr z,Logged_0x40734
Logged_0x40709:
ld l,$00
bit 5,[hl]
jr z,Logged_0x40721
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Logged_0x40721:
ld l,$14
ld a,[hl]
and a
jr z,Logged_0x40728
dec [hl]
Logged_0x40728:
jp Logged_0x30E6
Logged_0x4072B:
ld l,$00
bit 5,[hl]
jr z,Logged_0x40734
res 5,[hl]
ret
Logged_0x40734:
ld de,$4319
call Logged_0x30F0
ld l,$00
res 3,[hl]
xor a
ld [$D11B],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x40767
cp $2F
jr z,Logged_0x406F0
cp $2E
jr z,Logged_0x4072B
cp $34
jr z,Unknown_0x407B8
cp $0A
jr z,Logged_0x407BF
cp $3A
jp z,Logged_0x407D4
and $FE
cp $04
jr z,Unknown_0x407AB
jr Logged_0x40734
Logged_0x40767:
ld a,[$CA97]
cp $10
jr c,Logged_0x4077B
Unknown_0x4076E:
ld a,$34
ld [hl],a
ld de,$4348
call Logged_0x30F0
ld a,$20
ld [hli],a
ret
Logged_0x4077B:
ld l,$17
ld c,[hl]
ld a,[$D103]
cp c
jr nz,Logged_0x4078C
inc l
ld b,[hl]
ld a,[$D104]
cp b
jr z,Logged_0x4079A
Logged_0x4078C:
ld l,$1B
ld a,$2F
ld [hld],a
res 7,[hl]
ld de,$4336
call Logged_0x30F0
ret
Logged_0x4079A:
ld l,$00
bit 5,[hl]
ret z
ld a,$2E
ld [$D11B],a
ld de,$4343
call Logged_0x30F0
ret
Unknown_0x407AB:
ld a,$34
ld [hl],a
ld de,$4351
call Logged_0x30F0
ld a,$10
ld [hli],a
ret
Unknown_0x407B8:
ld l,$16
dec [hl]
ret nz
jp Logged_0x40734
Logged_0x407BF:
dec l
ld a,[hli]
rlca
jr c,Unknown_0x4081A
ld a,$3A
ld [hld],a
dec l
xor a
ld [hl],a
ld de,$4348
call Logged_0x30F0
ld a,$30
ld [hli],a
ret
Logged_0x407D4:
ld l,$16
dec [hl]
jp z,Logged_0x40734
ld l,$1A
ld a,[hl]
rlca
ret c
ld a,[$D14A]
cp $06
jr nc,Logged_0x407EB
ld bc,$43F0
jr Logged_0x407EE
Logged_0x407EB:
ld bc,$4490
Logged_0x407EE:
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld a,[$D14A]
cp $06
jr nc,Unknown_0x4081A
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1A
set 7,[hl]
ret
Unknown_0x4081A:
ld a,$08
ld [$D118],a
call Logged_0x305C
jp Unknown_0x34E5
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$48
ld [hld],a
ld a,$95
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$FE
ld [hld],a
ld a,$F0
ld [hld],a
ld a,$FC
ld [hl],a
ld l,$17
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,$04
ld [hl],a
jp Logged_0x40A41
Logged_0x40851:
ld a,$33
ld c,$26
ld b,$02
ld de,$42C2
jr Logged_0x40865
Unknown_0x4085C:
ld a,$33
ld c,$17
ld b,$02
ld de,$42C5
Logged_0x40865:
ld l,$1F
ld [hld],a
ld [hl],c
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,$81
ld [$D11C],a
ret
Unknown_0x4087C:
xor a
ld [hld],a
ld a,[hl]
rlca
jp c,Unknown_0x34E5
ld a,[hl]
and $F0
or $05
ld [hld],a
xor a
ld [hl],a
ld de,$42A9
call Logged_0x30F0
ld a,$30
ld [hli],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x408BD
cp $04
jr z,Logged_0x40851
cp $05
jr z,Unknown_0x4085C
cp $0A
jr z,Unknown_0x4087C
xor a
ld [hld],a
ld a,[hl]
and $F0
or $06
ld [hld],a
ld de,$42D1
call Logged_0x30F0
ld a,$32
ld [hli],a
ld l,$00
res 3,[hl]
Logged_0x408BD:
ld l,$1A
ld a,[hl]
and $0F
rst JumpList
dw Logged_0x409AC
dw Logged_0x409AC
dw Logged_0x40A54
dw Unknown_0x408E7
dw Unknown_0x4096E
dw Unknown_0x409F1
dw Unknown_0x40A6D
dw Unknown_0x409E6
dw Logged_0x40A88
Logged_0x408D5:
ld hl,$D11A
ld a,[hl]
and $70
or $03
ld [hld],a
ld a,$05
ld [hl],a
ld de,$42B2
jp Logged_0x30F0
Unknown_0x408E7:
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld hl,$D117
ld e,[hl]
inc l
ld d,[hl]
ld l,$04
ld a,[hld]
cp d
jr z,Unknown_0x408FF
jr nc,Unknown_0x40915
jr Unknown_0x40937
Unknown_0x408FF:
ld a,[hl]
cp e
jr z,Logged_0x40907
jr nc,Unknown_0x40915
jr Unknown_0x40937
Logged_0x40907:
ld l,$1A
ld a,[hl]
and $F0
or $01
ld [hld],a
ld de,$42A4
jp Logged_0x30F0
Unknown_0x40915:
ld hl,$D100
bit 5,[hl]
jr z,Unknown_0x4092D
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x129E
call Logged_0x1197
jr Unknown_0x40934
Unknown_0x4092D:
ld l,$14
ld a,[hl]
and a
jr z,Unknown_0x40934
dec [hl]
Unknown_0x40934:
jp Logged_0x30E6
Unknown_0x40937:
ld hl,$D100
bit 5,[hl]
jr z,Unknown_0x4094F
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x1287
call Logged_0x1169
jr Unknown_0x40956
Unknown_0x4094F:
ld l,$14
ld a,[hl]
and a
jr z,Unknown_0x40956
dec [hl]
Unknown_0x40956:
jp Logged_0x30D9
Unknown_0x40959:
ld hl,$D11A
ld a,[hl]
and $F0
or $04
ld [hld],a
xor a
ld [hl],a
ld de,$42A9
call Logged_0x30F0
ld a,$30
ld [hli],a
ret
Unknown_0x4096E:
ld a,[$D119]
cp $0F
jr z,Unknown_0x4099C
ld bc,$44A0
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1A
set 7,[hl]
Unknown_0x4099C:
ld hl,$D116
dec [hl]
jp z,Logged_0x408D5
ld a,[$CA97]
cp $11
jp nc,Unknown_0x40959
ret
Logged_0x409AC:
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld hl,$D100
bit 5,[hl]
jr z,Logged_0x409C9
ld l,$1A
ld a,[hl]
and $F0
or $07
ld [hld],a
ld de,$42D6
jp Logged_0x30F0
Logged_0x409C9:
ld a,[$C08F]
and $7F
ret nz
ld l,$19
dec [hl]
jp nz,Logged_0x40A41
inc l
ld a,[hl]
and $F0
or $08
ld [hld],a
ld de,$42E2
call Logged_0x30F0
ld a,$A2
ld [hli],a
ret
Unknown_0x409E6:
ld hl,$D100
bit 5,[hl]
jp z,Logged_0x408D5
res 5,[hl]
ret
Unknown_0x409F1:
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld hl,$D116
dec [hl]
jp z,Logged_0x408D5
ld l,$1A
ld a,[hl]
rlca
ret c
ld a,[$D14A]
cp $06
jr nc,Unknown_0x40A11
ld bc,$43F0
jr Unknown_0x40A14
Unknown_0x40A11:
ld bc,$4490
Unknown_0x40A14:
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld a,[$D14A]
cp $06
jp nc,Unknown_0x34E5
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1A
set 7,[hl]
ret
Logged_0x40A41:
ld hl,$D11A
ld a,[hl]
and $F0
or $02
ld [hld],a
ld de,$42B7
call Logged_0x30F0
ld a,$40
ld [hli],a
ret
Logged_0x40A54:
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld hl,$D116
dec [hl]
jp z,Logged_0x40907
ld a,[hl]
cp $28
ret nz
ld bc,$47A0
jp Logged_0x3416
Unknown_0x40A6D:
ld a,$81
ld [$D11C],a
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld hl,$D116
dec [hl]
jp z,Logged_0x408D5
ld a,[hl]
cp $14
jp nc,Logged_0x30E6
ret
Logged_0x40A88:
ld hl,$D116
dec [hl]
jr z,Logged_0x40AA9
ld a,[$CA97]
cp $10
jp nc,Unknown_0x40959
ld l,$00
bit 5,[hl]
ret z
ld l,$1A
ld a,[hl]
and $F0
or $07
ld [hld],a
ld de,$42D6
jp Logged_0x30F0
Logged_0x40AA9:
ld a,$05
ld [$D119],a
jp Logged_0x40907
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x40AC4
call Logged_0x30C5
jr Logged_0x40AC7
Logged_0x40AC4:
call Logged_0x30B8
Logged_0x40AC7:
call Logged_0x30D9
ld hl,$D100
set 3,[hl]
ld a,[$D11B]
and a
jr nz,Logged_0x40AF2
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
Logged_0x40AF2:
ld hl,$D11F
ld a,$4B
ld [hld],a
ld a,$05
ld [hld],a
ld de,$42DB
call Logged_0x30F0
ld a,$18
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D11B
ld a,[hl]
and a
ret z
xor a
ld [hld],a
set 4,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
ld l,$1F
ld a,$4B
ld [hld],a
ld a,$52
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $0E
ld [hld],a
ld de,$4360
call Logged_0x30F0
xor a
ld [hli],a
ld a,$02
ld [hl],a
ld hl,$D143
inc [hl]
ld a,[hl]
cp $03
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$FA
ld [$FF00+hSFXIDLow],a
ret
ld a,[$D143]
cp $03
ret z
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x40B6F
xor a
ld [hl],a
ld l,$16
ld [hli],a
ld a,$02
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
Logged_0x40B6F:
ld l,$16
dec [hl]
ret nz
inc l
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld hl,$D143
dec [hl]
ret
ld hl,$D11F
ld a,$4B
ld [hld],a
ld a,$14
ld [hld],a
ld de,$4369
call Logged_0x30F0
jr Logged_0x40BB8
ld hl,$D11F
ld a,$4B
ld [hld],a
ld a,$A8
ld [hld],a
jr Logged_0x40BB2
ret
ld hl,$D11F
ld a,$4B
ld [hld],a
ld a,$D1
ld [hld],a
Logged_0x40BB2:
ld de,$4360
call Logged_0x30F0
Logged_0x40BB8:
xor a
ld [hl],a
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FD
ld [hl],a
ret
ld a,[$D116]
and a
jr z,Logged_0x40BE5
cp $01
jr z,Logged_0x40BF2
cp $02
jr z,Logged_0x40BF9
xor a
ld bc,$4EB9
jr Logged_0x40C04
Logged_0x40BE5:
ld a,[$C08F]
and $7F
ret nz
ld a,$01
ld bc,$4E80
jr Logged_0x40C04
Logged_0x40BF2:
ld a,$02
ld bc,$4E93
jr Logged_0x40C04
Logged_0x40BF9:
ld a,[$C08F]
and $7F
ret nz
ld a,$03
ld bc,$4EA6
Logged_0x40C04:
ld [$D116],a
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x40C16
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
Logged_0x40C16:
jp Logged_0x342D
Unknown_0x40C19:
INCBIN "baserom.gbc", $40C19, $40C3F - $40C19
call Logged_0x30CA
jr Logged_0x40C51
call Logged_0x30BD
jr Logged_0x40C51
call Logged_0x30C5
jr Logged_0x40C51
call Logged_0x30B8
Logged_0x40C51:
ld bc,$4320
call Logged_0x34B7
ld hl,$D100
set 3,[hl]
ld a,[$D11B]
and a
jr nz,Logged_0x40C7F
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
Logged_0x40C7F:
ld hl,$D11F
ld a,$4C
ld [hld],a
ld a,$92
ld [hld],a
ld de,$4359
call Logged_0x30F0
ld a,$18
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
Unknown_0x40CA1:
INCBIN "baserom.gbc", $40CA1, $40E12 - $40CA1
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$31
ld [hld],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$FC
ld [hl],a
jp Logged_0x40F7E
ld a,[$D11B]
rst JumpList
dw Logged_0x40F7E
dw Logged_0x40FA6
dw Logged_0x4102A
dw Logged_0x4102A
dw Unknown_0x41282
dw Unknown_0x412B7
dw Unknown_0x412DB
dw Unknown_0x412EE
dw Logged_0x41243
dw Logged_0x4124D
dw Unknown_0x40EEF
dw Logged_0x40F27
dw Unknown_0x40F2F
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x411EF
dw Logged_0x4120B
dw Unknown_0x40F96
dw Unknown_0x41342
dw Unknown_0x41226
dw Unknown_0x411CB
dw Unknown_0x411D3
dw Logged_0x41187
dw Logged_0x411A9
dw Unknown_0x41321
dw Unknown_0x41301
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x41278
dw Unknown_0x4126E
dw Logged_0x40F37
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x4103E
dw Logged_0x410CD
dw Logged_0x41163
dw Logged_0x3290
dw Logged_0x40FBE
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x40F7E
dw Logged_0x411FE
dw Logged_0x41219
dw Logged_0x329F
dw Logged_0x3371
dw Unknown_0x41236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4119B
dw Logged_0x411BD
dw Unknown_0x41331
dw Unknown_0x41311
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x40F54
dw Logged_0x40F7E
dw Logged_0x40F7E
Unknown_0x40EEF:
ld a,[$D11C]
and a
jp z,Logged_0x3182
ld a,[$CA8E]
and a
jp nz,Logged_0x3182
ld a,[$D14A]
cp $06
jp nc,Logged_0x3182
ld a,[$D108]
and $7F
jp z,Logged_0x3182
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jp nc,Logged_0x41243
jp Logged_0x4124D
Logged_0x40F27:
ld hl,$D11A
set 7,[hl]
jp Logged_0x41044
Unknown_0x40F2F:
ld hl,$D11A
res 7,[hl]
jp Logged_0x41044
Logged_0x40F37:
ld de,$43D4
call Logged_0x30F0
ld a,$14
ld [hli],a
ld l,$1B
ld a,$5A
ld [hld],a
ld l,$03
ld a,[$CA62]
sub $08
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ret
Logged_0x40F54:
ld hl,$D116
ld a,[hl]
cp $14
jr nz,Logged_0x40F72
ld a,[$CA9B]
and a
jp nz,Logged_0x30A4
ld hl,$D103
ld a,[$CA62]
sub $08
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
Logged_0x40F72:
ld l,$16
dec [hl]
ret nz
ld a,$9F
ld [$D11C],a
jp Logged_0x40FE9
Logged_0x40F7E:
ld hl,$D108
ld a,[hl]
and $80
or $0F
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$43E1
call Logged_0x30F0
ret
Unknown_0x40F96:
ld hl,$D11B
ld a,$41
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$43DE
call Logged_0x30F0
ret
Logged_0x40FA6:
ld a,[$D100]
and $03
cp $03
ret nz
ld hl,$D11B
ld a,$31
ld [hld],a
ld de,$43BC
call Logged_0x30F0
ld a,$2C
ld [hli],a
ret
Logged_0x40FBE:
ld hl,$D116
dec [hl]
jr z,Logged_0x40FE9
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x40FDF
ld a,$11
ld [$D11B],a
ret
Logged_0x40FDF:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ret
Logged_0x40FE9:
ld l,$1B
ld a,$2D
ld [hld],a
ld a,[$CA8E]
cp $42
jr nz,Logged_0x40FFA
ld a,[hl]
rlca
ccf
jr Logged_0x41006
Logged_0x40FFA:
ld c,$2A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
Logged_0x41006:
jr c,Logged_0x41012
res 7,[hl]
ld de,$43C1
call Logged_0x30F0
jr Logged_0x4101A
Logged_0x41012:
set 7,[hl]
ld de,$43C4
call Logged_0x30F0
Logged_0x4101A:
ld a,$16
ld [hli],a
ld l,$19
xor a
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$66
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4102A:
ld hl,$D11B
ld a,$2D
ld [hld],a
ld c,$2A
ld a,[$D10E]
add a,c
ld b,a
ld a,[$CA88]
add a,c
sub b
jr Logged_0x41006
Logged_0x4103E:
ld hl,$D116
dec [hl]
jr nz,Logged_0x41053
Logged_0x41044:
ld de,$43C7
call Logged_0x30F0
ld l,$1B
ld a,$2E
ld [hld],a
dec l
xor a
ld [hld],a
ret
Logged_0x41053:
ld l,$03
ld a,[hli]
sub $12
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr z,Logged_0x4107A
ld hl,$D118
ld a,$01
ld [hl],a
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x41044
Logged_0x4107A:
ld bc,$43D0
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
sub $0A
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x410B0
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x30CA
ld de,$43C4
call Logged_0x30F0
ld l,$1A
set 7,[hl]
ret
Logged_0x410B0:
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x30BD
ld de,$43C1
call Logged_0x30F0
ld l,$1A
res 7,[hl]
ret
Logged_0x410CD:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x41109
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
ld a,$2F
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$43D4
call Logged_0x30F0
ld a,$18
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$75
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
Logged_0x41109:
ld a,[$C0DD]
and a
jp nz,Logged_0x3182
ld bc,$43E0
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
sub $0A
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x41146
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x30CA
ld de,$43C4
call Logged_0x30F0
ld l,$1A
set 7,[hl]
ret
Logged_0x41146:
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x30BD
ld de,$43C1
call Logged_0x30F0
ld l,$1A
res 7,[hl]
ret
Logged_0x41163:
ld a,[$D119]
cp $0F
jr z,Logged_0x4117C
cp $0E
jr z,Logged_0x41174
Logged_0x4116E:
ld bc,$44B0
jp Logged_0x34B7
Logged_0x41174:
ld de,$43E1
call Logged_0x30F0
jr Logged_0x4116E
Logged_0x4117C:
ld hl,$D116
dec [hl]
ret nz
ld a,$01
ld [$D11B],a
ret
Logged_0x41187:
ld hl,$D11B
ld a,$46
ld [hld],a
ld de,$43D9
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4119B:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x411A9:
ld hl,$D11B
ld a,$47
ld [hld],a
ld de,$43D9
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x411BD:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Unknown_0x411CB:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Unknown_0x411D9
Unknown_0x411D3:
ld hl,$D11B
ld a,$45
ld [hld],a
Unknown_0x411D9:
ld de,$43D9
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x411EF:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x411FE:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x4120B:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x41219:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Unknown_0x41226:
ld hl,$D11B
ld a,$43
ld [hld],a
ld de,$43E1
call Logged_0x30F0
ld a,$30
ld [hli],a
ret
Unknown_0x41236:
ld hl,$D116
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x41243:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x41255
Logged_0x4124D:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x41255:
ld [hld],a
ld de,$43D9
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Unknown_0x4126E:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Unknown_0x412A4
Unknown_0x41278:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Unknown_0x412A4
Unknown_0x41282:
ld a,[$CA8E]
and a
jr nz,Unknown_0x4129C
ld a,[$D14A]
cp $05
jr nc,Unknown_0x4129C
ld a,[$D108]
and $7F
jr z,Unknown_0x4129C
ld a,$08
ld [$D11B],a
ret
Unknown_0x4129C:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$01
Unknown_0x412A4:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$43CA
jp Logged_0x30F0
Unknown_0x412B7:
ld a,[$CA8E]
and a
jr nz,Unknown_0x412D1
ld a,[$D14A]
cp $05
jr nc,Unknown_0x412D1
ld a,[$D108]
and $7F
jr z,Unknown_0x412D1
ld a,$09
ld [$D11B],a
ret
Unknown_0x412D1:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$01
jr Unknown_0x412A4
Unknown_0x412DB:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$D0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Unknown_0x412EE:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$F0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Unknown_0x41301:
ld hl,$D11B
ld a,$49
ld [hld],a
ld de,$43D9
call Logged_0x30F0
ld l,$00
set 2,[hl]
Unknown_0x41311:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Unknown_0x41321
Unknown_0x41321:
ld hl,$D11B
ld a,$48
ld [hld],a
ld de,$43D9
call Logged_0x30F0
ld l,$00
set 2,[hl]
Unknown_0x41331:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Unknown_0x41301
Unknown_0x41342:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$61
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$53
ld [hld],a
ld a,$75
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x41455
ld a,[$D11B]
rst JumpList
dw Logged_0x41455
dw Logged_0x41567
dw Logged_0x416B0
dw Logged_0x416B8
dw Logged_0x419A6
dw Logged_0x419B0
dw Logged_0x419D5
dw Logged_0x419E8
dw Logged_0x41912
dw Logged_0x4191C
dw Logged_0x3182
dw Logged_0x41954
dw Logged_0x4195B
dw Logged_0x41904
dw Logged_0x41455
dw Logged_0x417A2
dw Logged_0x417CB
dw Logged_0x414C0
dw Logged_0x41A64
dw Logged_0x4188B
dw Logged_0x41767
dw Logged_0x4176F
dw Logged_0x416FB
dw Logged_0x41731
dw Logged_0x41A2F
dw Logged_0x419FB
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x41455
dw Logged_0x41455
dw Logged_0x41455
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x4199C
dw Logged_0x41992
dw Logged_0x41455
dw Logged_0x41455
dw Logged_0x41455
dw Logged_0x4152F
dw Unknown_0x41517
dw Logged_0x41455
dw Logged_0x3290
dw Logged_0x41598
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x41455
dw Logged_0x4196C
dw Logged_0x4197F
dw Logged_0x41455
dw Logged_0x41455
dw Logged_0x417B1
dw Logged_0x417E8
dw Logged_0x414FB
dw Logged_0x3371
dw Logged_0x418C4
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x41723
dw Logged_0x41759
dw Logged_0x41A53
dw Logged_0x41A1F
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x41439
dw Logged_0x41447
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x4181C
dw Logged_0x41830
dw Logged_0x4186F
dw Logged_0x41455
dw Logged_0x33BC
dw Logged_0x33CB
Logged_0x41439:
ld a,$5E
ld [$D11B],a
ld de,$44A1
call Logged_0x30F0
jp Logged_0x33BC
Logged_0x41447:
ld a,$5F
ld [$D11B],a
ld de,$44A1
call Logged_0x30F0
jp Logged_0x33CB
Logged_0x41455:
xor a
ld [$D117],a
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hli],a
ld a,$F4
ld [hl],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4148D
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4439
call Logged_0x30F0
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F6
ld [hld],a
jr Logged_0x414A0
Logged_0x4148D:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4442
call Logged_0x30F0
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
Logged_0x414A0:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret nz
ld hl,$D11B
ld a,$41
ld [hld],a
xor a
ld [$D116],a
jr Logged_0x41505
Logged_0x414C0:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[$D109]
cp $EF
jr z,Unknown_0x414E4
ld a,[hld]
rlca
jr c,Logged_0x414D8
xor a
ld [hld],a
ld de,$44E7
jr Logged_0x414DD
Logged_0x414D8:
xor a
ld [hld],a
ld de,$450A
Logged_0x414DD:
call Logged_0x30F0
ld a,$38
ld [hld],a
ret
Unknown_0x414E4:
ld a,[hld]
rlca
jr c,Unknown_0x414EF
xor a
ld [hld],a
ld de,$452D
jr Unknown_0x414F4
Unknown_0x414EF:
xor a
ld [hld],a
ld de,$4546
Unknown_0x414F4:
call Logged_0x30F0
ld a,$29
ld [hld],a
ret
Logged_0x414FB:
ld hl,$D116
ld a,[hl]
and a
jp z,Logged_0x41830
dec [hl]
ret nz
Logged_0x41505:
ld de,$44BA
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $04
ld [hli],a
ld a,$EF
ld [hl],a
ret
Unknown_0x41517:
ld a,[$CA97]
cp $10
jr c,Unknown_0x41528
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Unknown_0x41528:
ld hl,$D116
dec [hl]
ret nz
jr Logged_0x41570
Logged_0x4152F:
ld a,[$CA97]
cp $10
jr c,Logged_0x41540
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x41540:
ld hl,$D116
dec [hl]
ret nz
Logged_0x41545:
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41553
ld de,$444B
jr Logged_0x41556
Logged_0x41553:
ld de,$4454
Logged_0x41556:
call Logged_0x30F0
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $04
ld [hli],a
ld a,$EF
ld [hl],a
ret
Logged_0x41567:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
Logged_0x41570:
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41586
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$4439
jr Logged_0x41591
Logged_0x41586:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$4442
Logged_0x41591:
call Logged_0x30F0
ld a,$0A
ld [hli],a
ret
Logged_0x41598:
ld a,[$CA97]
cp $10
jr c,Logged_0x415A9
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x415A9:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x415BB
dec [hl]
ret nz
ld l,$08
ld a,[hl]
and $80
or $02
ld [hld],a
ret
Logged_0x415BB:
inc l
inc [hl]
jr nz,Logged_0x41611
ld a,[$D109]
cp $EF
jr nz,Logged_0x415E9
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x415D4
ld de,$446E
jr Unknown_0x415D7
Unknown_0x415D4:
ld de,$4490
Unknown_0x415D7:
call Logged_0x30F0
ld a,$A3
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hli],a
ld a,$F4
ld [hl],a
ret
Logged_0x415E9:
ld l,$1B
ld a,$2D
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x415F7
ld de,$445D
jr Logged_0x415FA
Logged_0x415F7:
ld de,$447F
Logged_0x415FA:
call Logged_0x30F0
ld a,$A3
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ret
Logged_0x41611:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x4162C
ld a,$11
ld [$D11B],a
ret
Logged_0x4162C:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x41677
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hl]
and $0F
sub b
jr nc,Logged_0x4164E
call Logged_0x355B
and $0F
jr z,Logged_0x41671
Logged_0x4164E:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x41671:
ld a,$13
ld [$D11B],a
ret
Logged_0x41677:
ld a,[$D10C]
ld b,a
ld a,[hl]
and $0F
add a,b
cp $10
jr c,Logged_0x4168A
call Logged_0x3573
and $0F
jr z,Logged_0x416AA
Logged_0x4168A:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x416AA:
ld a,$13
ld [$D11B],a
ret
Logged_0x416B0:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x416BE
Logged_0x416B8:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x416BE:
ld a,[$D109]
cp $EF
jr z,Logged_0x416ED
ld a,[hld]
rlca
jr c,Logged_0x416CE
ld de,$4439
jr Logged_0x416D1
Logged_0x416CE:
ld de,$4442
Logged_0x416D1:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x416ED:
ld a,[hld]
rlca
jr c,Logged_0x416F6
ld de,$444B
jr Logged_0x416D1
Logged_0x416F6:
ld de,$4454
jr Logged_0x416D1
Logged_0x416FB:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4170A
ld de,$44AA
jr Logged_0x4170D
Logged_0x4170A:
ld de,$44AF
Logged_0x4170D:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F4
ld [hl],a
Logged_0x41723:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x41731:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41740
ld de,$44AA
jr Logged_0x41743
Logged_0x41740:
ld de,$44AF
Logged_0x41743:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F4
ld [hl],a
Logged_0x41759:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x41767:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x41775
Logged_0x4176F:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x41775:
ld a,[hld]
rlca
jr c,Logged_0x41781
ld de,$44AA
call Logged_0x30F0
jr Logged_0x41787
Logged_0x41781:
ld de,$44AF
call Logged_0x30F0
Logged_0x41787:
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F4
ld [hl],a
ret
Logged_0x417A2:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x417B1:
ld a,[$CA97]
cp $10
jr c,Logged_0x417BE
ld a,$1C
ld [$D11B],a
ret
Logged_0x417BE:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x417CB:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$44B4
call Logged_0x30F0
ld a,$08
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $04
ld [hli],a
ld a,$EF
ld [hl],a
Logged_0x417E8:
ld hl,$D116
dec [hl]
jr z,Logged_0x4180D
ld l,$03
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x4180D
ld bc,$4530
jp Logged_0x34B7
Logged_0x4180D:
ld a,$5A
ld [$D11B],a
ld de,$44B7
call Logged_0x30F0
ld a,$04
ld [hli],a
ret
Logged_0x4181C:
ld hl,$D116
dec [hl]
ret nz
ld l,$1B
ld a,$5B
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$44BA
call Logged_0x30F0
ret
Logged_0x41830:
call Logged_0x30D4
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x352B
and a
jr nz,Logged_0x41857
ld a,[$C0DD]
and a
ret z
ld a,$0A
ld [$D11B],a
ret
Logged_0x41857:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
ld a,$5C
ld [hld],a
ld de,$455F
call Logged_0x30F0
ld a,$0A
ld [hli],a
ret
Logged_0x4186F:
ld a,[$CA97]
cp $10
jr c,Logged_0x41880
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x41880:
ld hl,$D116
dec [hl]
ret nz
ld a,$00
ld [$D11B],a
ret
Logged_0x4188B:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[$D109]
cp $EF
jr z,Logged_0x418AE
ld a,[hld]
rlca
jr c,Logged_0x418A4
ld de,$44CB
call Logged_0x30F0
jr Logged_0x418AA
Logged_0x418A4:
ld de,$44D2
call Logged_0x30F0
Logged_0x418AA:
ld a,$44
ld [hli],a
ret
Logged_0x418AE:
ld a,[hld]
rlca
jr c,Logged_0x418BA
ld de,$44D9
call Logged_0x30F0
jr Logged_0x418C0
Logged_0x418BA:
ld de,$44E0
call Logged_0x30F0
Logged_0x418C0:
ld a,$44
ld [hli],a
ret
Logged_0x418C4:
ld a,[$CA97]
cp $10
jr c,Logged_0x418D5
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x418D5:
ld hl,$D116
ld a,[hl]
cp $27
jr z,Logged_0x418EF
dec [hl]
jp nz,Logged_0x3308
ld a,[$D109]
cp $EF
jp z,Logged_0x41545
ld a,$01
ld [$D11B],a
ret
Logged_0x418EF:
dec [hl]
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x41901
set 7,[hl]
ret
Logged_0x41901:
res 7,[hl]
ret
Logged_0x41904:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4191C
Logged_0x41912:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x41924
Logged_0x4191C:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x41924:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41931
ld de,$44AA
call Logged_0x30F0
jr Logged_0x41937
Logged_0x41931:
ld de,$44AF
call Logged_0x30F0
Logged_0x41937:
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F4
ld [hl],a
ret
Logged_0x41954:
ld a,$3B
ld [$D11B],a
jr Logged_0x41960
Logged_0x4195B:
ld a,$3C
ld [$D11B],a
Logged_0x41960:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld a,$02
ld [$D118],a
ret
Logged_0x4196C:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$13
ld [$D11B],a
ret
Logged_0x4197F:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$13
ld [$D11B],a
ret
Logged_0x41992:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x419B8
Logged_0x4199C:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x419B8
Logged_0x419A6:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x419B8
Logged_0x419B0:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x419B8:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld [hl],b
ld a,c
rlca
jr c,Logged_0x419CF
ld de,$44AA
jp Logged_0x30F0
Logged_0x419CF:
ld de,$44AF
jp Logged_0x30F0
Logged_0x419D5:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x419E8:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x419FB:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41A0D
ld de,$44AA
call Logged_0x30F0
jr Logged_0x41A13
Logged_0x41A0D:
ld de,$44AF
call Logged_0x30F0
Logged_0x41A13:
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x41A1F:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x41A2F
Logged_0x41A2F:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41A41
ld de,$44AA
call Logged_0x30F0
jr Logged_0x41A47
Logged_0x41A41:
ld de,$44AF
call Logged_0x30F0
Logged_0x41A47:
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x41A53:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x419FB
Logged_0x41A64:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F4
ld [hl],a
ret
ld hl,$D11F
ld a,$5A
ld [hld],a
ld a,$86
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5A
ld [hld],a
ld a,$9A
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x41CDB
ld a,[$D11B]
rst JumpList
dw Logged_0x41CDB
dw Logged_0x41D36
dw Logged_0x41E3A
dw Logged_0x41E7C
dw Logged_0x42034
dw Logged_0x4203E
dw Logged_0x42064
dw Logged_0x42077
dw Logged_0x41FE9
dw Logged_0x41FF3
dw Logged_0x3182
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41F5D
dw Logged_0x41F86
dw Logged_0x41D1A
dw Unknown_0x420E3
dw Logged_0x41FA1
dw Logged_0x41F2D
dw Logged_0x41F35
dw Logged_0x41ED7
dw Logged_0x41F02
dw Logged_0x420B6
dw Logged_0x4208A
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x4202A
dw Unknown_0x42020
dw Logged_0x41CDB
dw Logged_0x41BAE
dw Logged_0x41C8B
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x3290
dw Logged_0x41D56
dw Logged_0x41E53
dw Logged_0x41EAE
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41CDB
dw Logged_0x41F6C
dw Logged_0x41F94
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x41FBD
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x41EF4
dw Logged_0x41F1F
dw Logged_0x420D2
dw Logged_0x420A6
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x41B58
dw Logged_0x41BDC
dw Logged_0x41CC1
Logged_0x41B58:
ld a,[$CA97]
cp $10
jr c,Logged_0x41B65
ld a,$1A
ld [$D11B],a
ret
Logged_0x41B65:
ld hl,$D116
ld a,[hl]
cp $1A
jr z,Logged_0x41B8E
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$2B
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41B84
ld de,$45FE
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41B84:
ld de,$4605
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41B8E:
dec [hl]
ld l,$00
bit 1,[hl]
jr z,Logged_0x41B9D
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
Logged_0x41B9D:
ld a,[$D11A]
rlca
jr c,Logged_0x41BA8
ld bc,$481E
jr Logged_0x41BAB
Logged_0x41BA8:
ld bc,$4833
Logged_0x41BAB:
jp Logged_0x3416
Logged_0x41BAE:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x41BCF
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$5B
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41BC9
ld de,$4574
jp Logged_0x30F0
Logged_0x41BC9:
ld de,$457D
jp Logged_0x30F0
Logged_0x41BCF:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x41BD9
set 7,[hl]
ret
Logged_0x41BD9:
res 7,[hl]
ret
Logged_0x41BDC:
ld a,[$CA97]
cp $10
jr c,Logged_0x41BE9
ld a,$1C
ld [$D11B],a
ret
Logged_0x41BE9:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x41C04
ld a,$11
ld [$D11B],a
ret
Logged_0x41C04:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x41C4E
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x41C21
call Logged_0x355B
and $0F
jr z,Logged_0x41C3F
Logged_0x41C21:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
Logged_0x41C3F:
ld a,$2C
ld [$D11B],a
ld de,$45FE
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41C4E:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x41C5E
call Logged_0x3573
and $0F
jr z,Logged_0x41C7C
Logged_0x41C5E:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x41C7C:
ld a,$2C
ld [$D11B],a
ld de,$4605
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41C8B:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x41CB4
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$5C
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41CAA
ld de,$45C4
call Logged_0x30F0
ld a,$37
ld [hli],a
ret
Logged_0x41CAA:
ld de,$45D7
call Logged_0x30F0
ld a,$37
ld [hli],a
ret
Logged_0x41CB4:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x41CBE
set 7,[hl]
ret
Logged_0x41CBE:
res 7,[hl]
ret
Logged_0x41CC1:
ld a,[$CA97]
cp $10
jr c,Logged_0x41CCE
ld a,$1C
ld [$D11B],a
ret
Logged_0x41CCE:
ld hl,$D116
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x41CDB:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld a,$FF
ld [hl],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x41D0E
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4562
call Logged_0x30F0
ret
Logged_0x41D0E:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$456B
call Logged_0x30F0
ret
Logged_0x41D1A:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41D2D
xor a
ld [hld],a
ld de,$4562
call Logged_0x30F0
ret
Logged_0x41D2D:
xor a
ld [hld],a
ld de,$456B
call Logged_0x30F0
ret
Logged_0x41D36:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41D4F
ld de,$4562
call Logged_0x30F0
ret
Logged_0x41D4F:
ld de,$456B
call Logged_0x30F0
ret
Logged_0x41D56:
ld a,[$CA97]
cp $10
jr c,Logged_0x41D63
ld a,$1A
ld [$D11B],a
ret
Logged_0x41D63:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $20
jr c,Logged_0x41D77
cp $E0
jr c,Logged_0x41DAA
Logged_0x41D77:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr nc,Logged_0x41D99
cp $40
jr nc,Logged_0x41DAA
ld a,[hli]
rlca
jr c,Logged_0x41D95
ld de,$4586
jr Logged_0x41DA0
Logged_0x41D95:
ld a,$13
ld [hl],a
ret
Logged_0x41D99:
ld a,[hli]
rlca
jr nc,Logged_0x41D95
ld de,$4597
Logged_0x41DA0:
ld a,$5A
ld [hl],a
call Logged_0x30F0
ld a,$33
ld [hli],a
ret
Logged_0x41DAA:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x41DC5
ld a,$11
ld [$D11B],a
ret
Logged_0x41DC5:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x41E06
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x41DE2
call Logged_0x355B
and $0F
jr z,Logged_0x41E00
Logged_0x41DE2:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x41E00:
ld a,$13
ld [$D11B],a
ret
Logged_0x41E06:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x41E16
call Logged_0x3573
and $0F
jr z,Logged_0x41E34
Logged_0x41E16:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x41E34:
ld a,$13
ld [$D11B],a
ret
Logged_0x41E3A:
ld a,[$D10F]
cp $24
jr nc,Logged_0x41E45
cp $06
jr nc,Logged_0x41E4B
Logged_0x41E45:
ld bc,$4848
call Logged_0x3416
Logged_0x41E4B:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x41E93
Logged_0x41E53:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x33DA
dec l
dec l
dec [hl]
ret nz
ld l,$1A
ld a,[hli]
rlca
jr c,Logged_0x41E72
ld a,$2B
ld [hl],a
ld de,$45FE
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41E72:
ld a,$5B
ld [hl],a
ld de,$457D
call Logged_0x30F0
ret
Logged_0x41E7C:
ld a,[$D10F]
cp $24
jr nc,Logged_0x41E87
cp $06
jr nc,Logged_0x41E8D
Logged_0x41E87:
ld bc,$485D
call Logged_0x3416
Logged_0x41E8D:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x41E93:
ld a,[hld]
rlca
jr c,Logged_0x41E9F
ld de,$45A8
call Logged_0x30F0
jr Logged_0x41EA5
Logged_0x41E9F:
ld de,$45AD
call Logged_0x30F0
Logged_0x41EA5:
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ret
Logged_0x41EAE:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x33E9
dec l
dec l
dec [hl]
ret nz
ld l,$1A
ld a,[hli]
rlca
jr c,Logged_0x41ECA
ld a,$5B
ld [hl],a
ld de,$4574
call Logged_0x30F0
ret
Logged_0x41ECA:
ld a,$2B
ld [hl],a
ld de,$4605
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x41ED7:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41EE6
ld de,$45B2
jr Logged_0x41EE9
Logged_0x41EE6:
ld de,$45BB
Logged_0x41EE9:
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x41EF4:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x41F02:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41F11
ld de,$45B2
jr Logged_0x41F14
Logged_0x41F11:
ld de,$45BB
Logged_0x41F14:
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x41F1F:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x41F2D:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x41F3B
Logged_0x41F35:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x41F3B:
ld a,[hld]
rlca
jr c,Logged_0x41F47
ld de,$45B2
call Logged_0x30F0
jr Logged_0x41F4D
Logged_0x41F47:
ld de,$45BB
call Logged_0x30F0
Logged_0x41F4D:
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x41F5D:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x41F6C:
ld a,[$CA97]
cp $10
jr c,Logged_0x41F79
ld a,$1C
ld [$D11B],a
ret
Logged_0x41F79:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x41F86:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x41F94:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x41FA1:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x41FB3
ld de,$45F0
call Logged_0x30F0
jr Logged_0x41FB9
Logged_0x41FB3:
ld de,$45F7
call Logged_0x30F0
Logged_0x41FB9:
ld a,$1A
ld [hli],a
ret
Logged_0x41FBD:
ld a,[$CA97]
cp $10
jr c,Logged_0x41FCA
ld a,$1A
ld [$D11B],a
ret
Logged_0x41FCA:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x41FDC
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x41FDC:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x41FE6
set 7,[hl]
ret
Logged_0x41FE6:
res 7,[hl]
ret
Logged_0x41FE9:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x41FFB
Logged_0x41FF3:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x41FFB:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x42008
ld de,$45B2
call Logged_0x30F0
jr Logged_0x4200E
Logged_0x42008:
ld de,$45BB
call Logged_0x30F0
Logged_0x4200E:
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Unknown_0x42020:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x42046
Unknown_0x4202A:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x42046
Logged_0x42034:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x42046
Logged_0x4203E:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x42046:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Logged_0x4205E
ld de,$45B2
jp Logged_0x30F0
Logged_0x4205E:
ld de,$45BB
jp Logged_0x30F0
Logged_0x42064:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x42077:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x4208A:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4209C
ld de,$45B2
call Logged_0x30F0
jr Logged_0x420A2
Logged_0x4209C:
ld de,$45BB
call Logged_0x30F0
Logged_0x420A2:
ld l,$00
set 2,[hl]
Logged_0x420A6:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x420B6
Logged_0x420B6:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x420C8
ld de,$45B2
call Logged_0x30F0
jr Logged_0x420CE
Logged_0x420C8:
ld de,$45BB
call Logged_0x30F0
Logged_0x420CE:
ld l,$00
set 2,[hl]
Logged_0x420D2:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4208A
Unknown_0x420E3:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
call Logged_0x3090
jr Logged_0x42100
call Logged_0x309A
Logged_0x42100:
ld l,$00
set 3,[hl]
ld a,[$D11B]
cp $18
jr z,Logged_0x42137
cp $19
jr z,Logged_0x4213C
ld bc,$4510
jp Logged_0x34B7
ld hl,$D11F
ld a,$61
ld [hld],a
ld a,$26
ld [hld],a
dec l
ld a,$8F
ld [hl],a
ld l,$00
set 3,[hl]
ld a,[$D11B]
cp $18
jr z,Logged_0x42137
cp $19
jr z,Logged_0x4213C
ld bc,$4540
jp Logged_0x34B7
Logged_0x42137:
xor a
ld [$D100],a
ret
Logged_0x4213C:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4214F
ld bc,$6162
jr Logged_0x42152
Logged_0x4214F:
ld bc,$615D
Logged_0x42152:
ld hl,$D11F
ld a,b
ld [hld],a
ld [hl],c
xor a
ld [$D119],a
ret
call Logged_0x30CA
jr Logged_0x42165
call Logged_0x30BD
Logged_0x42165:
ld a,$81
ld [$D11C],a
ld bc,$4040
jp Logged_0x34B7
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$62
ld [hld],a
ld a,$18
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$FD
ld [hld],a
ld a,$F3
ld [hld],a
ld a,$F9
ld [hld],a
ld l,$17
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
jp Logged_0x42432
Logged_0x42199:
xor a
ld [hl],a
ld de,$4F14
call Logged_0x30F0
ld a,[$CA8E]
cp $42
jr nz,Logged_0x421B1
ld a,$18
ld [hli],a
ld e,$07
ld d,$07
jr Logged_0x421B5
Logged_0x421B1:
ld e,$05
ld d,$1A
Logged_0x421B5:
ld l,$03
ld a,[$CA62]
sub d
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[hli]
sub $08
ld [$CA64],a
ld a,[hl]
sbc a,$00
ld [$CA63],a
ld l,$1A
ld a,[hl]
and $F0
or e
ld [hl],a
ld a,$F9
ld [$D10A],a
jr Logged_0x42249
Unknown_0x421DC:
ld a,$33
ld c,$F8
ld b,$02
jr Unknown_0x421FA
Unknown_0x421E4:
ld a,$34
ld c,$07
ld b,$02
jr Unknown_0x421FA
Unknown_0x421EC:
ld a,$33
ld c,$26
ld b,$02
jr Unknown_0x421FA
Unknown_0x421F4:
ld a,$33
ld c,$17
ld b,$02
Unknown_0x421FA:
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$4F3D
call Logged_0x30F0
ld a,$81
ld [$D11C],a
ld a,$3A
ld [$D11B],a
ret
Logged_0x42215:
jp Logged_0x3173
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42249
cp $2A
jp z,Logged_0x42199
cp $04
jr z,Unknown_0x421EC
cp $05
jr z,Unknown_0x421F4
cp $28
jr z,Unknown_0x421DC
cp $29
jr z,Unknown_0x421E4
cp $0A
jr z,Logged_0x42215
xor a
ld [hld],a
ld a,[hl]
and $F0
or $04
ld [hld],a
xor a
ld [hld],a
ld [hld],a
ld de,$4F34
call Logged_0x30F0
Logged_0x42249:
ld l,$1A
ld a,[hl]
and $0F
rst JumpList
dw Logged_0x42321
dw Logged_0x42321
dw Logged_0x423E1
dw Logged_0x42420
dw Logged_0x4244C
dw Logged_0x42291
dw Logged_0x422FC
dw Logged_0x42261
dw Logged_0x42369
Logged_0x42261:
ld a,$81
ld [$D11C],a
ld a,[$CA9B]
and a
jr nz,Logged_0x42271
inc a
ld [$D11B],a
ret
Logged_0x42271:
ld hl,$D116
dec [hl]
ld a,[hl]
cp $10
jr nz,Logged_0x4227E
ld e,$0E
jr Logged_0x42283
Logged_0x4227E:
cp $07
ret nz
ld e,$16
Logged_0x42283:
ld l,$03
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ret
Logged_0x42291:
ld a,$81
ld [$D11C],a
ld a,[$CA9B]
and a
jr nz,Logged_0x422A1
inc a
ld [$D11B],a
ret
Logged_0x422A1:
ld hl,$D103
ld a,[hli]
sub $1D
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x422D0
ld hl,$D117
ld a,[hli]
sub $40
ld e,a
ld a,[hl]
sbc a,$00
ld d,a
ld l,$04
ld a,[hld]
cp d
jr nz,Logged_0x422E2
ld a,[hl]
cp e
jr nz,Logged_0x422E2
Logged_0x422D0:
ld hl,$D11A
ld a,[hl]
and $F0
or $06
ld [hld],a
xor a
ld [hl],a
ld de,$4F14
call Logged_0x30F0
ret
Logged_0x422E2:
ld a,[$C08F]
and $07
jr nz,Logged_0x422F1
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$87
ld [$FF00+hSFXIDLow],a
Logged_0x422F1:
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Logged_0x422FC:
ld a,$81
ld [$D11C],a
ld a,[$CA9B]
and a
jr nz,Logged_0x4230C
inc a
ld [$D11B],a
ret
Logged_0x4230C:
ld bc,$44C0
call Logged_0x3489
ld l,$03
ld a,[hli]
add a,$1A
ld [$CA62],a
ld a,[hli]
adc a,$00
ld [$CA61],a
ret
Logged_0x42321:
ld bc,$44C0
call Logged_0x3489
ld hl,$D100
bit 1,[hl]
ret z
ld a,[$CA8E]
cp $07
ret z
ld c,$2A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,$22
sub b
cp $28
jr c,Logged_0x42347
cp $D8
ret c
Logged_0x42347:
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
ret nc
ld de,$4F1D
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
or $08
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
ret
Logged_0x42369:
ld a,[$C08F]
and $1F
jr nz,Logged_0x42378
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
Logged_0x42378:
ld bc,$44C0
call Logged_0x3489
ld c,$2A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,$22
sub b
cp $10
jr c,Logged_0x423B8
cp $F0
jr nc,Logged_0x423B8
cp $28
jr c,Logged_0x423AB
cp $D8
jr nc,Logged_0x423AB
Logged_0x4239B:
ld hl,$D11A
ld a,[hl]
and $F0
or $01
ld [hld],a
ld de,$4F0B
call Logged_0x30F0
ret
Logged_0x423AB:
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
jr nc,Logged_0x4239B
ret
Logged_0x423B8:
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
ret nc
ld de,$4F2B
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
or $02
ld [hld],a
xor a
ld [hl],a
ld a,$00
ld [$D10A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$88
ld [$FF00+hSFXIDLow],a
ret
Logged_0x423E1:
ld bc,$4500
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ld a,$F9
ld [$D10A],a
ld de,$4F14
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
or $03
ld [hld],a
ret
Logged_0x42420:
ld hl,$D117
ld e,[hl]
inc l
ld d,[hl]
ld l,$04
ld a,[hld]
cp d
jp nz,Logged_0x30E6
ld a,[hl]
cp e
jp nz,Logged_0x30E6
Logged_0x42432:
ld hl,$D11A
ld a,[hl]
and $F0
or $01
ld [hld],a
xor a
ld [hl],a
ld de,$4F0B
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $18
ld [hld],a
ret
Logged_0x4244C:
ld a,$81
ld [$D11C],a
ld bc,$44E0
call Logged_0x34B7
ld bc,$4650
call Logged_0x34A0
ld a,[$CA8E]
cp $42
ret nz
ld hl,$D117
ld e,[hl]
inc l
ld d,[hl]
ld l,$04
ld a,[hld]
cp d
ret nz
ld a,[hl]
cp e
ret nz
ld a,$F9
ld [$D10A],a
jr Logged_0x42432
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$64
ld [hld],a
ld a,$EA
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$FD
ld [hld],a
ld a,$F3
ld [hld],a
ld a,$F9
ld [hld],a
call Logged_0x3444
ld a,e
and a
jp nz,Logged_0x42559
ld bc,$4E1B
call Logged_0x3416
ld de,$4F14
call Logged_0x30F0
ld a,$00
ld [hli],a
ld [$D119],a
jp Logged_0x42535
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$64
ld [hld],a
ld a,$EA
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$FD
ld [hld],a
ld a,$F3
ld [hld],a
ld a,$F9
ld [hld],a
call Logged_0x3444
ld a,e
and a
jp nz,Logged_0x42559
ld bc,$4E06
call Logged_0x3416
ld de,$4F14
call Logged_0x30F0
ld a,$00
ld [hli],a
ld [$D119],a
jp Logged_0x42535
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42525
cp $04
jp z,Unknown_0x421EC
cp $05
jp z,Unknown_0x421F4
cp $28
jp z,Unknown_0x421DC
cp $29
jp z,Unknown_0x421E4
cp $0A
jp z,Logged_0x42215
ld a,$3A
ld [hld],a
dec l
xor a
ld [hld],a
ld [hld],a
ld de,$4F34
call Logged_0x30F0
ld a,$02
ld [hli],a
ld l,$1F
ld a,$67
ld [hld],a
ld a,$14
ld [hld],a
jp Logged_0x42714
Logged_0x42525:
ld l,$1A
ld a,[hl]
and $0F
rst JumpList
dw Logged_0x42535
dw Logged_0x42535
dw Logged_0x42554
dw Logged_0x4256C
dw Logged_0x426EE
Logged_0x42535:
ld a,[$CA8E]
cp $42
jp z,Logged_0x42725
ld hl,$D11A
ld a,[hl]
and $F0
or $02
ld [hld],a
ld de,$4F26
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld l,$00
res 5,[hl]
ret
Logged_0x42554:
ld hl,$D116
dec [hl]
ret nz
Logged_0x42559:
ld hl,$D11A
ld a,[hl]
and $F0
or $03
ld [hld],a
ld de,$4F2B
call Logged_0x30F0
ld a,$28
ld [hli],a
ret
Logged_0x4256C:
ld hl,$D116
ld a,[hl]
cp $28
jp nz,Logged_0x42635
ld l,$01
ld a,[hli]
ld c,a
ld b,[hl]
ld d,$41
ld h,$D0
ld l,$00
ld a,[hli]
and d
cp d
jr nz,Logged_0x42592
ld a,[hli]
cp c
jr nz,Logged_0x42592
ld a,[hl]
cp b
jr nz,Logged_0x42592
ld l,$0D
jp Logged_0x4261F
Logged_0x42592:
ld l,$20
ld a,[hli]
and d
cp d
jr nz,Logged_0x425A6
ld a,[hli]
cp c
jr nz,Logged_0x425A6
ld a,[hl]
cp b
jr nz,Logged_0x425A6
ld l,$2D
jp Logged_0x4261F
Logged_0x425A6:
ld l,$40
ld a,[hli]
and d
cp d
jr nz,Logged_0x425BA
ld a,[hli]
cp c
jr nz,Logged_0x425BA
ld a,[hl]
cp b
jr nz,Logged_0x425BA
ld l,$4D
jp Logged_0x4261F
Logged_0x425BA:
ld l,$60
ld a,[hli]
and d
cp d
jr nz,Logged_0x425CE
ld a,[hli]
cp c
jr nz,Logged_0x425CE
ld a,[hl]
cp b
jr nz,Logged_0x425CE
ld l,$6D
jp Logged_0x4261F
Logged_0x425CE:
ld l,$80
ld a,[hli]
and d
cp d
jr nz,Logged_0x425E2
ld a,[hli]
cp c
jr nz,Logged_0x425E2
ld a,[hl]
cp b
jr nz,Logged_0x425E2
ld l,$8D
jp Logged_0x4261F
Logged_0x425E2:
ld l,$A0
ld a,[hli]
and d
cp d
jr nz,Unknown_0x425F6
ld a,[hli]
cp c
jr nz,Unknown_0x425F6
ld a,[hl]
cp b
jr nz,Unknown_0x425F6
ld l,$AD
jp Logged_0x4261F
Unknown_0x425F6:
ld l,$C0
ld a,[hli]
and d
cp d
jr nz,Unknown_0x4260A
ld a,[hli]
cp c
jr nz,Unknown_0x4260A
ld a,[hl]
cp b
jr nz,Unknown_0x4260A
ld l,$CD
jp Logged_0x4261F
Unknown_0x4260A:
ld l,$E0
ld a,[hli]
and d
cp d
jr nz,Unknown_0x4261E
ld a,[hli]
cp c
jr nz,Unknown_0x4261E
ld a,[hl]
cp b
jr nz,Unknown_0x4261E
ld l,$ED
jp Logged_0x4261F
Unknown_0x4261E:
ret
Logged_0x4261F:
ld a,[$D10D]
ld c,a
ld a,[hl]
sub $10
cp c
jr z,Logged_0x42632
ld a,[hl]
sub $0F
cp c
jr z,Logged_0x42632
jp Logged_0x30D9
Logged_0x42632:
ld hl,$D116
Logged_0x42635:
dec [hl]
ret nz
ld hl,$D11A
ld a,[hl]
and $F0
or $04
ld [hld],a
ld de,$4F14
call Logged_0x30F0
ld a,$32
ld [hli],a
ld hl,$D101
ld a,[hli]
ld e,a
ld d,[hl]
ld b,$41
ld h,$D0
ld l,$00
ld a,[hli]
and b
cp b
jr nz,Logged_0x42662
ld a,[hli]
cp e
jr nz,Logged_0x42662
ld a,[hli]
cp d
jr z,Logged_0x426CC
Logged_0x42662:
ld l,$20
ld a,[hli]
and b
cp b
jr nz,Logged_0x42671
ld a,[hli]
cp e
jr nz,Logged_0x42671
ld a,[hli]
cp d
jr z,Logged_0x426CC
Logged_0x42671:
ld l,$40
ld a,[hli]
and b
cp b
jr nz,Logged_0x42680
ld a,[hli]
cp e
jr nz,Logged_0x42680
ld a,[hli]
cp d
jr z,Logged_0x426CC
Logged_0x42680:
ld l,$60
ld a,[hli]
and b
cp b
jr nz,Logged_0x4268F
ld a,[hli]
cp e
jr nz,Logged_0x4268F
ld a,[hli]
cp d
jr z,Logged_0x426CC
Logged_0x4268F:
ld l,$80
ld a,[hli]
and b
cp b
jr nz,Logged_0x4269E
ld a,[hli]
cp e
jr nz,Logged_0x4269E
ld a,[hli]
cp d
jr z,Logged_0x426CC
Logged_0x4269E:
ld l,$A0
ld a,[hli]
and b
cp b
jr nz,Unknown_0x426AD
ld a,[hli]
cp e
jr nz,Unknown_0x426AD
ld a,[hli]
cp d
jr z,Logged_0x426CC
Unknown_0x426AD:
ld l,$C0
ld a,[hli]
and b
cp b
jr nz,Unknown_0x426BC
ld a,[hli]
cp e
jr nz,Unknown_0x426BC
ld a,[hli]
cp d
jr z,Logged_0x426CC
Unknown_0x426BC:
ld l,$E0
ld a,[hli]
and b
cp b
jr nz,Unknown_0x426CB
ld a,[hli]
cp e
jr nz,Unknown_0x426CB
ld a,[hli]
cp d
jr z,Logged_0x426CC
Unknown_0x426CB:
ret
Logged_0x426CC:
ld a,l
add a,$18
ld l,a
ld a,$2D
ld [hld],a
ld a,l
sub $04
ld l,a
ld a,$33
ld [hld],a
xor a
ld [hld],a
ld [hld],a
ld a,$4F
ld [hld],a
ld a,$42
ld [hld],a
ld a,l
sub $07
ld l,a
ld a,$10
ld [hli],a
dec [hl]
inc l
inc [hl]
ret
Logged_0x426EE:
ld hl,$D100
bit 5,[hl]
jr z,Logged_0x42702
ld a,[$C08F]
rra
ret c
ld b,$01
call Logged_0x129E
call Logged_0x1197
Logged_0x42702:
ld l,$16
dec [hl]
jp nz,Logged_0x30E6
ld hl,$D11A
ld a,[hl]
and $F0
or $01
ld [hld],a
xor a
ld [hld],a
ret
Logged_0x42714:
ld a,$81
ld [$D11C],a
ld bc,$44E0
call Logged_0x34B7
ld bc,$4650
jp Logged_0x34A0
Logged_0x42725:
ld hl,$D119
ld a,[hl]
ld b,$40
add a,$00
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x42740
ld a,c
sub $3F
ld c,a
ld a,[bc]
ld c,$01
ld [hl],c
ld l,$16
dec [hl]
jr Logged_0x42741
Logged_0x42740:
inc [hl]
Logged_0x42741:
and a
ret z
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x4274F
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x4274F:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x42754:
ld hl,$D100
res 5,[hl]
ld l,$16
ld a,[hl]
and a
ret z
dec [hl]
ret nz
ld de,$4F50
call Logged_0x30F0
ret
Logged_0x42767:
ld hl,$D100
set 3,[hl]
ld a,[$CA8E]
cp $42
jr nz,Logged_0x4277F
call Logged_0x42725
call Logged_0x42894
ld hl,$D100
res 5,[hl]
ret
Logged_0x4277F:
ld hl,$D11B
ld a,$2E
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$4F42
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $23
ld [hld],a
ld l,$0B
inc [hl]
inc l
dec [hl]
ret
ld hl,$D100
set 3,[hl]
ld l,$1F
ld a,$67
ld [hld],a
ld a,$A9
ld [hld],a
call Logged_0x42935
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42767
cp $2D
jr z,Logged_0x427CD
cp $2E
jr z,Logged_0x427FE
cp $2F
jr z,Logged_0x42754
cp $2A
jp z,Logged_0x4284D
cp $5A
jp z,Logged_0x4286B
xor a
ld [hl],a
jr Logged_0x42767
Logged_0x427CD:
call Logged_0x42894
ld hl,$D116
ld a,[hl]
cp $33
jr nz,Logged_0x427DA
dec [hl]
ret
Logged_0x427DA:
ld l,$00
bit 5,[hl]
jr z,Logged_0x427E5
ld a,[$C08F]
rra
ret c
Logged_0x427E5:
ld l,$16
dec [hl]
jp nz,Logged_0x30E6
ld de,$4F50
call Logged_0x30F0
ld l,$1B
xor a
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$0B
ld [$D10A],a
ret
Logged_0x427FE:
ld bc,$45E0
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
add a,$0F
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
sub $0F
ld [hli],a
ld a,[$FF00+$A8]
sbc a,$00
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
ld b,$18
call Logged_0x12B5
ld de,$4F45
call Logged_0x30F0
Logged_0x4283C:
ld a,$1C
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $22
ld [hld],a
ld a,$2F
ld [$D11B],a
ret
Logged_0x4284D:
ld de,$4F45
call Logged_0x30F0
ld a,$14
ld [hli],a
ld a,$5A
ld [$D11B],a
ld hl,$D103
ld a,[$CA62]
sub $18
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ret
Logged_0x4286B:
ld hl,$D116
ld a,[hl]
cp $14
jr nz,Logged_0x42889
ld a,[$CA9B]
and a
jp nz,Logged_0x30A4
ld hl,$D103
ld a,[$CA62]
sub $18
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
Logged_0x42889:
ld l,$16
dec [hl]
ret nz
ld a,$9F
ld [$D11C],a
jr Logged_0x4283C
Logged_0x42894:
ld hl,$D101
ld a,[hli]
ld c,a
ld b,[hl]
ld d,$43
ld e,$03
ld h,$D0
ld l,$00
ld a,[hli]
and d
cp e
jr nz,Logged_0x428AF
ld a,[hli]
cp c
jr nz,Logged_0x428AF
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428AF:
ld l,$20
ld a,[hli]
and d
cp e
jr nz,Logged_0x428BE
ld a,[hli]
cp c
jr nz,Logged_0x428BE
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428BE:
ld l,$40
ld a,[hli]
and d
cp e
jr nz,Logged_0x428CD
ld a,[hli]
cp c
jr nz,Logged_0x428CD
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428CD:
ld l,$60
ld a,[hli]
and d
cp e
jr nz,Logged_0x428DC
ld a,[hli]
cp c
jr nz,Logged_0x428DC
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428DC:
ld l,$80
ld a,[hli]
and d
cp e
jr nz,Logged_0x428EB
ld a,[hli]
cp c
jr nz,Logged_0x428EB
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428EB:
ld l,$A0
ld a,[hli]
and d
cp e
jr nz,Logged_0x428FA
ld a,[hli]
cp c
jr nz,Logged_0x428FA
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x428FA:
ld l,$C0
ld a,[hli]
and d
cp e
jr nz,Logged_0x42909
ld a,[hli]
cp c
jr nz,Logged_0x42909
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x42909:
ld l,$E0
ld a,[hli]
and d
cp e
jr nz,Logged_0x42918
ld a,[hli]
cp c
jr nz,Logged_0x42918
ld a,[hld]
cp b
jr z,Logged_0x42919
Logged_0x42918:
ret
Logged_0x42919:
ld a,[$D100]
rlca
rlca
ld e,a
dec l
ld a,[hl]
rla
rla
rla
sla e
rra
rra
rra
ld [hl],a
ld a,l
add a,$1B
ld l,a
ld a,[hl]
cp $3A
ret nz
jp Logged_0x4277F
Logged_0x42935:
ld hl,$D101
ld a,[hli]
ld c,a
ld b,[hl]
ld d,$41
ld e,$01
ld h,$D0
ld l,$00
ld a,[hli]
and d
cp e
jr nz,Logged_0x42950
ld a,[hli]
cp c
jr nz,Logged_0x42950
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x42950:
ld l,$20
ld a,[hli]
and d
cp e
jr nz,Logged_0x4295F
ld a,[hli]
cp c
jr nz,Logged_0x4295F
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x4295F:
ld l,$40
ld a,[hli]
and d
cp e
jr nz,Logged_0x4296E
ld a,[hli]
cp c
jr nz,Logged_0x4296E
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x4296E:
ld l,$60
ld a,[hli]
and d
cp e
jr nz,Logged_0x4297D
ld a,[hli]
cp c
jr nz,Logged_0x4297D
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x4297D:
ld l,$80
ld a,[hli]
and d
cp e
jr nz,Logged_0x4298C
ld a,[hli]
cp c
jr nz,Logged_0x4298C
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x4298C:
ld l,$A0
ld a,[hli]
and d
cp e
jr nz,Logged_0x4299B
ld a,[hli]
cp c
jr nz,Logged_0x4299B
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x4299B:
ld l,$C0
ld a,[hli]
and d
cp e
jr nz,Logged_0x429AA
ld a,[hli]
cp c
jr nz,Logged_0x429AA
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x429AA:
ld l,$E0
ld a,[hli]
and d
cp e
jr nz,Logged_0x429B9
ld a,[hli]
cp c
jr nz,Logged_0x429B9
ld a,[hld]
cp b
jr z,Logged_0x429BE
Logged_0x429B9:
xor a
ld [$D11A],a
ret
Logged_0x429BE:
ld a,$10
ld [$D11A],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$69
ld [hld],a
ld a,$ED
ld [hld],a
ld de,$461B
call Logged_0x30F0
ld a,$60
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$03
ld [hld],a
ld a,$FC
ld [hld],a
ld a,$FD
ld [hl],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42A68
cp $0E
jr z,Unknown_0x42A16
cp $0D
jr z,Unknown_0x42A16
cp $0A
jp z,Logged_0x3182
cp $28
jr z,Logged_0x42A2D
cp $29
jr z,Logged_0x42A35
cp $04
jr z,Logged_0x42A45
cp $05
jr z,Unknown_0x42A3D
rra
jr nc,Logged_0x42A35
jr Logged_0x42A2D
Unknown_0x42A16:
xor a
ld [hl],a
ld l,$18
ld a,$3C
ld [hld],a
ld a,[hl]
and a
jr z,Unknown_0x42A27
ld de,$462A
jp Logged_0x30F0
Unknown_0x42A27:
ld de,$462F
jp Logged_0x30F0
Logged_0x42A2D:
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x42A4B
Logged_0x42A35:
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x42A4B
Unknown_0x42A3D:
ld a,$33
ld c,$17
ld b,$02
jr Logged_0x42A4B
Logged_0x42A45:
ld a,$33
ld c,$26
ld b,$02
Logged_0x42A4B:
ld l,$00
set 3,[hl]
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,$81
ld [$D11C],a
ld de,$4698
jp Logged_0x30F0
Logged_0x42A68:
ld l,$18
ld a,[hl]
and a
jr z,Logged_0x42A75
dec [hl]
ld a,$02
ld [$D114],a
ret
Logged_0x42A75:
ld a,[$C08F]
rra
ret c
ld l,$17
ld a,[hld]
and a
jr z,Logged_0x42A8D
cp $01
jr z,Logged_0x42A9C
cp $02
jr z,Logged_0x42AA9
cp $03
jr z,Logged_0x42AB8
ret
Logged_0x42A8D:
dec [hl]
jp nz,Logged_0x30D9
ld de,$463F
ld b,$01
ld c,$01
ld a,$16
jr Logged_0x42AC3
Logged_0x42A9C:
dec [hl]
ret nz
ld de,$4616
ld b,$02
ld c,$04
ld a,$60
jr Logged_0x42AC3
Logged_0x42AA9:
dec [hl]
jp nz,Logged_0x30E6
ld de,$4634
ld b,$03
ld c,$01
ld a,$16
jr Logged_0x42AC3
Logged_0x42AB8:
dec [hl]
ret nz
ld de,$461B
ld b,$00
ld c,$4C
ld a,$60
Logged_0x42AC3:
ld [hli],a
ld [hl],b
ld l,$08
ld a,[hl]
and $80
or c
ld [hl],a
jp Logged_0x30F0
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42B15
cp $0B
jr z,Logged_0x42AFE
cp $0C
jr z,Logged_0x42AFE
cp $0A
jp z,Logged_0x3182
cp $28
jp z,Logged_0x42A2D
cp $29
jp z,Logged_0x42A35
cp $04
jp z,Logged_0x42A45
cp $05
jp z,Unknown_0x42A3D
rra
jp nc,Logged_0x42A35
jp Logged_0x42A2D
Logged_0x42AFE:
xor a
ld [hl],a
ld l,$18
ld a,$3C
ld [hld],a
ld a,[hl]
and a
jr z,Unknown_0x42B0F
ld de,$4620
jp Logged_0x30F0
Unknown_0x42B0F:
ld de,$4625
jp Logged_0x30F0
Logged_0x42B15:
ld l,$18
ld a,[hl]
and a
jr z,Logged_0x42B1D
dec [hl]
ret
Logged_0x42B1D:
ld a,[$C08F]
rra
ret c
ld l,$17
ld a,[hld]
and a
jr z,Logged_0x42B35
cp $01
jr z,Logged_0x42B44
cp $02
jr z,Logged_0x42B4F
cp $03
jr z,Logged_0x42B5E
ret
Logged_0x42B35:
dec [hl]
jp nz,Logged_0x30BD
ld de,$4655
ld b,$01
ld c,$01
ld a,$16
jr Logged_0x42B71
Logged_0x42B44:
dec [hl]
ret nz
ld de,$460C
ld b,$02
ld c,$02
jr Logged_0x42B67
Logged_0x42B4F:
dec [hl]
jp nz,Logged_0x30CA
ld de,$464A
ld b,$03
ld c,$01
ld a,$16
jr Logged_0x42B71
Logged_0x42B5E:
dec [hl]
ret nz
ld de,$4611
ld b,$00
ld c,$02
Logged_0x42B67:
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ld l,$16
ld a,$60
Logged_0x42B71:
ld [hli],a
ld [hl],b
ld l,$08
ld a,[hl]
and $80
or c
ld [hl],a
jp Logged_0x30F0
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$6A
ld [hld],a
ld a,$CF
ld [hld],a
ld de,$4611
call Logged_0x30F0
ld a,$60
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld l,$1A
res 5,[hl]
set 7,[hl]
ld l,$0C
ld a,$04
ld [hld],a
ld a,$FB
ld [hld],a
ld a,$FC
ld [hl],a
ret
ld hl,$D11F
ld a,$6B
ld [hld],a
ld a,$BF
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,$14
ld [$D116],a
ld l,$00
set 3,[hl]
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D105
ld a,[hli]
add a,$16
ld e,a
ld a,[hl]
jr nc,Logged_0x42BD4
inc a
Logged_0x42BD4:
ld d,a
ld a,[$CA63]
cp d
jr c,Logged_0x42BE1
ret nz
ld a,[$CA64]
cp e
ret nc
Logged_0x42BE1:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x42BE9
dec [hl]
ret
Logged_0x42BE9:
ld hl,$D11F
ld a,$6C
ld [hld],a
ld a,$03
ld [hld],a
ld a,$A0
ld [$D116],a
ld bc,$47DF
call Logged_0x3416
ld bc,$4809
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$6B
ld [hld],a
ld a,$BF
ld [hld],a
ld a,$50
ld [$D116],a
ld bc,$47F4
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld hl,$D100
set 4,[hl]
set 3,[hl]
ld l,$16
dec [hl]
ret nz
ld a,$12
ld [hl],a
ld l,$1F
ld a,$6C
ld [hld],a
ld a,$4C
ld [hld],a
ld hl,$D100
res 4,[hl]
ld de,$4732
call Logged_0x30F0
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
set 3,[hl]
ld l,$16
dec [hl]
ret nz
ld l,$1F
ld a,$6C
ld [hld],a
ld a,$6E
ld [hld],a
ld de,$4729
call Logged_0x30F0
ret
Unknown_0x42C69:
xor a
ld [$D100],a
ret
call Logged_0x3655
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x42C9A
cp $0A
jp z,Logged_0x3182
cp $0B
jr c,Unknown_0x42C69
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x42C93
ld a,$01
jr Unknown_0x42C95
Unknown_0x42C93:
ld a,$02
Unknown_0x42C95:
ld [$D116],a
xor a
ld [hl],a
Logged_0x42C9A:
ld a,[$D116]
and a
jr z,Logged_0x42CAB
dec a
jr nz,Unknown_0x42CA8
call Logged_0x30BD
jr Logged_0x42CAB
Unknown_0x42CA8:
call Logged_0x30CA
Logged_0x42CAB:
ld l,$00
bit 5,[hl]
jr z,Logged_0x42CC5
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x1287
call Logged_0x1169
call Logged_0x30D9
jr Logged_0x42CCD
Logged_0x42CC5:
ld a,[$C08F]
rra
ret nc
call Logged_0x30D9
Logged_0x42CCD:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
ret z
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$6D
ld [hld],a
ld a,$0E
ld [hld],a
ld de,$473B
call Logged_0x30F0
ld a,$14
ld [hli],a
ld l,$0D
ld a,[hli]
cp $B8
ret nc
ld a,[hl]
cp $B8
ret nc
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8F
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D11F
ld a,$6D
ld [hld],a
ld a,$27
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$6D
ld [hld],a
ld a,$3B
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x42E37
ld a,[$D11B]
rst JumpList
dw Logged_0x42E37
dw Logged_0x42ECA
dw Logged_0x43126
dw Logged_0x43130
dw Logged_0x431B4
dw Logged_0x431BE
dw Logged_0x431DA
dw Logged_0x431ED
dw Logged_0x43126
dw Logged_0x43130
dw Logged_0x3182
dw Logged_0x43162
dw Logged_0x43169
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x43083
dw Logged_0x430BA
dw Unknown_0x42E7B
dw Logged_0x43263
dw Logged_0x430D5
dw Logged_0x4304B
dw Logged_0x43053
dw Logged_0x42FE5
dw Logged_0x43018
dw Logged_0x43231
dw Logged_0x43200
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x431AA
dw Unknown_0x431A0
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x42E95
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x3290
dw Logged_0x42EF8
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x42E37
dw Logged_0x4317A
dw Logged_0x4318D
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x430A0
dw Logged_0x430C8
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x430F6
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4300A
dw Logged_0x4303D
dw Logged_0x43252
dw Logged_0x43221
dw Logged_0x3380
dw Logged_0x338F
dw Unknown_0x42DFF
dw Unknown_0x42E1B
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x42E37
dw Logged_0x33BC
dw Logged_0x33CB
Unknown_0x42DFF:
ld hl,$D11B
ld a,$5E
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x42E12
ld de,$479E
call Logged_0x30F0
jp Logged_0x33BC
Unknown_0x42E12:
ld de,$47A7
call Logged_0x30F0
jp Logged_0x33BC
Unknown_0x42E1B:
ld hl,$D11B
ld a,$5F
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x42E2E
ld de,$479E
call Logged_0x30F0
jp Logged_0x33CB
Unknown_0x42E2E:
ld de,$47A7
call Logged_0x30F0
jp Logged_0x33CB
Logged_0x42E37:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x42E67
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4744
call Logged_0x30F0
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F8
ld [hld],a
ret
Logged_0x42E67:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$474D
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F9
ld [hld],a
ret
Unknown_0x42E7B:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x42E8D
xor a
ld [hld],a
ld de,$4744
jp Logged_0x30F0
Unknown_0x42E8D:
xor a
ld [hld],a
ld de,$474D
jp Logged_0x30F0
Logged_0x42E95:
ld hl,$D116
ld a,[hl]
and a
jp z,Logged_0x42F44
ld a,[$CA97]
cp $10
jr c,Logged_0x42EAE
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x42EAE:
dec [hl]
ret nz
ld l,$08
ld a,[hl]
and $80
or $19
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x42EC4
ld de,$4756
jp Logged_0x30F0
Logged_0x42EC4:
ld de,$475F
jp Logged_0x30F0
Logged_0x42ECA:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x42EEA
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F8
ld [hld],a
ld de,$4744
jp Logged_0x30F0
Logged_0x42EEA:
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F9
ld [hld],a
ld de,$474D
jp Logged_0x30F0
Logged_0x42EF8:
ld a,[$CA8E]
cp $C3
jr z,Logged_0x42F44
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $0F
jr c,Logged_0x42F13
cp $F1
jr c,Logged_0x42F44
Logged_0x42F13:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
cp b
ld hl,$D11A
bit 7,[hl]
jr c,Logged_0x42F2B
jr nz,Logged_0x42F32
ld de,$47B0
jr Logged_0x42F38
Logged_0x42F2B:
jr z,Logged_0x42F32
ld de,$47BB
jr Logged_0x42F38
Logged_0x42F32:
ld a,$13
ld [$D11B],a
ret
Logged_0x42F38:
call Logged_0x30F0
ld a,$23
ld [hli],a
ld a,$2D
ld [$D11B],a
ret
Logged_0x42F44:
ld a,[$CA97]
cp $10
jr c,Logged_0x42F55
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x42F55:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x42F70
ld a,$11
ld [$D11B],a
ret
Logged_0x42F70:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x42FB1
ld a,[hl]
and $0F
sub $08
jr nc,Logged_0x42F8D
call Logged_0x355B
and $0F
jr z,Logged_0x42FAB
Logged_0x42F8D:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x42FAB:
ld a,$13
ld [$D11B],a
ret
Logged_0x42FB1:
ld a,[hl]
and $0F
add a,$07
cp $10
jr c,Logged_0x42FC1
call Logged_0x3573
and $0F
jr z,Logged_0x42FDF
Logged_0x42FC1:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x42FDF:
ld a,$13
ld [$D11B],a
ret
Logged_0x42FE5:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x42FF4
ld de,$477A
jr Logged_0x42FF7
Logged_0x42FF4:
ld de,$4783
Logged_0x42FF7:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4300A:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x43018:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x43027
ld de,$477A
jr Logged_0x4302A
Logged_0x43027:
ld de,$4783
Logged_0x4302A:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4303D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4304B:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x43059
Logged_0x43053:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x43059:
ld a,[hld]
rlca
jr c,Logged_0x43065
ld de,$477A
call Logged_0x30F0
jr Logged_0x4306B
Logged_0x43065:
ld de,$4783
call Logged_0x30F0
Logged_0x4306B:
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x43083:
ld hl,$D11B
ld a,$3F
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x43092
ld de,$477A
jr Logged_0x43095
Logged_0x43092:
ld de,$4783
Logged_0x43095:
call Logged_0x30F0
ld a,$64
ld [hli],a
ld hl,$D100
res 2,[hl]
Logged_0x430A0:
ld a,[$CA97]
cp $10
jr c,Logged_0x430AD
ld a,$1C
ld [$D11B],a
ret
Logged_0x430AD:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x430BA:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x430C8:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x430D5:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x430E4
ld de,$4768
jr Logged_0x430E7
Logged_0x430E4:
ld de,$4771
Logged_0x430E7:
call Logged_0x30F0
ld a,$23
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x430F6:
ld a,[$CA97]
cp $10
jr c,Logged_0x43107
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x43107:
ld hl,$D116
dec [hl]
jp nz,Logged_0x3308
ld a,[$D11A]
rlca
jr c,Logged_0x4311D
ld hl,$D11B
ld a,$01
ld [hld],a
set 7,[hl]
ret
Logged_0x4311D:
ld hl,$D11B
ld a,$01
ld [hld],a
res 7,[hl]
ret
Logged_0x43126:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x43138
Logged_0x43130:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x43138:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x43142
ld de,$478C
jr Logged_0x43145
Logged_0x43142:
ld de,$4795
Logged_0x43145:
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x43162:
ld a,$3B
ld [$D11B],a
jr Logged_0x4316E
Logged_0x43169:
ld a,$3C
ld [$D11B],a
Logged_0x4316E:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld a,$02
ld [$D118],a
ret
Logged_0x4317A:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$13
ld [$D11B],a
ret
Logged_0x4318D:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$13
ld [$D11B],a
ret
Unknown_0x431A0:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x431C6
Unknown_0x431AA:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x431C6
Logged_0x431B4:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x431C6
Logged_0x431BE:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x431C6:
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$47C6
call Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
Logged_0x431DA:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x431ED:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x43200:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4320F
ld de,$477A
jr Logged_0x43212
Logged_0x4320F:
ld de,$4783
Logged_0x43212:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x43221:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x43231
Logged_0x43231:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x43240
ld de,$477A
jr Logged_0x43243
Logged_0x43240:
ld de,$4783
Logged_0x43243:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x43252:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x43200
Logged_0x43263:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$72
ld [hld],a
ld a,$82
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$73
ld [hld],a
ld a,$62
ld [hld],a
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FA
ld [hl],a
xor a
ld [$D116],a
ld l,$1A
res 5,[hl]
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x432B9
res 7,[hl]
ld de,$47D3
call Logged_0x30F0
ret
Logged_0x432B9:
set 7,[hl]
ld de,$47E4
call Logged_0x30F0
ret
Logged_0x432C2:
ld l,$00
bit 1,[hl]
ret z
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x432E7
dec [hl]
ret nz
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x432DF
set 7,[hl]
ld de,$47E4
call Logged_0x30F0
jr Logged_0x432E7
Logged_0x432DF:
res 7,[hl]
ld de,$47D3
call Logged_0x30F0
Logged_0x432E7:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x432FA
cp $E8
ret c
Logged_0x432FA:
ld l,$1A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
ld b,a
jr c,Logged_0x43319
bit 7,[hl]
jr nz,Logged_0x43338
ld a,b
cp $70
ret nc
ld de,$47C9
call Logged_0x30F0
jr Logged_0x43327
Logged_0x43319:
bit 7,[hl]
jr z,Logged_0x43338
ld a,b
cp $90
ret c
ld de,$47CE
call Logged_0x30F0
Logged_0x43327:
ld a,$23
ld [hli],a
ld a,$2F
ld [$D11B],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x43338:
ld de,$47FF
call Logged_0x30F0
ld a,$0C
ld [hli],a
ret
Logged_0x43342:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x43358
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$70
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
Logged_0x43358:
ld a,[$D11A]
rlca
jp c,Logged_0x309A
jp Logged_0x3090
ld hl,$D11B
ld a,[hl]
and a
jp z,Logged_0x432C2
cp $2F
jr z,Logged_0x43342
cp $0B
jr z,Logged_0x4338F
cp $0C
jr z,Logged_0x43394
cp $0A
jr z,Logged_0x433C7
cp $28
jr z,Logged_0x433CA
cp $29
jr z,Logged_0x433D2
cp $04
jr z,Unknown_0x433E2
cp $05
jr z,Unknown_0x433DA
rra
jr nc,Logged_0x433D2
jr Logged_0x433CA
Logged_0x4338F:
ld bc,$49C2
jr Logged_0x43397
Logged_0x43394:
ld bc,$49D7
Logged_0x43397:
xor a
ld [hl],a
ld l,$00
bit 3,[hl]
jr z,Logged_0x433A7
ld l,$1A
bit 7,[hl]
jr z,Logged_0x433D2
jr Logged_0x433CA
Logged_0x433A7:
set 3,[hl]
ld l,$1F
ld a,[$D107]
cp $0D
jr z,Logged_0x433BB
ld a,$73
ld [hld],a
ld a,$53
ld [hld],a
jp Logged_0x3416
Logged_0x433BB:
ld a,$74
ld [hld],a
ld a,$0B
ld [hld],a
ld a,$14
ld [$D116],a
ret
Logged_0x433C7:
jp Logged_0x3173
Logged_0x433CA:
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x433E8
Logged_0x433D2:
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x433E8
Unknown_0x433DA:
ld a,$33
ld c,$17
ld b,$02
jr Logged_0x433E8
Unknown_0x433E2:
ld a,$33
ld c,$26
ld b,$02
Logged_0x433E8:
ld l,$00
set 3,[hl]
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$18
ld a,b
ld [hli],a
xor a
ld [hli],a
ld a,$81
ld [$D11C],a
ld a,[hl]
rlca
jr c,Logged_0x43405
ld de,$47F5
jp Logged_0x30F0
Logged_0x43405:
ld de,$47FA
jp Logged_0x30F0
ld hl,$D11C
ld a,$81
ld [hld],a
ld l,$16
dec [hl]
ret nz
ld de,$47FF
call Logged_0x30F0
ld a,$0C
ld [hli],a
ld l,$1F
ld a,$74
ld [hld],a
ld a,$27
ld [hld],a
ret
ld hl,$D11C
ld a,$81
ld [hld],a
ld a,[hl]
and a
jp nz,Logged_0x43342
ld l,$16
dec [hl]
ret nz
ld l,$1B
ld a,$01
ld [hld],a
ld a,[hl]
rlca
jr c,Logged_0x43448
set 7,[hl]
ld de,$47CE
call Logged_0x30F0
ret
Logged_0x43448:
res 7,[hl]
ld de,$47C9
call Logged_0x30F0
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$74
ld [hld],a
ld a,$79
ld [hld],a
ld de,$4A7B
call Logged_0x30F0
ld a,$0A
ld [hli],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F7
ld [hl],a
ret
ld hl,$D100
bit 5,[hl]
jr z,Logged_0x4349C
res 5,[hl]
ld l,$16
dec [hl]
ret nz
ld de,$4A7E
call Logged_0x30F0
ld a,$11
ld [hli],a
ld l,$1F
ld a,$74
ld [hld],a
ld a,$A2
ld [hld],a
xor a
ld [$D119],a
ret
Logged_0x4349C:
ld a,$0A
ld [$D116],a
ret
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x434B4
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$86
ld [$FF00+hSFXIDLow],a
ret
Logged_0x434B4:
ld bc,$4A50
jp Logged_0x34FC
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$74
ld [hld],a
ld a,$E2
ld [hld],a
ld de,$4A78
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$00
ld [hl],a
ld a,$31
ld [$D11B],a
ret
ld a,[$D11B]
rst JumpList
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435DF
dw Logged_0x435E7
dw Unknown_0x436CF
dw Logged_0x436C1
dw Logged_0x4360B
dw Logged_0x43624
dw Logged_0x435DF
dw Logged_0x435E7
dw Logged_0x3173
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x4367C
dw Logged_0x435DE
dw Logged_0x435F8
dw Logged_0x435FC
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x4365C
dw Logged_0x4363D
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x436A5
dw Logged_0x436B3
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435C2
dw Logged_0x435A6
dw Logged_0x435DE
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x3371
dw Logged_0x435A6
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x4366B
dw Logged_0x4364C
dw Logged_0x3380
dw Logged_0x338F
dw Unknown_0x43689
dw Logged_0x43697
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x435A6
dw Logged_0x33BC
dw Logged_0x33CB
Logged_0x435A6:
ld a,$2F
ld [$D11B],a
ld de,$4A8B
call Logged_0x30F0
ld a,$0E
ld [hli],a
ld l,$00
res 2,[hl]
set 3,[hl]
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
Logged_0x435C2:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x435DE:
ret
Logged_0x435DF:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x435ED
Logged_0x435E7:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x435ED:
ld a,$0C
ld [$D116],a
ld a,$02
ld [$D118],a
ret
Logged_0x435F8:
ld a,$44
jr Logged_0x435FE
Logged_0x435FC:
ld a,$45
Logged_0x435FE:
ld [$D11B],a
xor a
ld [$D119],a
ld a,$02
ld [$D118],a
ret
Logged_0x4360B:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
ld de,$4A78
call Logged_0x30F0
jp Logged_0x3335
Logged_0x43624:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
ld de,$4A78
call Logged_0x30F0
jp Logged_0x3344
Logged_0x4363D:
ld a,$49
ld [$D11B],a
ld de,$4A78
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x4364C:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x4365C
Logged_0x4365C:
ld a,$48
ld [$D11B],a
ld de,$4A78
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x4366B:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4363D
Logged_0x4367C:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hl],a
ret
Unknown_0x43689:
ld a,$5E
ld [$D11B],a
ld de,$4A6F
call Logged_0x30F0
jp Logged_0x33BC
Logged_0x43697:
ld a,$5F
ld [$D11B],a
ld de,$4A66
call Logged_0x30F0
jp Logged_0x33CB
Logged_0x436A5:
ld de,$4A6F
call Logged_0x30F0
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x436DB
Logged_0x436B3:
ld de,$4A66
call Logged_0x30F0
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x436DB
Logged_0x436C1:
ld de,$4A6F
call Logged_0x30F0
ld a,$33
ld c,$17
ld b,$02
jr Logged_0x436DB
Unknown_0x436CF:
ld de,$4A66
call Logged_0x30F0
ld a,$33
ld c,$26
ld b,$02
Logged_0x436DB:
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F3
ld [hl],a
ld l,$1F
ld a,$77
ld [hld],a
ld a,$1B
ld [hld],a
ld de,$4A9F
call Logged_0x30F0
ret
Unknown_0x4370F:
INCBIN "baserom.gbc", $4370F, $4371B - $4370F
call Logged_0x3655
ld hl,$D11B
ld a,[hl]
cp $0A
jr z,Unknown_0x43747
and $FE
cp $04
jr z,Unknown_0x43747
xor a
ld [hl],a
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld de,$4AA8
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$1F
ld a,$77
ld [hld],a
ld a,$4A
ld [hld],a
ret
Unknown_0x43747:
jp Logged_0x3173
Unknown_0x4374A:
INCBIN "baserom.gbc", $4374A, $4379B - $4374A
ld de,$58AE
jr Logged_0x437A8
ld de,$58AB
jr Logged_0x437A8
ld de,$58A8
Logged_0x437A8:
call Logged_0x30F0
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$77
ld [hld],a
ld a,$D6
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$EA
ld [hld],a
ld a,$FE
ld [hl],a
ld a,[$CAC1]
and a
ret z
ld a,$20
ld [$D118],a
jp Logged_0x3076
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$78
ld [hld],a
ld a,$0E
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[$D107]
cp $0A
jr nz,Logged_0x437F5
res 7,[hl]
jr Logged_0x437F7
Logged_0x437F5:
set 7,[hl]
Logged_0x437F7:
ld l,$0A
ld a,$FC
ld [hli],a
ld a,$FD
ld [hli],a
ld a,$02
ld [hl],a
ld de,$58FF
call Logged_0x30F0
ld a,$3C
ld [hli],a
xor a
ld [hl],a
ret
ld a,[$D117]
rst JumpList
dw Logged_0x4382E
dw Logged_0x43876
dw Logged_0x438A0
dw Logged_0x438C5
dw Logged_0x438EA
dw Logged_0x43910
dw Logged_0x43936
dw Logged_0x43956
dw Logged_0x4396E
dw Logged_0x43994
dw Logged_0x439BA
dw Logged_0x439E0
dw Logged_0x43A06
dw Logged_0x43A2C
Logged_0x4382E:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$79
ld [$FF00+hSFXIDLow],a
ld a,$0C
ld [$D118],a
ld a,[$D11A]
rlca
jr c,Logged_0x43857
call Logged_0x305C
ld de,$58D8
ld a,$FF
ld c,$02
jr Logged_0x43861
Logged_0x43857:
call Logged_0x3069
ld de,$58B1
ld a,$FD
ld c,$00
Logged_0x43861:
ld l,$08
ld a,[hl]
and $80
or $05
ld [hld],a
ld b,$02
Logged_0x4386B:
ld l,$0B
ld [hli],a
ld [hl],c
Logged_0x4386F:
call Logged_0x30F0
ld a,b
ld [hli],a
inc [hl]
ret
Logged_0x43876:
ld hl,$D116
dec [hl]
ret nz
ld a,$04
ld [$D118],a
ld a,[$D11A]
rlca
jr c,Logged_0x43892
call Logged_0x305C
ld de,$58DB
ld a,$FC
ld c,$07
jr Logged_0x4389C
Logged_0x43892:
call Logged_0x3069
ld de,$58B4
ld a,$F8
ld c,$03
Logged_0x4389C:
ld b,$02
jr Logged_0x4386B
Logged_0x438A0:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x438B7
call Logged_0x305C
ld de,$58DE
ld a,$F8
ld c,$0B
jr Logged_0x438C1
Logged_0x438B7:
call Logged_0x3069
ld de,$58B7
ld a,$F4
ld c,$07
Logged_0x438C1:
ld b,$02
jr Logged_0x4386B
Logged_0x438C5:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x438DC
call Logged_0x305C
ld de,$58E1
ld a,$F4
ld c,$0F
jr Logged_0x438E6
Logged_0x438DC:
call Logged_0x3069
ld de,$58BA
ld a,$F0
ld c,$0B
Logged_0x438E6:
ld b,$02
jr Logged_0x4386B
Logged_0x438EA:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43901
call Logged_0x305C
ld de,$58E4
ld a,$F0
ld c,$13
jr Logged_0x4390B
Logged_0x43901:
call Logged_0x3069
ld de,$58BD
ld a,$EC
ld c,$0F
Logged_0x4390B:
ld b,$02
jp Logged_0x4386B
Logged_0x43910:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43927
call Logged_0x305C
ld de,$58E7
ld a,$EC
ld c,$17
jr Logged_0x43931
Logged_0x43927:
call Logged_0x3069
ld de,$58C0
ld a,$E8
ld c,$13
Logged_0x43931:
ld b,$14
jp Logged_0x4386B
Logged_0x43936:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43946
ld de,$58EA
jr Logged_0x43949
Logged_0x43946:
ld de,$58C3
Logged_0x43949:
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
ld b,$08
jp Logged_0x4386F
Logged_0x43956:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43966
ld de,$58ED
jr Logged_0x43969
Logged_0x43966:
ld de,$58C6
Logged_0x43969:
ld b,$14
jp Logged_0x4386F
Logged_0x4396E:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43985
call Logged_0x3069
ld de,$58F0
ld a,$F0
ld c,$13
jr Logged_0x4398F
Logged_0x43985:
call Logged_0x305C
ld de,$58C9
ld a,$EC
ld c,$0F
Logged_0x4398F:
ld b,$02
jp Logged_0x4386B
Logged_0x43994:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x439AB
call Logged_0x3069
ld de,$58F3
ld a,$F4
ld c,$0F
jr Logged_0x439B5
Logged_0x439AB:
call Logged_0x305C
ld de,$58CC
ld a,$F0
ld c,$0B
Logged_0x439B5:
ld b,$02
jp Logged_0x4386B
Logged_0x439BA:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x439D1
call Logged_0x3069
ld de,$58F6
ld a,$F8
ld c,$0B
jr Logged_0x439DB
Logged_0x439D1:
call Logged_0x305C
ld de,$58CF
ld a,$F4
ld c,$07
Logged_0x439DB:
ld b,$02
jp Logged_0x4386B
Logged_0x439E0:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x439F7
call Logged_0x3069
ld de,$58F9
ld a,$FC
ld c,$07
jr Logged_0x43A01
Logged_0x439F7:
call Logged_0x305C
ld de,$58D2
ld a,$F8
ld c,$03
Logged_0x43A01:
ld b,$02
jp Logged_0x4386B
Logged_0x43A06:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x43A1D
call Logged_0x3069
ld de,$58FC
ld a,$FF
ld c,$02
jr Logged_0x43A27
Logged_0x43A1D:
call Logged_0x305C
ld de,$58D5
ld a,$FD
ld c,$00
Logged_0x43A27:
ld b,$02
jp Logged_0x4386B
Logged_0x43A2C:
ld hl,$D116
dec [hl]
ret nz
ld a,$0C
ld [$D118],a
ld a,[$D11A]
rlca
jr c,Logged_0x43A42
call Logged_0x3069
jp Logged_0x437F7
Logged_0x43A42:
call Logged_0x305C
jp Logged_0x437F7
Unknown_0x43A48:
INCBIN "baserom.gbc", $43A48, $44000 - $43A48
SECTION "Bank11", ROMX, BANK[$11]
LoggedData_0x44000:
INCBIN "baserom.gbc", $44000, $4404F - $44000
Unknown_0x4404F:
INCBIN "baserom.gbc", $4404F, $44050 - $4404F
LoggedData_0x44050:
INCBIN "baserom.gbc", $44050, $4407F - $44050
Unknown_0x4407F:
INCBIN "baserom.gbc", $4407F, $44080 - $4407F
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$41
ld [hld],a
ld a,$A5
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$03
ld [hld],a
ld a,$EC
ld [hld],a
ld a,$00
ld [hld],a
ld l,$1B
jp Logged_0x441DC
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$40
ld [hld],a
ld a,$F4
ld [hld],a
ld de,$4AC6
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$03
ld [hld],a
ld a,$EC
ld [hld],a
ld a,$00
ld [hld],a
ret
Unknown_0x440C4:
ld a,$33
ld c,$F8
jr Logged_0x440DA
Unknown_0x440CA:
ld a,$34
ld c,$07
jr Logged_0x440DA
Unknown_0x440D0:
ld a,$33
ld c,$26
jr Logged_0x440DA
Logged_0x440D6:
ld a,$33
ld c,$17
Logged_0x440DA:
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,$01
ld [hld],a
ld a,$81
ld [$D11C],a
ld de,$4AE6
jp Logged_0x30F0
ld hl,$D11B
ld a,[hl]
and a
jr nz,Logged_0x44113
ld l,$00
bit 5,[hl]
jp z,Logged_0x44185
res 5,[hl]
ld a,$5A
ld [$D11B],a
ld de,$4ADD
call Logged_0x30F0
ld a,$6F
ld [hli],a
ret
Logged_0x44113:
cp $1B
jp z,Logged_0x3272
cp $41
jp z,Logged_0x329F
cp $13
jr z,Logged_0x44144
cp $11
jr z,Logged_0x44151
cp $5A
jr z,Unknown_0x44158
cp $3B
jr z,Logged_0x44161
cp $28
jr z,Unknown_0x440C4
cp $29
jr z,Unknown_0x440CA
cp $04
jr z,Unknown_0x440D0
cp $05
jr z,Logged_0x440D6
cp $0A
jp z,Logged_0x4420A
jr Logged_0x44172
Logged_0x44144:
ld l,$1F
ld a,$41
ld [hld],a
ld a,$A5
ld [hld],a
ld l,$1B
jp Logged_0x441DC
Logged_0x44151:
ld a,$41
ld [hld],a
dec l
xor a
ld [hld],a
ret
Unknown_0x44158:
ld l,$00
bit 5,[hl]
jr z,Logged_0x44166
res 5,[hl]
ret
Logged_0x44161:
ld l,$16
dec [hl]
jr nz,Logged_0x44185
Logged_0x44166:
xor a
ld [$D11B],a
ld de,$4AC6
call Logged_0x30F0
jr Logged_0x44185
Logged_0x44172:
ld a,$3B
ld [$D11B],a
ld de,$4AF2
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$00
res 3,[hl]
ret
Logged_0x44185:
ld a,[$CA97]
cp $10
ret c
ld l,$1B
ld a,$1B
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$4AE6
call Logged_0x30F0
ld a,$0D
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x44185
cp $11
jr z,Logged_0x44151
cp $1B
jp z,Logged_0x3272
cp $41
jp z,Logged_0x329F
cp $28
jp z,Unknown_0x440C4
cp $29
jp z,Unknown_0x440CA
cp $04
jp z,Unknown_0x440D0
cp $05
jp z,Logged_0x440D6
cp $13
jr z,Logged_0x441DC
cp $43
jr z,Logged_0x441F8
cp $0A
jr z,Logged_0x4420A
xor a
ld [hl],a
Logged_0x441DC:
ld a,$43
ld [hl],a
ld de,$4B01
call Logged_0x30F0
ld a,$49
ld [hli],a
ld l,$00
res 3,[hl]
ld l,$08
ld a,[hl]
and $80
or $3E
ld [hli],a
ld a,$E6
ld [hl],a
ret
Logged_0x441F8:
ld l,$16
dec [hl]
jr nz,Logged_0x44185
xor a
ld [$D11B],a
ld de,$4AE9
call Logged_0x30F0
jp Logged_0x44185
Logged_0x4420A:
ld l,$1F
ld a,$42
ld [hld],a
ld a,$20
ld [hld],a
ld de,$4AE6
call Logged_0x30F0
ld a,$10
ld [hli],a
xor a
ld [$D119],a
ret
ld a,$81
ld [$D11C],a
ld bc,$4040
call Logged_0x34B7
ld hl,$D116
dec [hl]
ret nz
ld a,$08
ld [$D118],a
call Logged_0x305C
jp Logged_0x3182
ld hl,$D11F
ld a,$42
ld [hld],a
ld a,$45
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$42
ld [hld],a
ld a,$59
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x4434F
ld a,[$D11B]
rst JumpList
dw Logged_0x4434F
dw Logged_0x4446C
dw Logged_0x445C1
dw Logged_0x445C9
dw Logged_0x447D5
dw Logged_0x447F9
dw Logged_0x44839
dw Logged_0x4484C
dw Logged_0x4472F
dw Logged_0x44739
dw Logged_0x44317
dw Logged_0x4476B
dw Logged_0x44778
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x44692
dw Logged_0x446BB
dw Logged_0x4438B
dw Logged_0x448C2
dw Logged_0x446D6
dw Logged_0x4465D
dw Logged_0x44665
dw Logged_0x445F7
dw Logged_0x4462A
dw Logged_0x44890
dw Logged_0x4485F
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x447CB
dw Unknown_0x447C1
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x443A7
dw Logged_0x443BF
dw Logged_0x4434F
dw Logged_0x3290
dw Logged_0x4448C
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x4434F
dw Logged_0x4479D
dw Logged_0x447AF
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x446A1
dw Logged_0x446C9
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x44703
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4461C
dw Logged_0x4464F
dw Logged_0x448B1
dw Logged_0x44880
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x4434F
dw Logged_0x4434F
dw Logged_0x4434F
Logged_0x44317:
ld a,[$D11C]
and a
jp z,Logged_0x3182
ld a,[$CA8E]
and a
jp nz,Logged_0x3182
ld a,[$D14A]
cp $06
jp nc,Logged_0x3182
ld a,[$D108]
and $7F
jp z,Logged_0x3182
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jp nc,Logged_0x4472F
jp Logged_0x44739
Logged_0x4434F:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4437F
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4B12
call Logged_0x30F0
ret
Logged_0x4437F:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4B17
call Logged_0x30F0
ret
Logged_0x4438B:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4439E
xor a
ld [hld],a
ld de,$4B12
call Logged_0x30F0
ret
Logged_0x4439E:
xor a
ld [hld],a
ld de,$4B17
call Logged_0x30F0
ret
Logged_0x443A7:
ld a,[$CA97]
cp $10
jr c,Logged_0x443B4
ld a,$1A
ld [$D11B],a
ret
Logged_0x443B4:
ld hl,$D116
dec [hl]
ret nz
ld a,$2E
ld [$D11B],a
ret
Logged_0x443BF:
ld a,[$C08F]
ld b,a
and $0F
jr nz,Logged_0x443CF
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Logged_0x443CF:
ld a,[$CA97]
cp $10
jr c,Logged_0x443DC
ld a,$1A
ld [$D11B],a
ret
Logged_0x443DC:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x443F7
ld a,$11
ld [$D11B],a
ret
Logged_0x443F7:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x44438
ld a,[hl]
and $0F
sub $10
jr nc,Logged_0x44414
call Logged_0x355B
and $0F
jr z,Logged_0x44432
Logged_0x44414:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $10
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
Logged_0x44432:
ld a,$13
ld [$D11B],a
ret
Logged_0x44438:
ld a,[hl]
and $0F
add a,$0F
cp $10
jr c,Logged_0x44448
call Logged_0x3573
and $0F
jr z,Logged_0x44466
Logged_0x44448:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0F
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x44466:
ld a,$13
ld [$D11B],a
ret
Logged_0x4446C:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44485
ld de,$4B12
call Logged_0x30F0
ret
Logged_0x44485:
ld de,$4B17
call Logged_0x30F0
ret
Logged_0x4448C:
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x444A3
ld a,[$C08F]
ld b,a
and $1F
jr nz,Logged_0x444A3
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Logged_0x444A3:
ld a,[$CA97]
cp $10
jr c,Logged_0x444B0
ld a,$1A
ld [$D11B],a
ret
Logged_0x444B0:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x444CB
ld a,$11
ld [$D11B],a
ret
Logged_0x444CB:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld c,$2A
ld a,[$D11A]
rlca
jp c,Logged_0x4454E
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x444EF
cp $E8
jr c,Logged_0x4451C
Logged_0x444EF:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $40
jr nc,Logged_0x4451C
ld de,$4B1C
call Logged_0x30F0
ld a,$14
ld [hli],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F0
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $20
ld [hld],a
ld l,$1B
ld a,$2D
ld [hld],a
ret
Logged_0x4451C:
ld a,[hl]
and $0F
sub $08
jr nc,Logged_0x4452A
call Logged_0x355B
and $0F
jr z,Logged_0x44548
Logged_0x4452A:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x44548:
ld a,$13
ld [$D11B],a
ret
Logged_0x4454E:
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x44560
cp $E8
jr c,Logged_0x4458D
Logged_0x44560:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr c,Logged_0x4458D
ld de,$4B25
call Logged_0x30F0
ld a,$14
ld [hli],a
ld l,$0C
ld a,$0F
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $20
ld [hld],a
ld l,$1B
ld a,$2D
ld [hld],a
ret
Logged_0x4458D:
ld a,[hl]
and $0F
add a,$07
cp $10
jr c,Logged_0x4459D
call Logged_0x3573
and $0F
jr z,Logged_0x445BB
Logged_0x4459D:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x445BB:
ld a,$13
ld [$D11B],a
ret
Logged_0x445C1:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x445CF
Logged_0x445C9:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x445CF:
ld a,[hld]
rlca
jr c,Logged_0x445D8
ld de,$4B58
jr Logged_0x445DB
Logged_0x445D8:
ld de,$4B5B
Logged_0x445DB:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x445F7:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44606
ld de,$4B2E
jr Logged_0x44609
Logged_0x44606:
ld de,$4B37
Logged_0x44609:
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4461C:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x4462A:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44639
ld de,$4B2E
jr Logged_0x4463C
Logged_0x44639:
ld de,$4B37
Logged_0x4463C:
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4464F:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4465D:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x4466B
Logged_0x44665:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x4466B:
ld a,[hld]
rlca
jr c,Logged_0x44674
ld de,$4B2E
jr Logged_0x44677
Logged_0x44674:
ld de,$4B37
Logged_0x44677:
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x44692:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x446A1:
ld a,[$CA97]
cp $10
jr c,Logged_0x446AE
ld a,$1C
ld [$D11B],a
ret
Logged_0x446AE:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x446BB:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x446C9:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x446D6:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x446E5
ld de,$4B4A
jr Logged_0x446E8
Logged_0x446E5:
ld de,$4B51
Logged_0x446E8:
call Logged_0x30F0
ld a,$1A
ld [hli],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$00
set 7,[hl]
ret
Logged_0x44703:
ld a,[$CA97]
cp $10
jr c,Logged_0x44710
ld a,$1A
ld [$D11B],a
ret
Logged_0x44710:
ld hl,$D116
ld a,[hl]
cp $09
jr z,Logged_0x44722
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x44722:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x4472C
set 7,[hl]
ret
Logged_0x4472C:
res 7,[hl]
ret
Logged_0x4472F:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x44741
Logged_0x44739:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x44741:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4474B
ld de,$4B2E
jr Logged_0x4474E
Logged_0x4474B:
ld de,$4B37
Logged_0x4474E:
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x4476B:
ld a,$3B
ld [$D11B],a
ld bc,$48F0
ld de,$4B5E
jr Logged_0x44783
Logged_0x44778:
ld a,$3C
ld [$D11B],a
ld bc,$4905
ld de,$4B61
Logged_0x44783:
call Logged_0x30F0
ld a,$14
ld [hli],a
ld a,$02
ld [$D118],a
ld l,$00
res 7,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$49
ld [$FF00+hSFXIDLow],a
jp Logged_0x3416
Logged_0x4479D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld l,$16
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Logged_0x447AF:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld l,$16
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Unknown_0x447C1:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x4481B
Unknown_0x447CB:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x4481B
Logged_0x447D5:
ld a,[$CA8E]
and a
jr nz,Logged_0x447EF
ld a,[$D14A]
cp $05
jr nc,Logged_0x447EF
ld a,[$D108]
and $7F
jr z,Logged_0x447EF
ld a,$08
ld [$D11B],a
ret
Logged_0x447EF:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$01
jr Logged_0x4481B
Logged_0x447F9:
ld a,[$CA8E]
and a
jr nz,Logged_0x44813
ld a,[$D14A]
cp $05
jr nc,Logged_0x44813
ld a,[$D108]
and $7F
jr z,Logged_0x44813
ld a,$09
ld [$D11B],a
ret
Logged_0x44813:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$01
Logged_0x4481B:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Logged_0x44833
ld de,$4B40
jp Logged_0x30F0
Logged_0x44833:
ld de,$4B45
jp Logged_0x30F0
Logged_0x44839:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x4484C:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x4485F:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4486E
ld de,$4B2E
jr Logged_0x44871
Logged_0x4486E:
ld de,$4B37
Logged_0x44871:
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x44880:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x44890
Logged_0x44890:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4489F
ld de,$4B2E
jr Logged_0x448A2
Logged_0x4489F:
ld de,$4B37
Logged_0x448A2:
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x448B1:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4485F
Logged_0x448C2:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$E1
ld [hld],a
ret
ld a,[$CA8E]
cp $53
jr z,Logged_0x448ED
ld hl,$D100
res 4,[hl]
Logged_0x448ED:
ld hl,$D11F
ld a,$49
ld [hld],a
ld a,$03
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $08
ld [hl],a
jp Logged_0x44A72
ld hl,$D100
ld a,[$CA8E]
cp $53
jr nz,Logged_0x44911
set 4,[hl]
jr Logged_0x44913
Logged_0x44911:
res 4,[hl]
Logged_0x44913:
ld a,[$D11B]
rst JumpList
dw Logged_0x44A72
dw Logged_0x44A97
dw Logged_0x44C3F
dw Logged_0x44C49
dw Logged_0x44C84
dw Unknown_0x44C8E
dw Unknown_0x44CAA
dw Unknown_0x44CBD
dw Logged_0x44C3F
dw Logged_0x44C49
dw Logged_0x3182
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x449D1
dw Logged_0x44BE1
dw Logged_0x44C12
dw Logged_0x44A72
dw Unknown_0x44D27
dw Logged_0x44A72
dw Logged_0x44BB9
dw Logged_0x44BC0
dw Logged_0x44B61
dw Logged_0x44B8D
dw Unknown_0x44CFF
dw Unknown_0x44CD0
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x44C7A
dw Unknown_0x44C70
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A09
dw Logged_0x44A25
dw Logged_0x44A5D
dw Logged_0x3290
dw Logged_0x44AC1
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44A72
dw Logged_0x44BF8
dw Logged_0x44C32
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x44A72
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x44B7F
dw Logged_0x44BAB
dw Unknown_0x44D16
dw Unknown_0x44CEF
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x44B2D
dw Logged_0x449D7
dw Logged_0x44A72
Logged_0x449D1:
ld a,$5B
ld [$D11B],a
ret
Logged_0x449D7:
ld a,$81
ld [$D11C],a
ld a,[$CA8E]
cp $53
jr nz,Logged_0x449FF
ld hl,$D100
res 4,[hl]
ld l,$03
ld a,[$CA62]
sub $0C
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
ld [hli],a
ld a,[$CA63]
ld [hli],a
ret
Logged_0x449FF:
ld a,[$CA69]
and a
jp z,Logged_0x44C3F
jp Logged_0x44C49
Logged_0x44A09:
ld hl,$D116
dec [hl]
ret nz
ld a,$2E
ld [$D11B],a
ld de,$4B8B
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $38
ld [hli],a
ret
Logged_0x44A25:
ld hl,$D116
dec [hl]
jr z,Logged_0x44A46
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr z,Logged_0x44A43
jr c,Logged_0x44A40
call Logged_0x30CA
jr Logged_0x44A43
Logged_0x44A40:
call Logged_0x30BD
Logged_0x44A43:
jp Logged_0x30A4
Logged_0x44A46:
ld a,$2F
ld [$D11B],a
ld de,$4BAE
call Logged_0x30F0
ld a,$50
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hli],a
ret
Logged_0x44A5D:
ld hl,$D116
ld a,[hl]
cp $3C
jr nz,Logged_0x44A6B
ld de,$4B90
call Logged_0x30F0
Logged_0x44A6B:
dec [hl]
jp nz,Logged_0x30E6
jp Logged_0x44B4C
Logged_0x44A72:
ld hl,$D10C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F1
ld [hld],a
ld a,$EC
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x44A95
res 7,[hl]
jr Logged_0x44A97
Logged_0x44A95:
set 7,[hl]
Logged_0x44A97:
ld hl,$D11B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44AA6
ld de,$4B64
jr Logged_0x44AA9
Logged_0x44AA6:
ld de,$4B6D
Logged_0x44AA9:
xor a
ld [hld],a
call Logged_0x30F0
inc l
ld a,$32
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hli],a
ld a,$EC
ld [hli],a
ld a,$F1
ld [hl],a
ret
Logged_0x44AC1:
ld a,[$CA8E]
cp $53
jr z,Logged_0x44AFD
ld c,$2A
ld a,[$D10D]
add a,c
ld b,a
ld a,[$CA87]
add a,c
sub b
cp $18
jr c,Logged_0x44AFD
cp $80
jr nc,Logged_0x44AFD
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $E8
jr nc,Logged_0x44AEE
cp $18
jr nc,Logged_0x44AFD
Logged_0x44AEE:
ld a,$2D
ld [$D11B],a
ld de,$4B84
call Logged_0x30F0
ld a,$14
ld [hli],a
ret
Logged_0x44AFD:
ld bc,$44C0
call Logged_0x3489
ld hl,$D117
ld a,[$D11A]
rlca
jr c,Logged_0x44B17
dec [hl]
ld a,[hl]
and a
jp nz,Logged_0x30CA
ld de,$4B76
jr Logged_0x44B21
Logged_0x44B17:
inc [hl]
ld a,[hl]
cp $64
jp nz,Logged_0x30BD
ld de,$4B7D
Logged_0x44B21:
call Logged_0x30F0
ld a,$1A
ld [hli],a
ld a,$5A
ld [$D11B],a
ret
Logged_0x44B2D:
ld bc,$44C0
call Logged_0x3489
ld hl,$D116
ld a,[hl]
cp $09
jr z,Logged_0x44B3F
dec [hl]
jr z,Logged_0x44B4C
ret
Logged_0x44B3F:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x44B49
set 7,[hl]
ret
Logged_0x44B49:
res 7,[hl]
ret
Logged_0x44B4C:
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44B5B
ld de,$4B64
jp Logged_0x30F0
Logged_0x44B5B:
ld de,$4B6D
jp Logged_0x30F0
Logged_0x44B61:
ld hl,$D11B
ld a,$46
ld [hld],a
call Logged_0x30FB
ld a,[hl]
and $0F
dec a
jp z,Logged_0x3182
ld de,$4BA5
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x44B7F:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x44B8D:
ld hl,$D11B
ld a,$47
ld [hld],a
call Logged_0x30FB
ld a,[hl]
and $0F
dec a
jp z,Logged_0x3182
ld de,$4BA5
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x44BAB:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x44BB9:
ld a,$44
ld [$D11B],a
jr Logged_0x44BC5
Logged_0x44BC0:
ld a,$45
ld [$D11B],a
Logged_0x44BC5:
ld de,$4BA5
call Logged_0x30F0
ld l,$18
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F9
ld [hli],a
ld a,$FF
ld [hl],a
ret
Logged_0x44BE1:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
ld l,$1A
ld a,[hl]
and $F0
or $08
ld [hl],a
Logged_0x44BF8:
ld a,[$CA97]
cp $10
jr c,Logged_0x44C05
ld a,$1C
ld [$D11B],a
ret
Logged_0x44C05:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x44C12:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$4B99
call Logged_0x30F0
ld a,$50
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hli],a
ld a,$EC
ld [hli],a
ld a,$F1
ld [hl],a
Logged_0x44C32:
ld hl,$D116
dec [hl]
jp nz,Logged_0x30E6
ld a,$00
ld [$D11B],a
ret
Logged_0x44C3F:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x44C51
Logged_0x44C49:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x44C51:
ld [hld],a
ld de,$4BA5
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$F9
ld [hli],a
ld a,$FF
ld [hl],a
ret
Unknown_0x44C70:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x44C96
Unknown_0x44C7A:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x44C96
Logged_0x44C84:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x44C96
Unknown_0x44C8E:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x44C96:
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$4BA2
call Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
Unknown_0x44CAA:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Unknown_0x44CBD:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Unknown_0x44CD0:
ld a,$49
ld [$D11B],a
ld de,$4BA5
call Logged_0x30F0
ld l,$09
ld a,$F9
ld [hli],a
ld a,$FF
ld [hl],a
ld l,$00
set 2,[hl]
ld l,$1A
ld a,[hl]
and $F0
or $08
ld [hl],a
Unknown_0x44CEF:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Unknown_0x44CFF
Unknown_0x44CFF:
ld a,$48
ld [$D11B],a
ld de,$4BA5
call Logged_0x30F0
ld l,$09
ld a,$F9
ld [hli],a
ld a,$FF
ld [hl],a
ld l,$00
set 2,[hl]
Unknown_0x44D16:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Unknown_0x44CD0
Unknown_0x44D27:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$4D
ld [hld],a
ld a,$46
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$4D
ld [hld],a
ld a,$5A
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x44FD9
ld a,[$D11B]
rst JumpList
dw Logged_0x44FD9
dw Logged_0x45034
dw Logged_0x45140
dw Logged_0x45186
dw Unknown_0x45342
dw Unknown_0x45366
dw Unknown_0x453A6
dw Unknown_0x453B9
dw Logged_0x452F7
dw Unknown_0x45301
dw Unknown_0x44E18
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x4526B
dw Logged_0x45294
dw Logged_0x45018
dw Unknown_0x45425
dw Logged_0x452AF
dw Unknown_0x4523B
dw Unknown_0x45243
dw Unknown_0x451E5
dw Logged_0x45210
dw Unknown_0x453F8
dw Unknown_0x453CC
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x45338
dw Unknown_0x4532E
dw Logged_0x44FD9
dw Logged_0x44EAA
dw Logged_0x44F89
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x3290
dw Logged_0x45054
dw Logged_0x4515D
dw Logged_0x451BC
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x44FD9
dw Logged_0x4527A
dw Logged_0x452A2
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x452CB
dw Logged_0x32CC
dw Logged_0x32DB
dw Unknown_0x45202
dw Logged_0x4522D
dw Unknown_0x45414
dw Unknown_0x453E8
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x44E50
dw Logged_0x44EDA
dw Logged_0x44FBF
Unknown_0x44E18:
ld a,[$D11C]
and a
jp z,Logged_0x3182
ld a,[$CA8E]
and a
jp nz,Logged_0x3182
ld a,[$D14A]
cp $06
jp nc,Logged_0x3182
ld a,[$D108]
and $7F
jp z,Logged_0x3182
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jp nc,Logged_0x452F7
jp Unknown_0x45301
Logged_0x44E50:
ld a,[$CA97]
cp $10
jr c,Logged_0x44E5D
ld a,$1C
ld [$D11B],a
ret
Logged_0x44E5D:
ld hl,$D116
ld a,[hl]
cp $18
jr z,Logged_0x44E86
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$2B
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44E7C
ld de,$4C25
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Logged_0x44E7C:
ld de,$4C2C
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Logged_0x44E86:
dec [hl]
ld l,$00
bit 1,[hl]
jr z,Logged_0x44E95
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
Logged_0x44E95:
ld l,$1B
ld a,$5A
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44EA4
ld bc,$4872
jp Logged_0x3416
Logged_0x44EA4:
ld bc,$4887
jp Logged_0x3416
Logged_0x44EAA:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x44ECD
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$5B
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44EC6
ld de,$4BD1
call Logged_0x30F0
ret
Logged_0x44EC6:
ld de,$4BDA
call Logged_0x30F0
ret
Logged_0x44ECD:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x44ED7
set 7,[hl]
ret
Logged_0x44ED7:
res 7,[hl]
ret
Logged_0x44EDA:
ld a,[$CA97]
cp $10
jr c,Logged_0x44EE7
ld a,$1C
ld [$D11B],a
ret
Logged_0x44EE7:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x44F02
ld a,$11
ld [$D11B],a
ret
Logged_0x44F02:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x44F4C
ld a,[hl]
and $0F
sub $07
jr nc,Logged_0x44F1F
call Logged_0x355B
and $0F
jr z,Logged_0x44F3D
Logged_0x44F1F:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $07
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
Logged_0x44F3D:
ld a,$2C
ld [$D11B],a
ld de,$4C25
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Logged_0x44F4C:
ld a,[hl]
and $0F
add a,$06
cp $10
jr c,Logged_0x44F5C
call Logged_0x3573
and $0F
jr z,Logged_0x44F7A
Logged_0x44F5C:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$06
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x44F7A:
ld a,$2C
ld [$D11B],a
ld de,$4C2C
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Logged_0x44F89:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x44FB2
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$5C
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x44FA8
ld de,$4BFF
call Logged_0x30F0
ld a,$3F
ld [hli],a
ret
Logged_0x44FA8:
ld de,$4C08
call Logged_0x30F0
ld a,$3F
ld [hli],a
ret
Logged_0x44FB2:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x44FBC
set 7,[hl]
ret
Logged_0x44FBC:
res 7,[hl]
ret
Logged_0x44FBF:
ld a,[$CA97]
cp $10
jr c,Logged_0x44FCC
ld a,$1C
ld [$D11B],a
ret
Logged_0x44FCC:
ld hl,$D116
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x44FD9:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FF
ld [hl],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4500C
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4BB5
call Logged_0x30F0
ret
Logged_0x4500C:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4BBE
call Logged_0x30F0
ret
Logged_0x45018:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4502B
xor a
ld [hld],a
ld de,$4BB5
call Logged_0x30F0
ret
Logged_0x4502B:
xor a
ld [hld],a
ld de,$4BBE
call Logged_0x30F0
ret
Logged_0x45034:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4504D
ld de,$4BB5
call Logged_0x30F0
ret
Logged_0x4504D:
ld de,$4BBE
call Logged_0x30F0
ret
Logged_0x45054:
ld a,[$CA97]
cp $10
jr c,Logged_0x45061
ld a,$1A
ld [$D11B],a
ret
Logged_0x45061:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $20
jr c,Logged_0x45075
cp $E0
jr c,Logged_0x450B0
Logged_0x45075:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr nc,Logged_0x4509F
cp $40
jr nc,Logged_0x450B0
ld a,[hli]
rlca
jr c,Logged_0x4509B
ld a,$5A
ld [hl],a
ld de,$4BED
call Logged_0x30F0
ld a,$3F
ld [hli],a
ret
Logged_0x4509B:
ld a,$13
ld [hl],a
ret
Logged_0x4509F:
ld a,[hli]
rlca
jr nc,Logged_0x4509B
ld a,$5A
ld [hl],a
ld de,$4BF6
call Logged_0x30F0
ld a,$3F
ld [hli],a
ret
Logged_0x450B0:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x450CB
ld a,$11
ld [$D11B],a
ret
Logged_0x450CB:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x4510C
ld a,[hl]
and $0F
sub $07
jr nc,Logged_0x450E8
call Logged_0x355B
and $0F
jr z,Logged_0x45106
Logged_0x450E8:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $07
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x45106:
ld a,$13
ld [$D11B],a
ret
Logged_0x4510C:
ld a,[hl]
and $0F
add a,$06
cp $10
jr c,Logged_0x4511C
call Logged_0x3573
and $0F
jr z,Logged_0x4513A
Logged_0x4511C:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$06
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x4513A:
ld a,$13
ld [$D11B],a
ret
Logged_0x45140:
ld a,[$D10F]
cp $19
jr nc,Logged_0x45155
cp $14
jr nc,Logged_0x4514F
cp $06
jr nc,Logged_0x45155
Logged_0x4514F:
ld bc,$489C
call Logged_0x3416
Logged_0x45155:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x451A1
Logged_0x4515D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x33DA
dec l
dec l
dec [hl]
ret nz
ld l,$1A
ld a,[hli]
rlca
jr c,Logged_0x4517C
ld a,$2B
ld [hl],a
ld de,$4C25
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Logged_0x4517C:
ld a,$5B
ld [hl],a
ld de,$4BDA
call Logged_0x30F0
ret
Logged_0x45186:
ld a,[$D10F]
cp $19
jr nc,Logged_0x4519B
cp $14
jr nc,Unknown_0x45195
cp $06
jr nc,Logged_0x4519B
Unknown_0x45195:
ld bc,$48B1
call Logged_0x3416
Logged_0x4519B:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x451A1:
ld a,[hld]
rlca
jr c,Logged_0x451AD
ld de,$4BC7
call Logged_0x30F0
jr Logged_0x451B3
Logged_0x451AD:
ld de,$4BCC
call Logged_0x30F0
Logged_0x451B3:
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ret
Logged_0x451BC:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x33E9
dec l
dec l
dec [hl]
ret nz
ld l,$1A
ld a,[hli]
rlca
jr c,Logged_0x451D8
ld a,$5B
ld [hl],a
ld de,$4BD1
call Logged_0x30F0
ret
Logged_0x451D8:
ld a,$2B
ld [hl],a
ld de,$4C2C
call Logged_0x30F0
ld a,$1C
ld [hli],a
ret
Unknown_0x451E5:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x451F4
ld de,$4BE3
jr Unknown_0x451F7
Unknown_0x451F4:
ld de,$4BE8
Unknown_0x451F7:
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Unknown_0x45202:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x45210:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x4521F
ld de,$4BE3
jr Logged_0x45222
Unknown_0x4521F:
ld de,$4BE8
Logged_0x45222:
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4522D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Unknown_0x4523B:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Unknown_0x45249
Unknown_0x45243:
ld hl,$D11B
ld a,$45
ld [hld],a
Unknown_0x45249:
ld a,[hld]
rlca
jr c,Unknown_0x45255
ld de,$4BE3
call Logged_0x30F0
jr Unknown_0x4525B
Unknown_0x45255:
ld de,$4BE8
call Logged_0x30F0
Unknown_0x4525B:
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x4526B:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x4527A:
ld a,[$CA97]
cp $10
jr c,Logged_0x45287
ld a,$1C
ld [$D11B],a
ret
Logged_0x45287:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x45294:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x452A2:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x452AF:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x452C1
ld de,$4C17
call Logged_0x30F0
jr Logged_0x452C7
Logged_0x452C1:
ld de,$4C1E
call Logged_0x30F0
Logged_0x452C7:
ld a,$1C
ld [hli],a
ret
Logged_0x452CB:
ld a,[$CA97]
cp $10
jr c,Logged_0x452D8
ld a,$1A
ld [$D11B],a
ret
Logged_0x452D8:
ld hl,$D116
ld a,[hl]
cp $08
jr z,Logged_0x452EA
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x452EA:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x452F4
set 7,[hl]
ret
Logged_0x452F4:
res 7,[hl]
ret
Logged_0x452F7:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x45309
Unknown_0x45301:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x45309:
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x45316
ld de,$4BE3
call Logged_0x30F0
jr Logged_0x4531C
Unknown_0x45316:
ld de,$4BE8
call Logged_0x30F0
Logged_0x4531C:
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Unknown_0x4532E:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Unknown_0x45388
Unknown_0x45338:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Unknown_0x45388
Unknown_0x45342:
ld a,[$CA8E]
and a
jr nz,Unknown_0x4535C
ld a,[$D14A]
cp $05
jr nc,Unknown_0x4535C
ld a,[$D108]
and $7F
jr z,Unknown_0x4535C
ld a,$08
ld [$D11B],a
ret
Unknown_0x4535C:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$01
jr Unknown_0x45388
Unknown_0x45366:
ld a,[$CA8E]
and a
jr nz,Unknown_0x45380
ld a,[$D14A]
cp $05
jr nc,Unknown_0x45380
ld a,[$D108]
and $7F
jr z,Unknown_0x45380
ld a,$09
ld [$D11B],a
ret
Unknown_0x45380:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$01
Unknown_0x45388:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Unknown_0x453A0
ld de,$4C11
jp Logged_0x30F0
Unknown_0x453A0:
ld de,$4C14
jp Logged_0x30F0
Unknown_0x453A6:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Unknown_0x453B9:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Unknown_0x453CC:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x453DE
ld de,$4BE3
call Logged_0x30F0
jr Unknown_0x453E4
Unknown_0x453DE:
ld de,$4BE8
call Logged_0x30F0
Unknown_0x453E4:
ld l,$00
set 2,[hl]
Unknown_0x453E8:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Unknown_0x453F8
Unknown_0x453F8:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x4540A
ld de,$4BE3
call Logged_0x30F0
jr Unknown_0x45410
Unknown_0x4540A:
ld de,$4BE8
call Logged_0x30F0
Unknown_0x45410:
ld l,$00
set 2,[hl]
Unknown_0x45414:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Unknown_0x453CC
Unknown_0x45425:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
call Logged_0x3090
jr Logged_0x45442
call Logged_0x309A
Logged_0x45442:
ld l,$00
set 3,[hl]
ld a,[$D11B]
cp $18
jr z,Logged_0x45470
ld bc,$4510
jp Logged_0x34B7
Logged_0x45453:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
Logged_0x45470:
ld a,$18
ld [$FF00+$85],a
ld a,$A5
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D11F
ld a,$54
ld [hld],a
ld a,$91
ld [hld],a
dec l
ld a,$8F
ld [hl],a
ld l,$00
set 3,[hl]
ld a,[$D11B]
cp $18
jr z,Logged_0x45470
ld bc,$4540
call Logged_0x34B7
jr Logged_0x45453
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$54
ld [hld],a
ld a,$CB
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,$18
ld [$D118],a
call Logged_0x3083
ld de,$4C47
call Logged_0x30F0
ld l,$0C
ld a,$02
ld [hld],a
ld a,$FD
ld [hld],a
ld a,$17
ld [hl],a
ret
Logged_0x454CB:
ld hl,$D11F
ld a,$55
ld [hld],a
ld a,$54
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x454E9
ld a,$5A
ld de,$4C47
jr Logged_0x454EE
Logged_0x454E9:
ld a,$2E
ld de,$4C59
Logged_0x454EE:
ld [$D117],a
call Logged_0x30F0
jr Logged_0x45554
ld a,$81
ld [$D11C],a
ld a,[$CA8E]
cp $06
ret z
ld a,[$D10D]
sub $19
ld b,a
ld a,[$CA87]
sub b
cp $36
ret nc
jr Logged_0x454CB
Logged_0x45510:
ld a,[$D117]
cp $2E
jr z,Logged_0x45545
cp $5A
jr z,Logged_0x45545
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4552E
ld de,$4C4A
jr Logged_0x45531
Logged_0x4552E:
ld de,$4C56
Logged_0x45531:
call Logged_0x30F0
ld a,$08
ld [hli],a
ld l,$1F
ld a,$55
ld [hld],a
ld a,$40
ld [hld],a
ret
ld hl,$D116
dec [hl]
ret nz
Logged_0x45545:
ld de,$4C36
call Logged_0x30F0
ld l,$1F
ld a,$54
ld [hld],a
ld a,$F6
ld [hld],a
ret
Logged_0x45554:
ld a,[$CA8E]
cp $06
jr z,Logged_0x45510
ld a,[$D10D]
sub $19
ld b,a
ld a,[$CA87]
sub b
cp $36
jr nc,Logged_0x45510
ld a,[$CA88]
ld d,a
ld a,[$D10E]
ld e,a
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4557E
xor a
ld [hl],a
ld l,$00
res 3,[hl]
Logged_0x4557E:
ld l,$17
ld a,[hl]
cp $5C
jr z,Logged_0x45597
cp $2D
jr z,Logged_0x455BA
cp $2E
jr z,Logged_0x455E7
cp $5B
jr z,Logged_0x45602
cp $5A
jp z,Logged_0x4562F
ret
Logged_0x45597:
ld a,e
add a,$17
cp d
jr c,Unknown_0x455A9
ld a,e
sub $18
cp d
ret c
ld a,$5B
ld de,$4C4A
jr Logged_0x455AE
Unknown_0x455A9:
ld a,$2D
ld de,$4C56
Logged_0x455AE:
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
jp Logged_0x30F0
Logged_0x455BA:
ld a,e
add a,$46
cp d
jr c,Logged_0x455D6
ld a,e
add a,$17
cp d
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7B
ld [$FF00+hSFXIDLow],a
ld a,$5C
ld [hl],a
ld de,$4C50
jp Logged_0x30F0
Logged_0x455D6:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
ld a,$2E
ld [hl],a
ld de,$4C59
jp Logged_0x30F0
Logged_0x455E7:
ld a,$81
ld [$D11C],a
ld a,e
add a,$46
cp d
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
ld a,$2D
ld [hl],a
ld de,$4C56
jp Logged_0x30F0
Logged_0x45602:
ld a,e
sub $18
cp d
jr c,Logged_0x4561E
ld a,e
sub $47
cp d
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
ld a,$5A
ld [hl],a
ld de,$4C47
jp Logged_0x30F0
Logged_0x4561E:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7B
ld [$FF00+hSFXIDLow],a
ld a,$5C
ld [hl],a
ld de,$4C50
jp Logged_0x30F0
Logged_0x4562F:
ld a,$81
ld [$D11C],a
ld a,e
sub $47
cp d
ret nc
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
ld a,$5B
ld [hl],a
ld de,$4C4A
jp Logged_0x30F0
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$56
ld [hld],a
ld a,$8B
ld [hld],a
ld de,$4C5C
call Logged_0x30F0
ld l,$1A
res 5,[hl]
dec l
xor a
ld [hld],a
dec l
ld [hld],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$02
ld [hld],a
ret
Logged_0x45672:
xor a
ld [hld],a
jp Logged_0x4589D
Logged_0x45677:
xor a
ld [hld],a
ld a,[$CA8E]
cp $07
jp z,Logged_0x4589D
ld a,[hl]
and $0F
cp $01
jp z,Logged_0x4589D
jr Logged_0x456B3
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x456B3
cp $0E
jr z,Logged_0x45672
cp $0A
jr z,Logged_0x456C7
cp $04
jr c,Logged_0x45677
cp $28
jr z,Logged_0x456CA
cp $29
jr z,Logged_0x456D2
cp $04
jr z,Logged_0x456DA
cp $05
jr z,Logged_0x456E2
rra
jr nc,Logged_0x456D2
jr Logged_0x456CA
Logged_0x456B3:
ld l,$1A
ld a,[hl]
and $0F
rst JumpList
dw Logged_0x4570F
dw Logged_0x4570F
dw Logged_0x458C7
dw Logged_0x457BD
dw Logged_0x4585C
dw Unknown_0x45893
dw Logged_0x45934
Logged_0x456C7:
jp Logged_0x3173
Logged_0x456CA:
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x456E8
Logged_0x456D2:
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x456E8
Logged_0x456DA:
ld a,$33
ld c,$26
ld b,$02
jr Logged_0x456E8
Logged_0x456E2:
ld a,$33
ld c,$17
ld b,$02
Logged_0x456E8:
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$4C89
call Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
Logged_0x456FE:
ld de,$4C5C
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
or $01
ld [hld],a
xor a
ld [hld],a
ret
Logged_0x4570F:
ld a,[$D10D]
add a,$2A
ld b,a
ld a,[$CA87]
add a,$2A
cp b
jr c,Logged_0x45739
cp $61
jr nc,Logged_0x45739
ld a,[$CA8E]
cp $07
jr z,Logged_0x45739
ld a,[$C08F]
and $3F
jr nz,Logged_0x45739
ld hl,$D11A
ld a,[hl]
and $F0
or $06
ld [hld],a
ret
Logged_0x45739:
ld hl,$D119
ld a,[hl]
ld d,$40
Logged_0x4573F:
add a,$00
ld e,a
ld a,[de]
cp $80
jr nz,Logged_0x4579C
ld a,[$CA8E]
cp $07
jr z,Logged_0x45798
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $B0
jr c,Logged_0x45798
cp $EC
jr nc,Logged_0x45798
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $60
jr nc,Logged_0x45782
cp $10
ld a,$01
jr nc,Logged_0x45777
dec a
Logged_0x45777:
ld l,$1A
res 7,[hl]
ld de,$4C7F
ld c,$03
jr Logged_0x457AE
Logged_0x45782:
cp $A0
jr c,Logged_0x45798
cp $F0
ld a,$01
jr c,Logged_0x4578D
dec a
Logged_0x4578D:
ld l,$1A
set 7,[hl]
ld de,$4C84
ld c,$03
jr Logged_0x457AE
Logged_0x45798:
xor a
ld [hl],a
jr Logged_0x4573F
Logged_0x4579C:
inc [hl]
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x457A9
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x457A9:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x457AE:
ld [$D118],a
ld a,[hl]
and $F0
or c
ld [hl],a
call Logged_0x30F0
ld a,$01
ld [hli],a
ret
Logged_0x457BD:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x457C6
dec [hl]
ret
Logged_0x457C6:
xor a
ld [$C1CA],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x457E7
ld a,[$C1CA]
and a
jr z,Logged_0x45801
jr Logged_0x457ED
Logged_0x457E7:
ld a,[$C0DD]
and a
jr nz,Logged_0x45801
Logged_0x457ED:
ld c,$2A
ld a,[$D10D]
add a,c
ld b,a
ld a,[$CA87]
add a,c
sub b
cp $14
jr c,Logged_0x45801
cp $80
jr c,Logged_0x45810
Logged_0x45801:
ld hl,$D11A
ld a,[hl]
and $F0
or $04
ld [hl],a
ld a,$FF
ld [$D116],a
ret
Logged_0x45810:
ld hl,$D117
inc [hl]
ld l,$03
ld a,[hl]
add a,$02
ld [hli],a
jr nc,Logged_0x4581D
inc [hl]
Logged_0x4581D:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x45843
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x45854
jp Logged_0x305C
Logged_0x45843:
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3069
Logged_0x45854:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x4585C:
ld hl,$D116
dec [hl]
jp z,Logged_0x456FE
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jp nz,Logged_0x4581D
ld hl,$D117
ld a,[hl]
and a
jp z,Logged_0x456FE
dec [hl]
ld l,$03
ld a,[hl]
sub $02
ld [hli],a
jp nc,Logged_0x4581D
dec [hl]
jp Logged_0x4581D
Unknown_0x45893:
ld hl,$D116
dec [hl]
jp nz,Logged_0x4581D
jp Logged_0x456FE
Logged_0x4589D:
ld hl,$D11A
ld a,[hl]
and $F0
or $02
ld [hl],a
ld c,$2A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
jr c,Logged_0x458B8
set 7,[hl]
jr Logged_0x458BA
Logged_0x458B8:
res 7,[hl]
Logged_0x458BA:
dec l
xor a
ld [hld],a
ld de,$4C8E
call Logged_0x30F0
ld a,$1B
ld [hli],a
ret
Logged_0x458C7:
ld hl,$D116
dec [hl]
jp z,Logged_0x4592E
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jr nz,Logged_0x458ED
ld bc,$4600
call Logged_0x34B7
Logged_0x458ED:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x45917
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3090
ld hl,$D11A
set 7,[hl]
ret
Logged_0x45917:
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x309A
ld hl,$D11A
res 7,[hl]
ret
Logged_0x4592E:
inc l
xor a
ld [hl],a
jp Logged_0x456FE
Logged_0x45934:
ld a,[$CA8E]
cp $07
jp z,Logged_0x456FE
ld a,[$CA61]
ld h,a
ld a,[$CA62]
and $FC
ld l,a
ld de,$FFB0
add hl,de
ld d,h
ld e,l
ld a,[$D104]
cp d
jr z,Logged_0x45971
jr c,Unknown_0x4597C
Logged_0x45954:
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jp nz,Logged_0x4589D
jp Logged_0x30E6
Logged_0x45971:
ld a,[$D103]
and $FC
cp e
jp z,Logged_0x456FE
jr nc,Logged_0x45954
Unknown_0x4597C:
xor a
ld [$C1CA],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Unknown_0x4599F
ld a,[$C1CA]
and a
jp nz,Logged_0x30D4
jp Logged_0x456FE
Unknown_0x4599F:
ld a,[$C0DD]
and a
jp z,Logged_0x30D9
jp Logged_0x456FE
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$59
ld [hld],a
ld a,$C3
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$4CC4
call Logged_0x30F0
ret
ld a,$81
ld [$D11C],a
ld a,[$C08F]
and a
ret nz
ld de,$4CCD
call Logged_0x30F0
ld a,$1E
ld [hli],a
ld l,$1F
ld a,$59
ld [hld],a
ld a,$DF
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and $03
jr nz,Logged_0x459F4
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6A
ld [$FF00+hSFXIDLow],a
Logged_0x459F4:
dec [hl]
ret nz
ld de,$4CC4
call Logged_0x30F0
ld l,$1F
ld a,$59
ld [hld],a
ld a,$C3
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6B
ld [$FF00+hSFXIDLow],a
ld bc,$4ECC
jp Logged_0x342D
ld hl,$D100
set 3,[hl]
ld bc,$4040
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$09
ld a,$FA
ld [hli],a
ld a,$05
ld [hl],a
ld de,$4CA0
call Logged_0x30F0
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x45A5B
ld de,$5A6C
jr Logged_0x45A5E
Logged_0x45A5B:
ld de,$5A78
Logged_0x45A5E:
ld l,$1F
ld a,d
ld [hld],a
ld [hl],e
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6C
ld [$FF00+hSFXIDLow],a
ret
ld hl,$D105
ld a,[hl]
sub $02
ld [hli],a
jr nc,Logged_0x45A82
dec [hl]
jr Logged_0x45A82
ld hl,$D105
ld a,[hl]
add a,$02
ld [hli],a
jr nc,Logged_0x45A82
inc [hl]
Logged_0x45A82:
ld a,[$D11B]
and a
jr nz,Logged_0x45AAF
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr z,Logged_0x45AAF
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and a
ret z
Logged_0x45AAF:
xor a
ld [$D100],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$5A
ld [hld],a
ld a,$D3
ld [hld],a
ld l,$0C
ld a,$03
ld [hld],a
ld a,$FC
ld [hld],a
ld l,$00
set 3,[hl]
xor a
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$5B
ld [hld],a
ld a,$03
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x45AFB
res 7,[hl]
ld a,$17
ld [$D10F],a
ret
Logged_0x45AFB:
set 7,[hl]
ld a,$18
ld [$D10F],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x45B27
xor a
ld [$D100],a
ret
Logged_0x45B27:
ld hl,$D105
ld a,[$D11A]
rlca
jr c,Logged_0x45B69
ld a,[hl]
and $0F
sub $04
jr nc,Logged_0x45B3F
call Logged_0x355B
and $0F
jp z,Logged_0x45B61
Logged_0x45B3F:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x45B61
call Logged_0x30CA
jr Logged_0x45B99
Logged_0x45B61:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x45B69:
ld a,[hl]
and $0F
add a,$03
cp $10
jr c,Logged_0x45B79
call Logged_0x3573
and $0F
jr z,Logged_0x45B61
Logged_0x45B79:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x45B61
call Logged_0x30BD
Logged_0x45B99:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x45BA2
dec [hl]
ret
Logged_0x45BA2:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x45BB5
cp $E8
ret c
Logged_0x45BB5:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $E0
ret nc
cp $20
ret c
cp $C0
jr nc,Logged_0x45BCC
cp $40
ret nc
Logged_0x45BCC:
ld hl,$D11F
ld a,$5B
ld [hld],a
ld a,$DB
ld [hld],a
ld a,$14
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x45C01
res 7,[hl]
ld de,$4D93
jr Logged_0x45C06
Logged_0x45C01:
set 7,[hl]
ld de,$4D9C
Logged_0x45C06:
call Logged_0x30F0
ld a,$14
ld [hli],a
ld l,$00
res 4,[hl]
res 3,[hl]
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$23
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$74
ld [$FF00+hSFXIDLow],a
ret
ld a,[$CA8E]
cp $48
jr nz,Logged_0x45C2F
ld a,$81
ld [$D11C],a
Logged_0x45C2F:
ld hl,$D116
dec [hl]
ld a,[hl]
cp $0C
jr z,Logged_0x45C51
cp $06
jr z,Logged_0x45C57
and a
ret nz
ld a,$E8
ld [$D109],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$5D
ld [hld],a
xor a
ld [$D11B],a
jr Logged_0x45CCA
Logged_0x45C51:
ld a,$F4
ld [$D109],a
ret
Logged_0x45C57:
ld a,$EE
ld [$D109],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x45CBC
ld a,[$CA8E]
cp $48
jr nz,Unknown_0x45CB2
ld a,[hl]
cp $0A
jr nz,Logged_0x45CBA
Logged_0x45C70:
dec l
ld a,[hl]
and $0F
cp $03
jr z,Logged_0x45C7D
ld de,$4D1A
jr Logged_0x45C80
Logged_0x45C7D:
ld de,$4D1F
Logged_0x45C80:
call Logged_0x30F0
Logged_0x45C83:
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,$02
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x45CA9
ld bc,$3407
jr Logged_0x45CAC
Logged_0x45CA9:
ld bc,$33F8
Logged_0x45CAC:
ld l,$1F
ld a,b
ld [hld],a
ld [hl],c
ret
Unknown_0x45CB2:
ld a,[hl]
cp $0A
jp z,Logged_0x3173
jr Logged_0x45C70
Logged_0x45CBA:
xor a
ld [hl],a
Logged_0x45CBC:
ld a,[$D11A]
and $0F
rst JumpList
dw Logged_0x45CE2
dw Logged_0x45CE2
dw Logged_0x45DDC
dw Logged_0x45DF8
Logged_0x45CCA:
ld hl,$D11A
ld a,[hl]
and $F0
or $01
ld [hl],a
rlca
jr c,Logged_0x45CDC
ld de,$4D81
jp Logged_0x30F0
Logged_0x45CDC:
ld de,$4D8A
jp Logged_0x30F0
Logged_0x45CE2:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $20
jr c,Logged_0x45CF6
cp $E0
jr c,Logged_0x45D32
Logged_0x45CF6:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $D0
jr nc,Logged_0x45D15
cp $30
jr nc,Logged_0x45D32
ld a,[hl]
rlca
jp c,Logged_0x45DC4
ld de,$4DA5
jr Logged_0x45D1D
Logged_0x45D15:
ld a,[hl]
rlca
jp nc,Logged_0x45DC9
ld de,$4DAC
Logged_0x45D1D:
rrca
and $F0
or $03
ld [hl],a
call Logged_0x30F0
ld a,$32
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$64
ld [$FF00+hSFXIDLow],a
ret
Logged_0x45D32:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x45D56
ld a,$30
ld [$D116],a
ld hl,$D11F
ld a,$5E
ld [hld],a
ld a,$25
ld [hld],a
ret
Logged_0x45D56:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x45D94
ld a,[hl]
and $0F
sub $04
jr nc,Logged_0x45D74
call Logged_0x355B
and $0F
jp z,Logged_0x45DC9
Logged_0x45D74:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3090
jr Logged_0x45DC9
Logged_0x45D94:
ld a,[hl]
and $0F
add a,$03
cp $10
jr c,Logged_0x45DA4
call Logged_0x3573
and $0F
jr z,Logged_0x45DC4
Logged_0x45DA4:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x309A
jr Logged_0x45DC4
Logged_0x45DC4:
ld de,$4D2B
jr Logged_0x45DCC
Logged_0x45DC9:
ld de,$4D24
Logged_0x45DCC:
ld hl,$D11A
ld a,[hl]
and $F0
or $02
ld [hl],a
call Logged_0x30F0
ld a,$20
ld [hli],a
ret
Logged_0x45DDC:
ld hl,$D116
ld a,[hl]
cp $14
jr z,Logged_0x45DEB
dec [hl]
jp nz,Logged_0x3308
jp Logged_0x45CCA
Logged_0x45DEB:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x45DF5
set 7,[hl]
ret
Logged_0x45DF5:
res 7,[hl]
ret
Logged_0x45DF8:
ld hl,$D116
dec [hl]
ld a,[hl]
cp $10
jr z,Logged_0x45E13
and a
ret nz
ld a,$30
ld [hl],a
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$25
ld [hld],a
ld l,$00
set 3,[hl]
ret
Logged_0x45E13:
ld a,[$D11A]
rlca
jr c,Logged_0x45E1F
ld bc,$48C6
jp Logged_0x3416
Logged_0x45E1F:
ld bc,$48DB
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ld l,$00
jr z,Logged_0x45E3D
ld a,[$C08F]
and $01
ret nz
ld a,[hl]
xor $10
ld [hl],a
ret
Logged_0x45E3D:
ld hl,$D100
set 4,[hl]
xor a
ld [$D11B],a
ld a,$64
ld [$D116],a
ld l,$1F
ld a,$5B
ld [hld],a
ld a,$03
ld [hld],a
ret
ld hl,$D116
ld a,[hl]
and a
jr nz,Logged_0x45E64
ld l,$00
bit 1,[hl]
jr nz,Logged_0x45E73
xor a
ld [hl],a
ret
Logged_0x45E64:
dec [hl]
jr nz,Logged_0x45E73
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ld de,$4DDA
call Logged_0x30F0
Logged_0x45E73:
ld bc,$45A0
jr Logged_0x45E9A
ld hl,$D116
ld a,[hl]
and a
jr nz,Logged_0x45E88
ld l,$00
bit 1,[hl]
jr nz,Logged_0x45E97
xor a
ld [hl],a
ret
Logged_0x45E88:
dec [hl]
jr nz,Logged_0x45E97
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ld de,$4DD5
call Logged_0x30F0
Logged_0x45E97:
ld bc,$4560
Logged_0x45E9A:
call Logged_0x34CE
ld hl,$D11B
ld a,[hld]
and a
ret z
cp $0B
jp c,Logged_0x45C83
cp $0F
jp nc,Logged_0x45C83
ld a,[hld]
rlca
jr c,Logged_0x45EB6
ld de,$4DD5
jr Logged_0x45EB9
Logged_0x45EB6:
ld de,$4DDA
Logged_0x45EB9:
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$C8
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ld l,$00
jr z,Logged_0x45EE0
ld a,[$C08F]
and $01
ret nz
ld a,[hl]
xor $10
ld [hl],a
ret
Logged_0x45EE0:
xor a
ld [hl],a
ret
ld hl,$D11F
ld a,$5E
ld [hld],a
ld a,$ED
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$01
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x45FBF
ld a,[$D11B]
rst JumpList
dw Logged_0x45FBF
dw Logged_0x461DB
dw Logged_0x462E3
dw Logged_0x462EB
dw Unknown_0x464E7
dw Logged_0x464F1
dw Logged_0x46517
dw Logged_0x4652A
dw Logged_0x46451
dw Logged_0x4645B
dw Logged_0x3182
dw Logged_0x4648D
dw Logged_0x46494
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x463B4
dw Logged_0x463DD
dw Logged_0x45FFB
dw Logged_0x465A0
dw Logged_0x463F8
dw Logged_0x4637F
dw Logged_0x46387
dw Logged_0x46319
dw Logged_0x4634C
dw Logged_0x4656E
dw Logged_0x4653D
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x464DD
dw Unknown_0x464D3
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x4605F
dw Logged_0x460A6
dw Logged_0x45FBF
dw Logged_0x3290
dw Logged_0x461FB
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x45FBF
dw Logged_0x464A5
dw Logged_0x464B7
dw Logged_0x45FBF
dw Logged_0x45FBF
dw Logged_0x463C3
dw Logged_0x463EB
dw Logged_0x46043
dw Logged_0x3371
dw Logged_0x46421
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4633E
dw Logged_0x46371
dw Logged_0x4658F
dw Logged_0x4655E
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x4618C
dw Logged_0x46170
dw Logged_0x45FBF
Logged_0x45FBF:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x45FEF
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4DDF
call Logged_0x30F0
ret
Logged_0x45FEF:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4DE8
call Logged_0x30F0
ret
Logged_0x45FFB:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x46024
xor a
ld [hld],a
ld l,$0B
ld a,[hl]
cp $F6
jr nz,Logged_0x4601B
ld a,$FA
ld [hl],a
ld de,$4E69
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
Logged_0x4601B:
ld de,$4DDF
call Logged_0x30F0
xor a
ld [hl],a
ret
Unknown_0x46024:
xor a
ld [hld],a
ld l,$0C
ld a,[hl]
cp $09
jr nz,Unknown_0x4603A
ld a,$05
ld [hl],a
ld de,$4E70
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
Unknown_0x4603A:
ld de,$4DE8
call Logged_0x30F0
xor a
ld [hl],a
ret
Logged_0x46043:
ld hl,$D116
ld a,[hl]
and a
jp z,Logged_0x329F
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Unknown_0x46059
ld de,$4DDF
jp Logged_0x30F0
Unknown_0x46059:
ld de,$4DE8
jp Logged_0x30F0
Logged_0x4605F:
ld a,[$CA97]
cp $10
jr c,Logged_0x46070
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46070:
ld hl,$D116
dec [hl]
ret nz
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4608B
ld l,$0C
ld a,$05
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$4E57
jr Logged_0x46096
Logged_0x4608B:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$FA
ld [hld],a
ld de,$4E60
Logged_0x46096:
call Logged_0x30F0
inc l
ld a,$02
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $02
ld [hld],a
ret
Logged_0x460A6:
ld a,[$CA97]
cp $10
jr c,Logged_0x460B7
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x460B7:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x460D2
ld a,$11
ld [$D11B],a
ret
Logged_0x460D2:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x4611D
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x460EF
call Logged_0x355B
and $0F
jr z,Logged_0x4610D
Logged_0x460EF:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
Logged_0x4610D:
ld a,[$D117]
and a
jr z,Logged_0x46118
ld de,$4E41
jr Logged_0x46154
Logged_0x46118:
ld de,$4DFF
jr Logged_0x46164
Logged_0x4611D:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x4612D
call Logged_0x3573
and $0F
jr z,Logged_0x4614B
Logged_0x4612D:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x4614B:
ld a,[$D117]
and a
jr z,Logged_0x46161
ld de,$4E4C
Logged_0x46154:
call Logged_0x30F0
ld a,$24
ld [hli],a
dec [hl]
ld a,$5A
ld [$D11B],a
ret
Logged_0x46161:
ld de,$4E08
Logged_0x46164:
call Logged_0x30F0
ld a,$26
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x46170:
ld a,[$CA97]
cp $10
jr c,Logged_0x46181
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46181:
ld hl,$D116
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Logged_0x4618C:
ld a,[$CA97]
cp $10
jr c,Logged_0x4619D
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4619D:
ld hl,$D116
ld a,[hl]
cp $0F
jr z,Logged_0x461BE
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x461B8
ld de,$4E57
jp Logged_0x30F0
Logged_0x461B8:
ld de,$4E60
jp Logged_0x30F0
Logged_0x461BE:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x461D0
set 7,[hl]
ld l,$0C
ld a,$09
ld [hld],a
ld a,$FA
ld [hld],a
ret
Logged_0x461D0:
res 7,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$F6
ld [hld],a
ret
Logged_0x461DB:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x461F4
ld de,$4DDF
call Logged_0x30F0
ret
Logged_0x461F4:
ld de,$4DE8
call Logged_0x30F0
ret
Logged_0x461FB:
ld a,[$CA97]
cp $10
jr c,Logged_0x4620C
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4620C:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x46220
cp $E8
jr c,Logged_0x46253
Logged_0x46220:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr nc,Logged_0x46242
cp $40
jr nc,Logged_0x46253
ld a,[hli]
rlca
jr c,Logged_0x4623E
ld de,$4DF1
jr Logged_0x46249
Logged_0x4623E:
ld a,$13
ld [hl],a
ret
Logged_0x46242:
ld a,[hli]
rlca
jr nc,Logged_0x4623E
ld de,$4DF8
Logged_0x46249:
ld a,$2D
ld [hl],a
call Logged_0x30F0
ld a,$14
ld [hli],a
ret
Logged_0x46253:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x4626E
ld a,$11
ld [$D11B],a
ret
Logged_0x4626E:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x462AF
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x4628B
call Logged_0x355B
and $0F
jr z,Logged_0x462A9
Logged_0x4628B:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x462A9:
ld a,$13
ld [$D11B],a
ret
Logged_0x462AF:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x462BF
call Logged_0x3573
and $0F
jr z,Logged_0x462DD
Logged_0x462BF:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x462DD:
ld a,$13
ld [$D11B],a
ret
Logged_0x462E3:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x462F1
Logged_0x462EB:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x462F1:
ld a,[hld]
rlca
jr c,Logged_0x462FA
ld de,$4E11
jr Logged_0x462FD
Logged_0x462FA:
ld de,$4E14
Logged_0x462FD:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x46319:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46328
ld de,$4E17
jr Logged_0x4632B
Logged_0x46328:
ld de,$4E20
Logged_0x4632B:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4633E:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x4634C:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4635B
ld de,$4E17
jr Logged_0x4635E
Logged_0x4635B:
ld de,$4E20
Logged_0x4635E:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x46371:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4637F:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x4638D
Logged_0x46387:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x4638D:
ld a,[hld]
rlca
jr c,Logged_0x46396
ld de,$4E17
jr Logged_0x46399
Logged_0x46396:
ld de,$4E20
Logged_0x46399:
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x463B4:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x463C3:
ld a,[$CA97]
cp $10
jr c,Logged_0x463D0
ld a,$1C
ld [$D11B],a
ret
Logged_0x463D0:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x463DD:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x463EB:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x463F8:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46407
ld de,$4E33
jr Logged_0x4640A
Logged_0x46407:
ld de,$4E3A
Logged_0x4640A:
call Logged_0x30F0
ld a,$1A
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x46421:
ld a,[$CA97]
cp $10
jr c,Logged_0x46432
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46432:
ld hl,$D116
ld a,[hl]
cp $09
jr z,Logged_0x46444
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x46444:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x4644E
set 7,[hl]
ret
Logged_0x4644E:
res 7,[hl]
ret
Logged_0x46451:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x46463
Logged_0x4645B:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x46463:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4646D
ld de,$4E17
jr Logged_0x46470
Logged_0x4646D:
ld de,$4E20
Logged_0x46470:
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x4648D:
ld a,$3B
ld [$D11B],a
jr Logged_0x46499
Logged_0x46494:
ld a,$3C
ld [$D11B],a
Logged_0x46499:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld a,$02
ld [$D118],a
ret
Logged_0x464A5:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld de,$4DFF
jr Logged_0x464C7
Logged_0x464B7:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld de,$4E08
Logged_0x464C7:
call Logged_0x30F0
ld a,$26
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Unknown_0x464D3:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x464F9
Unknown_0x464DD:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x464F9
Unknown_0x464E7:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x464F9
Logged_0x464F1:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x464F9:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Logged_0x46511
ld de,$4E29
jp Logged_0x30F0
Logged_0x46511:
ld de,$4E2E
jp Logged_0x30F0
Logged_0x46517:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x4652A:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x4653D:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4654C
ld de,$4E17
jr Logged_0x4654F
Logged_0x4654C:
ld de,$4E20
Logged_0x4654F:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4655E:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x4656E
Logged_0x4656E:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4657D
ld de,$4E17
jr Logged_0x46580
Logged_0x4657D:
ld de,$4E20
Logged_0x46580:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4658F:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4653D
Logged_0x465A0:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$65
ld [hld],a
ld a,$BF
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$65
ld [hld],a
ld a,$D3
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x46691
ld a,[$D11B]
rst JumpList
dw Logged_0x46691
dw Logged_0x46748
dw Logged_0x46874
dw Logged_0x4687C
dw Logged_0x46A32
dw Logged_0x46A3C
dw Logged_0x46A62
dw Logged_0x46A75
dw Logged_0x469E2
dw Logged_0x469EC
dw Logged_0x3182
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46945
dw Logged_0x4696E
dw Logged_0x466CB
dw Logged_0x46AEB
dw Logged_0x46989
dw Logged_0x46910
dw Logged_0x46918
dw Logged_0x468AA
dw Logged_0x468DD
dw Logged_0x46AB9
dw Logged_0x46A88
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x46A28
dw Logged_0x46A1E
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x466E7
dw Logged_0x4672C
dw Logged_0x46691
dw Logged_0x3290
dw Logged_0x46769
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46954
dw Logged_0x4697C
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x469B2
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x468CF
dw Logged_0x46902
dw Logged_0x46ADA
dw Logged_0x46AA9
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x46691
dw Logged_0x46691
dw Logged_0x46691
Logged_0x46691:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x466C0
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4E77
jp Logged_0x30F0
Logged_0x466C0:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4E80
jp Logged_0x30F0
Logged_0x466CB:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x466DE
xor a
ld [hld],a
ld de,$4E77
call Logged_0x30F0
ret
Logged_0x466DE:
xor a
ld [hld],a
ld de,$4E80
call Logged_0x30F0
ret
Logged_0x466E7:
ld a,[$CA97]
cp $10
jr c,Logged_0x466F8
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x466F8:
ld hl,$D116
dec [hl]
jr z,Logged_0x46714
ld a,[hl]
cp $19
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x4670E
ld bc,$491A
jp Logged_0x3416
Logged_0x4670E:
ld bc,$492F
jp Logged_0x3416
Logged_0x46714:
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46722
ld de,$4EA3
jr Logged_0x46725
Logged_0x46722:
ld de,$4EAA
Logged_0x46725:
call Logged_0x30F0
ld a,$32
ld [hli],a
ret
Logged_0x4672C:
ld a,[$CA97]
cp $10
jr c,Logged_0x4673D
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4673D:
ld hl,$D116
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Logged_0x46748:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4675F
ld de,$4E77
jr Logged_0x46762
Logged_0x4675F:
ld de,$4E80
Logged_0x46762:
call Logged_0x30F0
ld a,$64
ld [hli],a
ret
Logged_0x46769:
ld a,[$CA97]
cp $10
jr c,Logged_0x4677A
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4677A:
ld a,[$CA8E]
cp $51
jr z,Logged_0x467CF
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x467CF
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $1C
jr c,Logged_0x4679C
cp $E4
jr c,Logged_0x467CF
Logged_0x4679C:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $B8
jr nc,Logged_0x467BE
cp $48
jr nc,Logged_0x467CF
ld a,[hli]
rlca
jr c,Logged_0x467BA
ld de,$4E89
jr Logged_0x467C5
Logged_0x467BA:
ld a,$13
ld [hl],a
ret
Logged_0x467BE:
ld a,[hli]
rlca
jr nc,Logged_0x467BA
ld de,$4E96
Logged_0x467C5:
ld a,$2D
ld [hl],a
call Logged_0x30F0
ld a,$29
ld [hli],a
ret
Logged_0x467CF:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x467EA
ld a,$11
ld [$D11B],a
ret
Logged_0x467EA:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x4682B
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x46807
call Logged_0x355B
and $0F
jr z,Logged_0x4685F
Logged_0x46807:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
ld a,$13
ld [$D11B],a
ret
Logged_0x4682B:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x4683B
call Logged_0x3573
and $0F
jr z,Logged_0x4685F
Logged_0x4683B:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
ld a,$13
ld [$D11B],a
ret
Logged_0x4685F:
ld a,[$C08F]
rra
jr c,Logged_0x46869
ld hl,$D114
inc [hl]
Logged_0x46869:
ld hl,$D116
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Logged_0x46874:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x46882
Logged_0x4687C:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x46882:
ld a,[hld]
rlca
jr c,Logged_0x4688B
ld de,$4EB1
jr Logged_0x4688E
Logged_0x4688B:
ld de,$4EB4
Logged_0x4688E:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x468AA:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x468B9
ld de,$4EB7
jr Logged_0x468BC
Logged_0x468B9:
ld de,$4EC0
Logged_0x468BC:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x468CF:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x468DD:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x468EC
ld de,$4EB7
jr Logged_0x468EF
Logged_0x468EC:
ld de,$4EC0
Logged_0x468EF:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x46902:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x46910:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x4691E
Logged_0x46918:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x4691E:
ld a,[hld]
rlca
jr c,Logged_0x46927
ld de,$4EB7
jr Logged_0x4692A
Logged_0x46927:
ld de,$4EC0
Logged_0x4692A:
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x46945:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x46954:
ld a,[$CA97]
cp $10
jr c,Logged_0x46961
ld a,$1C
ld [$D11B],a
ret
Logged_0x46961:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x4696E:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x4697C:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x46989:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46998
ld de,$4ED3
jr Logged_0x4699B
Logged_0x46998:
ld de,$4EDA
Logged_0x4699B:
call Logged_0x30F0
ld a,$11
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x469B2:
ld a,[$CA97]
cp $10
jr c,Logged_0x469C3
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x469C3:
ld hl,$D116
ld a,[hl]
cp $06
jr z,Logged_0x469D5
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x469D5:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x469DF
set 7,[hl]
ret
Logged_0x469DF:
res 7,[hl]
ret
Logged_0x469E2:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x469F4
Logged_0x469EC:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x469F4:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x469FE
ld de,$4EB7
jr Logged_0x46A01
Logged_0x469FE:
ld de,$4EC0
Logged_0x46A01:
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x46A1E:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x46A44
Logged_0x46A28:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x46A44
Logged_0x46A32:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x46A44
Logged_0x46A3C:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x46A44:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Logged_0x46A5C
ld de,$4EC9
jp Logged_0x30F0
Logged_0x46A5C:
ld de,$4ECE
jp Logged_0x30F0
Logged_0x46A62:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x46A75:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x46A88:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46A97
ld de,$4EB7
jr Logged_0x46A9A
Logged_0x46A97:
ld de,$4EC0
Logged_0x46A9A:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x46AA9:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x46AB9
Logged_0x46AB9:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46AC8
ld de,$4EB7
jr Logged_0x46ACB
Logged_0x46AC8:
ld de,$4EC0
Logged_0x46ACB:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x46ADA:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x46A88
Logged_0x46AEB:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld hl,$D11F
ld a,$6B
ld [hld],a
ld a,$15
ld [hld],a
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7C
ld [$FF00+hSFXIDLow],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x46B25
dec [hl]
jr nz,Logged_0x46B25
ld de,$4EF3
call Logged_0x30F0
Logged_0x46B25:
ld bc,$4610
jr Logged_0x46B52
ld hl,$D11F
ld a,$6B
ld [hld],a
ld a,$3F
ld [hld],a
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7C
ld [$FF00+hSFXIDLow],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x46B4F
dec [hl]
jr nz,Logged_0x46B4F
ld de,$4EF8
call Logged_0x30F0
Logged_0x46B4F:
ld bc,$4630
Logged_0x46B52:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x46B63
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x46B63:
jp Logged_0x34CE
ld hl,$D11F
ld a,$6B
ld [hld],a
ld a,$70
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$6B
ld [hld],a
ld a,$84
ld [hld],a
ld l,$1A
res 5,[hl]
jp Logged_0x46C42
ld a,[$D11B]
rst JumpList
dw Logged_0x46C42
dw Logged_0x46E6F
dw Logged_0x46F7C
dw Logged_0x46F84
dw Logged_0x47180
dw Logged_0x4718A
dw Logged_0x471B0
dw Logged_0x471C3
dw Logged_0x470EA
dw Logged_0x470F4
dw Logged_0x3182
dw Logged_0x47126
dw Logged_0x4712D
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x4704D
dw Logged_0x47076
dw Logged_0x46C7E
dw Logged_0x47239
dw Logged_0x47091
dw Logged_0x47018
dw Logged_0x47020
dw Logged_0x46FB2
dw Logged_0x46FE5
dw Logged_0x47207
dw Logged_0x471D6
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x47176
dw Logged_0x4716C
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x46CE4
dw Logged_0x46D38
dw Logged_0x46C42
dw Logged_0x3290
dw Logged_0x46E8D
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x46C42
dw Logged_0x4713E
dw Logged_0x47150
dw Logged_0x46C42
dw Logged_0x46C42
dw Logged_0x4705C
dw Logged_0x47084
dw Logged_0x46CC6
dw Logged_0x3371
dw Logged_0x470BA
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x46FD7
dw Logged_0x4700A
dw Logged_0x47228
dw Logged_0x471F7
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x46E1E
dw Logged_0x46E02
dw Logged_0x46C42
Logged_0x46C42:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x46C72
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$493D
call Logged_0x30F0
ret
Logged_0x46C72:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$4946
call Logged_0x30F0
ret
Logged_0x46C7E:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x46CA7
xor a
ld [hld],a
ld l,$0B
ld a,[hl]
cp $F6
jr nz,Logged_0x46C9E
ld a,$FA
ld [hl],a
ld de,$49DB
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
Logged_0x46C9E:
ld de,$493D
call Logged_0x30F0
xor a
ld [hl],a
ret
Unknown_0x46CA7:
xor a
ld [hld],a
ld l,$0C
ld a,[hl]
cp $09
jr nz,Unknown_0x46CBD
ld a,$05
ld [hl],a
ld de,$49E2
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
Unknown_0x46CBD:
ld de,$4946
call Logged_0x30F0
xor a
ld [hl],a
ret
Logged_0x46CC6:
ld hl,$D116
ld a,[hl]
and a
jp z,Logged_0x329F
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Unknown_0x46CDD
ld de,$493D
call Logged_0x30F0
ret
Unknown_0x46CDD:
ld de,$4946
call Logged_0x30F0
ret
Logged_0x46CE4:
ld a,[$CA97]
cp $10
jr c,Logged_0x46CF5
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46CF5:
ld hl,$D116
dec [hl]
ret nz
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46D10
ld l,$0C
ld a,$05
ld [hld],a
ld a,$F6
ld [hld],a
ld de,$49C9
jr Logged_0x46D1B
Logged_0x46D10:
ld l,$0C
ld a,$09
ld [hld],a
ld a,$FA
ld [hld],a
ld de,$49D2
Logged_0x46D1B:
call Logged_0x30F0
inc l
ld a,$02
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $21
ld [hld],a
ld l,$00
bit 1,[hl]
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
ret
Logged_0x46D38:
ld a,[$CA97]
cp $10
jr c,Logged_0x46D49
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46D49:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x46D64
ld a,$11
ld [$D11B],a
ret
Logged_0x46D64:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x46DAF
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x46D81
call Logged_0x355B
and $0F
jr z,Logged_0x46D9F
Logged_0x46D81:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
Logged_0x46D9F:
ld a,[$D117]
and a
jr z,Logged_0x46DAA
ld de,$49B3
jr Logged_0x46DE6
Logged_0x46DAA:
ld de,$4969
jr Logged_0x46DF6
Logged_0x46DAF:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x46DBF
call Logged_0x3573
and $0F
jr z,Logged_0x46DDD
Logged_0x46DBF:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x46DDD:
ld a,[$D117]
and a
jr z,Logged_0x46DF3
ld de,$49BE
Logged_0x46DE6:
call Logged_0x30F0
ld a,$24
ld [hli],a
dec [hl]
ld a,$5A
ld [$D11B],a
ret
Logged_0x46DF3:
ld de,$4976
Logged_0x46DF6:
call Logged_0x30F0
ld a,$3D
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x46E02:
ld a,[$CA97]
cp $10
jr c,Logged_0x46E13
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46E13:
ld hl,$D116
dec [hl]
ret nz
ld a,$13
ld [$D11B],a
ret
Logged_0x46E1E:
ld a,[$CA97]
cp $10
jr c,Logged_0x46E2F
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46E2F:
ld hl,$D116
ld a,[hl]
cp $0F
jr z,Logged_0x46E52
dec [hl]
jp nz,Logged_0x3308
ld l,$1B
ld a,$2E
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46E4B
ld de,$49C9
call Logged_0x30F0
ret
Logged_0x46E4B:
ld de,$49D2
call Logged_0x30F0
ret
Logged_0x46E52:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x46E64
set 7,[hl]
ld l,$0C
ld a,$09
ld [hld],a
ld a,$FA
ld [hld],a
ret
Logged_0x46E64:
res 7,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$F6
ld [hld],a
ret
Logged_0x46E6F:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46E87
ld de,$493D
jp Logged_0x30F0
Logged_0x46E87:
ld de,$4946
jp Logged_0x30F0
Logged_0x46E8D:
ld a,[$CA97]
cp $10
jr c,Logged_0x46E9E
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x46E9E:
ld a,[$CA8E]
cp $C1
jr z,Logged_0x46EEC
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x46EB9
cp $E8
jr c,Logged_0x46EEC
Logged_0x46EB9:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr nc,Logged_0x46EDB
cp $40
jr nc,Logged_0x46EEC
ld a,[hli]
rlca
jr c,Logged_0x46ED7
ld de,$494F
jr Logged_0x46EE2
Logged_0x46ED7:
ld a,$13
ld [hl],a
ret
Logged_0x46EDB:
ld a,[hli]
rlca
jr nc,Logged_0x46ED7
ld de,$495C
Logged_0x46EE2:
ld a,$2D
ld [hl],a
call Logged_0x30F0
ld a,$17
ld [hli],a
ret
Logged_0x46EEC:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x46F07
ld a,$11
ld [$D11B],a
ret
Logged_0x46F07:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x46F48
ld a,[hl]
and $0F
sub $06
jr nc,Logged_0x46F24
call Logged_0x355B
and $0F
jr z,Logged_0x46F42
Logged_0x46F24:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x46F42:
ld a,$13
ld [$D11B],a
ret
Logged_0x46F48:
ld a,[hl]
and $0F
add a,$05
cp $10
jr c,Logged_0x46F58
call Logged_0x3573
and $0F
jr z,Logged_0x46F76
Logged_0x46F58:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x46F76:
ld a,$13
ld [$D11B],a
ret
Logged_0x46F7C:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x46F8A
Logged_0x46F84:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x46F8A:
ld a,[hld]
rlca
jr c,Logged_0x46F93
ld de,$4983
jr Logged_0x46F96
Logged_0x46F93:
ld de,$4986
Logged_0x46F96:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x46FB2:
ld hl,$D11B
ld a,$46
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46FC1
ld de,$4989
jr Logged_0x46FC4
Logged_0x46FC1:
ld de,$4992
Logged_0x46FC4:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x46FD7:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x46FE5:
ld hl,$D11B
ld a,$47
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x46FF4
ld de,$4989
jr Logged_0x46FF7
Logged_0x46FF4:
ld de,$4992
Logged_0x46FF7:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x4700A:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x47018:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x47026
Logged_0x47020:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x47026:
ld a,[hld]
rlca
jr c,Logged_0x4702F
ld de,$4989
jr Logged_0x47032
Logged_0x4702F:
ld de,$4992
Logged_0x47032:
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x4704D:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x4705C:
ld a,[$CA97]
cp $10
jr c,Logged_0x47069
ld a,$1C
ld [$D11B],a
ret
Logged_0x47069:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x47076:
ld hl,$D11B
ld a,$40
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
Logged_0x47084:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32F9
ld a,$00
ld [$D11B],a
ret
Logged_0x47091:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x470A0
ld de,$49A5
jr Logged_0x470A3
Logged_0x470A0:
ld de,$49AC
Logged_0x470A3:
call Logged_0x30F0
ld a,$1A
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x470BA:
ld a,[$CA97]
cp $10
jr c,Logged_0x470CB
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x470CB:
ld hl,$D116
ld a,[hl]
cp $09
jr z,Logged_0x470DD
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x470DD:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x470E7
set 7,[hl]
ret
Logged_0x470E7:
res 7,[hl]
ret
Logged_0x470EA:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x470FC
Logged_0x470F4:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x470FC:
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x47106
ld de,$4989
jr Logged_0x47109
Logged_0x47106:
ld de,$4992
Logged_0x47109:
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x47126:
ld a,$3B
ld [$D11B],a
jr Logged_0x47132
Logged_0x4712D:
ld a,$3C
ld [$D11B],a
Logged_0x47132:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld a,$02
ld [$D118],a
ret
Logged_0x4713E:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld de,$4969
jr Logged_0x47160
Logged_0x47150:
ld hl,$D114
xor a
ld [hli],a
ld [hli],a
ld l,$18
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld de,$4976
Logged_0x47160:
call Logged_0x30F0
ld a,$3D
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x4716C:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x47192
Logged_0x47176:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x47192
Logged_0x47180:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Logged_0x47192
Logged_0x4718A:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Logged_0x47192:
ld a,$81
ld [$D11C],a
ld a,[hl]
and $F0
ld [hld],a
ld c,a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,c
rlca
jr c,Logged_0x471AA
ld de,$499B
jp Logged_0x30F0
Logged_0x471AA:
ld de,$49A0
jp Logged_0x30F0
Logged_0x471B0:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x471C3:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x471D6:
ld hl,$D11B
ld a,$49
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x471E5
ld de,$4989
jr Logged_0x471E8
Logged_0x471E5:
ld de,$4992
Logged_0x471E8:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x471F7:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x47207
Logged_0x47207:
ld hl,$D11B
ld a,$48
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x47216
ld de,$4989
jr Logged_0x47219
Logged_0x47216:
ld de,$4992
Logged_0x47219:
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x47228:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x471D6
Logged_0x47239:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
ld de,$4F6B
call Logged_0x30F0
ld l,$1F
ld a,$72
ld [hld],a
ld a,$72
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$FC
ld [hld],a
ld l,$00
set 3,[hl]
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$72
ld [hld],a
ld a,$A6
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x47296
res 7,[hl]
ld de,$4F74
jr Logged_0x4729B
Logged_0x47296:
set 7,[hl]
ld de,$4F6B
Logged_0x4729B:
call Logged_0x30F0
ld a,$32
ld [hli],a
xor a
ld [hli],a
inc a
ld [hl],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D117]
rst JumpList
dw Logged_0x4731E
dw Logged_0x47378
dw Logged_0x4739C
dw Logged_0x47388
dw Logged_0x473AC
dw Logged_0x472BB
Logged_0x472BB:
call Logged_0x47453
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C1CA],a
call Logged_0x352B
and a
jr z,Logged_0x472DD
ld a,[$C1CA]
and a
jr z,Logged_0x472E3
Logged_0x472DD:
ld bc,$4690
call Logged_0x34B7
Logged_0x472E3:
ld hl,$D116
dec [hl]
jr z,Logged_0x47307
ld a,[hl]
cp $34
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$68
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x47301
ld bc,$496E
jp Logged_0x3416
Logged_0x47301:
ld bc,$4983
jp Logged_0x3416
Logged_0x47307:
ld a,$32
ld [hli],a
xor a
ld [hl],a
ld a,[$D11A]
rlca
jr c,Logged_0x47318
ld de,$4F74
jp Logged_0x30F0
Logged_0x47318:
ld de,$4F6B
jp Logged_0x30F0
Logged_0x4731E:
call Logged_0x473C0
ld a,[$C094]
and $F3
jr z,Logged_0x4732D
ld a,$32
ld [$D116],a
Logged_0x4732D:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x47336
dec [hl]
ret
Logged_0x47336:
ld l,$00
bit 1,[hl]
ret z
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
sub b
cp $40
jr c,Logged_0x4734E
cp $C0
ret c
Logged_0x4734E:
ld a,[$D10D]
add a,$2A
ld b,a
ld a,[$CA87]
add a,$2A
sub b
cp $2B
ret nc
ld l,$16
ld a,$52
ld [hli],a
ld a,$05
ld [hli],a
inc l
xor a
ld [hli],a
ld a,[hld]
rlca
jr c,Logged_0x47372
ld de,$4F9E
jp Logged_0x30F0
Logged_0x47372:
ld de,$4F8F
jp Logged_0x30F0
Logged_0x47378:
call Logged_0x473C0
ld de,$4FC0
call Logged_0x30F0
ld a,$23
ld [hli],a
ld a,$03
ld [hl],a
ret
Logged_0x47388:
call Logged_0x473C0
ld hl,$D116
dec [hl]
ret nz
ld de,$4F6B
call Logged_0x30F0
ld a,$32
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x4739C:
call Logged_0x473C0
ld de,$4FB7
call Logged_0x30F0
ld a,$23
ld [hli],a
ld a,$04
ld [hl],a
ret
Logged_0x473AC:
call Logged_0x473C0
ld hl,$D116
dec [hl]
ret nz
ld de,$4F74
call Logged_0x30F0
ld a,$32
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x473C0:
ld hl,$D100
bit 1,[hl]
jr nz,Logged_0x473CC
ld a,$02
ld [$D118],a
Logged_0x473CC:
ld l,$05
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
ld b,a
ld a,[$CA64]
ld c,a
ld a,b
cp d
jr c,Logged_0x4740B
jr nz,Logged_0x473E3
ld a,c
cp e
jr c,Logged_0x4740B
Logged_0x473E3:
ld hl,$0020
add hl,de
ld a,b
cp h
jr c,Logged_0x473F1
jr nz,Logged_0x473F8
ld a,c
cp l
jr nc,Logged_0x473F8
Logged_0x473F1:
ld a,$01
ld [$D118],a
jr Logged_0x473FB
Logged_0x473F8:
call Logged_0x4749A
Logged_0x473FB:
ld hl,$D11A
bit 7,[hl]
jr nz,Logged_0x47431
set 7,[hl]
ld a,$01
ld [$D117],a
jr Logged_0x47431
Logged_0x4740B:
ld hl,$FFE0
add hl,de
ld a,b
cp h
jr c,Logged_0x47420
jr nz,Logged_0x47419
ld a,c
cp l
jr c,Logged_0x47420
Logged_0x47419:
ld a,$01
ld [$D118],a
jr Logged_0x47423
Logged_0x47420:
call Logged_0x474CB
Logged_0x47423:
ld hl,$D11A
bit 7,[hl]
jr z,Logged_0x47431
res 7,[hl]
ld a,$02
ld [$D117],a
Logged_0x47431:
ld l,$03
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$002A
add hl,de
ld a,[$CA61]
ld b,a
ld a,[$CA62]
ld c,a
ld a,b
cp h
jp c,Logged_0x4751D
jp nz,Logged_0x474FC
ld a,c
cp l
ret z
jp c,Logged_0x4751D
jp Logged_0x474FC
Logged_0x47453:
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x4745E
ld a,$01
jr Logged_0x47460
Logged_0x4745E:
ld a,$02
Logged_0x47460:
ld [$D118],a
ld l,$05
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
ld b,a
ld a,[$CA64]
ld c,a
ld a,b
cp d
jr c,Logged_0x4748A
jr nz,Logged_0x4747A
ld a,c
cp e
jr c,Logged_0x4748A
Logged_0x4747A:
ld hl,$0020
add hl,de
ld a,b
cp h
ret c
jp nz,Logged_0x4749A
ld a,c
cp l
ret c
jp Logged_0x4749A
Logged_0x4748A:
ld hl,$FFE0
add hl,de
ld a,b
cp h
jp c,Logged_0x474CB
ret nz
ld a,c
cp l
ret nc
jp Logged_0x474CB
Logged_0x4749A:
ld hl,$D103
ld a,[hli]
sub $06
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0C
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
ld hl,$D103
ld a,[hli]
sub $14
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and a
ret nz
jp Logged_0x3069
Logged_0x474CB:
ld hl,$D103
ld a,[hli]
sub $06
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $0C
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
ld hl,$D103
ld a,[hli]
sub $14
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and a
ret nz
jp Logged_0x305C
Logged_0x474FC:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C1CA],a
call Logged_0x352B
and a
jr z,Logged_0x4751A
ld a,[$C1CA]
and a
ret z
Logged_0x4751A:
jp Logged_0x3083
Logged_0x4751D:
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
ret nz
jp Logged_0x3076
ld bc,$46E0
jr Logged_0x47540
ld bc,$46F0
Logged_0x47540:
call Logged_0x34CE
ld hl,$D100
set 3,[hl]
ld a,[$D11B]
and a
ret z
ld hl,$D11F
ld a,$75
ld [hld],a
ld a,$60
ld [hld],a
ld de,$4FC9
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
Unknown_0x4756F:
INCBIN "baserom.gbc", $4756F, $47718 - $4756F
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$77
ld [hld],a
ld a,$48
ld [hld],a
ld de,$5041
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FC
ld [hl],a
ld l,$17
ld a,$01
ld [hli],a
ld a,$C9
ld [hli],a
ld a,$4E
ld [hli],a
ret
ld de,$4EC9
call Logged_0x3472
ret
ld hl,$D100
set 3,[hl]
ld l,$1F
ld a,$77
ld [hld],a
ld a,$73
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0A
ld a,$F4
ld [hli],a
ld a,$FA
ld [hli],a
ld a,$05
ld [hl],a
ld l,$16
ld a,$32
ld [hli],a
xor a
ld [hl],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4778E
cp $2E
jr z,Logged_0x4778E
cp $2F
jr nz,Unknown_0x4778C
ld a,$2E
ld [hl],a
ld b,$0B
call Logged_0x479A2
jr Logged_0x4778E
Unknown_0x4778C:
xor a
ld [hl],a
Logged_0x4778E:
ld a,[$D117]
rst JumpList
dw Logged_0x477B2
dw Logged_0x477DE
dw Logged_0x477F3
dw Logged_0x4780E
dw Logged_0x47825
dw Logged_0x4783C
dw Logged_0x47853
dw Logged_0x4786A
dw Logged_0x47881
dw Logged_0x47896
dw Logged_0x478E1
dw Logged_0x47903
dw Logged_0x47925
dw Logged_0x47947
dw Logged_0x47966
dw Logged_0x4798D
Logged_0x477B2:
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[$CAA0]
and a
jr nz,Logged_0x477DA
dec [hl]
ret nz
ld hl,$D100
res 4,[hl]
ld de,$50AB
call Logged_0x30F0
ld a,$29
ld [hli],a
inc [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$81
ld [$FF00+hSFXIDLow],a
ret
Logged_0x477DA:
ld a,$32
ld [hl],a
ret
Logged_0x477DE:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50B4
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
ret
Logged_0x477F3:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50B7
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
inc l
ld a,$04
ld [hl],a
jp Logged_0x3076
Logged_0x4780E:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50BA
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
jp Logged_0x3076
Logged_0x47825:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50BD
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
jp Logged_0x3076
Logged_0x4783C:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50C0
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
jp Logged_0x3076
Logged_0x47853:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50C3
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
jp Logged_0x3076
Logged_0x4786A:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50C6
call Logged_0x30F0
ld a,$01
ld [hli],a
inc [hl]
jp Logged_0x3076
Logged_0x47881:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50C9
call Logged_0x30F0
ld a,$38
ld [hli],a
inc [hl]
ret
Logged_0x47896:
ld hl,$D116
ld a,[hl]
cp $31
jr nc,Logged_0x478BE
cp $1A
jr c,Logged_0x478B0
ld a,[$D10D]
sub $04
ld b,a
ld a,[$CA87]
cp b
jr nc,Logged_0x478BE
dec [hl]
ret
Logged_0x478B0:
ld a,[$D11B]
cp $2E
jr nz,Logged_0x478BE
ld b,$07
call Logged_0x479A2
ld l,$16
Logged_0x478BE:
ld a,$81
ld [$D11C],a
dec [hl]
ret nz
ld de,$50DC
call Logged_0x30F0
ld a,$02
ld [hli],a
inc [hl]
inc l
ld a,$06
ld [hl],a
call Logged_0x3083
ld a,[$D11B]
cp $2E
ret nz
ld b,$09
jp Logged_0x479A2
Logged_0x478E1:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50DF
call Logged_0x30F0
ld a,$02
ld [hli],a
inc [hl]
call Logged_0x3083
ld a,[$D11B]
cp $2E
ret nz
ld b,$08
jp Logged_0x479A2
Logged_0x47903:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50E2
call Logged_0x30F0
ld a,$02
ld [hli],a
inc [hl]
call Logged_0x3083
ld a,[$D11B]
cp $2E
ret nz
ld b,$06
jp Logged_0x479A2
Logged_0x47925:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50E5
call Logged_0x30F0
ld a,$02
ld [hli],a
inc [hl]
call Logged_0x3083
ld a,[$D11B]
cp $2E
ret nz
ld b,$08
jp Logged_0x479A2
Logged_0x47947:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50E8
call Logged_0x30F0
ld a,$02
ld [hli],a
inc [hl]
ld a,[$D11B]
cp $2E
ret nz
ld b,$00
jp Logged_0x479A2
Logged_0x47966:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$50EB
call Logged_0x30F0
ld a,$29
ld [hli],a
inc [hl]
ld a,[$D11B]
cp $2E
ret nz
xor a
ld [$CA9B],a
ld [$D11B],a
ret
Unknown_0x47988:
INCBIN "baserom.gbc", $47988, $4798D - $47988
Logged_0x4798D:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$32
ld [hli],a
xor a
ld [hl],a
ld hl,$D100
set 4,[hl]
ret
Logged_0x479A2:
ld l,$03
ld a,[hli]
sub b
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
ld [$CA64],a
ld a,[hl]
ld [$CA63],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$7A
ld [hld],a
ld a,$01
ld [hld],a
ld de,$49E9
call Logged_0x30F0
ld a,$05
ld [hli],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$FF
ld [hld],a
ret
Logged_0x479E0:
ld a,$81
ld [$D11C],a
ld l,$00
bit 1,[hl]
ret z
ld l,$16
dec [hl]
ret nz
ld de,$4A00
call Logged_0x30F0
ld a,$1D
ld [hli],a
ld a,$5A
ld [$D11B],a
ld l,$00
res 3,[hl]
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x479E0
cp $2A
jp c,Logged_0x47AB0
cp $5A
jr z,Logged_0x47A1E
cp $5B
jr z,Logged_0x47A6B
cp $5C
jr z,Logged_0x47A4A
cp $2D
jr z,Logged_0x47A33
ret
Logged_0x47A1E:
ld a,$81
ld [$D11C],a
ld l,$16
dec [hl]
ret nz
ld de,$4A12
call Logged_0x30F0
ld a,$5B
ld [$D11B],a
ret
Logged_0x47A33:
ld a,$81
ld [$D11C],a
ld l,$16
dec [hl]
ret nz
ld de,$49E9
call Logged_0x30F0
ld a,$3C
ld [hli],a
xor a
ld [$D11B],a
ret
Logged_0x47A4A:
ld l,$16
ld a,[hl]
cp $46
jr nz,Logged_0x47A65
ld a,[$D11A]
rlca
jr c,Logged_0x47A5C
ld bc,$4944
jr Logged_0x47A5F
Logged_0x47A5C:
ld bc,$4959
Logged_0x47A5F:
call Logged_0x3416
ld hl,$D116
Logged_0x47A65:
dec [hl]
ret nz
ld l,$1B
jr Logged_0x47AC4
Logged_0x47A6B:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x47A73
dec [hl]
ret
Logged_0x47A73:
ld l,$1A
ld c,$2A
ld a,[$D10D]
add a,c
ld b,a
ld a,[$CA87]
add a,c
sub b
cp $04
ret c
cp $46
ret nc
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $40
jr nc,Logged_0x47A9C
res 7,[hl]
ld de,$4A1F
jr Logged_0x47AA4
Logged_0x47A9C:
cp $C0
ret c
set 7,[hl]
ld de,$4A3A
Logged_0x47AA4:
call Logged_0x30F0
ld a,$7A
ld [hli],a
ld a,$5C
ld [$D11B],a
ret
Logged_0x47AB0:
cp $0A
jr z,Unknown_0x47AD5
cp $04
jr z,Unknown_0x47AE8
cp $05
jr z,Logged_0x47AF0
cp $28
jr z,Unknown_0x47AD8
cp $29
jr z,Unknown_0x47AE0
Logged_0x47AC4:
ld a,$2D
ld [hl],a
ld de,$4A09
call Logged_0x30F0
ld a,$1D
ld [hli],a
ld l,$00
set 3,[hl]
ret
Unknown_0x47AD5:
jp Unknown_0x34E5
Unknown_0x47AD8:
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x47AF6
Unknown_0x47AE0:
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x47AF6
Unknown_0x47AE8:
ld a,$33
ld c,$26
ld b,$02
jr Logged_0x47AF6
Logged_0x47AF0:
ld a,$33
ld c,$17
ld b,$02
Logged_0x47AF6:
ld l,$1F
ld [hld],a
ld [hl],c
ld de,$4A63
call Logged_0x30F0
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ret
ld a,$7B
ld b,$2B
jr Logged_0x47B19
ld a,$7B
ld b,$4D
Logged_0x47B19:
ld hl,$D11F
ld [hld],a
ld [hl],b
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ret
ld hl,$D11F
ld a,$7B
ld [hld],a
ld a,$6F
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
sub b
ret c
cp $10
ret c
ld l,$17
ld a,$01
ld [hli],a
ld a,$02
ld [hl],a
ret
ld hl,$D11F
ld a,$7B
ld [hld],a
ld a,$86
ld [hld],a
ld a,[$D10E]
add a,$2A
ld b,a
ld a,[$CA88]
add a,$2A
sub b
ret c
cp $10
ret c
ld l,$17
ld a,$01
ld [hli],a
ld a,$02
ld [hl],a
ret
ld hl,$D117
ld a,[hli]
jr nz,Logged_0x47B7B
ld a,[$C08F]
rra
jr c,Logged_0x47B9C
Logged_0x47B7B:
ld b,[hl]
ld l,$05
ld a,[hl]
sub b
ld [hli],a
jr nc,Logged_0x47B9C
dec [hl]
jr Logged_0x47B9C
ld hl,$D117
ld a,[hli]
and a
jr nz,Logged_0x47B93
ld a,[$C08F]
rra
jr nc,Logged_0x47B9C
Logged_0x47B93:
ld b,[hl]
ld l,$05
ld a,[hl]
add a,b
ld [hli],a
jr nc,Logged_0x47B9C
inc [hl]
Logged_0x47B9C:
ld a,[$D11B]
cp $18
jr z,Logged_0x47BAD
cp $19
jr z,Logged_0x47BB2
ld bc,$4670
jp Logged_0x34B7
Logged_0x47BAD:
xor a
ld [$D100],a
ret
Logged_0x47BB2:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x47BC5
ld bc,$7BD8
jr Logged_0x47BC8
Logged_0x47BC5:
ld bc,$7BD3
Logged_0x47BC8:
ld hl,$D11F
ld a,b
ld [hld],a
ld [hl],c
xor a
ld [$D119],a
ret
call Logged_0x30CA
jr Logged_0x47BDB
call Logged_0x30BD
Logged_0x47BDB:
ld a,$81
ld [$D11C],a
ld bc,$4040
jp Logged_0x34B7
ld hl,$D11F
ld a,$7B
ld [hld],a
ld a,$F9
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$00
set 3,[hl]
jr Logged_0x47C08
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
Logged_0x47C08:
call Logged_0x345B
ld a,[$CA8E]
cp $4C
ld a,e
jr nz,Logged_0x47C19
cp $01
jr nc,Logged_0x47C30
jr Logged_0x47C1D
Logged_0x47C19:
cp $02
jr nc,Logged_0x47C30
Logged_0x47C1D:
ld a,$D0
ld [$D116],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$69
ld [$FF00+hSFXIDLow],a
ld bc,$4EDF
jp Logged_0x342D
Logged_0x47C30:
ld a,$01
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
set 3,[hl]
ld l,$16
dec [hl]
jp nz,Logged_0x47C88
ld de,$50F4
call Logged_0x30F0
ld l,$1F
ld a,$7C
ld [hld],a
ld a,$55
ld [hld],a
ret
ld a,[$D11B]
and a
jr nz,Logged_0x47C83
call Logged_0x47C88
ret
Logged_0x47C5F:
ld de,$510C
call Logged_0x30F0
ld a,$10
ld [hli],a
ld l,$1F
ld a,$7C
ld [hld],a
ld a,$79
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$72
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
Logged_0x47C83:
xor a
ld [$D100],a
ret
Logged_0x47C88:
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x47C96
ld a,[$C08F]
and $01
jr nz,Logged_0x47CE0
Logged_0x47C96:
ld l,$03
ld a,[hl]
sub $01
ld [hli],a
jr nc,Logged_0x47C9F
dec [hl]
Logged_0x47C9F:
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jp nz,Logged_0x47C5F
ld a,[$C0DD]
ld [$FF00+$A0],a
ld hl,$D103
ld a,[hli]
sub $0C
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
ret nz
ld a,[$FF00+$A0]
and a
ret nz
jp Logged_0x47C5F
Logged_0x47CE0:
ld hl,$D117
dec [hl]
ld l,$1A
jr nz,Logged_0x47CF4
ld a,[hl]
xor $80
ld [hl],a
ld l,$17
ld a,$30
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x47CF4:
ld a,[hl]
rla
jp c,Logged_0x47D56
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $0C
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x47D2B
ld hl,$D103
ld a,[hli]
sub $07
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and $0F
jr z,Logged_0x47D38
Logged_0x47D2B:
ld hl,$D11A
set 7,[hl]
ld l,$17
ld a,$30
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x47D38:
ld hl,$D118
ld a,[hl]
ld b,$40
add a,$20
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x47D4A
dec c
ld a,[bc]
jr Logged_0x47D4B
Logged_0x47D4A:
inc [hl]
Logged_0x47D4B:
ld b,a
and a
ret z
ld l,$05
ld a,[hl]
add a,b
ld [hli],a
ret c
dec [hl]
ret
Logged_0x47D56:
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0B
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x47D88
ld hl,$D103
ld a,[hli]
sub $07
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and $0F
jr z,Logged_0x47D95
Logged_0x47D88:
ld hl,$D11A
res 7,[hl]
ld l,$17
ld a,$30
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x47D95:
ld hl,$D118
ld a,[hl]
ld b,$40
add a,$50
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x47DA7
dec c
ld a,[bc]
jr Logged_0x47DA8
Logged_0x47DA7:
inc [hl]
Logged_0x47DA8:
ld b,a
and a
ret z
ld l,$05
ld a,[hl]
add a,b
ld [hli],a
ret nc
inc [hl]
ret
Unknown_0x47DB3:
INCBIN "baserom.gbc", $47DB3, $48000 - $47DB3
SECTION "Bank12", ROMX, BANK[$12]
ld hl,$D11F
ld a,$40
ld [hld],a
ld a,$0A
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$40
ld [hld],a
ld a,$29
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$08
ld [hld],a
ld a,$F7
ld [hld],a
ld a,$F9
ld [hl],a
jp Logged_0x4811F
ld a,[$D11B]
rst JumpList
dw Logged_0x4811F
dw Logged_0x481AA
dw Logged_0x482B2
dw Logged_0x482BA
dw Logged_0x48434
dw Logged_0x48458
dw Logged_0x4848E
dw Logged_0x484A1
dw Logged_0x483F5
dw Logged_0x483FF
dw Logged_0x480E7
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x48341
dw Logged_0x4836A
dw Unknown_0x48153
dw Logged_0x484F3
dw Logged_0x483A4
dw Logged_0x48322
dw Logged_0x48326
dw Logged_0x482E0
dw Logged_0x48301
dw Logged_0x484D3
dw Logged_0x484B4
dw Logged_0x3263
dw Logged_0x3272
dw Logged_0x3281
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x4842A
dw Unknown_0x48420
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4816F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x3290
dw Logged_0x481CA
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x48350
dw Logged_0x48399
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x483C5
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x482F3
dw Logged_0x48314
dw Logged_0x484E2
dw Logged_0x484C3
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
dw Logged_0x4811F
dw Logged_0x4811F
dw Logged_0x4811F
Logged_0x480E7:
ld a,[$D11C]
and a
jp z,Logged_0x3182
ld a,[$CA8E]
and a
jp nz,Logged_0x3182
ld a,[$D14A]
cp $06
jp nc,Logged_0x3182
ld a,[$D108]
and $7F
jp z,Logged_0x3182
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jp nc,Logged_0x483F5
jp Logged_0x483FF
Logged_0x4811F:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$30
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x48147
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$5115
call Logged_0x30F0
ret
Logged_0x48147:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$5126
call Logged_0x30F0
ret
Unknown_0x48153:
ld hl,$D11B
ld a,$41
ld [hld],a
ld a,[hld]
rlca
jr c,Unknown_0x48166
xor a
ld [hld],a
ld de,$5115
call Logged_0x30F0
ret
Unknown_0x48166:
xor a
ld [hld],a
ld de,$5126
call Logged_0x30F0
ret
Logged_0x4816F:
ld a,[$CA97]
cp $10
jr c,Logged_0x48180
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x48180:
ld hl,$D116
dec [hl]
jr z,Logged_0x481A4
ld a,[hl]
cp $22
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x4819E
ld bc,$49EC
jp Logged_0x3416
Logged_0x4819E:
ld bc,$4A01
jp Logged_0x3416
Logged_0x481A4:
ld a,$13
ld [$D11B],a
ret
Logged_0x481AA:
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hld],a
ld l,$1B
ld a,$31
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x481C3
ld de,$5115
call Logged_0x30F0
ret
Logged_0x481C3:
ld de,$5126
call Logged_0x30F0
ret
Logged_0x481CA:
ld a,[$CA97]
cp $10
jr c,Logged_0x481DB
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x481DB:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $18
jr c,Logged_0x481EF
cp $E8
jr c,Logged_0x48222
Logged_0x481EF:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $B8
jr nc,Logged_0x48211
cp $48
jr nc,Logged_0x48222
ld a,[hli]
rlca
jr c,Logged_0x4820D
ld de,$513D
jr Logged_0x48218
Logged_0x4820D:
ld a,$13
ld [hl],a
ret
Logged_0x48211:
ld a,[hli]
rlca
jr nc,Logged_0x4820D
ld de,$514C
Logged_0x48218:
ld a,$2D
ld [hl],a
call Logged_0x30F0
ld a,$39
ld [hli],a
ret
Logged_0x48222:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr nz,Logged_0x4823D
ld a,$11
ld [$D11B],a
ret
Logged_0x4823D:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$D11A]
rlca
jr c,Logged_0x4827E
ld a,[hl]
and $0F
sub $08
jr nc,Logged_0x4825A
call Logged_0x355B
and $0F
jr z,Logged_0x48278
Logged_0x4825A:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
Logged_0x48278:
ld a,$13
ld [$D11B],a
ret
Logged_0x4827E:
ld a,[hl]
and $0F
add a,$07
cp $10
jr c,Logged_0x4828E
call Logged_0x3573
and $0F
jr z,Logged_0x482AC
Logged_0x4828E:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x482AC:
ld a,$13
ld [$D11B],a
ret
Logged_0x482B2:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x482C0
Logged_0x482BA:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x482C0:
ld a,[hld]
rlca
jr c,Logged_0x482C9
ld de,$5137
jr Logged_0x482CC
Logged_0x482C9:
ld de,$513A
Logged_0x482CC:
call Logged_0x30F0
ld a,$0C
ld [hld],a
ld a,$02
ld [$D118],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x482E0:
ld a,$46
ld [$D11B],a
ld de,$515B
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x482F3:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x48301:
ld a,$47
ld [$D11B],a
ld de,$515B
call Logged_0x30F0
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
Logged_0x48314:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x48322:
ld a,$44
jr Logged_0x48328
Logged_0x48326:
ld a,$45
Logged_0x48328:
ld [$D11B],a
ld de,$515B
call Logged_0x30F0
inc l
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x48341:
ld a,$3F
ld [$D11B],a
ld a,$64
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x48350:
ld a,[$CA97]
cp $10
jr c,Logged_0x4835D
ld a,$1C
ld [$D11B],a
ret
Logged_0x4835D:
ld hl,$D116
dec [hl]
jp nz,Logged_0x32EA
ld a,$10
ld [$D11B],a
ret
Logged_0x4836A:
ld hl,$D11B
ld a,$40
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x48385
ld de,$5183
res 7,[hl]
jr Logged_0x4838A
Logged_0x48385:
ld de,$518E
set 7,[hl]
Logged_0x4838A:
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x48399:
ld hl,$D116
dec [hl]
ret nz
ld a,$01
ld [$D11B],a
ret
Logged_0x483A4:
ld hl,$D11B
ld a,$43
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x483B3
ld de,$5175
jr Logged_0x483B6
Logged_0x483B3:
ld de,$517C
Logged_0x483B6:
call Logged_0x30F0
ld a,$16
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $01
ld [hld],a
ret
Logged_0x483C5:
ld a,[$CA97]
cp $10
jr c,Logged_0x483D6
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x483D6:
ld hl,$D116
ld a,[hl]
cp $06
jr z,Logged_0x483E8
dec [hl]
jp nz,Logged_0x3308
ld a,$01
ld [$D11B],a
ret
Logged_0x483E8:
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x483F2
set 7,[hl]
ret
Logged_0x483F2:
res 7,[hl]
ret
Logged_0x483F5:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x48407
Logged_0x483FF:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x48407:
ld [hld],a
ld de,$515B
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Unknown_0x48420:
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Logged_0x4847A
Unknown_0x4842A:
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Logged_0x4847A
Logged_0x48434:
ld a,[$CA8E]
and a
jr nz,Logged_0x4844E
ld a,[$D14A]
cp $05
jr nc,Logged_0x4844E
ld a,[$D108]
and $7F
jr z,Logged_0x4844E
ld a,$08
ld [$D11B],a
ret
Logged_0x4844E:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$01
jr Logged_0x4847A
Logged_0x48458:
ld a,[$CA8E]
and a
jr nz,Logged_0x48472
ld a,[$D14A]
cp $05
jr nc,Logged_0x48472
ld a,[$D108]
and $7F
jr z,Logged_0x48472
ld a,$09
ld [$D11B],a
ret
Logged_0x48472:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$01
Logged_0x4847A:
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,b
ld [hld],a
ld de,$5164
call Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
Logged_0x4848E:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x484A1:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x484B4:
ld a,$49
ld [$D11B],a
ld de,$515B
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x484C3:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x484D3
Logged_0x484D3:
ld a,$48
ld [$D11B],a
ld de,$515B
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x484E2:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x484B4
Logged_0x484F3:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
call Logged_0x3090
jr Logged_0x48510
call Logged_0x309A
Logged_0x48510:
ld hl,$D100
set 3,[hl]
ld a,[$D11B]
and a
ret z
ld de,$516E
call Logged_0x30F0
ld a,$0C
ld [hli],a
ld l,$1F
ld a,$45
ld [hld],a
ld a,$2C
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$45
ld [hld],a
ld a,$60
ld [hld],a
ld de,$5199
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$0E
ld [hld],a
ld a,$F1
ld [hld],a
ld a,$F4
ld [hl],a
ret
call Logged_0x3655
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$45
ld [hld],a
ld a,$7A
ld [hld],a
ld de,$519E
call Logged_0x30F0
ret
call Logged_0x3655
ld a,[$C08F]
ld b,a
and $3F
jr nz,Logged_0x4858D
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6D
ld [$FF00+hSFXIDLow],a
Logged_0x4858D:
srl b
ret c
ld a,[$D107]
cp $23
jr z,Logged_0x485D5
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $0F
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x48613
call Logged_0x30CA
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$13
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1270
Logged_0x485D5:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0E
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x48613
call Logged_0x30BD
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1259
Logged_0x48613:
ld de,$5199
call Logged_0x30F0
ld l,$1F
ld a,$46
ld [hld],a
ld a,$22
ld [hld],a
ret
jp Logged_0x3655
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld a,$3D
call Logged_0x3AAC
jr nz,Logged_0x4863B
ld de,$51A7
ld bc,$4622
jr Logged_0x48641
Logged_0x4863B:
ld de,$51BF
ld bc,$4662
Logged_0x48641:
pop af
ld [rSVBK],a
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,b
ld [hld],a
ld [hl],c
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$0E
ld [hld],a
ld a,$F1
ld [hld],a
ld a,$F4
ld [hl],a
jp Logged_0x30F0
call Logged_0x3655
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$46
ld [hld],a
ld a,$88
ld [hld],a
ld a,[$D107]
cp $23
jr z,Logged_0x48682
ld de,$51B3
jp Logged_0x30F0
Logged_0x48682:
ld de,$51AA
jp Logged_0x30F0
call Logged_0x3655
ld a,[$C08F]
ld b,a
and $3F
jr nz,Logged_0x4869B
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6D
ld [$FF00+hSFXIDLow],a
Logged_0x4869B:
srl b
ret c
ld a,[$D107]
cp $23
jr z,Logged_0x486E3
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $0F
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x48721
call Logged_0x30CA
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$13
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1270
Logged_0x486E3:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0E
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x48721
call Logged_0x30BD
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1259
Logged_0x48721:
ld de,$51BF
call Logged_0x30F0
ld l,$1F
ld a,$46
ld [hld],a
ld a,$22
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$47
ld [hld],a
ld a,$53
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$46E5
call Logged_0x30F0
inc l
ld a,$30
ld [hli],a
ld a,$08
ld [hl],a
jp Logged_0x305C
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x48776
dec [hl]
ret nz
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
rlca
jr c,Logged_0x48770
ld de,$46E5
jp Logged_0x30F0
Logged_0x48770:
ld de,$46EA
jp Logged_0x30F0
Logged_0x48776:
inc l
ld a,[hl]
cp $5F
jr z,Logged_0x487A1
dec [hl]
jr z,Logged_0x48789
ld a,[$D11A]
rlca
jp c,Logged_0x30BD
jp Logged_0x30CA
Logged_0x48789:
ld a,[$D11A]
rlca
jr c,Logged_0x48794
ld de,$4713
jr Logged_0x48797
Logged_0x48794:
ld de,$471E
Logged_0x48797:
call Logged_0x30F0
ld a,$22
ld [hli],a
ld a,$60
ld [hl],a
ret
Logged_0x487A1:
dec [hl]
ld l,$1F
ld a,$47
ld [hld],a
ld a,$BF
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x487B5
ld de,$46EF
jr Logged_0x487B8
Logged_0x487B5:
ld de,$46F8
Logged_0x487B8:
call Logged_0x30F0
ld a,$19
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$47
ld [hld],a
ld a,$E6
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x487DC
ld de,$46A4
jr Logged_0x487DF
Logged_0x487DC:
ld de,$46B9
Logged_0x487DF:
call Logged_0x30F0
ld a,$5D
ld [hli],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr nz,Unknown_0x48810
ld l,$16
dec [hl]
jr z,Logged_0x48812
ld a,[hl]
cp $24
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7F
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x4880A
ld bc,$4A16
jp Logged_0x3416
Logged_0x4880A:
ld bc,$4A2B
jp Logged_0x3416
Unknown_0x48810:
xor a
ld [hl],a
Logged_0x48812:
ld a,[$D11A]
rlca
jr c,Logged_0x4881D
ld de,$4701
jr Logged_0x48820
Logged_0x4881D:
ld de,$470A
Logged_0x48820:
call Logged_0x30F0
ld a,$19
ld [hli],a
ld l,$1F
ld a,$48
ld [hld],a
ld a,$2F
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$47
ld [hld],a
ld a,$53
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x4884D
ld de,$46E5
jp Logged_0x30F0
Logged_0x4884D:
ld de,$46EA
jp Logged_0x30F0
Unknown_0x48853:
INCBIN "baserom.gbc", $48853, $48858 - $48853
call Logged_0x309A
ld l,$00
set 3,[hl]
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x488B5
ld a,[$D117]
and a
jr z,Logged_0x4888B
call Logged_0x3543
and a
jr nz,Unknown_0x488B5
ld a,[$C0DD]
and a
jr nz,Logged_0x488C8
ld bc,$4740
jr Logged_0x4888E
Logged_0x4888B:
ld bc,$4700
Logged_0x4888E:
call Logged_0x34B7
ld a,[$D11B]
and a
jr nz,Unknown_0x488B5
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
ret nz
inc l
ld a,$01
ld [hl],a
ld a,[$D11A]
rlca
jr c,Logged_0x488AF
ld de,$46D8
jp Logged_0x30F0
Logged_0x488AF:
ld de,$46DB
jp Logged_0x30F0
Unknown_0x488B5:
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$CD
ld [hld],a
ld de,$46DE
call Logged_0x30F0
ld a,$17
ld [hli],a
ret
Logged_0x488C8:
xor a
ld [$D100],a
ret
Unknown_0x488CD:
INCBIN "baserom.gbc", $488CD, $488DC - $488CD
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$F7
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$0B
ld [hld],a
ld a,$F4
ld [hld],a
ld a,$FC
ld [hl],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$49
ld [hld],a
ld a,$2A
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4891F
res 7,[hl]
dec l
xor a
ld [hld],a
ld de,$5220
jp Logged_0x30F0
Logged_0x4891F:
set 7,[hl]
dec l
xor a
ld [hld],a
ld de,$51DE
jp Logged_0x30F0
ld a,[$D11B]
rst JumpList
dw Logged_0x48B13
dw Logged_0x48B2B
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48A47
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Unknown_0x48B21
dw Logged_0x48B13
dw Logged_0x48C4D
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x48C4D
dw Logged_0x48C4D
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x48A17
dw Logged_0x48A23
dw Logged_0x489FF
dw Logged_0x48A0B
dw Logged_0x48A2F
dw Logged_0x48A3B
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x489E8
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48CC6
dw Logged_0x48CD7
dw Logged_0x48B13
dw Logged_0x3290
dw Logged_0x48B30
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48AE9
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x329F
dw Logged_0x48B13
dw Logged_0x48C60
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x48A1D
dw Logged_0x48A29
dw Logged_0x48A05
dw Logged_0x48A11
dw Logged_0x48A35
dw Logged_0x48A41
dw Logged_0x48B13
dw Logged_0x48B13
dw Logged_0x489FE
dw Logged_0x48B13
dw Logged_0x48B13
Logged_0x489E8:
ld hl,$D11B
ld a,$5A
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x489F7
ld de,$5200
jr Logged_0x489FA
Logged_0x489F7:
ld de,$51FB
Logged_0x489FA:
call Logged_0x30F0
ret
Logged_0x489FE:
ret
Logged_0x489FF:
call Logged_0x48CEC
jp Logged_0x3209
Logged_0x48A05:
call Logged_0x48CEC
jp Logged_0x3218
Logged_0x48A0B:
call Logged_0x48D3D
jp Logged_0x3227
Logged_0x48A11:
call Logged_0x48D3D
jp Logged_0x3236
Logged_0x48A17:
call Logged_0x48CEC
jp Logged_0x31CD
Logged_0x48A1D:
call Logged_0x48CEC
jp Logged_0x31DC
Logged_0x48A23:
call Logged_0x48D3D
jp Logged_0x31EB
Logged_0x48A29:
call Logged_0x48D3D
jp Logged_0x31FA
Logged_0x48A2F:
call Logged_0x48CEC
jp Logged_0x3245
Logged_0x48A35:
call Logged_0x48CEC
jp Logged_0x32CC
Logged_0x48A3B:
call Logged_0x48D3D
jp Logged_0x3254
Logged_0x48A41:
call Logged_0x48D3D
jp Logged_0x32DB
Logged_0x48A47:
ld hl,$D100
bit 3,[hl]
jr z,Logged_0x48A8E
res 3,[hl]
res 7,[hl]
ld a,[$D11A]
rlca
jr c,Logged_0x48A5D
ld de,$520C
jr Logged_0x48A60
Logged_0x48A5D:
ld de,$5205
Logged_0x48A60:
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ld bc,$4F05
call Logged_0x342D
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jp c,Logged_0x489FF
jp Logged_0x48A0B
Logged_0x48A8E:
ld l,$1B
ld a,$3A
ld [hld],a
ld a,[$D108]
and $7F
cp $0B
jr z,Logged_0x48AAB
ld a,[hld]
rlca
jr c,Logged_0x48AA5
ld de,$5220
jr Logged_0x48AA8
Logged_0x48AA5:
ld de,$51DE
Logged_0x48AA8:
call Logged_0x30F0
Logged_0x48AAB:
ld l,$00
bit 1,[hl]
ret z
ld l,$03
ld a,[hli]
and $F0
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
ld b,$03
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$83
ld [$FF00+hSFXIDLow],a
ret
Logged_0x48AE9:
call Logged_0x30D4
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld a,[$D108]
and $7F
cp $0B
jr z,Unknown_0x48B0D
ld a,$31
jr Logged_0x48B0F
Unknown_0x48B0D:
ld a,$13
Logged_0x48B0F:
ld [$D11B],a
ret
Logged_0x48B13:
ld hl,$D11B
ld a,$30
ld [hld],a
dec l
xor a
ld [hld],a
ld l,$00
res 3,[hl]
ret
Unknown_0x48B21:
ld hl,$D11B
ld a,$41
ld [hld],a
dec l
xor a
ld [hld],a
ret
Logged_0x48B2B:
ld a,$31
ld [$D11B],a
Logged_0x48B30:
ld a,[$D11A]
rlca
jp c,Logged_0x48BC2
call Logged_0x30CA
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jp z,Unknown_0x48BB7
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ret z
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr z,Logged_0x48BA2
call Logged_0x48CE8
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $14
ld [$FF00+$AB],a
ld a,[hl]
sbc a,$00
ld [$FF00+$AA],a
ld a,$03
ld [$C0D9],a
call Logged_0x3513
and $0F
ret z
ld hl,$D103
ld a,[hl]
sub $06
ld [hli],a
jr nc,Logged_0x48B9B
dec [hl]
Logged_0x48B9B:
ld a,$24
ld [$D11B],a
jr Logged_0x48BA7
Logged_0x48BA2:
ld a,$22
ld [$D11B],a
Logged_0x48BA7:
ld a,$02
ld [$D118],a
ld de,$5213
ld a,[$D112]
cp e
ret z
jp Logged_0x30F0
Unknown_0x48BB7:
ld a,$11
ld [$D11B],a
ld de,$5220
jp Logged_0x30F0
Logged_0x48BC2:
call Logged_0x30BD
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jp z,Unknown_0x48C42
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ret z
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3543
and a
jr z,Logged_0x48C2D
call Logged_0x48D39
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$13
ld [$FF00+$AB],a
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
ld a,$03
ld [$C0D9],a
call Logged_0x3513
and $0F
ret z
ld hl,$D103
ld a,[hl]
sub $06
ld [hli],a
jr nc,Logged_0x48C26
dec [hl]
Logged_0x48C26:
ld a,$25
ld [$D11B],a
jr Logged_0x48C32
Logged_0x48C2D:
ld a,$23
ld [$D11B],a
Logged_0x48C32:
ld a,$02
ld [$D118],a
ld de,$51E5
ld a,[$D112]
cp e
ret z
jp Logged_0x30F0
Unknown_0x48C42:
ld a,$11
ld [$D11B],a
ld de,$51DE
jp Logged_0x30F0
Logged_0x48C4D:
ld a,$43
ld [$D11B],a
ld a,$01
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x48C5D
ld a,$0A
Logged_0x48C5D:
ld [$D116],a
Logged_0x48C60:
ld hl,$D116
dec [hl]
jp nz,Logged_0x3308
ld l,$05
ld a,[hli]
ld e,a
ld d,[hl]
ld l,$1A
ld a,[$CA63]
cp d
jr c,Logged_0x48C8A
jr nz,Logged_0x48C7C
ld a,[$CA64]
cp e
jr c,Logged_0x48C8A
Logged_0x48C7C:
ld a,[hli]
rlca
jr c,Logged_0x48CA5
ld a,$2D
ld [hld],a
set 7,[hl]
ld de,$5227
jr Logged_0x48C96
Logged_0x48C8A:
ld a,[hli]
rlca
jr nc,Logged_0x48CA5
ld a,$2E
ld [hld],a
res 7,[hl]
ld de,$51F2
Logged_0x48C96:
call Logged_0x30F0
ld a,$31
ld [hli],a
Logged_0x48C9C:
ld l,$08
ld a,[hl]
and $80
or $30
ld [hld],a
ret
Logged_0x48CA5:
ld a,$31
ld [hld],a
ld a,[$D108]
and $7F
cp $0B
jr nz,Logged_0x48C9C
ld a,[hld]
rlca
jr c,Unknown_0x48CBA
ld de,$5220
jr Unknown_0x48CBD
Unknown_0x48CBA:
ld de,$51DE
Unknown_0x48CBD:
call Logged_0x30F0
ld l,$00
set 7,[hl]
jr Logged_0x48C9C
Logged_0x48CC6:
ld hl,$D116
dec [hl]
ret nz
ld de,$51DE
call Logged_0x30F0
ld a,$31
ld [$D11B],a
ret
Logged_0x48CD7:
ld hl,$D116
dec [hl]
ret nz
ld de,$5220
call Logged_0x30F0
ld a,$31
ld [$D11B],a
ret
Logged_0x48CE8:
ld b,$0C
jr Logged_0x48CEE
Logged_0x48CEC:
ld b,$0E
Logged_0x48CEE:
ld hl,$D105
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
call Logged_0x3513
ld hl,$D103
ld a,[hli]
sub $14
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
call Logged_0x3513
ld hl,$D103
ld a,[hli]
sub $24
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
jp Logged_0x3513
Logged_0x48D39:
ld b,$0B
jr Logged_0x48D3F
Logged_0x48D3D:
ld b,$0D
Logged_0x48D3F:
ld hl,$D105
ld a,[hli]
add a,b
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
call Logged_0x3513
ld hl,$D103
ld a,[hli]
sub $14
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
call Logged_0x3513
ld hl,$D103
ld a,[hli]
sub $24
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$02
ld [$C0D9],a
jp Logged_0x3513
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$0B
ld [hld],a
ld a,$F4
ld [hld],a
Logged_0x48D9B:
ld de,$5230
call Logged_0x30F0
xor a
ld [hl],a
ld [$D11B],a
ld l,$1F
ld a,$4D
ld [hld],a
ld a,$B7
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $05
ld [hld],a
ret
ld a,[$CA97]
cp $10
jr nc,Logged_0x48DE3
ld hl,$D116
ld a,[hl]
and a
jr nz,Logged_0x48DDA
ld l,$1B
ld a,[hl]
and a
ret z
xor a
ld [hl],a
ld de,$524B
call Logged_0x30F0
ld a,$16
ld [hli],a
ld l,$00
res 3,[hl]
ret
Logged_0x48DDA:
dec [hl]
ret nz
ld de,$5230
call Logged_0x30F0
ret
Logged_0x48DE3:
ld hl,$D11F
ld a,$4E
ld [hld],a
ld a,$02
ld [hld],a
ld de,$5256
call Logged_0x30F0
ld a,$30
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
xor a
ld [$D119],a
ret
ld bc,$4760
call Logged_0x34B7
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$46
ld [hld],a
ld de,$5263
call Logged_0x30F0
xor a
ld [$D119],a
ld [$D11B],a
ld l,$08
ld a,[hl]
and $80
or $0C
ld [hld],a
ret
Logged_0x48E2B:
ld hl,$D11F
ld a,$4E
ld [hld],a
ld a,$3E
ld [hld],a
ld de,$5275
call Logged_0x30F0
ld a,$10
ld [hli],a
ret
ld hl,$D116
dec [hl]
ret nz
jp Logged_0x48D9B
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
sub $0C
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x48E2B
ld hl,$D105
ld a,[hli]
add a,$0B
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x48E2B
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x48E82
dec [hl]
jr nz,Logged_0x48E82
ld de,$5263
call Logged_0x30F0
Logged_0x48E82:
ld l,$1B
ld a,[hl]
and a
jr z,Logged_0x48EB3
cp $0A
jr nz,Logged_0x48E99
xor a
ld [hl],a
ld de,$526C
call Logged_0x30F0
ld a,$1B
ld [hli],a
jr Logged_0x48EB3
Logged_0x48E99:
xor a
ld [hl],a
ld de,$527C
call Logged_0x30F0
ld a,$0A
ld [hli],a
ld a,[$D11D]
rla
jr nc,Logged_0x48EB3
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$CC
ld [hld],a
ret
Logged_0x48EB3:
ld a,[$C08F]
rra
ret nc
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D9
res 5,[hl]
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
call Logged_0x30AE
ld l,$16
dec [hl]
ret nz
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$46
ld [hld],a
ld de,$5263
call Logged_0x30F0
ret
ld hl,$D11F
ld a,$4E
ld [hld],a
ld a,$EC
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$CF
ld [hld],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$FD
ld [hl],a
ld l,$1A
res 5,[hl]
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x48F20
res 7,[hl]
ld de,$527F
jp Logged_0x30F0
Logged_0x48F20:
set 7,[hl]
ld de,$5290
jp Logged_0x30F0
Logged_0x48F28:
ld c,$2A
ld a,[$D11A]
rlca
jr c,Logged_0x48F60
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $08
jr c,Logged_0x48F42
cp $E8
jr c,Logged_0x48F55
Logged_0x48F42:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $40
jr nc,Logged_0x48F55
ld de,$52C7
jr Logged_0x48FA2
Logged_0x48F55:
call Logged_0x49199
jp z,Logged_0x30C5
ld de,$52A1
jr Logged_0x48F8E
Logged_0x48F60:
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $08
jr c,Logged_0x48F72
cp $E8
jr c,Logged_0x48F85
Logged_0x48F72:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
cp $C0
jr c,Logged_0x48F85
ld de,$52CE
jr Logged_0x48FA2
Logged_0x48F85:
call Logged_0x491B6
jp z,Logged_0x30B8
ld de,$52AA
Logged_0x48F8E:
call Logged_0x30F0
ld a,$1B
ld [hli],a
ld a,$5A
ld [$D11B],a
ld l,$08
ld a,[hl]
and $80
or $06
ld [hld],a
ret
Logged_0x48FA2:
call Logged_0x30F0
ld a,$12
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x48FAE:
ld l,$16
dec [hl]
ret nz
ld l,$08
ld a,[hl]
and $80
or $2A
ld [hld],a
ld l,$1B
ld a,$32
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x48FC9
ld de,$52BD
jp Logged_0x30F0
Logged_0x48FC9:
ld de,$52C2
jp Logged_0x30F0
ld hl,$D11B
ld a,[hl]
and a
jp z,Logged_0x48F28
cp $5A
jr z,Logged_0x4903E
cp $5B
jr z,Logged_0x48FAE
cp $02
jr z,Logged_0x49013
cp $03
jr z,Logged_0x49006
and $FE
cp $08
jr z,Logged_0x49069
cp $32
jr z,Logged_0x49020
cp $38
jp z,Logged_0x49094
Logged_0x48FF6:
ld a,[$D11A]
rlca
jr c,Logged_0x49001
ld de,$52A1
jr Logged_0x48F8E
Logged_0x49001:
ld de,$52AA
jr Logged_0x48F8E
Logged_0x49006:
ld a,$32
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x48FF6
ld de,$52B3
jp Logged_0x30F0
Logged_0x49013:
ld a,$32
ld [hld],a
ld a,[hld]
rlca
jr nc,Logged_0x48FF6
ld de,$52B8
jp Logged_0x30F0
Logged_0x49020:
ld a,[$D11A]
rlca
jr c,Logged_0x49032
call Logged_0x49199
jp z,Logged_0x3090
ld de,$52A1
jp Logged_0x48F8E
Logged_0x49032:
call Logged_0x491B6
jp z,Logged_0x309A
ld de,$52AA
jp Logged_0x48F8E
Logged_0x4903E:
ld l,$16
ld a,[hl]
cp $0D
jr nz,Logged_0x49052
dec [hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x4904F
set 7,[hl]
ret
Logged_0x4904F:
res 7,[hl]
ret
Logged_0x49052:
dec [hl]
ret nz
Logged_0x49054:
ld hl,$D11B
xor a
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x49063
ld de,$527F
jp Logged_0x30F0
Logged_0x49063:
ld de,$5290
jp Logged_0x30F0
Logged_0x49069:
ld l,$1D
bit 7,[hl]
jr nz,Logged_0x49077
ld l,$1A
ld a,[hli]
rlca
jr c,Logged_0x49013
jr Logged_0x49006
Logged_0x49077:
ld l,$08
ld a,[hl]
and $80
or $06
ld [hld],a
ld l,$1B
ld a,$38
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4908E
ld de,$52D5
jp Logged_0x30F0
Logged_0x4908E:
ld de,$52DE
jp Logged_0x30F0
Logged_0x49094:
ld hl,$D103
ld a,[hli]
sub $11
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x358B
and a
jr nz,Logged_0x490D5
ld a,[$C0DD]
and a
jr z,Logged_0x490D5
ld hl,$D103
ld a,[hli]
sub $11
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x358B
and a
jp z,Logged_0x30E1
Logged_0x490D5:
ld hl,$D11F
ld a,$50
ld [hld],a
ld a,$E8
ld [hld],a
ld a,$64
ld [$D116],a
xor a
ld [$D11B],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x49118
cp $32
jr z,Logged_0x4916A
cp $33
jp z,Unknown_0x49184
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr nc,Unknown_0x4910D
ld a,$32
ld [hld],a
res 7,[hl]
jr Logged_0x49112
Unknown_0x4910D:
ld a,$33
ld [hld],a
set 7,[hl]
Logged_0x49112:
ld a,$3C
ld [$D117],a
ret
Logged_0x49118:
ld l,$16
dec [hl]
jr z,Logged_0x4913F
ld a,[$C08F]
and $03
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x49131
call Logged_0x49199
jp z,Logged_0x30CA
jr Unknown_0x49137
Logged_0x49131:
call Logged_0x491B6
jp z,Logged_0x30BD
Unknown_0x49137:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x4913F:
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$CF
ld [hld],a
ld l,$1A
ld a,[hl]
rlca
ld a,[$D10F]
jr c,Unknown_0x4915D
cp $1A
jp c,Logged_0x49054
set 7,[hl]
ld de,$52AA
jp Logged_0x48F8E
Unknown_0x4915D:
cp $1A
jp nc,Logged_0x49054
res 7,[hl]
ld de,$52A1
jp Logged_0x48F8E
Logged_0x4916A:
ld hl,$D117
dec [hl]
jr z,Logged_0x4917F
call Logged_0x49199
jp z,Logged_0x30CA
ld hl,$D11B
ld a,$33
ld [hld],a
set 7,[hl]
ret
Logged_0x4917F:
xor a
ld [$D11B],a
ret
Unknown_0x49184:
ld hl,$D117
dec [hl]
jr z,Logged_0x4917F
call Logged_0x491B6
jp z,Logged_0x30BD
ld hl,$D11B
ld a,$32
ld [hld],a
res 7,[hl]
ret
Logged_0x49199:
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $09
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
ret
Logged_0x491B6:
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$08
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FE
ld [hl],a
ld a,[$CA3B]
rra
jr c,Logged_0x491FD
ld l,$1F
ld a,$52
ld [hld],a
ld a,$0F
ld [hld],a
ld de,$52E7
jp Logged_0x30F0
Logged_0x491FD:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$77
ld [$FF00+hSFXIDLow],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
jr Logged_0x49253
ld hl,$D11B
ld a,[hl]
and a
ret z
xor a
ld [hl],a
ld l,$1F
ld a,$52
ld [hld],a
ld a,$39
ld [hld],a
ld de,$5318
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$77
ld [$FF00+hSFXIDLow],a
ret
ld a,[$D10F]
cp $0C
jr nz,Logged_0x4924E
ld a,[$D114]
dec a
jr nz,Logged_0x4924E
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x4924E:
ld hl,$D116
dec [hl]
ret nz
Logged_0x49253:
ld l,$1F
ld a,$52
ld [hld],a
ld a,$65
ld [hld],a
ld de,$5335
call Logged_0x30F0
ld a,$36
ld [hli],a
ret
ld a,[$D10F]
cp $0C
jr nz,Logged_0x4927A
ld a,[$D114]
dec a
jr nz,Logged_0x4927A
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x4927A:
call Logged_0x30E6
ld l,$16
dec [hl]
ret nz
ld a,$1E
ld [hli],a
ld l,$1F
ld a,$52
ld [hld],a
ld a,$B4
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $28
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x492AC
res 7,[hl]
ld de,$536C
jp Logged_0x30F0
Logged_0x492AC:
set 7,[hl]
ld de,$5377
jp Logged_0x30F0
ld a,[$D11B]
cp $18
jr z,Logged_0x4930F
ld hl,$D116
dec [hl]
jr z,Logged_0x492F7
ld a,[$D11A]
rlca
jr c,Logged_0x492DF
ld a,[$D10F]
cp $1E
jr nz,Logged_0x492DC
ld a,[$D114]
dec a
jr nz,Logged_0x492DC
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x492DC:
jp Logged_0x30CA
Logged_0x492DF:
ld a,[$D10F]
cp $23
jr nz,Logged_0x492F4
ld a,[$D114]
dec a
jr nz,Logged_0x492F4
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x492F4:
jp Logged_0x30BD
Logged_0x492F7:
ld a,$3C
ld [hl],a
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
rla
jr c,Logged_0x49309
ld de,$536C
jp Logged_0x30F0
Logged_0x49309:
ld de,$5377
jp Logged_0x30F0
Logged_0x4930F:
xor a
ld [$D100],a
ld hl,$D102
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D11A
ld a,[$D107]
cp $27
jr c,Logged_0x49338
ld a,$03
jr nz,Logged_0x4933A
res 7,[hl]
jr Logged_0x4933C
Logged_0x49338:
ld a,$01
Logged_0x4933A:
set 7,[hl]
Logged_0x4933C:
ld [$D118],a
res 5,[hl]
ld l,$00
res 4,[hl]
set 3,[hl]
ld l,$0C
ld a,$03
ld [hld],a
ld a,$FC
ld [hld],a
ld a,$FE
ld [hl],a
xor a
ld [$D117],a
Logged_0x49356:
ld de,$51C4
call Logged_0x30F0
ld l,$1F
ld a,$53
ld [hld],a
ld a,$69
ld [hld],a
xor a
ld [$D11B],a
ret
ld a,$81
ld [$D11C],a
call Logged_0x49418
ld a,[$D117]
cp $03
jr z,Logged_0x493CD
ld a,[$D11B]
and a
jr nz,Logged_0x49393
ld a,[$D10D]
add a,c
ld b,a
ld a,[$CA87]
add a,c
sub b
cp $10
ret c
cp $18
ret nc
xor a
ld [$D11C],a
ret
Logged_0x49393:
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$DC
ld [hld],a
ld a,$01
ld [$D117],a
ld l,$03
ld a,[hli]
add a,$1B
ld [$CA62],a
ld a,[hli]
adc a,$00
ld [$CA61],a
ld a,[hli]
add a,$04
ld [$CA64],a
ld a,[hl]
adc a,$00
ld [$CA63],a
ld a,[$D11A]
rlca
jr c,Logged_0x493C7
ld de,$51C9
jp Logged_0x30F0
Logged_0x493C7:
ld de,$51D2
jp Logged_0x30F0
Logged_0x493CD:
ld de,$51DB
call Logged_0x30F0
ld l,$1F
ld a,$54
ld [hld],a
ld a,$12
ld [hld],a
ret
ld a,$81
ld [$D11C],a
call Logged_0x49418
ld a,[$D117]
cp $03
jr z,Logged_0x493CD
ld a,[$CA8E]
cp $0F
ret z
ld hl,$D11F
ld a,$54
ld [hld],a
ld a,$05
ld [hld],a
ld a,$0A
ld [$D116],a
ld a,$02
ld [$D117],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
jp Logged_0x49356
ld a,$81
ld [$D11C],a
ret
Logged_0x49418:
ld a,[$D117]
and a
ret z
ld a,[$D11A]
rlca
jr nc,Logged_0x49450
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$07
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x4947B
call Logged_0x494CB
ld a,[$D107]
cp $24
ret z
rra
jp nc,Logged_0x494F5
jp Logged_0x494E7
Logged_0x49450:
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x4947B
call Logged_0x494AF
ld a,[$D107]
cp $24
ret z
rra
jr nc,Logged_0x494E7
jr Logged_0x494F5
Logged_0x4947B:
ld a,[$D107]
cp $27
jr nc,Logged_0x49499
ld hl,$D11A
bit 7,[hl]
jr nz,Logged_0x49491
set 7,[hl]
ld de,$51D2
jp Logged_0x30F0
Logged_0x49491:
res 7,[hl]
ld de,$51C9
jp Logged_0x30F0
Logged_0x49499:
ld hl,$D117
ld a,[hl]
dec a
jr nz,Logged_0x494AB
ld [$CA9B],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$29
ld [$FF00+hSFXIDLow],a
Logged_0x494AB:
ld a,$03
ld [hl],a
ret
Logged_0x494AF:
call Logged_0x305C
ld a,[$D117]
dec a
ret nz
call Logged_0x1270
ld a,$06
ld [$FF00+$85],a
ld a,$13
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
jr Logged_0x49518
Logged_0x494CB:
call Logged_0x3069
ld a,[$D117]
dec a
ret nz
call Logged_0x1259
ld a,$06
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
jr Logged_0x49518
Logged_0x494E7:
call Logged_0x3076
ld a,[$D117]
dec a
ret nz
call Logged_0x129E
jp Logged_0x1197
Logged_0x494F5:
call Logged_0x3083
ld a,[$D117]
dec a
ret nz
call Logged_0x1287
call Logged_0x1169
ld a,[$D107]
cp $27
ret c
ld a,[$C08F]
and $07
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0B
ld [$FF00+hSFXIDLow],a
ret
Logged_0x49518:
ld a,[$D107]
cp $27
ret nc
ld a,[$C08F]
and $1F
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
ret
ld hl,$D11F
ld a,$55
ld [hld],a
ld a,$44
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$00
set 3,[hl]
ld a,$1E
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld a,$56
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$55
ld [hld],a
ld a,$66
ld [hld],a
ld bc,$4EF2
jp Logged_0x342D
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld a,$0A
ld [$D118],a
call Logged_0x3076
ld l,$1F
ld a,$55
ld [hld],a
ld a,$9D
ld [hld],a
ld hl,$D100
res 4,[hl]
ld de,$55C0
call Logged_0x30F0
ld a,$1D
ld [hli],a
ld a,[rDIV]
rra
ret nc
ld a,$01
ld [hl],a
jp Logged_0x305C
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$3C
ld [hli],a
ld a,[hl]
and a
jr z,Logged_0x495B1
call Logged_0x3069
Logged_0x495B1:
call Logged_0x3083
ld hl,$D100
set 4,[hl]
ld l,$1F
ld a,$55
ld [hld],a
ld a,$44
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
set 3,[hl]
ld l,$16
dec [hl]
ret nz
ld de,$558F
call Logged_0x30F0
ld a,$20
ld [hli],a
ld l,$1F
ld a,$55
ld [hld],a
ld a,$EF
ld [hld],a
ld l,$00
bit 1,[hl]
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$80
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$55A6
call Logged_0x30F0
ld l,$1F
ld a,$56
ld [hld],a
ld a,$10
ld [hld],a
ld l,$03
ld a,[hl]
add a,$08
ld [hli],a
ret nc
inc [hl]
ret
ld a,[$D11B]
and a
jr z,Logged_0x49625
cp $18
jr z,Logged_0x49666
ld de,$55CB
call Logged_0x30F0
ld a,$11
ld [hli],a
jr Logged_0x49650
Logged_0x49625:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ld bc,$43E0
jp z,Logged_0x34B7
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld de,$55AF
call Logged_0x30F0
ld a,$2D
ld [hli],a
Logged_0x49650:
ld l,$1F
ld a,$56
ld [hld],a
ld a,$AE
ld [hld],a
ld l,$00
bit 1,[hl]
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
ret
Logged_0x49666:
ld hl,$D11F
ld a,$56
ld [hld],a
ld a,$75
ld [hld],a
ld de,$55D6
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ld bc,$43E0
jp z,Logged_0x34B7
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld de,$55D9
call Logged_0x30F0
ld a,$07
ld [hli],a
ld l,$1F
ld a,$56
ld [hld],a
ld a,$AE
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld a,[$D140]
and a
jr z,Logged_0x496C8
xor a
ld [$D100],a
ret
Logged_0x496C8:
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$56
ld [hld],a
ld a,$ED
ld [hld],a
ld de,$55DE
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$0D
ld [hld],a
ld a,$F2
ld [hld],a
ld a,$FF
ld [hl],a
ret
ld a,[$D143]
cp $03
ret nz
ld [$D140],a
ld de,$55E7
call Logged_0x30F0
ld a,$9F
ld [hli],a
ld l,$1F
ld a,$57
ld [hld],a
ld a,$08
ld [hld],a
ret
ld hl,$D116
ld a,[hl]
cp $19
jr nc,Logged_0x49715
ld a,$81
ld [$D11C],a
Logged_0x49715:
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1A
res 5,[hl]
ld l,$1F
ld a,$57
ld [hld],a
ld a,$8B
ld [hld],a
ld l,$0C
ld a,$0A
ld [hld],a
ld a,$F7
ld [hld],a
ld a,$F7
ld [hl],a
ld de,$5615
call Logged_0x30F0
xor a
ld [$D117],a
ret
Logged_0x49745:
ld a,$30
ld [hld],a
dec l
xor a
ld [hld],a
ld de,$5615
jp Logged_0x30F0
Logged_0x49751:
ld bc,$45E0
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld a,$01
ld [$D11B],a
ld a,[$D117]
and a
ret z
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
ld hl,$D11B
ld a,[hl]
cp $30
jr z,Logged_0x49751
and a
jr z,Logged_0x49745
cp $01
jp z,Logged_0x49853
cp $34
jr z,Logged_0x497D4
cp $04
jr z,Logged_0x497D0
cp $35
jr z,Logged_0x4981F
cp $05
jr z,Logged_0x49811
cp $0A
jr z,Logged_0x497B6
cp $3A
jr z,Logged_0x497CA
jp Logged_0x49745
Logged_0x497B6:
ld a,[$CA8E]
and a
jp nz,Logged_0x3173
ld a,$3A
ld [hl],a
ld de,$5625
call Logged_0x30F0
ld a,$2C
ld [hli],a
ret
Logged_0x497CA:
ld l,$16
dec [hl]
ret nz
jr Logged_0x49806
Logged_0x497D0:
ld a,$34
jr Logged_0x49813
Logged_0x497D4:
ld l,$18
ld a,[$C08F]
and $07
jr nz,Logged_0x497E8
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$78
ld [$FF00+hSFXIDLow],a
dec [hl]
jr z,Logged_0x49806
Logged_0x497E8:
ld l,$03
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0A
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x3069
Logged_0x49806:
ld a,$01
ld [$D11B],a
ld de,$5615
jp Logged_0x30F0
Logged_0x49811:
ld a,$35
Logged_0x49813:
ld [hl],a
ld a,$02
ld [$D118],a
ld de,$5618
jp Logged_0x30F0
Logged_0x4981F:
ld l,$18
ld a,[$C08F]
and $07
jr nz,Logged_0x49833
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$78
ld [$FF00+hSFXIDLow],a
dec [hl]
jr z,Logged_0x49806
Logged_0x49833:
ld l,$03
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $09
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x305C
jr Logged_0x49806
Logged_0x49853:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ret z
ld hl,$D105
ld a,[hli]
sub $07
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld hl,$D105
ld a,[hli]
add a,$08
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld a,$00
ld [$D11B],a
inc a
ld [$D117],a
ret
ld hl,$D11F
ld a,$58
ld [hld],a
ld a,$B2
ld [hld],a
ld l,$18
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hl],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$58
ld [hld],a
ld a,$F1
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x498D8
res 7,[hl]
ld de,$4804
jr Logged_0x498DD
Logged_0x498D8:
set 7,[hl]
ld de,$481D
Logged_0x498DD:
call Logged_0x30F0
ld a,$78
ld [hli],a
xor a
ld [hl],a
ld l,$0C
ld a,$FF
ld [hld],a
ld a,$F1
ld [hld],a
ld a,$0F
ld [hl],a
ret
call Logged_0x3655
ld a,$0F
ld [$D10A],a
call Logged_0x49AF0
ld hl,$D11B
ld a,[hld]
and a
jr z,Logged_0x49920
inc l
ld b,$00
ld [hl],b
ld l,$00
res 3,[hl]
cp $0A
jr z,Logged_0x49936
and $FE
cp $04
jr z,Unknown_0x49919
cp $28
jr nz,Logged_0x4991E
Unknown_0x49919:
ld l,$17
jp Logged_0x49A85
Logged_0x4991E:
ld l,$1A
Logged_0x49920:
ld a,[hl]
and $0F
rst JumpList
dw Logged_0x49943
dw Logged_0x49943
dw Logged_0x49957
dw Logged_0x49984
dw Logged_0x499B8
dw Logged_0x499F8
dw Logged_0x49A57
dw Logged_0x49A7C
dw Logged_0x49AA1
Logged_0x49936:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ld l,$17
jp Logged_0x49A85
Logged_0x49943:
ld hl,$D116
dec [hl]
ret nz
ld a,$3E
ld [hl],a
ld l,$1A
inc [hl]
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
Logged_0x49957:
call Logged_0x49B76
ld hl,$D116
dec [hl]
jr z,Logged_0x4997D
ld l,$00
bit 5,[hl]
jp z,Logged_0x30E1
res 5,[hl]
xor a
ld [$D10A],a
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Logged_0x4997D:
ld a,$53
ld [hli],a
ld l,$1A
inc [hl]
ret
Logged_0x49984:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x4998D
dec [hl]
ret
Logged_0x4998D:
inc l
ld a,[hl]
and a
ld l,$1A
jr nz,Logged_0x499B1
ld a,[$D10F]
bit 7,[hl]
jr nz,Logged_0x499A3
cp $05
ret nz
ld de,$4852
jr Logged_0x499A9
Logged_0x499A3:
cp $0E
ret nz
ld de,$48C6
Logged_0x499A9:
inc [hl]
call Logged_0x30F0
ld a,$31
ld [hli],a
ret
Logged_0x499B1:
inc [hl]
ld a,$31
ld [$D116],a
ret
Logged_0x499B8:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x499D2
dec [hl]
ld l,$15
ld a,[hld]
cp $0A
ret nz
ld a,[hld]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8A
ld [$FF00+hSFXIDLow],a
ret
Logged_0x499D2:
inc l
ld a,[hl]
and a
ret nz
ld a,[$D10F]
ld l,$1A
bit 7,[hl]
jr nz,Logged_0x499E7
cp $22
ret nz
ld de,$486F
jr Logged_0x499ED
Logged_0x499E7:
cp $45
ret nz
ld de,$48E3
Logged_0x499ED:
inc [hl]
call Logged_0x30F0
ld a,$31
ld [hli],a
ld a,$02
ld [hl],a
ret
Logged_0x499F8:
ld hl,$D117
ld a,$02
ld [hld],a
dec [hl]
jr z,Logged_0x49A12
dec l
ld a,[hld]
cp $0A
ret nz
ld a,[hld]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8A
ld [$FF00+hSFXIDLow],a
ret
Logged_0x49A12:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x49A18:
ld l,$00
add a,l
ld l,a
bit 0,[hl]
jr z,Logged_0x49A2A
ld a,b
cp $E0
jr z,Logged_0x49A5F
add a,$20
ld b,a
jr Logged_0x49A18
Logged_0x49A2A:
ld a,$93
ld [$D116],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$89
ld [$FF00+hSFXIDLow],a
ld hl,$D11A
inc [hl]
bit 7,[hl]
jr nz,Logged_0x49A4B
ld de,$488C
call Logged_0x30F0
ld bc,$4B7B
jp Logged_0x3416
Logged_0x49A4B:
ld de,$4900
call Logged_0x30F0
ld bc,$4B90
jp Logged_0x3416
Logged_0x49A57:
ld hl,$D117
ld a,$02
ld [hld],a
dec [hl]
ret nz
Logged_0x49A5F:
ld a,$31
ld [$D116],a
ld hl,$D11A
ld a,[hl]
and $F0
or $07
ld [hl],a
rlca
jr c,Logged_0x49A76
ld de,$48A9
jp Logged_0x30F0
Logged_0x49A76:
ld de,$491D
jp Logged_0x30F0
Logged_0x49A7C:
ld hl,$D117
ld a,$02
ld [hld],a
dec [hl]
ret nz
inc l
Logged_0x49A85:
xor a
ld [hl],a
ld l,$1A
ld a,[hl]
and $F0
or $08
ld [hl],a
rlca
jr c,Logged_0x49A97
ld de,$4804
jr Logged_0x49A9A
Logged_0x49A97:
ld de,$481D
Logged_0x49A9A:
call Logged_0x30F0
ld a,$01
ld [hli],a
ret
Logged_0x49AA1:
call Logged_0x49B76
ld hl,$D118
ld a,[hli]
ld b,a
ld a,[$D103]
cp b
jr nz,Logged_0x49AB6
ld b,[hl]
ld a,[$D104]
cp b
jr z,Logged_0x49AE2
Logged_0x49AB6:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x49AC5
dec [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8B
ld [$FF00+hSFXIDLow],a
Logged_0x49AC5:
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D4
res 5,[hl]
xor a
ld [$D10A],a
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
Logged_0x49AE2:
ld l,$16
ld a,$78
ld [hl],a
ld l,$1A
ld a,[hl]
and $F0
or $01
ld [hld],a
ret
Logged_0x49AF0:
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x49B22
dec [hl]
ret nz
ld l,$1A
ld a,[hl]
and $0F
bit 7,[hl]
jr nz,Logged_0x49B12
cp $04
jr nz,Logged_0x49B0C
ld de,$4852
jp Logged_0x30F0
Logged_0x49B0C:
ld de,$4804
jp Logged_0x30F0
Logged_0x49B12:
cp $04
jr nz,Logged_0x49B1C
ld de,$48C6
jp Logged_0x30F0
Logged_0x49B1C:
ld de,$481D
jp Logged_0x30F0
Logged_0x49B22:
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $28
jr c,Logged_0x49B35
cp $E8
ret c
Logged_0x49B35:
ld hl,$D11A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
jr c,Logged_0x49B5A
bit 7,[hl]
ret z
res 7,[hl]
ld a,[hl]
and $0F
cp $04
jr nz,Logged_0x49B55
ld de,$484B
jr Logged_0x49B6E
Logged_0x49B55:
ld de,$483D
jr Logged_0x49B6E
Logged_0x49B5A:
bit 7,[hl]
ret nz
set 7,[hl]
ld a,[hl]
and $0F
cp $04
jr nz,Logged_0x49B6B
ld de,$4844
jr Logged_0x49B6E
Logged_0x49B6B:
ld de,$4836
Logged_0x49B6E:
call Logged_0x30F0
inc l
ld a,$14
ld [hl],a
ret
Logged_0x49B76:
ld a,[$D10D]
cp $10
jr c,Logged_0x49B8A
cp $C0
jr nc,Logged_0x49B85
cp $A0
jr nc,Logged_0x49B8A
Logged_0x49B85:
xor a
ld [$D11B],a
ret
Logged_0x49B8A:
ld a,$48
ld [$D11B],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
set 4,[hl]
ld l,$1F
ld a,$5B
ld [hld],a
ld a,$A3
ld [hld],a
ret
ld hl,$D101
ld a,[hli]
ld c,a
ld b,[hl]
ld e,$41
ld d,$2D
ld h,$D0
ld l,$02
ld a,[hld]
cp b
jr nz,Logged_0x49BC5
ld a,[hld]
cp c
jr nz,Logged_0x49BC5
ld a,[hl]
and e
dec a
jr nz,Logged_0x49BC5
ld a,[$D007]
cp d
jp z,Logged_0x49C61
Logged_0x49BC5:
ld l,$22
ld a,[hld]
cp b
jr nz,Logged_0x49BDB
ld a,[hld]
cp c
jr nz,Logged_0x49BDB
ld a,[hl]
and e
dec a
jr nz,Logged_0x49BDB
ld a,[$D027]
cp d
jp z,Logged_0x49C61
Logged_0x49BDB:
ld l,$42
ld a,[hld]
cp b
jr nz,Logged_0x49BF1
ld a,[hld]
cp c
jr nz,Logged_0x49BF1
ld a,[hl]
and e
dec a
jr nz,Logged_0x49BF1
ld a,[$D047]
cp d
jp z,Logged_0x49C61
Logged_0x49BF1:
ld l,$62
ld a,[hld]
cp b
jr nz,Logged_0x49C07
ld a,[hld]
cp c
jr nz,Logged_0x49C07
ld a,[hl]
and e
dec a
jr nz,Logged_0x49C07
ld a,[$D067]
cp d
jp z,Logged_0x49C61
Logged_0x49C07:
ld l,$82
ld a,[hld]
cp b
jr nz,Logged_0x49C1D
ld a,[hld]
cp c
jr nz,Logged_0x49C1D
ld a,[hl]
and e
dec a
jr nz,Logged_0x49C1D
ld a,[$D087]
cp d
jp z,Logged_0x49C61
Logged_0x49C1D:
ld l,$A2
ld a,[hld]
cp b
jr nz,Logged_0x49C33
ld a,[hld]
cp c
jr nz,Logged_0x49C33
ld a,[hl]
and e
dec a
jr nz,Logged_0x49C33
ld a,[$D0A7]
cp d
jp z,Logged_0x49C61
Logged_0x49C33:
ld l,$C2
ld a,[hld]
cp b
jr nz,Logged_0x49C49
ld a,[hld]
cp c
jr nz,Logged_0x49C49
ld a,[hl]
and e
dec a
jr nz,Logged_0x49C49
ld a,[$D0C7]
cp d
jp z,Logged_0x49C61
Logged_0x49C49:
ld l,$E2
ld a,[hld]
cp b
jr nz,Logged_0x49C5F
ld a,[hld]
cp c
jr nz,Logged_0x49C5F
ld a,[hl]
and e
dec a
jr nz,Logged_0x49C5F
ld a,[$D0E7]
cp d
jp z,Logged_0x49C61
Logged_0x49C5F:
jr Logged_0x49C6B
Logged_0x49C61:
ld a,l
add a,$1A
ld l,a
ld a,[hl]
and $0F
cp $06
ret z
Logged_0x49C6B:
xor a
ld [$D100],a
ret
ld b,$02
ld hl,$D103
ld a,[hl]
sub $10
ld [hli],a
jr nc,Logged_0x49C8E
dec [hl]
jr Logged_0x49C8E
ld b,$00
ld hl,$D103
ld a,[hl]
add a,$10
ld [hli],a
jr nc,Logged_0x49C8E
inc [hl]
jr Logged_0x49C8E
ld b,$01
Logged_0x49C8E:
ld a,b
ld [$D117],a
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$E5
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$00
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F4
ld [hl],a
ld a,[$CA3B]
rra
jr c,Logged_0x49CBC
ld de,$575B
jp Logged_0x30F0
Logged_0x49CBC:
ld de,$575E
jp Logged_0x30F0
call Logged_0x3655
ld hl,$D116
dec [hl]
jp nz,Logged_0x30AE
jr Logged_0x49CD8
call Logged_0x3655
ld hl,$D116
dec [hl]
jp nz,Logged_0x30A4
Logged_0x49CD8:
xor a
ld [$D11B],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$E5
ld [hld],a
ret
call Logged_0x3655
ld hl,$D11B
ld a,[hl]
and a
ret z
cp $2B
jr z,Logged_0x49CF9
cp $0A
jr z,Logged_0x49D13
xor a
ld [hl],a
ret
Logged_0x49CF9:
ld l,$17
ld a,[hl]
cp $02
jr c,Logged_0x49D05
xor a
ld [$D11B],a
ret
Logged_0x49D05:
inc [hl]
dec l
ld a,$09
ld [hl],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$C2
ld [hld],a
ret
Logged_0x49D13:
ld l,$17
ld a,[hl]
and a
jr nz,Logged_0x49D1D
ld [$D11B],a
ret
Logged_0x49D1D:
dec [hl]
dec l
ld a,$09
ld [hl],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$CE
ld [hld],a
ld a,[$D101]
add a,$03
ld e,a
ld c,$2B
ld a,$00
ld b,$00
call Logged_0x49D43
ld a,[$D101]
sub $03
ld e,a
ld a,$00
ld b,$00
Logged_0x49D43:
ld h,$D0
Logged_0x49D45:
ld l,$01
add a,l
ld l,a
ld a,[hl]
cp e
jr nz,Logged_0x49D5B
ld a,l
add a,$06
ld l,a
ld a,[hl]
cp $20
jr nz,Logged_0x49D5B
ld a,l
add a,$14
ld l,a
ld [hl],c
Logged_0x49D5B:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x49D45
ld hl,$D11F
ld a,$5D
ld [hld],a
ld a,$83
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$04
ld [hld],a
ld a,$FA
ld [hld],a
ld a,$FF
ld [hl],a
ld l,$00
set 3,[hl]
jp Logged_0x49DDD
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x49DF7
cp $5A
jr z,Logged_0x49DA6
cp $5B
jr z,Logged_0x49DBD
Logged_0x49D92:
ld a,$5A
ld [hl],a
ld de,$5775
call Logged_0x30F0
ld a,$18
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
Logged_0x49DA6:
ld a,$81
ld [$D11C],a
ld l,$16
dec [hl]
ret nz
ld l,$00
set 4,[hl]
ld a,$5B
ld [$D11B],a
ld a,$3C
ld [$D116],a
Logged_0x49DBD:
ld a,$81
ld [$D11C],a
ld l,$16
ld a,[hl]
ld e,a
and a
jr z,Logged_0x49DCA
dec [hl]
Logged_0x49DCA:
inc l
ld a,[hli]
ld c,a
ld b,[hl]
ld l,$03
ld a,[hli]
cp c
jp nz,Logged_0x30E6
ld a,[hl]
cp b
jp nz,Logged_0x30E6
ld a,e
and a
ret nz
Logged_0x49DDD:
ld de,$5761
call Logged_0x30F0
ld a,$41
ld [hli],a
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
xor a
ld [hli],a
inc l
ld [hl],a
ld l,$00
res 4,[hl]
ret
Logged_0x49DF7:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x49E05
dec [hl]
ret nz
ld de,$5772
jp Logged_0x30F0
Logged_0x49E05:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x49E26
ld a,[$C0DD]
and a
jr nz,Logged_0x49E26
ld bc,$4280
jp Logged_0x34B7
Logged_0x49E26:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
jp Logged_0x49D92
ld hl,$D11F
ld a,$5E
ld [hld],a
ld a,$4B
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,$B4
ld [$D116],a
ld l,$00
set 3,[hl]
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
ret c
ld a,[$CA87]
ld b,a
ld a,[$D10D]
sub b
cp $50
ret nc
cp $28
ret c
ld hl,$D11F
ld a,$5E
ld [hld],a
ld a,$7F
ld [hld],a
ld bc,$4CB6
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$5E
ld [hld],a
ld a,$B3
ld [hld],a
ld l,$00
set 4,[hl]
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
bit 1,[hl]
ret z
res 4,[hl]
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$CE
ld [hld],a
ld de,$5A33
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x49EE2
dec [hl]
ret nz
ld de,$5A3D
jp Logged_0x30F0
Logged_0x49EE2:
ld de,$5A1A
call Logged_0x30F0
ld a,$20
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$34
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x49EFE:
ld l,$1F
ld a,$34
ld [hld],a
ld a,$07
ld [hl],a
ld l,$19
xor a
ld [hld],a
ld a,$01
ld [hl],a
ret
Unknown_0x49F0E:
ld a,$33
ld c,$F8
ld b,$02
jr Unknown_0x49F1C
Unknown_0x49F16:
ld a,$34
ld c,$07
ld b,$02
Unknown_0x49F1C:
ld l,$00
set 3,[hl]
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ld de,$5A30
jp Logged_0x30F0
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x49F5E
cp $0B
jr z,Logged_0x49EFE
cp $08
jr z,Unknown_0x49F16
cp $09
jr z,Unknown_0x49F0E
cp $28
jr z,Unknown_0x49F0E
cp $29
jr z,Unknown_0x49F16
cp $0A
jp z,Logged_0x3173
cp $04
jr z,Unknown_0x49F16
cp $05
jr z,Unknown_0x49F0E
xor a
ld [hl],a
Logged_0x49F5E:
ld l,$17
ld a,[hl]
and a
jr z,Logged_0x49F97
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
jr nz,Logged_0x49F85
ld bc,$4A40
call Logged_0x34B7
jp Logged_0x3090
Logged_0x49F85:
ld de,$5A26
call Logged_0x30F0
ld a,$09
ld [hli],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$B5
ld [hld],a
ret
Logged_0x49F97:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x49FA7
dec [hl]
ld bc,$4A20
call Logged_0x34B7
jp Logged_0x3090
Logged_0x49FA7:
xor a
ld [$D119],a
inc a
ld [$D117],a
ld de,$5A1D
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D11F
ld a,$5F
ld [hld],a
ld a,$CE
ld [hld],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F4
ld [hl],a
ld l,$1F
ld a,$60
ld [hld],a
ld a,$37
ld [hld],a
ld de,$43E4
call Logged_0x30F0
ld a,$14
ld [hli],a
xor a
ld [hl],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4A008
res 7,[hl]
ret
Logged_0x4A008:
set 7,[hl]
ret
Unknown_0x4A00B:
ld l,$1F
ld a,$61
ld [hld],a
ld a,$1B
ld [hld],a
jp Logged_0x4A3A3
Unknown_0x4A016:
ld l,$1F
ld a,$61
ld [hld],a
ld a,$1B
ld [hld],a
jp Unknown_0x4A395
Unknown_0x4A021:
ld l,$1F
ld a,$61
ld [hld],a
ld a,$1B
ld [hld],a
jp Unknown_0x4A379
Unknown_0x4A02C:
ld l,$1F
ld a,$61
ld [hld],a
ld a,$1B
ld [hld],a
jp z,Unknown_0x4A387
ld a,[$CA97]
cp $10
jr c,Logged_0x4A06B
ld hl,$D11F
ld a,$61
ld [hld],a
ld a,$1B
ld [hld],a
ld de,$43F8
call Logged_0x30F0
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld a,$FF
ld [hld],a
ld a,$F2
ld [hld],a
ld a,[hl]
and $80
or $01
ld [hld],a
ld a,$2D
ld [$D11B],a
xor a
ld [$D119],a
ret
Logged_0x4A06B:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4A08D
cp $04
jr z,Unknown_0x4A00B
cp $05
jr z,Unknown_0x4A016
cp $28
jr z,Unknown_0x4A021
cp $29
jr z,Unknown_0x4A02C
cp $0A
jp z,Logged_0x3182
xor a
ld [hl],a
ld l,$00
res 3,[hl]
Logged_0x4A08D:
ld l,$17
ld a,[hld]
dec a
jr z,Logged_0x4A0FD
dec [hl]
jr nz,Logged_0x4A0A3
ld de,$43ED
call Logged_0x30F0
ld a,$29
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x4A0A3:
ld a,[$C08F]
and $03
ret nz
ld hl,$D103
ld a,[hli]
sub $12
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x4A0C8
ld a,[hli]
sub $0B
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
jr Logged_0x4A0D2
Logged_0x4A0C8:
ld a,[hli]
add a,$09
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
Logged_0x4A0D2:
call Logged_0x3513
and a
jr z,Logged_0x4A0F5
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
call Logged_0x3513
and a
jr nz,Logged_0x4A0F5
ld a,[$D11A]
rlca
jp c,Logged_0x30BD
jp Logged_0x30CA
Logged_0x4A0F5:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x4A0FD:
ld a,[hl]
cp $1E
jr z,Logged_0x4A10F
dec [hl]
ret nz
ld a,$7E
ld [hli],a
xor a
ld [hl],a
ld de,$43E4
jp Logged_0x30F0
Logged_0x4A10F:
dec [hl]
ld l,$00
bit 1,[hl]
ret z
ld bc,$478B
jp Logged_0x3416
ld a,[$D11B]
rst JumpList
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A26D
dw Logged_0x4A277
dw Logged_0x4A3A3
dw Unknown_0x4A395
dw Logged_0x4A2DF
dw Logged_0x4A2F8
dw Logged_0x4A26D
dw Logged_0x4A277
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A23A
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A350
dw Logged_0x4A224
dw Logged_0x4A2CC
dw Unknown_0x4A2D0
dw Logged_0x4A298
dw Logged_0x4A2B2
dw Logged_0x4A330
dw Logged_0x4A311
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Unknown_0x4A379
dw Unknown_0x4A387
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1E2
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A224
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A251
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x3371
dw Logged_0x4A1DF
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4A2A4
dw Logged_0x4A2BE
dw Logged_0x4A33F
dw Logged_0x4A320
dw Logged_0x3380
dw Logged_0x338F
dw Unknown_0x4A35D
dw Unknown_0x4A36B
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x4A1DF
dw Logged_0x33BC
dw Logged_0x33CB
Logged_0x4A1DF:
jp Logged_0x3182
Logged_0x4A1E2:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x4A204
ld a,[$C0DD]
and a
jp nz,Logged_0x3182
ld bc,$4280
jp Logged_0x34B7
Logged_0x4A204:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld a,$31
ld [$D11B],a
ld de,$43FB
call Logged_0x30F0
ld a,$A0
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ret
Logged_0x4A224:
ld a,[$CA97]
cp $10
jr c,Logged_0x4A235
ld a,[rDIV]
rra
ld a,$04
rla
ld [$D11B],a
ret
Logged_0x4A235:
ld hl,$D116
dec [hl]
ret nz
Logged_0x4A23A:
ld a,$81
ld [$D11C],a
ld a,$3F
ld [$D11B],a
ld de,$4430
call Logged_0x30F0
ld a,$23
ld [hli],a
ld l,$00
res 2,[hl]
Logged_0x4A251:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x4A26D:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x4A27F
Logged_0x4A277:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x4A27F:
ld [hld],a
ld de,$43FB
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x4A298:
ld hl,$D11B
ld a,$46
ld [hld],a
ld de,$43FB
call Logged_0x30F0
Logged_0x4A2A4:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x4A2B2:
ld hl,$D11B
ld a,$47
ld [hld],a
ld de,$43FB
call Logged_0x30F0
Logged_0x4A2BE:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4A2CC:
ld a,$44
jr Logged_0x4A2D2
Unknown_0x4A2D0:
ld a,$45
Logged_0x4A2D2:
ld [$D11B],a
xor a
ld [$D119],a
ld a,$02
ld [$D118],a
ret
Logged_0x4A2DF:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
ld de,$43FB
call Logged_0x30F0
jp Logged_0x3335
Logged_0x4A2F8:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
ld de,$43FB
call Logged_0x30F0
jp Logged_0x3344
Logged_0x4A311:
ld a,$49
ld [$D11B],a
ld de,$43FB
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x4A320:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x4A330
Logged_0x4A330:
ld a,$48
ld [$D11B],a
ld de,$43FB
call Logged_0x30F0
ld l,$00
set 2,[hl]
Logged_0x4A33F:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4A311
Logged_0x4A350:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hl],a
ret
Unknown_0x4A35D:
ld a,$5E
ld [$D11B],a
ld de,$4421
call Logged_0x30F0
jp Logged_0x33BC
Unknown_0x4A36B:
ld a,$5F
ld [$D11B],a
ld de,$4418
call Logged_0x30F0
jp Logged_0x33CB
Unknown_0x4A379:
ld de,$442D
call Logged_0x30F0
ld a,$33
ld c,$F8
ld b,$02
jr Logged_0x4A3AF
Unknown_0x4A387:
ld de,$442A
call Logged_0x30F0
ld a,$34
ld c,$07
ld b,$02
jr Logged_0x4A3AF
Unknown_0x4A395:
ld de,$442D
call Logged_0x30F0
ld a,$33
ld c,$17
ld b,$02
jr Logged_0x4A3AF
Logged_0x4A3A3:
ld de,$442A
call Logged_0x30F0
ld a,$33
ld c,$26
ld b,$02
Logged_0x4A3AF:
ld l,$1F
ld [hld],a
ld [hl],c
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ret
ld hl,$D100
set 3,[hl]
ld l,$16
dec [hl]
ret nz
ld a,$64
ld [hl],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
sub b
cp $18
jr c,Logged_0x4A3F7
cp $E8
jr nc,Logged_0x4A3F7
cp $80
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$01
ld [hld],a
ld l,$1A
jr nc,Logged_0x4A3F4
res 7,[hl]
ret
Logged_0x4A3F4:
set 7,[hl]
ret
Logged_0x4A3F7:
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$0F
ld [hld],a
ret
ld a,[$D11A]
rlca
jr c,Logged_0x4A40C
call Logged_0x30C5
jr Logged_0x4A40F
Logged_0x4A40C:
call Logged_0x30B8
Logged_0x4A40F:
call Logged_0x30D4
ld hl,$D116
dec [hl]
jr z,Logged_0x4A43B
ld a,[$D11B]
and a
jr nz,Logged_0x4A43B
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
Logged_0x4A43B:
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$4E
ld [hld],a
ld de,$440D
call Logged_0x30F0
ld a,$18
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$64
ld [hld],a
ld a,$82
ld [hld],a
ld de,$5B1E
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$FD
ld [hl],a
ret
ld hl,$D11B
ld a,[hl]
and a
ret z
xor a
ld [hl],a
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$9D
ld [hld],a
ld de,$5B12
call Logged_0x30F0
ld a,$64
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$64
ld [hld],a
ld a,$82
ld [hld],a
ld de,$5B1E
jp Logged_0x30F0
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$64
ld [hld],a
ld a,$D4
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$00
ld [hld],a
ld a,$00
ld [hld],a
ld a,$00
ld [hl],a
ret
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4A4E9
ld de,$5B2F
ld b,$00
jr Logged_0x4A4EE
Logged_0x4A4E9:
ld de,$5B38
ld b,$01
Logged_0x4A4EE:
ld hl,$D11F
ld a,$65
ld [hld],a
ld a,$0F
ld [hld],a
Logged_0x4A4F7:
ld hl,$D116
ld a,$AC
ld [hli],a
ld a,b
ld [hli],a
xor a
ld [hl],a
ld a,[rDIV]
rra
jr nc,Logged_0x4A50C
ld l,$00
ld a,[hl]
xor $80
ld [hl],a
Logged_0x4A50C:
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x4A521
cp $01
jr z,Logged_0x4A53F
xor a
ld [hl],a
Logged_0x4A521:
dec l
ld a,[hl]
and a
jr z,Logged_0x4A531
dec [hl]
jr nz,Logged_0x4A55D
ld de,$5B41
call Logged_0x30F0
jr Logged_0x4A55D
Logged_0x4A531:
ld l,$18
ld a,[hl]
cp $EE
jr nz,Logged_0x4A55D
ld de,$5B38
ld b,$01
jr Logged_0x4A4F7
Logged_0x4A53F:
dec l
ld a,[hl]
and a
jr z,Logged_0x4A54F
dec [hl]
jr nz,Logged_0x4A55D
ld de,$5B4C
call Logged_0x30F0
jr Logged_0x4A55D
Logged_0x4A54F:
ld l,$18
ld a,[hl]
cp $EE
jr nz,Logged_0x4A55D
ld de,$5B2F
ld b,$00
jr Logged_0x4A4F7
Logged_0x4A55D:
ld a,[$D118]
and a
jr z,Logged_0x4A57D
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x4A57D
ld hl,$D118
inc [hl]
ret
Logged_0x4A57D:
ld de,$65A9
ld hl,$D118
ld a,[hl]
ld b,d
ld c,e
add a,c
ld c,a
jr nc,Logged_0x4A58B
inc b
Logged_0x4A58B:
ld a,[bc]
cp $80
jr nz,Logged_0x4A595
xor a
ld [hl],a
ld b,d
ld c,e
ld a,[bc]
Logged_0x4A595:
inc [hl]
ld b,a
dec l
ld a,[hl]
and a
ld l,$05
ld a,[hl]
jr nz,Logged_0x4A5A4
sub b
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x4A5A4:
add a,b
ld [hli],a
ret nc
inc [hl]
ret
LoggedData_0x4A5A9:
INCBIN "baserom.gbc", $4A5A9, $4A697 - $4A5A9
Unknown_0x4A697:
INCBIN "baserom.gbc", $4A697, $4A69A - $4A697
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$66
ld [hld],a
ld a,$B9
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$08
ld [hld],a
ld a,$F7
ld [hld],a
ld a,$08
ld [hl],a
ret
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
ld hl,$D11A
jr c,Logged_0x4A6D1
res 7,[hl]
ld de,$5B57
jr Logged_0x4A6D6
Logged_0x4A6D1:
set 7,[hl]
ld de,$5B60
Logged_0x4A6D6:
ld hl,$D11F
ld a,$67
ld [hld],a
ld a,$29
ld [hld],a
Logged_0x4A6DF:
ld hl,$D116
ld a,$AC
ld [hli],a
xor a
ld [hli],a
ld [hl],a
jp Logged_0x30F0
Logged_0x4A6EB:
ld de,$5B69
jr Logged_0x4A6F3
Logged_0x4A6F0:
ld de,$5B74
Logged_0x4A6F3:
xor a
ld [hl],a
call Logged_0x30F0
ld a,$43
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $06
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8D
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4A711:
xor a
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4A71C
ld de,$5B7F
jr Logged_0x4A71F
Logged_0x4A71C:
ld de,$5B88
Logged_0x4A71F:
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$03
ld [hl],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4A73F
cp $0B
jr z,Logged_0x4A6EB
cp $0C
jr z,Logged_0x4A6F0
cp $0A
jp z,Logged_0x3173
jr Logged_0x4A711
Logged_0x4A73F:
ld l,$17
ld a,[hl]
and a
jr z,Logged_0x4A7C2
cp $01
jr z,Logged_0x4A77F
cp $02
jr z,Logged_0x4A774
cp $03
jr z,Logged_0x4A756
cp $04
jr z,Logged_0x4A76C
ret
Logged_0x4A756:
dec l
dec [hl]
jr nz,Logged_0x4A78B
ld a,[$D11A]
rlca
jr c,Logged_0x4A766
ld de,$5B57
jp Logged_0x4A6DF
Logged_0x4A766:
ld de,$5B60
jp Logged_0x4A6DF
Logged_0x4A76C:
ld bc,$4D50
call Logged_0x34CE
ld l,$17
Logged_0x4A774:
ld a,$81
ld [$D11C],a
dec l
dec [hl]
ret nz
jp Logged_0x4A860
Logged_0x4A77F:
dec l
ld a,[hl]
and a
jr z,Logged_0x4A786
dec [hl]
ret
Logged_0x4A786:
ld a,$02
ld [$D114],a
Logged_0x4A78B:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x4A7AE
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3090
jp Logged_0x4A6EB
Logged_0x4A7AE:
ld a,[hli]
add a,$06
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x309A
jp Logged_0x4A6F0
Logged_0x4A7C2:
dec l
ld a,[hl]
and a
jp z,Logged_0x4A859
dec [hl]
jr z,Logged_0x4A812
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $14
jr c,Logged_0x4A7DF
cp $EC
jr c,Logged_0x4A823
Logged_0x4A7DF:
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
ld hl,$D11A
bit 7,[hl]
jr nz,Logged_0x4A7F9
cp $40
jr nc,Logged_0x4A823
ld de,$5BC3
jr Logged_0x4A800
Logged_0x4A7F9:
cp $C0
jr c,Logged_0x4A823
ld de,$5BCE
Logged_0x4A800:
call Logged_0x30F0
ld a,$24
ld [hli],a
ld a,$01
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $49
ld [hld],a
ret
Logged_0x4A812:
ld a,[$D11A]
rlca
jr c,Logged_0x4A81D
ld de,$5B69
jr Logged_0x4A820
Logged_0x4A81D:
ld de,$5B74
Logged_0x4A820:
call Logged_0x30F0
Logged_0x4A823:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x4A844
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x4A875
jr Logged_0x4A854
Logged_0x4A844:
ld a,[hli]
add a,$06
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x4A875
Logged_0x4A854:
ld hl,$D118
inc [hl]
ret
Logged_0x4A859:
ld l,$18
ld a,[hl]
cp $EE
jr nz,Logged_0x4A823
Logged_0x4A860:
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
rlca
jr c,Logged_0x4A86F
ld de,$5B57
jp Logged_0x4A6DF
Logged_0x4A86F:
ld de,$5B60
jp Logged_0x4A6DF
Logged_0x4A875:
ld de,$65A9
ld hl,$D118
ld a,[hl]
ld b,d
ld c,e
add a,c
ld c,a
jr nc,Logged_0x4A883
inc b
Logged_0x4A883:
ld a,[bc]
cp $80
jr nz,Logged_0x4A88D
xor a
ld [hl],a
ld b,d
ld c,e
ld a,[bc]
Logged_0x4A88D:
inc [hl]
ld b,a
ld a,[$D11A]
rlca
ld l,$05
ld a,[hl]
jr c,Logged_0x4A89D
sub b
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x4A89D:
add a,b
ld [hli],a
ret nc
inc [hl]
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$68
ld [hld],a
ld a,$CD
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$5BD9
call Logged_0x30F0
ld a,$28
ld [hli],a
ld a,$01
ld [hl],a
ld l,$0C
ld a,$02
ld [hld],a
ld a,$FC
ld [hld],a
ld a,$FB
ld [hl],a
ret
ld a,[$C08F]
rra
ret c
ld hl,$D117
ld a,[hld]
and a
jr z,Logged_0x4A8ED
dec [hl]
jr z,Logged_0x4A8E7
ld a,[$D107]
cp $22
jp z,Logged_0x30BD
jp Logged_0x30E6
Logged_0x4A8E7:
ld a,$50
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x4A8ED:
dec [hl]
jr z,Logged_0x4A8FB
ld a,[$D107]
cp $22
jp z,Logged_0x30CA
jp Logged_0x30D9
Logged_0x4A8FB:
ld a,$50
ld [hli],a
ld a,$01
ld [hl],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$69
ld [hld],a
ld a,$2A
ld [hld],a
ld de,$5BFE
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$00
ld [hl],a
ld a,$31
ld [$D11B],a
ret
ld a,[$D11B]
rst JumpList
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4AA27
dw Logged_0x4AA2F
dw Unknown_0x4AAE3
dw Unknown_0x4AADB
dw Logged_0x4AA53
dw Logged_0x4AA66
dw Logged_0x4AA27
dw Logged_0x4AA2F
dw Logged_0x3173
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Unknown_0x4AAAE
dw Logged_0x4AA26
dw Logged_0x4AA40
dw Logged_0x4AA44
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4AA93
dw Logged_0x4AA79
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Unknown_0x4AACB
dw Unknown_0x4AAD3
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4AA0A
dw Logged_0x4A9EE
dw Logged_0x4AA26
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x3371
dw Logged_0x4A9EE
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4AA9D
dw Logged_0x4AA83
dw Logged_0x3380
dw Logged_0x338F
dw Unknown_0x4AABB
dw Unknown_0x4AAC3
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x4A9EE
dw Logged_0x33BC
dw Logged_0x33CB
Logged_0x4A9EE:
ld a,$2F
ld [$D11B],a
ld de,$5C01
call Logged_0x30F0
ld a,$19
ld [hli],a
ld l,$00
res 2,[hl]
set 3,[hl]
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
Logged_0x4AA0A:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x4AA26:
ret
Logged_0x4AA27:
ld hl,$D11B
ld a,$32
ld [hld],a
jr Logged_0x4AA35
Logged_0x4AA2F:
ld hl,$D11B
ld a,$33
ld [hld],a
Logged_0x4AA35:
ld a,$0C
ld [$D116],a
ld a,$01
ld [$D118],a
ret
Logged_0x4AA40:
ld a,$44
jr Logged_0x4AA46
Logged_0x4AA44:
ld a,$45
Logged_0x4AA46:
ld [$D11B],a
xor a
ld [$D119],a
ld a,$02
ld [$D118],a
ret
Logged_0x4AA53:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x4AA66:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x4AA79:
ld a,$49
ld [$D11B],a
ld hl,$D100
set 2,[hl]
Logged_0x4AA83:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x4AA93
Logged_0x4AA93:
ld a,$48
ld [$D11B],a
ld hl,$D100
set 2,[hl]
Logged_0x4AA9D:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x4AA79
Unknown_0x4AAAE:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hl],a
ret
Unknown_0x4AABB:
ld a,$5E
ld [$D11B],a
jp Logged_0x33BC
Unknown_0x4AAC3:
ld a,$5F
ld [$D11B],a
jp Logged_0x33CB
Unknown_0x4AACB:
ld a,$33
ld c,$F8
ld b,$02
jr Unknown_0x4AAE9
Unknown_0x4AAD3:
ld a,$34
ld c,$07
ld b,$02
jr Unknown_0x4AAE9
Unknown_0x4AADB:
ld a,$33
ld c,$17
ld b,$02
jr Unknown_0x4AAE9
Unknown_0x4AAE3:
ld a,$33
ld c,$26
ld b,$02
Unknown_0x4AAE9:
ld hl,$D11F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld [hl],b
ld a,$81
ld [$D11C],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$6B
ld [hld],a
ld a,$1D
ld [hld],a
ld de,$5C0A
call Logged_0x30F0
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$00
ld [hl],a
ret
Unknown_0x4AB1E:
INCBIN "baserom.gbc", $4AB1E, $4C000 - $4AB1E
SECTION "Bank13", ROMX, BANK[$13]
LoggedData_0x4C000:
INCBIN "baserom.gbc", $4C000, $4C242 - $4C000
Unknown_0x4C242:
INCBIN "baserom.gbc", $4C242, $4C280 - $4C242
LoggedData_0x4C280:
INCBIN "baserom.gbc", $4C280, $4C2FF - $4C280
Unknown_0x4C2FF:
INCBIN "baserom.gbc", $4C2FF, $4C300 - $4C2FF
LoggedData_0x4C300:
INCBIN "baserom.gbc", $4C300, $4C37F - $4C300
Unknown_0x4C37F:
INCBIN "baserom.gbc", $4C37F, $4C380 - $4C37F
LoggedData_0x4C380:
INCBIN "baserom.gbc", $4C380, $4C3FF - $4C380
Unknown_0x4C3FF:
INCBIN "baserom.gbc", $4C3FF, $4C400 - $4C3FF
LoggedData_0x4C400:
INCBIN "baserom.gbc", $4C400, $4C47F - $4C400
Unknown_0x4C47F:
INCBIN "baserom.gbc", $4C47F, $4C480 - $4C47F
LoggedData_0x4C480:
INCBIN "baserom.gbc", $4C480, $4C4FF - $4C480
Unknown_0x4C4FF:
INCBIN "baserom.gbc", $4C4FF, $4C500 - $4C4FF
LoggedData_0x4C500:
INCBIN "baserom.gbc", $4C500, $4C53A - $4C500
Unknown_0x4C53A:
INCBIN "baserom.gbc", $4C53A, $4C540 - $4C53A
LoggedData_0x4C540:
INCBIN "baserom.gbc", $4C540, $4C57F - $4C540
Unknown_0x4C57F:
INCBIN "baserom.gbc", $4C57F, $4C580 - $4C57F
LoggedData_0x4C580:
INCBIN "baserom.gbc", $4C580, $4C67F - $4C580
Unknown_0x4C67F:
INCBIN "baserom.gbc", $4C67F, $4C680 - $4C67F
LoggedData_0x4C680:
INCBIN "baserom.gbc", $4C680, $4C6E0 - $4C680
Unknown_0x4C6E0:
INCBIN "baserom.gbc", $4C6E0, $4C700 - $4C6E0
LoggedData_0x4C700:
INCBIN "baserom.gbc", $4C700, $4C75F - $4C700
Unknown_0x4C75F:
INCBIN "baserom.gbc", $4C75F, $4C760 - $4C75F
LoggedData_0x4C760:
INCBIN "baserom.gbc", $4C760, $4C7BF - $4C760
Unknown_0x4C7BF:
INCBIN "baserom.gbc", $4C7BF, $4C800 - $4C7BF
LoggedData_0x4C800:
INCBIN "baserom.gbc", $4C800, $4C85F - $4C800
Unknown_0x4C85F:
INCBIN "baserom.gbc", $4C85F, $4C860 - $4C85F
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$02
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D103
ld a,[$CA62]
add a,$04
ld [hli],a
ld a,[$CA61]
adc a,$00
ld [hli],a
ld a,[$CA64]
ld [hli],a
ld a,[$CA63]
ld [hli],a
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$A2
ld [hld],a
ld l,$00
res 2,[hl]
set 3,[hl]
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
Logged_0x4C8B1:
xor a
ld [$D100],a
ret
ld a,[$CA5B]
and $10
jr z,Logged_0x4C8DA
jr Logged_0x4C8B1
ld a,[$CA5B]
and $20
jr z,Logged_0x4C8DA
jr Logged_0x4C8B1
ld a,[$CA5B]
and $40
jr z,Logged_0x4C8DA
jr Logged_0x4C8B1
ld a,[$CA5B]
and $80
jr z,Logged_0x4C8DA
jr Logged_0x4C8B1
Logged_0x4C8DA:
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$48
ld [hld],a
ld a,$FE
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld de,$4000
call Logged_0x30F0
ld l,$0C
ld a,$0D
ld [hld],a
ld a,$F2
ld [hld],a
ret
ld hl,$D11B
ld a,[hl]
cp $18
ret nz
ld a,[$CA9B]
and a
ret nz
ld de,$4003
call Logged_0x30F0
ld a,$56
ld [hli],a
ld hl,$D11F
ld a,$49
ld [hld],a
ld a,$1D
ld [hld],a
ret
ld hl,$D116
ld a,[hl]
cp $49
jr nz,Logged_0x4C92D
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$35
ld [$FF00+hSFXIDLow],a
Logged_0x4C92D:
dec [hl]
ret nz
ld de,$4060
call Logged_0x30F0
ld hl,$D11F
ld a,$49
ld [hld],a
ld a,$1C
ld [hld],a
ld a,[$D108]
and $7F
cp $14
jr z,Logged_0x4C954
cp $15
jr z,Logged_0x4C959
cp $16
jr z,Logged_0x4C95E
ld bc,$4A7F
jr Logged_0x4C961
Logged_0x4C954:
ld bc,$4A40
jr Logged_0x4C961
Logged_0x4C959:
ld bc,$4A55
jr Logged_0x4C961
Logged_0x4C95E:
ld bc,$4A6A
Logged_0x4C961:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$24
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0x3416
ld de,$41BE
jr Logged_0x4C982
ld de,$41C3
jr Logged_0x4C982
ld de,$41C8
jr Logged_0x4C982
ld de,$41CD
Logged_0x4C982:
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
ret nz
jp Logged_0x30F0
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$49
ld [hld],a
ld a,$B7
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$404F
call Logged_0x30F0
ld l,$0C
ld a,$04
ld [hld],a
ld a,$FB
ld [hld],a
ld a,$FC
ld [hl],a
ret
ld a,[$D11B]
cp $18
ret nz
xor a
ld [$D100],a
ld hl,$D102
ld a,$02
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$7B
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$49
ld [hld],a
ld a,$F9
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$4036
call Logged_0x30F0
ld l,$0C
ld a,$01
ld [hld],a
ld a,$EF
ld [hld],a
ld a,$F9
ld [hl],a
ret
ld a,[$D11B]
cp $18
ret nz
xor a
ld [$D100],a
ld hl,$D102
ld a,$02
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$7B
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D100
set 4,[hl]
set 3,[hl]
ld l,$1A
set 4,[hl]
ld l,$1F
ld a,$4A
ld [hld],a
ld a,$2A
ld [hld],a
ret
ld a,$02
ld [$D114],a
ld a,[$D11B]
cp $0A
jr nz,Logged_0x4CA3B
ld a,$01
ld [$D147],a
Logged_0x4CA3B:
ld a,[$D147]
and a
jr z,Logged_0x4CA46
xor a
ld [$D100],a
ret
Logged_0x4CA46:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x4CA4C:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $5A
jr nz,Logged_0x4CA5D
ld a,l
sub $07
ld l,a
ld a,[hl]
rra
jr c,Logged_0x4CA66
Logged_0x4CA5D:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x4CA4C
Logged_0x4CA66:
ld a,l
add a,$0F
ld l,a
ld c,[hl]
ld a,l
sub $0C
ld l,a
ld a,[$D107]
cp $35
jr z,Logged_0x4CA7B
ld de,$4AED
jr Logged_0x4CA7E
Logged_0x4CA7B:
ld de,$4B0D
Logged_0x4CA7E:
ld a,c
cp $10
jr c,Logged_0x4CA99
ld a,[hli]
ld [$D103],a
ld a,[hli]
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hl]
ld [$D106],a
ld a,$81
ld [$D11C],a
ret
Logged_0x4CA99:
add a,a
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
ld a,[de]
ld c,a
cp $80
jr nc,Logged_0x4CAB4
ld a,[hli]
add a,c
ld [$D103],a
jr nc,Logged_0x4CAC2
ld a,[hl]
inc a
ld [$D104],a
jr Logged_0x4CAC6
Logged_0x4CAB4:
ld a,[hli]
add a,c
ld [$D103],a
jr c,Logged_0x4CAC2
ld a,[hl]
dec a
ld [$D104],a
jr Logged_0x4CAC6
Logged_0x4CAC2:
ld a,[hl]
ld [$D104],a
Logged_0x4CAC6:
inc l
inc de
ld a,[de]
ld c,a
cp $80
jr nc,Logged_0x4CADB
ld a,[hli]
add a,c
ld [$D105],a
jr nc,Logged_0x4CAE8
ld a,[hl]
inc a
ld [$D106],a
ret
Logged_0x4CADB:
ld a,[hli]
add a,c
ld [$D105],a
jr c,Logged_0x4CAE8
ld a,[hl]
dec a
ld [$D106],a
ret
Logged_0x4CAE8:
ld a,[hl]
ld [$D106],a
ret
LoggedData_0x4CAED:
INCBIN "baserom.gbc", $4CAED, $4CB2D - $4CAED
ld de,$6052
jr Logged_0x4CB35
ld de,$605F
Logged_0x4CB35:
call Logged_0x30F0
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$4B
ld [hld],a
ld a,$4B
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,$81
ld [$D11C],a
ret
ld a,$01
ld [$C0E6],a
xor a
ld hl,$D14B
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld hl,$D15A
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$02
ld [hli],a
ld hl,$D100
set 3,[hl]
ld l,$1F
ld a,$4B
ld [hld],a
ld a,$9E
ld [hld],a
ld l,$1A
res 5,[hl]
ld de,$606C
call Logged_0x30F0
ld a,$14
ld [hli],a
ld bc,$4DC7
call Logged_0x3416
ld bc,$4DDC
call Logged_0x3416
ld bc,$4DF1
jp Logged_0x3416
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hli],a
ld a,$00
ld [hl],a
ld l,$1F
ld a,$4B
ld [hld],a
ld a,$C4
ld [hld],a
ld a,$01
ld [$CAC3],a
call Logged_0x161A
ret
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ld a,[$D117]
rst JumpList
dw Logged_0x4CBF5
dw Logged_0x4CC05
dw Logged_0x4CCE2
dw Logged_0x4CCF6
dw Logged_0x4CD45
dw Logged_0x4CD59
dw Logged_0x4CC3C
dw Logged_0x4CC87
dw Logged_0x4CBE8
dw Logged_0x4CD28
dw Logged_0x4CD8B
Logged_0x4CBE8:
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
ret nz
xor a
ld [$CA9B],a
ret
Logged_0x4CBF5:
ld hl,$D116
ld a,[$D15E]
and a
jr nz,Logged_0x4CC00
dec [hl]
ret nz
Logged_0x4CC00:
inc l
ld a,$01
ld [hli],a
ret
Logged_0x4CC05:
ld hl,$D116
ld a,$01
ld [hli],a
ld a,[$D160]
cp $02
jr nc,Logged_0x4CC19
ld e,a
ld a,[$D15E]
and a
jr z,Logged_0x4CC24
Logged_0x4CC19:
xor a
ld [$D15E],a
ld [$D160],a
ld b,$06
jr Logged_0x4CC36
Logged_0x4CC24:
ld a,[$CA88]
cp $58
jr nc,Logged_0x4CC2F
ld b,$02
jr Logged_0x4CC31
Logged_0x4CC2F:
ld b,$04
Logged_0x4CC31:
inc e
ld a,e
ld [$D160],a
Logged_0x4CC36:
ld [hl],b
ld hl,$D161
inc [hl]
ret
Logged_0x4CC3C:
ld a,[$D15C]
and a
ret nz
ld a,[$D15B]
and a
ret nz
ld hl,$D116
dec [hl]
ret nz
ld a,$80
ld [hli],a
ld a,$07
ld [hli],a
xor a
ld [hli],a
ld [hl],a
ld b,$03
ld a,[$D15A]
cp $04
jr z,Logged_0x4CC82
cp $03
jr nc,Logged_0x4CC7B
ld a,[$CA88]
cp $30
jr c,Logged_0x4CC7B
cp $80
jr nc,Logged_0x4CC7B
ld a,[$D161]
rra
jr c,Logged_0x4CC7B
ld a,$60
ld [$D116],a
ld b,$08
jr Logged_0x4CC82
Logged_0x4CC7B:
ld a,[rDIV]
rra
jr c,Logged_0x4CC82
ld b,$07
Logged_0x4CC82:
ld a,b
ld [$D14B],a
ret
Logged_0x4CC87:
ld hl,$D14E
ld a,[hl]
and a
jr z,Logged_0x4CC9E
cp $80
jr z,Logged_0x4CC94
dec [hl]
ret
Logged_0x4CC94:
ld hl,$D116
ld a,$A0
ld [hli],a
ld a,$08
ld [hl],a
ret
Logged_0x4CC9E:
ld a,[$D14B]
cp $07
jr z,Logged_0x4CCAE
cp $08
jr z,Logged_0x4CCB3
ld bc,$4180
jr Logged_0x4CCB6
Logged_0x4CCAE:
ld bc,$4580
jr Logged_0x4CCB6
Logged_0x4CCB3:
ld bc,$4680
Logged_0x4CCB6:
call Logged_0x4CF70
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hli],a
ld a,$00
ld [hl],a
ld a,$00
ld [$D14B],a
ld a,[$D15A]
dec a
ret nz
ld hl,$D162
dec [hl]
jr z,Logged_0x4CCDE
ld a,$06
ld [$D117],a
ld hl,$D161
inc [hl]
ret
Logged_0x4CCDE:
ld a,$02
ld [hl],a
ret
Logged_0x4CCE2:
ld hl,$D116
dec [hl]
ret nz
ld a,$80
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hli],a
ld [hl],a
ld a,$01
ld [$D14B],a
ret
Logged_0x4CCF6:
ld bc,$4000
call Logged_0x4CF70
ld bc,$4080
call Logged_0x4CF87
ld hl,$D116
dec [hl]
ret nz
ld a,$00
ld [$D14B],a
ld a,[$D14C]
and a
jr nz,Logged_0x4CD19
ld a,$1E
ld [hli],a
ld a,$00
ld [hl],a
ret
Logged_0x4CD19:
ld hl,$D116
ld a,$04
ld [hli],a
ld a,$09
ld [hl],a
ld a,$04
ld [$D14B],a
ret
Logged_0x4CD28:
ld a,[$D15A]
and a
jp z,Logged_0x4CDA8
ld a,[$D14C]
and a
ret nz
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hli],a
ld a,$06
ld [hl],a
ld a,$00
ld [$D14B],a
ret
Logged_0x4CD45:
ld hl,$D116
dec [hl]
ret nz
ld a,$80
ld [hli],a
ld a,$05
ld [hli],a
xor a
ld [hli],a
ld [hl],a
ld a,$02
ld [$D14B],a
ret
Logged_0x4CD59:
ld bc,$4000
call Logged_0x4CF70
ld bc,$4100
call Logged_0x4CF87
ld hl,$D116
dec [hl]
ret nz
ld a,$00
ld [$D14B],a
ld a,[$D14D]
and a
jr nz,Logged_0x4CD7C
ld a,$1E
ld [hli],a
ld a,$00
ld [hl],a
ret
Logged_0x4CD7C:
ld hl,$D116
ld a,$04
ld [hli],a
ld a,$0A
ld [hl],a
ld a,$05
ld [$D14B],a
ret
Logged_0x4CD8B:
ld a,[$D15A]
and a
jp z,Logged_0x4CDA8
ld a,[$D14D]
and a
ret nz
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hli],a
ld a,$06
ld [hl],a
ld a,$00
ld [$D14B],a
ret
Logged_0x4CDA8:
ld hl,$D11F
ld a,$4D
ld [hld],a
ld a,$BC
ld [hld],a
ld a,$82
ld [$D116],a
ld a,$06
ld [$D14B],a
ret
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
call Logged_0x4CFE0
ld a,[$D14C]
and a
ret nz
ld a,[$D14D]
and a
ret nz
ld hl,$D116
dec [hl]
jr nz,Logged_0x4CDF4
ld a,$82
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$01
ld [hld],a
ld a,$01
ld [$D15F],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CF
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4CDF4:
ld a,[hl]
and $3F
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CE
ld [$FF00+hSFXIDLow],a
ret
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ld hl,$D117
ld a,[hl]
and $07
jr nz,Logged_0x4CE1B
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0x4CE1B:
inc [hl]
dec l
ld a,[hl]
and a
ret z
dec [hl]
jr z,Logged_0x4CE31
call Logged_0x4CFE0
ld a,[$D116]
and $03
ret nz
ld hl,$C089
dec [hl]
ret
Logged_0x4CE31:
ld a,$07
ld [$CED4],a
jp Logged_0x4D005
Logged_0x4CE39:
ld a,$3C
ld [$D116],a
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$55
ld [hld],a
ret
ld hl,$D14E
ld a,[hl]
cp $80
jr z,Logged_0x4CE39
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4CE63
and $FE
cp $28
jr z,Logged_0x4CEBA
xor a
ld [hl],a
ld l,$00
res 3,[hl]
ret
Logged_0x4CE63:
ld a,[$D115]
cp $04
ret nz
ld a,[$D114]
and a
ret nz
ld a,[$D14C]
and a
jr nz,Logged_0x4CE9D
ld a,[$D14D]
and a
jr nz,Logged_0x4CE9D
ld a,[$D15A]
dec a
jr z,Logged_0x4CE9D
ld a,[$CA88]
cp $38
jr nc,Logged_0x4CE8D
ld de,$607A
jp Logged_0x30F0
Logged_0x4CE8D:
cp $78
jr nc,Logged_0x4CE97
ld de,$606C
jp Logged_0x30F0
Logged_0x4CE97:
ld de,$607F
jp Logged_0x30F0
Logged_0x4CE9D:
ld a,[$CA88]
cp $38
jr nc,Logged_0x4CEAA
ld de,$6092
jp Logged_0x30F0
Logged_0x4CEAA:
cp $78
jr nc,Unknown_0x4CEB4
ld de,$608D
jp Logged_0x30F0
Unknown_0x4CEB4:
ld de,$6097
jp Logged_0x30F0
Logged_0x4CEBA:
xor a
ld [hl],a
ld de,$6084
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$13
ld [hld],a
ld a,$01
ld [$D151],a
ld hl,$D15A
ld a,[hl]
and a
ret z
dec [hl]
jr nz,Logged_0x4CF03
ld hl,$D11F
ld a,$4F
ld [hld],a
ld a,$3F
ld [hld],a
ld l,$00
set 3,[hl]
xor a
ld [$D151],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$10
ld [$D116],a
ld a,$02
ld [$CA9B],a
ret
Logged_0x4CF03:
ld a,[hl]
dec a
ret nz
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$3A
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld hl,$D116
dec [hl]
jr z,Logged_0x4CF29
ld a,[hl]
cp $2C
jr nz,Logged_0x4CF26
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CE
ld [$FF00+hSFXIDLow],a
Logged_0x4CF26:
jp Logged_0x4CFE0
Logged_0x4CF29:
xor a
ld [$D151],a
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$47
ld [hld],a
ld l,$00
res 3,[hl]
call Logged_0x4D005
jp Logged_0x4CE9D
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CE
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CC
ld [$FF00+hSFXIDLow],a
ld de,$6071
jp Logged_0x30F0
Logged_0x4CF70:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x4CF7F
dec c
ld a,[bc]
jr Logged_0x4CF80
Logged_0x4CF7F:
inc [hl]
Logged_0x4CF80:
ld hl,$C089
ld c,[hl]
add a,c
ld [hl],a
ret
Logged_0x4CF87:
ld hl,$D118
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x4CF96
dec c
ld a,[bc]
jr Logged_0x4CF97
Logged_0x4CF96:
inc [hl]
Logged_0x4CF97:
ld hl,$C08B
ld c,[hl]
add a,c
ld [hl],a
ret
Logged_0x4CF9E:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x4CFAD
dec c
ld a,[bc]
jr Logged_0x4CFAE
Logged_0x4CFAD:
inc [hl]
Logged_0x4CFAE:
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x4CFBA
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x4CFBA:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x4CFBF:
ld hl,$D118
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x4CFCE
dec c
ld a,[bc]
jr Logged_0x4CFCF
Logged_0x4CFCE:
inc [hl]
Logged_0x4CFCF:
ld l,$05
cp $80
ld c,[hl]
jr nc,Logged_0x4CFDB
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x4CFDB:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x4CFE0:
ld a,[$C08F]
and $0F
jr z,Logged_0x4CFEF
cp $08
ret nz
ld hl,$504B
jr Logged_0x4CFFE
Logged_0x4CFEF:
ld a,[$D15A]
cp $02
jr c,Logged_0x4CFFB
ld hl,$507B
jr Logged_0x4CFFE
Logged_0x4CFFB:
ld hl,$501B
Logged_0x4CFFE:
ld c,$00
ld b,$06
jp Logged_0x35E5
Logged_0x4D005:
ld a,[$D15A]
cp $02
jr c,Logged_0x4D011
ld hl,$507B
jr Logged_0x4D014
Logged_0x4D011:
ld hl,$501B
Logged_0x4D014:
ld c,$00
ld b,$06
jp Logged_0x35E5
LoggedData_0x4D01B:
INCBIN "baserom.gbc", $4D01B, $4D0AB - $4D01B
ld hl,$D11F
ld a,$50
ld [hld],a
ld a,$C7
ld [hld],a
ld l,$03
ld a,[hli]
ld [$D152],a
ld a,[hli]
ld [$D153],a
ld a,[hli]
ld [$D154],a
ld a,[hli]
ld [$D155],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
res 3,[hl]
ld a,[$D14B]
cp $01
jr z,Logged_0x4D0F3
cp $03
jr z,Logged_0x4D100
cp $07
jr z,Logged_0x4D100
cp $08
jr z,Logged_0x4D100
cp $05
jr z,Logged_0x4D11D
cp $06
jr z,Logged_0x4D142
ld a,[$D151]
and a
ret z
jr Logged_0x4D14C
Logged_0x4D0F3:
ld a,$01
ld [$D151],a
ld bc,$52C8
ld de,$613A
jr Logged_0x4D154
Logged_0x4D100:
ld hl,$D108
ld a,[hl]
and $80
or $4F
ld [hli],a
ld a,$E0
ld [hli],a
ld a,$00
ld [hli],a
ld a,$F4
ld [hli],a
ld a,$00
ld [hli],a
ld bc,$51B1
ld de,$60BC
jr Logged_0x4D154
Logged_0x4D11D:
ld hl,$D108
ld a,[hl]
and $80
or $05
ld [hli],a
ld a,$01
ld [$D15C],a
ld a,[$D15A]
dec a
jr z,Logged_0x4D135
ld a,$3C
jr Logged_0x4D137
Logged_0x4D135:
ld a,$1E
Logged_0x4D137:
ld [$D116],a
ld bc,$5164
ld de,$60D4
jr Logged_0x4D154
Logged_0x4D142:
set 3,[hl]
ld bc,$537F
ld de,$60D4
jr Logged_0x4D154
Logged_0x4D14C:
ld bc,$519E
ld de,$60D4
jr Logged_0x4D154
Logged_0x4D154:
ld hl,$D11F
ld a,b
ld [hld],a
ld [hl],c
ld l,$18
xor a
ld [hli],a
ld [hli],a
inc l
ld [hl],a
jp Logged_0x30F0
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x4D17A
dec [hl]
ld a,[$D15A]
and a
jr z,Logged_0x4D197
ld a,[$D14B]
cp $00
jr z,Logged_0x4D197
ret
Logged_0x4D17A:
ld bc,$4540
call Logged_0x4CF9E
ld a,[$D119]
cp $0A
jr nz,Logged_0x4D194
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
Logged_0x4D194:
cp $3F
ret nz
Logged_0x4D197:
xor a
ld [$D15C],a
jp Logged_0x4D34C
ld bc,$4500
call Logged_0x4CF9E
ld a,[$D119]
cp $3A
ret nz
xor a
ld [$D151],a
jp Logged_0x4D34C
ld hl,$D14F
ld a,[hl]
and a
jr z,Logged_0x4D1F8
cp $80
jr z,Logged_0x4D1BE
dec [hl]
ret
Logged_0x4D1BE:
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$79
ld [hld],a
ld l,$03
ld a,[hli]
sub $01
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
add a,$06
ld [$CA64],a
ld a,[hli]
adc a,$00
ld [$CA63],a
ld l,$00
set 7,[hl]
ld de,$60F2
call Logged_0x30F0
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
Logged_0x4D1F8:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4D225
cp $2F
jr nz,Unknown_0x4D20F
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CD
ld [$FF00+hSFXIDLow],a
ld a,$80
jr Logged_0x4D217
Unknown_0x4D20F:
and $FE
cp $04
jr nz,Unknown_0x4D223
ld a,$0A
Logged_0x4D217:
ld [$D14E],a
ld [$D14F],a
ld [$D150],a
xor a
ld [hl],a
ret
Unknown_0x4D223:
xor a
ld [hl],a
Logged_0x4D225:
ld a,[$D14B]
cp $08
jr z,Logged_0x4D280
ld bc,$4380
call Logged_0x4CFBF
ld a,[$D14B]
cp $07
jr z,Logged_0x4D23E
ld bc,$4400
jr Logged_0x4D241
Logged_0x4D23E:
ld bc,$4600
Logged_0x4D241:
call Logged_0x4CF9E
ld a,[$D118]
cp $13
jr nz,Logged_0x4D251
ld de,$60EF
jp Logged_0x30F0
Logged_0x4D251:
cp $62
jr nz,Logged_0x4D264
ld hl,$D108
ld a,[hl]
and $80
or $4F
ld [hld],a
ld de,$60C3
jp Logged_0x30F0
Logged_0x4D264:
cp $61
jr nz,Logged_0x4D27A
ld hl,$D108
ld a,[hl]
and $80
or $50
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D27A:
cp $7F
ret nz
jp Logged_0x4D34C
Logged_0x4D280:
ld bc,$4700
call Logged_0x4CFBF
ld bc,$4800
call Logged_0x4CF9E
ld a,[$D118]
cp $13
jr nz,Logged_0x4D299
ld de,$60EF
jp Logged_0x30F0
Logged_0x4D299:
cp $4E
jr nz,Logged_0x4D2AC
ld hl,$D108
ld a,[hl]
and $80
or $4F
ld [hld],a
ld de,$60C3
jp Logged_0x30F0
Logged_0x4D2AC:
cp $4D
jr nz,Logged_0x4D2C2
ld hl,$D108
ld a,[hl]
and $80
or $50
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D2C2:
cp $5F
ret nz
jp Logged_0x4D34C
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4D316
cp $0A
jr nz,Unknown_0x4D30F
ld a,$2E
ld [hl],a
ld l,$00
set 7,[hl]
ld l,$1F
ld a,$56
ld [hld],a
ld a,$55
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$EC
ld [hli],a
ld a,$FE
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$07
ld [hli],a
xor a
ld [$D119],a
inc a
ld [$D14C],a
ld [$D116],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld de,$60B2
jp Logged_0x30F0
Unknown_0x4D30F:
ld a,$01
ld [$D15E],a
xor a
ld [hl],a
Logged_0x4D316:
ld bc,$4200
call Logged_0x4CFBF
ld bc,$4280
call Logged_0x4CF9E
ld a,[$D118]
cp $10
jr nz,Logged_0x4D333
ld hl,$D108
ld a,[hl]
and $80
or $48
ld [hld],a
ret
Logged_0x4D333:
cp $3C
jr nz,Logged_0x4D349
ld hl,$D108
ld a,[hl]
and $80
or $52
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CB
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D349:
cp $7F
ret nz
Logged_0x4D34C:
ld hl,$D11F
ld a,$50
ld [hld],a
ld a,$C7
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ld a,$E8
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$07
ld [hli],a
xor a
ld [$D11B],a
ld l,$00
res 3,[hl]
res 4,[hl]
ld de,$6128
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D15F]
and a
ret z
ld de,$60BC
call Logged_0x30F0
ld a,$20
ld [hli],a
ld l,$1F
ld a,$53
ld [hld],a
ld a,$9B
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
rra
jp nc,Logged_0x30E6
ret
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$C8
ld [hld],a
ld l,$03
ld a,[hli]
ld [$D156],a
ld a,[hli]
ld [$D157],a
ld a,[hli]
ld [$D158],a
ld a,[hli]
ld [$D159],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
res 3,[hl]
ld a,[$D14B]
cp $02
jr z,Logged_0x4D3F4
cp $03
jr z,Logged_0x4D401
cp $07
jr z,Logged_0x4D401
cp $08
jr z,Logged_0x4D401
cp $04
jr z,Logged_0x4D41E
cp $06
jr z,Logged_0x4D443
ld a,[$D151]
and a
ret z
jr Logged_0x4D44D
Logged_0x4D3F4:
ld a,$01
ld [$D151],a
ld bc,$5571
ld de,$6145
jr Logged_0x4D455
Logged_0x4D401:
ld hl,$D108
ld a,[hl]
and $80
or $4F
ld [hli],a
ld a,$E0
ld [hli],a
ld a,$00
ld [hli],a
ld a,$FF
ld [hli],a
ld a,$0B
ld [hli],a
ld bc,$54B2
ld de,$60C8
jr Logged_0x4D455
Logged_0x4D41E:
ld hl,$D108
ld a,[hl]
and $80
or $05
ld [hli],a
ld a,$01
ld [$D15B],a
ld a,[$D15A]
dec a
jr z,Logged_0x4D436
ld a,$3C
jr Logged_0x4D438
Logged_0x4D436:
ld a,$1E
Logged_0x4D438:
ld [$D116],a
ld bc,$5465
ld de,$60FE
jr Logged_0x4D455
Logged_0x4D443:
set 3,[hl]
ld bc,$5628
ld de,$60FE
jr Logged_0x4D455
Logged_0x4D44D:
ld bc,$549F
ld de,$60FE
jr Logged_0x4D455
Logged_0x4D455:
ld hl,$D11F
ld a,b
ld [hld],a
ld [hl],c
ld l,$18
xor a
ld [hli],a
ld [hl],a
inc l
ld [hl],a
jp Logged_0x30F0
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x4D47B
dec [hl]
ld a,[$D15A]
and a
jr z,Logged_0x4D498
ld a,[$D14B]
cp $00
jr z,Logged_0x4D498
ret
Logged_0x4D47B:
ld bc,$4540
call Logged_0x4CF9E
ld a,[$D119]
cp $0A
jr nz,Logged_0x4D495
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
Logged_0x4D495:
cp $3F
ret nz
Logged_0x4D498:
xor a
ld [$D15B],a
jp Logged_0x4D5F5
ld bc,$4500
call Logged_0x4CF9E
ld a,[$D119]
cp $3A
ret nz
xor a
ld [$D151],a
jp Logged_0x4D5F5
ld hl,$D150
ld a,[hl]
and a
jr z,Logged_0x4D4D2
cp $80
jr z,Logged_0x4D4BF
dec [hl]
ret
Logged_0x4D4BF:
ld hl,$D11F
ld a,$56
ld [hld],a
ld a,$22
ld [hld],a
ld l,$00
set 7,[hl]
ld de,$611C
jp Logged_0x30F0
Logged_0x4D4D2:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4D4EF
and $FE
cp $04
jr nz,Unknown_0x4D4ED
ld a,$0A
ld [$D14E],a
ld [$D14F],a
ld [$D150],a
xor a
ld [hl],a
ret
Unknown_0x4D4ED:
xor a
ld [hl],a
Logged_0x4D4EF:
ld a,[$D14B]
cp $08
jr z,Logged_0x4D540
ld bc,$4480
call Logged_0x4CFBF
ld a,[$D14B]
cp $07
jr z,Logged_0x4D508
ld bc,$4400
jr Logged_0x4D50B
Logged_0x4D508:
ld bc,$4600
Logged_0x4D50B:
call Logged_0x4CF9E
ld a,[$D118]
cp $13
jr nz,Logged_0x4D523
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$D1
ld [$FF00+hSFXIDLow],a
ld de,$6119
jp Logged_0x30F0
Logged_0x4D523:
cp $62
jr nz,Logged_0x4D52D
ld de,$60CF
jp Logged_0x30F0
Logged_0x4D52D:
cp $32
jr nz,Logged_0x4D53A
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$D0
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D53A:
cp $7F
ret nz
jp Logged_0x4D5F5
Logged_0x4D540:
ld bc,$4760
call Logged_0x4CFBF
ld bc,$4800
call Logged_0x4CF9E
ld a,[$D118]
cp $13
jr nz,Logged_0x4D561
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$D0
ld [$FF00+hSFXIDLow],a
ld de,$6119
jp Logged_0x30F0
Logged_0x4D561:
cp $4E
jr nz,Logged_0x4D56B
ld de,$60CF
jp Logged_0x30F0
Logged_0x4D56B:
cp $5F
ret nz
jp Logged_0x4D5F5
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x4D5BF
cp $0A
jr nz,Logged_0x4D5B8
ld a,$2E
ld [hl],a
ld l,$00
set 7,[hl]
ld l,$1F
ld a,$56
ld [hld],a
ld a,$55
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hli],a
ld a,$EC
ld [hli],a
ld a,$FE
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$07
ld [hli],a
xor a
ld [$D119],a
inc a
ld [$D14D],a
ld [$D116],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld de,$60B7
jp Logged_0x30F0
Logged_0x4D5B8:
ld a,$01
ld [$D15E],a
xor a
ld [hl],a
Logged_0x4D5BF:
ld bc,$4300
call Logged_0x4CFBF
ld bc,$4280
call Logged_0x4CF9E
ld a,[$D118]
cp $10
jr nz,Logged_0x4D5DC
ld hl,$D108
ld a,[hl]
and $80
or $48
ld [hld],a
ret
Logged_0x4D5DC:
cp $3C
jr nz,Logged_0x4D5F2
ld hl,$D108
ld a,[hl]
and $80
or $52
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CB
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D5F2:
cp $7F
ret nz
Logged_0x4D5F5:
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$C8
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ld a,$E8
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$07
ld [hli],a
xor a
ld [$D11B],a
ld l,$00
res 3,[hl]
res 4,[hl]
ld de,$6131
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D15F]
and a
ret z
ld de,$60C8
call Logged_0x30F0
ld a,$1E
ld [hli],a
ld l,$1F
ld a,$56
ld [hld],a
ld a,$44
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
rra
jp c,Logged_0x30D9
ret
ld hl,$C0BC
ld a,[$C08A]
add a,[hl]
ld [$C083],a
ld a,[$C08C]
ld [$C085],a
ld a,[$D11B]
ld e,a
cp $2D
jr z,Logged_0x4D67C
ld a,[$C08F]
and $0F
jr nz,Logged_0x4D67C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6A
ld [$FF00+hSFXIDLow],a
Logged_0x4D67C:
ld a,e
rst JumpList
dw Logged_0x4D7DC
dw Logged_0x4D7E6
dw Logged_0x4D83A
dw Logged_0x4D844
dw Logged_0x4D83A
dw Logged_0x4D844
dw Logged_0x4D899
dw Unknown_0x4D8B1
dw Logged_0x4D83A
dw Logged_0x4D844
dw Logged_0x4D824
dw Logged_0x4D83A
dw Logged_0x4D844
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D859
dw Unknown_0x4D861
dw Logged_0x4D86F
dw Logged_0x4D876
dw Logged_0x4D8E1
dw Logged_0x4D8C9
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x4D844
dw Logged_0x4D83A
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D750
dw Logged_0x4D73E
dw Logged_0x4D7DC
dw Logged_0x3290
dw Logged_0x4D7FD
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x4D7DC
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4D87D
dw Logged_0x4D88B
dw Logged_0x4D8F0
dw Logged_0x4D8D8
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
dw Logged_0x4D7DC
Logged_0x4D73E:
ld hl,$D116
ld a,[hl]
and a
jp z,Logged_0x3290
dec [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ret
Logged_0x4D750:
ld a,$81
ld [$D11C],a
ld a,[$D107]
cp $3D
jr z,Logged_0x4D780
ld hl,$D152
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld c,a
ld b,[hl]
ld hl,$D103
ld a,[hli]
cp e
jr nz,Logged_0x4D7A4
ld a,[hli]
cp d
jr nz,Logged_0x4D7A4
ld a,[hli]
cp c
jr nz,Logged_0x4D7A4
ld a,[hli]
cp b
jr nz,Logged_0x4D7A4
xor a
ld [$D14C],a
jp Logged_0x4D34C
Logged_0x4D780:
ld hl,$D156
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld c,a
ld b,[hl]
ld hl,$D103
ld a,[hli]
cp e
jr nz,Logged_0x4D7A4
ld a,[hli]
cp d
jr nz,Logged_0x4D7A4
ld a,[hli]
cp c
jr nz,Logged_0x4D7A4
ld a,[hli]
cp b
jr nz,Logged_0x4D7A4
xor a
ld [$D14D],a
jp Logged_0x4D5F5
Logged_0x4D7A4:
ld l,$03
ld a,[hli]
cp e
jr nz,Logged_0x4D7AE
ld a,[hl]
cp d
jr z,Logged_0x4D7B1
Logged_0x4D7AE:
call Logged_0x30E6
Logged_0x4D7B1:
ld l,$06
ld a,[hld]
cp b
jr z,Logged_0x4D7BB
jr c,Logged_0x4D7C6
jr Logged_0x4D7C1
Logged_0x4D7BB:
ld a,[hl]
cp c
jr z,Logged_0x4D7C9
jr c,Logged_0x4D7C6
Logged_0x4D7C1:
call Logged_0x30CA
jr Logged_0x4D7C9
Logged_0x4D7C6:
call Logged_0x30BD
Logged_0x4D7C9:
ld a,[$C08F]
and $03
ld hl,$D100
ld a,[hl]
jr nz,Logged_0x4D7D8
set 4,a
ld [hl],a
ret
Logged_0x4D7D8:
res 4,a
ld [hl],a
ret
Logged_0x4D7DC:
ld hl,$D11B
ld a,$30
ld [hld],a
dec l
xor a
ld [hld],a
ret
Logged_0x4D7E6:
ld hl,$D11B
ld a,$31
ld [hld],a
ld a,[$D15D]
cp $01
jr z,Logged_0x4D7F5
ld a,$46
Logged_0x4D7F5:
ld [$D116],a
ld hl,$D100
res 2,[hl]
Logged_0x4D7FD:
ld hl,$D116
dec [hl]
ret nz
ld a,$81
ld [$D11C],a
ld l,$00
res 7,[hl]
xor a
ld [$D15D],a
ld l,$1B
ld a,$2D
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x4D81E
ld de,$60FE
jp Logged_0x30F0
Logged_0x4D81E:
ld de,$60D4
jp Logged_0x30F0
Logged_0x4D824:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x4D844
Logged_0x4D83A:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x4D84C
Logged_0x4D844:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x4D84C:
ld [hld],a
ld l,$16
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ret
Logged_0x4D859:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x4D867
Unknown_0x4D861:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x4D867:
ld l,$18
ld a,$02
ld [hli],a
xor a
ld [hli],a
ret
Logged_0x4D86F:
ld hl,$D11B
ld a,$46
ld [hld],a
ret
Logged_0x4D876:
ld hl,$D11B
ld a,$47
ld [hld],a
ret
Logged_0x4D87D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x4D88B:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x4D899:
ld a,$01
ld [$D15D],a
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Unknown_0x4D8B1:
ld a,$01
ld [$D15D],a
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x4D8C9:
ld a,$01
ld [$D15D],a
ld hl,$D11B
ld a,$49
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4D8D8:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
jr Logged_0x4D8E1
Logged_0x4D8E1:
ld a,$01
ld [$D15D],a
ld hl,$D11B
ld a,$48
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x4D8F0:
ld a,[$CA69]
and a
jp z,Logged_0x3362
jp Logged_0x4D8C9
Unknown_0x4D8FA:
INCBIN "baserom.gbc", $4D8FA, $50000 - $4D8FA
SECTION "Bank14", ROMX, BANK[$14]
ld a,$01
ld [$C0E6],a
ld a,$1B
ld [$D118],a
call Logged_0x3076
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $04
ld [hl],a
ld a,$28
ld [$D116],a
ld l,$1F
ld a,$40
ld [hld],a
ld a,$24
ld [hld],a
ld hl,$D116
dec [hl]
ret nz
ld a,$02
ld [$CAC3],a
call Logged_0x161A
Logged_0x50031:
ld a,[$D11A]
rlca
jr c,Unknown_0x5003C
ld de,$53C4
jr Logged_0x5003F
Unknown_0x5003C:
ld de,$53D5
Logged_0x5003F:
call Logged_0x30F0
ld a,$50
ld [hli],a
ld l,$1F
ld a,$40
ld [hld],a
ld a,$5E
ld [hld],a
ld l,$0C
ld a,$08
ld [hld],a
ld a,$F7
ld [hld],a
ld a,$FC
ld [hld],a
ld a,$E3
ld [hld],a
res 7,[hl]
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$40
ld [hld],a
ld a,$7F
ld [hld],a
ld l,$1B
xor a
ld [hld],a
dec l
ld [hld],a
ld [hld],a
dec l
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D11B
ld a,[hld]
and $FE
cp $28
jr nz,Logged_0x500A8
ld a,[hld]
rlca
jr c,Logged_0x50097
ld de,$543C
jr Logged_0x5009A
Logged_0x50097:
ld de,$5441
Logged_0x5009A:
call Logged_0x30F0
xor a
ld [hl],a
ld l,$1F
ld a,$42
ld [hld],a
ld a,$82
ld [hld],a
ret
Logged_0x500A8:
ld l,$00
res 3,[hl]
ld bc,$4790
call Logged_0x3489
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x500CD
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x500C7
ld de,$53C4
jp Logged_0x30F0
Logged_0x500C7:
ld de,$53D5
jp Logged_0x30F0
Logged_0x500CD:
ld l,$19
ld a,[hld]
cp $4F
jr nz,Logged_0x50118
inc [hl]
ld a,[hl]
cp $02
jr c,Logged_0x50118
ld a,$18
ld [$FF00+$85],a
ld a,$39
ld [$FF00+$8D],a
ld a,$73
ld [$FF00+$8E],a
call $FF80
ld a,e
and a
jr nz,Logged_0x50118
xor a
ld [hli],a
ld [hl],a
ld l,$1F
ld a,$41
ld [hld],a
ld a,$6F
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x50110
res 7,[hl]
ld de,$53E6
jp Logged_0x30F0
Logged_0x50110:
set 7,[hl]
ld de,$5411
jp Logged_0x30F0
Logged_0x50118:
inc l
ld a,[hl]
dec a
jr nz,Logged_0x50125
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B0
ld [$FF00+hSFXIDLow],a
Logged_0x50125:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x5014E
ld a,[hli]
sub $11
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
ld de,$5446
jr Logged_0x50162
Logged_0x5014E:
ld a,[hli]
add a,$10
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
ld de,$5512
Logged_0x50162:
call Logged_0x30F0
ld a,$0A
ld [hli],a
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D119]
cp $1F
jr z,Logged_0x50185
cp $4F
jr z,Logged_0x501A3
Logged_0x5017F:
ld bc,$4790
jp Logged_0x3489
Logged_0x50185:
ld hl,$D11F
ld a,$41
ld [hld],a
ld a,$C4
ld [hld],a
Logged_0x5018E:
ld a,[$D11A]
rlca
jr c,Logged_0x50199
ld de,$53F9
jr Logged_0x5019C
Logged_0x50199:
ld de,$5424
Logged_0x5019C:
call Logged_0x30F0
ld a,$20
ld [hli],a
ret
Logged_0x501A3:
ld hl,$D11F
ld a,$40
ld [hld],a
ld a,$7F
ld [hld],a
ld l,$1A
ld a,[hld]
rlca
jr c,Logged_0x501B9
xor a
ld [hld],a
ld de,$53C4
jr Logged_0x501BE
Logged_0x501B9:
xor a
ld [hld],a
ld de,$53D5
Logged_0x501BE:
call Logged_0x30F0
xor a
ld [hl],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x501ED
ld a,[hl]
cp $18
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x501E7
ld bc,$4A94
jp Logged_0x3416
Logged_0x501E7:
ld bc,$4AA9
jp Logged_0x3416
Logged_0x501ED:
ld a,[$D11A]
and $0F
cp $04
jr z,Logged_0x50266
ld l,$1F
ld a,$42
ld [hld],a
ld a,$00
ld [hld],a
jr Logged_0x5018E
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x50229
ld a,[hl]
cp $18
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x50223
ld bc,$4ABE
jp Logged_0x3416
Logged_0x50223:
ld bc,$4AD3
jp Logged_0x3416
Logged_0x50229:
ld a,[$D11A]
and $0F
cp $03
jr z,Logged_0x50266
ld l,$1F
ld a,$42
ld [hld],a
ld a,$3D
ld [hld],a
jp Logged_0x5018E
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x50266
ld a,[hl]
cp $18
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x50260
ld bc,$4AE8
jp Logged_0x3416
Logged_0x50260:
ld bc,$4AFD
jp Logged_0x3416
Logged_0x50266:
ld l,$1F
ld a,$41
ld [hld],a
ld a,$6F
ld [hld],a
ld a,[$D11A]
rlca
jr c,Logged_0x50279
ld de,$5402
jr Logged_0x5027C
Logged_0x50279:
ld de,$542D
Logged_0x5027C:
call Logged_0x30F0
jp Logged_0x5017F
ld hl,$D11F
ld a,$42
ld [hld],a
ld a,$93
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B1
ld [$FF00+hSFXIDLow],a
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x502AE
dec [hl]
ret nz
inc l
ld a,$03
ld [hl],a
ld l,$1F
ld a,$42
ld [hld],a
ld a,$D1
ld [hld],a
ret
Logged_0x502AE:
ld a,[$D10D]
cp $08
jp nc,Logged_0x30E1
ld a,$3C
ld [$D116],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x502CE
res 7,[hl]
ret
Logged_0x502CE:
set 7,[hl]
ret
ld a,[$CA88]
and $FE
ld b,a
ld a,[$D10E]
and $FE
cp b
jr z,Logged_0x50321
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x50305
ld a,[hli]
sub $11
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3090
jr Logged_0x50316
Logged_0x50305:
ld a,[hli]
add a,$10
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x309A
Logged_0x50316:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ld l,$17
dec [hl]
ret nz
Logged_0x50321:
ld hl,$D100
res 3,[hl]
xor a
ld [$D119],a
ld l,$1F
ld a,$43
ld [hld],a
ld a,$4C
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $C8
ld [hli],a
ld a,$E8
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$F4
ld [hli],a
ld a,$0B
ld [hli],a
ld de,$544D
jp Logged_0x30F0
ld a,[$D10D]
cp $50
jr c,Logged_0x50368
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x5036E
Logged_0x50368:
ld bc,$47F0
jp Logged_0x34B7
Logged_0x5036E:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1F
ld a,$43
ld [hld],a
ld a,$97
ld [hld],a
ld de,$5450
call Logged_0x30F0
ld a,$20
ld [hli],a
Logged_0x50388:
ld l,$09
ld a,$F0
ld [hli],a
ld a,$00
ld [hli],a
ld a,$F0
ld [hli],a
ld a,$0F
ld [hli],a
ret
ld hl,$D116
dec [hl]
ld a,[hl]
cp $18
jr z,Logged_0x503D3
and a
ret nz
ld l,$1F
ld a,$44
ld [hld],a
ld a,$1D
ld [hld],a
ld l,$1B
ld a,$5A
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x503C4
res 7,[hl]
ld de,$54D0
jr Logged_0x503C9
Logged_0x503C4:
set 7,[hl]
ld de,$54C9
Logged_0x503C9:
call Logged_0x30F0
ld a,$07
ld [hli],a
ld a,$02
ld [hl],a
ret
Logged_0x503D3:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
Logged_0x503E0:
ld l,$16
dec [hl]
jr z,Logged_0x50403
ld a,[hl]
cp $2B
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x503FD
ld bc,$4B12
jp Logged_0x3416
Logged_0x503FD:
ld bc,$4B27
jp Logged_0x3416
Logged_0x50403:
inc l
dec [hl]
jp z,Logged_0x504B1
ld l,$1B
ld a,$5C
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x50417
ld de,$5485
jp Logged_0x30F0
Logged_0x50417:
ld de,$5496
jp Logged_0x30F0
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x5046B
cp $5B
jr z,Logged_0x503E0
cp $5C
jr z,Logged_0x504AA
cp $5A
jr z,Logged_0x50437
cp $0A
jp z,Logged_0x5054B
jr Logged_0x5043B
Logged_0x50437:
ld l,$16
dec [hl]
ret nz
Logged_0x5043B:
ld l,$0C
ld a,[$D11A]
rlca
jr c,Logged_0x5044D
ld de,$5485
ld a,$10
ld [hld],a
ld a,$F8
jr Logged_0x50455
Logged_0x5044D:
ld de,$5496
ld a,$07
ld [hld],a
ld a,$EF
Logged_0x50455:
ld [hld],a
ld a,$00
ld [hld],a
ld a,$F0
ld [hld],a
ld a,[hl]
and $80
or $48
ld [hli],a
call Logged_0x30F0
xor a
ld [hl],a
ld [$D11B],a
ret
Logged_0x5046B:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x5047F
dec [hl]
jr z,Logged_0x5043B
ld a,[hl]
cp $07
ret nz
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x5047F:
ld a,[$C08F]
rra
ret c
ld a,[$CA88]
ld b,a
ld a,[$D10E]
sub b
ld l,$1A
bit 7,[hl]
jr nz,Logged_0x50499
jr c,Logged_0x504FE
ld de,$5463
jr Logged_0x5049E
Logged_0x50499:
jr nc,Logged_0x504FE
ld de,$5474
Logged_0x5049E:
call Logged_0x30F0
ld a,$5D
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x504AA:
ld a,[$CA8E]
cp $C3
jr nz,Logged_0x504D0
Logged_0x504B1:
ld a,[$D11A]
rlca
jr c,Logged_0x504BC
ld de,$5554
jr Logged_0x504BF
Logged_0x504BC:
ld de,$554D
Logged_0x504BF:
call Logged_0x30F0
ld a,$07
ld [hli],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$50
ld [hld],a
jp Logged_0x50388
Logged_0x504D0:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x504E5
dec [hl]
jp z,Logged_0x5043B
ld a,[hl]
cp $07
ret nz
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x504E5:
ld l,$14
ld a,[hl]
cp $03
jr c,Logged_0x504EF
sub $03
ld [hl],a
Logged_0x504EF:
ld a,[$C08F]
and $0F
jr nz,Logged_0x504FE
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AF
ld [$FF00+hSFXIDLow],a
Logged_0x504FE:
ld l,$1A
bit 7,[hl]
jr nz,Unknown_0x50527
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $14
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
ld de,$5573
jr Unknown_0x50544
Unknown_0x50527:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
add a,$17
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3543
and a
jp nz,Logged_0x30BD
ld de,$5568
Unknown_0x50544:
call Logged_0x30F0
ld a,$0E
ld [hli],a
ret
Logged_0x5054B:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
sub b
dec l
bit 7,[hl]
jr nz,Logged_0x50561
jr c,Logged_0x50564
jp Logged_0x5043B
Logged_0x50561:
jp c,Logged_0x5043B
Logged_0x50564:
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
call Logged_0x30FB
ld a,[hld]
rlca
jr c,Unknown_0x50580
ld de,$54A7
jr Logged_0x50583
Unknown_0x50580:
ld de,$54B8
Logged_0x50583:
call Logged_0x30F0
ld a,[$D11A]
and $0F
dec a
jr z,Logged_0x505A0
ld a,$56
ld [hl],a
ld l,$00
res 3,[hl]
ld l,$1F
ld a,$45
ld [hld],a
ld a,$BE
ld [hld],a
jp Logged_0x50A96
Logged_0x505A0:
ld a,$AC
ld [hl],a
ld l,$1A
ld a,[hl]
and $80
ld [hl],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$89
ld [hld],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
cp $4E
jr nz,Logged_0x505D3
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B1
ld [$FF00+hSFXIDLow],a
Logged_0x505D3:
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Unknown_0x505E0
ld de,$553C
jr Logged_0x505E3
Unknown_0x505E0:
ld de,$5543
Logged_0x505E3:
call Logged_0x30F0
ld a,$0E
ld [hli],a
ld l,$1F
ld a,$45
ld [hld],a
ld a,$F4
ld [hld],a
jp Logged_0x50388
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$551E
call Logged_0x30F0
ld a,$33
ld [hli],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$10
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$5519
call Logged_0x30F0
xor a
ld [$D119],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$35
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B2
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D10D]
cp $10
jr c,Logged_0x50647
ld bc,$47E0
jp Logged_0x34B7
Logged_0x50647:
ld a,[$CA8E]
cp $C3
jp nz,Logged_0x50031
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$54E1
call Logged_0x30F0
ld a,$2D
ld [hli],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$6C
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$544D
call Logged_0x30F0
xor a
ld [$D119],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$35
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x506F5
cp $A4
jr nz,Logged_0x506A1
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B1
ld [$FF00+hSFXIDLow],a
Logged_0x506A1:
dec [hl]
ret nz
ld hl,$D102
ld e,$05
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ld a,[$D11A]
rlca
jr c,Unknown_0x506CE
ld de,$54D7
jr Logged_0x506D1
Unknown_0x506CE:
ld de,$54DC
Logged_0x506D1:
call Logged_0x30F0
ld l,$1B
ld a,$48
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x506EB
res 7,[hl]
jr Logged_0x506ED
Unknown_0x506EB:
set 7,[hl]
Logged_0x506ED:
dec l
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ret
Logged_0x506F5:
ld l,$1F
ld a,$47
ld [hld],a
ld a,$05
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
ld a,$81
ld [$D11C],a
ld bc,$4180
call Logged_0x34B7
ld a,[$D11A]
rlca
jp nc,Logged_0x30BD
jp Logged_0x30CA
ld hl,$D11F
ld a,$47
ld [hld],a
ld a,$40
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,$28
ld [$D116],a
jr Logged_0x50746
ld bc,$4B66
ld de,$4761
jr Logged_0x50746
ld bc,$4B51
ld de,$4730
jr Logged_0x50746
ld bc,$4B3C
ld de,$4738
Logged_0x50746:
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld a,$32
ld [hl],a
ld l,$1F
ld a,d
ld [hld],a
ld a,e
ld [hld],a
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ret
call Logged_0x3655
ld hl,$D116
ld a,[hl]
and a
ret z
dec [hl]
jp Logged_0x30D4
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x507F7
call Logged_0x3090
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $05
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x507AE
ld hl,$D11F
ld a,$47
ld [hld],a
ld a,$B8
ld [hld],a
ld l,$1A
set 7,[hl]
ret
Logged_0x507AE:
ld hl,$D116
dec [hl]
jp z,Logged_0x50849
jp Logged_0x50855
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x507F7
call Logged_0x309A
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$04
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x507ED
ld hl,$D11F
ld a,$47
ld [hld],a
ld a,$79
ld [hld],a
ld l,$1A
res 7,[hl]
ret
Logged_0x507ED:
ld hl,$D116
dec [hl]
jp z,Logged_0x50849
jp Logged_0x50855
Logged_0x507F7:
ld a,[$D10D]
cp $B0
jr c,Logged_0x50803
xor a
ld [$D100],a
ret
Logged_0x50803:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr nc,Logged_0x5082A
ld bc,$4800
call Logged_0x34A0
ld l,$05
ld a,[hli]
sub $05
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
jr Logged_0x5083C
Logged_0x5082A:
ld bc,$4830
call Logged_0x34A0
ld l,$05
ld a,[hli]
add a,$04
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
Logged_0x5083C:
call Logged_0x3513
and a
jr nz,Logged_0x5084E
ld a,[$D118]
cp $2E
jr nz,Logged_0x50855
Logged_0x50849:
ld a,[rDIV]
rra
jr c,Logged_0x50855
Logged_0x5084E:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
Logged_0x50855:
ld a,[$D11B]
and a
jr z,Logged_0x50861
cp $0B
jr c,Logged_0x50898
jr Logged_0x508C8
Logged_0x50861:
ld a,[$C08F]
and $03
ret nz
call Logged_0x30D9
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld de,$54F5
call Logged_0x30F0
ld a,$64
ld [hli],a
ld l,$1F
ld a,$48
ld [hld],a
ld a,$CD
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $00
ld [hld],a
ret
Logged_0x50898:
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$BE
ld [hld],a
ld de,$555B
call Logged_0x30F0
ld a,$1D
ld [hli],a
ld l,$00
res 2,[hl]
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
Logged_0x508C8:
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
ld a,[$D10D]
cp $B0
jr c,Logged_0x508DD
cp $C0
jr c,Logged_0x50898
Logged_0x508DD:
ld a,[$D11B]
rst JumpList
dw Logged_0x509AB
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Unknown_0x50A01
dw Unknown_0x50A0B
dw Logged_0x50A1E
dw Logged_0x50A31
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x3182
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x509AB
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50A79
dw Logged_0x50898
dw Unknown_0x50995
dw Logged_0x5099D
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50A5E
dw Logged_0x50A44
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x509EF
dw Logged_0x509DD
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x3290
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x3326
dw Logged_0x3317
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x509BB
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x3371
dw Logged_0x50898
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x50898
dw Logged_0x50898
dw Logged_0x50A68
dw Logged_0x50A4E
dw Logged_0x3380
dw Logged_0x338F
dw Logged_0x33BC
dw Logged_0x33CB
dw Logged_0x339E
dw Logged_0x33AD
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x33F8
dw Logged_0x3407
Unknown_0x50995:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x509A3
Logged_0x5099D:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x509A3:
ld l,$18
ld a,$02
ld [hli],a
xor a
ld [hli],a
ret
Logged_0x509AB:
ld a,$3F
ld [$D11B],a
ld hl,$D100
res 2,[hl]
ld a,$78
ld [$D116],a
ret
Logged_0x509BB:
ld hl,$D116
dec [hl]
jp z,Logged_0x508C8
ld a,[hl]
cp $3C
jp nc,Logged_0x32EA
ld l,$00
ld a,[$C08F]
and $07
cp $04
jr c,Logged_0x509D8
res 4,[hl]
jp Logged_0x32EA
Logged_0x509D8:
set 4,[hl]
jp Logged_0x32EA
Logged_0x509DD:
ld a,[$D10D]
cp $50
jp c,Logged_0x3182
ld hl,$D11B
ld a,$59
ld [hld],a
ld b,$02
jr Unknown_0x50A13
Logged_0x509EF:
ld a,[$D10D]
cp $50
jp c,Logged_0x3182
ld hl,$D11B
ld a,$58
ld [hld],a
ld b,$02
jr Unknown_0x50A13
Unknown_0x50A01:
ld hl,$D11B
ld a,$34
ld [hld],a
ld b,$02
jr Unknown_0x50A13
Unknown_0x50A0B:
ld hl,$D11B
ld a,$35
ld [hld],a
ld b,$02
Unknown_0x50A13:
dec l
xor a
ld [hld],a
ld a,b
ld [hld],a
ld a,$81
ld [$D11C],a
ret
Logged_0x50A1E:
ld hl,$D11B
ld a,$36
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$C0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3335
Logged_0x50A31:
ld hl,$D11B
ld a,$37
ld [hld],a
dec l
ld a,$41
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [hld],a
jp Logged_0x3344
Logged_0x50A44:
ld hl,$D11B
ld a,$49
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x50A4E:
ld a,[$CA69]
and a
jp nz,Logged_0x3353
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jr Logged_0x50A5E
Logged_0x50A5E:
ld hl,$D11B
ld a,$48
ld [hld],a
ld l,$00
set 2,[hl]
Logged_0x50A68:
ld a,[$CA69]
and a
jp z,Logged_0x3362
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
jp Logged_0x50A44
Logged_0x50A79:
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$42
ld [hld],a
dec l
xor a
ld [hld],a
ret
call Logged_0x3090
jr Logged_0x50A8E
call Logged_0x309A
Logged_0x50A8E:
ld a,[$D11B]
and a
jp nz,Logged_0x508C8
ret
Logged_0x50A96:
ld a,[$D11A]
and $0F
cp $03
jr nz,Logged_0x50AA4
ld hl,$4AB4
jr Logged_0x50AAA
Logged_0x50AA4:
cp $02
ret nz
ld hl,$4ABC
Logged_0x50AAA:
ld de,$C078
ld c,$07
ld b,$01
jp Logged_0x1C13
LoggedData_0x50AB4:
INCBIN "baserom.gbc", $50AB4, $50AC4 - $50AB4
ld a,$01
ld [$C0E6],a
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $85
ld [hl],a
ld l,$1F
ld a,$4A
ld [hld],a
ld a,$F8
ld [hld],a
ld l,$0C
ld a,$0B
ld [hld],a
ld a,$F4
ld [hld],a
ld a,$00
ld [hld],a
ld a,$E4
ld [hld],a
ld de,$5632
call Logged_0x30F0
ld a,$28
ld [hli],a
ret
ld a,[$D100]
rra
rra
ret nc
ld hl,$D116
dec [hl]
ret nz
ld hl,$D11F
ld a,$4B
ld [hld],a
ld a,$29
ld [hld],a
ld a,$01
ld [$D141],a
xor a
ld [$D117],a
ld [$D147],a
ld [$D148],a
ld a,$07
ld [$D146],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ret
ld a,[$D117]
and a
jp z,Logged_0x50C21
cp $01
jp z,Logged_0x50BEB
cp $08
jr z,Logged_0x50B3E
cp $09
jr z,Logged_0x50B4B
ret
Logged_0x50B3E:
ld de,$5632
call Logged_0x30F0
inc l
ld a,$09
ld [hli],a
inc l
xor a
ld [hl],a
Logged_0x50B4B:
ld a,[$D11A]
and $0F
cp $04
jr nz,Logged_0x50B61
ld a,[$D146]
cp $03
jr z,Unknown_0x50B98
cp $05
jr z,Unknown_0x50B76
jr Logged_0x50BBF
Logged_0x50B61:
cp $03
jr nz,Logged_0x50BBF
ld a,[$D146]
cp $01
jr z,Unknown_0x50B76
cp $04
jr z,Logged_0x50BBF
ld a,[$D147]
and a
jr nz,Logged_0x50BBF
Unknown_0x50B76:
ld a,[$D119]
cp $12
jr nz,Unknown_0x50B85
ld de,$5646
call Logged_0x30F0
jr Unknown_0x50B92
Unknown_0x50B85:
cp $1A
jr nz,Unknown_0x50B8E
call Logged_0x51329
jr Unknown_0x50B92
Unknown_0x50B8E:
cp $1E
jr z,Logged_0x50BE1
Unknown_0x50B92:
ld bc,$4B80
jp Logged_0x34B7
Unknown_0x50B98:
ld a,$01
ld [$D147],a
ld a,[$D119]
cp $22
jr nz,Unknown_0x50BAC
ld de,$5646
call Logged_0x30F0
jr Unknown_0x50BB9
Unknown_0x50BAC:
cp $2A
jr nz,Unknown_0x50BB5
call Logged_0x51329
jr Unknown_0x50BB9
Unknown_0x50BB5:
cp $2E
jr z,Logged_0x50BE1
Unknown_0x50BB9:
ld bc,$4BA0
jp Logged_0x34B7
Logged_0x50BBF:
ld a,[$D119]
cp $02
jr nz,Logged_0x50BCE
ld de,$5646
call Logged_0x30F0
jr Logged_0x50BDB
Logged_0x50BCE:
cp $0A
jr nz,Logged_0x50BD7
call Logged_0x51329
jr Logged_0x50BDB
Logged_0x50BD7:
cp $0E
jr z,Logged_0x50BE1
Logged_0x50BDB:
ld bc,$4880
jp Logged_0x34B7
Logged_0x50BE1:
ld de,$5632
call Logged_0x30F0
inc l
xor a
ld [hl],a
ret
Logged_0x50BEB:
call Logged_0x511A5
ld a,[$D117]
cp $08
ret z
ld hl,$D116
dec [hl]
jr z,Logged_0x50C17
ld a,[hl]
cp $13
ret nz
ld hl,$D148
ld a,[hl]
cp $04
jr nz,Logged_0x50C08
xor a
ld [hl],a
Logged_0x50C08:
inc [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A2
ld [$FF00+hSFXIDLow],a
ld bc,$4BA5
jp Logged_0x3416
Logged_0x50C17:
ld de,$5632
call Logged_0x30F0
inc l
xor a
ld [hl],a
ret
Logged_0x50C21:
ld a,[$CA8E]
cp $09
jr nz,Logged_0x50C36
ld hl,$D11F
ld a,$4F
ld [hld],a
ld a,$AD
ld [hld],a
xor a
ld [$CAC3],a
ret
Logged_0x50C36:
ld a,[$D11A]
cp $82
jr z,Logged_0x50C58
call Logged_0x511A5
ld a,[$D117]
cp $08
ret z
ld a,[rDIV]
cp $FA
ret c
ld de,$563B
call Logged_0x30F0
ld a,$38
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x50C58:
ld hl,$D11F
ld a,$4C
ld [hld],a
ld a,$6F
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ld a,$50
ld [$D116],a
ret
ld hl,$D116
dec [hl]
ret nz
ld de,$564D
call Logged_0x30F0
ld l,$1F
ld a,$4D
ld [hld],a
ld a,$88
ld [hld],a
xor a
ld [$D11B],a
ld [$D117],a
ld hl,$5336
ld de,$C060
ld c,$04
ld b,$02
jp Logged_0x1C13
Unknown_0x50C96:
ld de,$56B9
ld bc,$4E30
jr Unknown_0x50CA4
Unknown_0x50C9E:
ld de,$56B6
ld bc,$4E45
Unknown_0x50CA4:
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$49
ld [hld],a
xor a
ld [$D119],a
ld [$CAC3],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
call Logged_0x30F0
ld a,$01
ld [hli],a
jp Logged_0x3416
Unknown_0x50CC4:
ld a,$32
ld [hld],a
jr Unknown_0x50CCC
Unknown_0x50CC9:
ld a,$33
ld [hld],a
Unknown_0x50CCC:
ld a,$0C
ld [$D116],a
ld a,$02
ld [$D118],a
ret
Logged_0x50CD7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A4
ld [$FF00+hSFXIDLow],a
ld a,$5C
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x50CEB
ld de,$567A
jr Logged_0x50CEE
Logged_0x50CEB:
ld de,$5675
Logged_0x50CEE:
xor a
ld [hl],a
call Logged_0x30F0
ld a,$78
ld [hli],a
ld a,$FF
ld [hl],a
ld hl,$5346
ld de,$C060
ld c,$04
ld b,$02
jp Logged_0x1C13
Logged_0x50D06:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ld bc,$4280
jp z,Logged_0x34B7
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$16
dec [hl]
jr z,Unknown_0x50D3E
ld a,[hl]
cp $0A
ret nz
ld hl,$5336
ld de,$C060
ld c,$04
ld b,$02
jp Logged_0x1C13
Unknown_0x50D3E:
ld l,$1B
xor a
ld [hld],a
ld a,[hl]
rlca
jr c,Unknown_0x50D62
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x50D5B
ld de,$5656
ld b,$00
jr Unknown_0x50D7C
Unknown_0x50D5B:
ld de,$566A
ld b,$20
jr Unknown_0x50D7C
Unknown_0x50D62:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x50D77
ld de,$565F
ld b,$20
jr Unknown_0x50D7C
Unknown_0x50D77:
ld de,$564D
ld b,$00
Unknown_0x50D7C:
call Logged_0x30F0
ld [hl],b
xor a
ld [$D117],a
ld [$D119],a
ret
ld hl,$D108
ld a,[hl]
and $80
or $01
ld [hli],a
ld hl,$D11B
ld a,[hl]
and a
jp z,Logged_0x50E4E
cp $5A
jp z,Unknown_0x50E26
cp $5B
jp z,Logged_0x50E2B
cp $5C
jp z,Logged_0x50D06
cp $02
jp z,Unknown_0x50CC4
cp $03
jp z,Unknown_0x50CC9
cp $32
jp z,Logged_0x33DA
cp $33
jp z,Logged_0x33E9
cp $0B
jp z,Unknown_0x50C96
cp $0C
jp z,Unknown_0x50C9E
and $FE
cp $08
jp z,Logged_0x50CD7
cp $04
jr z,Logged_0x50DE0
ld a,[$D117]
inc a
jp z,Logged_0x50CD7
ld a,$01
ld [$D116],a
jp Logged_0x50D06
Logged_0x50DE0:
ld a,[$D117]
inc a
jp nz,Logged_0x50CD7
ld a,$48
ld [hld],a
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,$2B
ld [$D116],a
ld bc,$4FB3
ld l,$1F
ld a,b
ld [hld],a
ld [hl],c
ld l,$00
set 7,[hl]
ld l,$02
ld e,$05
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld de,$567F
jp Logged_0x30F0
Unknown_0x50E26:
ld bc,$4890
jr Logged_0x50E2E
Logged_0x50E2B:
ld bc,$48A0
Logged_0x50E2E:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x50E36
dec [hl]
ret
Logged_0x50E36:
call Logged_0x34B7
ld a,[$D119]
cp $0A
call z,Logged_0x51329
ld hl,$D117
dec [hl]
ret nz
ld a,$3C
ld [hl],a
xor a
ld [$D11B],a
ret
Logged_0x50E4E:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x50E7E
dec [hl]
jr z,Unknown_0x50E6C
ld l,$19
ld a,[hli]
cp $17
jr nz,Unknown_0x50E66
ld a,[hl]
xor $80
ld [hl],a
call Logged_0x51329
Unknown_0x50E66:
ld bc,$4C00
jp Logged_0x34B7
Unknown_0x50E6C:
ld a,[$D11A]
rlca
jr c,Unknown_0x50E78
ld de,$5656
jp Logged_0x30F0
Unknown_0x50E78:
ld de,$564D
jp Logged_0x30F0
Logged_0x50E7E:
inc l
ld a,[hl]
and a
jr z,Logged_0x50E86
dec [hl]
jr Logged_0x50EBF
Logged_0x50E86:
ld a,[$D10E]
cp $78
jr nc,Logged_0x50EBF
cp $18
jr c,Logged_0x50EBF
ld a,[$CA87]
cp $28
jr c,Logged_0x50EBF
ld b,a
ld a,[$D10D]
cp $A0
jr nc,Logged_0x50EBF
sub b
jr nc,Logged_0x50EAB
cp $E1
jr nc,Logged_0x50EBF
ld a,$5A
jr Logged_0x50EB1
Logged_0x50EAB:
cp $20
jr c,Logged_0x50EBF
ld a,$5B
Logged_0x50EB1:
ld l,$1B
ld [hld],a
dec l
xor a
ld [hld],a
dec l
ld a,$1E
ld [hld],a
ld a,$14
ld [hl],a
ret
Logged_0x50EBF:
ld a,[$D115]
cp $06
jr nz,Logged_0x50ED5
ld a,[$D114]
cp $01
jr nz,Logged_0x50ED5
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A2
ld [$FF00+hSFXIDLow],a
Logged_0x50ED5:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x50F14
ld a,[hli]
sub $0C
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x50F0F
ld a,[$D115]
cp $06
jr c,Unknown_0x50F0B
ld hl,$D108
ld a,[hl]
and $80
or $20
ld [hli],a
jp Logged_0x30CA
Unknown_0x50F0B:
ret
Unknown_0x50F0C:
INCBIN "baserom.gbc", $50F0C, $50F0F - $50F0C
Unknown_0x50F0F:
ld de,$566A
jr Unknown_0x50F3E
Logged_0x50F14:
ld a,[hli]
add a,$0B
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x50F3B
ld a,[$D115]
cp $06
jr c,Logged_0x50F37
ld hl,$D108
ld a,[hl]
and $80
or $20
ld [hli],a
jp Logged_0x30BD
Logged_0x50F37:
ret
Unknown_0x50F38:
INCBIN "baserom.gbc", $50F38, $50F3B - $50F38
Unknown_0x50F3B:
ld de,$565F
Unknown_0x50F3E:
call Logged_0x30F0
ld a,$20
ld [hli],a
xor a
ld [$D119],a
ret
Unknown_0x50F49:
INCBIN "baserom.gbc", $50F49, $50FAD - $50F49
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D10D]
cp $D0
jr nc,Logged_0x50FF3
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x50FED
cp $1B
jr nz,Logged_0x50FE2
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld hl,$5346
ld de,$C060
ld c,$04
ld b,$02
call Logged_0x1C13
ld hl,$D116
Logged_0x50FE2:
dec [hl]
jr nz,Logged_0x50FED
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
Logged_0x50FED:
ld bc,$4BD0
jp Logged_0x34B7
Logged_0x50FF3:
xor a
ld [$D100],a
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
jp Logged_0x51329
ld a,$03
jr Logged_0x51010
ld a,$02
jr Logged_0x51010
ld a,$01
Logged_0x51010:
ld [$D11A],a
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$1F
ld a,$50
ld [hld],a
ld a,$3C
ld [hld],a
ld de,$569F
call Logged_0x30F0
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$00
ld [hl],a
xor a
ld [$D117],a
ret
ld a,$02
ld [$D114],a
ld a,[$D141]
and a
ret z
ld hl,$D11F
ld a,$50
ld [hld],a
ld a,$50
ld [hld],a
ret
ld a,[$D117]
and a
jr z,Logged_0x510B1
cp $01
jp z,Logged_0x51101
cp $02
jp z,Logged_0x51117
cp $08
jr z,Unknown_0x51069
cp $09
jr z,Unknown_0x51072
ret
Unknown_0x51069:
ld hl,$D117
ld a,$09
ld [hli],a
inc l
xor a
ld [hl],a
Unknown_0x51072:
ld a,[$D107]
cp $41
jr nz,Unknown_0x51080
ld a,[$D146]
cp $03
jr z,Unknown_0x51096
Unknown_0x51080:
ld a,[$D119]
cp $0A
jr nz,Unknown_0x5108C
call Logged_0x51329
jr Unknown_0x51090
Unknown_0x5108C:
cp $0E
jr z,Unknown_0x510AC
Unknown_0x51090:
ld bc,$4880
jp Logged_0x34B7
Unknown_0x51096:
ld a,[$D119]
cp $1A
jr nz,Unknown_0x510A2
call Logged_0x51329
jr Unknown_0x510A6
Unknown_0x510A2:
cp $1E
jr z,Unknown_0x510AC
Unknown_0x510A6:
ld bc,$4B80
jp Logged_0x34B7
Unknown_0x510AC:
xor a
ld [$D117],a
ret
Logged_0x510B1:
call Logged_0x511A5
ld a,[$D117]
cp $08
ret z
ld a,[$D107]
and $03
ld e,a
ld a,[$C08F]
and $03
cp e
ret nz
ld a,[$D141]
and a
ret z
ld a,[$D146]
cp $01
jr z,Logged_0x510ED
cp $02
jr z,Logged_0x510ED
cp $04
jr z,Logged_0x510ED
ld a,[$CA87]
add a,$2A
ld b,a
ld a,[$D10D]
add a,$2A
sub b
cp $08
ret c
cp $F8
ret nc
Logged_0x510ED:
xor a
ld [$D141],a
ld a,[rDIV]
and $03
ld b,a
ld a,$46
add a,b
ld hl,$D116
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x51101:
ld hl,$D116
dec [hl]
ret nz
ld de,$56A8
call Logged_0x30F0
ld a,$F0
ld [hli],a
ld a,$02
ld [hl],a
xor a
ld [$D11B],a
ret
Logged_0x51117:
ld a,[$CA8E]
cp $09
jr nz,Logged_0x51125
ld hl,$D116
xor a
ld [hli],a
jr Logged_0x51148
Logged_0x51125:
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x5113B
ld a,[$C08F]
and $07
jr nz,Logged_0x5113B
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6A
ld [$FF00+hSFXIDLow],a
Logged_0x5113B:
ld l,$1B
ld a,[hld]
cp $05
jr z,Logged_0x51159
ld l,$16
dec [hl]
ret nz
inc l
xor a
Logged_0x51148:
ld [hl],a
ld de,$569F
call Logged_0x30F0
ld l,$1F
ld a,$50
ld [hld],a
ld a,$50
ld [hld],a
jr Logged_0x5119F
Logged_0x51159:
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld a,$01
ld [hld],a
ld de,$569F
call Logged_0x30F0
ld l,$1F
ld a,$33
ld [hld],a
ld a,$17
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
ld hl,$D146
ld a,[$D107]
cp $41
jr nz,Logged_0x5118A
ld a,[hl]
and $FE
ld [hl],a
ld a,$08
jr Logged_0x5119C
Logged_0x5118A:
cp $42
jr nz,Logged_0x51196
ld a,[hl]
and $FD
ld [hl],a
ld a,$09
jr Logged_0x5119C
Logged_0x51196:
ld a,[hl]
and $FB
ld [hl],a
ld a,$0B
Logged_0x5119C:
ld [$D142],a
Logged_0x5119F:
ld a,$01
ld [$D141],a
ret
Logged_0x511A5:
ld a,[$D11A]
dec a
ret z
ld a,[$D107]
and $0F
ld b,a
ld a,[$D142]
ld e,a
and b
ret z
ld a,b
xor $FF
and e
ld [$D142],a
ld a,$08
ld [$D117],a
ld hl,$D11A
dec [hl]
ret
ld hl,$D11F
ld a,$51
ld [hld],a
ld a,$D5
ld [hld],a
ld l,$00
set 3,[hl]
ret
ld hl,$D11F
ld a,$51
ld [hld],a
ld a,$F1
ld [hld],a
ld c,$2A
ld a,[$CA87]
add a,c
ld b,a
ld a,[$D10D]
add a,c
sub b
cp $EC
ret c
ld l,$17
inc [hl]
ret
ld a,[$D11B]
and a
jr nz,Logged_0x5122B
ld a,[$D117]
and a
jp nz,Logged_0x309A
ld bc,$4860
call Logged_0x34B7
ld a,[$D148]
cp $01
jr nz,Logged_0x51211
ld bc,$4AE0
jp Logged_0x34CE
Logged_0x51211:
cp $02
jr nz,Logged_0x5121B
ld bc,$4B00
jp Logged_0x34CE
Logged_0x5121B:
cp $03
jr nz,Logged_0x51225
ld bc,$4B30
jp Logged_0x34CE
Logged_0x51225:
ld bc,$4B60
jp Logged_0x34CE
Logged_0x5122B:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x5123E
ld de,$525E
jr Logged_0x51241
Logged_0x5123E:
ld de,$5259
Logged_0x51241:
ld hl,$D11F
ld a,d
ld [hld],a
ld [hl],e
xor a
ld [$D119],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$49
ld [$FF00+hSFXIDLow],a
ld bc,$4FB0
jp Logged_0x342D
call Logged_0x30CA
jr Logged_0x51261
call Logged_0x30BD
Logged_0x51261:
ld a,$81
ld [$D11C],a
ld bc,$4040
jp Logged_0x34B7
ld hl,$D11F
ld a,$52
ld [hld],a
ld a,$82
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,$96
ld [$D116],a
jr Logged_0x51296
ld hl,$D116
dec [hl]
jr nz,Logged_0x51296
ld l,$1F
ld a,$52
ld [hld],a
ld a,$96
ld [hld],a
ld bc,$4BBA
call Logged_0x3416
Logged_0x51296:
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ret
ld hl,$D11F
ld a,$52
ld [hld],a
ld a,$B4
ld [hld],a
ld l,$03
ld a,[hli]
ld [$D118],a
ld a,[hl]
ld [$D119],a
call Logged_0x3655
ld hl,$D11B
ld a,[hl]
and a
jr nz,Unknown_0x512DC
ld l,$16
dec [hl]
jr z,Unknown_0x512DC
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D4
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
Unknown_0x512DC:
ld l,$1F
ld a,$52
ld [hld],a
ld a,$E9
ld [hld],a
xor a
ld [$D11B],a
ret
Unknown_0x512E9:
INCBIN "baserom.gbc", $512E9, $51329 - $512E9
Logged_0x51329:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
LoggedData_0x51336:
INCBIN "baserom.gbc", $51336, $51356 - $51336
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$53
ld [hld],a
ld a,$9D
ld [hld],a
ld de,$5780
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $04
ld [hl],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$0A
ld [hl],a
xor a
ld [$D146],a
ld [$D147],a
ld [$D148],a
ld a,$01
ld [$C0E6],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hl],a
ld l,$1F
ld a,$53
ld [hld],a
ld a,$BF
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CA
ld [$FF00+hSFXIDLow],a
ld hl,$5C81
jr Logged_0x513F1
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hl],a
ld l,$1F
ld a,$53
ld [hld],a
ld a,$D9
ld [hld],a
ld hl,$5C99
jr Logged_0x513F1
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$1E
ld [hl],a
ld l,$1F
ld a,$53
ld [hld],a
ld a,$FB
ld [hld],a
ld hl,$5CB1
Logged_0x513F1:
ld de,$C060
ld c,$04
ld b,$03
jp Logged_0x1C13
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$20
ld [hl],a
ld l,$1F
ld a,$54
ld [hld],a
ld a,$19
ld [hld],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jp nz,Logged_0x30E1
ld b,$03
ld a,[rDIV]
and $01
add a,b
ld [hli],a
xor a
ld [hli],a
ld a,$01
ld [hli],a
xor a
ld [hli],a
ld l,$1F
ld a,$56
ld [hld],a
ld a,$52
ld [hld],a
ld bc,$4F18
jp Logged_0x342D
Unknown_0x51442:
ld l,$1F
ld a,$54
ld [hld],a
ld a,$A4
ld [hld],a
ld a,[$D148]
and a
jr z,Unknown_0x5145C
xor a
ld [$D117],a
ld l,$1A
bit 6,[hl]
jr nz,Unknown_0x5147E
jr Unknown_0x5149A
Unknown_0x5145C:
ld l,$05
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
ld b,a
ld a,[$CA64]
ld c,a
ld a,b
cp d
jr c,Unknown_0x51483
jr nz,Unknown_0x51473
ld a,c
cp e
jr c,Unknown_0x51483
Unknown_0x51473:
ld l,$1A
bit 6,[hl]
jr nz,Unknown_0x5147E
ld de,$57B0
jr Unknown_0x5148C
Unknown_0x5147E:
ld de,$57A1
jr Unknown_0x5149D
Unknown_0x51483:
ld l,$1A
bit 6,[hl]
jr z,Unknown_0x5149A
ld de,$57BB
Unknown_0x5148C:
call Logged_0x30F0
inc l
ld a,$44
ld [hl],a
ld l,$1A
ld a,[hl]
xor $C0
ld [hl],a
ret
Unknown_0x5149A:
ld de,$5792
Unknown_0x5149D:
call Logged_0x30F0
ld a,$62
ld [hli],a
ret
Unknown_0x514A4:
INCBIN "baserom.gbc", $514A4, $514EB - $514A4
Logged_0x514EB:
ld a,[$D148]
and a
jr nz,Logged_0x51523
ld hl,$D11F
ld a,$56
ld [hld],a
ld a,$52
ld [hld],a
ld l,$00
set 7,[hl]
ld l,$16
ld b,$03
ld a,[rDIV]
and $01
add a,b
ld [hli],a
inc l
ld a,$01
ld [hli],a
ld [hli],a
xor a
ld [$D11B],a
ld l,$1A
bit 6,[hl]
jr nz,Logged_0x5151D
ld de,$57E6
jp Logged_0x30F0
Logged_0x5151D:
ld de,$57EB
jp Logged_0x30F0
Logged_0x51523:
ld hl,$D11F
ld a,$55
ld [hld],a
ld a,$DD
ld [hld],a
ld l,$16
ld a,$03
ld [hli],a
inc l
ld a,$02
ld [hli],a
ld a,$02
ld [hli],a
xor a
ld [$D11B],a
ld l,$1A
bit 6,[hl]
jr nz,Logged_0x51548
ld de,$5780
jp Logged_0x30F0
Logged_0x51548:
ld de,$5789
jp Logged_0x30F0
Logged_0x5154E:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D148],a
ld l,$1F
ld a,$55
ld [hld],a
ld a,$72
ld [hld],a
ld l,$00
res 7,[hl]
ld a,$A6
ld [$D117],a
ld de,$57C6
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld a,[$D117]
cp $A6
jr nz,Logged_0x51588
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
jr Logged_0x515A8
Logged_0x51588:
cp $88
jr nz,Logged_0x51596
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A9
ld [$FF00+hSFXIDLow],a
jr Logged_0x515A8
Logged_0x51596:
cp $25
jr nz,Logged_0x515AB
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A5
ld [$FF00+hSFXIDLow],a
ld bc,$4F2B
call Logged_0x342D
Logged_0x515A8:
ld a,[$D117]
Logged_0x515AB:
cp $92
jr nc,Logged_0x515B7
ld a,[$D10D]
cp $39
call nc,Logged_0x30E6
Logged_0x515B7:
ld hl,$D117
dec [hl]
jp z,Logged_0x514EB
ld a,[hl]
cp $37
ret c
jr z,Logged_0x515D0
and $0F
jr z,Logged_0x515D0
cp $08
ret nz
ld hl,$5CC9
jr Logged_0x515D3
Logged_0x515D0:
ld hl,$5CB1
Logged_0x515D3:
ld de,$C060
ld c,$04
ld b,$03
jp Logged_0x1C13
ld a,[$CA8E]
cp $07
jr nz,Logged_0x515EB
xor a
ld [$D148],a
jp Logged_0x514EB
Logged_0x515EB:
ld a,[$D147]
and a
jp nz,Logged_0x5179A
ld a,[$D148]
and a
jp z,Logged_0x514EB
ld a,$00
ld b,$00
ld h,$D0
Logged_0x515FF:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $4E
jr nz,Logged_0x51610
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x51619
Logged_0x51610:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x515FF
Logged_0x51619:
inc l
inc l
inc l
inc l
ld a,[hli]
and $FE
ld e,a
ld d,[hl]
ld hl,$D105
ld a,[hli]
and $FE
ld c,a
ld b,[hl]
ld l,$1A
ld a,[hl]
rlca
jr c,Logged_0x5163A
ld a,c
sub $38
ld c,a
ld a,b
sbc a,$00
ld b,a
jr Logged_0x51642
Logged_0x5163A:
ld a,c
add a,$38
ld c,a
ld a,b
adc a,$00
ld b,a
Logged_0x51642:
ld a,e
cp c
jr nz,Logged_0x5164B
ld a,d
cp b
jp z,Unknown_0x51442
Logged_0x5164B:
ld a,$02
ld [$D118],a
jr Logged_0x5168E
ld a,[$D146]
and a
jr z,Logged_0x51662
ld a,$81
ld [$D11C],a
xor a
ld [$D11B],a
ret
Logged_0x51662:
ld a,[$D147]
and a
jp nz,Logged_0x5179A
ld hl,$D117
ld a,[hli]
and a
jr nz,Logged_0x51688
inc l
ld a,[hl]
dec a
jr nz,Logged_0x51688
ld a,[$CA87]
ld b,a
ld a,[$D10D]
sub b
jr c,Logged_0x51688
ld l,$1F
ld a,$57
ld [hld],a
ld a,$8C
ld [hld],a
ret
Logged_0x51688:
ld bc,$4950
call Logged_0x3489
Logged_0x5168E:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x516BF
cp $0A
jp z,Logged_0x5154E
xor a
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
ld c,a
ld a,[hl]
rlca
jr c,Logged_0x516B2
ld a,c
cp b
jr c,Logged_0x516BA
jr Unknown_0x516B6
Logged_0x516B2:
ld a,b
cp c
jr c,Logged_0x516BA
Unknown_0x516B6:
ld a,[hl]
xor $80
ld [hl],a
Logged_0x516BA:
ld a,$02
ld [$D118],a
Logged_0x516BF:
ld l,$17
ld a,[hl]
and a
jr z,Logged_0x51704
dec [hl]
ret nz
ld a,[$C08F]
rra
jr c,Logged_0x516D4
dec l
ld a,[hl]
cp $02
jr c,Logged_0x516D4
dec [hl]
Logged_0x516D4:
ld l,$1A
ld a,[$D148]
dec a
jr z,Unknown_0x516EC
bit 6,[hl]
jr nz,Logged_0x516E6
ld de,$57E6
jp Logged_0x30F0
Logged_0x516E6:
ld de,$57EB
jp Logged_0x30F0
Unknown_0x516EC:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
bit 6,[hl]
jr nz,Unknown_0x516FE
ld de,$5780
jp Logged_0x30F0
Unknown_0x516FE:
ld de,$5789
jp Logged_0x30F0
Logged_0x51704:
ld l,$19
ld a,[hl]
dec a
jr nz,Logged_0x51729
ld a,[$CA8E]
cp $07
jr z,Logged_0x51729
ld a,[$CA87]
ld b,a
ld a,[$D10D]
sub b
jr nc,Logged_0x51729
ld l,$16
dec [hl]
jp z,Unknown_0x51442
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A8
ld [$FF00+hSFXIDLow],a
Logged_0x51729:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x51759
ld a,[hli]
sub $18
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x305C
ld hl,$D11A
bit 6,[hl]
jr nz,Unknown_0x51782
ld de,$57B0
jr Logged_0x51774
Logged_0x51759:
ld a,[hli]
add a,$18
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x3069
ld hl,$D11A
bit 6,[hl]
jr z,Unknown_0x51782
ld de,$57BB
Logged_0x51774:
call Logged_0x30F0
inc l
ld a,$44
ld [hl],a
ld l,$1A
ld a,[hl]
xor $C0
jr Logged_0x51785
Unknown_0x51782:
ld a,[hl]
xor $80
Logged_0x51785:
ld [hl],a
ld a,$01
ld [$D118],a
ret
Unknown_0x5178C:
INCBIN "baserom.gbc", $5178C, $5179A - $5178C
Logged_0x5179A:
xor a
ld [$D147],a
ld hl,$D11F
ld a,$57
ld [hld],a
ld a,$EE
ld [hld],a
call Logged_0x30FB
ld a,[hl]
and $0F
dec a
jr z,Logged_0x517BD
ld de,$57D5
call Logged_0x30F0
ld a,$64
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x517BD:
ld l,$1F
ld a,$58
ld [hld],a
ld a,$4A
ld [hld],a
ld de,$5845
call Logged_0x30F0
ld a,$65
ld [hli],a
ld a,$FF
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A9
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x5181F
dec [hl]
jr z,Logged_0x5180A
ld a,[hl]
and $0F
jr z,Logged_0x51812
cp $08
ret nz
ld hl,$5CE1
jr Logged_0x51815
Logged_0x5180A:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B9
ld [$FF00+hSFXIDLow],a
Logged_0x51812:
ld hl,$5CB1
Logged_0x51815:
ld de,$C060
ld c,$04
ld b,$03
jp Logged_0x1C13
Logged_0x5181F:
dec l
ld a,[hld]
cp $10
ret nz
ld a,[hld]
and a
ret nz
xor a
ld [$D117],a
call Logged_0x514EB
ld a,[$D11A]
and $0F
cp $03
jr z,Logged_0x5183C
cp $02
jr z,Logged_0x51841
ret
Logged_0x5183C:
ld de,$5940
jr Logged_0x51844
Logged_0x51841:
ld de,$5F04
Logged_0x51844:
ld l,$10
ld a,e
ld [hli],a
ld [hl],d
ret
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x5186E
dec [hl]
jr z,Logged_0x51861
ld a,[hl]
and $0F
jr z,Logged_0x51861
cp $08
ret nz
ld hl,$5CE1
jr Logged_0x51864
Logged_0x51861:
ld hl,$5CB1
Logged_0x51864:
ld de,$C060
ld c,$04
ld b,$03
jp Logged_0x1C13
Logged_0x5186E:
dec l
ld a,[hld]
cp $14
jr nz,Logged_0x51880
ld a,[hld]
and a
jr nz,Logged_0x51880
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AA
ld [$FF00+hSFXIDLow],a
Logged_0x51880:
ld l,$15
ld a,[hld]
cp $20
ret nz
ld a,[hld]
and a
ret nz
xor a
ld [$D100],a
ld a,$00
ld b,$00
ld h,$D0
Logged_0x51893:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $4F
jr nz,Logged_0x518A4
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x518AD
Logged_0x518A4:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x51893
Logged_0x518AD:
ld a,l
add a,$1A
ld l,a
ld a,$2F
ld [hl],a
jp Logged_0x51C62
ld hl,$D11F
ld a,$58
ld [hld],a
ld a,$C6
ld [hld],a
ld a,[$C08F]
ld [$D117],a
ld a,$81
ld [$D11C],a
ld bc,$49E0
call Logged_0x34B7
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x518DB
dec [hl]
jr Logged_0x518F0
Logged_0x518DB:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x51927
Logged_0x518F0:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D117]
rra
jr c,Logged_0x51915
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
jp Logged_0x30C5
Logged_0x51915:
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
jp Logged_0x30B8
Logged_0x51927:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld de,$587F
call Logged_0x30F0
ld l,$1F
ld a,$59
ld [hld],a
ld a,$47
ld [hld],a
xor a
ld [$D11B],a
ld l,$00
res 7,[hl]
ret
ld hl,$D11B
ld a,[hl]
cp $31
jr z,Unknown_0x5198B
cp $0A
jp z,Logged_0x519E3
cp $3A
jp z,Logged_0x51A03
cp $58
jp z,Unknown_0x51A1D
and $FE
ret z
cp $28
jp z,Unknown_0x51A16
ld a,$31
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x5197B
set 7,[hl]
jr Unknown_0x5197D
Unknown_0x5197B:
res 7,[hl]
Unknown_0x5197D:
xor a
ld [$D118],a
ld a,$3C
ld [$D116],a
ld l,$00
res 3,[hl]
ret
Unknown_0x5198B:
ld hl,$D116
dec [hl]
jr nz,Unknown_0x51996
xor a
ld [$D11B],a
ret
Unknown_0x51996:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Unknown_0x519C6
ld a,[hli]
sub $06
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x519BF
Unknown_0x519B9:
ld bc,$4A00
jp Logged_0x34CE
Unknown_0x519BF:
ld hl,$D11A
set 7,[hl]
jr Unknown_0x519D6
Unknown_0x519C6:
ld a,[hli]
add a,$05
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x519DC
Unknown_0x519D6:
ld bc,$4A10
jp Logged_0x34CE
Unknown_0x519DC:
ld hl,$D11A
res 7,[hl]
jr Unknown_0x519B9
Logged_0x519E3:
ld a,$3A
ld [hl],a
ld [$D147],a
xor a
ld [$D148],a
ld de,$5882
call Logged_0x30F0
ld a,$1D
ld [hli],a
xor a
ld [$D119],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BA
ld [$FF00+hSFXIDLow],a
ret
Logged_0x51A03:
ld a,$81
ld [$D11C],a
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x51A10
dec [hl]
ret
Logged_0x51A10:
ld bc,$4040
jp Logged_0x34B7
Unknown_0x51A16:
ld a,$58
ld [hl],a
xor a
ld [$D148],a
Unknown_0x51A1D:
ld a,$81
ld [$D11C],a
ld a,[$D10D]
cp $48
jr nc,Unknown_0x51A2E
xor a
ld [$D100],a
ret
Unknown_0x51A2E:
ld a,$00
ld b,$00
ld h,$D0
Unknown_0x51A34:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $4D
jr nz,Unknown_0x51A45
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Unknown_0x51A4E
Unknown_0x51A45:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Unknown_0x51A34
Unknown_0x51A4E:
inc l
inc l
ld a,[hli]
add a,$08
ld [$D103],a
ld a,[hli]
adc a,$00
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hl]
ld [$D106],a
ret
Unknown_0x51A65:
INCBIN "baserom.gbc", $51A65, $51B6E - $51A65
ld hl,$D100
set 4,[hl]
ld l,$1F
ld a,$5B
ld [hld],a
ld a,$7B
ld [hld],a
ld a,[$CA8E]
cp $07
jr nz,Logged_0x51B87
ld a,$81
ld [$D11C],a
Logged_0x51B87:
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x51BAA
xor a
ld [hl],a
ld a,$1E
ld [$D116],a
ld a,$01
ld [$D146],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [$CAC3],a
Logged_0x51BAA:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x51BB8
dec [hl]
jr nz,Logged_0x51BB8
xor a
ld [$D146],a
Logged_0x51BB8:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x51BBE:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $4B
jr nz,Unknown_0x51BCF
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x51BD8
Unknown_0x51BCF:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x51BBE
Logged_0x51BD8:
inc l
inc l
ld a,[hli]
add a,$10
ld [$D103],a
ld a,[hli]
adc a,$00
ld [$D104],a
ld a,[hli]
ld e,a
ld d,[hl]
ld a,l
add a,$11
ld l,a
ld a,[hli]
and a
jr z,Logged_0x51BF9
inc a
jr z,Logged_0x51C13
ld a,$81
ld [$D11C],a
Logged_0x51BF9:
inc l
inc l
bit 6,[hl]
ld hl,$D105
ld a,e
jr nz,Logged_0x51C0B
sub $08
ld [hli],a
ld a,d
sbc a,$00
ld [hl],a
ret
Logged_0x51C0B:
add a,$08
ld [hli],a
ld a,d
adc a,$00
ld [hl],a
ret
Logged_0x51C13:
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$3F
ld [hld],a
ld de,$5893
call Logged_0x30F0
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$F6
ld [hl],a
ret
ld a,[$D11B]
cp $2F
ret nz
ld de,$5896
call Logged_0x30F0
ld a,$5A
ld [hli],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$77
ld [hld],a
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
Logged_0x51C62:
ld hl,$D102
ld e,$07
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
LoggedData_0x51C81:
INCBIN "baserom.gbc", $51C81, $51CF9 - $51C81
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$2D
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$0F
ld [hld],a
ld a,$F0
ld [hld],a
ld a,$FE
ld [hl],a
ld de,$5965
call Logged_0x30F0
ld a,$2A
ld [$D118],a
call Logged_0x3083
ld a,$69
ld [$D118],a
jp Logged_0x305C
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$28
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$0F
ld [hld],a
ld a,$F0
ld [hld],a
ld a,$FE
ld [hl],a
ld de,$590A
call Logged_0x30F0
xor a
ld [$D147],a
ld [$D148],a
ld [hli],a
ld [hli],a
ld a,$0A
ld [hli],a
xor a
ld [hl],a
call Logged_0x3083
ld a,$3C
ld [$D118],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ld a,$01
ld [$C0E6],a
ret
Logged_0x51D76:
xor a
ld [hl],a
ld [$D116],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BB
ld [$FF00+hSFXIDLow],a
ld hl,$D147
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0x51D9A
cp $02
jr z,Logged_0x51D9E
cp $03
jr z,Logged_0x51DA6
xor a
ld [hl],a
ld a,$F2
jr Logged_0x51DA0
Logged_0x51D9A:
ld a,$EF
jr Logged_0x51DA0
Logged_0x51D9E:
ld a,$EB
Logged_0x51DA0:
ld [$D109],a
jp Logged_0x51E67
Logged_0x51DA6:
ld a,$E6
ld [$D109],a
ld hl,$D11F
ld a,$61
ld [hld],a
ld a,$D0
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $51
ld [hld],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0x51E67
Unknown_0x51DCB:
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
xor a
ld [hl],a
ld l,$03
ld a,[hli]
add a,$04
ld [$CA62],a
ld a,[hli]
adc a,$00
ld [$CA61],a
ld a,[$D11A]
rlca
jr c,Unknown_0x51E0E
ld a,[hli]
sub $14
ld [$CA64],a
ld a,[hl]
sbc a,$00
ld [$CA63],a
ld de,$592D
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$03
ld [hl],a
ret
Unknown_0x51E0E:
ld a,[hli]
ld [$CA64],a
ld a,[hl]
ld [$CA63],a
ld de,$5A15
call Logged_0x30F0
ld a,$0D
ld [hli],a
ld a,$02
ld [hl],a
ld a,$01
ld [$CA95],a
ret
ld hl,$D100
res 2,[hl]
ld l,$1B
ld a,[hl]
and a
jr z,Logged_0x51E40
cp $2A
jr z,Unknown_0x51DCB
and $FE
cp $08
jp z,Logged_0x51D76
xor a
ld [hl],a
Logged_0x51E40:
ld l,$17
ld a,[hl]
and a
jp z,Logged_0x51F8A
cp $01
jp z,Unknown_0x51EFC
cp $02
jr z,Unknown_0x51E6E
cp $03
jr z,Unknown_0x51E97
cp $04
jr z,Unknown_0x51E91
cp $05
jr z,Logged_0x51E5D
ret
Logged_0x51E5D:
ld l,$00
set 2,[hl]
ld l,$16
dec [hl]
jp nz,Logged_0x51F46
Logged_0x51E67:
xor a
ld [$D117],a
jp Logged_0x52155
Unknown_0x51E6E:
ld l,$16
dec [hl]
ret nz
ld l,$05
ld a,[hli]
sub $14
ld [$CA64],a
ld a,[hl]
sbc a,$00
ld [$CA63],a
ld de,$592D
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$03
ld [hl],a
ld l,$1A
res 7,[hl]
ret
Unknown_0x51E91:
ld a,$81
ld [$D11C],a
ret
Unknown_0x51E97:
ld a,[$C08F]
and $5F
jr nz,Unknown_0x51EA6
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$37
ld [$FF00+hSFXIDLow],a
Unknown_0x51EA6:
ld l,$16
ld a,[hl]
and a
jr z,Unknown_0x51EAE
dec [hl]
ret
Unknown_0x51EAE:
ld l,$03
ld a,[hli]
add a,$06
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Unknown_0x51ED4
ld a,[$C08F]
and $03
ret nz
ld b,$01
call Logged_0x1287
jp Logged_0x30D9
Unknown_0x51ED4:
xor a
ld [$CA9B],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B9
ld [$FF00+hSFXIDLow],a
ld hl,$D117
ld a,$04
ld [hli],a
ld [hl],a
call Logged_0x3076
ld a,[$D11A]
rlca
jr c,Unknown_0x51EF6
ld de,$590A
jp Logged_0x30F0
Unknown_0x51EF6:
ld de,$5942
jp Logged_0x30F0
Unknown_0x51EFC:
ld a,[$D115]
cp $02
jr nz,Unknown_0x51F12
ld a,[$D114]
cp $01
jr nz,Unknown_0x51F12
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AE
ld [$FF00+hSFXIDLow],a
Unknown_0x51F12:
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
jr z,Logged_0x51F46
ld a,[$CA87]
ld b,a
ld a,[$D10D]
cp b
jr c,Logged_0x51F46
ld a,[$C08F]
and $03
jr nz,Logged_0x51F46
ld hl,$D119
inc [hl]
call Logged_0x30E6
Logged_0x51F46:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x51F6C
ld a,[hli]
sub $10
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
jr Unknown_0x51F7D
Logged_0x51F6C:
ld a,[hli]
add a,$0F
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Unknown_0x51F7D:
ld hl,$D118
dec [hl]
ret nz
ld a,$3C
ld [hld],a
xor a
ld [hl],a
jp Logged_0x52068
Logged_0x51F8A:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x51F96
dec [hl]
ret nz
jp Logged_0x52155
Logged_0x51F96:
ld l,$19
ld a,[hl]
and a
jr z,Logged_0x51FAE
ld a,[$C08F]
rra
jr c,Unknown_0x51FA6
dec [hl]
call Logged_0x30D9
Unknown_0x51FA6:
ld a,[$D11A]
rlca
jr nc,Logged_0x51FCB
jr Logged_0x5201C
Logged_0x51FAE:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
ld c,a
ld a,[$D11A]
rlca
jr c,Logged_0x52011
ld a,[$C0DB]
and a
jr z,Logged_0x51FCB
ld a,c
cp b
jp nc,Unknown_0x520C5
Logged_0x51FCB:
call Logged_0x521A5
ld a,d
cp $D0
jr z,Logged_0x51FF1
ld c,$2A
add a,c
ld d,a
ld a,[$D10D]
add a,c
cp d
jr c,Logged_0x51FF1
sub d
cp $18
jr nc,Logged_0x51FF1
ld a,e
add a,c
ld e,a
ld a,[$D10E]
add a,$0A
sub e
cp $30
jp c,Logged_0x52108
Logged_0x51FF1:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $10
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
jr Logged_0x52060
Logged_0x52011:
ld a,[$C0DB]
and a
jr z,Logged_0x5201C
ld a,c
cp b
jp c,Unknown_0x520C5
Logged_0x5201C:
call Logged_0x521A5
ld a,d
cp $D0
jr z,Logged_0x52042
ld c,$2A
add a,c
ld d,a
ld a,[$D10D]
add a,c
cp d
jr c,Logged_0x52042
sub d
cp $18
jr nc,Logged_0x52042
ld a,[$D10E]
add a,$4A
ld b,a
ld a,e
add a,c
sub b
cp $30
jp c,Logged_0x52108
Logged_0x52042:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$0F
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30B8
Logged_0x52060:
ld hl,$D118
dec [hl]
ret nz
ld a,$3C
ld [hl],a
Logged_0x52068:
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ld b,a
ld a,[$D147]
cp $01
jr z,Logged_0x52092
cp $02
jr z,Logged_0x520A2
cp $03
jr z,Unknown_0x520B2
xor a
ld [$D147],a
ld c,$17
sla b
jr c,Logged_0x5208D
ld de,$5981
jr Logged_0x520C0
Logged_0x5208D:
ld de,$597A
jr Logged_0x520C0
Logged_0x52092:
ld c,$1B
sla b
jr c,Logged_0x5209D
ld de,$598F
jr Logged_0x520C0
Logged_0x5209D:
ld de,$5988
jr Logged_0x520C0
Logged_0x520A2:
ld c,$1F
sla b
jr c,Logged_0x520AD
ld de,$599D
jr Logged_0x520C0
Logged_0x520AD:
ld de,$5996
jr Logged_0x520C0
Unknown_0x520B2:
ld c,$25
sla b
jr c,Unknown_0x520BD
ld de,$59AB
jr Logged_0x520C0
Unknown_0x520BD:
ld de,$59A4
Logged_0x520C0:
call Logged_0x30F0
ld [hl],c
ret
Unknown_0x520C5:
ld a,$01
ld [$D117],a
ld a,[$D11A]
ld b,a
ld a,[$D147]
cp $01
jr z,Unknown_0x520EB
cp $02
jr z,Unknown_0x520F9
xor a
ld [$D147],a
sla b
jr c,Unknown_0x520E6
ld de,$5911
jr Unknown_0x52105
Unknown_0x520E6:
ld de,$5949
jr Unknown_0x52105
Unknown_0x520EB:
sla b
jr c,Unknown_0x520F4
ld de,$5934
jr Unknown_0x52105
Unknown_0x520F4:
ld de,$596C
jr Unknown_0x52105
Unknown_0x520F9:
sla b
jr c,Unknown_0x52102
ld de,$593B
jr Unknown_0x52105
Unknown_0x52102:
ld de,$5973
Unknown_0x52105:
jp Logged_0x30F0
Logged_0x52108:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AD
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
ld b,a
ld a,[$D147]
cp $01
jr z,Logged_0x52131
cp $02
jr z,Logged_0x5213F
xor a
ld [$D147],a
sla b
jr c,Logged_0x5212C
ld de,$59B2
jr Logged_0x5214B
Logged_0x5212C:
ld de,$59C1
jr Logged_0x5214B
Logged_0x52131:
sla b
jr c,Logged_0x5213A
ld de,$59B7
jr Logged_0x5214B
Logged_0x5213A:
ld de,$59C6
jr Logged_0x5214B
Logged_0x5213F:
sla b
jr c,Logged_0x52148
ld de,$59BC
jr Logged_0x5214B
Logged_0x52148:
ld de,$59CB
Logged_0x5214B:
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$05
ld [hl],a
ret
Logged_0x52155:
ld a,[$D11A]
ld b,a
ld a,[$D147]
cp $01
jr z,Logged_0x5217A
cp $02
jr z,Logged_0x52188
cp $03
jr z,Logged_0x52196
xor a
ld [$D147],a
sla b
jr c,Logged_0x52175
ld de,$590A
jr Logged_0x521A2
Logged_0x52175:
ld de,$5942
jr Logged_0x521A2
Logged_0x5217A:
sla b
jr c,Logged_0x52183
ld de,$5918
jr Logged_0x521A2
Logged_0x52183:
ld de,$5950
jr Logged_0x521A2
Logged_0x52188:
sla b
jr c,Logged_0x52191
ld de,$591F
jr Logged_0x521A2
Logged_0x52191:
ld de,$5957
jr Logged_0x521A2
Logged_0x52196:
sla b
jr c,Logged_0x5219F
ld de,$5926
jr Logged_0x521A2
Logged_0x5219F:
ld de,$595E
Logged_0x521A2:
jp Logged_0x30F0
Logged_0x521A5:
xor a
ld b,a
ld h,$D0
Logged_0x521A9:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $4A
jr c,Logged_0x521BA
ld a,l
sub $07
ld l,a
ld a,[hl]
rra
jr c,Logged_0x521C4
Logged_0x521BA:
ld a,b
cp $E0
jr z,Logged_0x521CC
add a,$20
ld b,a
jr Logged_0x521A9
Logged_0x521C4:
ld a,l
add a,$0D
ld l,a
ld a,[hli]
ld d,a
ld e,[hl]
ret
Logged_0x521CC:
ld d,$D0
ld e,d
ret
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x52239
cp $01
jr z,Unknown_0x5222B
cp $02
jr z,Logged_0x521E9
cp $03
jr z,Logged_0x521E4
ret
Logged_0x521E4:
xor a
ld [$D100],a
ret
Logged_0x521E9:
ld hl,$D103
ld a,[hli]
sub $30
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30C5
ld hl,$D108
ld a,[hl]
and $80
or $51
ld [hli],a
ld a,$03
ld [$D117],a
ld hl,$D102
ld e,$07
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$D148],a
ret
Unknown_0x5222B:
ld l,$16
dec [hl]
ret nz
inc l
ld a,$02
ld [hl],a
ld de,$595E
jp Logged_0x30F0
Logged_0x52239:
ld l,$03
ld a,[hli]
add a,$06
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jp z,Logged_0x30D4
ld a,[$D11A]
rlca
jr c,Logged_0x52265
ld de,$59A4
call Logged_0x30F0
ld a,$25
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x52265:
ld a,$02
ld [$D117],a
ret
ld hl,$D11F
ld a,$62
ld [hld],a
ld a,$82
ld [hld],a
ld l,$00
set 3,[hl]
ld l,$1A
res 5,[hl]
ld a,$3C
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$62
ld [hld],a
ld a,$9A
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D147]
cp $03
jr z,Logged_0x522CF
xor a
ld b,a
ld h,$D0
Logged_0x522AF:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $48
jr nz,Logged_0x522BF
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
ret c
Logged_0x522BF:
ld a,b
cp $E0
jr z,Logged_0x522C9
add a,$20
ld b,a
jr Logged_0x522AF
Logged_0x522C9:
ld bc,$4C8C
jp Logged_0x3416
Logged_0x522CF:
ld hl,$D11F
ld a,$62
ld [hld],a
ld a,$D9
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D148]
and a
ret z
xor a
ld [$D100],a
ld hl,$D102
ld e,$08
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ld a,$01
ld [$CA6A],a
ld a,$60
ld [$CA6B],a
ret
ld hl,$D11F
ld a,$63
ld [hld],a
ld a,$21
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jp nz,Logged_0x30A4
ld a,$70
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$63
ld [hld],a
ld a,$3B
ld [hld],a
ret
call Logged_0x3655
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x52359
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x52353
ld de,$59D0
jp Logged_0x30F0
Logged_0x52353:
ld de,$59D5
jp Logged_0x30F0
Logged_0x52359:
ld a,[$D147]
cp $03
jr z,Logged_0x523A3
dec l
dec [hl]
jr z,Logged_0x52388
ld a,[$D11A]
rlca
jr c,Logged_0x52379
call Logged_0x30CA
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld b,$01
jp Logged_0x1270
Logged_0x52379:
call Logged_0x30BD
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld b,$01
jp Logged_0x1259
Logged_0x52388:
ld a,$70
ld [hli],a
ld a,$11
ld [hl],a
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
rlca
jr c,Logged_0x5239D
ld de,$59DF
jp Logged_0x30F0
Logged_0x5239D:
ld de,$59DA
jp Logged_0x30F0
Logged_0x523A3:
ld l,$1F
ld a,$63
ld [hld],a
ld a,$B1
ld [hld],a
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D11A]
rlca
jp c,Logged_0x309A
jp Logged_0x3090
ld de,$59D0
call Logged_0x30F0
ld a,$28
ld [hli],a
ld l,$1F
ld a,$63
ld [hld],a
ld a,$F2
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$06
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$F9
ld [hl],a
ld a,$40
ld [$D118],a
call Logged_0x305C
ld a,$50
ld [$D118],a
jp Logged_0x3076
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$50
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$64
ld [hld],a
ld a,$0F
ld [hld],a
ld hl,$D100
res 4,[hl]
ret
call Logged_0x3655
ld a,[$C08F]
rra
ret nc
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x52423
cp $01
jr z,Logged_0x52441
ret
Logged_0x52423:
ld l,$16
dec [hl]
jr z,Logged_0x5243A
call Logged_0x30D9
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld b,$01
call Logged_0x1287
jp Logged_0x1169
Logged_0x5243A:
ld a,$50
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x52441:
ld l,$16
dec [hl]
jr z,Logged_0x52458
call Logged_0x30E6
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld b,$01
call Logged_0x129E
jp Logged_0x1197
Logged_0x52458:
ld a,$50
ld [hli],a
xor a
ld [hl],a
ret
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$75
ld [hld],a
ld l,$00
set 3,[hl]
ld l,$1A
res 5,[hl]
ld a,$C8
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D10D]
cp $A0
ret nc
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$64
ld [hld],a
ld a,$97
ld [hld],a
xor a
ld [$D146],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D147]
cp $03
jr z,Logged_0x524DC
ld a,[$D146]
and a
ret nz
ld a,[$CA8E]
and a
ret nz
ld a,[$CA9B]
and a
jr nz,Unknown_0x524E6
xor a
ld b,a
ld h,$D0
Logged_0x524BC:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $49
jr nz,Logged_0x524CC
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
ret c
Logged_0x524CC:
ld a,b
cp $E0
jr z,Logged_0x524D6
add a,$20
ld b,a
jr Logged_0x524BC
Logged_0x524D6:
ld bc,$4CA1
jp Logged_0x3416
Logged_0x524DC:
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$EB
ld [hld],a
ret
Unknown_0x524E6:
xor a
ld [$D100],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D148]
and a
ret z
ld hl,$D102
ld e,$09
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
xor a
ld [$D100],a
ret
ld hl,$D11F
ld a,$65
ld [hld],a
ld a,$33
ld [hld],a
ld l,$00
set 3,[hl]
ld a,$03
ld [$D146],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BE
ld [$FF00+hSFXIDLow],a
ld bc,$4F3E
jp Logged_0x342D
ld hl,$D11B
ld a,[hl]
cp $5A
jr z,Logged_0x52545
cp $5B
jr z,Logged_0x5255E
cp $5C
jr z,Unknown_0x5257D
jr Logged_0x52591
Logged_0x52545:
ld a,$81
ld [$D11C],a
ld l,$16
dec [hl]
jp nz,Logged_0x30D9
ld a,$70
ld [hl],a
ld a,$5B
ld [$D11B],a
ld a,$01
ld [$D146],a
ret
Logged_0x5255E:
ld bc,$44C0
call Logged_0x3489
ld a,[$D146]
and a
jr z,Logged_0x5256F
ld a,[$C08F]
rra
ret nc
Logged_0x5256F:
call Logged_0x30CA
ld hl,$D116
dec [hl]
ret nz
ld a,$5C
ld [$D11B],a
ret
Unknown_0x5257D:
ld a,$81
ld [$D11C],a
ld l,$00
bit 1,[hl]
jp nz,Logged_0x30E6
xor a
ld [$D100],a
ld [$D146],a
ret
Logged_0x52591:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x525A5
ld a,$34
ld c,$07
jr Logged_0x525A9
Logged_0x525A5:
ld a,$33
ld c,$F8
Logged_0x525A9:
ld hl,$D11F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
ld a,$01
ld [hl],a
ld hl,$D146
ld a,[hl]
and a
ret z
ld a,$02
ld [hl],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D11B]
and a
jr nz,Logged_0x52634
ld a,[$D146]
and a
jr z,Logged_0x52638
cp $02
jr z,Logged_0x52614
cp $03
jr nz,Logged_0x525DD
ld a,$81
ld [$D11C],a
Logged_0x525DD:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x525E3:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $49
jr nz,Logged_0x525F4
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x525FD
Logged_0x525F4:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x525E3
Logged_0x525FD:
inc l
inc l
ld a,[hli]
add a,$0B
ld [$D103],a
ld a,[hli]
adc a,$00
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hl]
ld [$D106],a
ret
Logged_0x52614:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
jr nz,Logged_0x5263D
ld hl,$D100
bit 1,[hl]
jp nz,Logged_0x30A4
Logged_0x52634:
xor a
ld [$D146],a
Logged_0x52638:
xor a
ld [$D100],a
ret
Logged_0x5263D:
ld a,$81
ld [$D11C],a
ld hl,$D100
bit 1,[hl]
jr z,Logged_0x52634
call Logged_0x30D4
ld l,$16
dec [hl]
ret nz
ld a,$18
ld [hl],a
ld b,$09
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x52665:
INCBIN "baserom.gbc", $52665, $54000 - $52665
SECTION "Bank15", ROMX, BANK[$15]
LoggedData_0x54000:
INCBIN "baserom.gbc", $54000, $54020 - $54000
ld hl,$D11F
ld a,$40
ld [hld],a
ld a,$44
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $94
ld [hl],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$1E
ld [hld],a
ld de,$56CE
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld a,[$CA62]
ld c,a
ld hl,$D103
ld a,[hli]
cp c
ret nz
ld c,[hl]
ld a,[$CA61]
ret nz
ld a,$20
ld [$D118],a
call Logged_0x3083
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ld a,$01
ld [$C0E6],a
Logged_0x5406D:
ld hl,$D11A
ld a,[hl]
rlca
jr nc,Logged_0x540A2
ld a,[$D100]
rra
rra
jr nc,Logged_0x5408D
ld a,[$D10E]
add a,$2A
ld b,a
ld a,[$CA88]
add a,$2A
sub b
jr c,Logged_0x54092
cp $38
jr c,Logged_0x54092
Logged_0x5408D:
ld de,$56CE
jr Logged_0x540CE
Logged_0x54092:
res 7,[hl]
ld de,$570A
ld l,$05
ld a,[hl]
add a,$70
ld [hli],a
jr nc,Logged_0x540CE
inc [hl]
jr Logged_0x540CE
Logged_0x540A2:
ld a,[$D100]
rra
rra
jr nc,Logged_0x540BB
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
sub b
jr c,Logged_0x540C0
cp $38
jr c,Logged_0x540C0
Logged_0x540BB:
ld de,$570A
jr Logged_0x540CE
Logged_0x540C0:
set 7,[hl]
ld de,$56CE
ld l,$05
ld a,[hl]
sub $70
ld [hli],a
jr nc,Logged_0x540CE
dec [hl]
Logged_0x540CE:
call Logged_0x30F0
ld l,$1F
ld a,$41
ld [hld],a
ld a,$B5
ld [hld],a
ld hl,$D100
res 4,[hl]
ld l,$16
xor a
ld [hli],a
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,$41
ld [hl],a
ld a,$2D
ld [$D11B],a
ld l,$08
ld a,[hl]
and $80
or $34
ld [hli],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x54103:
INCBIN "baserom.gbc", $54103, $54109 - $54103
Logged_0x54109:
ld l,$16
dec [hl]
ld a,[hl]
ld l,$1A
cp $0A
jr z,Logged_0x54119
and a
ret nz
ld l,$1B
jr Logged_0x5414B
Logged_0x54119:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,[hld]
rlca
jr c,Logged_0x5412B
ld bc,$4BF9
jp Logged_0x3416
Logged_0x5412B:
ld bc,$4C0E
jp Logged_0x3416
Logged_0x54131:
ld a,[$D11A]
rlca
jr c,Logged_0x5413C
ld de,$56BC
jr Logged_0x5413F
Logged_0x5413C:
ld de,$56C5
Logged_0x5413F:
call Logged_0x30F0
ld a,$22
ld [hli],a
ld a,$5B
ld [$D11B],a
ret
Logged_0x5414B:
ld a,$01
ld [$D116],a
Logged_0x54150:
ld a,$5C
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x5415D
ld de,$5734
jp Logged_0x30F0
Logged_0x5415D:
ld de,$5701
jp Logged_0x30F0
Logged_0x54163:
ld a,$34
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x5416F
ld de,$571C
jr Logged_0x54172
Logged_0x5416F:
ld de,$56E0
Logged_0x54172:
call Logged_0x30F0
ld a,$1A
ld [hli],a
ret
Logged_0x54179:
ld l,$16
ld a,[hl]
cp $10
jr nz,Logged_0x54188
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A6
ld [$FF00+hSFXIDLow],a
Logged_0x54188:
dec [hl]
ret nz
ld l,$1B
jr Logged_0x54150
Logged_0x5418E:
ld l,$19
ld a,[$D11A]
and $0F
cp $03
jr nc,Logged_0x5419E
ld a,[hl]
cp $1E
jr z,Logged_0x54131
Logged_0x5419E:
dec [hl]
jp nz,Logged_0x30E6
ld l,$1A
ld a,[hl]
and $0F
cp $04
jr c,Logged_0x54209
Logged_0x541AB:
xor a
ld [$D11B],a
ld a,$2B
ld [$D116],a
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x541E9
cp $34
jr z,Logged_0x54179
cp $5A
jr z,Logged_0x54221
cp $2D
jr z,Logged_0x5418E
cp $5B
jp z,Logged_0x54109
cp $5C
jp z,Logged_0x542CB
and $FE
cp $04
jr z,Logged_0x54163
cp $08
jp z,Logged_0x5414B
cp $0A
jr z,Logged_0x54257
cp $3A
jp z,Logged_0x54286
xor a
ld [hl],a
ret
Logged_0x541E9:
ld a,[$D10D]
add a,$20
cp $20
jr nc,Logged_0x54203
ld l,$1F
ld a,$41
ld [hld],a
ld a,$03
ld [hld],a
ld a,$00
ld [$CAC3],a
call Logged_0x161A
ret
Logged_0x54203:
ld l,$16
dec [hl]
ret nz
ld l,$1A
Logged_0x54209:
ld a,[hld]
rlca
jr c,Logged_0x54212
ld de,$5713
jr Logged_0x54215
Logged_0x54212:
ld de,$56D7
Logged_0x54215:
call Logged_0x30F0
ld a,$45
ld [hli],a
ld a,$5A
ld [$D11B],a
ret
Logged_0x54221:
ld l,$16
dec [hl]
ld a,[hl]
ld l,$1A
cp $15
jr z,Unknown_0x5423F
and a
ret nz
ld a,[hld]
rlca
jr c,Unknown_0x54236
ld de,$570A
jr Unknown_0x54239
Unknown_0x54236:
ld de,$56CE
Unknown_0x54239:
call Logged_0x30F0
jp Logged_0x541AB
Unknown_0x5423F:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,[hld]
rlca
jr c,Unknown_0x54251
ld bc,$4BCF
jp Logged_0x3416
Unknown_0x54251:
ld bc,$4BE4
jp Logged_0x3416
Logged_0x54257:
ld a,$3A
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x54263
ld de,$5721
jr Logged_0x54266
Logged_0x54263:
ld de,$56E5
Logged_0x54266:
call Logged_0x30F0
ld a,$32
ld [hli],a
ld l,$08
ld a,[hl]
and $80
or $0B
ld [hli],a
ld a,$F0
ld [hl],a
call Logged_0x30FB
dec l
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ret
Logged_0x54286:
ld bc,$4DD0
call Logged_0x34B7
ld hl,$D116
ld a,[hl]
cp $1E
jr nz,Logged_0x5429C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A7
ld [$FF00+hSFXIDLow],a
Logged_0x5429C:
dec [hl]
ret nz
ld l,$1B
ld a,$5C
ld [hld],a
ld a,[hl]
and $0F
dec a
jr nz,Logged_0x542B6
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
Logged_0x542B6:
ld a,$E6
ld [$D109],a
ld a,[hld]
rlca
jr c,Logged_0x542C5
ld de,$5726
jp Logged_0x30F0
Logged_0x542C5:
ld de,$56EA
jp Logged_0x30F0
Logged_0x542CB:
ld l,$17
ld a,[$D11A]
and $0F
cp $04
jr c,Logged_0x542E0
dec l
ld a,[hli]
and a
jr nz,Logged_0x542E0
ld a,[$C08F]
rra
ret nc
Logged_0x542E0:
ld a,[$D103]
ld c,a
ld a,[hli]
cp c
jp nz,Logged_0x30D9
ld a,[$D104]
ld c,[hl]
cp c
jp nz,Logged_0x30D9
ld a,[$D11A]
and $0F
dec a
jr z,Logged_0x5430B
ld a,$1E
ld [$D116],a
ld l,$1F
ld a,$43
ld [hld],a
ld a,$35
ld [hld],a
ld l,$00
set 4,[hl]
ret
Logged_0x5430B:
ld a,$21
ld [$D119],a
ld l,$1F
ld a,$43
ld [hld],a
ld a,$5F
ld [hld],a
ld hl,$D102
ld e,$05
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A7
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D10D]
cp $3A
jr nc,Logged_0x54353
ld hl,$D11F
ld a,$41
ld [hld],a
ld a,$03
ld [hld],a
ld a,$00
ld [$CAC3],a
call Logged_0x161A
ret
Logged_0x54353:
ld hl,$D116
dec [hl]
ret nz
ld l,$00
res 4,[hl]
jp Logged_0x5406D
ld a,$81
ld [$D11C],a
ld hl,$D119
dec [hl]
jp nz,Logged_0x30AE
inc l
ld a,[hld]
rlca
jr c,Logged_0x54375
ld de,$572F
jr Logged_0x54378
Logged_0x54375:
ld de,$56F3
Logged_0x54378:
call Logged_0x30F0
ld a,$1E
ld [hli],a
ld l,$1F
ld a,$43
ld [hld],a
ld a,$87
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x543C4
dec [hl]
ret nz
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x543A9
res 7,[hl]
jr Logged_0x543AB
Logged_0x543A9:
set 7,[hl]
Logged_0x543AB:
res 4,[hl]
ld a,[hl]
and $80
ld [hld],a
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ret
Logged_0x543C4:
ld l,$1F
ld a,$43
ld [hld],a
ld a,$D4
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
ld a,$81
ld [$D11C],a
ld bc,$4180
call Logged_0x34B7
ld a,[$D11A]
rlca
jp nc,Logged_0x30BD
jp Logged_0x30CA
Unknown_0x543E9:
INCBIN "baserom.gbc", $543E9, $54401 - $543E9
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr nz,Logged_0x54414
ld l,$1F
ld a,$44
ld [hld],a
ld a,$14
ld [hld],a
Logged_0x54414:
call Logged_0x309A
ld a,[$D117]
and a
jr nz,Logged_0x54422
ld bc,$48B0
jr Logged_0x54425
Logged_0x54422:
ld bc,$4900
Logged_0x54425:
ld a,[$D11B]
and a
jp z,Logged_0x34B7
xor a
ld [$D119],a
ld l,$1F
ld a,$44
ld [hld],a
ld a,$41
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x54441:
INCBIN "baserom.gbc", $54441, $54456 - $54441
ld hl,$D11F
ld a,$44
ld [hld],a
ld a,$6C
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,$F0
ld [$D116],a
jr Logged_0x54497
ld hl,$D116
dec [hl]
jr z,Logged_0x54489
ld a,[hl]
cp $B4
jr nc,Logged_0x54497
cp $3C
jr z,Logged_0x54484
cp $78
jr nz,Logged_0x54497
ld bc,$4C23
jr Logged_0x54494
Logged_0x54484:
ld bc,$4C38
jr Logged_0x54494
Logged_0x54489:
ld bc,$4C4D
ld l,$1F
ld a,$44
ld [hld],a
ld a,$97
ld [hld],a
Logged_0x54494:
call Logged_0x3416
Logged_0x54497:
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ret
ld hl,$D11F
ld a,$44
ld [hld],a
ld a,$B8
ld [hld],a
ld hl,$44DD
ld de,$C078
ld c,$07
ld b,$01
jp Logged_0x1C13
call Logged_0x3655
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x544D1
dec [hl]
call Logged_0x30E6
ld a,$81
ld [$D11C],a
Logged_0x544CB:
ld a,$0A
ld [$D114],a
ret
Logged_0x544D1:
inc l
ld a,[hl]
and a
jr z,Logged_0x544CB
dec [hl]
ld a,$81
ld [$D11C],a
ret
LoggedData_0x544DD:
INCBIN "baserom.gbc", $544DD, $544E5 - $544DD
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$45
ld [hld],a
ld a,$20
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $04
ld [hld],a
and $0F
swap a
add a,a
add a,$48
ld [hl],a
ld l,$0C
ld a,$08
ld [hld],a
ld a,$F7
ld [hld],a
ld a,$F8
ld [hl],a
ld de,$5A5F
call Logged_0x30F0
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D146],a
ld [$D147],a
ret
ld a,$01
ld [$C0E6],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ld hl,$D11F
ld a,$45
ld [hld],a
ld a,$8A
ld [hld],a
ld bc,$4F51
call Logged_0x342D
ld bc,$4F64
jp Logged_0x342D
Unknown_0x54542:
INCBIN "baserom.gbc", $54542, $54563 - $54542
Unknown_0x54563:
ld hl,$D11F
ld a,$45
ld [hld],a
ld a,$42
ld [hld],a
ld a,$1E
ld [$D116],a
ret
Unknown_0x54572:
ld a,$5A
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$40
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
call Logged_0x54C07
ld hl,$D11B
ld a,[hl]
cp $2A
jr z,Unknown_0x54572
ld b,a
ld a,[$C0D7]
and a
jr nz,Unknown_0x54563
ld a,b
and a
jr z,Logged_0x545F8
cp $2F
jr z,Logged_0x545D3
and $FE
cp $08
jr z,Logged_0x545AB
ret
Logged_0x545AB:
ld de,$5A95
call Logged_0x30F0
ld a,$44
ld [hli],a
ld a,$FD
ld [hli],a
inc l
xor a
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $07
ld [hld],a
ld l,$1F
ld a,$46
ld [hld],a
ld a,$E0
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B3
ld [$FF00+hSFXIDLow],a
ret
Logged_0x545D3:
ld hl,$D116
dec [hl]
jp z,Logged_0x54895
ld a,[hl]
cp $20
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7E
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr c,Logged_0x545F2
ld bc,$4CCB
jp Logged_0x3416
Logged_0x545F2:
ld bc,$4CE0
jp Logged_0x3416
Logged_0x545F8:
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x54615
dec [hl]
jp nz,Logged_0x5468E
ld a,[$D11A]
rlca
jr c,Logged_0x5460F
ld de,$5A5F
jp Logged_0x30F0
Logged_0x5460F:
ld de,$5A68
jp Logged_0x30F0
Logged_0x54615:
ld a,[$D147]
and a
jr nz,Logged_0x54646
ld l,$19
dec [hl]
jr nz,Logged_0x54646
inc l
ld a,[hld]
and $0F
swap a
add a,a
add a,$48
ld [hl],a
ld a,[$CA87]
ld b,a
ld a,[$D10D]
cp b
jr c,Logged_0x54646
ld a,$2F
ld [$D11B],a
ld de,$5A7A
call Logged_0x30F0
ld a,$48
ld [hli],a
ld a,$FE
ld [hl],a
ret
Logged_0x54646:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x5466C
ld a,[hli]
sub $11
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
jr Logged_0x5467D
Logged_0x5466C:
ld a,[hli]
add a,$10
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x5467D:
ld de,$5A71
call Logged_0x30F0
inc l
ld a,$2B
ld [hl],a
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x5468E:
ld a,[$CA87]
and $FE
ld b,a
ld a,[$D10D]
and $FE
cp b
ret z
jr nc,Logged_0x546BD
Logged_0x5469D:
ld hl,$D103
ld a,[hli]
add a,$05
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jp z,Logged_0x30D9
ld hl,$D11A
res 6,[hl]
ret
Logged_0x546BD:
ld hl,$D103
ld a,[hli]
sub $2C
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
jp nz,Logged_0x30E6
ld hl,$D11A
set 6,[hl]
ret
call Logged_0x54C07
ld hl,$D103
ld a,[hli]
add a,$05
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ld bc,$4A60
call z,Logged_0x34B7
ld hl,$D116
dec [hl]
ret nz
ld de,$5AB3
call Logged_0x30F0
ld a,$FF
ld [hli],a
ld a,$FC
ld [hli],a
ld a,$02
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $06
ld [hld],a
ld l,$1F
ld a,$47
ld [hld],a
ld a,$70
ld [hld],a
ld l,$1B
xor a
ld [hld],a
ld a,[$CA87]
ld b,a
ld a,[$D10D]
cp b
jr nc,Logged_0x54734
set 6,[hl]
Logged_0x54734:
res 6,[hl]
ret
Logged_0x54737:
ld a,[$CA87]
ld b,a
ld a,[$D10D]
cp b
jr nc,Logged_0x54765
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B4
ld [$FF00+hSFXIDLow],a
ld de,$5ABC
call Logged_0x30F0
ld a,$1E
ld [hli],a
ld l,$1F
ld a,$48
ld [hld],a
ld a,$06
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $07
ld [hld],a
jp Logged_0x30FB
Logged_0x54765:
xor a
ld [hld],a
set 6,[hl]
ld a,$02
ld [$D118],a
jr Logged_0x54782
call Logged_0x54C07
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x54782
and $FE
cp $08
jr z,Logged_0x54737
xor a
ld [hl],a
Logged_0x54782:
ld a,[$C08F]
and $07
jr nz,Logged_0x54791
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AB
ld [$FF00+hSFXIDLow],a
Logged_0x54791:
ld hl,$D116
dec [hl]
jr nz,Logged_0x5479C
ld l,$18
dec [hl]
jr z,Logged_0x547E9
Logged_0x5479C:
ld l,$1A
bit 6,[hl]
jr z,Logged_0x547A7
call Logged_0x5469D
jr Logged_0x547AA
Logged_0x547A7:
call Logged_0x546BD
Logged_0x547AA:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D11A]
rlca
jr c,Logged_0x547D0
ld a,[hli]
sub $11
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30CA
jr Logged_0x547E1
Logged_0x547D0:
ld a,[hli]
add a,$10
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x30BD
Logged_0x547E1:
ld hl,$D11A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x547E9:
ld de,$5AA8
call Logged_0x30F0
ld a,$28
ld [hli],a
ld a,$FE
ld [hl],a
ld l,$08
ld a,[hl]
and $80
or $07
ld [hld],a
ld l,$1F
ld a,$48
ld [hld],a
ld a,$7D
ld [hld],a
ret
call Logged_0x54C07
ld hl,$D116
dec [hl]
ret nz
ld l,$19
xor a
ld [hli],a
ld a,[hl]
and $0F
dec a
jr z,Logged_0x5482A
ld l,$1F
ld a,$48
ld [hld],a
ld a,$53
ld [hld],a
ld de,$5B08
call Logged_0x30F0
ld a,$78
ld [hli],a
ret
Logged_0x5482A:
ld a,[hl]
and $80
ld [hl],a
ld l,$1F
ld a,$48
ld [hld],a
ld a,$C5
ld [hld],a
ld de,$5AC3
call Logged_0x30F0
inc l
ld a,$FF
ld [hli],a
ld a,$14
ld [hl],a
call Logged_0x3076
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
call Logged_0x54C07
ld hl,$D116
dec [hl]
jr z,Logged_0x547E9
ld hl,$D103
ld a,[hli]
sub $2C
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
ret z
ld bc,$4A70
jp Logged_0x34B7
call Logged_0x54C07
ld hl,$D116
dec [hl]
ret nz
ld l,$08
ld a,[hl]
and $80
or $41
ld [hld],a
ld l,$1F
ld a,$45
ld [hld],a
ld a,$8A
ld [hld],a
Logged_0x54895:
ld l,$1A
ld a,[hld]
and $0F
swap a
add a,a
add a,$48
ld [hl],a
ld l,$1B
xor a
ld [$D117],a
ld [hld],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x548BD
res 7,[hl]
ld de,$5A5F
jp Logged_0x30F0
Logged_0x548BD:
set 7,[hl]
ld de,$5A68
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
call Logged_0x54C07
ld hl,$D103
ld a,[hli]
sub $18
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
ld bc,$4A70
jp nz,Logged_0x34B7
ld hl,$D116
ld a,$0F
ld [hli],a
inc l
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ld l,$1F
ld a,$49
ld [hld],a
ld a,$0B
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AC
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
call Logged_0x54C07
call Logged_0x30D4
ld bc,$4A80
call Logged_0x34CE
ld hl,$D116
dec [hl]
ret nz
ld a,$B4
ld [hl],a
xor a
ld [$D118],a
ld l,$1F
ld a,$49
ld [hld],a
ld a,$31
ld [hld],a
ret
ld a,$81
ld [$D11C],a
call Logged_0x54C07
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x54978
dec [hl]
jr nz,Logged_0x54978
ld hl,$D102
ld e,$05
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ld hl,$D147
ld a,[hl]
and a
jr z,Logged_0x54978
xor a
ld [hl],a
ld hl,$4C87
call Logged_0x54C79
ld hl,$4CB7
call Logged_0x54C80
Logged_0x54978:
call Logged_0x30D4
ld bc,$4A90
jp Logged_0x34A0
ld hl,$D11F
ld a,$49
ld [hld],a
ld a,$97
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,$40
ld [$D116],a
jr Logged_0x549AB
ld hl,$D116
dec [hl]
jr nz,Logged_0x549AB
ld l,$1F
ld a,$49
ld [hld],a
ld a,$AB
ld [hld],a
ld bc,$4CF5
call Logged_0x3416
Logged_0x549AB:
ld a,$02
ld [$D114],a
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$49
ld [hld],a
ld a,$C7
ld [hld],a
jp Logged_0x305C
ld a,$81
ld [$D11C],a
ld a,[$C08F]
rra
ret c
ld hl,$D116
dec [hl]
jp nz,Logged_0x30E6
ld a,$3C
ld [hl],a
ld l,$1F
ld a,$49
ld [hld],a
ld a,$EE
ld [hld],a
ld l,$03
ld a,[hli]
ld [$D118],a
ld a,[hl]
ld [$D119],a
ret
call Logged_0x3655
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$4A
ld [hld],a
ld a,$02
ld [hld],a
ret
call Logged_0x3655
ld a,[$C08F]
rra
ret nc
ld hl,$D116
dec [hl]
jr z,Logged_0x54A24
ld l,$00
bit 5,[hl]
jp z,Logged_0x30E6
res 5,[hl]
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Logged_0x54A24:
ld l,$1F
ld a,$4A
ld [hld],a
ld a,$2D
ld [hld],a
ret
call Logged_0x3655
ld hl,$D118
ld b,[hl]
ld a,[$D103]
cp b
jr nz,Logged_0x54A42
inc l
ld b,[hl]
ld a,[$D104]
cp b
jr z,Logged_0x54A5B
Logged_0x54A42:
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D4
res 5,[hl]
ld a,[$C08F]
rra
ret nc
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
Logged_0x54A5B:
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$4A
ld [hld],a
ld a,$02
ld [hld],a
ld a,$3C
ld [$D116],a
ret
ld hl,$D100
set 4,[hl]
ld hl,$D11F
ld a,$4A
ld [hld],a
ld a,$97
ld [hld],a
ret
Unknown_0x54A7F:
ld a,$5A
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$40
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld hl,$D11B
ld a,[hl]
cp $2A
jr z,Unknown_0x54A7F
ld a,[$C0D7]
and a
ret nz
xor a
ld [hl],a
ld a,$00
ld b,$00
ld h,$D0
Logged_0x54AAC:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $50
jr nz,Logged_0x54ABD
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x54AC6
Logged_0x54ABD:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x54AAC
Logged_0x54AC6:
inc l
inc l
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,[hli]
ld e,a
ld d,[hl]
ld a,l
add a,$11
ld l,a
ld a,[hli]
and a
jr z,Logged_0x54B28
cp $FC
jr z,Logged_0x54B05
cp $FD
jr z,Logged_0x54AF0
cp $FE
jr z,Logged_0x54B0E
cp $FF
jr z,Logged_0x54B23
ld a,[$D107]
cp $51
jr z,Logged_0x54B5A
jr Logged_0x54B2E
Logged_0x54AF0:
ld a,$81
ld [$D11C],a
ld hl,$D108
ld a,[hl]
and $80
or $43
ld [hli],a
ld a,$FD
ld [hli],a
ld a,$02
ld [hli],a
ret
Logged_0x54B05:
ld a,[$D107]
cp $51
jr z,Logged_0x54B5A
jr Logged_0x54B2E
Logged_0x54B0E:
ld a,$81
ld [$D11C],a
ld hl,$D108
ld a,[hl]
and $80
or $40
ld [hli],a
ld a,$F6
ld [hli],a
ld a,$FE
ld [hli],a
ret
Logged_0x54B23:
xor a
ld [$D100],a
ret
Logged_0x54B28:
inc l
inc l
bit 7,[hl]
jr nz,Logged_0x54B5A
Logged_0x54B2E:
ld hl,$D103
ld a,[$D107]
cp $51
jr z,Logged_0x54B49
ld a,c
sub $0B
ld [hli],a
ld a,b
sbc a,$00
ld [hli],a
ld a,e
add a,$0F
ld [hli],a
ld a,d
adc a,$00
ld [hli],a
ret
Logged_0x54B49:
ld a,c
sub $04
ld [hli],a
ld a,b
sbc a,$00
ld [hli],a
ld a,e
sub $17
ld [hli],a
ld a,d
sbc a,$00
ld [hli],a
ret
Logged_0x54B5A:
ld hl,$D103
ld a,[$D107]
cp $51
jr z,Logged_0x54B75
ld a,c
sub $04
ld [hli],a
ld a,b
sbc a,$00
ld [hli],a
ld a,e
add a,$16
ld [hli],a
ld a,d
adc a,$00
ld [hli],a
ret
Logged_0x54B75:
ld a,c
sub $0B
ld [hli],a
ld a,b
sbc a,$00
ld [hli],a
ld a,e
sub $10
ld [hli],a
ld a,d
sbc a,$00
ld [hli],a
ret
Unknown_0x54B86:
INCBIN "baserom.gbc", $54B86, $54B93 - $54B86
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x54BA0
dec [hl]
call Logged_0x30B8
jr Logged_0x54BB6
Logged_0x54BA0:
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Unknown_0x54BB3
call Logged_0x30C5
jr Logged_0x54BB6
Unknown_0x54BB3:
call Logged_0x30B8
Logged_0x54BB6:
ld a,[$D11B]
and a
jr nz,Logged_0x54BE1
ld hl,$D103
ld a,[hli]
sub $10
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
ld a,[$C0DD]
and a
jr z,Logged_0x54BE6
ld a,[$C08F]
and $03
ret nz
jp Logged_0x30E6
Logged_0x54BE1:
ld a,$01
ld [$D147],a
Logged_0x54BE6:
ld de,$5AF5
call Logged_0x30F0
ld a,$19
ld [hli],a
ld l,$1F
ld a,$4B
ld [hld],a
ld a,$F8
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
Logged_0x54C07:
ld hl,$D147
ld a,[hl]
and a
ret z
ld b,a
ld a,[$D146]
and a
jr nz,Logged_0x54C74
inc [hl]
ld a,b
cp $02
jr z,Logged_0x54C31
cp $3C
jr z,Logged_0x54C44
cp $3D
jr z,Logged_0x54C27
cp $78
jr z,Logged_0x54C5F
ret
Logged_0x54C27:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B7
ld [$FF00+hSFXIDLow],a
jr Logged_0x54C39
Logged_0x54C31:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B5
ld [$FF00+hSFXIDLow],a
Logged_0x54C39:
ld hl,$4C9F
call Logged_0x54C79
ld hl,$4CF7
jr Logged_0x54C80
Logged_0x54C44:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B6
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$D146],a
ld c,$05
ld b,$03
call Logged_0x360F
ld c,$00
ld b,$08
jp Logged_0x3632
Logged_0x54C5F:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B8
ld [$FF00+hSFXIDLow],a
xor a
ld [hl],a
ld hl,$4C87
call Logged_0x54C79
ld hl,$4CB7
jr Logged_0x54C80
Logged_0x54C74:
ld hl,$D146
dec [hl]
ret
Logged_0x54C79:
ld c,$05
ld b,$03
jp Logged_0x35BB
Logged_0x54C80:
ld c,$00
ld b,$08
jp Logged_0x35E5
LoggedData_0x54C87:
INCBIN "baserom.gbc", $54C87, $54D37 - $54C87
ld a,$01
ld [$C0E6],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$4D
ld [hld],a
ld a,$7D
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$03
ld [hld],a
ld a,$FC
ld [hld],a
ld a,$06
ld [hl],a
ld de,$5CE9
call Logged_0x30F0
ld a,$FF
ld [hli],a
ld a,$08
ld [$D118],a
call Logged_0x305C
ld a,$04
ld [$D118],a
jp Logged_0x3076
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
cp $C0
jr nz,Logged_0x54D96
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2D
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
Logged_0x54D96:
dec [hl]
ret nz
ld de,$5CDB
call Logged_0x30F0
ld a,$FF
ld [hli],a
ld l,$1F
ld a,$4D
ld [hld],a
ld a,$AA
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
cp $30
jr nz,Logged_0x54DC3
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
Logged_0x54DC3:
dec [hl]
ret nz
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ld hl,$D100
set 7,[hl]
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$10
ld [hld],a
xor a
ld l,$16
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D149],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x54DFE
res 7,[hl]
inc l
ld a,$5A
ld [hl],a
ld de,$5C1C
jp Logged_0x30F0
Logged_0x54DFE:
set 7,[hl]
inc l
ld a,$5B
ld [hl],a
ld de,$5CA1
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ret
ld hl,$D100
ld a,[$C08F]
rra
jr c,Logged_0x54E1C
res 4,[hl]
ret
Logged_0x54E1C:
set 4,[hl]
ld a,[$D148]
and a
jr nz,Logged_0x54E46
ld l,$1F
ld a,$4F
ld [hld],a
ld a,$9D
ld [hld],a
ld l,$00
res 4,[hl]
ld de,$5CE0
call Logged_0x30F0
ld a,$A0
ld [hli],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
Logged_0x54E46:
ld l,$1B
ld a,[hld]
cp $5A
jr z,Logged_0x54E78
cp $5B
jr z,Logged_0x54EAE
bit 7,[hl]
jr nz,Logged_0x54E5A
ld de,$5C92
jr Logged_0x54E5D
Logged_0x54E5A:
ld de,$5C7A
Logged_0x54E5D:
ld l,$00
res 4,[hl]
ld l,$1F
ld a,$4E
ld [hld],a
ld a,$0A
ld [hld],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0x30F0
Logged_0x54E78:
call Logged_0x54F55
ld a,[$D118]
dec a
jr nz,Logged_0x54E87
ld l,$1A
bit 7,[hl]
jr nz,Logged_0x54E9F
Logged_0x54E87:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x54EA6
Logged_0x54E9F:
ld a,$5B
ld [$D11B],a
jr Logged_0x54EFB
Logged_0x54EA6:
ld bc,$4C80
call Logged_0x34A0
jr Logged_0x54EFB
Logged_0x54EAE:
call Logged_0x54F55
ld a,[$D118]
dec a
jr nz,Logged_0x54EBD
ld l,$1A
bit 7,[hl]
jr z,Logged_0x54ED5
Logged_0x54EBD:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
add a,$08
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x54EDC
Logged_0x54ED5:
ld a,$5A
ld [$D11B],a
jr Logged_0x54EFB
Logged_0x54EDC:
ld bc,$4C20
call Logged_0x34A0
jr Logged_0x54EFB
Logged_0x54EE4:
ld hl,$D11A
ld a,[$CA87]
add a,$2A
ld b,a
ld a,[$D10D]
add a,$2A
cp b
jr nc,Logged_0x54EF8
set 6,[hl]
ret
Logged_0x54EF8:
res 6,[hl]
ret
Logged_0x54EFB:
ld a,[$D119]
dec a
jr nz,Logged_0x54F04
call Logged_0x54EE4
Logged_0x54F04:
ld a,[$D10D]
ld hl,$D11A
bit 6,[hl]
jr nz,Logged_0x54F20
cp $28
jr nc,Logged_0x54F1A
set 6,[hl]
xor a
ld [$D119],a
jr Logged_0x54F4F
Logged_0x54F1A:
ld bc,$4C80
jp Logged_0x3489
Logged_0x54F20:
cp $98
jr nc,Logged_0x54F47
cp $7C
jr c,Logged_0x54F4F
cp $80
jr nc,Logged_0x54F4F
ld l,$03
ld a,[hli]
add a,$0A
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x54F4F
ld hl,$D11A
Logged_0x54F47:
res 6,[hl]
xor a
ld [$D119],a
jr Logged_0x54F1A
Logged_0x54F4F:
ld bc,$4C20
jp Logged_0x3489
Logged_0x54F55:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x54F6D
dec [hl]
ret nz
ld l,$1A
ld e,$13
call Logged_0x554BC
xor a
ld [$D114],a
ld [$D115],a
ret
Logged_0x54F6D:
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
ld a,[hl]
jr c,Logged_0x54F87
rlca
ret nc
res 7,[hl]
ld de,$5C7A
jr Logged_0x54F8E
Logged_0x54F87:
rlca
ret c
set 7,[hl]
ld de,$5C92
Logged_0x54F8E:
call Logged_0x30F0
ld a,$14
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BC
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x54FAC
dec [hl]
jr Logged_0x54FCD
Logged_0x54FAC:
ld a,[$D10E]
cp $58
jr nz,Logged_0x54FCD
ld l,$1F
ld a,$50
ld [hld],a
ld a,$7B
ld [hld],a
ld de,$5C40
call Logged_0x30F0
ld a,$28
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BD
ld [$FF00+hSFXIDLow],a
ret
Logged_0x54FCD:
ld a,[$D11B]
cp $5A
jr z,Logged_0x54FD9
cp $5B
jr z,Logged_0x55006
ret
Logged_0x54FD9:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x55001
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$5B
ld [$D11B],a
jr Logged_0x55031
Logged_0x55001:
call Logged_0x30CA
jr Logged_0x55031
Logged_0x55006:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
add a,$08
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr z,Logged_0x5502E
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$5A
ld [$D11B],a
jr Logged_0x55031
Logged_0x5502E:
call Logged_0x30BD
Logged_0x55031:
ld a,[$D10D]
ld hl,$D11A
bit 6,[hl]
jr nz,Logged_0x5504D
cp $30
jp nc,Logged_0x30E6
set 6,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
jp Logged_0x30D9
Logged_0x5504D:
cp $7C
jp c,Logged_0x30D9
ld l,$03
ld a,[hli]
add a,$0A
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jp z,Logged_0x30D9
ld hl,$D11A
res 6,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
jp Logged_0x30E6
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$50
ld [hld],a
ld a,$97
ld [hld],a
ld de,$5C45
call Logged_0x30F0
ld a,$28
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$50
ld [hld],a
ld a,$B3
ld [hld],a
ld de,$5C4A
call Logged_0x30F0
ld a,$28
ld [hli],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$50
ld [hld],a
ld a,$DB
ld [hld],a
ld de,$5C4F
call Logged_0x30F0
ld a,$28
ld [hli],a
inc l
ld a,$0F
ld [hl],a
call Logged_0x3076
ld bc,$4D5E
jp Logged_0x3416
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$50
ld [hld],a
ld a,$FF
ld [hld],a
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld bc,$4D20
jp Logged_0x34B7
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld a,$3C
ld [hl],a
ld a,$03
ld [$D118],a
ld l,$1F
ld a,$51
ld [hld],a
ld a,$25
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
bit 1,[hl]
jp nz,Logged_0x3076
ld l,$16
dec [hl]
ret nz
xor a
ld [$D100],a
ld hl,$D102
ld e,$06
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1A
res 5,[hl]
ld l,$1F
ld a,$51
ld [hld],a
ld a,$94
ld [hld],a
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld a,$00
ld [hl],a
ld de,$5CEF
call Logged_0x30F0
xor a
ld [hli],a
ld [$D11B],a
inc a
ld [hl],a
ld a,$08
ld [$D118],a
call Logged_0x305C
ld a,$5A
ld [$D118],a
jp Logged_0x3076
call Logged_0x3655
ld a,[$C08F]
rra
ret nc
ld hl,$D117
ld a,[hld]
and a
jr z,Logged_0x551C9
inc [hl]
ld a,[hli]
cp $30
jr z,Logged_0x551C3
ld a,[$D11B]
and a
jr nz,Logged_0x551C3
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D9
res 5,[hl]
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
Logged_0x551C3:
xor a
ld [hl],a
ld [$D11B],a
ret
Logged_0x551C9:
dec [hl]
jr z,Unknown_0x551E0
ld l,$00
bit 5,[hl]
jp z,Logged_0x30E6
res 5,[hl]
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Unknown_0x551E0:
inc l
ld a,$01
ld [hl],a
ret
ld hl,$D11F
ld a,$52
ld [hld],a
ld a,$2C
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,$08
ld [$D118],a
call Logged_0x305C
ld a,$14
ld [$D118],a
call Logged_0x3076
ld bc,$4D0A
call Logged_0x3416
ld bc,$4D1F
call Logged_0x3416
ld bc,$4D34
call Logged_0x3416
ld bc,$4D49
call Logged_0x3416
ld a,$0F
ld [$D146],a
xor a
ld [$D147],a
ld [$D148],a
ld a,$01
ld [$D149],a
ret
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld a,[$D149]
and a
jr nz,Logged_0x5525B
ld a,[$D148]
and a
jr nz,Logged_0x5525B
xor a
ld [$D100],a
ld hl,$D102
ld e,$07
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x5525B:
call Logged_0x55407
ld hl,$D146
ld a,[hl]
rra
jr nc,Logged_0x55275
rra
jr nc,Logged_0x5527D
rra
jr nc,Logged_0x55285
rra
ret c
set 3,[hl]
ld bc,$4D49
jp Logged_0x3416
Logged_0x55275:
set 0,[hl]
ld bc,$4D0A
jp Logged_0x3416
Logged_0x5527D:
set 1,[hl]
ld bc,$4D1F
jp Logged_0x3416
Logged_0x55285:
set 2,[hl]
ld bc,$4D34
jp Logged_0x3416
call Logged_0x553E8
ld a,$81
ld [$D11C],a
ld hl,$D11F
ld a,$52
ld [hld],a
ld a,$9F
ld [hld],a
ret
call Logged_0x553E8
ld a,$81
ld [$D11C],a
ld a,$02
ld [$D114],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$52
ld [hld],a
ld a,$BA
ld [hld],a
ret
call Logged_0x553E8
ld a,$81
ld [$D11C],a
ld hl,$D117
dec [hl]
ret nz
ld l,$1F
ld a,$52
ld [hld],a
ld a,$D4
ld [hld],a
ld l,$00
set 7,[hl]
ret
call Logged_0x553E8
ld a,$81
ld [$D11C],a
ld a,[$D107]
ld b,a
cp $52
ld a,[$D10E]
jr nc,Logged_0x552F8
cp $10
jr z,Logged_0x55309
call Logged_0x30CA
ld a,b
rra
jr c,Logged_0x55303
Logged_0x552F2:
ld bc,$4CE0
jp Logged_0x34B7
Logged_0x552F8:
cp $A0
jr z,Logged_0x55309
call Logged_0x30BD
ld a,b
rra
jr nc,Logged_0x552F2
Logged_0x55303:
ld bc,$4D00
jp Logged_0x34B7
Logged_0x55309:
ld hl,$D11F
ld a,$53
ld [hld],a
ld a,$1C
ld [hld],a
ld a,$27
ld [$D116],a
ld hl,$D147
inc [hl]
ret
call Logged_0x553E8
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x5532D
dec [hl]
ret
Logged_0x5532D:
ld a,[$D115]
cp $02
ret nz
ld l,$00
res 7,[hl]
res 4,[hl]
ld l,$1F
ld a,$53
ld [hld],a
ld a,$47
ld [hld],a
ld de,$5CD6
jp Logged_0x30F0
ld a,[$D149]
and a
jr z,Logged_0x55355
ld a,$81
ld [$D11C],a
jp Logged_0x553E8
Logged_0x55355:
ld hl,$D100
res 4,[hl]
ld a,[$D11B]
cp $04
jr z,Logged_0x5536C
cp $05
jr z,Logged_0x55366
ret
Logged_0x55366:
ld a,$53
ld c,$96
jr Logged_0x55370
Logged_0x5536C:
ld a,$53
ld c,$A0
Logged_0x55370:
ld hl,$D11F
ld [hld],a
ld [hl],c
ld l,$19
xor a
ld [hld],a
inc a
ld [hl],a
ld de,$5CEC
call Logged_0x30F0
ld a,$FF
ld [hli],a
ld a,$81
ld [$D11C],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
ld hl,$D147
dec [hl]
ret
ld hl,$D100
bit 1,[hl]
jp nz,Logged_0x3317
jr Logged_0x553A8
ld hl,$D100
bit 1,[hl]
jp nz,Logged_0x3326
Logged_0x553A8:
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
cp $F7
jr nz,Logged_0x553BD
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BF
ld [$FF00+hSFXIDLow],a
Logged_0x553BD:
dec [hl]
ret nz
xor a
ld [$D100],a
ld a,[$D107]
cp $50
jr z,Logged_0x553D6
cp $51
jr z,Logged_0x553DA
cp $52
jr z,Logged_0x553DE
ld b,$F7
jr Logged_0x553E0
Logged_0x553D6:
ld b,$FE
jr Logged_0x553E0
Logged_0x553DA:
ld b,$FD
jr Logged_0x553E0
Logged_0x553DE:
ld b,$FB
Logged_0x553E0:
ld a,[$D146]
and b
ld [$D146],a
ret
Logged_0x553E8:
ld a,[$D149]
and a
jr nz,Logged_0x553F4
ld a,[$D148]
and a
jr z,Logged_0x55403
Logged_0x553F4:
ld hl,$D100
ld a,[$C08F]
rra
jr nc,Logged_0x55400
res 4,[hl]
ret
Logged_0x55400:
set 4,[hl]
ret
Logged_0x55403:
ld [$D100],a
ret
Logged_0x55407:
ld a,[$D147]
ld b,a
ld hl,$D148
ld a,[hl]
and a
jr z,Logged_0x5542B
cp $01
jr z,Logged_0x55438
cp $02
jr z,Logged_0x5544E
cp $03
jr z,Logged_0x55468
ld a,b
cp $03
ret nz
dec [hl]
call Logged_0x5548B
ld hl,$55D1
jr Logged_0x55484
Logged_0x5542B:
ld a,b
cp $01
ret nz
inc [hl]
call Logged_0x5548B
ld hl,$5551
jr Logged_0x55484
Logged_0x55438:
ld a,b
cp $02
jr nz,Logged_0x55446
inc [hl]
call Logged_0x5548B
ld hl,$5591
jr Logged_0x55484
Logged_0x55446:
and a
ret nz
dec [hl]
ld hl,$5511
jr Logged_0x55484
Logged_0x5544E:
ld a,b
cp $03
jr nz,Logged_0x5545C
inc [hl]
call Logged_0x5548B
ld hl,$55D1
jr Logged_0x55484
Logged_0x5545C:
cp $01
ret nz
dec [hl]
call Logged_0x5548B
ld hl,$5551
jr Logged_0x55484
Logged_0x55468:
ld a,b
cp $04
jr nz,Logged_0x55478
inc [hl]
call Logged_0x5548B
ld c,$00
ld b,$08
jp Logged_0x3632
Logged_0x55478:
cp $02
ret nz
dec [hl]
call Logged_0x5548B
ld hl,$5591
jr Logged_0x55484
Logged_0x55484:
ld c,$00
ld b,$08
jp Logged_0x35E5
Logged_0x5548B:
ld a,[$D149]
and a
ret nz
xor a
ld b,a
ld h,$D0
Logged_0x55494:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $56
jr nz,Logged_0x554A5
ld a,l
sub $07
ld l,a
ld a,[hl]
rra
jr c,Logged_0x554AE
Logged_0x554A5:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x55494
Logged_0x554AE:
ld a,l
add a,$16
ld l,a
ld a,[hld]
and a
ret nz
dec l
dec l
ld e,l
ld a,l
add a,$07
ld l,a
Logged_0x554BC:
ld a,[$D148]
cp $01
jr z,Logged_0x554DE
cp $02
jr z,Logged_0x554EE
cp $03
jr z,Logged_0x554FE
cp $04
ret nz
bit 7,[hl]
jr nz,Unknown_0x554D8
ld b,$5C
ld c,$1C
jr Logged_0x5550C
Unknown_0x554D8:
ld b,$5C
ld c,$A1
jr Logged_0x5550C
Logged_0x554DE:
bit 7,[hl]
jr nz,Logged_0x554E8
ld b,$5C
ld c,$37
jr Logged_0x5550C
Logged_0x554E8:
ld b,$5C
ld c,$BC
jr Logged_0x5550C
Logged_0x554EE:
bit 7,[hl]
jr nz,Logged_0x554F8
ld b,$5C
ld c,$2E
jr Logged_0x5550C
Logged_0x554F8:
ld b,$5C
ld c,$B3
jr Logged_0x5550C
Logged_0x554FE:
bit 7,[hl]
jr nz,Logged_0x55508
ld b,$5C
ld c,$25
jr Logged_0x5550C
Logged_0x55508:
ld b,$5C
ld c,$AA
Logged_0x5550C:
ld l,e
ld a,b
ld [hld],a
ld [hl],c
ret
LoggedData_0x55511:
INCBIN "baserom.gbc", $55511, $55611 - $55511
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$56
ld [hld],a
ld a,$4E
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,[hl]
and $F0
or $05
ld [hl],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$07
ld [hl],a
ld de,$5D73
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$70
ld [$D118],a
call Logged_0x3069
ld a,$04
ld [$D118],a
jp Logged_0x3076
ld a,$81
ld [$D11C],a
call Logged_0x55C3A
ld a,[$D146]
dec a
ret nz
ld a,$01
ld [$C0E6],a
ld hl,$D11F
ld a,$56
ld [hld],a
ld a,$76
ld [hld],a
ld hl,$5E46
ld de,$C070
ld c,$06
ld b,$01
jp Logged_0x1C13
ld a,$81
ld [$D11C],a
call Logged_0x55C3A
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$56
ld [hld],a
ld a,$96
ld [hld],a
ld de,$5D85
call Logged_0x30F0
xor a
ld [$D119],a
ret
ld a,$81
ld [$D11C],a
call Logged_0x55C3A
ld a,[$CA63]
cp $09
jr c,Logged_0x556AB
ld a,[$CA64]
cp $40
ret nc
Logged_0x556AB:
ld a,[$CA87]
ld b,a
ld a,[$D10D]
sub b
cp $48
ret c
cp $96
ret nc
ld hl,$D11F
ld a,$56
ld [hld],a
ld a,$F0
ld [hld],a
ld de,$5CF2
call Logged_0x30F0
xor a
ld [$D119],a
ld l,$00
res 4,[hl]
ld a,$02
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$D147],a
Logged_0x556DC:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B2
ld [$FF00+hSFXIDLow],a
ld bc,$4F77
call Logged_0x342D
ld bc,$4F8A
jp Logged_0x342D
ld a,$81
ld [$D11C],a
ld a,[$D119]
cp $0E
jr z,Logged_0x55702
ld bc,$4D30
jp Logged_0x34B7
Logged_0x55702:
ld hl,$D11F
ld a,$57
ld [hld],a
ld a,$11
ld [hld],a
ld a,$01
ld [$D117],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D11A
ld a,[$D10F]
cp $10
jr nc,Logged_0x55734
cp $0C
jr nc,Logged_0x5573B
cp $09
jr nc,Logged_0x5573F
cp $06
jr nc,Logged_0x55743
cp $03
jr nc,Logged_0x55747
ld b,$48
jr Logged_0x5574B
Logged_0x55734:
ld a,$81
ld [$D11C],a
jr Logged_0x55752
Logged_0x5573B:
ld b,$0B
jr Logged_0x5574B
Logged_0x5573F:
res 7,[hl]
jr Logged_0x55749
Logged_0x55743:
ld b,$47
jr Logged_0x5574B
Logged_0x55747:
set 7,[hl]
Logged_0x55749:
ld b,$46
Logged_0x5574B:
ld l,$08
ld a,[hl]
and $80
or b
ld [hl],a
Logged_0x55752:
ld a,[$D147]
and a
jr z,Logged_0x5575E
cp $02
jr z,Logged_0x557B1
jr Logged_0x55774
Logged_0x5575E:
ld a,[$D117]
rst JumpList
dw Logged_0x55861
dw Logged_0x558D0
dw Logged_0x55942
dw Logged_0x5599C
dw Logged_0x559F6
dw Logged_0x55A0B
dw Logged_0x55A2B
dw Logged_0x55A82
dw Logged_0x55AD9
Logged_0x55774:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$D147],a
ld a,[$D108]
cp $48
jr z,Logged_0x5579C
cp $47
jr z,Unknown_0x557A1
ld l,$1A
bit 7,[hl]
jr nz,Logged_0x55797
ld de,$5D57
jr Logged_0x557A4
Logged_0x55797:
ld de,$5D52
jr Logged_0x557A4
Logged_0x5579C:
ld de,$5D48
jr Logged_0x557A4
Unknown_0x557A1:
ld de,$5D4D
Logged_0x557A4:
call Logged_0x30F0
ld a,$3C
ld [hli],a
xor a
ld [$D119],a
jp Logged_0x30FB
Logged_0x557B1:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x557CF
cp $28
jr nz,Logged_0x557C3
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C0
ld [$FF00+hSFXIDLow],a
Logged_0x557C3:
dec [hl]
ret nz
ld a,[$D11A]
and $0F
cp $02
ret nz
jr Logged_0x55806
Logged_0x557CF:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
jr nz,Logged_0x557ED
ld bc,$4D40
jp Logged_0x34B7
Logged_0x557ED:
xor a
ld [$D147],a
ld de,$5DC0
call Logged_0x30F0
ld a,$2C
ld [hli],a
ld a,$04
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$83
ld [$FF00+hSFXIDLow],a
ret
Logged_0x55806:
ld de,$5D6A
call Logged_0x30F0
ld a,$28
ld [hli],a
ld a,$14
ld [hl],a
ld l,$1F
ld a,$5B
ld [hld],a
ld a,$A7
ld [hld],a
ld l,$1A
ld a,[hl]
and $80
ld [hl],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr nc,Unknown_0x55832
res 7,[hl]
jr Logged_0x55834
Unknown_0x55832:
set 7,[hl]
Logged_0x55834:
dec l
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ld hl,$D102
ld e,$07
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$02
ld [$D146],a
ret
Logged_0x55861:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x55870
dec [hl]
ret nz
ld de,$5D04
jp Logged_0x30F0
Logged_0x55870:
ld hl,$D103
ld a,[hli]
sub $1C
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jr nz,Logged_0x5589E
call Logged_0x55C2B
jr z,Logged_0x5589E
call Logged_0x55BE7
ld a,[$D11A]
and $0F
cp $05
jp nz,Logged_0x30E6
jp Logged_0x30E1
Logged_0x5589E:
ld hl,$D105
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
cp d
jr c,Logged_0x558C1
jr nz,Logged_0x558B2
ld a,[$CA64]
cp e
jr c,Logged_0x558C1
Logged_0x558B2:
ld a,$03
ld [$D117],a
ld de,$5D2F
ld c,$0E
ld b,$7D
jp Logged_0x55C11
Logged_0x558C1:
ld a,$02
ld [$D117],a
ld de,$5D16
ld c,$0E
ld b,$7D
jp Logged_0x55C11
Logged_0x558D0:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x558DF
dec [hl]
ret nz
ld de,$5CF2
jp Logged_0x30F0
Logged_0x558DF:
ld hl,$D103
ld a,[hli]
add a,$30
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
jr nz,Logged_0x55910
call Logged_0x55C2B
jr z,Logged_0x55910
call Logged_0x55BE7
ld a,[$D11A]
and $0F
cp $05
jp nz,Logged_0x30D9
jp Logged_0x30D4
Logged_0x55910:
ld hl,$D105
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
cp d
jr c,Logged_0x55933
jr nz,Logged_0x55924
ld a,[$CA64]
cp e
jr c,Logged_0x55933
Logged_0x55924:
ld a,$03
ld [$D117],a
ld de,$5D16
ld c,$02
ld b,$7D
jp Logged_0x55C11
Logged_0x55933:
ld a,$02
ld [$D117],a
ld de,$5D2F
ld c,$02
ld b,$7D
jp Logged_0x55C11
Logged_0x55942:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x55951
dec [hl]
ret nz
ld de,$5D0D
jp Logged_0x30F0
Logged_0x55951:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
sub $18
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x5597A
call Logged_0x55BE7
ld a,[$D11A]
and $0F
cp $05
jp nz,Logged_0x30CA
jp Logged_0x30C5
Logged_0x5597A:
call Logged_0x55C1E
jr c,Logged_0x5598D
xor a
ld [$D117],a
ld de,$5D2F
ld c,$08
ld b,$7D
jp Logged_0x55C11
Logged_0x5598D:
ld a,$01
ld [$D117],a
ld de,$5D16
ld c,$14
ld b,$7D
jp Logged_0x55C11
Logged_0x5599C:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x559AB
dec [hl]
ret nz
ld de,$5CFB
jp Logged_0x30F0
Logged_0x559AB:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
add a,$18
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Unknown_0x559D4
call Logged_0x55BE7
ld a,[$D11A]
and $0F
cp $05
jp nz,Logged_0x30BD
jp Logged_0x30B8
Unknown_0x559D4:
call Logged_0x55C1E
jr c,Unknown_0x559E7
xor a
ld [$D117],a
ld de,$5D16
ld c,$08
ld b,$7D
jp Logged_0x55C11
Unknown_0x559E7:
ld a,$01
ld [$D117],a
ld de,$5D2F
ld c,$14
ld b,$7D
jp Logged_0x55C11
Logged_0x559F6:
ld hl,$D116
dec [hl]
ret nz
ld de,$5D85
call Logged_0x30F0
inc l
ld a,$05
ld [hli],a
ld a,$08
ld [hl],a
jp Logged_0x3083
Logged_0x55A0B:
ld hl,$D103
ld a,[hli]
add a,$12
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jp z,Logged_0x30D9
ld a,$06
ld [$D117],a
ret
Logged_0x55A2B:
ld hl,$D105
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$D103
ld a,[hli]
sub $40
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$CA63]
cp d
jr c,Logged_0x55A60
jr nz,Logged_0x55A4E
ld a,[$CA64]
cp e
jr c,Logged_0x55A60
jr z,Logged_0x55A72
Logged_0x55A4E:
ld a,[hli]
add a,$08
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
jp Logged_0x30B8
Logged_0x55A60:
ld a,[hli]
sub $08
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
ret nz
jp Logged_0x30C5
Logged_0x55A72:
ld de,$5D04
call Logged_0x30F0
inc l
ld a,$07
ld [hli],a
inc l
xor a
ld [hl],a
jp Logged_0x556DC
Logged_0x55A82:
ld hl,$D119
ld a,[hli]
cp $0E
jr z,Logged_0x55A90
ld bc,$4D30
jp Logged_0x34B7
Logged_0x55A90:
ld a,[hl]
and $0F
cp $03
jr z,Logged_0x55A9C
xor a
ld [$D117],a
ret
Logged_0x55A9C:
ld l,$16
xor a
ld [hli],a
ld a,$08
ld [hl],a
Logged_0x55AA3:
ld l,$05
ld a,[hli]
ld e,a
ld d,[hl]
ld a,[$CA63]
cp d
jr c,Logged_0x55ABD
jr nz,Logged_0x55AB6
ld a,[$CA64]
cp e
jr c,Logged_0x55ABD
Logged_0x55AB6:
ld de,$5DA7
ld a,$01
jr Logged_0x55AC1
Logged_0x55ABD:
ld de,$5D8E
xor a
Logged_0x55AC1:
ld [$D118],a
xor a
ld [$D119],a
call Logged_0x55C1E
ld l,$1A
jr c,Logged_0x55AD4
res 6,[hl]
jp Logged_0x30F0
Logged_0x55AD4:
set 6,[hl]
jp Logged_0x30F0
Logged_0x55AD9:
ld hl,$D119
ld a,[hl]
inc a
jr z,Logged_0x55B00
ld l,$14
ld a,[hli]
and a
jr nz,Logged_0x55B00
ld a,[hl]
cp $18
jr nz,Logged_0x55B00
ld l,$19
inc [hl]
ld a,[hl]
cp $03
jr nz,Logged_0x55B00
ld a,$FF
ld [hl],a
ld de,$5CF2
call Logged_0x30F0
ld a,$3C
ld [hl],a
ret
Logged_0x55B00:
ld l,$16
ld a,[hl]
and a
jr z,Logged_0x55B10
dec [hl]
ret nz
ld l,$19
ld a,[hl]
inc a
ret nz
ld [hl],a
jr Logged_0x55AA3
Logged_0x55B10:
call Logged_0x55BD8
ld a,[$D118]
rra
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
jr c,Logged_0x55B37
ld a,[hli]
sub $18
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x55B4C
call Logged_0x30C5
jr Logged_0x55B58
Logged_0x55B37:
ld a,[hli]
add a,$18
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x55B4C
call Logged_0x30B8
jr Logged_0x55B58
Logged_0x55B4C:
ld hl,$D118
ld a,[hl]
xor $01
ld [hl],a
ld l,$16
ld a,$28
ld [hl],a
Logged_0x55B58:
ld hl,$D11A
bit 6,[hl]
jr nz,Logged_0x55B7B
ld hl,$D103
ld a,[hli]
sub $1C
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jr nz,Logged_0x55B9A
jp Logged_0x30E1
Logged_0x55B7B:
ld hl,$D103
ld a,[hli]
add a,$30
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x352B
ld a,[$C0DD]
and a
jr nz,Logged_0x55B9A
jp Logged_0x30D4
Logged_0x55B9A:
ld hl,$D11A
ld a,[hl]
xor $40
ld [hl],a
ld a,$28
ld [$D116],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x55BB6
dec [hl]
jr Logged_0x55BC6
Logged_0x55BB6:
dec l
ld a,[hl]
and a
jr z,Logged_0x55BC6
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
ret
Logged_0x55BC6:
ld bc,$4180
call Logged_0x34B7
ld a,[$D11A]
rlca
jp nc,Logged_0x30BD
jp Logged_0x30CA
Unknown_0x55BD6:
INCBIN "baserom.gbc", $55BD6, $55BD8 - $55BD6
Logged_0x55BD8:
ld a,[$C08F]
and $0F
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C1
ld [$FF00+hSFXIDLow],a
ret
Logged_0x55BE7:
ld a,[$C08F]
ld b,a
ld a,[$D11A]
and $0F
cp $05
jr nz,Logged_0x55BFA
ld a,b
and $1F
ret nz
jr Logged_0x55C08
Logged_0x55BFA:
cp $04
jr nz,Unknown_0x55C04
ld a,b
and $0F
ret nz
jr Logged_0x55C08
Unknown_0x55C04:
ld a,b
and $07
ret nz
Logged_0x55C08:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$85
ld [$FF00+hSFXIDLow],a
ret
Logged_0x55C11:
ld hl,$D112
ld a,e
ld [hli],a
ld a,d
ld [hli],a
xor a
ld [hli],a
ld a,c
ld [hli],a
ld [hl],b
ret
Logged_0x55C1E:
ld a,[$CA87]
add a,$2A
ld b,a
ld a,[$D10D]
add a,$2A
cp b
ret
Logged_0x55C2B:
ld a,[$CA87]
sub $10
and $F8
ld b,a
ld a,[$D10D]
and $F8
cp b
ret
Logged_0x55C3A:
ld hl,$D100
ld a,[$C08F]
and $03
jr z,Logged_0x55C47
res 4,[hl]
ret
Logged_0x55C47:
set 4,[hl]
ret
xor a
ld [$D146],a
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$7D
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$0A
ld [hld],a
ld a,$F5
ld [hld],a
ld a,$04
ld [hl],a
ld de,$5D5C
call Logged_0x30F0
ld a,$A0
ld [hli],a
ld a,$10
ld [$D118],a
jp Logged_0x3076
call Logged_0x3655
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$91
ld [hld],a
ret
call Logged_0x3655
call Logged_0x55E33
ld a,[$C08F]
rra
ret nc
ld hl,$D116
dec [hl]
jr z,Logged_0x55CC3
call Logged_0x30BD
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1259
Logged_0x55CC3:
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$DD
ld [hld],a
ld de,$5D65
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CA
ld [$FF00+hSFXIDLow],a
ret
call Logged_0x3655
ld hl,$D116
dec [hl]
ret nz
ld a,$28
ld [hli],a
ld a,$40
ld [hl],a
ld l,$1F
ld a,$5C
ld [hld],a
ld a,$F9
ld [hld],a
ld a,$01
ld [$D146],a
ret
call Logged_0x3655
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x55D05
dec [hl]
ret
Logged_0x55D05:
ld a,$81
ld [$D11C],a
inc l
dec [hl]
jp nz,Logged_0x30D9
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$18
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld a,[$D146]
cp $02
ret nz
ld de,$5D5C
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld a,$40
ld [hl],a
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$4C
ld [hld],a
ld hl,$D102
ld e,$06
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
call Logged_0x3655
ld a,[$C08F]
rra
ret nc
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x55D6A
dec [hl]
ret nz
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ret
Logged_0x55D6A:
inc l
dec [hl]
jp nz,Logged_0x30E6
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$7C
ld [hld],a
ld l,$00
res 5,[hl]
ret
call Logged_0x3655
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$90
ld [hld],a
ret
call Logged_0x3655
call Logged_0x55E33
ld a,[$C08F]
rra
ret nc
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
add a,$30
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jr nz,Logged_0x55DD6
call Logged_0x30BD
ld hl,$D100
bit 5,[hl]
ret z
res 5,[hl]
ld a,$06
ld [$FF00+$85],a
ld a,$06
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
jp Logged_0x1259
Logged_0x55DD6:
ld hl,$D11F
ld a,$5D
ld [hld],a
ld a,$E0
ld [hld],a
ret
call Logged_0x3655
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5D
ld [hld],a
ld a,$7C
ld [hld],a
ld l,$1A
res 5,[hl]
ld l,$0C
ld a,$0A
ld [hld],a
ld a,$F5
ld [hld],a
ld a,$04
ld [hl],a
ld de,$5D5C
call Logged_0x30F0
ld a,$10
ld [$D118],a
call Logged_0x3076
ld a,$00
ld b,$00
ld h,$D0
Logged_0x55E14:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $5B
jr nz,Unknown_0x55E25
ld a,l
sub $07
ld l,a
ld a,[hl]
rra
jr c,Logged_0x55E2E
Unknown_0x55E25:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x55E14
Logged_0x55E2E:
xor a
ld [$D100],a
ret
Logged_0x55E33:
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hl]
cp $04
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$84
ld [$FF00+hSFXIDLow],a
ret
LoggedData_0x55E46:
INCBIN "baserom.gbc", $55E46, $55E4E - $55E46
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$8D
ld [hld],a
ld l,$1A
res 5,[hl]
ld a,[hl]
and $F0
or $04
ld [hl],a
ld l,$0C
ld a,$02
ld [hld],a
ld a,$FD
ld [hld],a
ld a,$01
ld [hl],a
ld de,$5E97
call Logged_0x30F0
ld a,$14
ld [hli],a
inc l
xor a
ld [hl],a
ld [$D146],a
ld [$D147],a
ld a,$04
ld [$D148],a
ld a,$02
ld [$D149],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D100
bit 1,[hl]
ret z
ld l,$16
dec [hl]
ld bc,$4650
jp nz,Logged_0x34A0
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$C4
ld [hld],a
ld de,$5EA0
call Logged_0x30F0
ld a,$40
ld [hli],a
ld a,$01
ld [$C0E6],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jp nz,Logged_0x30E6
ld l,$1F
ld a,$5E
ld [hld],a
ld a,$EA
ld [hld],a
ld de,$5EA9
call Logged_0x30F0
ld a,$13
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AA
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$20
ld [hld],a
ld l,$12
ld a,$0E
ld [hli],a
ld a,$5E
ld [hli],a
xor a
ld [hli],a
inc a
inc a
ld [hli],a
ld l,$09
ld a,$F8
ld [hli],a
ld a,$0C
ld [hli],a
ld a,$F8
ld [hli],a
ld a,$07
ld [hli],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
ret
ld a,$81
ld [$D11C],a
ld a,[$D10F]
and a
jp nz,Logged_0x30E1
ld de,$5DCB
call Logged_0x30F0
ld a,$28
ld [hli],a
xor a
ld [hli],a
ld [hl],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$41
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
inc l
xor a
ld [hli],a
inc l
ld [hli],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$B3
ld [hld],a
ld de,$5DEC
call Logged_0x30F0
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
ld de,$5EA9
call Logged_0x30F0
ld a,$0E
ld [hli],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$5F
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AA
ld [$FF00+hSFXIDLow],a
ret
Logged_0x55F92:
ld a,[$D11A]
rlca
jr c,Logged_0x55F9D
ld de,$5E0E
jr Logged_0x55FA0
Logged_0x55F9D:
ld de,$5E1F
Logged_0x55FA0:
call Logged_0x30F0
ld a,$46
ld [hli],a
ld l,$1F
ld a,$5F
ld [hld],a
ld a,$6E
ld [hld],a
xor a
ld [$CAC3],a
ret
ld a,$81
ld [$D11C],a
ld a,[$CA8E]
and a
jr nz,Logged_0x55F92
ld hl,$D11B
ld a,[hl]
and $FE
jr z,Logged_0x56025
cp $08
jr nz,Logged_0x55FEC
ld a,$38
ld [hld],a
ld a,[hld]
rlca
jr c,Logged_0x55FD6
ld de,$5E85
jr Logged_0x55FD9
Logged_0x55FD6:
ld de,$5E8E
Logged_0x55FD9:
call Logged_0x30F0
ld a,$3C
ld [hli],a
ld l,$1A
ld a,[hl]
and $0F
dec a
ret z
dec [hl]
ld hl,$D148
dec [hl]
ret
Logged_0x55FEC:
cp $38
jr nz,Unknown_0x56023
ld l,$16
dec [hl]
jr z,Logged_0x56005
ld a,[hl]
cp $29
jp c,Logged_0x30D4
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A9
ld [$FF00+hSFXIDLow],a
ret
Logged_0x56005:
ld a,$28
ld [hli],a
ld a,$04
ld [hl],a
ld l,$00
res 3,[hl]
ld l,$1B
xor a
ld [hld],a
bit 7,[hl]
jr nz,Logged_0x5601D
ld de,$5E0E
jp Logged_0x30F0
Logged_0x5601D:
ld de,$5E1F
jp Logged_0x30F0
Unknown_0x56023:
xor a
ld [hl],a
Logged_0x56025:
ld l,$17
ld a,[hl]
and a
jp z,Logged_0x560E3
cp $01
jr z,Logged_0x5605B
cp $02
jr z,Logged_0x56055
cp $03
jr z,Logged_0x560AC
cp $04
jr z,Logged_0x5603D
ret
Logged_0x5603D:
call Logged_0x30E1
ld l,$15
ld a,[hld]
cp $04
jr nz,Logged_0x56055
ld a,[hld]
and a
jr nz,Logged_0x56055
ld a,[$D11A]
and $0F
cp $01
jp z,Logged_0x56183
Logged_0x56055:
ld l,$16
dec [hl]
ret nz
jr Logged_0x560C3
Logged_0x5605B:
ld a,[$D146]
ld c,a
and a
jr z,Logged_0x56066
ld b,$38
jr Logged_0x56068
Logged_0x56066:
ld b,$57
Logged_0x56068:
ld l,$16
ld a,[hl]
cp b
jr z,Logged_0x56088
dec [hl]
ret nz
ld a,$13
ld [hli],a
ld a,$02
ld [hl],a
ld a,[$D11A]
rlca
jr c,Logged_0x56082
ld de,$5DFB
jp Logged_0x30F0
Logged_0x56082:
ld de,$5E00
jp Logged_0x30F0
Logged_0x56088:
dec [hl]
ld a,[$D11A]
rlca
dec c
jr c,Logged_0x5609E
jr z,Logged_0x56098
ld bc,$4D73
jp Logged_0x3416
Logged_0x56098:
ld bc,$4D9D
jp Logged_0x3416
Logged_0x5609E:
jr z,Logged_0x560A6
ld bc,$4D88
jp Logged_0x3416
Logged_0x560A6:
ld bc,$4DB2
jp Logged_0x3416
Logged_0x560AC:
ld bc,$44C0
call Logged_0x3489
ld hl,$D116
dec [hl]
ret nz
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ld a,[$D118]
and a
jr nz,Logged_0x560D9
Logged_0x560C3:
xor a
ld [$D117],a
ld a,[$D11A]
rlca
jr c,Logged_0x560D3
ld de,$5DEC
jp Logged_0x30F0
Logged_0x560D3:
ld de,$5DE7
jp Logged_0x30F0
Logged_0x560D9:
xor a
ld [$D118],a
bit 7,[hl]
jr z,Logged_0x56115
jr Logged_0x5613E
Logged_0x560E3:
ld a,[$C08F]
and $1F
jr nz,Logged_0x560F2
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C3
ld [$FF00+hSFXIDLow],a
Logged_0x560F2:
ld bc,$44C0
call Logged_0x3489
ld a,[$D11A]
rlca
jr c,Logged_0x56127
ld a,[$C08F]
and a
jr nz,Logged_0x5611A
ld a,[$CA88]
ld b,a
ld a,[$D10E]
cp b
jr nc,Logged_0x56115
ld a,$01
ld [$D118],a
jr Logged_0x56122
Logged_0x56115:
ld de,$5DF1
jr Logged_0x56141
Logged_0x5611A:
ld a,[$D10E]
cp $18
jp nz,Logged_0x30C5
Logged_0x56122:
ld de,$5DD5
jr Logged_0x56179
Logged_0x56127:
ld a,[$C08F]
and a
jr nz,Logged_0x5616E
ld a,[$D10E]
ld b,a
ld a,[$CA88]
cp b
jr nc,Logged_0x5613E
ld a,$01
ld [$D118],a
jr Logged_0x56176
Logged_0x5613E:
ld de,$5DF6
Logged_0x56141:
call Logged_0x30F0
ld a,[$D149]
and a
jr z,Logged_0x56150
dec a
ld [$D149],a
jr Logged_0x56156
Logged_0x56150:
ld a,[$D147]
and a
jr z,Logged_0x5615C
Logged_0x56156:
ld b,$00
ld a,$67
jr Logged_0x56165
Logged_0x5615C:
ld a,$01
ld [$D147],a
ld b,$01
ld a,$48
Logged_0x56165:
ld [hli],a
ld a,$01
ld [hl],a
ld a,b
ld [$D146],a
ret
Logged_0x5616E:
ld a,[$D10E]
cp $98
jp nz,Logged_0x30B8
Logged_0x56176:
ld de,$5DDE
Logged_0x56179:
call Logged_0x30F0
ld a,$1B
ld [hli],a
ld a,$03
ld [hl],a
ret
Logged_0x56183:
ld l,$1F
ld a,$61
ld [hld],a
ld a,$A9
ld [hld],a
ld l,$1A
ld a,[hl]
and $80
ld [hld],a
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld de,$5E05
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld a,[$D10D]
cp $C0
jr nc,Logged_0x561CA
ld a,[$D119]
cp $2B
jr nz,Logged_0x561C4
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
Logged_0x561C4:
ld bc,$4DA0
jp Logged_0x34B7
Logged_0x561CA:
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
call Logged_0x56326
ld a,$00
ld b,$00
ld h,$D0
Logged_0x561DF:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $5A
jr nz,Unknown_0x561F0
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x561F9
Unknown_0x561F0:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x561DF
Logged_0x561F9:
ld a,l
add a,$1A
ld l,a
ld a,$2F
ld [hl],a
ret
ld hl,$D100
set 3,[hl]
ld l,$1F
ld a,$62
ld [hld],a
ld a,$16
ld [hld],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C2
ld [$FF00+hSFXIDLow],a
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x56235
ld a,[hl]
cp $45
jr nz,Logged_0x5622C
ld de,$5E39
jp Logged_0x30F0
Logged_0x5622C:
cp $26
ret nz
ld de,$5E42
jp Logged_0x30F0
Logged_0x56235:
ld a,$08
ld [hl],a
ld l,$1F
ld a,$62
ld [hld],a
ld a,$41
ld [hld],a
ret
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x56253
dec [hl]
jr nz,Logged_0x56253
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7C
ld [$FF00+hSFXIDLow],a
Logged_0x56253:
ld a,[$CA8E]
and a
jr nz,Logged_0x562A2
ld a,[$D148]
dec a
jr z,Logged_0x562C3
ld hl,$D11A
bit 6,[hl]
ld a,[$D10D]
jr nz,Logged_0x56276
cp $18
jr c,Logged_0x56272
call Logged_0x30E6
jr Logged_0x56284
Logged_0x56272:
set 6,[hl]
jr Logged_0x56281
Logged_0x56276:
cp $90
jr nc,Logged_0x5627F
call Logged_0x30D9
jr Logged_0x56284
Logged_0x5627F:
res 6,[hl]
Logged_0x56281:
call Logged_0x5629D
Logged_0x56284:
ld l,$1A
bit 7,[hl]
ld a,[$D10E]
jr nz,Logged_0x56296
cp $10
jp nc,Logged_0x30CA
set 7,[hl]
jr Logged_0x5629D
Logged_0x56296:
cp $A0
jp c,Logged_0x30BD
res 7,[hl]
Logged_0x5629D:
dec [hl]
ld a,[hl]
and $0F
ret nz
Logged_0x562A2:
ld de,$5EB2
call Logged_0x30F0
ld a,$1B
ld [hli],a
ld l,$1F
ld a,$62
ld [hld],a
ld a,$B9
ld [hld],a
ld a,$81
ld [$D11C],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
Logged_0x562C3:
xor a
ld [$D100],a
ret
ld hl,$D100
res 4,[hl]
set 3,[hl]
ld l,$1F
ld a,$62
ld [hld],a
ld a,$EF
ld [hld],a
ld de,$5E72
call Logged_0x30F0
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$08
ld [hl],a
ret
ld a,$02
ld [$D114],a
ld a,[$D11B]
cp $2F
ret nz
ld hl,$D11F
ld a,$63
ld [hld],a
ld a,$09
ld [hld],a
ld a,$50
ld [$D116],a
ret
ld hl,$D116
dec [hl]
ret nz
ld l,$18
ld a,$02
ld [hli],a
xor a
ld [hl],a
ld l,$1F
ld a,$63
ld [hld],a
ld a,$1E
ld [hld],a
ret
ld hl,$D100
bit 1,[hl]
jp nz,Logged_0x3326
Logged_0x56326:
xor a
ld [$D100],a
ld hl,$D102
ld e,$07
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
ld a,[$C08F]
and $07
jr nz,Logged_0x5634E
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6B
ld [$FF00+hSFXIDLow],a
Logged_0x5634E:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x5636D
ld a,[hl]
cp $2B
jr nz,Logged_0x56364
ld de,$5E80
jp Logged_0x30F0
Logged_0x56364:
cp $18
ret nz
ld de,$5E4B
jp Logged_0x30F0
Logged_0x5636D:
ld l,$1F
ld a,$63
ld [hld],a
ld a,$A2
ld [hld],a
ld de,$5E4B
call Logged_0x30F0
ld a,$28
ld [hli],a
ld a,$03
ld [hli],a
ld a,[$D148]
cp $03
jr c,Logged_0x56394
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
ld a,$02
jr Logged_0x5639E
Logged_0x56394:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ld a,$01
Logged_0x5639E:
ld [hli],a
xor a
ld [hl],a
ret
ld a,[$CA8E]
and a
jr z,Logged_0x563AD
ld a,$81
ld [$D11C],a
Logged_0x563AD:
ld a,$02
ld [$D114],a
ld a,[$D148]
cp $03
jr c,Logged_0x563C5
ld hl,$D103
ld a,[hl]
add a,$04
ld [hli],a
jr nc,Logged_0x563CB
inc [hl]
jr Logged_0x563CB
Logged_0x563C5:
ld bc,$4D80
call Logged_0x34B7
Logged_0x563CB:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x56416
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
call Logged_0x5647B
ld a,[$D148]
cp $03
jr nc,Logged_0x56469
ld hl,$D11A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x56408
res 7,[hl]
jr Logged_0x5640A
Logged_0x56408:
set 7,[hl]
Logged_0x5640A:
dec l
xor a
ld [hld],a
ld l,$1F
ld a,$64
ld [hld],a
ld a,$30
ld [hld],a
ret
Logged_0x56416:
ld hl,$D11A
bit 7,[hl]
ld a,[$D10E]
jr nz,Logged_0x56428
cp $10
jp nc,Logged_0x305C
set 7,[hl]
ret
Logged_0x56428:
cp $A0
jp c,Logged_0x3069
res 7,[hl]
ret
ld a,[$CA8E]
and a
jr z,Logged_0x5643B
ld a,$81
ld [$D11C],a
Logged_0x5643B:
ld a,$02
ld [$D114],a
ld bc,$4E00
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x56416
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$17
dec [hl]
jr nz,Logged_0x56477
Logged_0x56469:
ld hl,$D11F
ld a,$64
ld [hld],a
ld a,$88
ld [hld],a
xor a
ld [$D117],a
ret
Logged_0x56477:
xor a
ld [$D119],a
Logged_0x5647B:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
ld b,$18
jp Logged_0x12B5
ld a,[$CA8E]
and a
jr z,Logged_0x56493
ld a,$81
ld [$D11C],a
Logged_0x56493:
ld hl,$D117
ld a,[hl]
and a
jr z,Logged_0x564A3
cp $01
jr z,Logged_0x564B1
cp $02
jr z,Logged_0x564CE
ret
Logged_0x564A3:
ld a,$02
ld [$D114],a
ld l,$16
dec [hl]
ret nz
ld a,$3C
ld [hli],a
inc [hl]
ret
Logged_0x564B1:
ld a,[$C08F]
and $1F
jr nz,Logged_0x564C0
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C5
ld [$FF00+hSFXIDLow],a
Logged_0x564C0:
ld l,$16
dec [hl]
ret nz
ld a,$0E
ld [hli],a
inc [hl]
ld de,$5E59
jp Logged_0x30F0
Logged_0x564CE:
ld l,$16
dec [hl]
jr z,Logged_0x564E5
ld a,[hl]
cp $05
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C4
ld [$FF00+hSFXIDLow],a
ld bc,$4F9D
jp Logged_0x342D
Logged_0x564E5:
xor a
ld [$D100],a
ret
ld a,$81
ld [$D11C],a
ld bc,$4D60
call Logged_0x34B7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
ret z
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1F
ld a,$65
ld [hld],a
ld a,$3C
ld [hld],a
ld l,$1A
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr c,Logged_0x5652D
set 7,[hl]
ret
Logged_0x5652D:
res 7,[hl]
ret
Unknown_0x56530:
bit 7,[hl]
jr z,Unknown_0x56562
jr Unknown_0x56566
Unknown_0x56536:
bit 7,[hl]
jr nz,Unknown_0x56562
jr Unknown_0x56566
ld a,[$CA8E]
and a
jr z,Logged_0x56547
ld a,$81
ld [$D11C],a
Logged_0x56547:
ld hl,$D11B
ld a,[hld]
and a
jr z,Logged_0x56569
cp $02
jr z,Unknown_0x56530
cp $03
jr z,Unknown_0x56536
cp $0A
jr z,Logged_0x565A0
cp $04
jr z,Logged_0x565A7
cp $05
jr z,Logged_0x565AE
Unknown_0x56562:
ld a,[hl]
xor $80
ld [hl],a
Unknown_0x56566:
inc l
xor a
ld [hld],a
Logged_0x56569:
ld l,$00
bit 1,[hl]
jr nz,Logged_0x56572
xor a
ld [hl],a
ret
Logged_0x56572:
ld a,[$CA8E]
and a
jr nz,Logged_0x56587
ld a,[$C08F]
and $07
jr nz,Logged_0x56587
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6A
ld [$FF00+hSFXIDLow],a
Logged_0x56587:
ld l,$1A
ld a,[hl]
rlca
ld a,[$D10E]
jr c,Logged_0x56598
cp $10
jp nc,Logged_0x30CA
set 7,[hl]
ret
Logged_0x56598:
cp $A0
jp c,Logged_0x30BD
res 7,[hl]
ret
Logged_0x565A0:
ld hl,$D147
dec [hl]
jp Logged_0x3182
Logged_0x565A7:
set 7,[hl]
ld de,$5E60
jr Logged_0x565B3
Logged_0x565AE:
res 7,[hl]
ld de,$5E60
Logged_0x565B3:
inc l
xor a
ld [hl],a
ld l,$00
set 2,[hl]
ld a,$03
ld [$D118],a
ld l,$1F
ld a,$65
ld [hld],a
ld a,$CA
ld [hld],a
jp Logged_0x30F0
ld a,$81
ld [$D11C],a
ld a,[$D11B]
and $FE
cp $28
jr z,Logged_0x565A0
call Logged_0x30AE
ld l,$00
bit 1,[hl]
jr nz,Logged_0x565E8
xor a
ld [hl],a
ld hl,$D147
dec [hl]
ret
Logged_0x565E8:
ld hl,$D11A
bit 7,[hl]
ld a,[$D10E]
jr nz,Logged_0x565FB
cp $10
jp nc,Logged_0x305C
set 7,[hl]
jr Logged_0x56602
Logged_0x565FB:
cp $A0
jp c,Logged_0x3069
res 7,[hl]
Logged_0x56602:
ld a,[$D10D]
cp $11
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
ld a,$01
ld [$C0E6],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [$D146],a
ld [$D147],a
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$66
ld [hld],a
ld a,$66
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld a,[hl]
and $F0
or $05
ld [hl],a
ld l,$0C
ld a,$07
ld [hld],a
ld a,$F8
ld [hld],a
ld a,$F8
ld [hl],a
ld de,$5F7C
call Logged_0x30F0
ld a,$50
ld [hli],a
ld a,$20
ld [$D118],a
call Logged_0x3076
ld a,$60
ld [$D118],a
jp Logged_0x3069
ld hl,$D100
bit 1,[hl]
ret z
ld l,$1F
ld a,$66
ld [hld],a
ld a,$75
ld [hld],a
ret
ld a,[$C08F]
and $0F
jr nz,Logged_0x56684
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C6
ld [$FF00+hSFXIDLow],a
Logged_0x56684:
ld hl,$D116
dec [hl]
ret nz
ld l,$1F
ld a,$67
ld [hld],a
ld a,$17
ld [hld],a
ld l,$08
ld a,[hl]
and $80
or $4D
ld [hli],a
ld a,$01
ld [$D147],a
ld a,$02
ld [$CAC3],a
call Logged_0x161A
jp Logged_0x56755
Logged_0x566A9:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C9
ld [$FF00+hSFXIDLow],a
ld a,[$D11A]
rlca
jr nc,Logged_0x566BD
Logged_0x566B7:
xor a
ld [hld],a
res 6,[hl]
jr Logged_0x566C1
Logged_0x566BD:
xor a
ld [hld],a
set 6,[hl]
Logged_0x566C1:
ld a,[hld]
rlca
jr c,Unknown_0x566CA
ld de,$6024
jr Logged_0x566CD
Unknown_0x566CA:
ld de,$603C
Logged_0x566CD:
ld a,$02
ld [$D118],a
jp Logged_0x56787
Logged_0x566D5:
xor a
ld [hld],a
dec l
ld [hld],a
ld a,$10
ld [hl],a
call Logged_0x3076
ld de,$5FFD
call Logged_0x30F0
inc l
ld a,$05
ld [hli],a
ld a,$01
ld [hl],a
ld l,$03
ld a,[hli]
add a,$10
ld [$CA62],a
ld a,[$CA61]
adc a,$00
ld [$CA61],a
inc l
ld a,[hli]
ld [$CA64],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ld l,$1A
set 7,[hl]
cp $7B
jr c,Logged_0x56714
res 6,[hl]
ret
Logged_0x56714:
set 6,[hl]
ret
ld hl,$D11B
ld a,[hl]
and a
jr z,Logged_0x5673D
cp $0E
jr z,Logged_0x566A9
cp $04
jr z,Logged_0x566BD
cp $05
jr z,Logged_0x566B7
cp $2F
jr z,Logged_0x566D5
and $FE
cp $08
jp z,Logged_0x56A03
cp $0A
jp z,Logged_0x56A03
xor a
ld [hl],a
ret
Logged_0x5673D:
ld a,[$D117]
rst JumpList
dw Logged_0x56774
dw Logged_0x5679C
dw Logged_0x567B3
dw Logged_0x568A3
dw Logged_0x568AB
dw Logged_0x568BD
dw Logged_0x568F1
dw Logged_0x5691A
dw Logged_0x56951
dw Unknown_0x56986
Logged_0x56755:
ld hl,$D11A
ld a,[hl]
rlca
jr c,Logged_0x56763
res 6,[hl]
ld de,$6022
jr Logged_0x56768
Logged_0x56763:
set 6,[hl]
ld de,$603A
Logged_0x56768:
call Logged_0x30F0
ld a,$1B
ld [hli],a
xor a
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x56774:
ld hl,$D116
dec [hl]
ret nz
ld a,[$D11A]
rlca
jr c,Logged_0x56784
ld de,$602B
jr Logged_0x56787
Logged_0x56784:
ld de,$6043
Logged_0x56787:
call Logged_0x30F0
ld a,$16
ld [hli],a
ld a,$01
ld [hli],a
inc l
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C8
ld [$FF00+hSFXIDLow],a
ret
Logged_0x5679C:
ld hl,$D116
dec [hl]
jr z,Logged_0x567AB
ld bc,$43D0
call Logged_0x34B7
jp Logged_0x569C7
Logged_0x567AB:
inc l
ld a,$02
ld [hli],a
inc l
xor a
ld [hl],a
ret
Logged_0x567B3:
ld bc,$43E0
call Logged_0x34B7
call Logged_0x569C7
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x56841
ld hl,$D103
ld a,[hli]
add a,$10
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
call Logged_0x352B
and a
jr nz,Logged_0x5682F
ld hl,$D103
ld a,[hli]
add a,$20
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
call Logged_0x352B
and a
jr nz,Logged_0x5681D
ld hl,$D103
ld a,[hli]
add a,$30
ld [$FF00+$A9],a
ld a,[hli]
adc a,$00
ld [$FF00+$A8],a
call Logged_0x352B
and a
jr nz,Logged_0x5680B
ret
Logged_0x5680B:
ld a,[$D11A]
rlca
jr c,Logged_0x56817
ld de,$602E
jp Logged_0x30F0
Logged_0x56817:
ld de,$6046
jp Logged_0x30F0
Logged_0x5681D:
ld a,[$D11A]
rlca
jr c,Logged_0x56829
ld de,$6031
jp Logged_0x30F0
Logged_0x56829:
ld de,$6049
jp Logged_0x30F0
Logged_0x5682F:
ld a,[$D11A]
rlca
jr c,Logged_0x5683B
ld de,$6034
jp Logged_0x30F0
Logged_0x5683B:
ld de,$604C
jp Logged_0x30F0
Logged_0x56841:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
Logged_0x5684A:
ld hl,$D11A
ld a,[$CA64]
cp $C0
jr nc,Logged_0x56863
ld b,a
ld a,[$D105]
cp b
bit 7,[hl]
jr nz,Logged_0x56861
jr c,Logged_0x56889
jr Logged_0x56863
Logged_0x56861:
jr nc,Logged_0x56889
Logged_0x56863:
ld a,[$D146]
and a
jr nz,Logged_0x56889
ld a,[hl]
rlca
jr c,Logged_0x56872
ld de,$6037
jr Logged_0x56875
Logged_0x56872:
ld de,$604F
Logged_0x56875:
call Logged_0x30F0
ld a,[$D145]
and a
jr nz,Logged_0x56882
ld a,$19
jr Logged_0x56884
Logged_0x56882:
ld a,$02
Logged_0x56884:
ld [hli],a
ld a,$03
ld [hli],a
ret
Logged_0x56889:
ld a,[hl]
rlca
jr c,Logged_0x56892
ld de,$5F35
jr Logged_0x56895
Logged_0x56892:
ld de,$5F40
Logged_0x56895:
call Logged_0x30F0
ld a,$2A
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [$D146],a
ret
Logged_0x568A3:
ld hl,$D116
dec [hl]
ret nz
jp Logged_0x56755
Logged_0x568AB:
ld hl,$D116
dec [hl]
jp z,Logged_0x56755
ld a,[hl]
cp $15
ret nz
ld l,$1A
ld a,[hl]
xor $80
ld [hl],a
ret
Logged_0x568BD:
call Logged_0x569B0
ld bc,$4000
call Logged_0x57213
ld hl,$D103
ld a,[hl]
ld b,$E0
cp b
ret c
ld de,$6000
call Logged_0x30F0
inc l
ld a,$06
ld [hli],a
ld a,$10
ld [hl],a
call Logged_0x3083
ld l,$03
ld a,$F0
ld [hli],a
ld [$CA62],a
ld a,[hli]
ld [$CA61],a
ld a,[hli]
add a,$08
ld [$CA64],a
ret
Logged_0x568F1:
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hli]
cp $06
jr z,Logged_0x56909
cp $0A
ret nz
inc l
ld a,$07
ld [hl],a
ld de,$5F54
jp Logged_0x30F0
Logged_0x56909:
ld a,[$CA64]
add a,$08
ld [$CA64],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$21
ld [$FF00+hSFXIDLow],a
ret
Logged_0x5691A:
ld a,[$D147]
cp $05
call z,Logged_0x5698C
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hli]
cp $04
jr z,Logged_0x5693A
cp $08
ret nz
inc l
ld a,$08
ld [hl],a
ld de,$600B
jp Logged_0x30F0
Logged_0x5693A:
ld a,$05
ld [$D147],a
xor a
ld [$D119],a
ld a,$82
ld [$CA9B],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$34
ld [$FF00+hSFXIDLow],a
ret
Logged_0x56951:
ld a,[$D147]
cp $06
jp nz,Logged_0x5698C
ld hl,$D144
ld a,[hl]
cp $03
jr z,Logged_0x56963
inc [hl]
ld b,[hl]
Logged_0x56963:
ld a,$81
ld [$CA9B],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C7
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D146],a
ld hl,$D11A
res 6,[hl]
ld a,b
cp $03
jp nz,Logged_0x5684A
ld a,$09
ld [$D117],a
ret
Unknown_0x56986:
ld a,$81
ld [$D11C],a
ret
Logged_0x5698C:
ld a,[$CA64]
cp $ED
jr nc,Logged_0x5699E
ld bc,$4010
call Logged_0x57244
ld b,$03
jp Logged_0x1259
Logged_0x5699E:
ld a,[$CA62]
cp $F0
jr nc,Logged_0x569AA
ld b,$03
jp Logged_0x1287
Logged_0x569AA:
ld a,$06
ld [$D147],a
ret
Logged_0x569B0:
ld a,[$D118]
ld b,a
ld hl,$D11A
bit 6,[hl]
jr nz,Logged_0x569C1
call Logged_0x305C
jp Logged_0x1270
Logged_0x569C1:
call Logged_0x3069
jp Logged_0x1259
Logged_0x569C7:
ld a,[$D11A]
rlca
rlca
ld a,[$D105]
jr c,Logged_0x569E8
cp $1B
jp nc,Logged_0x305C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8D
ld [$FF00+hSFXIDLow],a
ld hl,$D11A
set 6,[hl]
bit 7,[hl]
ret nz
jr Logged_0x569FD
Logged_0x569E8:
cp $DB
jp c,Logged_0x3069
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8D
ld [$FF00+hSFXIDLow],a
ld hl,$D11A
res 6,[hl]
bit 7,[hl]
ret z
Logged_0x569FD:
ld a,$01
ld [$D146],a
ret
Logged_0x56A03:
ld de,$5F5D
call Logged_0x30F0
ld l,$1F
ld a,$6A
ld [hld],a
ld a,$1C
ld [hld],a
ld l,$08
ld a,$01
ld [hli],a
ld a,$EE
ld [hli],a
ld a,$00
ld [hl],a
ld hl,$D100
ld a,[$D105]
cp $DB
jr nc,Logged_0x56A2A
set 2,[hl]
jr Logged_0x56A2C
Logged_0x56A2A:
res 2,[hl]
Logged_0x56A2C:
ld a,[$D11B]
rst JumpList
dw Logged_0x56B20
dw Logged_0x56B2A
dw Logged_0x56BAE
dw Logged_0x56BB8
dw Logged_0x56C1B
dw Logged_0x56C3D
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56BAE
dw Logged_0x56BB8
dw Unknown_0x56B96
dw Logged_0x56BAE
dw Logged_0x56BB8
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Unknown_0x56BD1
dw Unknown_0x56BD1
dw Logged_0x56B20
dw Logged_0x56BDB
dw Logged_0x56BE3
dw Logged_0x56BF1
dw Logged_0x56BF8
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x3191
dw Logged_0x31AF
dw Logged_0x31CD
dw Logged_0x31EB
dw Logged_0x3209
dw Logged_0x3227
dw Logged_0x3245
dw Logged_0x3254
dw Logged_0x56AF0
dw Logged_0x56AF0
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56D1C
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x3290
dw Logged_0x56B47
dw Logged_0x33DA
dw Logged_0x33E9
dw Logged_0x56C49
dw Logged_0x56C49
dw Logged_0x3335
dw Logged_0x3344
dw Logged_0x31FA
dw Logged_0x31DC
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x329F
dw Logged_0x3371
dw Logged_0x56B20
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x56BFF
dw Logged_0x56C0D
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x31A0
dw Logged_0x31BE
dw Logged_0x31DC
dw Logged_0x31FA
dw Logged_0x3218
dw Logged_0x3236
dw Logged_0x32CC
dw Logged_0x32DB
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
dw Logged_0x56B20
Logged_0x56AF0:
ld a,$2D
ld [$D11B],a
ld hl,$D100
res 2,[hl]
ld de,$5F5D
jp Logged_0x30F0
Logged_0x56B00:
ld hl,$D100
res 2,[hl]
ld l,$1F
ld a,$67
ld [hld],a
ld a,$17
ld [hld],a
ld l,$1B
ld a,$05
ld [hld],a
res 7,[hl]
ld l,$08
ld a,$CD
ld [hli],a
ld a,$E0
ld [hli],a
ld a,$F8
ld [hl],a
ret
Logged_0x56B20:
ld hl,$D11B
ld a,$30
ld [hld],a
dec l
xor a
ld [hld],a
ret
Logged_0x56B2A:
ld hl,$D11B
ld a,$31
ld [hld],a
dec l
xor a
ld [hld],a
dec l
ld a,[$D145]
cp $02
jr nc,Logged_0x56B3E
xor a
jr Logged_0x56B40
Logged_0x56B3E:
ld a,$A0
Logged_0x56B40:
ld [hl],a
ld de,$5F5D
call Logged_0x30F0
Logged_0x56B47:
ld a,[$D119]
cp $22
jr nz,Logged_0x56B56
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$75
ld [$FF00+hSFXIDLow],a
Logged_0x56B56:
ld hl,$D117
dec [hl]
jr z,Logged_0x56B00
ld a,[hl]
cp $12
jr nz,Logged_0x56B71
ld de,$5F93
call Logged_0x30F0
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$B7
ld [$FF00+hSFXIDLow],a
jr Logged_0x56B90
Logged_0x56B71:
jr c,Logged_0x56B90
cp $64
jr nz,Logged_0x56B7F
ld de,$5F66
call Logged_0x30F0
jr Logged_0x56B81
Logged_0x56B7F:
jr nc,Logged_0x56B90
Logged_0x56B81:
ld a,[$C08F]
and $0F
jr nz,Logged_0x56B90
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6A
ld [$FF00+hSFXIDLow],a
Logged_0x56B90:
ld bc,$4E40
jp Logged_0x3489
Unknown_0x56B96:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,[$CA88]
add a,$2A
ld b,a
ld a,[$D10E]
add a,$2A
cp b
jr nc,Logged_0x56BAE
jr Logged_0x56BB8
Logged_0x56BAE:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$38
jr Logged_0x56BC0
Logged_0x56BB8:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$39
Logged_0x56BC0:
ld [hld],a
ld de,$5F5D
call Logged_0x30F0
ld a,$04
ld [hli],a
inc l
ld a,$02
ld [hli],a
xor a
ld [hli],a
ret
Unknown_0x56BD1:
ld hl,$D11B
ld a,$41
ld [hld],a
dec l
xor a
ld [hld],a
ret
Logged_0x56BDB:
ld hl,$D11B
ld a,$44
ld [hld],a
jr Logged_0x56BE9
Logged_0x56BE3:
ld hl,$D11B
ld a,$45
ld [hld],a
Logged_0x56BE9:
ld l,$18
ld a,$02
ld [hli],a
xor a
ld [hli],a
ret
Logged_0x56BF1:
ld hl,$D11B
ld a,$46
ld [hld],a
ret
Logged_0x56BF8:
ld hl,$D11B
ld a,$47
ld [hld],a
ret
Logged_0x56BFF:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32AE
ld a,$0F
ld [$D11B],a
ret
Logged_0x56C0D:
ld hl,$D118
ld a,[hl]
and a
jp nz,Logged_0x32BD
ld a,$0F
ld [$D11B],a
ret
Logged_0x56C1B:
ld a,$34
ld de,$5F9F
ld hl,$D11A
set 6,[hl]
Logged_0x56C25:
inc l
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D103]
cp $D8
jr c,Logged_0x56C37
ld a,$02
ld [hld],a
jp Logged_0x30F0
Logged_0x56C37:
ld a,$04
ld [hld],a
jp Logged_0x30F0
Logged_0x56C3D:
ld a,$35
ld de,$5FA4
ld hl,$D11A
res 6,[hl]
jr Logged_0x56C25
Logged_0x56C49:
ld a,$81
ld [$D11C],a
ld a,[$D146]
and a
jr z,Logged_0x56C5E
xor a
ld [$D146],a
ld de,$5F5D
call Logged_0x30F0
Logged_0x56C5E:
call Logged_0x56CDB
ld a,[$D118]
cp $04
jr z,Logged_0x56C6D
ld bc,$4E20
jr Logged_0x56C70
Logged_0x56C6D:
ld bc,$4E70
Logged_0x56C70:
call Logged_0x34B7
ld hl,$D103
ld a,[hl]
ld b,$F0
cp b
ret c
ld [hl],b
ld a,[$D147]
cp $04
jr nz,Logged_0x56C93
ld a,[$D145]
cp $03
jp z,Logged_0x56D4B
ld a,$01
ld [$D147],a
jp Logged_0x56B00
Logged_0x56C93:
ld l,$1A
bit 6,[hl]
jr nz,Logged_0x56C9E
inc l
ld a,$09
ld [hl],a
ret
Logged_0x56C9E:
ld a,[$D105]
cp $DB
jr nc,Logged_0x56CAA
inc l
ld a,$08
ld [hl],a
ret
Logged_0x56CAA:
inc l
ld a,$2D
ld [hl],a
ld a,$02
ld [$D147],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C7
ld [$FF00+hSFXIDLow],a
ld hl,$D145
ld a,[hl]
cp $03
jr z,Logged_0x56CD5
inc [hl]
ld a,[hl]
cp $03
jr nz,Logged_0x56CD5
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
Logged_0x56CD5:
ld de,$5F9A
jp Logged_0x30F0
Logged_0x56CDB:
ld a,[$D11A]
rlca
rlca
jr c,Logged_0x56CF1
ld a,[$D105]
cp $1B
jp nc,Logged_0x305C
ld hl,$D11A
set 6,[hl]
jr Logged_0x56D05
Logged_0x56CF1:
ld a,[$D103]
cp $D0
jr nc,Logged_0x56D13
ld a,[$D105]
cp $DB
jp c,Logged_0x3069
ld hl,$D11A
res 6,[hl]
Logged_0x56D05:
ld a,$01
ld [$D146],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
Logged_0x56D13:
ld a,[$D105]
cp $F3
jp c,Logged_0x3069
ret
Logged_0x56D1C:
ld a,$81
ld [$D11C],a
ld hl,$D100
res 2,[hl]
ld a,[$D147]
cp $04
ret nz
ld de,$5FA4
call Logged_0x30F0
ld l,$1B
ld a,$35
ld [hld],a
res 6,[hl]
dec l
xor a
ld [hld],a
ld a,[$D145]
cp $03
jr nz,Logged_0x56D47
ld a,$01
jr Logged_0x56D49
Logged_0x56D47:
ld a,$03
Logged_0x56D49:
ld [hl],a
ret
Logged_0x56D4B:
ld de,$5F8A
call Logged_0x30F0
ld a,$1C
ld [hli],a
ld l,$1F
ld a,$6D
ld [hld],a
ld a,$88
ld [hld],a
ld l,$1B
ld a,$48
ld [hld],a
ld a,[hl]
and $E0
ld [hld],a
xor a
ld [hl],a
ld l,$00
set 7,[hl]
ld hl,$D102
ld e,$09
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A9
ld [$FF00+hSFXIDLow],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
jr z,Logged_0x56D99
ld bc,$4E90
jp Logged_0x34B7
Logged_0x56D99:
xor a
ld [$D119],a
ld de,$5F6F
call Logged_0x30F0
ld a,$46
ld [hli],a
ld l,$1F
ld a,$6D
ld [hld],a
ld a,$AF
ld [hld],a
ret
ld a,$81
ld [$D11C],a
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x56DC6
dec [hl]
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A3
ld [$FF00+hSFXIDLow],a
ret
Logged_0x56DC6:
ld bc,$4EA0
jp Logged_0x34B7
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$6E
ld [hld],a
ld a,$01
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld de,$5FDC
call Logged_0x30F0
ld a,$20
ld [hli],a
ld a,$3C
ld [hli],a
ld a,$40
ld [hl],a
call Logged_0x3069
ld a,$10
ld [$D118],a
jp Logged_0x3083
call Logged_0x3655
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x56E14
dec [hl]
ld a,$81
ld [$D11C],a
jp Logged_0x30CA
Logged_0x56E14:
inc l
dec [hl]
ret nz
dec l
ld a,$B0
ld [hl],a
ld l,$1F
ld a,$6E
ld [hld],a
ld a,$24
ld [hld],a
ret
call Logged_0x3655
ld hl,$D117
ld a,[hld]
and a
jr z,Logged_0x56E4E
inc [hl]
ld a,[hli]
cp $B0
jr z,Logged_0x56E48
ld l,$00
bit 5,[hl]
jp z,Logged_0x30D9
res 5,[hl]
ld b,$01
call Logged_0x1287
call Logged_0x1169
jp Logged_0x30D9
Logged_0x56E48:
xor a
ld [hl],a
ld [$D11B],a
ret
Logged_0x56E4E:
dec [hl]
jr z,Logged_0x56E65
ld l,$00
bit 5,[hl]
jp z,Logged_0x30E6
res 5,[hl]
ld b,$01
call Logged_0x129E
call Logged_0x1197
jp Logged_0x30E6
Logged_0x56E65:
inc l
ld a,$01
ld [hl],a
ret
ld hl,$D100
res 4,[hl]
ld l,$1F
ld a,$6E
ld [hld],a
ld a,$AC
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$0C
ld a,$05
ld [hld],a
ld a,$FA
ld [hld],a
ld de,$5FED
call Logged_0x30F0
inc l
xor a
ld [hli],a
ld a,$40
ld [hl],a
call Logged_0x3069
ld a,$10
ld [$D118],a
jp Logged_0x3083
Logged_0x56E9C:
ld de,$6017
call Logged_0x30F0
inc l
ld a,$07
ld [hl],a
ld a,$F6
ld [$D109],a
ret
ld a,[$CA8E]
and a
jr z,Logged_0x56EB7
ld a,$81
ld [$D11C],a
Logged_0x56EB7:
ld a,[$D147]
cp $05
jr nz,Logged_0x56EC5
ld a,[$D117]
cp $07
jr nz,Logged_0x56E9C
Logged_0x56EC5:
ld a,[$D117]
rst JumpList
dw Logged_0x56F27
dw Logged_0x56F2E
dw Logged_0x56FEF
dw Unknown_0x57021
dw Logged_0x5707B
dw Unknown_0x57039
dw Logged_0x57198
dw Logged_0x56F0C
dw Logged_0x56EDD
dw Logged_0x5710F
Logged_0x56EDD:
ld a,$81
ld [$D11C],a
ld hl,$D116
dec [hl]
ret nz
xor a
ld [$D100],a
ld hl,$D102
ld e,$08
ld a,$02
ld [$FF00+$85],a
ld a,$42
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ld a,$03
ld [$CAC3],a
call Logged_0x161A
xor a
ld [$C0E6],a
ret
Logged_0x56F0C:
ld hl,$D115
ld a,[hld]
cp $0A
jr z,Logged_0x56F21
cp $06
ret c
ld a,[$D147]
cp $06
ret z
ld a,$10
ld [hl],a
ret
Logged_0x56F21:
ld a,[hl]
and a
ret nz
jp Logged_0x56FD2
Logged_0x56F27:
ld a,[$D147]
and a
jp nz,Logged_0x57009
Logged_0x56F2E:
ld a,[$D147]
cp $02
jr z,Logged_0x56F93
ld hl,$D11C
xor a
ld [hld],a
ld a,[hl]
and a
ret z
cp $2F
jr z,Unknown_0x56FA3
and $FE
cp $08
jr nz,Logged_0x56F7D
xor a
ld [hl],a
ld de,$5FF2
call Logged_0x30F0
inc l
ld a,$09
ld [hl],a
ld a,$03
ld [$D147],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
call Logged_0x57170
Logged_0x56F63:
call Logged_0x5714D
ld de,$D103
ld a,[de]
sub $10
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
inc e
ld a,[de]
sub $0B
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
ret
Logged_0x56F7D:
xor a
ld [hl],a
ld de,$5FCF
call Logged_0x30F0
inc l
ld a,$02
ld [hl],a
ld a,$F6
ld [$D109],a
ld l,$00
set 3,[hl]
ret
Logged_0x56F93:
ld a,$03
ld [$D147],a
ld de,$5FBA
call Logged_0x30F0
inc l
ld a,$04
ld [hl],a
ret
Unknown_0x56FA3:
xor a
ld [hl],a
ld de,$5FF2
call Logged_0x30F0
inc l
ld a,$05
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
Unknown_0x56FB7:
ld l,$03
ld a,[hli]
sub $10
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
sub $0B
ld [$CA64],a
ld a,[hli]
sbc a,$00
ld [$CA63],a
ret
Logged_0x56FD2:
ld a,$07
ld [$D147],a
ld de,$5FBA
call Logged_0x30F0
inc l
ld a,$06
ld [hl],a
ld a,$EC
ld [$D109],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ret
Logged_0x56FEF:
ld a,[$D147]
cp $02
jr z,Logged_0x56FFF
ld hl,$D11B
ld a,[hl]
and $FE
jp nz,Logged_0x56F7D
Logged_0x56FFF:
ld hl,$D115
ld a,[hld]
cp $0C
ret nz
ld a,[hld]
and a
ret nz
Logged_0x57009:
ld de,$5FA9
call Logged_0x30F0
inc l
ld a,$01
ld [hl],a
xor a
ld [$D11B],a
ld a,$EC
ld [$D109],a
ld l,$00
res 3,[hl]
ret
Unknown_0x57021:
ld hl,$D100
res 3,[hl]
ld l,$1B
ld a,[hl]
and $FE
jp nz,Logged_0x56F7D
ld l,$15
ld a,[hld]
cp $06
ret nz
ld a,[hld]
and a
ret nz
jr Logged_0x57009
Unknown_0x57039:
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hl]
cp $02
jr z,Unknown_0x57052
cp $04
jp z,Unknown_0x56FB7
cp $06
jr z,Unknown_0x57069
cp $0A
ret nz
jr Logged_0x57009
Unknown_0x57052:
ld l,$03
ld a,[hli]
sub $16
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
ld [$CA64],a
ld a,[hli]
ld [$CA63],a
ret
Unknown_0x57069:
xor a
ld [$CA9B],a
ld a,$8F
ld [$D11C],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ret
Logged_0x5707B:
ld hl,$D100
set 3,[hl]
ld l,$14
ld a,[hli]
and a
ret nz
ld a,[hl]
cp $06
jr z,Logged_0x570C1
cp $08
jr z,Logged_0x570DF
cp $0E
jr z,Logged_0x570F5
cp $10
jr z,Logged_0x570B3
cp $14
ret nz
ld a,[$D145]
cp $03
jp nz,Logged_0x57009
ld de,$600E
call Logged_0x30F0
ld a,$B4
ld [hli],a
ld a,$08
ld [hl],a
ld a,$F6
ld [$D109],a
ret
Logged_0x570B3:
ld a,$04
ld [$D147],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ret
Logged_0x570C1:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
call Logged_0x5714D
ld de,$D103
ld a,[de]
ld [hli],a
inc e
ld a,[de]
ld [hli],a
inc e
ld a,[de]
add a,$0C
ld [hli],a
inc e
ld a,[de]
adc a,$00
ld [hli],a
ret
Logged_0x570DF:
call Logged_0x5714D
ld de,$D103
ld a,[de]
sub $16
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
inc e
ld a,[de]
ld [hli],a
inc e
ld a,[de]
ld [hli],a
ret
Logged_0x570F5:
call Logged_0x5714D
ld de,$D103
ld a,[de]
sub $10
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
inc e
ld a,[de]
sub $0B
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
ret
Logged_0x5710F:
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hl]
cp $02
jr z,Logged_0x57129
cp $04
jp z,Logged_0x56F63
cp $06
jr z,Logged_0x5713F
cp $0A
ret nz
jp Logged_0x57009
Logged_0x57129:
call Logged_0x5714D
ld de,$D103
ld a,[de]
sub $16
ld [hli],a
inc e
ld a,[de]
sbc a,$00
ld [hli],a
inc e
ld a,[de]
ld [hli],a
inc e
ld a,[de]
ld [hli],a
ret
Logged_0x5713F:
ld a,$04
ld [$D147],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ret
Logged_0x5714D:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x57153:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $50
jr nz,Unknown_0x57164
ld a,l
sub $07
ld l,a
ld a,[hli]
rra
jr c,Logged_0x5716D
Unknown_0x57164:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x57153
Logged_0x5716D:
inc l
inc l
ret
Logged_0x57170:
ld a,$00
ld b,$00
ld h,$D0
Logged_0x57176:
ld l,$07
add a,l
ld l,a
ld a,[hl]
cp $50
jr nz,Unknown_0x57187
ld a,l
sub $07
ld l,a
ld a,[hl]
rra
jr c,Logged_0x57190
Unknown_0x57187:
ld a,b
cp $E0
ret z
add a,$20
ld b,a
jr Logged_0x57176
Logged_0x57190:
ld a,l
add a,$1C
ld l,a
ld a,$88
ld [hl],a
ret
Logged_0x57198:
ld hl,$D114
ld a,[hli]
and a
ret nz
ld a,[hl]
cp $06
jr z,Logged_0x571C7
cp $08
jr z,Logged_0x571DF
cp $0E
jr z,Logged_0x571F7
cp $10
jr z,Logged_0x571B5
cp $14
ret nz
jp Logged_0x57009
Logged_0x571B5:
ld a,$01
ld [$D147],a
xor a
ld [$CA9B],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$67
ld [$FF00+hSFXIDLow],a
ret
Logged_0x571C7:
ld hl,$D103
ld a,[hli]
ld [$CA62],a
ld a,[hli]
ld [$CA61],a
ld a,[hli]
add a,$0C
ld [$CA64],a
ld a,[hli]
adc a,$00
ld [$CA63],a
ret
Logged_0x571DF:
ld hl,$D103
ld a,[hli]
sub $16
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
ld [$CA64],a
ld a,[hli]
ld [$CA63],a
ret
Logged_0x571F7:
ld hl,$D103
ld a,[hli]
sub $10
ld [$CA62],a
ld a,[hli]
sbc a,$00
ld [$CA61],a
ld a,[hli]
sub $0B
ld [$CA64],a
ld a,[hli]
sbc a,$00
ld [$CA63],a
ret
Logged_0x57213:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x57222
dec c
ld a,[bc]
jr Logged_0x57223
Logged_0x57222:
inc [hl]
Logged_0x57223:
ld b,a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x57236
add a,c
ld [hli],a
jr nc,Logged_0x57230
inc [hl]
Logged_0x57230:
call Logged_0x1287
jp Logged_0x1169
Logged_0x57236:
add a,c
ld [hli],a
jr c,Logged_0x5723B
dec [hl]
Logged_0x5723B:
xor a
sub b
ld b,a
call Logged_0x129E
jp Logged_0x1197
Logged_0x57244:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x57253
dec c
ld a,[bc]
jr Logged_0x57254
Logged_0x57253:
inc [hl]
Logged_0x57254:
ld b,a
call Logged_0x1287
jp Logged_0x1169
Unknown_0x5725B:
INCBIN "baserom.gbc", $5725B, $57264 - $5725B
ld hl,$D11F
ld a,$72
ld [hld],a
ld a,$84
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$00
set 3,[hl]
ld a,$3C
ld [$D10F],a
ld a,$58
ld [$D118],a
jp Logged_0x3076
ld a,$81
ld [$D11C],a
ld a,$7F
ld [$D114],a
ld a,[$D144]
cp $01
jr z,Logged_0x5729E
cp $02
jr z,Unknown_0x572A4
cp $03
jr z,Unknown_0x572AA
ret
Logged_0x5729E:
ld hl,$D100
res 4,[hl]
ret
Unknown_0x572A4:
ld a,$3D
ld [$D10F],a
ret
Unknown_0x572AA:
ld a,$3E
ld [$D10F],a
xor a
ld [$CAC3],a
ret
ld hl,$D11F
ld a,$72
ld [hld],a
ld a,$D4
ld [hld],a
ld l,$1A
res 5,[hl]
set 4,[hl]
ld l,$00
set 3,[hl]
ld a,$3C
ld [$D10F],a
ld a,$58
ld [$D118],a
jp Logged_0x3076
ld a,$81
ld [$D11C],a
ld a,$7F
ld [$D114],a
ld a,[$D145]
cp $01
jr z,Logged_0x572EE
cp $02
jr z,Logged_0x572F4
cp $03
jr z,Logged_0x572FA
ret
Logged_0x572EE:
ld hl,$D100
res 4,[hl]
ret
Logged_0x572F4:
ld a,$3D
ld [$D10F],a
ret
Logged_0x572FA:
ld a,$3E
ld [$D10F],a
ret
Unknown_0x57300:
INCBIN "baserom.gbc", $57300, $58000 - $57300
SECTION "Bank16", ROMX, BANK[$16]
Unknown_0x58000:
INCBIN "baserom.gbc", $58000, $5C000 - $58000
SECTION "Bank17", ROMX, BANK[$17]
Unknown_0x5C000:
INCBIN "baserom.gbc", $5C000, $60000 - $5C000
SECTION "Bank18", ROMX, BANK[$18]
LoggedData_0x60000:
INCBIN "baserom.gbc", $60000, $6003E - $60000
Unknown_0x6003E:
INCBIN "baserom.gbc", $6003E, $60040 - $6003E
LoggedData_0x60040:
INCBIN "baserom.gbc", $60040, $6007D - $60040
Unknown_0x6007D:
INCBIN "baserom.gbc", $6007D, $60080 - $6007D
LoggedData_0x60080:
INCBIN "baserom.gbc", $60080, $600E0 - $60080
Unknown_0x600E0:
INCBIN "baserom.gbc", $600E0, $60100 - $600E0
LoggedData_0x60100:
INCBIN "baserom.gbc", $60100, $60160 - $60100
Unknown_0x60160:
INCBIN "baserom.gbc", $60160, $60180 - $60160
LoggedData_0x60180:
INCBIN "baserom.gbc", $60180, $601CA - $60180
Unknown_0x601CA:
INCBIN "baserom.gbc", $601CA, $601E0 - $601CA
LoggedData_0x601E0:
INCBIN "baserom.gbc", $601E0, $601EA - $601E0
Unknown_0x601EA:
INCBIN "baserom.gbc", $601EA, $60280 - $601EA
LoggedData_0x60280:
INCBIN "baserom.gbc", $60280, $602A6 - $60280
Unknown_0x602A6:
INCBIN "baserom.gbc", $602A6, $602B0 - $602A6
LoggedData_0x602B0:
INCBIN "baserom.gbc", $602B0, $602BC - $602B0
Unknown_0x602BC:
INCBIN "baserom.gbc", $602BC, $602C0 - $602BC
LoggedData_0x602C0:
INCBIN "baserom.gbc", $602C0, $602C4 - $602C0
Unknown_0x602C4:
INCBIN "baserom.gbc", $602C4, $602D0 - $602C4
LoggedData_0x602D0:
INCBIN "baserom.gbc", $602D0, $602D1 - $602D0
Unknown_0x602D1:
INCBIN "baserom.gbc", $602D1, $602E0 - $602D1
LoggedData_0x602E0:
INCBIN "baserom.gbc", $602E0, $602E5 - $602E0
Unknown_0x602E5:
INCBIN "baserom.gbc", $602E5, $602F0 - $602E5
LoggedData_0x602F0:
INCBIN "baserom.gbc", $602F0, $602F4 - $602F0
Unknown_0x602F4:
INCBIN "baserom.gbc", $602F4, $60300 - $602F4
LoggedData_0x60300:
INCBIN "baserom.gbc", $60300, $60306 - $60300
Unknown_0x60306:
INCBIN "baserom.gbc", $60306, $60310 - $60306
LoggedData_0x60310:
INCBIN "baserom.gbc", $60310, $60312 - $60310
Unknown_0x60312:
INCBIN "baserom.gbc", $60312, $60320 - $60312
LoggedData_0x60320:
INCBIN "baserom.gbc", $60320, $60340 - $60320
Unknown_0x60340:
INCBIN "baserom.gbc", $60340, $603D0 - $60340
LoggedData_0x603D0:
INCBIN "baserom.gbc", $603D0, $60400 - $603D0
Unknown_0x60400:
INCBIN "baserom.gbc", $60400, $60490 - $60400
LoggedData_0x60490:
INCBIN "baserom.gbc", $60490, $604A0 - $60490
Unknown_0x604A0:
INCBIN "baserom.gbc", $604A0, $604B0 - $604A0
LoggedData_0x604B0:
INCBIN "baserom.gbc", $604B0, $604BF - $604B0
Unknown_0x604BF:
INCBIN "baserom.gbc", $604BF, $604C0 - $604BF
LoggedData_0x604C0:
INCBIN "baserom.gbc", $604C0, $60537 - $604C0
Unknown_0x60537:
INCBIN "baserom.gbc", $60537, $60540 - $60537
LoggedData_0x60540:
INCBIN "baserom.gbc", $60540, $6071C - $60540
Unknown_0x6071C:
INCBIN "baserom.gbc", $6071C, $6075C - $6071C
LoggedData_0x6075C:
INCBIN "baserom.gbc", $6075C, $6088E - $6075C
Unknown_0x6088E:
INCBIN "baserom.gbc", $6088E, $608A0 - $6088E
LoggedData_0x608A0:
INCBIN "baserom.gbc", $608A0, $608B0 - $608A0
Unknown_0x608B0:
INCBIN "baserom.gbc", $608B0, $60900 - $608B0
LoggedData_0x60900:
INCBIN "baserom.gbc", $60900, $60A00 - $60900
Unknown_0x60A00:
INCBIN "baserom.gbc", $60A00, $60A20 - $60A00
LoggedData_0x60A20:
INCBIN "baserom.gbc", $60A20, $60A8F - $60A20
Unknown_0x60A8F:
INCBIN "baserom.gbc", $60A8F, $60A90 - $60A8F
LoggedData_0x60A90:
INCBIN "baserom.gbc", $60A90, $60AD0 - $60A90
Unknown_0x60AD0:
INCBIN "baserom.gbc", $60AD0, $60AE0 - $60AD0
LoggedData_0x60AE0:
INCBIN "baserom.gbc", $60AE0, $60B80 - $60AE0
Unknown_0x60B80:
INCBIN "baserom.gbc", $60B80, $60BD0 - $60B80
LoggedData_0x60BD0:
INCBIN "baserom.gbc", $60BD0, $60C00 - $60BD0
Unknown_0x60C00:
INCBIN "baserom.gbc", $60C00, $60C20 - $60C00
LoggedData_0x60C20:
INCBIN "baserom.gbc", $60C20, $60D3E - $60C20
Unknown_0x60D3E:
INCBIN "baserom.gbc", $60D3E, $60D40 - $60D3E
LoggedData_0x60D40:
INCBIN "baserom.gbc", $60D40, $60D7D - $60D40
Unknown_0x60D7D:
INCBIN "baserom.gbc", $60D7D, $60D80 - $60D7D
LoggedData_0x60D80:
INCBIN "baserom.gbc", $60D80, $60E18 - $60D80
Unknown_0x60E18:
INCBIN "baserom.gbc", $60E18, $60E20 - $60E18
LoggedData_0x60E20:
INCBIN "baserom.gbc", $60E20, $60E87 - $60E20
Unknown_0x60E87:
INCBIN "baserom.gbc", $60E87, $60E90 - $60E87
LoggedData_0x60E90:
INCBIN "baserom.gbc", $60E90, $60EB0 - $60E90
Unknown_0x60EB0:
INCBIN "baserom.gbc", $60EB0, $60EC9 - $60EB0
LoggedData_0x60EC9:
INCBIN "baserom.gbc", $60EC9, $6104A - $60EC9
Unknown_0x6104A:
INCBIN "baserom.gbc", $6104A, $611CB - $6104A
Logged_0x611CB:
push hl
inc l
rla
ld [$D100],a
ld a,[hli]
ld [$D101],a
ld a,[hli]
ld [$D102],a
ld a,[hli]
ld [$D103],a
ld a,[hli]
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hli]
ld [$D106],a
ld a,[hli]
ld [$D107],a
ld a,[hli]
ld [$D108],a
ld a,[hli]
ld [$D109],a
ld a,[hli]
ld [$D10A],a
ld a,[hli]
ld [$D10B],a
ld a,[hli]
ld [$D10C],a
ld a,[hli]
ld [$D10D],a
ld a,[hli]
ld [$D10E],a
ld a,[hli]
ld [$D10F],a
ld a,[hli]
ld [$D110],a
ld a,[hli]
ld [$D111],a
ld a,[hli]
ld [$D112],a
ld a,[hli]
ld [$D113],a
ld a,[hli]
ld [$D114],a
ld a,[hli]
ld [$D115],a
ld a,[hli]
ld [$D116],a
ld a,[hli]
ld [$D117],a
ld a,[hli]
ld [$D118],a
ld a,[hli]
ld [$D119],a
ld a,[hli]
ld [$D11A],a
ld a,[hli]
ld [$D11B],a
ld a,[hli]
ld [$D11C],a
ld a,[hli]
ld [$D11D],a
ld a,[hli]
ld [$D11E],a
ld a,[hl]
ld [$D11F],a
call Logged_0x61760
ld a,$13
ld [$FF00+$85],a
ld a,[$D11E]
ld [$FF00+$8D],a
ld a,[$D11F]
ld [$FF00+$8E],a
call $FF80
call Logged_0x312F
call Logged_0x6307B
ld hl,$D10D
ld a,[$C083]
ld b,a
ld a,[$D103]
add a,$10
sub b
ld [hli],a
ld a,[$C085]
ld b,a
ld a,[$D105]
add a,$08
sub b
ld [hli],a
ld hl,$C0BC
ld a,[$C089]
add a,[hl]
ld [$C083],a
ld a,[$C08B]
ld [$C085],a
pop hl
ld a,[$D100]
and $DF
ld [hli],a
inc l
inc l
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,[$D105]
ld [hli],a
ld a,[$D106]
ld [hli],a
ld a,[$D107]
ld [hli],a
ld a,[$D108]
ld [hli],a
ld a,[$D109]
ld [hli],a
ld a,[$D10A]
ld [hli],a
ld a,[$D10B]
ld [hli],a
ld a,[$D10C]
ld [hli],a
ld a,[$D10D]
ld [hli],a
ld a,[$D10E]
ld [hli],a
ld a,[$D10F]
ld [hli],a
ld a,[$D110]
ld [hli],a
ld a,[$D111]
ld [hli],a
ld a,[$D112]
ld [hli],a
ld a,[$D113]
ld [hli],a
ld a,[$D114]
ld [hli],a
ld a,[$D115]
ld [hli],a
ld a,[$D116]
ld [hli],a
ld a,[$D117]
ld [hli],a
ld a,[$D118]
ld [hli],a
ld a,[$D119]
ld [hli],a
ld a,[$D11A]
ld [hli],a
ld a,[$D11B]
ld [hli],a
ld a,[$D11C]
ld [hli],a
inc l
ld a,[$D11E]
ld [hli],a
ld a,[$D11F]
ld [hl],a
ret
Logged_0x6130B:
call Logged_0x618E2
ld hl,$D000
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$20
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$40
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$60
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$80
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$A0
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$C0
ld a,[hl]
rra
call c,Logged_0x611CB
ld l,$E0
ld a,[hl]
rra
call c,Logged_0x611CB
ret
ld a,[$CA3C]
ld e,a
ld a,[$CA8E]
rla
jr nc,Logged_0x61354
ld e,$06
Logged_0x61354:
ld a,e
ld [$D14A],a
ld a,[$CA06]
cp $C8
jr z,Logged_0x6130B
ld a,[$CA73]
and a
jr nz,Logged_0x613A2
call Logged_0x618E2
ld hl,$D000
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$20
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$40
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$60
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$80
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$A0
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$C0
ld a,[hl]
rra
call c,Logged_0x613DC
ld l,$E0
ld a,[hl]
rra
call c,Logged_0x613DC
ret
Logged_0x613A2:
ld hl,$D000
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$20
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$40
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$60
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$80
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$A0
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$C0
ld a,[hl]
rra
call c,Logged_0x61513
ld l,$E0
ld a,[hl]
rra
call c,Logged_0x61513
ret
Logged_0x613DC:
push hl
inc l
rla
ld [$D100],a
ld a,[hli]
ld [$D101],a
ld a,[hli]
ld [$D102],a
ld a,[hli]
ld [$D103],a
ld a,[hli]
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hli]
ld [$D106],a
ld a,[hli]
ld [$D107],a
ld a,[hli]
ld [$D108],a
ld a,[hli]
ld [$D109],a
ld a,[hli]
ld [$D10A],a
ld a,[hli]
ld [$D10B],a
ld a,[hli]
ld [$D10C],a
ld a,[hli]
ld [$D10D],a
ld a,[hli]
ld [$D10E],a
ld a,[hli]
ld [$D10F],a
ld a,[hli]
ld [$D110],a
ld a,[hli]
ld [$D111],a
ld a,[hli]
ld [$D112],a
ld a,[hli]
ld [$D113],a
ld a,[hli]
ld [$D114],a
ld a,[hli]
ld [$D115],a
ld a,[hli]
ld [$D116],a
ld a,[hli]
ld [$D117],a
ld a,[hli]
ld [$D118],a
ld a,[hli]
ld [$D119],a
ld a,[hli]
ld [$D11A],a
ld a,[hli]
ld [$D11B],a
ld a,[hli]
ld [$D11C],a
ld a,[hli]
ld [$D11D],a
ld a,[hli]
ld [$D11E],a
ld a,[hl]
ld [$D11F],a
call Logged_0x61760
ld a,[$D107]
swap a
and $0F
or $10
ld [$FF00+$85],a
ld a,[$D11E]
ld [$FF00+$8D],a
ld a,[$D11F]
ld [$FF00+$8E],a
call $FF80
call Logged_0x312F
call Logged_0x6307B
ld hl,$D10D
ld a,[$C083]
ld b,a
ld a,[$D103]
add a,$10
sub b
ld [hli],a
ld a,[$C085]
ld b,a
ld a,[$D105]
add a,$08
sub b
ld [hli],a
pop hl
ld a,[$D100]
and $DF
ld [hli],a
inc l
inc l
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,[$D105]
ld [hli],a
ld a,[$D106]
ld [hli],a
ld a,[$D107]
ld [hli],a
ld a,[$D108]
ld [hli],a
ld a,[$D109]
ld [hli],a
ld a,[$D10A]
ld [hli],a
ld a,[$D10B]
ld [hli],a
ld a,[$D10C]
ld [hli],a
ld a,[$D10D]
ld [hli],a
ld a,[$D10E]
ld [hli],a
ld a,[$D10F]
ld [hli],a
ld a,[$D110]
ld [hli],a
ld a,[$D111]
ld [hli],a
ld a,[$D112]
ld [hli],a
ld a,[$D113]
ld [hli],a
ld a,[$D114]
ld [hli],a
ld a,[$D115]
ld [hli],a
ld a,[$D116]
ld [hli],a
ld a,[$D117]
ld [hli],a
ld a,[$D118]
ld [hli],a
ld a,[$D119]
ld [hli],a
ld a,[$D11A]
ld [hli],a
ld a,[$D11B]
ld [hli],a
ld a,[$D11C]
ld [hli],a
inc l
ld a,[$D11E]
ld [hli],a
ld a,[$D11F]
ld [hl],a
ret
Logged_0x61513:
push hl
inc l
rla
ld [$D100],a
ld a,[hli]
ld [$D101],a
ld a,[hli]
ld [$D102],a
ld a,[hli]
ld [$D103],a
ld a,[hli]
ld [$D104],a
ld a,[hli]
ld [$D105],a
ld a,[hli]
ld [$D106],a
ld a,[hli]
ld [$D107],a
ld a,[hli]
ld [$D108],a
ld a,[hli]
ld [$D109],a
ld a,[hli]
ld [$D10A],a
ld a,[hli]
ld [$D10B],a
ld a,[hli]
ld [$D10C],a
ld a,[hli]
ld [$D10D],a
ld a,[hli]
ld [$D10E],a
ld a,[hli]
ld [$D10F],a
ld a,[hli]
ld [$D110],a
ld a,[hli]
ld [$D111],a
ld a,[hli]
ld [$D112],a
ld a,[hli]
ld [$D113],a
ld a,[hli]
ld [$D114],a
ld a,[hli]
ld [$D115],a
ld a,[hli]
ld [$D116],a
ld a,[hli]
ld [$D117],a
ld a,[hli]
ld [$D118],a
ld a,[hli]
ld [$D119],a
ld a,[hli]
ld [$D11A],a
ld a,[hli]
ld [$D11B],a
ld a,[hli]
ld [$D11C],a
ld a,[hli]
ld [$D11D],a
ld a,[hli]
ld [$D11E],a
ld a,[hl]
ld [$D11F],a
ld hl,$D11A
bit 5,[hl]
jr z,Logged_0x615B4
ld a,[$D107]
swap a
and $0F
or $10
ld [$FF00+$85],a
ld a,[$D11E]
ld [$FF00+$8D],a
ld a,[$D11F]
ld [$FF00+$8E],a
call $FF80
Logged_0x615B4:
call Logged_0x3104
call Logged_0x6307B
ld hl,$D10D
ld a,[$C083]
ld b,a
ld a,[$D103]
add a,$10
sub b
ld [hli],a
ld a,[$C085]
ld b,a
ld a,[$D105]
add a,$08
sub b
ld [hli],a
pop hl
ld a,[$D100]
and $DF
ld [hli],a
inc l
inc l
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,[$D105]
ld [hli],a
ld a,[$D106]
ld [hli],a
ld a,[$D107]
ld [hli],a
ld a,[$D108]
ld [hli],a
ld a,[$D109]
ld [hli],a
ld a,[$D10A]
ld [hli],a
ld a,[$D10B]
ld [hli],a
ld a,[$D10C]
ld [hli],a
ld a,[$D10D]
ld [hli],a
ld a,[$D10E]
ld [hli],a
ld a,[$D10F]
ld [hli],a
ld a,[$D110]
ld [hli],a
ld a,[$D111]
ld [hli],a
ld a,[$D112]
ld [hli],a
ld a,[$D113]
ld [hli],a
ld a,[$D114]
ld [hli],a
ld a,[$D115]
ld [hli],a
ld a,[$D116]
ld [hli],a
ld a,[$D117]
ld [hli],a
ld a,[$D118]
ld [hli],a
ld a,[$D119]
ld [hli],a
ld a,[$D11A]
ld [hli],a
ld a,[$D11B]
ld [hli],a
ld a,[$D11C]
ld [hli],a
inc l
ld a,[$D11E]
ld [hli],a
ld a,[$D11F]
ld [hl],a
ret
ld hl,$D000
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x6165F
ld e,$0D
ld l,$07
call Logged_0x3000
Logged_0x6165F:
ld hl,$D020
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x61670
ld e,$2D
ld l,$27
call Logged_0x3000
Logged_0x61670:
ld hl,$D040
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x61681
ld e,$4D
ld l,$47
call Logged_0x3000
Logged_0x61681:
ld hl,$D060
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x61692
ld e,$6D
ld l,$67
call Logged_0x3000
Logged_0x61692:
ld hl,$D080
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x616A3
ld e,$8D
ld l,$87
call Logged_0x3000
Logged_0x616A3:
ld hl,$D0A0
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x616B4
ld e,$AD
ld l,$A7
call Logged_0x3000
Logged_0x616B4:
ld hl,$D0C0
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x616C5
ld e,$CD
ld l,$C7
call Logged_0x3000
Logged_0x616C5:
ld hl,$D0E0
ld a,[hl]
and $93
cp $83
jr nz,Logged_0x616D6
ld e,$ED
ld l,$E7
call Logged_0x3000
Logged_0x616D6:
ret
ld hl,$D000
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x616E8
ld e,$0D
ld l,$07
call Logged_0x3000
Logged_0x616E8:
ld hl,$D020
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x616F9
ld e,$2D
ld l,$27
call Logged_0x3000
Logged_0x616F9:
ld hl,$D040
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6170A
ld e,$4D
ld l,$47
call Logged_0x3000
Logged_0x6170A:
ld hl,$D060
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6171B
ld e,$6D
ld l,$67
call Logged_0x3000
Logged_0x6171B:
ld hl,$D080
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6172C
ld e,$8D
ld l,$87
call Logged_0x3000
Logged_0x6172C:
ld hl,$D0A0
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6173D
ld e,$AD
ld l,$A7
call Logged_0x3000
Logged_0x6173D:
ld hl,$D0C0
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6174E
ld e,$CD
ld l,$C7
call Logged_0x3000
Logged_0x6174E:
ld hl,$D0E0
ld a,[hl]
and $93
cp $03
jr nz,Logged_0x6175F
ld e,$ED
ld l,$E7
call Logged_0x3000
Logged_0x6175F:
ret
Logged_0x61760:
ld a,[$D11C]
and a
ret z
bit 7,a
jr z,Logged_0x61773
dec a
cp $80
jr nz,Logged_0x6176F
xor a
Logged_0x6176F:
ld [$D11C],a
ret
Logged_0x61773:
rst JumpList
dw Unknown_0x617A6
dw Logged_0x617A7
dw Logged_0x617C1
dw Logged_0x617DA
dw Logged_0x617F2
dw Logged_0x61809
dw Logged_0x6181D
dw Logged_0x6183E
dw Logged_0x618A5
dw Logged_0x61847
dw Logged_0x61851
dw Logged_0x61857
dw Logged_0x61861
dw Logged_0x6186B
dw Logged_0x61875
dw Logged_0x6187F
dw Logged_0x61889
dw Unknown_0x61893
dw Logged_0x61819
dw Logged_0x6179C
Logged_0x6179C:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2F
ld [hl],a
ret
Unknown_0x617A6:
ret
Logged_0x617A7:
ld a,[$D108]
and $7F
jr z,Logged_0x617F2
ld hl,$D11D
ld a,[hld]
and $20
ld a,$8F
ld [hld],a
jr z,Logged_0x617BD
ld a,$02
ld [hl],a
ret
Logged_0x617BD:
ld a,$03
ld [hl],a
ret
Logged_0x617C1:
ld hl,$D100
res 2,[hl]
set 3,[hl]
ld l,$1D
ld a,[hld]
and $20
ld a,$8F
ld [hld],a
jr z,Logged_0x617D6
ld a,$04
ld [hl],a
ret
Logged_0x617D6:
ld a,$05
ld [hl],a
ret
Logged_0x617DA:
ld hl,$D100
res 2,[hl]
ld a,[$CA69]
and a
ld l,$1C
ld a,$8F
ld [hld],a
jr z,Logged_0x617EE
ld a,$06
ld [hl],a
ret
Logged_0x617EE:
ld a,$07
ld [hl],a
ret
Logged_0x617F2:
ld hl,$D100
res 2,[hl]
ld l,$1D
ld a,[hld]
and $20
ld a,$8F
ld [hld],a
jr z,Logged_0x61805
ld a,$08
ld [hl],a
ret
Logged_0x61805:
ld a,$09
ld [hl],a
ret
Logged_0x61809:
ld hl,$D100
res 2,[hl]
set 3,[hl]
ld l,$1C
ld a,$8F
ld [hld],a
ld a,$0A
ld [hl],a
ret
Logged_0x61819:
ld b,$87
jr Logged_0x6181F
Logged_0x6181D:
ld b,$8F
Logged_0x6181F:
ld hl,$D11D
ld a,[hld]
ld [hl],b
dec l
rla
jr nc,Logged_0x6182C
ld a,$0E
ld [hl],a
ret
Logged_0x6182C:
rla
jr nc,Logged_0x61833
ld a,$0D
ld [hl],a
ret
Logged_0x61833:
rla
jr nc,Logged_0x6183A
ld a,$0B
ld [hl],a
ret
Logged_0x6183A:
ld a,$0C
ld [hl],a
ret
Logged_0x6183E:
ld hl,$D11C
xor a
ld [hld],a
ld a,$18
ld [hl],a
ret
Logged_0x61847:
ld hl,$D11C
xor a
ld [hl],a
ld l,$00
set 5,[hl]
ret
Logged_0x61851:
ld a,$8F
ld [$D11C],a
ret
Logged_0x61857:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2A
ld [hl],a
ret
Logged_0x61861:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2A
ld [hl],a
ret
Logged_0x6186B:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$19
ld [hl],a
ret
Logged_0x61875:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2A
ld [hl],a
ret
Logged_0x6187F:
ld hl,$D11C
ld a,$82
ld [hld],a
ld a,$0A
ld [hl],a
ret
Logged_0x61889:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2A
ld [hl],a
ret
Unknown_0x61893:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$2A
ld [hl],a
ret
Logged_0x6189D:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
Logged_0x618A5:
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$A2
ld [hld],a
ld l,$1A
ld a,[hl]
and $F0
ld [hld],a
Logged_0x618B4:
ld a,$30
ld [$D107],a
ld hl,$D110
ld a,$00
ld [hli],a
ld a,$40
ld [hli],a
ld a,$C5
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$21
ld [hli],a
ld l,$00
res 2,[hl]
set 3,[hl]
ld a,$81
ld [$D11C],a
ld l,$03
ld a,[hl]
sub $08
ld [hli],a
ret nc
dec [hl]
ret
Logged_0x618E2:
ld hl,$D000
ld e,$05
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$20
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$40
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$60
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$80
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$A0
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$C0
ld a,[hl]
and e
cp e
jr z,Logged_0x6191C
ld l,$E0
ld a,[hl]
and e
cp e
ret nz
Logged_0x6191C:
push hl
ld a,l
add a,$08
ld l,a
ld a,[hli]
ld [$FF00+$A0],a
ld a,[hli]
ld b,a
ld a,[hli]
ld c,a
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[hl]
add a,$2A
add a,b
ld b,a
ld a,[hli]
add a,$2A
add a,c
ld c,a
ld a,[hl]
add a,$2A
add a,d
ld d,a
ld a,[hli]
add a,$2A
add a,e
ld e,a
ld a,l
add a,$0C
ld l,a
ld a,[hl]
cp $4C
jr nc,Logged_0x6194D
cp $48
jr nc,Logged_0x61992
Logged_0x6194D:
rra
ld hl,$FFA0
ld a,[hli]
jr c,Logged_0x61973
rla
jr c,Logged_0x61965
ld a,$28
ld [hli],a
ld a,$29
ld [hli],a
ld a,$09
ld [hli],a
ld a,$29
ld [hli],a
jr Logged_0x619A6
Logged_0x61965:
ld a,$28
ld [hli],a
ld a,$08
ld [hli],a
ld a,$28
ld [hli],a
ld a,$29
ld [hli],a
jr Logged_0x619A6
Logged_0x61973:
rla
jr c,Logged_0x61984
ld a,$29
ld [hli],a
ld a,$28
ld [hli],a
ld a,$08
ld [hli],a
ld a,$28
ld [hli],a
jr Logged_0x619A6
Logged_0x61984:
ld a,$29
ld [hli],a
ld a,$09
ld [hli],a
ld a,$29
ld [hli],a
ld a,$28
ld [hli],a
jr Logged_0x619A6
Logged_0x61992:
rra
ld hl,$FFA1
jr c,Logged_0x619A0
ld a,$09
ld [hli],a
ld a,$08
ld [hli],a
jr Logged_0x619A6
Logged_0x619A0:
ld a,$08
ld [hli],a
ld a,$09
ld [hli],a
Logged_0x619A6:
ld a,[$D000]
and $1F
cp $03
jr nz,Logged_0x61A16
ld a,[$D00D]
add a,$2A
ld h,a
ld a,[$D00E]
add a,$2A
ld l,a
ld a,[$D00A]
add a,h
sub b
jr c,Logged_0x61A16
ld a,[$D009]
add a,h
sub c
jr nc,Logged_0x61A16
ld a,[$D00C]
add a,l
sub d
jr c,Logged_0x61A16
ld a,[$D00B]
add a,l
sub e
jr nc,Logged_0x61A16
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Logged_0x61D28
cp $48
jp z,Logged_0x61D28
ld a,[$D008]
rla
jp c,Logged_0x61DF0
ld a,[$FF00+$A2]
ld [hl],a
ld l,$1B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61A02
cp $48
jr nz,Logged_0x61A06
Unknown_0x61A02:
xor a
ld [$CA9A],a
Logged_0x61A06:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61A16:
ld a,[$D020]
and $1F
cp $03
jr nz,Logged_0x61A86
ld a,[$D02D]
add a,$2A
ld h,a
ld a,[$D02E]
add a,$2A
ld l,a
ld a,[$D02A]
add a,h
sub b
jr c,Logged_0x61A86
ld a,[$D029]
add a,h
sub c
jr nc,Logged_0x61A86
ld a,[$D02C]
add a,l
sub d
jr c,Logged_0x61A86
ld a,[$D02B]
add a,l
sub e
jr nc,Logged_0x61A86
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Logged_0x61D41
cp $48
jp z,Logged_0x61D41
ld a,[$D028]
rla
jp c,Logged_0x61E14
ld a,[$FF00+$A2]
ld [hl],a
ld l,$3B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61A72
cp $48
jr nz,Logged_0x61A76
Unknown_0x61A72:
xor a
ld [$CA9A],a
Logged_0x61A76:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$20
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61A86:
ld a,[$D040]
and $1F
cp $03
jr nz,Logged_0x61AF6
ld a,[$D04D]
add a,$2A
ld h,a
ld a,[$D04E]
add a,$2A
ld l,a
ld a,[$D04A]
add a,h
sub b
jr c,Logged_0x61AF6
ld a,[$D049]
add a,h
sub c
jr nc,Logged_0x61AF6
ld a,[$D04C]
add a,l
sub d
jr c,Logged_0x61AF6
ld a,[$D04B]
add a,l
sub e
jr nc,Logged_0x61AF6
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Logged_0x61D5A
cp $48
jp z,Logged_0x61D5A
ld a,[$D048]
rla
jp c,Unknown_0x61E38
ld a,[$FF00+$A2]
ld [hl],a
ld l,$5B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61AE2
cp $48
jr nz,Logged_0x61AE6
Unknown_0x61AE2:
xor a
ld [$CA9A],a
Logged_0x61AE6:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$40
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61AF6:
ld a,[$D060]
and $1F
cp $03
jr nz,Logged_0x61B66
ld a,[$D06D]
add a,$2A
ld h,a
ld a,[$D06E]
add a,$2A
ld l,a
ld a,[$D06A]
add a,h
sub b
jr c,Logged_0x61B66
ld a,[$D069]
add a,h
sub c
jr nc,Logged_0x61B66
ld a,[$D06C]
add a,l
sub d
jr c,Logged_0x61B66
ld a,[$D06B]
add a,l
sub e
jr nc,Logged_0x61B66
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Logged_0x61D73
cp $48
jp z,Logged_0x61D73
ld a,[$D068]
rla
jp c,Unknown_0x61E5C
ld a,[$FF00+$A2]
ld [hl],a
ld l,$7B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61B52
cp $48
jr nz,Unknown_0x61B56
Unknown_0x61B52:
xor a
ld [$CA9A],a
Unknown_0x61B56:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$60
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61B66:
ld a,[$D080]
and $1F
cp $03
jr nz,Logged_0x61BD6
ld a,[$D08D]
add a,$2A
ld h,a
ld a,[$D08E]
add a,$2A
ld l,a
ld a,[$D08A]
add a,h
sub b
jr c,Logged_0x61BD6
ld a,[$D089]
add a,h
sub c
jr nc,Logged_0x61BD6
ld a,[$D08C]
add a,l
sub d
jr c,Logged_0x61BD6
ld a,[$D08B]
add a,l
sub e
jr nc,Logged_0x61BD6
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Logged_0x61D8C
cp $48
jp z,Logged_0x61D8C
ld a,[$D088]
rla
jp c,Unknown_0x61E80
ld a,[$FF00+$A2]
ld [hl],a
ld l,$9B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61BC2
cp $48
jr nz,Logged_0x61BC6
Unknown_0x61BC2:
xor a
ld [$CA9A],a
Logged_0x61BC6:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$80
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61BD6:
ld a,[$D0A0]
and $1F
cp $03
jr nz,Logged_0x61C46
ld a,[$D0AD]
add a,$2A
ld h,a
ld a,[$D0AE]
add a,$2A
ld l,a
ld a,[$D0AA]
add a,h
sub b
jr c,Logged_0x61C46
ld a,[$D0A9]
add a,h
sub c
jr nc,Logged_0x61C46
ld a,[$D0AC]
add a,l
sub d
jr c,Logged_0x61C46
ld a,[$D0AB]
add a,l
sub e
jr nc,Logged_0x61C46
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Unknown_0x61DA5
cp $48
jp z,Unknown_0x61DA5
ld a,[$D0A8]
rla
jp c,Unknown_0x61EA4
ld a,[$FF00+$A2]
ld [hl],a
ld l,$BB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61C32
cp $48
jr nz,Logged_0x61C36
Unknown_0x61C32:
xor a
ld [$CA9A],a
Logged_0x61C36:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$A0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61C46:
ld a,[$D0C0]
and $1F
cp $03
jr nz,Logged_0x61CB6
ld a,[$D0CD]
add a,$2A
ld h,a
ld a,[$D0CE]
add a,$2A
ld l,a
ld a,[$D0CA]
add a,h
sub b
jr c,Logged_0x61CB6
ld a,[$D0C9]
add a,h
sub c
jr nc,Logged_0x61CB6
ld a,[$D0CC]
add a,l
sub d
jr c,Logged_0x61CB6
ld a,[$D0CB]
add a,l
sub e
jr nc,Logged_0x61CB6
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Unknown_0x61DBE
cp $48
jp z,Unknown_0x61DBE
ld a,[$D0C8]
rla
jp c,Unknown_0x61EC8
ld a,[$FF00+$A2]
ld [hl],a
ld l,$DB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61CA2
cp $48
jr nz,Unknown_0x61CA6
Unknown_0x61CA2:
xor a
ld [$CA9A],a
Unknown_0x61CA6:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$C0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61CB6:
ld a,[$D0E0]
and $1F
cp $03
jr nz,Logged_0x61D26
ld a,[$D0ED]
add a,$2A
ld h,a
ld a,[$D0EE]
add a,$2A
ld l,a
ld a,[$D0EA]
add a,h
sub b
jr c,Logged_0x61D26
ld a,[$D0E9]
add a,h
sub c
jr nc,Logged_0x61D26
ld a,[$D0EC]
add a,l
sub d
jr c,Logged_0x61D26
ld a,[$D0EB]
add a,l
sub e
jr nc,Logged_0x61D26
pop hl
res 2,[hl]
ld a,l
add a,$1B
ld l,a
ld a,[hl]
and $FE
cp $4A
jp z,Unknown_0x61DD7
cp $48
jp z,Unknown_0x61DD7
ld a,[$D0E8]
rla
jp c,Unknown_0x61EEC
ld a,[$FF00+$A2]
ld [hl],a
ld l,$FB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61D12
cp $48
jr nz,Unknown_0x61D16
Unknown_0x61D12:
xor a
ld [$CA9A],a
Unknown_0x61D16:
ld a,[$FF00+$A1]
ld [hl],a
ld l,$E0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61D26:
pop hl
ret
Logged_0x61D28:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$1B
ld a,[$FF00+$A1]
ld [hl],a
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61D41:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$3B
ld a,[$FF00+$A1]
ld [hl],a
ld l,$20
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61D5A:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$5B
ld a,[$FF00+$A1]
ld [hl],a
ld l,$40
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61D73:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$7B
ld a,[$FF00+$A1]
ld [hl],a
ld l,$60
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61D8C:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$9B
ld a,[$FF00+$A1]
ld [hl],a
ld l,$80
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61DA5:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$BB
ld a,[$FF00+$A1]
ld [hl],a
ld l,$A0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61DBE:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$DB
ld a,[$FF00+$A1]
ld [hl],a
ld l,$C0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61DD7:
xor a
ld [$CA9A],a
ld a,[$FF00+$A2]
ld [hl],a
ld l,$FB
ld a,[$FF00+$A1]
ld [hl],a
ld l,$E0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61DF0:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$1B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61E00
cp $48
jr nz,Logged_0x61E04
Unknown_0x61E00:
xor a
ld [$CA9A],a
Logged_0x61E04:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$00
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x61E14:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$3B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61E24
cp $48
jr nz,Logged_0x61E28
Unknown_0x61E24:
xor a
ld [$CA9A],a
Logged_0x61E28:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$20
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61E38:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$5B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61E48
cp $48
jr nz,Unknown_0x61E4C
Unknown_0x61E48:
xor a
ld [$CA9A],a
Unknown_0x61E4C:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$40
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61E5C:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$7B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61E6C
cp $48
jr nz,Unknown_0x61E70
Unknown_0x61E6C:
xor a
ld [$CA9A],a
Unknown_0x61E70:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$60
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61E80:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$9B
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61E90
cp $48
jr nz,Unknown_0x61E94
Unknown_0x61E90:
xor a
ld [$CA9A],a
Unknown_0x61E94:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$80
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61EA4:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$BB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61EB4
cp $48
jr nz,Unknown_0x61EB8
Unknown_0x61EB4:
xor a
ld [$CA9A],a
Unknown_0x61EB8:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$A0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61EC8:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$DB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61ED8
cp $48
jr nz,Unknown_0x61EDC
Unknown_0x61ED8:
xor a
ld [$CA9A],a
Unknown_0x61EDC:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$C0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x61EEC:
ld a,[$FF00+$A4]
ld [hl],a
ld l,$FB
ld a,[hl]
and $FE
cp $36
jr z,Unknown_0x61EFC
cp $48
jr nz,Unknown_0x61F00
Unknown_0x61EFC:
xor a
ld [$CA9A],a
Unknown_0x61F00:
ld a,[$FF00+$A3]
ld [hl],a
ld l,$E0
set 3,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
xor a
call Logged_0x61F41
call Logged_0x61F4A
ld [$D140],a
ld [$D141],a
ld [$D142],a
ld [$D143],a
ld [$D144],a
ld [$D145],a
ret
xor a
call Logged_0x61F41
call Logged_0x61F4A
ld [$D141],a
ld [$D142],a
ld [$D143],a
ld [$D144],a
ld [$D145],a
ret
Logged_0x61F41:
ld hl,$D000
ld c,a
Logged_0x61F45:
ld [hli],a
dec c
jr nz,Logged_0x61F45
ret
Logged_0x61F4A:
ld hl,$D120
ld c,$20
Logged_0x61F4F:
ld [hli],a
dec c
jr nz,Logged_0x61F4F
ret
Logged_0x61F54:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
and $0F
cp $01
jp z,Logged_0x61FE1
cp $03
jr z,Logged_0x61F6F
ld a,$12
ld [$D11B],a
jp Logged_0x316B
Logged_0x61F6F:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
add a,$07
ld [hli],a
ld a,[$CA63]
adc a,$00
ld [hl],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C1CA],a
call Logged_0x352B
and a
jr z,Logged_0x61FD9
ld a,[$C1CA]
and a
jr nz,Logged_0x61FD9
ld hl,$D103
ld a,[hl]
add a,$10
ld [hli],a
jr nc,Logged_0x61FBC
inc [hl]
Logged_0x61FBC:
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$D118],a
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$14
ld [hld],a
jp Logged_0x316B
Logged_0x61FD9:
ld a,$19
ld [$D11B],a
jp Logged_0x316B
Logged_0x61FE1:
ld hl,$D117
dec [hl]
jp nz,Logged_0x316B
inc l
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
and a
jr nz,Logged_0x61FF5
dec l
dec l
dec l
dec l
ld a,[hli]
Logged_0x61FF5:
ld [$D117],a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,l
ld [$D118],a
ld a,h
ld [$D119],a
ld hl,$FFA0
ld a,c
cp $80
ld a,[$CA62]
jr nc,Logged_0x62019
add a,c
ld [hli],a
ld a,[$CA61]
jr nc,Logged_0x62021
inc a
jr Logged_0x62021
Logged_0x62019:
add a,c
ld [hli],a
ld a,[$CA61]
jr c,Logged_0x62021
dec a
Logged_0x62021:
ld [hl],a
inc l
ld a,b
cp $80
ld a,[$CA64]
jr nc,Unknown_0x62035
add a,b
ld [hli],a
ld a,[$CA63]
jr nc,Logged_0x6203D
inc a
jr Logged_0x6203D
Unknown_0x62035:
add a,b
ld [hli],a
ld a,[$CA63]
jr c,Logged_0x6203D
dec a
Logged_0x6203D:
ld [hl],a
ld hl,$FFA0
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x62091
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$FFA0
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x62091
ld hl,$FFA0
ld de,$D103
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
jp Logged_0x316B
Logged_0x62091:
ld a,[$D108]
and $80
jp nz,Logged_0x61FBC
or $02
ld [$CA9A],a
ld a,$19
ld [$D11B],a
jp Logged_0x316B
Logged_0x620A6:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
and $0F
cp $01
jp z,Logged_0x62133
cp $03
jr z,Logged_0x620C1
ld a,$12
ld [$D11B],a
jp Logged_0x316B
Logged_0x620C1:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
sub $07
ld [hli],a
ld a,[$CA63]
sbc a,$00
ld [hl],a
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C1CA],a
call Logged_0x352B
and a
jr z,Logged_0x6212B
ld a,[$C1CA]
and a
jr nz,Logged_0x6212B
ld hl,$D103
ld a,[hl]
add a,$10
ld [hli],a
jr nc,Logged_0x6210E
inc [hl]
Logged_0x6210E:
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$D118],a
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$15
ld [hld],a
jp Logged_0x316B
Logged_0x6212B:
ld a,$18
ld [$D11B],a
jp Logged_0x316B
Logged_0x62133:
ld hl,$D117
dec [hl]
jp nz,Logged_0x316B
inc l
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
and a
jr nz,Logged_0x62147
dec l
dec l
dec l
dec l
ld a,[hli]
Logged_0x62147:
ld [$D117],a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,l
ld [$D118],a
ld a,h
ld [$D119],a
ld hl,$FFA0
ld a,c
cp $80
ld a,[$CA62]
jr nc,Logged_0x6216B
add a,c
ld [hli],a
ld a,[$CA61]
jr nc,Logged_0x62173
inc a
jr Logged_0x62173
Logged_0x6216B:
add a,c
ld [hli],a
ld a,[$CA61]
jr c,Logged_0x62173
dec a
Logged_0x62173:
ld [hl],a
inc l
ld a,b
cp $80
ld a,[$CA64]
jr nc,Logged_0x62187
add a,b
ld [hli],a
ld a,[$CA63]
jr nc,Logged_0x6218F
inc a
jr Logged_0x6218F
Logged_0x62187:
add a,b
ld [hli],a
ld a,[$CA63]
jr c,Logged_0x6218F
dec a
Logged_0x6218F:
ld [hl],a
ld hl,$FFA0
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x621E6
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$FFA0
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x621E6
ld hl,$FFA0
ld de,$D103
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
jp Logged_0x316B
Logged_0x621E6:
ld a,[$D108]
and $80
jp nz,Logged_0x6210E
or $02
ld [$CA9A],a
ld a,$18
ld [$D11B],a
jp Logged_0x316B
Logged_0x621FB:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
ld b,a
and $0F
cp $03
jr z,Logged_0x62239
cp $04
jr z,Logged_0x62231
cp $07
jp z,Logged_0x62522
ld hl,$D100
res 2,[hl]
ld l,$1B
ld a,[$CA8B]
and a
jr z,Logged_0x6222B
ld a,$01
ld [$D118],a
ld a,$15
ld [hl],a
jp Logged_0x316B
Logged_0x6222B:
ld a,$12
ld [hl],a
jp Logged_0x316B
Logged_0x62231:
ld a,$4B
ld [$D11B],a
jp Logged_0x316B
Logged_0x62239:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
add a,$07
ld [hli],a
ld a,[$CA63]
adc a,$00
ld [hl],a
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x6229C
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and a
jp z,Logged_0x316B
Logged_0x6229C:
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$D118],a
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$14
ld [hl],a
ld l,$00
res 2,[hl]
jp Logged_0x316B
Logged_0x622BD:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
ld b,a
and $0F
cp $03
jr z,Logged_0x622FB
cp $04
jr z,Logged_0x622F3
cp $07
jp z,Logged_0x62429
ld hl,$D100
res 2,[hl]
ld l,$1B
ld a,[$CA8B]
and a
jr z,Logged_0x622ED
ld a,$01
ld [$D118],a
ld a,$14
ld [hl],a
jp Logged_0x316B
Logged_0x622ED:
ld a,$12
ld [hl],a
jp Logged_0x316B
Logged_0x622F3:
ld a,$4A
ld [$D11B],a
jp Logged_0x316B
Logged_0x622FB:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
sub $07
ld [hli],a
ld a,[$CA63]
sbc a,$00
ld [hl],a
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and a
jr nz,Logged_0x62361
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x316B
Logged_0x62361:
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$D118],a
ld hl,$D11C
ld a,$9F
ld [hld],a
ld a,$15
ld [hl],a
ld l,$00
res 2,[hl]
jp Logged_0x316B
Logged_0x62382:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
ld b,a
and $0F
cp $04
jr z,Logged_0x623AB
cp $05
jr z,Logged_0x623AB
cp $06
jr z,Logged_0x623D2
cp $07
jp z,Logged_0x62429
Logged_0x6239E:
ld hl,$D100
res 2,[hl]
ld a,$12
ld [$D11B],a
jp Logged_0x316B
Logged_0x623AB:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
sub $07
ld [hli],a
ld a,[$CA63]
sbc a,$00
ld [hl],a
jp Logged_0x316B
Logged_0x623D2:
ld hl,$FFA0
ld a,[$CA62]
sub $1E
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
add a,$05
ld [hli],a
ld a,[$CA63]
adc a,$00
ld [hli],a
ld hl,$FFA0
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr z,Logged_0x62415
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jr Logged_0x6239E
Logged_0x62415:
ld hl,$FFA0
ld de,$D103
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
jp Logged_0x316B
Logged_0x62429:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
ld hl,$D108
ld a,[hl]
and $80
or $00
ld [hl],a
rla
ld l,$16
ld a,$00
ld [hli],a
inc l
bit 6,b
jr nz,Logged_0x62462
ld b,$03
jr nc,Logged_0x6244B
ld b,$02
Logged_0x6244B:
ld a,[$C093]
bit 6,a
jr z,Logged_0x62454
ld b,$01
Logged_0x62454:
ld a,b
ld [hli],a
xor a
ld [hli],a
inc l
ld a,$4E
ld [hli],a
ld a,$9F
ld [hld],a
jp Logged_0x316B
Logged_0x62462:
ld b,$04
ld a,[$C093]
bit 6,a
jr z,Logged_0x6246D
ld b,$01
Logged_0x6246D:
ld a,b
ld [hli],a
xor a
ld [hli],a
inc l
ld a,$4C
ld [hli],a
ld a,$9F
ld [hld],a
jp Logged_0x316B
Logged_0x6247B:
ld a,$81
ld [$D11C],a
ld a,[$CA9A]
ld b,a
and $0F
cp $04
jr z,Logged_0x624A4
cp $05
jr z,Logged_0x624A4
cp $06
jr z,Logged_0x624CB
cp $07
jp z,Logged_0x62522
Logged_0x62497:
ld hl,$D100
res 2,[hl]
ld a,$12
ld [$D11B],a
jp Logged_0x316B
Logged_0x624A4:
ld a,[$CA96]
add a,a
add a,a
ld e,a
ld a,$1E
sub e
ld e,a
ld hl,$D103
ld a,[$CA62]
sub e
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
add a,$07
ld [hli],a
ld a,[$CA63]
adc a,$00
ld [hl],a
jp Logged_0x316B
Logged_0x624CB:
ld hl,$FFA0
ld a,[$CA62]
sub $1E
ld [hli],a
ld a,[$CA61]
sbc a,$00
ld [hli],a
ld a,[$CA64]
sub $05
ld [hli],a
ld a,[$CA63]
sbc a,$00
ld [hli],a
ld hl,$FFA0
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr z,Logged_0x6250E
xor a
ld [$CA9A],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jr Logged_0x62497
Logged_0x6250E:
ld hl,$FFA0
ld de,$D103
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
jp Logged_0x316B
Logged_0x62522:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
ld hl,$D108
ld a,[hl]
and $80
or $00
ld [hl],a
rla
ld l,$16
ld a,$00
ld [hli],a
inc l
bit 6,b
jr nz,Logged_0x6255B
ld b,$03
jr nc,Logged_0x62544
ld b,$02
Logged_0x62544:
ld a,[$C093]
bit 6,a
jr z,Logged_0x6254D
ld b,$01
Logged_0x6254D:
ld a,b
ld [hli],a
xor a
ld [hli],a
inc l
ld a,$4F
ld [hli],a
ld a,$9F
ld [hld],a
jp Logged_0x316B
Logged_0x6255B:
ld b,$04
ld a,[$C093]
bit 6,a
jr z,Logged_0x62566
ld b,$01
Logged_0x62566:
ld a,b
ld [hli],a
xor a
ld [hli],a
inc l
ld a,$4D
ld [hli],a
ld a,$9F
ld [hld],a
jp Logged_0x316B
Logged_0x62574:
ld hl,$D106
ld a,[hld]
ld [$FF00+$AA],a
ld a,[hld]
ld [$FF00+$AB],a
ld a,[$D116]
and a
jr z,Logged_0x625AA
ld a,[hld]
ld [$FF00+$A8],a
ld a,[hl]
ld [$FF00+$A9],a
xor a
ld [$C1CA],a
inc a
ld [$C0D9],a
call Logged_0x352B
and a
ld a,$03
ld [$FF00+$A0],a
jp nz,Logged_0x62D34
ld a,[$C0DD]
and a
jr z,Logged_0x625AA
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x625AA:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$01
ld [$C0D9],a
call Logged_0x358B
and a
jr nz,Logged_0x625F7
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
ld a,$01
ld [$C0D9],a
call Logged_0x3513
and $0F
jr z,Logged_0x625FF
ld a,$15
ld [$D11B],a
jp Logged_0x316B
Logged_0x625F7:
ld a,$14
ld [$D11B],a
jp Logged_0x316B
Logged_0x625FF:
call Logged_0x305C
jp Logged_0x62690
Logged_0x62605:
ld hl,$D106
ld a,[hld]
ld [$FF00+$AA],a
ld a,[hld]
ld [$FF00+$AB],a
ld a,[$D116]
and a
jr z,Logged_0x6263B
ld a,[hld]
ld [$FF00+$A8],a
ld a,[hl]
ld [$FF00+$A9],a
xor a
ld [$C1CA],a
inc a
ld [$C0D9],a
call Logged_0x352B
and a
ld a,$03
ld [$FF00+$A0],a
jp nz,Logged_0x62E0F
ld a,[$C0DD]
and a
jr z,Logged_0x6263B
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x6263B:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$01
ld [$C0D9],a
call Logged_0x358B
and a
jr nz,Logged_0x62685
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
ld a,$01
ld [$C0D9],a
call Logged_0x3513
and $0F
jr z,Logged_0x6268D
ld a,$14
ld [$D11B],a
jp Logged_0x316B
Logged_0x62685:
ld a,$15
ld [$D11B],a
jp Logged_0x316B
Logged_0x6268D:
call Logged_0x3069
Logged_0x62690:
ld l,$19
ld a,[hl]
dec b
jr z,Logged_0x626D4
ld b,$40
add a,$80
Logged_0x6269A:
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x626A5
ld a,c
add a,$20
ld c,a
Logged_0x626A5:
ld a,[bc]
cp $80
jr nz,Logged_0x626AE
dec c
ld a,[bc]
jr Logged_0x626AF
Logged_0x626AE:
inc [hl]
Logged_0x626AF:
ld [$FF00+$A0],a
and a
jr z,Logged_0x626D1
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x626C7
add a,c
ld [hli],a
ld a,$01
ld [$D116],a
jr nc,Logged_0x626D1
inc [hl]
jr Logged_0x626D1
Logged_0x626C7:
add a,c
ld [hli],a
ld a,$00
ld [$D116],a
jr c,Logged_0x626D1
dec [hl]
Logged_0x626D1:
jp Logged_0x316B
Logged_0x626D4:
ld b,$41
add a,$00
jr Logged_0x6269A
Logged_0x626DA:
ld hl,$D106
ld a,[hld]
ld [$FF00+$AA],a
ld a,[hld]
ld [$FF00+$AB],a
ld a,[$D116]
and a
jr z,Logged_0x62710
ld a,[hld]
ld [$FF00+$A8],a
ld a,[hl]
ld [$FF00+$A9],a
xor a
ld [$C1CA],a
inc a
ld [$C0D9],a
call Logged_0x352B
and a
ld a,$03
ld [$FF00+$A0],a
jp nz,Logged_0x62D34
ld a,[$C0DD]
and a
jr z,Logged_0x62710
Unknown_0x62708:
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62710:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$01
ld [$C0D9],a
call Logged_0x358B
and a
jr nz,Unknown_0x62708
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
ld a,$01
ld [$C0D9],a
call Logged_0x3513
and $0F
jr nz,Unknown_0x62708
call Logged_0x305C
ld a,[$D10E]
add a,$28
cp $F0
jr c,Logged_0x62765
ld l,$00
res 2,[hl]
Logged_0x62765:
jp Logged_0x627F0
Logged_0x62768:
ld hl,$D106
ld a,[hld]
ld [$FF00+$AA],a
ld a,[hld]
ld [$FF00+$AB],a
ld a,[$D116]
and a
jr z,Logged_0x6279E
ld a,[hld]
ld [$FF00+$A8],a
ld a,[hl]
ld [$FF00+$A9],a
xor a
ld [$C1CA],a
inc a
ld [$C0D9],a
call Logged_0x352B
and a
ld a,$03
ld [$FF00+$A0],a
jp nz,Logged_0x62E0F
ld a,[$C0DD]
and a
jr z,Logged_0x6279E
Unknown_0x62796:
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x6279E:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,$01
ld [$C0D9],a
call Logged_0x358B
and a
jr nz,Unknown_0x62796
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
ld a,$01
ld [$C0D9],a
call Logged_0x3513
and $0F
jr nz,Unknown_0x62796
call Logged_0x3069
ld a,[$D10E]
add a,$28
cp $10
jr nc,Logged_0x627F0
ld l,$00
res 2,[hl]
Logged_0x627F0:
ld l,$19
ld a,[hl]
dec b
jr z,Logged_0x62834
ld b,$40
add a,$C0
Logged_0x627FA:
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62805
ld a,c
add a,$20
ld c,a
Logged_0x62805:
ld a,[bc]
cp $80
jr nz,Logged_0x6280E
dec c
ld a,[bc]
jr Logged_0x6280F
Logged_0x6280E:
inc [hl]
Logged_0x6280F:
ld [$FF00+$A0],a
and a
jr z,Logged_0x62831
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x62827
add a,c
ld [hli],a
ld a,$01
ld [$D116],a
jr nc,Logged_0x62831
inc [hl]
jr Logged_0x62831
Logged_0x62827:
add a,c
ld [hli],a
ld a,$00
ld [$D116],a
jr c,Logged_0x62831
dec [hl]
Logged_0x62831:
jp Logged_0x316B
Logged_0x62834:
ld b,$41
add a,$40
jr Logged_0x627FA
Logged_0x6283A:
ld a,[$D118]
ld b,a
jr Logged_0x6284F
Logged_0x62840:
ld a,[$D118]
ld b,a
ld a,[$D14A]
cp $05
jr c,Logged_0x6284F
sla b
sla b
Logged_0x6284F:
ld hl,$D105
ld a,[hl]
add a,b
ld [hli],a
jr nc,Logged_0x62858
inc [hl]
Logged_0x62858:
ld hl,$D119
ld a,[hl]
ld b,$41
add a,$80
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x6286B
ld a,c
add a,$20
ld c,a
Logged_0x6286B:
ld a,[bc]
cp $80
jr nz,Logged_0x62874
dec c
ld a,[bc]
jr Logged_0x62875
Logged_0x62874:
inc [hl]
Logged_0x62875:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x62885
add a,c
ld [hli],a
jr nc,Logged_0x6288A
inc [hl]
jr Logged_0x6288A
Logged_0x62885:
add a,c
ld [hli],a
jr c,Logged_0x6288A
dec [hl]
Logged_0x6288A:
ld a,$81
ld [$D11C],a
jp Logged_0x316B
Logged_0x62892:
ld a,[$D118]
ld b,a
jr Logged_0x628A7
Logged_0x62898:
ld a,[$D118]
ld b,a
ld a,[$D14A]
cp $05
jr c,Logged_0x628A7
sla b
sla b
Logged_0x628A7:
ld hl,$D105
ld a,[hl]
sub b
ld [hli],a
jr nc,Logged_0x628B0
dec [hl]
Logged_0x628B0:
ld hl,$D119
ld a,[hl]
ld b,$41
add a,$80
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x628C3
ld a,c
add a,$20
ld c,a
Logged_0x628C3:
ld a,[bc]
cp $80
jr nz,Logged_0x628CC
dec c
ld a,[bc]
jr Logged_0x628CD
Logged_0x628CC:
inc [hl]
Logged_0x628CD:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x628DD
add a,c
ld [hli],a
jr nc,Logged_0x628E2
inc [hl]
jr Logged_0x628E2
Logged_0x628DD:
add a,c
ld [hli],a
jr c,Logged_0x628E2
dec [hl]
Logged_0x628E2:
ld a,$81
ld [$D11C],a
jp Logged_0x316B
Logged_0x628EA:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jp nz,Logged_0x316B
ld a,$12
ld [$D11B],a
jp Logged_0x316B
Logged_0x62908:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
jp nz,Logged_0x316B
ld a,$11
ld [$D11B],a
jp Logged_0x316B
Logged_0x62926:
ld hl,$D119
ld a,[hl]
ld b,$40
add a,$40
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62939
ld a,c
add a,$20
ld c,a
Logged_0x62939:
ld a,[bc]
cp $80
jr nz,Logged_0x62942
dec c
ld a,[bc]
jr Logged_0x62943
Logged_0x62942:
inc [hl]
Logged_0x62943:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x62953
add a,c
ld [hli],a
jr nc,Logged_0x62958
inc [hl]
jr Logged_0x62958
Logged_0x62953:
add a,c
ld [hli],a
jr c,Logged_0x62958
dec [hl]
Logged_0x62958:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x352B
and a
jr nz,Logged_0x62980
ld a,[$C0DD]
and a
jp z,Logged_0x316B
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62980:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
ld a,[$C18C]
and a
jr nz,Unknown_0x62997
ld a,$0F
ld [hl],a
jp Logged_0x316B
Unknown_0x62997:
and $0F
cp $01
ld a,$02
ld [$D118],a
jp z,Logged_0x62D57
jp Logged_0x62E31
Logged_0x629A6:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$A0
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x629B9
ld a,c
add a,$10
ld c,a
Logged_0x629B9:
ld a,[bc]
cp $80
jr nz,Logged_0x629C2
dec c
ld a,[bc]
jr Logged_0x629C3
Logged_0x629C2:
inc [hl]
Logged_0x629C3:
ld [$FF00+$A0],a
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr c,Logged_0x629CD
dec [hl]
Logged_0x629CD:
jp Logged_0x316B
Logged_0x629D0:
ld hl,$D114
ld a,[hl]
cp $03
jr c,Logged_0x629DB
sub $03
ld [hl],a
Logged_0x629DB:
ld hl,$D119
ld a,[hl]
ld b,$40
add a,$00
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x629EE
ld a,c
add a,$20
ld c,a
Logged_0x629EE:
ld a,[bc]
cp $80
jr nz,Logged_0x629F7
dec c
ld a,[bc]
jr Logged_0x629F8
Logged_0x629F7:
inc [hl]
Logged_0x629F8:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Unknown_0x62A08
add a,c
ld [hli],a
jr nc,Logged_0x62A0D
inc [hl]
jr Logged_0x62A0D
Unknown_0x62A08:
add a,c
ld [hli],a
jr c,Logged_0x62A0D
dec [hl]
Logged_0x62A0D:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x352B
and a
jr nz,Logged_0x62A35
ld a,[$C0DD]
and a
jp z,Logged_0x316B
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62A35:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
ld a,[$C18C]
and a
jr nz,Unknown_0x62A4C
ld a,$13
ld [hl],a
jp Logged_0x316B
Unknown_0x62A4C:
and $0F
cp $01
ld a,$02
ld [$D118],a
jp z,Logged_0x62D57
jp Logged_0x62E31
Logged_0x62A5B:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$80
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62A6E
ld a,c
add a,$10
ld c,a
Logged_0x62A6E:
ld a,[bc]
cp $80
jr nz,Logged_0x62A77
dec c
ld a,[bc]
jr Logged_0x62A78
Logged_0x62A77:
inc [hl]
Logged_0x62A78:
ld [$FF00+$A0],a
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr nc,Logged_0x62A82
inc [hl]
Logged_0x62A82:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x352B
and a
jr nz,Logged_0x62AAA
ld a,[$C0DD]
and a
jp z,Logged_0x316B
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62AAA:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$1B
ld a,[$C18C]
and a
jr nz,Unknown_0x62AC1
ld a,$01
ld [hl],a
jp Logged_0x316B
Unknown_0x62AC1:
and $0F
cp $01
ld a,$02
ld [$D118],a
jp z,Logged_0x62D57
jp Logged_0x62E31
Logged_0x62AD0:
ld hl,$D118
ld a,[hl]
and a
jr nz,Logged_0x62AE5
dec l
dec l
dec [hl]
jp nz,Logged_0x316B
ld a,$13
ld [$D11B],a
jp Logged_0x316B
Logged_0x62AE5:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp nz,Logged_0x62B70
call Logged_0x305C
ld a,[$D10E]
add a,$28
cp $F0
jr c,Logged_0x62B19
ld l,$00
res 2,[hl]
Logged_0x62B19:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x3543
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
jr z,Logged_0x62B9B
ld a,[$D10B]
cpl
inc a
ld b,a
ld hl,$D105
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
jr nz,Logged_0x62B7D
ld hl,$D105
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
jr nz,Logged_0x62B7D
ld a,$14
ld [$D11B],a
jr Logged_0x62B7D
Logged_0x62B70:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$17
ld [$D11B],a
Logged_0x62B7D:
ld hl,$D118
ld a,[$D108]
rla
ld a,[$C08F]
jr c,Logged_0x62B92
and $07
jp nz,Logged_0x316B
dec [hl]
jp Logged_0x316B
Logged_0x62B92:
and $03
jp nz,Logged_0x316B
dec [hl]
jp Logged_0x316B
Logged_0x62B9B:
ld l,$00
res 2,[hl]
ld l,$1B
ld a,[$C18C]
rra
jr nc,Logged_0x62BB3
ld a,[hl]
cp $46
jp z,Logged_0x316B
ld a,$14
ld [hl],a
jp Logged_0x316B
Logged_0x62BB3:
ld a,$17
ld [hl],a
jp Logged_0x316B
Logged_0x62BB9:
ld hl,$D118
ld a,[hl]
and a
jr nz,Logged_0x62BCE
dec l
dec l
dec [hl]
jp nz,Logged_0x316B
ld a,$13
ld [$D11B],a
jp Logged_0x316B
Logged_0x62BCE:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp nz,Logged_0x62C56
call Logged_0x3069
ld a,[$D10E]
add a,$28
cp $10
jr nc,Logged_0x62BFF
ld l,$00
res 2,[hl]
Logged_0x62BFF:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
call Logged_0x3543
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
jr z,Logged_0x62C81
ld hl,$D105
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
jr nz,Logged_0x62C63
ld a,[$D10B]
cpl
inc a
ld b,a
ld hl,$D105
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
jr nz,Logged_0x62C63
ld a,$15
ld [$D11B],a
jr Logged_0x62C63
Logged_0x62C56:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ld a,$16
ld [$D11B],a
Logged_0x62C63:
ld hl,$D118
ld a,[$D108]
rla
ld a,[$C08F]
jr c,Logged_0x62C78
and $07
jp nz,Logged_0x316B
dec [hl]
jp Logged_0x316B
Logged_0x62C78:
and $03
jp nz,Logged_0x316B
dec [hl]
jp Logged_0x316B
Logged_0x62C81:
ld l,$00
res 2,[hl]
ld l,$1B
ld a,[$C18C]
rra
jr c,Unknown_0x62C99
ld a,[hl]
cp $47
jp z,Logged_0x316B
ld a,$15
ld [hl],a
jp Logged_0x316B
Unknown_0x62C99:
ld a,$16
ld [hl],a
jp Logged_0x316B
Logged_0x62C9F:
ld hl,$D11B
ld a,$56
ld [hld],a
dec l
xor a
ld [hld],a
Logged_0x62CA8:
call Logged_0x305C
ld a,[$D10E]
add a,$28
cp $F0
jr c,Logged_0x62CB8
ld l,$00
res 2,[hl]
Logged_0x62CB8:
ld l,$19
ld a,[hl]
ld b,$42
add a,$80
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62CCA
ld a,c
add a,$10
ld c,a
Logged_0x62CCA:
ld a,[bc]
cp $80
jr nz,Logged_0x62CD3
dec c
ld a,[bc]
jr Logged_0x62CD4
Logged_0x62CD3:
inc [hl]
Logged_0x62CD4:
ld [$FF00+$A0],a
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr nc,Logged_0x62CDE
inc [hl]
Logged_0x62CDE:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
ld [$C1CA],a
call Logged_0x352B
and a
jr nz,Logged_0x62D34
ld a,[$C0DD]
and a
jr nz,Logged_0x62D2C
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x316B
ld a,$15
ld [$D11B],a
jp Logged_0x316B
Logged_0x62D2C:
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62D34:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld a,[$C18C]
and $0F
cp $01
jr z,Logged_0x62D55
ld l,$18
cp $02
jr nz,Logged_0x62D50
dec a
ld [hl],a
jr Logged_0x62D55
Logged_0x62D50:
ld a,[hl]
and a
jr z,Logged_0x62D55
dec [hl]
Logged_0x62D55:
ld l,$1B
Logged_0x62D57:
ld a,[$FF00+$A0]
cp $02
jr c,Logged_0x62D6B
cp $03
jr c,Logged_0x62D71
cp $04
jr c,Logged_0x62D77
ld a,$24
ld [hl],a
jp Logged_0x316B
Logged_0x62D6B:
ld a,$16
ld [hl],a
jp Logged_0x316B
Logged_0x62D71:
ld a,$20
ld [hl],a
jp Logged_0x316B
Logged_0x62D77:
ld a,$22
ld [hl],a
jp Logged_0x316B
Logged_0x62D7D:
ld hl,$D11B
ld a,$57
ld [hld],a
dec l
xor a
ld [hld],a
Logged_0x62D86:
call Logged_0x3069
ld a,[$D10E]
add a,$28
cp $10
jr nc,Logged_0x62D96
ld l,$00
res 2,[hl]
Logged_0x62D96:
ld l,$19
ld a,[hl]
ld b,$42
add a,$80
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62DA8
ld a,c
add a,$10
ld c,a
Logged_0x62DA8:
ld a,[bc]
cp $80
jr nz,Logged_0x62DB1
dec c
ld a,[bc]
jr Logged_0x62DB2
Logged_0x62DB1:
inc [hl]
Logged_0x62DB2:
ld [$FF00+$A0],a
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr nc,Logged_0x62DBC
inc [hl]
Logged_0x62DBC:
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
xor a
ld [$C18C],a
ld [$C1CA],a
call Logged_0x352B
and a
jr nz,Logged_0x62E0F
ld a,[$C0DD]
and a
jr nz,Logged_0x62E07
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jp z,Logged_0x316B
ld a,$14
ld [$D11B],a
jp Logged_0x316B
Logged_0x62E07:
ld a,$0A
ld [$D11B],a
jp Logged_0x316B
Logged_0x62E0F:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld a,[$C18C]
and $0F
cp $02
jr z,Logged_0x62E2F
ld l,$18
cp $01
jr nz,Logged_0x62E2A
ld [hl],a
jr Logged_0x62E2F
Logged_0x62E2A:
ld a,[hl]
and a
jr z,Logged_0x62E2F
dec [hl]
Logged_0x62E2F:
ld l,$1B
Logged_0x62E31:
ld a,[$FF00+$A0]
cp $02
jr c,Logged_0x62E45
cp $03
jr c,Logged_0x62E4B
cp $04
jr c,Logged_0x62E51
ld a,$25
ld [hl],a
jp Logged_0x316B
Logged_0x62E45:
ld a,$17
ld [hl],a
jp Logged_0x316B
Logged_0x62E4B:
ld a,$21
ld [hl],a
jp Logged_0x316B
Logged_0x62E51:
ld a,$23
ld [hl],a
jp Logged_0x316B
Logged_0x62E57:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ld hl,$D11F
ld a,$48
ld [hld],a
ld a,$60
ld [hld],a
call Logged_0x618B4
jp Logged_0x316B
Logged_0x62E6E:
call Logged_0x6189D
jp Logged_0x316B
Logged_0x62E74:
ld hl,$D11B
ld a,$54
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$06
jr nc,Logged_0x62E87
ld a,$02
Logged_0x62E87:
ld [$D116],a
Logged_0x62E8A:
ld bc,$4300
jr Logged_0x62EC3
Logged_0x62E8F:
ld hl,$D11B
ld a,$50
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$04
jr nc,Logged_0x62EA2
ld a,$01
Logged_0x62EA2:
ld [$D116],a
Logged_0x62EA5:
ld bc,$42C0
jr Logged_0x62EC3
Logged_0x62EAA:
ld hl,$D11B
ld a,$52
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$05
jr nc,Logged_0x62EBD
ld a,$02
Logged_0x62EBD:
ld [$D116],a
Logged_0x62EC0:
ld bc,$42E0
Logged_0x62EC3:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62ED3
ld a,c
add a,$10
ld c,a
Logged_0x62ED3:
ld a,[bc]
cp $80
jr nz,Logged_0x62EDC
dec c
ld a,[bc]
jr Logged_0x62EDD
Logged_0x62EDC:
inc [hl]
Logged_0x62EDD:
and a
jr z,Logged_0x62EE8
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr c,Logged_0x62EE8
dec [hl]
Logged_0x62EE8:
call Logged_0x305C
ld a,[$D10E]
add a,$28
cp $F0
jr c,Logged_0x62EF8
ld l,$00
res 2,[hl]
Logged_0x62EF8:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x62F4E
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10B]
cpl
inc a
ld b,a
ld a,[hli]
sub b
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x62F4E
ld hl,$D116
dec [hl]
jp nz,Logged_0x316B
ld a,$26
ld [$D11B],a
ld hl,$D100
res 3,[hl]
jp Logged_0x316B
Logged_0x62F4E:
ld a,$27
ld [$D11B],a
ld hl,$D100
res 3,[hl]
jp Logged_0x316B
Logged_0x62F5B:
ld hl,$D11B
ld a,$55
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$06
jr nc,Logged_0x62F6E
ld a,$02
Logged_0x62F6E:
ld [$D116],a
Logged_0x62F71:
ld bc,$4300
jr Logged_0x62FAA
Logged_0x62F76:
ld hl,$D11B
ld a,$51
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$04
jr nc,Logged_0x62F89
ld a,$01
Logged_0x62F89:
ld [$D116],a
Logged_0x62F8C:
ld bc,$42C0
jr Logged_0x62FAA
Logged_0x62F91:
ld hl,$D11B
ld a,$53
ld [hld],a
dec l
xor a
ld [hld],a
ld a,[$D108]
rla
ld a,$05
jr nc,Logged_0x62FA4
ld a,$02
Logged_0x62FA4:
ld [$D116],a
Logged_0x62FA7:
ld bc,$42E0
Logged_0x62FAA:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[$D108]
rla
jr nc,Logged_0x62FBA
ld a,c
add a,$10
ld c,a
Logged_0x62FBA:
ld a,[bc]
cp $80
jr nz,Logged_0x62FC3
dec c
ld a,[bc]
jr Logged_0x62FC4
Logged_0x62FC3:
inc [hl]
Logged_0x62FC4:
and a
jr z,Logged_0x62FCF
ld l,$03
ld c,[hl]
add a,c
ld [hli],a
jr c,Logged_0x62FCF
dec [hl]
Logged_0x62FCF:
call Logged_0x3069
ld a,[$D10E]
add a,$28
cp $10
jr nc,Logged_0x62FDF
ld l,$00
res 2,[hl]
Logged_0x62FDF:
ld a,[$D109]
cpl
inc a
ld b,a
ld hl,$D103
ld a,[hli]
sub b
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hli]
ld [$FF00+$AA],a
call Logged_0x358B
and $0F
jr nz,Logged_0x63032
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[$D10C]
add a,[hl]
ld [$FF00+$AB],a
inc l
ld a,[hl]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x63032
ld hl,$D116
dec [hl]
jp nz,Logged_0x316B
ld a,$27
ld [$D11B],a
ld hl,$D100
res 3,[hl]
jp Logged_0x316B
Logged_0x63032:
ld a,$26
ld [$D11B],a
ld hl,$D100
res 3,[hl]
jp Logged_0x316B
Logged_0x6303F:
ld hl,$D11B
ld a,$1B
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$07
ld [$D116],a
jp Logged_0x316B
Logged_0x63050:
ld hl,$D116
dec [hl]
jp nz,Logged_0x629A6
ld a,$11
ld [$D11B],a
jp Logged_0x316B
Logged_0x6305F:
ld a,[rDIV]
rra
jr c,Logged_0x63068
ld a,$39
jr Logged_0x6306A
Logged_0x63068:
ld a,$38
Logged_0x6306A:
ld hl,$D11B
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$01
ld [hld],a
dec l
ld a,$04
ld [hli],a
jp Logged_0x316B
Logged_0x6307B:
ld hl,$D103
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$CAC4
ld a,[hli]
ld l,[hl]
ld h,a
push bc
push de
push hl
ld a,c
add a,$18
ld c,a
jr nc,Logged_0x63097
inc b
jr z,Logged_0x630A3
Logged_0x63097:
ld a,b
cp h
jr c,Logged_0x630FD
jr nz,Logged_0x630A3
ld a,c
cp l
jr c,Logged_0x630FD
jr z,Logged_0x630BF
Logged_0x630A3:
ld a,l
add a,$90
ld l,a
jr nc,Logged_0x630AA
inc h
Logged_0x630AA:
ld a,c
sub $38
ld c,a
jr nc,Logged_0x630B5
dec b
ld a,b
inc a
jr z,Logged_0x630BF
Logged_0x630B5:
ld a,b
cp h
jr c,Logged_0x630BF
jr nz,Logged_0x630FD
ld a,c
cp l
jr nc,Logged_0x630FD
Logged_0x630BF:
ld hl,$CAC6
ld a,[hli]
ld l,[hl]
ld h,a
ld a,e
add a,$18
ld e,a
jr nc,Logged_0x630CE
inc d
jr z,Logged_0x630F6
Logged_0x630CE:
ld a,d
cp h
jr c,Logged_0x63106
jr nz,Logged_0x630DA
ld a,e
cp l
jr c,Logged_0x63106
jr z,Logged_0x630F6
Logged_0x630DA:
ld a,l
add a,$A0
ld l,a
jr nc,Logged_0x630E1
inc h
Logged_0x630E1:
ld a,e
sub $30
ld e,a
jr nc,Logged_0x630EC
dec d
ld a,d
inc a
jr z,Logged_0x630F6
Logged_0x630EC:
ld a,d
cp h
jr c,Logged_0x630F6
jr nz,Logged_0x63106
ld a,e
cp l
jr nc,Logged_0x63106
Logged_0x630F6:
ld hl,$D100
set 1,[hl]
jr Logged_0x6310B
Logged_0x630FD:
ld a,[$D11B]
and $FE
cp $48
jr z,Logged_0x6310B
Logged_0x63106:
ld hl,$D100
res 1,[hl]
Logged_0x6310B:
pop hl
pop de
pop bc
ld a,d
rla
jr c,Logged_0x6317E
ld a,b
rla
jr c,Logged_0x6317E
ld a,c
add a,$5C
ld c,a
jr nc,Logged_0x6311F
inc b
jr z,Logged_0x63147
Logged_0x6311F:
ld a,b
cp h
jr c,Logged_0x6317E
jr nz,Logged_0x6312B
ld a,c
cp l
jr c,Logged_0x6317E
jr z,Logged_0x63147
Logged_0x6312B:
ld a,l
add a,$90
ld l,a
jr nc,Logged_0x63132
inc h
Logged_0x63132:
ld a,c
sub $CB
ld c,a
jr nc,Logged_0x6313D
dec b
ld a,b
inc a
jr z,Logged_0x63147
Logged_0x6313D:
ld a,b
cp h
jr c,Logged_0x63147
jr nz,Logged_0x6317E
ld a,c
cp l
jr nc,Logged_0x6317E
Logged_0x63147:
ld hl,$CAC6
ld a,[hli]
ld l,[hl]
ld h,a
ld a,e
add a,$6F
ld e,a
jr nc,Logged_0x63156
inc d
jr z,Logged_0x631A0
Logged_0x63156:
ld a,d
cp h
jr c,Logged_0x6317E
jr nz,Logged_0x63162
ld a,e
cp l
jr c,Logged_0x6317E
jr z,Logged_0x631A0
Logged_0x63162:
ld a,l
add a,$A0
ld l,a
jr nc,Logged_0x63169
inc h
Logged_0x63169:
ld a,e
sub $DE
ld e,a
jr nc,Logged_0x63174
dec d
ld a,d
inc a
jr z,Logged_0x631A0
Logged_0x63174:
ld a,d
cp h
jr c,Logged_0x631A0
jr nz,Logged_0x6317E
ld a,e
cp l
jr c,Logged_0x631A0
Logged_0x6317E:
ld a,[$D11A]
and $1F
cp $10
ret nc
ld hl,$D102
and a
jr z,Logged_0x6319C
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x6319C:
xor a
ld [$D100],a
Logged_0x631A0:
ret
Logged_0x631A1:
ld hl,$D117
dec [hl]
ret nz
inc l
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
and a
jr nz,Logged_0x631B1
ld h,d
ld l,e
ld a,[hli]
Logged_0x631B1:
ld [$D117],a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,l
ld [$D118],a
ld a,h
ld [$D119],a
ld hl,$D103
ld a,c
cp $80
jr nc,Logged_0x631D0
ld a,[hl]
add a,c
ld [hli],a
jr nc,Logged_0x631D6
inc [hl]
jr Logged_0x631D6
Logged_0x631D0:
ld a,[hl]
add a,c
ld [hli],a
jr c,Logged_0x631D6
dec [hl]
Logged_0x631D6:
inc l
ld a,b
cp $80
jr nc,Logged_0x631E2
ld a,[hl]
add a,b
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x631E2:
ld a,[hl]
add a,b
ld [hli],a
ret c
dec [hl]
ret
Logged_0x631E8:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x631F7
dec c
ld a,[bc]
jr Logged_0x631F8
Logged_0x631F7:
inc [hl]
Logged_0x631F8:
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x63204
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x63204:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x63209:
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x63218
dec c
ld a,[bc]
jr Logged_0x63219
Logged_0x63218:
inc [hl]
Logged_0x63219:
ld b,a
ld l,$03
cp $80
ld c,[hl]
jr nc,Unknown_0x63228
add a,c
ld [hli],a
jr nc,Logged_0x6322D
inc [hl]
jr Logged_0x6322D
Unknown_0x63228:
add a,c
ld [hli],a
jr c,Logged_0x6322D
dec [hl]
Logged_0x6322D:
ld l,$00
bit 5,[hl]
ret z
res 5,[hl]
call Logged_0x1287
ld a,$06
ld [$FF00+$85],a
ld a,$20
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x63247:
ld hl,$D118
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x63256
dec c
ld a,[bc]
jr Logged_0x63257
Logged_0x63256:
inc [hl]
Logged_0x63257:
ld l,$05
cp $80
ld c,[hl]
jr nc,Logged_0x63263
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x63263:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x63268:
ld e,c
ld hl,$D119
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x63278
xor a
ld [hl],a
ld c,e
ld a,[bc]
Logged_0x63278:
inc [hl]
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x63285
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x63285:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x6328A:
ld e,c
ld hl,$D118
ld a,[hl]
add a,c
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x6329A
xor a
ld [hl],a
ld c,e
ld a,[bc]
Logged_0x6329A:
inc [hl]
ld l,$05
cp $80
ld c,[hl]
jr nc,Logged_0x632A7
add a,c
ld [hli],a
ret nc
inc [hl]
ret
Logged_0x632A7:
add a,c
ld [hli],a
ret c
dec [hl]
ret
Logged_0x632AC:
ld hl,$D101
ld a,[hli]
ld c,a
ld b,[hl]
ld e,$00
ld d,$41
ld h,$D0
ld l,$00
ld a,[hli]
and d
cp d
jr nz,Logged_0x632C8
ld a,[hli]
cp c
jr nz,Logged_0x632C8
ld a,[hl]
cp b
jr nz,Logged_0x632C8
inc e
Logged_0x632C8:
ld l,$20
ld a,[hli]
and d
cp d
jr nz,Logged_0x632D8
ld a,[hli]
cp c
jr nz,Logged_0x632D8
ld a,[hl]
cp b
jr nz,Logged_0x632D8
inc e
Logged_0x632D8:
ld l,$40
ld a,[hli]
and d
cp d
jr nz,Logged_0x632E8
ld a,[hli]
cp c
jr nz,Logged_0x632E8
ld a,[hl]
cp b
jr nz,Logged_0x632E8
inc e
Logged_0x632E8:
ld l,$60
ld a,[hli]
and d
cp d
jr nz,Logged_0x632F8
ld a,[hli]
cp c
jr nz,Logged_0x632F8
ld a,[hl]
cp b
jr nz,Logged_0x632F8
inc e
Logged_0x632F8:
ld l,$80
ld a,[hli]
and d
cp d
jr nz,Logged_0x63308
ld a,[hli]
cp c
jr nz,Logged_0x63308
ld a,[hl]
cp b
jr nz,Logged_0x63308
inc e
Logged_0x63308:
ld l,$A0
ld a,[hli]
and d
cp d
jr nz,Logged_0x63318
ld a,[hli]
cp c
jr nz,Logged_0x63318
ld a,[hl]
cp b
jr nz,Logged_0x63318
inc e
Logged_0x63318:
ld l,$C0
ld a,[hli]
and d
cp d
jr nz,Logged_0x63328
ld a,[hli]
cp c
jr nz,Logged_0x63328
ld a,[hl]
cp b
jr nz,Logged_0x63328
inc e
Logged_0x63328:
ld l,$E0
ld a,[hli]
and d
cp d
jr nz,Logged_0x63338
ld a,[hli]
cp c
jr nz,Logged_0x63338
ld a,[hl]
cp b
jr nz,Logged_0x63338
inc e
Logged_0x63338:
ret
Logged_0x63339:
ld e,$00
ld d,$41
ld a,[$D000]
and d
cp d
jr nz,Logged_0x63345
inc e
Logged_0x63345:
ld a,[$D020]
and d
cp d
jr nz,Logged_0x6334D
inc e
Logged_0x6334D:
ld a,[$D040]
and d
cp d
jr nz,Logged_0x63355
inc e
Logged_0x63355:
ld a,[$D060]
and d
cp d
jr nz,Logged_0x6335D
inc e
Logged_0x6335D:
ld a,[$D080]
and d
cp d
jr nz,Logged_0x63365
inc e
Logged_0x63365:
ld a,[$D0A0]
and d
cp d
jr nz,Logged_0x6336D
inc e
Logged_0x6336D:
ld a,[$D0C0]
and d
cp d
jr nz,Logged_0x63375
inc e
Logged_0x63375:
ld a,[$D0E0]
and d
cp d
jr nz,Logged_0x6337D
inc e
Logged_0x6337D:
ret
xor a
ld [$D100],a
ret
ld a,[$C08F]
dec a
and $3F
jr nz,Logged_0x633A0
ld hl,$D108
ld a,[hl]
and $80
or $4A
ld [hli],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
ld a,$08
jr Logged_0x633A2
Logged_0x633A0:
ld a,$00
Logged_0x633A2:
ld [$D10F],a
ld hl,$D11F
ld a,$73
ld [hld],a
ld a,$B2
ld [hld],a
ld l,$00
set 3,[hl]
ld hl,$D114
ld a,$02
ld [hli],a
ld a,[hl]
and a
jr z,Logged_0x633C1
ld a,[$C08F]
rra
ret c
Logged_0x633C1:
ld hl,$D117
ld a,[hl]
cp $96
jr c,Logged_0x633CD
ld b,$04
jr Logged_0x633E1
Logged_0x633CD:
inc a
ld [hl],a
cp $64
jr c,Logged_0x633D7
ld b,$03
jr Logged_0x633E1
Logged_0x633D7:
cp $32
jr c,Logged_0x633DF
ld b,$02
jr Logged_0x633E1
Logged_0x633DF:
ld b,$01
Logged_0x633E1:
ld l,$12
dec [hl]
jr nz,Logged_0x633F9
ld a,b
ld [hli],a
dec [hl]
jr nz,Logged_0x633F6
ld b,$08
ld [hl],b
ld l,$0F
ld a,[hl]
sub $07
ld [hl],a
jr Logged_0x633F9
Logged_0x633F6:
ld l,$0F
inc [hl]
Logged_0x633F9:
ld a,[$D11B]
rst JumpList
dw Logged_0x63494
dw Logged_0x6356D
dw Logged_0x634A2
dw Logged_0x6357B
dw Logged_0x634CC
dw Logged_0x635A5
dw Logged_0x634DA
dw Logged_0x635B3
dw Logged_0x6345B
dw Logged_0x63534
dw Logged_0x63469
dw Logged_0x63542
dw Logged_0x6360D
dw Logged_0x636B6
dw Logged_0x63616
dw Logged_0x636BF
dw Logged_0x6375F
dw Logged_0x637E3
dw Logged_0x63867
dw Logged_0x6387E
dw Logged_0x638DA
dw Logged_0x638E3
dw Logged_0x638A4
dw Logged_0x638BB
dw Logged_0x638D5
dw Logged_0x63433
dw Logged_0x63441
Logged_0x63433:
ld hl,$D11C
ld a,$8F
ld [hld],a
ld a,$1A
ld [hl],a
ld l,$00
set 3,[hl]
ret
Logged_0x63441:
ld c,$2A
ld a,[$CA88]
add a,c
ld b,a
ld a,[$D10E]
add a,c
sub b
jr c,Logged_0x63455
ld a,$07
ld [$D11B],a
ret
Logged_0x63455:
ld a,$06
ld [$D11B],a
ret
Logged_0x6345B:
ld hl,$D11B
ld a,$0A
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$06
ld [$D116],a
Logged_0x63469:
ld hl,$D119
ld a,[hl]
ld b,$43
add a,$00
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x6347B
dec c
ld a,[bc]
jr Logged_0x6347C
Logged_0x6347B:
inc [hl]
Logged_0x6347C:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x6348C
add a,c
ld [hli],a
jr nc,Logged_0x63491
inc [hl]
jr Logged_0x63491
Logged_0x6348C:
add a,c
ld [hli],a
jr c,Logged_0x63491
dec [hl]
Logged_0x63491:
jp Logged_0x63502
Logged_0x63494:
ld hl,$D11B
ld a,$02
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$04
ld [$D116],a
Logged_0x634A2:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$C0
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x634B4
dec c
ld a,[bc]
jr Logged_0x634B5
Logged_0x634B4:
inc [hl]
Logged_0x634B5:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x634C5
add a,c
ld [hli],a
jr nc,Logged_0x634CA
inc [hl]
jr Logged_0x634CA
Logged_0x634C5:
add a,c
ld [hli],a
jr c,Logged_0x634CA
dec [hl]
Logged_0x634CA:
jr Logged_0x63502
Logged_0x634CC:
ld hl,$D11B
ld a,$06
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$05
ld [$D116],a
Logged_0x634DA:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$E0
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x634EC
dec c
ld a,[bc]
jr Logged_0x634ED
Logged_0x634EC:
inc [hl]
Logged_0x634ED:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x634FD
add a,c
ld [hli],a
jr nc,Logged_0x63502
inc [hl]
jr Logged_0x63502
Logged_0x634FD:
add a,c
ld [hli],a
jr c,Logged_0x63502
dec [hl]
Logged_0x63502:
call Logged_0x305C
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x6352E
ld hl,$D116
dec [hl]
ret nz
ld a,$0C
ld [$D11B],a
ret
Logged_0x6352E:
ld a,$0D
ld [$D11B],a
ret
Logged_0x63534:
ld hl,$D11B
ld a,$0B
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$06
ld [$D116],a
Logged_0x63542:
ld hl,$D119
ld a,[hl]
ld b,$43
add a,$00
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x63554
dec c
ld a,[bc]
jr Logged_0x63555
Logged_0x63554:
inc [hl]
Logged_0x63555:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x63565
add a,c
ld [hli],a
jr nc,Logged_0x6356A
inc [hl]
jr Logged_0x6356A
Logged_0x63565:
add a,c
ld [hli],a
jr c,Logged_0x6356A
dec [hl]
Logged_0x6356A:
jp Logged_0x635DB
Logged_0x6356D:
ld hl,$D11B
ld a,$03
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$04
ld [$D116],a
Logged_0x6357B:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$C0
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x6358D
dec c
ld a,[bc]
jr Logged_0x6358E
Logged_0x6358D:
inc [hl]
Logged_0x6358E:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x6359E
add a,c
ld [hli],a
jr nc,Logged_0x635A3
inc [hl]
jr Logged_0x635A3
Logged_0x6359E:
add a,c
ld [hli],a
jr c,Logged_0x635A3
dec [hl]
Logged_0x635A3:
jr Logged_0x635DB
Logged_0x635A5:
ld hl,$D11B
ld a,$07
ld [hld],a
dec l
xor a
ld [hld],a
ld a,$05
ld [$D116],a
Logged_0x635B3:
ld hl,$D119
ld a,[hl]
ld b,$42
add a,$E0
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x635C5
dec c
ld a,[bc]
jr Logged_0x635C6
Logged_0x635C5:
inc [hl]
Logged_0x635C6:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x635D6
add a,c
ld [hli],a
jr nc,Logged_0x635DB
inc [hl]
jr Logged_0x635DB
Logged_0x635D6:
add a,c
ld [hli],a
jr c,Logged_0x635DB
dec [hl]
Logged_0x635DB:
call Logged_0x3069
ld hl,$D103
ld a,[hli]
sub $08
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x63607
ld hl,$D116
dec [hl]
ret nz
ld a,$0D
ld [$D11B],a
ret
Logged_0x63607:
ld a,$0C
ld [$D11B],a
ret
Logged_0x6360D:
ld hl,$D11B
ld a,$0E
ld [hld],a
dec l
xor a
ld [hld],a
Logged_0x63616:
call Logged_0x305C
ld l,$19
ld a,[hl]
ld b,$42
add a,$80
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x6362A
dec c
ld a,[bc]
jr Logged_0x6362B
Logged_0x6362A:
inc [hl]
Logged_0x6362B:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Unknown_0x6363B
add a,c
ld [hli],a
jr nc,Logged_0x63640
inc [hl]
jr Logged_0x63640
Unknown_0x6363B:
add a,c
ld [hli],a
jr c,Logged_0x63640
dec [hl]
Logged_0x63640:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x63680
ld a,[$C0DD]
and a
jr z,Logged_0x6365D
ld [$D115],a
Logged_0x6365D:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
ret z
ld a,$0D
ld [$D11B],a
ret
Logged_0x63680:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$18
ld a,[hl]
and a
jr z,Logged_0x63690
dec [hl]
Logged_0x63690:
ld a,[$FF00+$A0]
cp $02
jr c,Logged_0x636A4
cp $03
jr c,Logged_0x636AA
cp $04
jr c,Logged_0x636B0
ld a,$08
ld [$D11B],a
ret
Logged_0x636A4:
ld a,$10
ld [$D11B],a
ret
Logged_0x636AA:
ld a,$00
ld [$D11B],a
ret
Logged_0x636B0:
ld a,$04
ld [$D11B],a
ret
Logged_0x636B6:
ld hl,$D11B
ld a,$0F
ld [hld],a
dec l
xor a
ld [hld],a
Logged_0x636BF:
call Logged_0x3069
ld l,$19
ld a,[hl]
ld b,$42
add a,$80
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x636D3
dec c
ld a,[bc]
jr Logged_0x636D4
Logged_0x636D3:
inc [hl]
Logged_0x636D4:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Unknown_0x636E4
add a,c
ld [hli],a
jr nc,Logged_0x636E9
inc [hl]
jr Logged_0x636E9
Unknown_0x636E4:
add a,c
ld [hli],a
jr c,Logged_0x636E9
dec [hl]
Logged_0x636E9:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr nz,Logged_0x63729
ld a,[$C0DD]
and a
jr z,Logged_0x63706
ld [$D115],a
Logged_0x63706:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
ret z
ld a,$0C
ld [$D11B],a
ret
Logged_0x63729:
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld l,$18
ld a,[hl]
and a
jr z,Logged_0x63739
dec [hl]
Logged_0x63739:
ld a,[$FF00+$A0]
cp $02
jr c,Logged_0x6374D
cp $03
jr c,Logged_0x63753
cp $04
jr c,Logged_0x63759
ld a,$09
ld [$D11B],a
ret
Logged_0x6374D:
ld a,$11
ld [$D11B],a
ret
Logged_0x63753:
ld a,$01
ld [$D11B],a
ret
Logged_0x63759:
ld a,$05
ld [$D11B],a
ret
Logged_0x6375F:
ld hl,$D118
ld a,[hl]
and a
jr nz,Logged_0x6376C
ld a,$12
ld [$D11B],a
ret
Logged_0x6376C:
ld a,[$C08F]
and $1F
jr nz,Logged_0x63774
dec [hl]
Logged_0x63774:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x637DD
call Logged_0x305C
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ret z
ld hl,$D105
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld hl,$D105
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld a,$0C
ld [$D11B],a
ret
Logged_0x637DD:
ld a,$11
ld [$D11B],a
ret
Logged_0x637E3:
ld hl,$D118
ld a,[hl]
and a
jr nz,Logged_0x637F0
ld a,$12
ld [$D11B],a
ret
Logged_0x637F0:
ld a,[$C08F]
and $1F
jr nz,Logged_0x637F8
dec [hl]
Logged_0x637F8:
ld hl,$D103
ld a,[hli]
sub $04
ld [$FF00+$A9],a
ld a,[hli]
sbc a,$00
ld [$FF00+$A8],a
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x3513
and $0F
jr nz,Logged_0x63861
call Logged_0x3069
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
cp $10
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ret z
ld hl,$D105
ld a,[hli]
add a,$03
ld [$FF00+$AB],a
ld a,[hli]
adc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld hl,$D105
ld a,[hli]
sub $04
ld [$FF00+$AB],a
ld a,[hli]
sbc a,$00
ld [$FF00+$AA],a
call Logged_0x35A3
and a
ret nz
ld a,$0D
ld [$D11B],a
ret
Logged_0x63861:
ld a,$10
ld [$D11B],a
ret
Logged_0x63867:
ld a,$13
ld [$D11B],a
ld a,[$D115]
and a
jr nz,Logged_0x63878
ld a,$64
ld [$D116],a
ret
Logged_0x63878:
ld a,$32
ld [$D116],a
ret
Logged_0x6387E:
ld hl,$D116
dec [hl]
jr z,Logged_0x6389E
ld hl,$D103
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x3543
and a
ret nz
ld a,$14
ld [$D11B],a
ret
Logged_0x6389E:
ld a,$16
ld [$D11B],a
ret
Logged_0x638A4:
ld a,$17
ld [$D11B],a
ld a,[$D115]
and a
jr nz,Logged_0x638B5
ld a,$64
ld [$D116],a
ret
Logged_0x638B5:
ld a,$32
ld [$D116],a
ret
Logged_0x638BB:
ld hl,$D116
ld a,[hl]
and a
jr z,Logged_0x638D5
dec a
ld [hl],a
and $03
ld l,$00
ld a,[hl]
jr nz,Logged_0x638D1
res 1,a
set 4,a
ld [hl],a
ret
Logged_0x638D1:
res 4,a
ld [hl],a
ret
Logged_0x638D5:
xor a
ld [$D100],a
ret
Logged_0x638DA:
ld hl,$D11B
ld a,$15
ld [hld],a
dec l
xor a
ld [hld],a
Logged_0x638E3:
ld hl,$D119
ld a,[hl]
ld b,$40
add a,$40
ld c,a
ld a,[bc]
cp $80
jr nz,Logged_0x638F5
dec c
ld a,[bc]
jr Logged_0x638F6
Logged_0x638F5:
inc [hl]
Logged_0x638F6:
ld [$FF00+$A0],a
ld l,$03
cp $80
ld c,[hl]
jr nc,Logged_0x63906
add a,c
ld [hli],a
jr nc,Logged_0x6390B
inc [hl]
jr Logged_0x6390B
Logged_0x63906:
add a,c
ld [hli],a
jr c,Logged_0x6390B
dec [hl]
Logged_0x6390B:
ld l,$03
ld a,[hli]
ld [$FF00+$A9],a
ld a,[hli]
ld [$FF00+$A8],a
ld a,[hli]
ld [$FF00+$AB],a
ld a,[hl]
ld [$FF00+$AA],a
call Logged_0x352B
and a
jr z,Logged_0x6392D
ld hl,$D103
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hl],a
ld a,$12
ld [$D11B],a
Logged_0x6392D:
ld a,[$C0DD]
and a
ret z
ld [$D115],a
ret
Unknown_0x63936:
INCBIN "baserom.gbc", $63936, $64000 - $63936
SECTION "Bank19", ROMX, BANK[$19]
ld hl,$D120
ld bc,$43C3
ld e,$10
Logged_0x64008:
ld a,c
ld [hli],a
ld a,b
ld [hli],a
dec e
jr nz,Logged_0x64008
ld a,[$C0C8]
cp $F0
jp z,Logged_0x643A1
ld d,$00
ld e,a
sla e
rl d
sla e
rl d
ld hl,$5009
add hl,de
ld a,[hli]
ld c,a
ld a,[hli]
push hl
ld h,a
ld l,c
ld de,$D120
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
ld de,$C058
ld b,$08
call Logged_0x1A2D
pop hl
ld a,[hli]
ld c,a
ld h,[hl]
ld l,c
ld a,$01
ld [rVBK],a
ld a,[hli]
ld [$FF00+$A0],a
ld a,[hli]
ld c,a
ld a,[hli]
push hl
ld h,a
ld l,c
ld bc,_VRAM
ld a,[$FF00+$A0]
ld e,$68
add a,e
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[hli]
ld c,a
ld a,[hli]
push hl
ld h,a
ld l,c
ld bc,$8400
ld a,[$FF00+$A0]
ld e,$69
add a,e
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[hli]
ld c,a
ld a,[hli]
push hl
ld h,a
ld l,c
ld bc,$8800
ld a,[$FF00+$A0]
ld e,$6A
add a,e
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
pop hl
ld a,[hli]
ld c,a
ld a,[hli]
push hl
ld h,a
ld l,c
ld bc,$8C00
ld a,[$FF00+$A0]
ld e,$6B
add a,e
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
pop hl
xor a
ld [rVBK],a
ld a,$0D
ld [$FF00+$A0],a
ld de,$D126
Logged_0x640CE:
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
inc a
jr z,Logged_0x640E2
ld a,c
ld [de],a
inc e
ld a,b
ld [de],a
inc e
ld a,[$FF00+$A0]
dec a
ld [$FF00+$A0],a
jr nz,Logged_0x640CE
Logged_0x640E2:
jp Logged_0x1A34
ld a,[$FF00+$AA]
cp $0A
ret nc
ld h,$D0
ld l,$00
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$20
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$40
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$60
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$80
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$A0
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$C0
ld a,[hli]
rra
jr nc,Logged_0x6411D
ld l,$E0
ld a,[hli]
rra
jr nc,Logged_0x6411D
ret
Logged_0x6411D:
ld a,[de]
rlca
ret nc
rrca
and $7F
ld [de],a
ld [hl],e
inc l
ld a,[$CCEC]
dec a
add a,a
add a,a
add a,a
add a,a
add a,a
add a,d
ld [hli],a
ld a,[$FF00+$A9]
ld [hli],a
ld a,[$FF00+$A8]
ld [hli],a
ld a,[$FF00+$AB]
ld [hli],a
ld a,[$FF00+$AA]
ld [hli],a
push hl
ld hl,$D120
dec c
sla c
ld b,$00
add hl,bc
ld a,[hli]
ld h,[hl]
ld l,a
pop de
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
xor a
ld [de],a
ld a,e
add a,$05
ld e,a
xor a
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
ld a,e
add a,$03
ld e,a
ld a,$7F
ld [de],a
ld a,e
add a,$06
ld e,a
ld a,$21
ld [de],a
inc e
xor a
ld [de],a
inc e
ld a,$82
ld [de],a
inc e
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
ld a,e
sub $1F
ld e,a
ld a,[hl]
or $11
ld [de],a
ret
ld h,$D0
ld l,$00
ld a,[hl]
rra
jr nc,Logged_0x641A9
rla
rla
rla
jr nc,Logged_0x64198
xor a
ld [hl],a
jr Logged_0x641A9
Logged_0x64198:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x641A9:
ld l,$20
ld a,[hl]
rra
jr nc,Logged_0x641C9
rla
rla
rla
jr nc,Logged_0x641B8
xor a
ld [hl],a
jr Logged_0x641C9
Logged_0x641B8:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x641C9:
ld l,$40
ld a,[hl]
rra
jr nc,Logged_0x641E9
rla
rla
rla
jr nc,Logged_0x641D8
xor a
ld [hl],a
jr Logged_0x641E9
Logged_0x641D8:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x641E9:
ld l,$60
ld a,[hl]
rra
jr nc,Logged_0x64209
rla
rla
rla
jr nc,Logged_0x641F8
xor a
ld [hl],a
jr Logged_0x64209
Logged_0x641F8:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x64209:
ld l,$80
ld a,[hl]
rra
jr nc,Logged_0x64229
rla
rla
rla
jr nc,Logged_0x64218
xor a
ld [hl],a
jr Logged_0x64229
Logged_0x64218:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x64229:
ld l,$A0
ld a,[hl]
rra
jr nc,Logged_0x64249
rla
rla
rla
jr nc,Logged_0x64238
xor a
ld [hl],a
jr Logged_0x64249
Logged_0x64238:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x64249:
ld l,$C0
ld a,[hl]
rra
jr nc,Logged_0x64269
rla
rla
rla
jr nc,Logged_0x64258
xor a
ld [hl],a
jr Logged_0x64269
Logged_0x64258:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x64269:
ld l,$E0
ld a,[hl]
rra
jr nc,Logged_0x64289
rla
rla
rla
jr nc,Logged_0x64278
xor a
ld [hl],a
jr Logged_0x64289
Logged_0x64278:
inc l
inc l
ld a,$02
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$7A
ld [$FF00+$8E],a
call $FF80
Logged_0x64289:
ret
Logged_0x6428A:
ld h,$D0
ld l,$00
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$20
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$40
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$60
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$80
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$A0
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$C0
ld a,[hl]
rra
jr nc,Logged_0x642BD
ld l,$E0
ld a,[hl]
rra
jr nc,Logged_0x642BD
ret
Logged_0x642BD:
ld a,$41
ld [hli],a
ld a,[$D101]
ld [hli],a
ld a,[$D102]
ld [hli],a
ld a,[$D103]
ld [hli],a
ld a,[$D104]
ld [hli],a
ld a,[$D105]
ld [hli],a
ld a,[$D106]
jr Logged_0x64352
Logged_0x642D9:
ld h,$D0
ld l,$00
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$20
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$40
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$60
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$80
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$A0
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$C0
ld a,[hl]
rra
jr nc,Logged_0x6430C
ld l,$E0
ld a,[hl]
rra
jr nc,Logged_0x6430C
ret
Logged_0x6430C:
ld a,$41
ld [hli],a
ld a,[$D101]
ld [hli],a
ld a,[$D102]
ld [hli],a
ld a,[$D103]
ld e,a
ld a,[bc]
rla
jr c,Logged_0x6432A
rra
add a,e
ld [hli],a
ld a,[$D104]
jr nc,Logged_0x64333
inc a
jr Logged_0x64333
Logged_0x6432A:
rra
add a,e
ld [hli],a
ld a,[$D104]
jr c,Logged_0x64333
dec a
Logged_0x64333:
ld [hli],a
inc bc
ld a,[$D105]
ld e,a
ld a,[bc]
rla
jr c,Logged_0x64348
rra
add a,e
ld [hli],a
ld a,[$D106]
jr nc,Logged_0x64351
inc a
jr Logged_0x64351
Logged_0x64348:
rra
add a,e
ld [hli],a
ld a,[$D106]
jr c,Logged_0x64351
dec a
Logged_0x64351:
inc bc
Logged_0x64352:
ld [hli],a
ld e,l
ld d,h
ld l,c
ld h,b
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
inc e
inc e
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
xor a
ld [de],a
inc e
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
xor a
ld [de],a
inc e
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
ld a,e
sub $1F
ld e,a
ld a,[hl]
or $41
ld [de],a
ret
Logged_0x643A1:
ld hl,$43BF
ld a,$0D
ld [$FF00+$A0],a
ld de,$D126
Logged_0x643AB:
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
inc a
ret z
ld a,c
ld [de],a
inc e
ld a,b
ld [de],a
inc e
ld a,[$FF00+$A0]
dec a
ld [$FF00+$A0],a
jr nz,Logged_0x643AB
ret
LoggedData_0x643BF:
INCBIN "baserom.gbc", $643BF, $64453 - $643BF
Unknown_0x64453:
INCBIN "baserom.gbc", $64453, $6445B - $64453
LoggedData_0x6445B:
INCBIN "baserom.gbc", $6445B, $64563 - $6445B
Unknown_0x64563:
INCBIN "baserom.gbc", $64563, $6456B - $64563
LoggedData_0x6456B:
INCBIN "baserom.gbc", $6456B, $647B5 - $6456B
Unknown_0x647B5:
INCBIN "baserom.gbc", $647B5, $647DF - $647B5
LoggedData_0x647DF:
INCBIN "baserom.gbc", $647DF, $648B1 - $647DF
Unknown_0x648B1:
INCBIN "baserom.gbc", $648B1, $648C6 - $648B1
LoggedData_0x648C6:
INCBIN "baserom.gbc", $648C6, $64998 - $648C6
Unknown_0x64998:
INCBIN "baserom.gbc", $64998, $649C2 - $64998
LoggedData_0x649C2:
INCBIN "baserom.gbc", $649C2, $649D7 - $649C2
Unknown_0x649D7:
INCBIN "baserom.gbc", $649D7, $649EC - $649D7
LoggedData_0x649EC:
INCBIN "baserom.gbc", $649EC, $64A16 - $649EC
Unknown_0x64A16:
INCBIN "baserom.gbc", $64A16, $64A2B - $64A16
LoggedData_0x64A2B:
INCBIN "baserom.gbc", $64A2B, $64BCF - $64A2B
Unknown_0x64BCF:
INCBIN "baserom.gbc", $64BCF, $64C0E - $64BCF
LoggedData_0x64C0E:
INCBIN "baserom.gbc", $64C0E, $64C62 - $64C0E
Unknown_0x64C62:
INCBIN "baserom.gbc", $64C62, $64C8C - $64C62
LoggedData_0x64C8C:
INCBIN "baserom.gbc", $64C8C, $64CCB - $64C8C
Unknown_0x64CCB:
INCBIN "baserom.gbc", $64CCB, $64CE0 - $64CCB
LoggedData_0x64CE0:
INCBIN "baserom.gbc", $64CE0, $64E30 - $64CE0
Unknown_0x64E30:
INCBIN "baserom.gbc", $64E30, $64E5A - $64E30
LoggedData_0x64E5A:
INCBIN "baserom.gbc", $64E5A, $65009 - $64E5A
Unknown_0x65009:
INCBIN "baserom.gbc", $65009, $6500D - $65009
LoggedData_0x6500D:
INCBIN "baserom.gbc", $6500D, $65019 - $6500D
Unknown_0x65019:
INCBIN "baserom.gbc", $65019, $65021 - $65019
LoggedData_0x65021:
INCBIN "baserom.gbc", $65021, $65049 - $65021
Unknown_0x65049:
INCBIN "baserom.gbc", $65049, $6504D - $65049
LoggedData_0x6504D:
INCBIN "baserom.gbc", $6504D, $650A5 - $6504D
Unknown_0x650A5:
INCBIN "baserom.gbc", $650A5, $650A9 - $650A5
LoggedData_0x650A9:
INCBIN "baserom.gbc", $650A9, $650C1 - $650A9
Unknown_0x650C1:
INCBIN "baserom.gbc", $650C1, $650C5 - $650C1
LoggedData_0x650C5:
INCBIN "baserom.gbc", $650C5, $650E1 - $650C5
Unknown_0x650E1:
INCBIN "baserom.gbc", $650E1, $650E5 - $650E1
LoggedData_0x650E5:
INCBIN "baserom.gbc", $650E5, $650E9 - $650E5
Unknown_0x650E9:
INCBIN "baserom.gbc", $650E9, $650ED - $650E9
LoggedData_0x650ED:
INCBIN "baserom.gbc", $650ED, $65111 - $650ED
Unknown_0x65111:
INCBIN "baserom.gbc", $65111, $65115 - $65111
LoggedData_0x65115:
INCBIN "baserom.gbc", $65115, $65155 - $65115
Unknown_0x65155:
INCBIN "baserom.gbc", $65155, $65159 - $65155
LoggedData_0x65159:
INCBIN "baserom.gbc", $65159, $651A5 - $65159
Unknown_0x651A5:
INCBIN "baserom.gbc", $651A5, $651A9 - $651A5
LoggedData_0x651A9:
INCBIN "baserom.gbc", $651A9, $65219 - $651A9
Unknown_0x65219:
INCBIN "baserom.gbc", $65219, $6521D - $65219
LoggedData_0x6521D:
INCBIN "baserom.gbc", $6521D, $65251 - $6521D
Unknown_0x65251:
INCBIN "baserom.gbc", $65251, $652AF - $65251
LoggedData_0x652AF:
INCBIN "baserom.gbc", $652AF, $653B0 - $652AF
Unknown_0x653B0:
INCBIN "baserom.gbc", $653B0, $65412 - $653B0
LoggedData_0x65412:
INCBIN "baserom.gbc", $65412, $65641 - $65412
Unknown_0x65641:
INCBIN "baserom.gbc", $65641, $65672 - $65641
LoggedData_0x65672:
INCBIN "baserom.gbc", $65672, $65C72 - $65672
Unknown_0x65C72:
INCBIN "baserom.gbc", $65C72, $65CA5 - $65C72
LoggedData_0x65CA5:
INCBIN "baserom.gbc", $65CA5, $65FA2 - $65CA5
Unknown_0x65FA2:
INCBIN "baserom.gbc", $65FA2, $65FD5 - $65FA2
LoggedData_0x65FD5:
INCBIN "baserom.gbc", $65FD5, $6675B - $65FD5
Unknown_0x6675B:
INCBIN "baserom.gbc", $6675B, $6678E - $6675B
LoggedData_0x6678E:
INCBIN "baserom.gbc", $6678E, $669B7 - $6678E
Unknown_0x669B7:
INCBIN "baserom.gbc", $669B7, $68000 - $669B7
SECTION "Bank1A", ROMX, BANK[$1A]
LoggedData_0x68000:
INCBIN "baserom.gbc", $68000, $68035 - $68000
Unknown_0x68035:
INCBIN "baserom.gbc", $68035, $68036 - $68035
LoggedData_0x68036:
INCBIN "baserom.gbc", $68036, $68065 - $68036
Unknown_0x68065:
INCBIN "baserom.gbc", $68065, $68072 - $68065
LoggedData_0x68072:
INCBIN "baserom.gbc", $68072, $68074 - $68072
Unknown_0x68074:
INCBIN "baserom.gbc", $68074, $680A5 - $68074
LoggedData_0x680A5:
INCBIN "baserom.gbc", $680A5, $680B5 - $680A5
Unknown_0x680B5:
INCBIN "baserom.gbc", $680B5, $680B6 - $680B5
LoggedData_0x680B6:
INCBIN "baserom.gbc", $680B6, $680C4 - $680B6
Unknown_0x680C4:
INCBIN "baserom.gbc", $680C4, $680C5 - $680C4
LoggedData_0x680C5:
INCBIN "baserom.gbc", $680C5, $68112 - $680C5
Unknown_0x68112:
INCBIN "baserom.gbc", $68112, $68113 - $68112
LoggedData_0x68113:
INCBIN "baserom.gbc", $68113, $6814B - $68113
Unknown_0x6814B:
INCBIN "baserom.gbc", $6814B, $6814C - $6814B
LoggedData_0x6814C:
INCBIN "baserom.gbc", $6814C, $68184 - $6814C
Unknown_0x68184:
INCBIN "baserom.gbc", $68184, $68185 - $68184
LoggedData_0x68185:
INCBIN "baserom.gbc", $68185, $681BD - $68185
Unknown_0x681BD:
INCBIN "baserom.gbc", $681BD, $681BE - $681BD
LoggedData_0x681BE:
INCBIN "baserom.gbc", $681BE, $681FE - $681BE
Unknown_0x681FE:
INCBIN "baserom.gbc", $681FE, $681FF - $681FE
LoggedData_0x681FF:
INCBIN "baserom.gbc", $681FF, $68212 - $681FF
Unknown_0x68212:
INCBIN "baserom.gbc", $68212, $68213 - $68212
LoggedData_0x68213:
INCBIN "baserom.gbc", $68213, $6821D - $68213
Unknown_0x6821D:
INCBIN "baserom.gbc", $6821D, $6821E - $6821D
LoggedData_0x6821E:
INCBIN "baserom.gbc", $6821E, $68228 - $6821E
Unknown_0x68228:
INCBIN "baserom.gbc", $68228, $68229 - $68228
LoggedData_0x68229:
INCBIN "baserom.gbc", $68229, $68233 - $68229
Unknown_0x68233:
INCBIN "baserom.gbc", $68233, $68234 - $68233
LoggedData_0x68234:
INCBIN "baserom.gbc", $68234, $6823D - $68234
Unknown_0x6823D:
INCBIN "baserom.gbc", $6823D, $6824F - $6823D
LoggedData_0x6824F:
INCBIN "baserom.gbc", $6824F, $6826D - $6824F
Unknown_0x6826D:
INCBIN "baserom.gbc", $6826D, $6826E - $6826D
LoggedData_0x6826E:
INCBIN "baserom.gbc", $6826E, $68276 - $6826E
Unknown_0x68276:
INCBIN "baserom.gbc", $68276, $68277 - $68276
LoggedData_0x68277:
INCBIN "baserom.gbc", $68277, $68286 - $68277
Unknown_0x68286:
INCBIN "baserom.gbc", $68286, $68287 - $68286
LoggedData_0x68287:
INCBIN "baserom.gbc", $68287, $68291 - $68287
Unknown_0x68291:
INCBIN "baserom.gbc", $68291, $68292 - $68291
LoggedData_0x68292:
INCBIN "baserom.gbc", $68292, $682A9 - $68292
Unknown_0x682A9:
INCBIN "baserom.gbc", $682A9, $682B7 - $682A9
LoggedData_0x682B7:
INCBIN "baserom.gbc", $682B7, $682C1 - $682B7
Unknown_0x682C1:
INCBIN "baserom.gbc", $682C1, $682C2 - $682C1
LoggedData_0x682C2:
INCBIN "baserom.gbc", $682C2, $682C4 - $682C2
Unknown_0x682C4:
INCBIN "baserom.gbc", $682C4, $682C8 - $682C4
LoggedData_0x682C8:
INCBIN "baserom.gbc", $682C8, $682D1 - $682C8
Unknown_0x682D1:
INCBIN "baserom.gbc", $682D1, $682DB - $682D1
LoggedData_0x682DB:
INCBIN "baserom.gbc", $682DB, $682E1 - $682DB
Unknown_0x682E1:
INCBIN "baserom.gbc", $682E1, $682E2 - $682E1
LoggedData_0x682E2:
INCBIN "baserom.gbc", $682E2, $68318 - $682E2
Unknown_0x68318:
INCBIN "baserom.gbc", $68318, $68319 - $68318
LoggedData_0x68319:
INCBIN "baserom.gbc", $68319, $68345 - $68319
Unknown_0x68345:
INCBIN "baserom.gbc", $68345, $68348 - $68345
LoggedData_0x68348:
INCBIN "baserom.gbc", $68348, $68351 - $68348
Unknown_0x68351:
INCBIN "baserom.gbc", $68351, $68354 - $68351
LoggedData_0x68354:
INCBIN "baserom.gbc", $68354, $6835F - $68354
Unknown_0x6835F:
INCBIN "baserom.gbc", $6835F, $68360 - $6835F
LoggedData_0x68360:
INCBIN "baserom.gbc", $68360, $6837A - $68360
Unknown_0x6837A:
INCBIN "baserom.gbc", $6837A, $683BC - $6837A
LoggedData_0x683BC:
INCBIN "baserom.gbc", $683BC, $683C3 - $683BC
Unknown_0x683C3:
INCBIN "baserom.gbc", $683C3, $683C4 - $683C3
LoggedData_0x683C4:
INCBIN "baserom.gbc", $683C4, $683C6 - $683C4
Unknown_0x683C6:
INCBIN "baserom.gbc", $683C6, $683C7 - $683C6
LoggedData_0x683C7:
INCBIN "baserom.gbc", $683C7, $683C9 - $683C7
Unknown_0x683C9:
INCBIN "baserom.gbc", $683C9, $683D4 - $683C9
LoggedData_0x683D4:
INCBIN "baserom.gbc", $683D4, $683DE - $683D4
Unknown_0x683DE:
INCBIN "baserom.gbc", $683DE, $683E1 - $683DE
LoggedData_0x683E1:
INCBIN "baserom.gbc", $683E1, $683F7 - $683E1
Unknown_0x683F7:
INCBIN "baserom.gbc", $683F7, $683F8 - $683F7
LoggedData_0x683F8:
INCBIN "baserom.gbc", $683F8, $683FA - $683F8
Unknown_0x683FA:
INCBIN "baserom.gbc", $683FA, $683FB - $683FA
LoggedData_0x683FB:
INCBIN "baserom.gbc", $683FB, $68417 - $683FB
Unknown_0x68417:
INCBIN "baserom.gbc", $68417, $6842A - $68417
LoggedData_0x6842A:
INCBIN "baserom.gbc", $6842A, $6842C - $6842A
Unknown_0x6842C:
INCBIN "baserom.gbc", $6842C, $68430 - $6842C
LoggedData_0x68430:
INCBIN "baserom.gbc", $68430, $68438 - $68430
Unknown_0x68438:
INCBIN "baserom.gbc", $68438, $68439 - $68438
LoggedData_0x68439:
INCBIN "baserom.gbc", $68439, $6845A - $68439
Unknown_0x6845A:
INCBIN "baserom.gbc", $6845A, $6845D - $6845A
LoggedData_0x6845D:
INCBIN "baserom.gbc", $6845D, $6846D - $6845D
Unknown_0x6846D:
INCBIN "baserom.gbc", $6846D, $6847F - $6846D
LoggedData_0x6847F:
INCBIN "baserom.gbc", $6847F, $6848F - $6847F
Unknown_0x6848F:
INCBIN "baserom.gbc", $6848F, $684A1 - $6848F
LoggedData_0x684A1:
INCBIN "baserom.gbc", $684A1, $684B9 - $684A1
Unknown_0x684B9:
INCBIN "baserom.gbc", $684B9, $684BA - $684B9
LoggedData_0x684BA:
INCBIN "baserom.gbc", $684BA, $684D1 - $684BA
Unknown_0x684D1:
INCBIN "baserom.gbc", $684D1, $684D2 - $684D1
LoggedData_0x684D2:
INCBIN "baserom.gbc", $684D2, $684DF - $684D2
Unknown_0x684DF:
INCBIN "baserom.gbc", $684DF, $684E0 - $684DF
LoggedData_0x684E0:
INCBIN "baserom.gbc", $684E0, $684E2 - $684E0
Unknown_0x684E2:
INCBIN "baserom.gbc", $684E2, $684E7 - $684E2
LoggedData_0x684E7:
INCBIN "baserom.gbc", $684E7, $68509 - $684E7
Unknown_0x68509:
INCBIN "baserom.gbc", $68509, $6850A - $68509
LoggedData_0x6850A:
INCBIN "baserom.gbc", $6850A, $68524 - $6850A
Unknown_0x68524:
INCBIN "baserom.gbc", $68524, $6855F - $68524
LoggedData_0x6855F:
INCBIN "baserom.gbc", $6855F, $68561 - $6855F
Unknown_0x68561:
INCBIN "baserom.gbc", $68561, $68562 - $68561
LoggedData_0x68562:
INCBIN "baserom.gbc", $68562, $68596 - $68562
Unknown_0x68596:
INCBIN "baserom.gbc", $68596, $68597 - $68596
LoggedData_0x68597:
INCBIN "baserom.gbc", $68597, $685D4 - $68597
Unknown_0x685D4:
INCBIN "baserom.gbc", $685D4, $685D7 - $685D4
LoggedData_0x685D7:
INCBIN "baserom.gbc", $685D7, $685E7 - $685D7
Unknown_0x685E7:
INCBIN "baserom.gbc", $685E7, $685EA - $685E7
LoggedData_0x685EA:
INCBIN "baserom.gbc", $685EA, $68604 - $685EA
Unknown_0x68604:
INCBIN "baserom.gbc", $68604, $68605 - $68604
LoggedData_0x68605:
INCBIN "baserom.gbc", $68605, $6860B - $68605
Unknown_0x6860B:
INCBIN "baserom.gbc", $6860B, $6860C - $6860B
LoggedData_0x6860C:
INCBIN "baserom.gbc", $6860C, $68625 - $6860C
Unknown_0x68625:
INCBIN "baserom.gbc", $68625, $68634 - $68625
LoggedData_0x68634:
INCBIN "baserom.gbc", $68634, $6863E - $68634
Unknown_0x6863E:
INCBIN "baserom.gbc", $6863E, $6863F - $6863E
LoggedData_0x6863F:
INCBIN "baserom.gbc", $6863F, $68649 - $6863F
Unknown_0x68649:
INCBIN "baserom.gbc", $68649, $6864A - $68649
LoggedData_0x6864A:
INCBIN "baserom.gbc", $6864A, $68654 - $6864A
Unknown_0x68654:
INCBIN "baserom.gbc", $68654, $68655 - $68654
LoggedData_0x68655:
INCBIN "baserom.gbc", $68655, $6865F - $68655
Unknown_0x6865F:
INCBIN "baserom.gbc", $6865F, $68698 - $6865F
LoggedData_0x68698:
INCBIN "baserom.gbc", $68698, $6869A - $68698
Unknown_0x6869A:
INCBIN "baserom.gbc", $6869A, $686A4 - $6869A
LoggedData_0x686A4:
INCBIN "baserom.gbc", $686A4, $686B0 - $686A4
Unknown_0x686B0:
INCBIN "baserom.gbc", $686B0, $686B9 - $686B0
LoggedData_0x686B9:
INCBIN "baserom.gbc", $686B9, $686CD - $686B9
Unknown_0x686CD:
INCBIN "baserom.gbc", $686CD, $686D3 - $686CD
LoggedData_0x686D3:
INCBIN "baserom.gbc", $686D3, $686D7 - $686D3
Unknown_0x686D7:
INCBIN "baserom.gbc", $686D7, $686DB - $686D7
LoggedData_0x686DB:
INCBIN "baserom.gbc", $686DB, $686DD - $686DB
Unknown_0x686DD:
INCBIN "baserom.gbc", $686DD, $686E5 - $686DD
LoggedData_0x686E5:
INCBIN "baserom.gbc", $686E5, $686F7 - $686E5
Unknown_0x686F7:
INCBIN "baserom.gbc", $686F7, $686F8 - $686F7
LoggedData_0x686F8:
INCBIN "baserom.gbc", $686F8, $68700 - $686F8
Unknown_0x68700:
INCBIN "baserom.gbc", $68700, $6870A - $68700
LoggedData_0x6870A:
INCBIN "baserom.gbc", $6870A, $68712 - $6870A
Unknown_0x68712:
INCBIN "baserom.gbc", $68712, $68713 - $68712
LoggedData_0x68713:
INCBIN "baserom.gbc", $68713, $6871D - $68713
Unknown_0x6871D:
INCBIN "baserom.gbc", $6871D, $6871E - $6871D
LoggedData_0x6871E:
INCBIN "baserom.gbc", $6871E, $68728 - $6871E
Unknown_0x68728:
INCBIN "baserom.gbc", $68728, $68729 - $68728
LoggedData_0x68729:
INCBIN "baserom.gbc", $68729, $68770 - $68729
Unknown_0x68770:
INCBIN "baserom.gbc", $68770, $68771 - $68770
LoggedData_0x68771:
INCBIN "baserom.gbc", $68771, $68779 - $68771
Unknown_0x68779:
INCBIN "baserom.gbc", $68779, $6877A - $68779
LoggedData_0x6877A:
INCBIN "baserom.gbc", $6877A, $6879E - $6877A
Unknown_0x6879E:
INCBIN "baserom.gbc", $6879E, $687B0 - $6879E
LoggedData_0x687B0:
INCBIN "baserom.gbc", $687B0, $687B8 - $687B0
Unknown_0x687B8:
INCBIN "baserom.gbc", $687B8, $687BB - $687B8
LoggedData_0x687BB:
INCBIN "baserom.gbc", $687BB, $687C3 - $687BB
Unknown_0x687C3:
INCBIN "baserom.gbc", $687C3, $687C6 - $687C3
LoggedData_0x687C6:
INCBIN "baserom.gbc", $687C6, $68838 - $687C6
Unknown_0x68838:
INCBIN "baserom.gbc", $68838, $6883D - $68838
LoggedData_0x6883D:
INCBIN "baserom.gbc", $6883D, $6883F - $6883D
Unknown_0x6883F:
INCBIN "baserom.gbc", $6883F, $6884B - $6883F
LoggedData_0x6884B:
INCBIN "baserom.gbc", $6884B, $6884D - $6884B
Unknown_0x6884D:
INCBIN "baserom.gbc", $6884D, $68852 - $6884D
LoggedData_0x68852:
INCBIN "baserom.gbc", $68852, $6886E - $68852
Unknown_0x6886E:
INCBIN "baserom.gbc", $6886E, $6886F - $6886E
LoggedData_0x6886F:
INCBIN "baserom.gbc", $6886F, $6888B - $6886F
Unknown_0x6888B:
INCBIN "baserom.gbc", $6888B, $6888C - $6888B
LoggedData_0x6888C:
INCBIN "baserom.gbc", $6888C, $688C5 - $6888C
Unknown_0x688C5:
INCBIN "baserom.gbc", $688C5, $688C6 - $688C5
LoggedData_0x688C6:
INCBIN "baserom.gbc", $688C6, $688E2 - $688C6
Unknown_0x688E2:
INCBIN "baserom.gbc", $688E2, $688E3 - $688E2
LoggedData_0x688E3:
INCBIN "baserom.gbc", $688E3, $688FF - $688E3
Unknown_0x688FF:
INCBIN "baserom.gbc", $688FF, $68900 - $688FF
LoggedData_0x68900:
INCBIN "baserom.gbc", $68900, $68939 - $68900
Unknown_0x68939:
INCBIN "baserom.gbc", $68939, $6893A - $68939
LoggedData_0x6893A:
INCBIN "baserom.gbc", $6893A, $6895B - $6893A
Unknown_0x6895B:
INCBIN "baserom.gbc", $6895B, $6895C - $6895B
LoggedData_0x6895C:
INCBIN "baserom.gbc", $6895C, $68968 - $6895C
Unknown_0x68968:
INCBIN "baserom.gbc", $68968, $68969 - $68968
LoggedData_0x68969:
INCBIN "baserom.gbc", $68969, $68975 - $68969
Unknown_0x68975:
INCBIN "baserom.gbc", $68975, $68976 - $68975
LoggedData_0x68976:
INCBIN "baserom.gbc", $68976, $68982 - $68976
Unknown_0x68982:
INCBIN "baserom.gbc", $68982, $68983 - $68982
LoggedData_0x68983:
INCBIN "baserom.gbc", $68983, $689AB - $68983
Unknown_0x689AB:
INCBIN "baserom.gbc", $689AB, $689AC - $689AB
LoggedData_0x689AC:
INCBIN "baserom.gbc", $689AC, $689B2 - $689AC
Unknown_0x689B2:
INCBIN "baserom.gbc", $689B2, $689B3 - $689B2
LoggedData_0x689B3:
INCBIN "baserom.gbc", $689B3, $689BD - $689B3
Unknown_0x689BD:
INCBIN "baserom.gbc", $689BD, $689BE - $689BD
LoggedData_0x689BE:
INCBIN "baserom.gbc", $689BE, $689C8 - $689BE
Unknown_0x689C8:
INCBIN "baserom.gbc", $689C8, $689C9 - $689C8
LoggedData_0x689C9:
INCBIN "baserom.gbc", $689C9, $689DB - $689C9
Unknown_0x689DB:
INCBIN "baserom.gbc", $689DB, $689E9 - $689DB
LoggedData_0x689E9:
INCBIN "baserom.gbc", $689E9, $68A08 - $689E9
Unknown_0x68A08:
INCBIN "baserom.gbc", $68A08, $68A09 - $68A08
LoggedData_0x68A09:
INCBIN "baserom.gbc", $68A09, $68A11 - $68A09
Unknown_0x68A11:
INCBIN "baserom.gbc", $68A11, $68A12 - $68A11
LoggedData_0x68A12:
INCBIN "baserom.gbc", $68A12, $68A39 - $68A12
Unknown_0x68A39:
INCBIN "baserom.gbc", $68A39, $68A3A - $68A39
LoggedData_0x68A3A:
INCBIN "baserom.gbc", $68A3A, $68A54 - $68A3A
Unknown_0x68A54:
INCBIN "baserom.gbc", $68A54, $68A60 - $68A54
LoggedData_0x68A60:
INCBIN "baserom.gbc", $68A60, $68A8A - $68A60
Unknown_0x68A8A:
INCBIN "baserom.gbc", $68A8A, $68A8B - $68A8A
LoggedData_0x68A8B:
INCBIN "baserom.gbc", $68A8B, $68A91 - $68A8B
Unknown_0x68A91:
INCBIN "baserom.gbc", $68A91, $68A9F - $68A91
LoggedData_0x68A9F:
INCBIN "baserom.gbc", $68A9F, $68AA8 - $68A9F
Unknown_0x68AA8:
INCBIN "baserom.gbc", $68AA8, $68AC6 - $68AA8
LoggedData_0x68AC6:
INCBIN "baserom.gbc", $68AC6, $68ADD - $68AC6
Unknown_0x68ADD:
INCBIN "baserom.gbc", $68ADD, $68AE6 - $68ADD
LoggedData_0x68AE6:
INCBIN "baserom.gbc", $68AE6, $68B00 - $68AE6
Unknown_0x68B00:
INCBIN "baserom.gbc", $68B00, $68B01 - $68B00
LoggedData_0x68B01:
INCBIN "baserom.gbc", $68B01, $68B11 - $68B01
Unknown_0x68B11:
INCBIN "baserom.gbc", $68B11, $68B12 - $68B11
LoggedData_0x68B12:
INCBIN "baserom.gbc", $68B12, $68B40 - $68B12
Unknown_0x68B40:
INCBIN "baserom.gbc", $68B40, $68B45 - $68B40
LoggedData_0x68B45:
INCBIN "baserom.gbc", $68B45, $68B60 - $68B45
Unknown_0x68B60:
INCBIN "baserom.gbc", $68B60, $68B61 - $68B60
LoggedData_0x68B61:
INCBIN "baserom.gbc", $68B61, $68B63 - $68B61
Unknown_0x68B63:
INCBIN "baserom.gbc", $68B63, $68B64 - $68B63
LoggedData_0x68B64:
INCBIN "baserom.gbc", $68B64, $68B7C - $68B64
Unknown_0x68B7C:
INCBIN "baserom.gbc", $68B7C, $68B7D - $68B7C
LoggedData_0x68B7D:
INCBIN "baserom.gbc", $68B7D, $68B83 - $68B7D
Unknown_0x68B83:
INCBIN "baserom.gbc", $68B83, $68B84 - $68B83
LoggedData_0x68B84:
INCBIN "baserom.gbc", $68B84, $68B88 - $68B84
Unknown_0x68B88:
INCBIN "baserom.gbc", $68B88, $68B8B - $68B88
LoggedData_0x68B8B:
INCBIN "baserom.gbc", $68B8B, $68BB4 - $68B8B
Unknown_0x68BB4:
INCBIN "baserom.gbc", $68BB4, $68BB5 - $68BB4
LoggedData_0x68BB5:
INCBIN "baserom.gbc", $68BB5, $68BCB - $68BB5
Unknown_0x68BCB:
INCBIN "baserom.gbc", $68BCB, $68BCC - $68BCB
LoggedData_0x68BCC:
INCBIN "baserom.gbc", $68BCC, $68BD0 - $68BCC
Unknown_0x68BD0:
INCBIN "baserom.gbc", $68BD0, $68BD1 - $68BD0
LoggedData_0x68BD1:
INCBIN "baserom.gbc", $68BD1, $68BE8 - $68BD1
Unknown_0x68BE8:
INCBIN "baserom.gbc", $68BE8, $68BED - $68BE8
LoggedData_0x68BED:
INCBIN "baserom.gbc", $68BED, $68BF5 - $68BED
Unknown_0x68BF5:
INCBIN "baserom.gbc", $68BF5, $68BF6 - $68BF5
LoggedData_0x68BF6:
INCBIN "baserom.gbc", $68BF6, $68BFE - $68BF6
Unknown_0x68BFE:
INCBIN "baserom.gbc", $68BFE, $68BFF - $68BFE
LoggedData_0x68BFF:
INCBIN "baserom.gbc", $68BFF, $68C07 - $68BFF
Unknown_0x68C07:
INCBIN "baserom.gbc", $68C07, $68C08 - $68C07
LoggedData_0x68C08:
INCBIN "baserom.gbc", $68C08, $68C10 - $68C08
Unknown_0x68C10:
INCBIN "baserom.gbc", $68C10, $68C17 - $68C10
LoggedData_0x68C17:
INCBIN "baserom.gbc", $68C17, $68C24 - $68C17
Unknown_0x68C24:
INCBIN "baserom.gbc", $68C24, $68C25 - $68C24
LoggedData_0x68C25:
INCBIN "baserom.gbc", $68C25, $68C2B - $68C25
Unknown_0x68C2B:
INCBIN "baserom.gbc", $68C2B, $68C2C - $68C2B
LoggedData_0x68C2C:
INCBIN "baserom.gbc", $68C2C, $68C32 - $68C2C
Unknown_0x68C32:
INCBIN "baserom.gbc", $68C32, $68C33 - $68C32
LoggedData_0x68C33:
INCBIN "baserom.gbc", $68C33, $68C35 - $68C33
Unknown_0x68C35:
INCBIN "baserom.gbc", $68C35, $68C36 - $68C35
LoggedData_0x68C36:
INCBIN "baserom.gbc", $68C36, $68C4C - $68C36
Unknown_0x68C4C:
INCBIN "baserom.gbc", $68C4C, $68C50 - $68C4C
LoggedData_0x68C50:
INCBIN "baserom.gbc", $68C50, $68C52 - $68C50
Unknown_0x68C52:
INCBIN "baserom.gbc", $68C52, $68C56 - $68C52
LoggedData_0x68C56:
INCBIN "baserom.gbc", $68C56, $68C58 - $68C56
Unknown_0x68C58:
INCBIN "baserom.gbc", $68C58, $68C59 - $68C58
LoggedData_0x68C59:
INCBIN "baserom.gbc", $68C59, $68C5B - $68C59
Unknown_0x68C5B:
INCBIN "baserom.gbc", $68C5B, $68C5C - $68C5B
LoggedData_0x68C5C:
INCBIN "baserom.gbc", $68C5C, $68C6D - $68C5C
Unknown_0x68C6D:
INCBIN "baserom.gbc", $68C6D, $68C7F - $68C6D
LoggedData_0x68C7F:
INCBIN "baserom.gbc", $68C7F, $68C94 - $68C7F
Unknown_0x68C94:
INCBIN "baserom.gbc", $68C94, $68C97 - $68C94
LoggedData_0x68C97:
INCBIN "baserom.gbc", $68C97, $68CA9 - $68C97
Unknown_0x68CA9:
INCBIN "baserom.gbc", $68CA9, $68CC4 - $68CA9
LoggedData_0x68CC4:
INCBIN "baserom.gbc", $68CC4, $68CDD - $68CC4
Unknown_0x68CDD:
INCBIN "baserom.gbc", $68CDD, $68D1F - $68CDD
LoggedData_0x68D1F:
INCBIN "baserom.gbc", $68D1F, $68D2A - $68D1F
Unknown_0x68D2A:
INCBIN "baserom.gbc", $68D2A, $68D2B - $68D2A
LoggedData_0x68D2B:
INCBIN "baserom.gbc", $68D2B, $68D31 - $68D2B
Unknown_0x68D31:
INCBIN "baserom.gbc", $68D31, $68D81 - $68D31
LoggedData_0x68D81:
INCBIN "baserom.gbc", $68D81, $68D99 - $68D81
Unknown_0x68D99:
INCBIN "baserom.gbc", $68D99, $68D9C - $68D99
LoggedData_0x68D9C:
INCBIN "baserom.gbc", $68D9C, $68DA2 - $68D9C
Unknown_0x68DA2:
INCBIN "baserom.gbc", $68DA2, $68DA5 - $68DA2
LoggedData_0x68DA5:
INCBIN "baserom.gbc", $68DA5, $68DAB - $68DA5
Unknown_0x68DAB:
INCBIN "baserom.gbc", $68DAB, $68DAC - $68DAB
LoggedData_0x68DAC:
INCBIN "baserom.gbc", $68DAC, $68DB2 - $68DAC
Unknown_0x68DB2:
INCBIN "baserom.gbc", $68DB2, $68DB3 - $68DB2
LoggedData_0x68DB3:
INCBIN "baserom.gbc", $68DB3, $68DC3 - $68DB3
Unknown_0x68DC3:
INCBIN "baserom.gbc", $68DC3, $68DC4 - $68DC3
LoggedData_0x68DC4:
INCBIN "baserom.gbc", $68DC4, $68DD4 - $68DC4
Unknown_0x68DD4:
INCBIN "baserom.gbc", $68DD4, $68DD5 - $68DD4
LoggedData_0x68DD5:
INCBIN "baserom.gbc", $68DD5, $68DF7 - $68DD5
Unknown_0x68DF7:
INCBIN "baserom.gbc", $68DF7, $68DF8 - $68DF7
LoggedData_0x68DF8:
INCBIN "baserom.gbc", $68DF8, $68DFE - $68DF8
Unknown_0x68DFE:
INCBIN "baserom.gbc", $68DFE, $68DFF - $68DFE
LoggedData_0x68DFF:
INCBIN "baserom.gbc", $68DFF, $68E05 - $68DFF
Unknown_0x68E05:
INCBIN "baserom.gbc", $68E05, $68E08 - $68E05
LoggedData_0x68E08:
INCBIN "baserom.gbc", $68E08, $68E0E - $68E08
Unknown_0x68E0E:
INCBIN "baserom.gbc", $68E0E, $68E11 - $68E0E
LoggedData_0x68E11:
INCBIN "baserom.gbc", $68E11, $68E29 - $68E11
Unknown_0x68E29:
INCBIN "baserom.gbc", $68E29, $68E2E - $68E29
LoggedData_0x68E2E:
INCBIN "baserom.gbc", $68E2E, $68E39 - $68E2E
Unknown_0x68E39:
INCBIN "baserom.gbc", $68E39, $68E3A - $68E39
LoggedData_0x68E3A:
INCBIN "baserom.gbc", $68E3A, $68E40 - $68E3A
Unknown_0x68E40:
INCBIN "baserom.gbc", $68E40, $68E41 - $68E40
LoggedData_0x68E41:
INCBIN "baserom.gbc", $68E41, $68E4B - $68E41
Unknown_0x68E4B:
INCBIN "baserom.gbc", $68E4B, $68E4C - $68E4B
LoggedData_0x68E4C:
INCBIN "baserom.gbc", $68E4C, $68E56 - $68E4C
Unknown_0x68E56:
INCBIN "baserom.gbc", $68E56, $68E57 - $68E56
LoggedData_0x68E57:
INCBIN "baserom.gbc", $68E57, $68E6F - $68E57
Unknown_0x68E6F:
INCBIN "baserom.gbc", $68E6F, $68E77 - $68E6F
LoggedData_0x68E77:
INCBIN "baserom.gbc", $68E77, $68E95 - $68E77
Unknown_0x68E95:
INCBIN "baserom.gbc", $68E95, $68E96 - $68E95
LoggedData_0x68E96:
INCBIN "baserom.gbc", $68E96, $68EA2 - $68E96
Unknown_0x68EA2:
INCBIN "baserom.gbc", $68EA2, $68EA3 - $68EA2
LoggedData_0x68EA3:
INCBIN "baserom.gbc", $68EA3, $68EA9 - $68EA3
Unknown_0x68EA9:
INCBIN "baserom.gbc", $68EA9, $68EAA - $68EA9
LoggedData_0x68EAA:
INCBIN "baserom.gbc", $68EAA, $68EB0 - $68EAA
Unknown_0x68EB0:
INCBIN "baserom.gbc", $68EB0, $68EB1 - $68EB0
LoggedData_0x68EB1:
INCBIN "baserom.gbc", $68EB1, $68EB3 - $68EB1
Unknown_0x68EB3:
INCBIN "baserom.gbc", $68EB3, $68EB4 - $68EB3
LoggedData_0x68EB4:
INCBIN "baserom.gbc", $68EB4, $68EB6 - $68EB4
Unknown_0x68EB6:
INCBIN "baserom.gbc", $68EB6, $68EB7 - $68EB6
LoggedData_0x68EB7:
INCBIN "baserom.gbc", $68EB7, $68ED9 - $68EB7
Unknown_0x68ED9:
INCBIN "baserom.gbc", $68ED9, $68EDA - $68ED9
LoggedData_0x68EDA:
INCBIN "baserom.gbc", $68EDA, $68EE0 - $68EDA
Unknown_0x68EE0:
INCBIN "baserom.gbc", $68EE0, $68EE1 - $68EE0
LoggedData_0x68EE1:
INCBIN "baserom.gbc", $68EE1, $68EE9 - $68EE1
Unknown_0x68EE9:
INCBIN "baserom.gbc", $68EE9, $68EEA - $68EE9
LoggedData_0x68EEA:
INCBIN "baserom.gbc", $68EEA, $68EF2 - $68EEA
Unknown_0x68EF2:
INCBIN "baserom.gbc", $68EF2, $68EF3 - $68EF2
LoggedData_0x68EF3:
INCBIN "baserom.gbc", $68EF3, $68EFD - $68EF3
Unknown_0x68EFD:
INCBIN "baserom.gbc", $68EFD, $68F0B - $68EFD
LoggedData_0x68F0B:
INCBIN "baserom.gbc", $68F0B, $68F3D - $68F0B
Unknown_0x68F3D:
INCBIN "baserom.gbc", $68F3D, $68F42 - $68F3D
LoggedData_0x68F42:
INCBIN "baserom.gbc", $68F42, $68F7D - $68F42
Unknown_0x68F7D:
INCBIN "baserom.gbc", $68F7D, $68F8F - $68F7D
LoggedData_0x68F8F:
INCBIN "baserom.gbc", $68F8F, $68F9D - $68F8F
Unknown_0x68F9D:
INCBIN "baserom.gbc", $68F9D, $68F9E - $68F9D
LoggedData_0x68F9E:
INCBIN "baserom.gbc", $68F9E, $68FAC - $68F9E
Unknown_0x68FAC:
INCBIN "baserom.gbc", $68FAC, $68FAD - $68FAC
LoggedData_0x68FAD:
INCBIN "baserom.gbc", $68FAD, $68FBF - $68FAD
Unknown_0x68FBF:
INCBIN "baserom.gbc", $68FBF, $68FC0 - $68FBF
LoggedData_0x68FC0:
INCBIN "baserom.gbc", $68FC0, $68FC8 - $68FC0
Unknown_0x68FC8:
INCBIN "baserom.gbc", $68FC8, $68FC9 - $68FC8
LoggedData_0x68FC9:
INCBIN "baserom.gbc", $68FC9, $68FCF - $68FC9
Unknown_0x68FCF:
INCBIN "baserom.gbc", $68FCF, $69041 - $68FCF
LoggedData_0x69041:
INCBIN "baserom.gbc", $69041, $69060 - $69041
Unknown_0x69060:
INCBIN "baserom.gbc", $69060, $690AB - $69060
LoggedData_0x690AB:
INCBIN "baserom.gbc", $690AB, $690B6 - $690AB
Unknown_0x690B6:
INCBIN "baserom.gbc", $690B6, $690B7 - $690B6
LoggedData_0x690B7:
INCBIN "baserom.gbc", $690B7, $690B9 - $690B7
Unknown_0x690B9:
INCBIN "baserom.gbc", $690B9, $690BA - $690B9
LoggedData_0x690BA:
INCBIN "baserom.gbc", $690BA, $690BC - $690BA
Unknown_0x690BC:
INCBIN "baserom.gbc", $690BC, $690BD - $690BC
LoggedData_0x690BD:
INCBIN "baserom.gbc", $690BD, $690BF - $690BD
Unknown_0x690BF:
INCBIN "baserom.gbc", $690BF, $690C0 - $690BF
LoggedData_0x690C0:
INCBIN "baserom.gbc", $690C0, $690C2 - $690C0
Unknown_0x690C2:
INCBIN "baserom.gbc", $690C2, $690C3 - $690C2
LoggedData_0x690C3:
INCBIN "baserom.gbc", $690C3, $690C5 - $690C3
Unknown_0x690C5:
INCBIN "baserom.gbc", $690C5, $690C6 - $690C5
LoggedData_0x690C6:
INCBIN "baserom.gbc", $690C6, $690C8 - $690C6
Unknown_0x690C8:
INCBIN "baserom.gbc", $690C8, $690C9 - $690C8
LoggedData_0x690C9:
INCBIN "baserom.gbc", $690C9, $690DB - $690C9
Unknown_0x690DB:
INCBIN "baserom.gbc", $690DB, $690DC - $690DB
LoggedData_0x690DC:
INCBIN "baserom.gbc", $690DC, $690DE - $690DC
Unknown_0x690DE:
INCBIN "baserom.gbc", $690DE, $690DF - $690DE
LoggedData_0x690DF:
INCBIN "baserom.gbc", $690DF, $690E1 - $690DF
Unknown_0x690E1:
INCBIN "baserom.gbc", $690E1, $690E2 - $690E1
LoggedData_0x690E2:
INCBIN "baserom.gbc", $690E2, $690E4 - $690E2
Unknown_0x690E4:
INCBIN "baserom.gbc", $690E4, $690E5 - $690E4
LoggedData_0x690E5:
INCBIN "baserom.gbc", $690E5, $690E7 - $690E5
Unknown_0x690E7:
INCBIN "baserom.gbc", $690E7, $690E8 - $690E7
LoggedData_0x690E8:
INCBIN "baserom.gbc", $690E8, $690EA - $690E8
Unknown_0x690EA:
INCBIN "baserom.gbc", $690EA, $690EB - $690EA
LoggedData_0x690EB:
INCBIN "baserom.gbc", $690EB, $6910B - $690EB
Unknown_0x6910B:
INCBIN "baserom.gbc", $6910B, $6910C - $6910B
LoggedData_0x6910C:
INCBIN "baserom.gbc", $6910C, $69114 - $6910C
Unknown_0x69114:
INCBIN "baserom.gbc", $69114, $69115 - $69114
LoggedData_0x69115:
INCBIN "baserom.gbc", $69115, $69139 - $69115
Unknown_0x69139:
INCBIN "baserom.gbc", $69139, $6913A - $69139
LoggedData_0x6913A:
INCBIN "baserom.gbc", $6913A, $6913C - $6913A
Unknown_0x6913C:
INCBIN "baserom.gbc", $6913C, $6913D - $6913C
LoggedData_0x6913D:
INCBIN "baserom.gbc", $6913D, $6914B - $6913D
Unknown_0x6914B:
INCBIN "baserom.gbc", $6914B, $6914C - $6914B
LoggedData_0x6914C:
INCBIN "baserom.gbc", $6914C, $6915A - $6914C
Unknown_0x6915A:
INCBIN "baserom.gbc", $6915A, $6915B - $6915A
LoggedData_0x6915B:
INCBIN "baserom.gbc", $6915B, $69174 - $6915B
Unknown_0x69174:
INCBIN "baserom.gbc", $69174, $69175 - $69174
LoggedData_0x69175:
INCBIN "baserom.gbc", $69175, $6917B - $69175
Unknown_0x6917B:
INCBIN "baserom.gbc", $6917B, $6917C - $6917B
LoggedData_0x6917C:
INCBIN "baserom.gbc", $6917C, $6918D - $6917C
Unknown_0x6918D:
INCBIN "baserom.gbc", $6918D, $6918E - $6918D
LoggedData_0x6918E:
INCBIN "baserom.gbc", $6918E, $69198 - $6918E
Unknown_0x69198:
INCBIN "baserom.gbc", $69198, $69199 - $69198
LoggedData_0x69199:
INCBIN "baserom.gbc", $69199, $691BE - $69199
Unknown_0x691BE:
INCBIN "baserom.gbc", $691BE, $691BF - $691BE
LoggedData_0x691BF:
INCBIN "baserom.gbc", $691BF, $691FA - $691BF
Unknown_0x691FA:
INCBIN "baserom.gbc", $691FA, $691FB - $691FA
LoggedData_0x691FB:
INCBIN "baserom.gbc", $691FB, $6920C - $691FB
Unknown_0x6920C:
INCBIN "baserom.gbc", $6920C, $69213 - $6920C
LoggedData_0x69213:
INCBIN "baserom.gbc", $69213, $69222 - $69213
Unknown_0x69222:
INCBIN "baserom.gbc", $69222, $69227 - $69222
LoggedData_0x69227:
INCBIN "baserom.gbc", $69227, $6922F - $69227
Unknown_0x6922F:
INCBIN "baserom.gbc", $6922F, $69230 - $6922F
LoggedData_0x69230:
INCBIN "baserom.gbc", $69230, $69255 - $69230
Unknown_0x69255:
INCBIN "baserom.gbc", $69255, $69256 - $69255
LoggedData_0x69256:
INCBIN "baserom.gbc", $69256, $69262 - $69256
Unknown_0x69262:
INCBIN "baserom.gbc", $69262, $69263 - $69262
LoggedData_0x69263:
INCBIN "baserom.gbc", $69263, $6926C - $69263
Unknown_0x6926C:
INCBIN "baserom.gbc", $6926C, $69275 - $6926C
LoggedData_0x69275:
INCBIN "baserom.gbc", $69275, $6927B - $69275
Unknown_0x6927B:
INCBIN "baserom.gbc", $6927B, $6927C - $6927B
LoggedData_0x6927C:
INCBIN "baserom.gbc", $6927C, $6927E - $6927C
Unknown_0x6927E:
INCBIN "baserom.gbc", $6927E, $6927F - $6927E
LoggedData_0x6927F:
INCBIN "baserom.gbc", $6927F, $692A9 - $6927F
Unknown_0x692A9:
INCBIN "baserom.gbc", $692A9, $692AA - $692A9
LoggedData_0x692AA:
INCBIN "baserom.gbc", $692AA, $692B2 - $692AA
Unknown_0x692B2:
INCBIN "baserom.gbc", $692B2, $692B3 - $692B2
LoggedData_0x692B3:
INCBIN "baserom.gbc", $692B3, $692CD - $692B3
Unknown_0x692CD:
INCBIN "baserom.gbc", $692CD, $692CE - $692CD
LoggedData_0x692CE:
INCBIN "baserom.gbc", $692CE, $692D4 - $692CE
Unknown_0x692D4:
INCBIN "baserom.gbc", $692D4, $692D5 - $692D4
LoggedData_0x692D5:
INCBIN "baserom.gbc", $692D5, $69334 - $692D5
Unknown_0x69334:
INCBIN "baserom.gbc", $69334, $69335 - $69334
LoggedData_0x69335:
INCBIN "baserom.gbc", $69335, $69340 - $69335
Unknown_0x69340:
INCBIN "baserom.gbc", $69340, $6936C - $69340
LoggedData_0x6936C:
INCBIN "baserom.gbc", $6936C, $69382 - $6936C
Unknown_0x69382:
INCBIN "baserom.gbc", $69382, $693C4 - $69382
LoggedData_0x693C4:
INCBIN "baserom.gbc", $693C4, $693F0 - $693C4
Unknown_0x693F0:
INCBIN "baserom.gbc", $693F0, $693F9 - $693F0
LoggedData_0x693F9:
INCBIN "baserom.gbc", $693F9, $69401 - $693F9
Unknown_0x69401:
INCBIN "baserom.gbc", $69401, $69402 - $69401
LoggedData_0x69402:
INCBIN "baserom.gbc", $69402, $69410 - $69402
Unknown_0x69410:
INCBIN "baserom.gbc", $69410, $69411 - $69410
LoggedData_0x69411:
INCBIN "baserom.gbc", $69411, $6941B - $69411
Unknown_0x6941B:
INCBIN "baserom.gbc", $6941B, $69424 - $6941B
LoggedData_0x69424:
INCBIN "baserom.gbc", $69424, $6942C - $69424
Unknown_0x6942C:
INCBIN "baserom.gbc", $6942C, $6942D - $6942C
LoggedData_0x6942D:
INCBIN "baserom.gbc", $6942D, $6943B - $6942D
Unknown_0x6943B:
INCBIN "baserom.gbc", $6943B, $6943C - $6943B
LoggedData_0x6943C:
INCBIN "baserom.gbc", $6943C, $6944C - $6943C
Unknown_0x6944C:
INCBIN "baserom.gbc", $6944C, $6944D - $6944C
LoggedData_0x6944D:
INCBIN "baserom.gbc", $6944D, $6945C - $6944D
Unknown_0x6945C:
INCBIN "baserom.gbc", $6945C, $69463 - $6945C
LoggedData_0x69463:
INCBIN "baserom.gbc", $69463, $69473 - $69463
Unknown_0x69473:
INCBIN "baserom.gbc", $69473, $69474 - $69473
LoggedData_0x69474:
INCBIN "baserom.gbc", $69474, $69484 - $69474
Unknown_0x69484:
INCBIN "baserom.gbc", $69484, $69485 - $69484
LoggedData_0x69485:
INCBIN "baserom.gbc", $69485, $6948D - $69485
Unknown_0x6948D:
INCBIN "baserom.gbc", $6948D, $69496 - $6948D
LoggedData_0x69496:
INCBIN "baserom.gbc", $69496, $69498 - $69496
Unknown_0x69498:
INCBIN "baserom.gbc", $69498, $694A7 - $69498
LoggedData_0x694A7:
INCBIN "baserom.gbc", $694A7, $694B8 - $694A7
Unknown_0x694B8:
INCBIN "baserom.gbc", $694B8, $694C9 - $694B8
LoggedData_0x694C9:
INCBIN "baserom.gbc", $694C9, $694CF - $694C9
Unknown_0x694CF:
INCBIN "baserom.gbc", $694CF, $694D0 - $694CF
LoggedData_0x694D0:
INCBIN "baserom.gbc", $694D0, $694D6 - $694D0
Unknown_0x694D6:
INCBIN "baserom.gbc", $694D6, $694D7 - $694D6
LoggedData_0x694D7:
INCBIN "baserom.gbc", $694D7, $694DC - $694D7
Unknown_0x694DC:
INCBIN "baserom.gbc", $694DC, $694E1 - $694DC
LoggedData_0x694E1:
INCBIN "baserom.gbc", $694E1, $694ED - $694E1
Unknown_0x694ED:
INCBIN "baserom.gbc", $694ED, $694EE - $694ED
LoggedData_0x694EE:
INCBIN "baserom.gbc", $694EE, $69511 - $694EE
Unknown_0x69511:
INCBIN "baserom.gbc", $69511, $69512 - $69511
LoggedData_0x69512:
INCBIN "baserom.gbc", $69512, $69518 - $69512
Unknown_0x69518:
INCBIN "baserom.gbc", $69518, $69519 - $69518
LoggedData_0x69519:
INCBIN "baserom.gbc", $69519, $69536 - $69519
Unknown_0x69536:
INCBIN "baserom.gbc", $69536, $6953C - $69536
LoggedData_0x6953C:
INCBIN "baserom.gbc", $6953C, $69542 - $6953C
Unknown_0x69542:
INCBIN "baserom.gbc", $69542, $6954A - $69542
LoggedData_0x6954A:
INCBIN "baserom.gbc", $6954A, $69553 - $6954A
Unknown_0x69553:
INCBIN "baserom.gbc", $69553, $6955B - $69553
LoggedData_0x6955B:
INCBIN "baserom.gbc", $6955B, $69567 - $6955B
Unknown_0x69567:
INCBIN "baserom.gbc", $69567, $6957E - $69567
LoggedData_0x6957E:
INCBIN "baserom.gbc", $6957E, $6958E - $6957E
Unknown_0x6958E:
INCBIN "baserom.gbc", $6958E, $6958F - $6958E
LoggedData_0x6958F:
INCBIN "baserom.gbc", $6958F, $695A5 - $6958F
Unknown_0x695A5:
INCBIN "baserom.gbc", $695A5, $695A6 - $695A5
LoggedData_0x695A6:
INCBIN "baserom.gbc", $695A6, $695AE - $695A6
Unknown_0x695AE:
INCBIN "baserom.gbc", $695AE, $695AF - $695AE
LoggedData_0x695AF:
INCBIN "baserom.gbc", $695AF, $695BF - $695AF
Unknown_0x695BF:
INCBIN "baserom.gbc", $695BF, $695C0 - $695BF
LoggedData_0x695C0:
INCBIN "baserom.gbc", $695C0, $695CA - $695C0
Unknown_0x695CA:
INCBIN "baserom.gbc", $695CA, $695CB - $695CA
LoggedData_0x695CB:
INCBIN "baserom.gbc", $695CB, $695D5 - $695CB
Unknown_0x695D5:
INCBIN "baserom.gbc", $695D5, $695D6 - $695D5
LoggedData_0x695D6:
INCBIN "baserom.gbc", $695D6, $695D8 - $695D6
Unknown_0x695D8:
INCBIN "baserom.gbc", $695D8, $695D9 - $695D8
LoggedData_0x695D9:
INCBIN "baserom.gbc", $695D9, $695DD - $695D9
Unknown_0x695DD:
INCBIN "baserom.gbc", $695DD, $695DE - $695DD
LoggedData_0x695DE:
INCBIN "baserom.gbc", $695DE, $69607 - $695DE
Unknown_0x69607:
INCBIN "baserom.gbc", $69607, $69615 - $69607
LoggedData_0x69615:
INCBIN "baserom.gbc", $69615, $6961E - $69615
Unknown_0x6961E:
INCBIN "baserom.gbc", $6961E, $69625 - $6961E
LoggedData_0x69625:
INCBIN "baserom.gbc", $69625, $69631 - $69625
Unknown_0x69631:
INCBIN "baserom.gbc", $69631, $69632 - $69631
LoggedData_0x69632:
INCBIN "baserom.gbc", $69632, $69645 - $69632
Unknown_0x69645:
INCBIN "baserom.gbc", $69645, $69646 - $69645
LoggedData_0x69646:
INCBIN "baserom.gbc", $69646, $6964A - $69646
Unknown_0x6964A:
INCBIN "baserom.gbc", $6964A, $6964D - $6964A
LoggedData_0x6964D:
INCBIN "baserom.gbc", $6964D, $69656 - $6964D
Unknown_0x69656:
INCBIN "baserom.gbc", $69656, $69675 - $69656
LoggedData_0x69675:
INCBIN "baserom.gbc", $69675, $6967A - $69675
Unknown_0x6967A:
INCBIN "baserom.gbc", $6967A, $6967F - $6967A
LoggedData_0x6967F:
INCBIN "baserom.gbc", $6967F, $69695 - $6967F
Unknown_0x69695:
INCBIN "baserom.gbc", $69695, $6969F - $69695
LoggedData_0x6969F:
INCBIN "baserom.gbc", $6969F, $696B6 - $6969F
Unknown_0x696B6:
INCBIN "baserom.gbc", $696B6, $696C5 - $696B6
LoggedData_0x696C5:
INCBIN "baserom.gbc", $696C5, $696CD - $696C5
Unknown_0x696CD:
INCBIN "baserom.gbc", $696CD, $696CE - $696CD
LoggedData_0x696CE:
INCBIN "baserom.gbc", $696CE, $696D9 - $696CE
Unknown_0x696D9:
INCBIN "baserom.gbc", $696D9, $696E0 - $696D9
LoggedData_0x696E0:
INCBIN "baserom.gbc", $696E0, $696E4 - $696E0
Unknown_0x696E4:
INCBIN "baserom.gbc", $696E4, $696E5 - $696E4
LoggedData_0x696E5:
INCBIN "baserom.gbc", $696E5, $69719 - $696E5
Unknown_0x69719:
INCBIN "baserom.gbc", $69719, $6971C - $69719
LoggedData_0x6971C:
INCBIN "baserom.gbc", $6971C, $69720 - $6971C
Unknown_0x69720:
INCBIN "baserom.gbc", $69720, $69721 - $69720
LoggedData_0x69721:
INCBIN "baserom.gbc", $69721, $6972F - $69721
Unknown_0x6972F:
INCBIN "baserom.gbc", $6972F, $69734 - $6972F
LoggedData_0x69734:
INCBIN "baserom.gbc", $69734, $6973C - $69734
Unknown_0x6973C:
INCBIN "baserom.gbc", $6973C, $69746 - $6973C
LoggedData_0x69746:
INCBIN "baserom.gbc", $69746, $6974C - $69746
Unknown_0x6974C:
INCBIN "baserom.gbc", $6974C, $6974D - $6974C
LoggedData_0x6974D:
INCBIN "baserom.gbc", $6974D, $69753 - $6974D
Unknown_0x69753:
INCBIN "baserom.gbc", $69753, $69754 - $69753
LoggedData_0x69754:
INCBIN "baserom.gbc", $69754, $6975A - $69754
Unknown_0x6975A:
INCBIN "baserom.gbc", $6975A, $6975B - $6975A
LoggedData_0x6975B:
INCBIN "baserom.gbc", $6975B, $69771 - $6975B
Unknown_0x69771:
INCBIN "baserom.gbc", $69771, $69772 - $69771
LoggedData_0x69772:
INCBIN "baserom.gbc", $69772, $69774 - $69772
Unknown_0x69774:
INCBIN "baserom.gbc", $69774, $69775 - $69774
LoggedData_0x69775:
INCBIN "baserom.gbc", $69775, $69791 - $69775
Unknown_0x69791:
INCBIN "baserom.gbc", $69791, $697B0 - $69791
LoggedData_0x697B0:
INCBIN "baserom.gbc", $697B0, $697BA - $697B0
Unknown_0x697BA:
INCBIN "baserom.gbc", $697BA, $697BB - $697BA
LoggedData_0x697BB:
INCBIN "baserom.gbc", $697BB, $697C5 - $697BB
Unknown_0x697C5:
INCBIN "baserom.gbc", $697C5, $697C6 - $697C5
LoggedData_0x697C6:
INCBIN "baserom.gbc", $697C6, $697D4 - $697C6
Unknown_0x697D4:
INCBIN "baserom.gbc", $697D4, $697D5 - $697D4
LoggedData_0x697D5:
INCBIN "baserom.gbc", $697D5, $697E5 - $697D5
Unknown_0x697E5:
INCBIN "baserom.gbc", $697E5, $697E6 - $697E5
LoggedData_0x697E6:
INCBIN "baserom.gbc", $697E6, $697F0 - $697E6
Unknown_0x697F0:
INCBIN "baserom.gbc", $697F0, $69845 - $697F0
LoggedData_0x69845:
INCBIN "baserom.gbc", $69845, $69866 - $69845
Unknown_0x69866:
INCBIN "baserom.gbc", $69866, $6987A - $69866
LoggedData_0x6987A:
INCBIN "baserom.gbc", $6987A, $69881 - $6987A
Unknown_0x69881:
INCBIN "baserom.gbc", $69881, $69882 - $69881
LoggedData_0x69882:
INCBIN "baserom.gbc", $69882, $69892 - $69882
Unknown_0x69892:
INCBIN "baserom.gbc", $69892, $69893 - $69892
LoggedData_0x69893:
INCBIN "baserom.gbc", $69893, $698A4 - $69893
Unknown_0x698A4:
INCBIN "baserom.gbc", $698A4, $698A8 - $698A4
LoggedData_0x698A8:
INCBIN "baserom.gbc", $698A8, $698B3 - $698A8
Unknown_0x698B3:
INCBIN "baserom.gbc", $698B3, $698B4 - $698B3
LoggedData_0x698B4:
INCBIN "baserom.gbc", $698B4, $698B6 - $698B4
Unknown_0x698B6:
INCBIN "baserom.gbc", $698B6, $698B7 - $698B6
LoggedData_0x698B7:
INCBIN "baserom.gbc", $698B7, $698B9 - $698B7
Unknown_0x698B9:
INCBIN "baserom.gbc", $698B9, $698BA - $698B9
LoggedData_0x698BA:
INCBIN "baserom.gbc", $698BA, $698BC - $698BA
Unknown_0x698BC:
INCBIN "baserom.gbc", $698BC, $698BD - $698BC
LoggedData_0x698BD:
INCBIN "baserom.gbc", $698BD, $698BF - $698BD
Unknown_0x698BF:
INCBIN "baserom.gbc", $698BF, $698C0 - $698BF
LoggedData_0x698C0:
INCBIN "baserom.gbc", $698C0, $698C2 - $698C0
Unknown_0x698C2:
INCBIN "baserom.gbc", $698C2, $698C3 - $698C2
LoggedData_0x698C3:
INCBIN "baserom.gbc", $698C3, $698C5 - $698C3
Unknown_0x698C5:
INCBIN "baserom.gbc", $698C5, $698C6 - $698C5
LoggedData_0x698C6:
INCBIN "baserom.gbc", $698C6, $698C8 - $698C6
Unknown_0x698C8:
INCBIN "baserom.gbc", $698C8, $698C9 - $698C8
LoggedData_0x698C9:
INCBIN "baserom.gbc", $698C9, $698CB - $698C9
Unknown_0x698CB:
INCBIN "baserom.gbc", $698CB, $698CC - $698CB
LoggedData_0x698CC:
INCBIN "baserom.gbc", $698CC, $698CE - $698CC
Unknown_0x698CE:
INCBIN "baserom.gbc", $698CE, $698CF - $698CE
LoggedData_0x698CF:
INCBIN "baserom.gbc", $698CF, $698D1 - $698CF
Unknown_0x698D1:
INCBIN "baserom.gbc", $698D1, $698D2 - $698D1
LoggedData_0x698D2:
INCBIN "baserom.gbc", $698D2, $698D4 - $698D2
Unknown_0x698D4:
INCBIN "baserom.gbc", $698D4, $698D5 - $698D4
LoggedData_0x698D5:
INCBIN "baserom.gbc", $698D5, $698D7 - $698D5
Unknown_0x698D7:
INCBIN "baserom.gbc", $698D7, $698D8 - $698D7
LoggedData_0x698D8:
INCBIN "baserom.gbc", $698D8, $698DA - $698D8
Unknown_0x698DA:
INCBIN "baserom.gbc", $698DA, $698DB - $698DA
LoggedData_0x698DB:
INCBIN "baserom.gbc", $698DB, $698DD - $698DB
Unknown_0x698DD:
INCBIN "baserom.gbc", $698DD, $698DE - $698DD
LoggedData_0x698DE:
INCBIN "baserom.gbc", $698DE, $698E0 - $698DE
Unknown_0x698E0:
INCBIN "baserom.gbc", $698E0, $698E1 - $698E0
LoggedData_0x698E1:
INCBIN "baserom.gbc", $698E1, $698E3 - $698E1
Unknown_0x698E3:
INCBIN "baserom.gbc", $698E3, $698E4 - $698E3
LoggedData_0x698E4:
INCBIN "baserom.gbc", $698E4, $698E6 - $698E4
Unknown_0x698E6:
INCBIN "baserom.gbc", $698E6, $698E7 - $698E6
LoggedData_0x698E7:
INCBIN "baserom.gbc", $698E7, $698E9 - $698E7
Unknown_0x698E9:
INCBIN "baserom.gbc", $698E9, $698EA - $698E9
LoggedData_0x698EA:
INCBIN "baserom.gbc", $698EA, $698EC - $698EA
Unknown_0x698EC:
INCBIN "baserom.gbc", $698EC, $698ED - $698EC
LoggedData_0x698ED:
INCBIN "baserom.gbc", $698ED, $698EF - $698ED
Unknown_0x698EF:
INCBIN "baserom.gbc", $698EF, $698F0 - $698EF
LoggedData_0x698F0:
INCBIN "baserom.gbc", $698F0, $698F2 - $698F0
Unknown_0x698F2:
INCBIN "baserom.gbc", $698F2, $698F3 - $698F2
LoggedData_0x698F3:
INCBIN "baserom.gbc", $698F3, $698F5 - $698F3
Unknown_0x698F5:
INCBIN "baserom.gbc", $698F5, $698F6 - $698F5
LoggedData_0x698F6:
INCBIN "baserom.gbc", $698F6, $698F8 - $698F6
Unknown_0x698F8:
INCBIN "baserom.gbc", $698F8, $698F9 - $698F8
LoggedData_0x698F9:
INCBIN "baserom.gbc", $698F9, $698FB - $698F9
Unknown_0x698FB:
INCBIN "baserom.gbc", $698FB, $698FC - $698FB
LoggedData_0x698FC:
INCBIN "baserom.gbc", $698FC, $698FE - $698FC
Unknown_0x698FE:
INCBIN "baserom.gbc", $698FE, $698FF - $698FE
LoggedData_0x698FF:
INCBIN "baserom.gbc", $698FF, $69911 - $698FF
Unknown_0x69911:
INCBIN "baserom.gbc", $69911, $69918 - $69911
LoggedData_0x69918:
INCBIN "baserom.gbc", $69918, $69926 - $69918
Unknown_0x69926:
INCBIN "baserom.gbc", $69926, $69942 - $69926
LoggedData_0x69942:
INCBIN "baserom.gbc", $69942, $69949 - $69942
Unknown_0x69949:
INCBIN "baserom.gbc", $69949, $69950 - $69949
LoggedData_0x69950:
INCBIN "baserom.gbc", $69950, $6996C - $69950
Unknown_0x6996C:
INCBIN "baserom.gbc", $6996C, $6997A - $6996C
LoggedData_0x6997A:
INCBIN "baserom.gbc", $6997A, $69980 - $6997A
Unknown_0x69980:
INCBIN "baserom.gbc", $69980, $69988 - $69980
LoggedData_0x69988:
INCBIN "baserom.gbc", $69988, $6998E - $69988
Unknown_0x6998E:
INCBIN "baserom.gbc", $6998E, $6998F - $6998E
LoggedData_0x6998F:
INCBIN "baserom.gbc", $6998F, $69995 - $6998F
Unknown_0x69995:
INCBIN "baserom.gbc", $69995, $69996 - $69995
LoggedData_0x69996:
INCBIN "baserom.gbc", $69996, $6999C - $69996
Unknown_0x6999C:
INCBIN "baserom.gbc", $6999C, $6999D - $6999C
LoggedData_0x6999D:
INCBIN "baserom.gbc", $6999D, $699A3 - $6999D
Unknown_0x699A3:
INCBIN "baserom.gbc", $699A3, $699BC - $699A3
LoggedData_0x699BC:
INCBIN "baserom.gbc", $699BC, $699DE - $699BC
Unknown_0x699DE:
INCBIN "baserom.gbc", $699DE, $699DF - $699DE
LoggedData_0x699DF:
INCBIN "baserom.gbc", $699DF, $699E3 - $699DF
Unknown_0x699E3:
INCBIN "baserom.gbc", $699E3, $699E4 - $699E3
LoggedData_0x699E4:
INCBIN "baserom.gbc", $699E4, $699E9 - $699E4
Unknown_0x699E9:
INCBIN "baserom.gbc", $699E9, $69A00 - $699E9
LoggedData_0x69A00:
INCBIN "baserom.gbc", $69A00, $69A03 - $69A00
Unknown_0x69A03:
INCBIN "baserom.gbc", $69A03, $69A1A - $69A03
LoggedData_0x69A1A:
INCBIN "baserom.gbc", $69A1A, $69A1C - $69A1A
Unknown_0x69A1C:
INCBIN "baserom.gbc", $69A1C, $69A1D - $69A1C
LoggedData_0x69A1D:
INCBIN "baserom.gbc", $69A1D, $69A1F - $69A1D
Unknown_0x69A1F:
INCBIN "baserom.gbc", $69A1F, $69A26 - $69A1F
LoggedData_0x69A26:
INCBIN "baserom.gbc", $69A26, $69A2A - $69A26
Unknown_0x69A2A:
INCBIN "baserom.gbc", $69A2A, $69A33 - $69A2A
LoggedData_0x69A33:
INCBIN "baserom.gbc", $69A33, $69A38 - $69A33
Unknown_0x69A38:
INCBIN "baserom.gbc", $69A38, $69A3D - $69A38
LoggedData_0x69A3D:
INCBIN "baserom.gbc", $69A3D, $69A3F - $69A3D
Unknown_0x69A3F:
INCBIN "baserom.gbc", $69A3F, $69A5F - $69A3F
LoggedData_0x69A5F:
INCBIN "baserom.gbc", $69A5F, $69A79 - $69A5F
Unknown_0x69A79:
INCBIN "baserom.gbc", $69A79, $69A7A - $69A79
LoggedData_0x69A7A:
INCBIN "baserom.gbc", $69A7A, $69A94 - $69A7A
Unknown_0x69A94:
INCBIN "baserom.gbc", $69A94, $69A95 - $69A94
LoggedData_0x69A95:
INCBIN "baserom.gbc", $69A95, $69AA7 - $69A95
Unknown_0x69AA7:
INCBIN "baserom.gbc", $69AA7, $69AA8 - $69AA7
LoggedData_0x69AA8:
INCBIN "baserom.gbc", $69AA8, $69AB2 - $69AA8
Unknown_0x69AB2:
INCBIN "baserom.gbc", $69AB2, $69AB3 - $69AB2
LoggedData_0x69AB3:
INCBIN "baserom.gbc", $69AB3, $69AC2 - $69AB3
Unknown_0x69AC2:
INCBIN "baserom.gbc", $69AC2, $69AC3 - $69AC2
LoggedData_0x69AC3:
INCBIN "baserom.gbc", $69AC3, $69ACC - $69AC3
Unknown_0x69ACC:
INCBIN "baserom.gbc", $69ACC, $69AE3 - $69ACC
LoggedData_0x69AE3:
INCBIN "baserom.gbc", $69AE3, $69AEC - $69AE3
Unknown_0x69AEC:
INCBIN "baserom.gbc", $69AEC, $69AF5 - $69AEC
LoggedData_0x69AF5:
INCBIN "baserom.gbc", $69AF5, $69AFC - $69AF5
Unknown_0x69AFC:
INCBIN "baserom.gbc", $69AFC, $69B08 - $69AFC
LoggedData_0x69B08:
INCBIN "baserom.gbc", $69B08, $69B1B - $69B08
Unknown_0x69B1B:
INCBIN "baserom.gbc", $69B1B, $69B1E - $69B1B
LoggedData_0x69B1E:
INCBIN "baserom.gbc", $69B1E, $69B4B - $69B1E
Unknown_0x69B4B:
INCBIN "baserom.gbc", $69B4B, $69B4C - $69B4B
LoggedData_0x69B4C:
INCBIN "baserom.gbc", $69B4C, $69B56 - $69B4C
Unknown_0x69B56:
INCBIN "baserom.gbc", $69B56, $69B57 - $69B56
LoggedData_0x69B57:
INCBIN "baserom.gbc", $69B57, $69B73 - $69B57
Unknown_0x69B73:
INCBIN "baserom.gbc", $69B73, $69B74 - $69B73
LoggedData_0x69B74:
INCBIN "baserom.gbc", $69B74, $69B7E - $69B74
Unknown_0x69B7E:
INCBIN "baserom.gbc", $69B7E, $69B88 - $69B7E
LoggedData_0x69B88:
INCBIN "baserom.gbc", $69B88, $69B91 - $69B88
Unknown_0x69B91:
INCBIN "baserom.gbc", $69B91, $69BA0 - $69B91
LoggedData_0x69BA0:
INCBIN "baserom.gbc", $69BA0, $69BCD - $69BA0
Unknown_0x69BCD:
INCBIN "baserom.gbc", $69BCD, $69BCE - $69BCD
LoggedData_0x69BCE:
INCBIN "baserom.gbc", $69BCE, $69BD8 - $69BCE
Unknown_0x69BD8:
INCBIN "baserom.gbc", $69BD8, $69BD9 - $69BD8
LoggedData_0x69BD9:
INCBIN "baserom.gbc", $69BD9, $69BE2 - $69BD9
Unknown_0x69BE2:
INCBIN "baserom.gbc", $69BE2, $69BFE - $69BE2
LoggedData_0x69BFE:
INCBIN "baserom.gbc", $69BFE, $69C09 - $69BFE
Unknown_0x69C09:
INCBIN "baserom.gbc", $69C09, $69C0A - $69C09
LoggedData_0x69C0A:
INCBIN "baserom.gbc", $69C0A, $69C1E - $69C0A
Unknown_0x69C1E:
INCBIN "baserom.gbc", $69C1E, $69C25 - $69C1E
LoggedData_0x69C25:
INCBIN "baserom.gbc", $69C25, $69C3B - $69C25
Unknown_0x69C3B:
INCBIN "baserom.gbc", $69C3B, $69C40 - $69C3B
LoggedData_0x69C40:
INCBIN "baserom.gbc", $69C40, $69C58 - $69C40
Unknown_0x69C58:
INCBIN "baserom.gbc", $69C58, $69C69 - $69C58
LoggedData_0x69C69:
INCBIN "baserom.gbc", $69C69, $69C89 - $69C69
Unknown_0x69C89:
INCBIN "baserom.gbc", $69C89, $69C92 - $69C89
LoggedData_0x69C92:
INCBIN "baserom.gbc", $69C92, $69CA0 - $69C92
Unknown_0x69CA0:
INCBIN "baserom.gbc", $69CA0, $69CA1 - $69CA0
LoggedData_0x69CA1:
INCBIN "baserom.gbc", $69CA1, $69CAE - $69CA1
Unknown_0x69CAE:
INCBIN "baserom.gbc", $69CAE, $69CB0 - $69CAE
LoggedData_0x69CB0:
INCBIN "baserom.gbc", $69CB0, $69D4D - $69CB0
Unknown_0x69D4D:
INCBIN "baserom.gbc", $69D4D, $69D52 - $69D4D
LoggedData_0x69D52:
INCBIN "baserom.gbc", $69D52, $69D7C - $69D52
Unknown_0x69D7C:
INCBIN "baserom.gbc", $69D7C, $69D85 - $69D7C
LoggedData_0x69D85:
INCBIN "baserom.gbc", $69D85, $69DCA - $69D85
Unknown_0x69DCA:
INCBIN "baserom.gbc", $69DCA, $69DCB - $69DCA
LoggedData_0x69DCB:
INCBIN "baserom.gbc", $69DCB, $69DD0 - $69DCB
Unknown_0x69DD0:
INCBIN "baserom.gbc", $69DD0, $69DD5 - $69DD0
LoggedData_0x69DD5:
INCBIN "baserom.gbc", $69DD5, $69DDB - $69DD5
Unknown_0x69DDB:
INCBIN "baserom.gbc", $69DDB, $69DDE - $69DDB
LoggedData_0x69DDE:
INCBIN "baserom.gbc", $69DDE, $69DE4 - $69DDE
Unknown_0x69DE4:
INCBIN "baserom.gbc", $69DE4, $69DE7 - $69DE4
LoggedData_0x69DE7:
INCBIN "baserom.gbc", $69DE7, $69DFF - $69DE7
Unknown_0x69DFF:
INCBIN "baserom.gbc", $69DFF, $69E00 - $69DFF
LoggedData_0x69E00:
INCBIN "baserom.gbc", $69E00, $69E04 - $69E00
Unknown_0x69E04:
INCBIN "baserom.gbc", $69E04, $69E05 - $69E04
LoggedData_0x69E05:
INCBIN "baserom.gbc", $69E05, $69E5F - $69E05
Unknown_0x69E5F:
INCBIN "baserom.gbc", $69E5F, $69E60 - $69E5F
LoggedData_0x69E60:
INCBIN "baserom.gbc", $69E60, $69E69 - $69E60
Unknown_0x69E69:
INCBIN "baserom.gbc", $69E69, $69E72 - $69E69
LoggedData_0x69E72:
INCBIN "baserom.gbc", $69E72, $69E9F - $69E72
Unknown_0x69E9F:
INCBIN "baserom.gbc", $69E9F, $69EA0 - $69E9F
LoggedData_0x69EA0:
INCBIN "baserom.gbc", $69EA0, $69EB1 - $69EA0
Unknown_0x69EB1:
INCBIN "baserom.gbc", $69EB1, $69EB2 - $69EB1
LoggedData_0x69EB2:
INCBIN "baserom.gbc", $69EB2, $69EC2 - $69EB2
Unknown_0x69EC2:
INCBIN "baserom.gbc", $69EC2, $69F35 - $69EC2
LoggedData_0x69F35:
INCBIN "baserom.gbc", $69F35, $69F3F - $69F35
Unknown_0x69F3F:
INCBIN "baserom.gbc", $69F3F, $69F40 - $69F3F
LoggedData_0x69F40:
INCBIN "baserom.gbc", $69F40, $69F4A - $69F40
Unknown_0x69F4A:
INCBIN "baserom.gbc", $69F4A, $69F54 - $69F4A
LoggedData_0x69F54:
INCBIN "baserom.gbc", $69F54, $69F5C - $69F54
Unknown_0x69F5C:
INCBIN "baserom.gbc", $69F5C, $69F5D - $69F5C
LoggedData_0x69F5D:
INCBIN "baserom.gbc", $69F5D, $69F81 - $69F5D
Unknown_0x69F81:
INCBIN "baserom.gbc", $69F81, $69F8A - $69F81
LoggedData_0x69F8A:
INCBIN "baserom.gbc", $69F8A, $69F92 - $69F8A
Unknown_0x69F92:
INCBIN "baserom.gbc", $69F92, $69F9A - $69F92
LoggedData_0x69F9A:
INCBIN "baserom.gbc", $69F9A, $69FAE - $69F9A
Unknown_0x69FAE:
INCBIN "baserom.gbc", $69FAE, $69FBA - $69FAE
LoggedData_0x69FBA:
INCBIN "baserom.gbc", $69FBA, $69FCE - $69FBA
Unknown_0x69FCE:
INCBIN "baserom.gbc", $69FCE, $69FCF - $69FCE
LoggedData_0x69FCF:
INCBIN "baserom.gbc", $69FCF, $69FDB - $69FCF
Unknown_0x69FDB:
INCBIN "baserom.gbc", $69FDB, $69FDC - $69FDB
LoggedData_0x69FDC:
INCBIN "baserom.gbc", $69FDC, $69FFC - $69FDC
Unknown_0x69FFC:
INCBIN "baserom.gbc", $69FFC, $69FFD - $69FFC
LoggedData_0x69FFD:
INCBIN "baserom.gbc", $69FFD, $69FFF - $69FFD
Unknown_0x69FFF:
INCBIN "baserom.gbc", $69FFF, $6A000 - $69FFF
LoggedData_0x6A000:
INCBIN "baserom.gbc", $6A000, $6A00A - $6A000
Unknown_0x6A00A:
INCBIN "baserom.gbc", $6A00A, $6A00B - $6A00A
LoggedData_0x6A00B:
INCBIN "baserom.gbc", $6A00B, $6A016 - $6A00B
Unknown_0x6A016:
INCBIN "baserom.gbc", $6A016, $6A017 - $6A016
LoggedData_0x6A017:
INCBIN "baserom.gbc", $6A017, $6A021 - $6A017
Unknown_0x6A021:
INCBIN "baserom.gbc", $6A021, $6A022 - $6A021
LoggedData_0x6A022:
INCBIN "baserom.gbc", $6A022, $6A02A - $6A022
Unknown_0x6A02A:
INCBIN "baserom.gbc", $6A02A, $6A02B - $6A02A
LoggedData_0x6A02B:
INCBIN "baserom.gbc", $6A02B, $6A02D - $6A02B
Unknown_0x6A02D:
INCBIN "baserom.gbc", $6A02D, $6A02E - $6A02D
LoggedData_0x6A02E:
INCBIN "baserom.gbc", $6A02E, $6A030 - $6A02E
Unknown_0x6A030:
INCBIN "baserom.gbc", $6A030, $6A031 - $6A030
LoggedData_0x6A031:
INCBIN "baserom.gbc", $6A031, $6A033 - $6A031
Unknown_0x6A033:
INCBIN "baserom.gbc", $6A033, $6A034 - $6A033
LoggedData_0x6A034:
INCBIN "baserom.gbc", $6A034, $6A036 - $6A034
Unknown_0x6A036:
INCBIN "baserom.gbc", $6A036, $6A037 - $6A036
LoggedData_0x6A037:
INCBIN "baserom.gbc", $6A037, $6A039 - $6A037
Unknown_0x6A039:
INCBIN "baserom.gbc", $6A039, $6A03A - $6A039
LoggedData_0x6A03A:
INCBIN "baserom.gbc", $6A03A, $6A042 - $6A03A
Unknown_0x6A042:
INCBIN "baserom.gbc", $6A042, $6A043 - $6A042
LoggedData_0x6A043:
INCBIN "baserom.gbc", $6A043, $6A045 - $6A043
Unknown_0x6A045:
INCBIN "baserom.gbc", $6A045, $6A046 - $6A045
LoggedData_0x6A046:
INCBIN "baserom.gbc", $6A046, $6A048 - $6A046
Unknown_0x6A048:
INCBIN "baserom.gbc", $6A048, $6A049 - $6A048
LoggedData_0x6A049:
INCBIN "baserom.gbc", $6A049, $6A04B - $6A049
Unknown_0x6A04B:
INCBIN "baserom.gbc", $6A04B, $6A04C - $6A04B
LoggedData_0x6A04C:
INCBIN "baserom.gbc", $6A04C, $6A04E - $6A04C
Unknown_0x6A04E:
INCBIN "baserom.gbc", $6A04E, $6A04F - $6A04E
LoggedData_0x6A04F:
INCBIN "baserom.gbc", $6A04F, $6A051 - $6A04F
Unknown_0x6A051:
INCBIN "baserom.gbc", $6A051, $6A052 - $6A051
LoggedData_0x6A052:
INCBIN "baserom.gbc", $6A052, $6A07E - $6A052
Unknown_0x6A07E:
INCBIN "baserom.gbc", $6A07E, $6A07F - $6A07E
LoggedData_0x6A07F:
INCBIN "baserom.gbc", $6A07F, $6A083 - $6A07F
Unknown_0x6A083:
INCBIN "baserom.gbc", $6A083, $6A084 - $6A083
LoggedData_0x6A084:
INCBIN "baserom.gbc", $6A084, $6A091 - $6A084
Unknown_0x6A091:
INCBIN "baserom.gbc", $6A091, $6A092 - $6A091
LoggedData_0x6A092:
INCBIN "baserom.gbc", $6A092, $6A096 - $6A092
Unknown_0x6A096:
INCBIN "baserom.gbc", $6A096, $6A0B2 - $6A096
LoggedData_0x6A0B2:
INCBIN "baserom.gbc", $6A0B2, $6A0C2 - $6A0B2
Unknown_0x6A0C2:
INCBIN "baserom.gbc", $6A0C2, $6A0C3 - $6A0C2
LoggedData_0x6A0C3:
INCBIN "baserom.gbc", $6A0C3, $6A0C7 - $6A0C3
Unknown_0x6A0C7:
INCBIN "baserom.gbc", $6A0C7, $6A0C8 - $6A0C7
LoggedData_0x6A0C8:
INCBIN "baserom.gbc", $6A0C8, $6A0CE - $6A0C8
Unknown_0x6A0CE:
INCBIN "baserom.gbc", $6A0CE, $6A0CF - $6A0CE
LoggedData_0x6A0CF:
INCBIN "baserom.gbc", $6A0CF, $6A0D3 - $6A0CF
Unknown_0x6A0D3:
INCBIN "baserom.gbc", $6A0D3, $6A0D4 - $6A0D3
LoggedData_0x6A0D4:
INCBIN "baserom.gbc", $6A0D4, $6A0D7 - $6A0D4
Unknown_0x6A0D7:
INCBIN "baserom.gbc", $6A0D7, $6A0EF - $6A0D7
LoggedData_0x6A0EF:
INCBIN "baserom.gbc", $6A0EF, $6A0F1 - $6A0EF
Unknown_0x6A0F1:
INCBIN "baserom.gbc", $6A0F1, $6A0F2 - $6A0F1
LoggedData_0x6A0F2:
INCBIN "baserom.gbc", $6A0F2, $6A0F5 - $6A0F2
Unknown_0x6A0F5:
INCBIN "baserom.gbc", $6A0F5, $6A0FE - $6A0F5
LoggedData_0x6A0FE:
INCBIN "baserom.gbc", $6A0FE, $6A101 - $6A0FE
Unknown_0x6A101:
INCBIN "baserom.gbc", $6A101, $6A119 - $6A101
LoggedData_0x6A119:
INCBIN "baserom.gbc", $6A119, $6A11B - $6A119
Unknown_0x6A11B:
INCBIN "baserom.gbc", $6A11B, $6A11C - $6A11B
LoggedData_0x6A11C:
INCBIN "baserom.gbc", $6A11C, $6A11F - $6A11C
Unknown_0x6A11F:
INCBIN "baserom.gbc", $6A11F, $6A128 - $6A11F
LoggedData_0x6A128:
INCBIN "baserom.gbc", $6A128, $6A140 - $6A128
Unknown_0x6A140:
INCBIN "baserom.gbc", $6A140, $6A145 - $6A140
LoggedData_0x6A145:
INCBIN "baserom.gbc", $6A145, $6A14F - $6A145
Unknown_0x6A14F:
INCBIN "baserom.gbc", $6A14F, $6C000 - $6A14F
SECTION "Bank1B", ROMX, BANK[$1B]
Unknown_0x6C000:
INCBIN "baserom.gbc", $6C000, $70000 - $6C000
SECTION "Bank1C", ROMX, BANK[$1C]
Unknown_0x70000:
INCBIN "baserom.gbc", $70000, $74000 - $70000
SECTION "Bank1D", ROMX, BANK[$1D]
Unknown_0x74000:
INCBIN "baserom.gbc", $74000, $78000 - $74000
SECTION "Bank1E", ROMX, BANK[$1E]
Unknown_0x78000:
INCBIN "baserom.gbc", $78000, $7C000 - $78000
SECTION "Bank1F", ROMX, BANK[$1F]
Unknown_0x7C000:
INCBIN "baserom.gbc", $7C000, $80000 - $7C000
SECTION "Bank20", ROMX, BANK[$20]
LoggedData_0x80000:
INCBIN "baserom.gbc", $80000, $80008 - $80000
Unknown_0x80008:
INCBIN "baserom.gbc", $80008, $8000A - $80008
LoggedData_0x8000A:
INCBIN "baserom.gbc", $8000A, $8001A - $8000A
Unknown_0x8001A:
INCBIN "baserom.gbc", $8001A, $8001C - $8001A
LoggedData_0x8001C:
INCBIN "baserom.gbc", $8001C, $8002A - $8001C
Unknown_0x8002A:
INCBIN "baserom.gbc", $8002A, $8002C - $8002A
LoggedData_0x8002C:
INCBIN "baserom.gbc", $8002C, $8003A - $8002C
Unknown_0x8003A:
INCBIN "baserom.gbc", $8003A, $8003C - $8003A
LoggedData_0x8003C:
INCBIN "baserom.gbc", $8003C, $80054 - $8003C
Unknown_0x80054:
INCBIN "baserom.gbc", $80054, $80056 - $80054
LoggedData_0x80056:
INCBIN "baserom.gbc", $80056, $80066 - $80056
Unknown_0x80066:
INCBIN "baserom.gbc", $80066, $80068 - $80066
LoggedData_0x80068:
INCBIN "baserom.gbc", $80068, $80076 - $80068
Unknown_0x80076:
INCBIN "baserom.gbc", $80076, $80078 - $80076
LoggedData_0x80078:
INCBIN "baserom.gbc", $80078, $80086 - $80078
Unknown_0x80086:
INCBIN "baserom.gbc", $80086, $80088 - $80086
LoggedData_0x80088:
INCBIN "baserom.gbc", $80088, $80098 - $80088
Unknown_0x80098:
INCBIN "baserom.gbc", $80098, $8009A - $80098
LoggedData_0x8009A:
INCBIN "baserom.gbc", $8009A, $8009E - $8009A
Unknown_0x8009E:
INCBIN "baserom.gbc", $8009E, $8009F - $8009E
LoggedData_0x8009F:
INCBIN "baserom.gbc", $8009F, $800A3 - $8009F
Unknown_0x800A3:
INCBIN "baserom.gbc", $800A3, $800A4 - $800A3
LoggedData_0x800A4:
INCBIN "baserom.gbc", $800A4, $800A8 - $800A4
Unknown_0x800A8:
INCBIN "baserom.gbc", $800A8, $800A9 - $800A8
LoggedData_0x800A9:
INCBIN "baserom.gbc", $800A9, $800AD - $800A9
Unknown_0x800AD:
INCBIN "baserom.gbc", $800AD, $800AE - $800AD
LoggedData_0x800AE:
INCBIN "baserom.gbc", $800AE, $800B2 - $800AE
Unknown_0x800B2:
INCBIN "baserom.gbc", $800B2, $800B3 - $800B2
LoggedData_0x800B3:
INCBIN "baserom.gbc", $800B3, $800B7 - $800B3
Unknown_0x800B7:
INCBIN "baserom.gbc", $800B7, $800B8 - $800B7
LoggedData_0x800B8:
INCBIN "baserom.gbc", $800B8, $800BC - $800B8
Unknown_0x800BC:
INCBIN "baserom.gbc", $800BC, $800BD - $800BC
LoggedData_0x800BD:
INCBIN "baserom.gbc", $800BD, $800C1 - $800BD
Unknown_0x800C1:
INCBIN "baserom.gbc", $800C1, $800C4 - $800C1
LoggedData_0x800C4:
INCBIN "baserom.gbc", $800C4, $800C8 - $800C4
Unknown_0x800C8:
INCBIN "baserom.gbc", $800C8, $800C9 - $800C8
LoggedData_0x800C9:
INCBIN "baserom.gbc", $800C9, $800CD - $800C9
Unknown_0x800CD:
INCBIN "baserom.gbc", $800CD, $800CE - $800CD
LoggedData_0x800CE:
INCBIN "baserom.gbc", $800CE, $800D2 - $800CE
Unknown_0x800D2:
INCBIN "baserom.gbc", $800D2, $800D3 - $800D2
LoggedData_0x800D3:
INCBIN "baserom.gbc", $800D3, $800D7 - $800D3
Unknown_0x800D7:
INCBIN "baserom.gbc", $800D7, $800D8 - $800D7
LoggedData_0x800D8:
INCBIN "baserom.gbc", $800D8, $800DC - $800D8
Unknown_0x800DC:
INCBIN "baserom.gbc", $800DC, $800DD - $800DC
LoggedData_0x800DD:
INCBIN "baserom.gbc", $800DD, $800E1 - $800DD
Unknown_0x800E1:
INCBIN "baserom.gbc", $800E1, $800E2 - $800E1
LoggedData_0x800E2:
INCBIN "baserom.gbc", $800E2, $800E6 - $800E2
Unknown_0x800E6:
INCBIN "baserom.gbc", $800E6, $800E9 - $800E6
LoggedData_0x800E9:
INCBIN "baserom.gbc", $800E9, $800ED - $800E9
Unknown_0x800ED:
INCBIN "baserom.gbc", $800ED, $800EE - $800ED
LoggedData_0x800EE:
INCBIN "baserom.gbc", $800EE, $800F2 - $800EE
Unknown_0x800F2:
INCBIN "baserom.gbc", $800F2, $800F3 - $800F2
LoggedData_0x800F3:
INCBIN "baserom.gbc", $800F3, $800F7 - $800F3
Unknown_0x800F7:
INCBIN "baserom.gbc", $800F7, $800F8 - $800F7
LoggedData_0x800F8:
INCBIN "baserom.gbc", $800F8, $800FC - $800F8
Unknown_0x800FC:
INCBIN "baserom.gbc", $800FC, $800FD - $800FC
LoggedData_0x800FD:
INCBIN "baserom.gbc", $800FD, $80101 - $800FD
Unknown_0x80101:
INCBIN "baserom.gbc", $80101, $80102 - $80101
LoggedData_0x80102:
INCBIN "baserom.gbc", $80102, $80106 - $80102
Unknown_0x80106:
INCBIN "baserom.gbc", $80106, $80107 - $80106
LoggedData_0x80107:
INCBIN "baserom.gbc", $80107, $8010B - $80107
Unknown_0x8010B:
INCBIN "baserom.gbc", $8010B, $8010E - $8010B
LoggedData_0x8010E:
INCBIN "baserom.gbc", $8010E, $80112 - $8010E
Unknown_0x80112:
INCBIN "baserom.gbc", $80112, $80113 - $80112
LoggedData_0x80113:
INCBIN "baserom.gbc", $80113, $80117 - $80113
Unknown_0x80117:
INCBIN "baserom.gbc", $80117, $80118 - $80117
LoggedData_0x80118:
INCBIN "baserom.gbc", $80118, $8011C - $80118
Unknown_0x8011C:
INCBIN "baserom.gbc", $8011C, $8011D - $8011C
LoggedData_0x8011D:
INCBIN "baserom.gbc", $8011D, $80121 - $8011D
Unknown_0x80121:
INCBIN "baserom.gbc", $80121, $80122 - $80121
LoggedData_0x80122:
INCBIN "baserom.gbc", $80122, $80126 - $80122
Unknown_0x80126:
INCBIN "baserom.gbc", $80126, $80127 - $80126
LoggedData_0x80127:
INCBIN "baserom.gbc", $80127, $8012B - $80127
Unknown_0x8012B:
INCBIN "baserom.gbc", $8012B, $8012C - $8012B
LoggedData_0x8012C:
INCBIN "baserom.gbc", $8012C, $80130 - $8012C
Unknown_0x80130:
INCBIN "baserom.gbc", $80130, $80131 - $80130
LoggedData_0x80131:
INCBIN "baserom.gbc", $80131, $80135 - $80131
Unknown_0x80135:
INCBIN "baserom.gbc", $80135, $80136 - $80135
LoggedData_0x80136:
INCBIN "baserom.gbc", $80136, $8015E - $80136
Unknown_0x8015E:
INCBIN "baserom.gbc", $8015E, $80176 - $8015E
LoggedData_0x80176:
INCBIN "baserom.gbc", $80176, $80196 - $80176
Unknown_0x80196:
INCBIN "baserom.gbc", $80196, $801B6 - $80196
LoggedData_0x801B6:
INCBIN "baserom.gbc", $801B6, $801D6 - $801B6
Unknown_0x801D6:
INCBIN "baserom.gbc", $801D6, $801F6 - $801D6
LoggedData_0x801F6:
INCBIN "baserom.gbc", $801F6, $8021A - $801F6
Unknown_0x8021A:
INCBIN "baserom.gbc", $8021A, $80236 - $8021A
LoggedData_0x80236:
INCBIN "baserom.gbc", $80236, $80246 - $80236
Unknown_0x80246:
INCBIN "baserom.gbc", $80246, $80247 - $80246
LoggedData_0x80247:
INCBIN "baserom.gbc", $80247, $80248 - $80247
Unknown_0x80248:
INCBIN "baserom.gbc", $80248, $8024B - $80248
LoggedData_0x8024B:
INCBIN "baserom.gbc", $8024B, $8024C - $8024B
Unknown_0x8024C:
INCBIN "baserom.gbc", $8024C, $8024E - $8024C
LoggedData_0x8024E:
INCBIN "baserom.gbc", $8024E, $8024F - $8024E
Unknown_0x8024F:
INCBIN "baserom.gbc", $8024F, $80251 - $8024F
LoggedData_0x80251:
INCBIN "baserom.gbc", $80251, $80253 - $80251
Unknown_0x80253:
INCBIN "baserom.gbc", $80253, $80255 - $80253
LoggedData_0x80255:
INCBIN "baserom.gbc", $80255, $80256 - $80255
Unknown_0x80256:
INCBIN "baserom.gbc", $80256, $80257 - $80256
LoggedData_0x80257:
INCBIN "baserom.gbc", $80257, $80259 - $80257
Unknown_0x80259:
INCBIN "baserom.gbc", $80259, $8025B - $80259
LoggedData_0x8025B:
INCBIN "baserom.gbc", $8025B, $8025D - $8025B
Unknown_0x8025D:
INCBIN "baserom.gbc", $8025D, $8025E - $8025D
LoggedData_0x8025E:
INCBIN "baserom.gbc", $8025E, $80260 - $8025E
Unknown_0x80260:
INCBIN "baserom.gbc", $80260, $80261 - $80260
LoggedData_0x80261:
INCBIN "baserom.gbc", $80261, $80264 - $80261
Unknown_0x80264:
INCBIN "baserom.gbc", $80264, $80265 - $80264
LoggedData_0x80265:
INCBIN "baserom.gbc", $80265, $80267 - $80265
Unknown_0x80267:
INCBIN "baserom.gbc", $80267, $80269 - $80267
LoggedData_0x80269:
INCBIN "baserom.gbc", $80269, $8026B - $80269
Unknown_0x8026B:
INCBIN "baserom.gbc", $8026B, $8026D - $8026B
LoggedData_0x8026D:
INCBIN "baserom.gbc", $8026D, $80270 - $8026D
Unknown_0x80270:
INCBIN "baserom.gbc", $80270, $80272 - $80270
LoggedData_0x80272:
INCBIN "baserom.gbc", $80272, $80274 - $80272
Unknown_0x80274:
INCBIN "baserom.gbc", $80274, $80277 - $80274
LoggedData_0x80277:
INCBIN "baserom.gbc", $80277, $80278 - $80277
Unknown_0x80278:
INCBIN "baserom.gbc", $80278, $8027B - $80278
LoggedData_0x8027B:
INCBIN "baserom.gbc", $8027B, $8027C - $8027B
Unknown_0x8027C:
INCBIN "baserom.gbc", $8027C, $8027E - $8027C
LoggedData_0x8027E:
INCBIN "baserom.gbc", $8027E, $8027F - $8027E
Unknown_0x8027F:
INCBIN "baserom.gbc", $8027F, $80280 - $8027F
LoggedData_0x80280:
INCBIN "baserom.gbc", $80280, $80283 - $80280
Unknown_0x80283:
INCBIN "baserom.gbc", $80283, $80284 - $80283
LoggedData_0x80284:
INCBIN "baserom.gbc", $80284, $80286 - $80284
Unknown_0x80286:
INCBIN "baserom.gbc", $80286, $80287 - $80286
LoggedData_0x80287:
INCBIN "baserom.gbc", $80287, $80289 - $80287
Unknown_0x80289:
INCBIN "baserom.gbc", $80289, $8028B - $80289
LoggedData_0x8028B:
INCBIN "baserom.gbc", $8028B, $8028D - $8028B
Unknown_0x8028D:
INCBIN "baserom.gbc", $8028D, $8028F - $8028D
LoggedData_0x8028F:
INCBIN "baserom.gbc", $8028F, $80292 - $8028F
Unknown_0x80292:
INCBIN "baserom.gbc", $80292, $80293 - $80292
LoggedData_0x80293:
INCBIN "baserom.gbc", $80293, $80298 - $80293
Unknown_0x80298:
INCBIN "baserom.gbc", $80298, $80299 - $80298
LoggedData_0x80299:
INCBIN "baserom.gbc", $80299, $8029C - $80299
Unknown_0x8029C:
INCBIN "baserom.gbc", $8029C, $8029D - $8029C
LoggedData_0x8029D:
INCBIN "baserom.gbc", $8029D, $8029E - $8029D
Unknown_0x8029E:
INCBIN "baserom.gbc", $8029E, $802A0 - $8029E
LoggedData_0x802A0:
INCBIN "baserom.gbc", $802A0, $802A2 - $802A0
Unknown_0x802A2:
INCBIN "baserom.gbc", $802A2, $802A4 - $802A2
LoggedData_0x802A4:
INCBIN "baserom.gbc", $802A4, $802A6 - $802A4
Unknown_0x802A6:
INCBIN "baserom.gbc", $802A6, $802A8 - $802A6
LoggedData_0x802A8:
INCBIN "baserom.gbc", $802A8, $802A9 - $802A8
Unknown_0x802A9:
INCBIN "baserom.gbc", $802A9, $802AC - $802A9
LoggedData_0x802AC:
INCBIN "baserom.gbc", $802AC, $802AD - $802AC
Unknown_0x802AD:
INCBIN "baserom.gbc", $802AD, $802AF - $802AD
LoggedData_0x802AF:
INCBIN "baserom.gbc", $802AF, $802B0 - $802AF
Unknown_0x802B0:
INCBIN "baserom.gbc", $802B0, $802B3 - $802B0
LoggedData_0x802B3:
INCBIN "baserom.gbc", $802B3, $802B4 - $802B3
Unknown_0x802B4:
INCBIN "baserom.gbc", $802B4, $802B6 - $802B4
LoggedData_0x802B6:
INCBIN "baserom.gbc", $802B6, $802B8 - $802B6
Unknown_0x802B8:
INCBIN "baserom.gbc", $802B8, $802BA - $802B8
LoggedData_0x802BA:
INCBIN "baserom.gbc", $802BA, $802BC - $802BA
Unknown_0x802BC:
INCBIN "baserom.gbc", $802BC, $802BE - $802BC
LoggedData_0x802BE:
INCBIN "baserom.gbc", $802BE, $802C9 - $802BE
Unknown_0x802C9:
INCBIN "baserom.gbc", $802C9, $802CA - $802C9
LoggedData_0x802CA:
INCBIN "baserom.gbc", $802CA, $802CD - $802CA
Unknown_0x802CD:
INCBIN "baserom.gbc", $802CD, $802CF - $802CD
LoggedData_0x802CF:
INCBIN "baserom.gbc", $802CF, $802D0 - $802CF
Unknown_0x802D0:
INCBIN "baserom.gbc", $802D0, $802D3 - $802D0
LoggedData_0x802D3:
INCBIN "baserom.gbc", $802D3, $802D4 - $802D3
Unknown_0x802D4:
INCBIN "baserom.gbc", $802D4, $802D7 - $802D4
LoggedData_0x802D7:
INCBIN "baserom.gbc", $802D7, $802D8 - $802D7
Unknown_0x802D8:
INCBIN "baserom.gbc", $802D8, $802DB - $802D8
LoggedData_0x802DB:
INCBIN "baserom.gbc", $802DB, $802DC - $802DB
Unknown_0x802DC:
INCBIN "baserom.gbc", $802DC, $802DF - $802DC
LoggedData_0x802DF:
INCBIN "baserom.gbc", $802DF, $802E0 - $802DF
Unknown_0x802E0:
INCBIN "baserom.gbc", $802E0, $802E3 - $802E0
LoggedData_0x802E3:
INCBIN "baserom.gbc", $802E3, $802E4 - $802E3
Unknown_0x802E4:
INCBIN "baserom.gbc", $802E4, $802E7 - $802E4
LoggedData_0x802E7:
INCBIN "baserom.gbc", $802E7, $802EA - $802E7
Unknown_0x802EA:
INCBIN "baserom.gbc", $802EA, $802EB - $802EA
LoggedData_0x802EB:
INCBIN "baserom.gbc", $802EB, $802EE - $802EB
Unknown_0x802EE:
INCBIN "baserom.gbc", $802EE, $802EF - $802EE
LoggedData_0x802EF:
INCBIN "baserom.gbc", $802EF, $802F1 - $802EF
Unknown_0x802F1:
INCBIN "baserom.gbc", $802F1, $802F3 - $802F1
LoggedData_0x802F3:
INCBIN "baserom.gbc", $802F3, $802F5 - $802F3
Unknown_0x802F5:
INCBIN "baserom.gbc", $802F5, $802F7 - $802F5
LoggedData_0x802F7:
INCBIN "baserom.gbc", $802F7, $802F9 - $802F7
Unknown_0x802F9:
INCBIN "baserom.gbc", $802F9, $802FB - $802F9
LoggedData_0x802FB:
INCBIN "baserom.gbc", $802FB, $802FD - $802FB
Unknown_0x802FD:
INCBIN "baserom.gbc", $802FD, $80300 - $802FD
LoggedData_0x80300:
INCBIN "baserom.gbc", $80300, $80302 - $80300
Unknown_0x80302:
INCBIN "baserom.gbc", $80302, $80304 - $80302
LoggedData_0x80304:
INCBIN "baserom.gbc", $80304, $80306 - $80304
Unknown_0x80306:
INCBIN "baserom.gbc", $80306, $80308 - $80306
LoggedData_0x80308:
INCBIN "baserom.gbc", $80308, $80309 - $80308
Unknown_0x80309:
INCBIN "baserom.gbc", $80309, $8030C - $80309
LoggedData_0x8030C:
INCBIN "baserom.gbc", $8030C, $8030D - $8030C
Unknown_0x8030D:
INCBIN "baserom.gbc", $8030D, $80311 - $8030D
LoggedData_0x80311:
INCBIN "baserom.gbc", $80311, $80312 - $80311
Unknown_0x80312:
INCBIN "baserom.gbc", $80312, $80315 - $80312
LoggedData_0x80315:
INCBIN "baserom.gbc", $80315, $80318 - $80315
Unknown_0x80318:
INCBIN "baserom.gbc", $80318, $80319 - $80318
LoggedData_0x80319:
INCBIN "baserom.gbc", $80319, $8031C - $80319
Unknown_0x8031C:
INCBIN "baserom.gbc", $8031C, $8031D - $8031C
LoggedData_0x8031D:
INCBIN "baserom.gbc", $8031D, $80326 - $8031D
Unknown_0x80326:
INCBIN "baserom.gbc", $80326, $80327 - $80326
LoggedData_0x80327:
INCBIN "baserom.gbc", $80327, $80328 - $80327
Unknown_0x80328:
INCBIN "baserom.gbc", $80328, $8032B - $80328
LoggedData_0x8032B:
INCBIN "baserom.gbc", $8032B, $8032C - $8032B
Unknown_0x8032C:
INCBIN "baserom.gbc", $8032C, $8032E - $8032C
LoggedData_0x8032E:
INCBIN "baserom.gbc", $8032E, $8032F - $8032E
Unknown_0x8032F:
INCBIN "baserom.gbc", $8032F, $80332 - $8032F
LoggedData_0x80332:
INCBIN "baserom.gbc", $80332, $80333 - $80332
Unknown_0x80333:
INCBIN "baserom.gbc", $80333, $80337 - $80333
LoggedData_0x80337:
INCBIN "baserom.gbc", $80337, $80338 - $80337
Unknown_0x80338:
INCBIN "baserom.gbc", $80338, $8033B - $80338
LoggedData_0x8033B:
INCBIN "baserom.gbc", $8033B, $8033C - $8033B
Unknown_0x8033C:
INCBIN "baserom.gbc", $8033C, $8033E - $8033C
LoggedData_0x8033E:
INCBIN "baserom.gbc", $8033E, $8033F - $8033E
Unknown_0x8033F:
INCBIN "baserom.gbc", $8033F, $80342 - $8033F
LoggedData_0x80342:
INCBIN "baserom.gbc", $80342, $80343 - $80342
Unknown_0x80343:
INCBIN "baserom.gbc", $80343, $80347 - $80343
LoggedData_0x80347:
INCBIN "baserom.gbc", $80347, $80348 - $80347
Unknown_0x80348:
INCBIN "baserom.gbc", $80348, $8034B - $80348
LoggedData_0x8034B:
INCBIN "baserom.gbc", $8034B, $8034C - $8034B
Unknown_0x8034C:
INCBIN "baserom.gbc", $8034C, $8034E - $8034C
LoggedData_0x8034E:
INCBIN "baserom.gbc", $8034E, $8034F - $8034E
Unknown_0x8034F:
INCBIN "baserom.gbc", $8034F, $80352 - $8034F
LoggedData_0x80352:
INCBIN "baserom.gbc", $80352, $80353 - $80352
Unknown_0x80353:
INCBIN "baserom.gbc", $80353, $80357 - $80353
LoggedData_0x80357:
INCBIN "baserom.gbc", $80357, $80358 - $80357
Unknown_0x80358:
INCBIN "baserom.gbc", $80358, $8035B - $80358
LoggedData_0x8035B:
INCBIN "baserom.gbc", $8035B, $8035C - $8035B
Unknown_0x8035C:
INCBIN "baserom.gbc", $8035C, $8035E - $8035C
LoggedData_0x8035E:
INCBIN "baserom.gbc", $8035E, $8035F - $8035E
Unknown_0x8035F:
INCBIN "baserom.gbc", $8035F, $80362 - $8035F
LoggedData_0x80362:
INCBIN "baserom.gbc", $80362, $80363 - $80362
Unknown_0x80363:
INCBIN "baserom.gbc", $80363, $80366 - $80363
Logged_0x80366:
ld hl,$D00C
ld a,[hld]
ld c,[hl]
sla c
rla
sla c
rla
res 7,a
ld [$D057],a
ret
Logged_0x80377:
ld a,[$D01A]
cp $03
jr nz,Logged_0x8038A
ld a,[$D020]
and a
jr nz,Logged_0x8038A
ld hl,$CA3B
res 4,[hl]
ret
Logged_0x8038A:
ld hl,$CA3B
ld a,$10
xor [hl]
ld [hl],a
ret
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x803F9
dw Logged_0x05ED
dw Unknown_0x804EC
dw Logged_0x047B
dw Logged_0x804F7
dw Logged_0x05ED
dw Logged_0x80540
dw Logged_0x046D
dw Logged_0x8055F
dw Logged_0x05DF
dw Logged_0x805D7
dw Logged_0x046D
dw Logged_0x80DC0
dw Logged_0x05DF
dw Logged_0x80DD0
dw Logged_0x046D
dw Logged_0x80D6C
dw Logged_0x05DF
dw Logged_0x80D7C
dw Logged_0x046D
dw Logged_0x80DB1
dw Logged_0x046D
dw Unknown_0x80DF3
dw Logged_0x05DF
dw Unknown_0x80E03
dw Logged_0x046D
dw Logged_0x80E13
dw Logged_0x05DF
dw Logged_0x80E23
dw Logged_0x80E33
dw Logged_0x046D
dw Logged_0x80E45
dw Logged_0x05DF
dw Logged_0x80E55
dw Logged_0x047B
dw Logged_0x80E65
dw Logged_0x05ED
dw Logged_0x80E75
dw Logged_0x80E85
Logged_0x803E6:
ld a,[$CEE3]
and a
ret z
ld a,[$D050]
and a
ret nz
ld a,[$D01D]
cp $0E
ret nc
jp Logged_0x15DC
Logged_0x803F9:
ld a,$02
ld [rSVBK],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,[$CEE3]
ld [$D01B],a
xor a
ld [$CED8],a
ld a,[$D01B]
inc a
jr nz,Logged_0x8041E
ld hl,$D000
set 0,[hl]
Logged_0x8041E:
call Logged_0x80366
ld a,[$D050]
cp $04
jr z,Logged_0x8043C
ld a,[$D00F]
cp $1A
jp nc,Logged_0x804B9
ld b,a
call Logged_0x81278
ld a,b
ld [$D012],a
ld a,d
ld [$D01D],a
Logged_0x8043C:
call Logged_0x80B29
ld a,[$D01B]
and a
jr z,Logged_0x8048A
cp $F0
jr z,Logged_0x8048A
cp $F1
jr z,Logged_0x804A9
cp $F2
jr z,Logged_0x804A9
cp $F3
jr z,Logged_0x804B5
inc a
jr nz,Logged_0x8045F
ld a,$01
ld [$D025],a
jr Logged_0x80466
Logged_0x8045F:
call Logged_0x8197E
jr nz,Logged_0x80466
jr Logged_0x8048A
Logged_0x80466:
call Logged_0x804C9
ld a,$27
ld [$FF00+$85],a
ld a,$05
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,[$D01E]
and a
jr z,Logged_0x80480
jr Logged_0x804A0
Logged_0x80480:
ld a,[$D025]
call Logged_0x81B0D
jr z,Logged_0x8048A
jr Logged_0x80497
Logged_0x8048A:
xor a
ld [$D025],a
ld a,$09
ld [wGameSubState],a
call Logged_0x803E6
ret
Logged_0x80497:
call Logged_0x804D4
ld a,$05
ld [wGameSubState],a
ret
Logged_0x804A0:
call Logged_0x804D4
ld a,$11
ld [wGameSubState],a
ret
Logged_0x804A9:
ld a,$F0
ld [$D00D],a
ld a,$5A
ld [$D025],a
jr Logged_0x80480
Logged_0x804B5:
call Logged_0x803E6
ret
Logged_0x804B9:
xor a
ld [$D012],a
ld [$D01D],a
ld a,$20
ld [wGameSubState],a
call Logged_0x803E6
ret
Logged_0x804C9:
ld a,[$D050]
and a
ret nz
ld a,$F0
ld [$D00D],a
ret
Logged_0x804D4:
ld a,[$D050]
and a
ret nz
ld a,[$D028]
cp $04
ret z
ld a,[$D01B]
cp $F1
ret z
cp $F2
ret z
ld [$D00D],a
ret
Unknown_0x804EC:
ld a,[$C094]
bit 0,a
ret z
ld hl,wGameSubState
inc [hl]
ret
Logged_0x804F7:
call Logged_0x08E6
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
call Logged_0x80B29
call Logged_0x80CB1
call Logged_0x037D
xor a
ld [$D011],a
ld a,[$D015]
ld [$D018],a
ld a,[$D017]
ld [$D019],a
ld a,[$D028]
ld [$D029],a
ld a,[$D026]
ld [$D02A],a
ld a,[$D027]
ld [$D02B],a
ld a,[$D016]
ld [$D01A],a
rst JumpList
dw Logged_0x80851
dw Logged_0x8091E
dw Logged_0x80930
dw Logged_0x8094E
Logged_0x80540:
call Logged_0x818AD
call Logged_0x82BB8
call Logged_0x82BDA
ld a,$2D
ld [$FF00+$85],a
ld a,$37
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x8202C
call Logged_0x03B9
ret
Logged_0x8055F:
call Logged_0x08E6
call Logged_0x038F
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$02
ld [rSVBK],a
call Logged_0x037D
call Logged_0x80BF9
call Logged_0x80B29
call Logged_0x8184D
ld a,[$CA3B]
ld b,a
bit 7,a
jr nz,Logged_0x8059B
ld hl,$CA3B
ld a,[hl]
swap a
and $0F
ld [$D011],a
srl [hl]
rra
rl [hl]
jr Logged_0x805BE
Logged_0x8059B:
call Logged_0x8038A
ld a,b
res 7,a
res 4,a
ld [$D011],a
ld a,[$CEE3]
and a
jr nz,Logged_0x805BE
ld a,[$D011]
xor $01
ld [$D011],a
ld hl,$CA3B
srl [hl]
rra
rl [hl]
res 7,[hl]
Logged_0x805BE:
ld a,[$D011]
ld [$D07C],a
xor a
ld [$D07D],a
ld a,[$D012]
ld [$D01A],a
rst JumpList
dw Logged_0x805E1
dw Logged_0x805FD
dw Logged_0x8060F
dw Logged_0x80621
Logged_0x805D7:
call Logged_0x80E89
call Logged_0x8202C
call Logged_0x03B9
ret
Logged_0x805E1:
call Logged_0x80AA5
call Logged_0x809F6
call Logged_0x809B1
call Logged_0x80A66
ld bc,$5BEF
ld d,$21
ld hl,$5D79
ld e,$21
call Logged_0x80973
jp Logged_0x8065E
Logged_0x805FD:
call Logged_0x80AA5
call Logged_0x80A12
call Logged_0x809B1
call Logged_0x80A66
call Logged_0x80AE7
jp Logged_0x8065E
Logged_0x8060F:
call Logged_0x80AA5
call Logged_0x80A2E
call Logged_0x809B1
call Logged_0x80A66
call Logged_0x80AF5
jp Logged_0x8065E
Logged_0x80621:
ld a,$1B
call Logged_0x819C6
ld [$D020],a
ld a,[$D020]
and a
jr nz,Logged_0x8063B
ld a,$01
ld [$D011],a
ld hl,$CA3B
set 0,[hl]
res 7,[hl]
Logged_0x8063B:
ld a,[$CEE3]
cp $34
call z,Logged_0x80655
call Logged_0x80AA5
call Logged_0x80A4A
call Logged_0x809B1
call Logged_0x80A66
call Logged_0x80B1B
jp Logged_0x8065E
Logged_0x80655:
ld a,$33
call Logged_0x3AAC
jp z,Logged_0x804C9
ret
Logged_0x8065E:
ld a,[$CA3D]
ld c,a
and $01
bit 1,c
jr z,Logged_0x80669
xor a
Logged_0x80669:
ld [$D01F],a
call Logged_0x80B54
ld a,$21
ld [$C0AC],a
ld hl,$5B91
ld bc,$9BA0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$5BC4
ld bc,$9BA0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,[$D050]
and a
ld a,$EC
jr nz,Logged_0x806B6
ld a,$04
Logged_0x806B6:
ld [rSCY],a
ld [$C083],a
xor a
ld [rSCX],a
ld [$C085],a
xor a
ld [$C095],a
ld a,[$D01A]
call Logged_0x81DCE
call Logged_0x812C0
call Logged_0x80BD9
call Logged_0x80B34
call Logged_0x8212C
ld a,[$D01D]
ld [$D067],a
ld [$D068],a
xor a
ld [$D073],a
ld a,$01
call Logged_0x820AF
ld a,$2D
ld [$FF00+$85],a
ld a,$3D
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x82041
ld a,$2D
ld [$FF00+$85],a
ld a,$A9
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x80BC9
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x80753
ld a,$21
ld [$C0AC],a
ld hl,$6868
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$68B2
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
jr Logged_0x80790
Logged_0x80753:
ld a,$21
ld [$C0AC],a
ld hl,$68F5
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$6929
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
Logged_0x80790:
xor a
ld [$D095],a
ld [rWX],a
ld a,$90
ld [$D094],a
ld [rWY],a
xor a
ld [$D091],a
ld a,$59
call Logged_0x3AAC
ld [$D090],a
xor a
ld hl,$D054
ld [hl],a
set 2,[hl]
call Logged_0x8178B
call Logged_0x817A3
call Logged_0x817D7
call Logged_0x8182B
ld hl,$9BC0
ld de,$D4A0
ld b,$40
call MemCopy_DE_HL
ld a,$01
ld [rVBK],a
ld hl,$9BC0
ld de,$D460
ld b,$40
call MemCopy_DE_HL
xor a
ld [rVBK],a
ld a,[$D050]
cp $04
jr nz,Logged_0x80809
call Logged_0x822B4
ld hl,$D4A0
ld de,$9BC0
ld b,$40
call MemCopy_DE_HL
ld a,$01
ld [rVBK],a
ld hl,$D460
ld de,$9BC0
ld b,$40
call MemCopy_DE_HL
xor a
ld [rVBK],a
ld a,[$D02C]
ld [$CEE3],a
call Logged_0x3B98
Logged_0x80809:
call Logged_0x80FC8
ld a,[$D01D]
cp $0E
ld b,$01
jr c,Logged_0x80821
xor a
ld hl,$C03A
ld bc,$0006
call Fill_HL_A
ld b,$00
Logged_0x80821:
ld a,b
ld [$D0E0],a
ld a,$26
ld [$FF00+$85],a
ld a,$A2
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
call Logged_0x82012
ld a,[$D050]
and a
call z,Logged_0x828B3
xor a
ld [$D073],a
ld [$D055],a
ld [$D013],a
ld a,$E7
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x80851:
call Logged_0x80AB5
call Logged_0x809B1
call Logged_0x809F6
ld a,[$D025]
cp $35
call nz,Logged_0x80A82
ld bc,$5BEF
ld d,$21
ld hl,$5D79
ld e,$21
call Logged_0x80973
Logged_0x8086F:
call Logged_0x80B54
ld a,[$D01A]
call Logged_0x81DCE
call Logged_0x80B34
ld a,$04
ld [rSCY],a
ld [$C083],a
xor a
ld [rSCX],a
ld [$C085],a
ld a,[$D018]
ld [$D015],a
ld a,[$D019]
ld [$D017],a
ld a,[$D029]
ld [$D028],a
ld a,[$D01A]
ld [$D016],a
ld a,[$D02A]
ld [$D026],a
ld a,[$D02B]
ld [$D027],a
ld a,$2D
ld [$FF00+$85],a
ld a,$37
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x80BC9
xor a
ld hl,$C03A
ld bc,$0006
call Fill_HL_A
ld a,$01
ld [rVBK],a
ld b,$24
ld a,[$CA46]
add a,b
ld b,a
ld c,$00
ld hl,$4E00
ld de,$9500
call Logged_0x3B2B
ld b,$24
ld a,[$CA46]
add a,b
ld b,a
ld c,$00
ld hl,$4E00
ld de,$9600
call Logged_0x3B2B
xor a
ld [rVBK],a
xor a
ld [$D0E0],a
call Logged_0x82012
xor a
ld [$D073],a
ld [$D055],a
ld [$D013],a
ld a,[$D01A]
and a
jr nz,Logged_0x80915
ld a,[$D025]
cp $2F
jr nz,Logged_0x80915
ld a,$E7
jr Logged_0x80917
Logged_0x80915:
ld a,$87
Logged_0x80917:
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x8091E:
call Logged_0x80AB5
call Logged_0x80A12
call Logged_0x809B1
call Logged_0x80A82
call Logged_0x80AE7
jp Logged_0x8086F
Logged_0x80930:
ld a,[$D025]
cp $57
jr nz,Logged_0x8093C
ld a,$01
ld [$D011],a
Logged_0x8093C:
call Logged_0x80AB5
call Logged_0x80A2E
call Logged_0x809B1
call Logged_0x80A82
call Logged_0x80AF5
jp Logged_0x8086F
Logged_0x8094E:
ld a,$1B
call Logged_0x819C6
ld [$D020],a
ld a,[$D020]
and a
jr nz,Logged_0x80961
ld a,$01
ld [$D011],a
Logged_0x80961:
call Logged_0x80AB5
call Logged_0x80A4A
call Logged_0x809B1
call Logged_0x80A82
call Logged_0x80B1B
jp Logged_0x8086F
Logged_0x80973:
push bc
ld a,d
ld [$DFFF],a
ld a,$01
ld [rVBK],a
ld a,e
ld [$C0AC],a
ld bc,$D200
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
pop hl
ld a,[$DFFF]
ld [$C0AC],a
ld bc,$D500
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x809B1:
ld a,$01
ld [rVBK],a
ld a,$22
ld [$C0AC],a
ld hl,$615C
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$22
ld [$C0AC],a
ld hl,$77F2
ld bc,$8600
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x809F6:
ld a,$22
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80A12:
ld a,$22
ld [$C0AC],a
ld hl,$4D13
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80A2E:
ld a,$23
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80A4A:
ld a,$23
ld [$C0AC],a
ld hl,$5363
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80A66:
ld a,$22
ld [$C0AC],a
ld hl,$7614
ld bc,$8800
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80A82:
ld a,$01
ld [rVBK],a
ld a,$22
ld [$C0AC],a
ld hl,$7748
ld bc,$8200
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x80AA5:
ld a,$21
ld [$FF00+$85],a
ld a,$75
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80AB5:
call Logged_0x80AC8
ld a,$21
ld [$FF00+$85],a
ld a,$0A
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80AC8:
xor a
ld [$DFFF],a
ld a,[$D028]
cp $01
ret nz
ld hl,$D016
ld a,[hli]
ld c,[hl]
ld hl,$4000
call Logged_0x3C66
ld a,[hl]
cp $0E
ret c
ld a,$01
ld [$DFFF],a
ret
Logged_0x80AE7:
ld bc,$5F07
ld d,$21
ld hl,$60FF
ld e,$21
call Logged_0x80973
ret
Logged_0x80AF5:
ld bc,$6292
ld d,$21
ld hl,$6417
ld e,$21
call Logged_0x80973
ld a,$19
call Logged_0x819C6
ret z
ld hl,$561F
ld a,$21
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80B1B:
ld bc,$6546
ld d,$21
ld hl,$6700
ld e,$21
call Logged_0x80973
ret
Logged_0x80B29:
ld hl,$D060
ld bc,$07A0
xor a
call Fill_HL_A
ret
Logged_0x80B34:
ld hl,$D500
ld de,_SCRN0
ld bc,$0260
call Logged_0x0434
ld a,$01
ld [rVBK],a
ld hl,$D200
ld de,_SCRN0
ld bc,$0260
call Logged_0x0434
xor a
ld [rVBK],a
ret
Logged_0x80B54:
ld a,$1E
ld [$D032],a
ld a,$04
ld [$D035],a
ld a,$24
ld [$D038],a
ld [$D03B],a
ld a,$0E
ld [$D03E],a
ld a,$14
ld [$D041],a
xor a
ld [$D031],a
ld [$D030],a
ld [$D049],a
ld [$D033],a
ld [$D036],a
ld [$D039],a
ld [$D03C],a
ld [$D03F],a
ld [$D042],a
ld [$D034],a
ld [$D037],a
ld [$D03A],a
ld [$D03D],a
ld [$D040],a
ld [$D043],a
ld a,$10
ld [$D046],a
xor a
ld [$D044],a
ld [$D047],a
ld [$D048],a
ld a,[$D01A]
cp $01
jr z,Logged_0x80BBD
cp $02
jr z,Logged_0x80BC3
cp $03
jr z,Logged_0x80BBD
ret
Logged_0x80BBD:
ld a,$01
ld [$D030],a
ret
Logged_0x80BC3:
ld a,$04
ld [$D03B],a
ret
Logged_0x80BC9:
ld a,$76
ld [$FF00+$85],a
ld a,$F7
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80BD9:
ld hl,$D3C0
res 7,[hl]
ld de,$01E0
ld c,$04
Logged_0x80BE3:
ld hl,$D200
add hl,de
ld b,$03
Logged_0x80BE9:
res 7,[hl]
inc hl
dec b
jr nz,Logged_0x80BE9
dec c
ret z
ld hl,$0020
add hl,de
ld e,l
ld d,h
jr Logged_0x80BE3
Logged_0x80BF9:
ld hl,RAMCode_0x80C05
ld de,$C200
ld b,Logged_0x80CB1 - RAMCode_0x80C05
call MemCopy_DE_HL
ret
RAMCode_0x80C05:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D094]
ld [rWY],a
ld a,[$D095]
add a,$07
ld [rWX],a
ld b,$76
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
Unknown_0x80C2C:
call Unknown_0x80C2C
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$D0D0
ld a,[hl]
and a
jr z,Unknown_0x80C5B
ld c,a
xor a
ld [hli],a
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld b,a
ld a,[hli]
ld l,[hl]
ld h,a
Unknown_0x80C48:
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Unknown_0x80C48
Unknown_0x80C5B:
ld a,[$D079]
ld b,a
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$D0B0
ld a,[hl]
and a
jr z,Unknown_0x80C84
ld b,[hl]
xor a
ld [hli],a
ld a,b
ld c,$51
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
Unknown_0x80C84:
ld hl,$D0B5
ld a,[hl]
and a
jr z,Unknown_0x80CA2
ld b,a
ld a,$01
ld [rVBK],a
xor a
ld [hli],a
ld a,b
ld c,$51
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
Unknown_0x80CA2:
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x80CB1:
ld hl,RAMCode_0x80CBD
ld de,$C200
ld b,Unknown_0x80D5C - RAMCode_0x80CBD
call MemCopy_DE_HL
ret
RAMCode_0x80CBD:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D060]
and a
jr z,Unknown_0x80CFF
ld c,$51
ld a,$D5
ld [$FF00+c],a
inc c
xor a
ld [$FF00+c],a
inc c
ld a,$18
ld [$FF00+c],a
inc c
xor a
ld [$FF00+c],a
inc c
ld a,$1D
ld [$FF00+c],a
ld a,$01
ld [rVBK],a
ld c,$51
ld a,$D2
ld [$FF00+c],a
inc c
xor a
ld [$FF00+c],a
inc c
ld a,$18
ld [$FF00+c],a
inc c
xor a
ld [$FF00+c],a
inc c
ld a,$1D
ld [$FF00+c],a
xor a
ld [$D060],a
Unknown_0x80CFF:
ld a,[$D079]
and a
jr z,Unknown_0x80D1B
ld b,a
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x3C03
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
Unknown_0x80D1B:
xor a
ld [rVBK],a
ld b,$76
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x1D8C2C
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld b,$21
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$D0D0]
and a
call nz,Logged_0x854CC
ld a,[$D0D6]
and a
call nz,Logged_0x854C7
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,$CC
jp $FFE8
Unknown_0x80D5C:
INCBIN "baserom.gbc", $80D5C, $80D6C - $80D5C
Logged_0x80D6C:
ld a,$27
ld [$FF00+$85],a
ld a,$21
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80D7C:
call Logged_0x80D92
ld a,$27
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
ret
Logged_0x80D92:
ld a,[$D050]
and a
ret z
ld a,[$D013]
cp $01
ret c
ld a,[$C094]
bit 1,a
ret z
pop hl
ld hl,wGameSubState
inc [hl]
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ret
Logged_0x80DB1:
jp Logged_0x80480
Logged_0x80DB4:
ld a,c
push de
call Logged_0x810F0
pop de
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
ret
Logged_0x80DC0:
ld a,$26
ld [$FF00+$85],a
ld a,$CF
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80DD0:
ld a,$26
ld [$FF00+$85],a
ld a,$18
ld [$FF00+$8D],a
ld a,$66
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80DE0:
xor a
ld a,[$CA3D]
bit 1,a
ret z
ld a,[$C094]
bit 3,a
ret z
ld a,$16
ld [wGameSubState],a
ret
Unknown_0x80DF3:
ld a,$56
ld [$FF00+$85],a
ld a,$6C
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x80E03:
ld a,$56
ld [$FF00+$85],a
ld a,$36
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E13:
ld a,$2B
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E23:
ld a,$2B
ld [$FF00+$85],a
ld a,$3A
ld [$FF00+$8D],a
ld a,$4D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E33:
ld a,[$C093]
bit 1,a
jr nz,Unknown_0x80E3F
ld hl,wGameSubState
inc [hl]
ret
Unknown_0x80E3F:
ld a,$08
ld [wGameSubState],a
ret
Logged_0x80E45:
ld a,$2B
ld [$FF00+$85],a
ld a,$B2
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E55:
ld a,$2B
ld [$FF00+$85],a
ld a,$FE
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E65:
ld a,$2B
ld [$FF00+$85],a
ld a,$58
ld [$FF00+$8D],a
ld a,$6E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E75:
ld a,$2B
ld [$FF00+$85],a
ld a,$3C
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x80E85:
call Logged_0x803E6
ret
Logged_0x80E89:
call Logged_0x0302
ld a,$2D
ld [$FF00+$85],a
ld a,$1E
ld [$FF00+$8D],a
ld a,$79
ld [$FF00+$8E],a
call $FF80
ld a,$76
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
call Logged_0x82242
ld a,[$D050]
and a
jp nz,Logged_0x81055
call Logged_0x82761
call Logged_0x828B3
ld a,$21
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
ld hl,$D014
inc [hl]
ld a,[$D013]
rst JumpList
dw Logged_0x80EE7
dw Logged_0x80F0D
dw Logged_0x80F3C
dw Logged_0x80FB8
dw Logged_0x80FD6
dw Logged_0x80FF7
dw Logged_0x810BB
dw Logged_0x8115C
dw Logged_0x811CF
dw Logged_0x81200
dw Logged_0x81346
Logged_0x80EE7:
call Logged_0x8212C
call Logged_0x82150
ld a,[$D01D]
ld [$D067],a
ld [$D068],a
xor a
ld [$D0D5],a
ld [$D0E0],a
ld [$D055],a
call Logged_0x81055
ld hl,$D014
xor a
ld [hl],a
ld hl,$D013
inc [hl]
ret
Logged_0x80F0D:
ld a,[$CA3B]
bit 7,a
jr nz,Logged_0x80F1F
call Logged_0x3B98
call Logged_0x81055
ld hl,$D013
inc [hl]
ret
Logged_0x80F1F:
ld a,$21
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x81055
ld a,[$D055]
and a
ret nz
di
call Logged_0x80BF9
ei
ret
Logged_0x80F3C:
xor a
ld [$D093],a
call Logged_0x8212C
call Logged_0x82150
ld c,$00
ld b,$00
ld a,[$D01D]
set 5,c
cp $0E
jr z,Logged_0x80F92
ld c,b
set 4,c
cp $0F
jr z,Logged_0x80F92
call Logged_0x8128A
ld a,$26
ld [$FF00+$85],a
ld a,$B5
ld [$FF00+$8D],a
ld a,$6A
ld [$FF00+$8E],a
call $FF80
xor a
ld [$D014],a
call Logged_0x80FA6
ld b,a
ld a,[$D10B]
and b
and a
jr z,Logged_0x80F83
ld hl,$D013
ld [hl],$05
jp Logged_0x81034
Logged_0x80F83:
call Logged_0x81055
xor a
ld [$D073],a
ld [$D10E],a
ld hl,$D013
inc [hl]
ret
Logged_0x80F92:
ld a,c
ld [$D073],a
call Logged_0x820E6
call Logged_0x81055
xor a
ld [$D014],a
ld a,$06
ld [$D013],a
ret
Logged_0x80FA6:
ld a,[$C093]
and $F0
ld b,a
rla
jr c,Logged_0x80FB4
rla
jr c,Logged_0x80FB4
ld a,b
ret
Logged_0x80FB4:
ld a,$C0
and b
ret
Logged_0x80FB8:
call Logged_0x81055
ld a,[$D0E0]
and a
ret nz
call Logged_0x80FC8
ld hl,$D013
inc [hl]
ret
Logged_0x80FC8:
ld a,[$D012]
ld b,a
ld a,[$D01D]
ld d,a
cp $08
ret nc
jp Logged_0x3AF7
Logged_0x80FD6:
call Logged_0x81055
ld a,[$D01D]
cp $0E
jr nc,Logged_0x80FF2
ld a,$21
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
srl c
ret c
Logged_0x80FF2:
ld hl,$D013
inc [hl]
ret
Logged_0x80FF7:
call Logged_0x81240
jr c,Logged_0x81055
ld a,[$D055]
and a
jr nz,Logged_0x81055
ld a,[$C093]
bit 1,a
jr nz,Logged_0x81016
ld a,[$C094]
bit 2,a
jr z,Logged_0x81016
ld hl,$D050
inc [hl]
jr Logged_0x81055
Logged_0x81016:
call Logged_0x81477
ld a,[$D0E3]
and a
jr nz,Logged_0x81055
call Logged_0x81077
jr c,Logged_0x81055
call Logged_0x80DE0
jr c,Logged_0x81055
call Logged_0x810A9
ld b,a
ld a,[$D10B]
and b
and a
jr z,Logged_0x81055
Logged_0x81034:
ld [$D073],a
call Logged_0x820E6
ld a,[$D068]
ld [$D067],a
ld a,$03
ld [$D0E0],a
xor a
ld [$D0D5],a
call Logged_0x81055
xor a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
Logged_0x81055:
ld a,$2D
ld [$FF00+$85],a
ld a,$3D
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x82041
ld a,$2D
ld [$FF00+$85],a
ld a,$A9
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x81077:
ld hl,$D01D
ld a,[$D012]
or [hl]
ret nz
ld a,[$C094]
bit 6,a
ret z
ld a,[$D00E]
cp $ED
jr nz,Logged_0x81092
ld a,[$CA3D]
bit 0,a
ret nz
Logged_0x81092:
call Logged_0x3C76
ld a,$04
call Logged_0x820AF
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
ld a,$0A
ld [$D013],a
scf
ret
Logged_0x810A9:
ld a,[$C094]
and $F0
ld b,a
rla
jr c,Logged_0x810B7
rla
jr c,Logged_0x810B7
ld a,b
ret
Logged_0x810B7:
ld a,$C0
and b
ret
Logged_0x810BB:
ld a,[$D06B]
ld [$D06D],a
ld a,[$D06C]
ld [$D06E],a
ld a,[$D068]
call Logged_0x810F0
ld a,[hli]
ld b,a
ld a,[hli]
ld c,a
ld a,[hli]
add a,b
ld [$D06F],a
ld a,[hli]
add a,c
ld [$D070],a
ld bc,$D071
call Logged_0x810FC
call Logged_0x821A1
call Logged_0x81055
xor a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
Logged_0x810F0:
add a,a
ld c,a
ld a,[$D01A]
ld hl,$4136
call Logged_0x3C66
ret
Logged_0x810FC:
ld a,[bc]
rst JumpList
dw Logged_0x81108
dw Logged_0x8110D
dw Logged_0x8111C
dw Logged_0x81126
dw Logged_0x81130
Logged_0x81108:
inc c
ld a,$FF
ld [bc],a
ret
Logged_0x8110D:
ld a,[$D06F]
ld [$D06D],a
ld a,[$D070]
ld [$D06E],a
xor a
ld [bc],a
ret
Logged_0x8111C:
ld a,[$D06F]
ld [$D06D],a
ld a,$01
ld [bc],a
ret
Logged_0x81126:
ld a,[$D070]
ld [$D06E],a
ld a,$01
ld [bc],a
ret
Logged_0x81130:
ld a,[$D06C]
ld e,a
ld a,[$D070]
sub e
sra a
add a,e
ld [$D06E],a
ld a,$02
ld [bc],a
ret
Logged_0x81142:
ld hl,$D0A0
bit 0,[hl]
jr nz,Logged_0x81151
ld a,$40
bit 1,[hl]
jr z,Logged_0x81157
jr Logged_0x81158
Logged_0x81151:
ld a,$10
bit 2,[hl]
jr z,Logged_0x81158
Logged_0x81157:
rlca
Logged_0x81158:
ld [$D073],a
ret
Logged_0x8115C:
call Logged_0x82208
ld hl,$D10E
bit 7,[hl]
jr nz,Logged_0x81177
ld a,[$C093]
and $F0
jr z,Logged_0x81175
inc [hl]
ld a,[hl]
cp $06
jr c,Logged_0x81175
set 7,[hl]
Logged_0x81175:
bit 7,[hl]
Logged_0x81177:
call nz,Logged_0x82208
ld a,[$D06B]
ld [$D100],a
ld a,[$D06C]
ld [$D101],a
ld a,[$D0A1]
and a
jr nz,Logged_0x8119C
ld bc,$D071
call Logged_0x810FC
cp $FF
jr z,Logged_0x811A0
call Logged_0x821A1
call Logged_0x81142
Logged_0x8119C:
call Logged_0x81055
ret
Logged_0x811A0:
ld a,[$D068]
ld [$D01D],a
cp $0E
jr nc,Logged_0x811B1
ld a,$02
ld [$D013],a
jr Logged_0x8119C
Logged_0x811B1:
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EB
ld [$FF00+hSFXIDLow],a
xor a
ld [$D014],a
ld hl,$D013
inc [hl]
jr Logged_0x8119C
Logged_0x811CF:
ld a,[$D014]
cp $02
jr c,Logged_0x811FC
xor a
ld [hl],a
ld a,[$D01D]
ld b,$01
ld c,$A8
cp $0E
jr z,Logged_0x811EE
ld b,$FF
ld c,$F0
cp $0F
jr z,Logged_0x811EE
Unknown_0x811EB:
nop
jr Unknown_0x811EB
Logged_0x811EE:
ld a,[$D101]
add a,b
ld [$D101],a
cp c
jr nz,Logged_0x811FC
ld hl,$D013
inc [hl]
Logged_0x811FC:
call Logged_0x81055
ret
Logged_0x81200:
call Logged_0x81055
ld a,[$D01D]
ld b,$01
cp $0E
jr z,Logged_0x81215
ld b,$FF
cp $0F
jr z,Logged_0x81215
Unknown_0x81212:
nop
jr Unknown_0x81212
Logged_0x81215:
ld a,[$D012]
add a,b
and $03
ld [$D012],a
ld a,[$D01D]
add a,b
ld [$D01D],a
ld [$D068],a
ld a,[$D012]
bit 1,a
jr nz,Logged_0x81234
add a,b
bit 1,a
jr nz,Logged_0x8123A
Logged_0x81234:
ld a,$08
ld [wGameSubState],a
ret
Logged_0x8123A:
ld a,$1E
ld [wGameSubState],a
ret
Logged_0x81240:
ld a,[$D055]
and a
jr nz,Logged_0x81267
ld a,[$D00F]
cp $80
jr z,Logged_0x81267
ld a,[$C094]
bit 0,a
jr z,Logged_0x81267
call Logged_0x8128A
ld a,[$D00F]
and a
jr z,Logged_0x81269
xor a
ld [wGameSubState],a
ld hl,wGameState
inc [hl]
scf
ret
Logged_0x81267:
and a
ret
Logged_0x81269:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
ld a,$1A
ld [wGameSubState],a
scf
ret
Logged_0x81278:
ld hl,$52AC
ld c,$FF
Logged_0x8127D:
ld e,[hl]
inc hl
inc c
ld a,[hl]
dec a
cp b
jr c,Logged_0x8127D
ld a,b
sub e
ld d,a
ld b,c
ret
Logged_0x8128A:
ld a,[$D012]
ld c,a
and a
jr z,Logged_0x8129F
Logged_0x81291:
ld b,$00
ld hl,$52AC
add hl,bc
ld a,[$D01D]
add a,[hl]
ld [$D00F],a
ret
Logged_0x8129F:
ld a,[$D01D]
cp $07
jr c,Logged_0x81291
ld a,$80
ld [$D00F],a
ret
LoggedData_0x812AC:
INCBIN "baserom.gbc", $812AC, $812B1 - $812AC
Unknown_0x812B1:
INCBIN "baserom.gbc", $812B1, $812C0 - $812B1
Logged_0x812C0:
ld a,[$D01F]
and a
ret z
ld a,[$D00F]
ld [$DFFD],a
ld a,[$D01A]
ld c,a
ld b,$00
ld hl,$52AC
add hl,bc
ld a,[hl]
ld [$D00F],a
ld a,[$D012]
ld b,$06
dec a
jr z,Logged_0x812ED
ld b,$06
dec a
jr z,Logged_0x812ED
ld b,$07
dec a
jr z,Logged_0x812ED
ld b,$07
Logged_0x812ED:
ld a,b
ld [$DFFF],a
xor a
ld [$DFFE],a
ld a,[$D00F]
and a
jr z,Logged_0x81314
Logged_0x812FB:
ld a,$01
ld [$FF00+$85],a
ld a,$63
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,[$CA5B]
and $F0
xor $F0
call nz,Logged_0x8132A
Logged_0x81314:
ld a,[$D00F]
inc a
ld [$D00F],a
ld hl,$DFFE
inc [hl]
ld a,[hli]
cp [hl]
jr nz,Logged_0x812FB
ld a,[$DFFD]
ld [$D00F],a
ret
Logged_0x8132A:
ld a,[$DFFE]
call Logged_0x810F0
ld a,[hli]
ld [$D06B],a
ld a,[hl]
ld [$D06C],a
ld hl,$D06B
call Logged_0x3AD7
ld [hl],$7B
dec h
dec h
dec h
ld [hl],$0D
ret
Logged_0x81346:
ld a,$21
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
call Logged_0x8137A
ld a,$2D
ld [$FF00+$85],a
ld a,$3D
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x8208D
ld a,$2D
ld [$FF00+$85],a
ld a,$A9
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x8137A:
ld hl,$D0E5
inc [hl]
ld a,[$D0E4]
rst JumpList
dw Logged_0x81398
dw Logged_0x8139F
dw Logged_0x813AD
dw Logged_0x813B4
dw Logged_0x813EF
dw Logged_0x813F6
dw Logged_0x813EF
dw Logged_0x81413
dw Logged_0x8139F
dw Logged_0x813AD
dw Logged_0x8142D
Logged_0x81398:
xor a
ld hl,$D0E5
ld [hld],a
inc [hl]
ret
Logged_0x8139F:
ld hl,$D0E5
ld a,[hl]
cp $08
ret c
ld a,$03
ld [$D0E0],a
jr Logged_0x81398
Logged_0x813AD:
ld a,[$D0E0]
and a
ret nz
jr Logged_0x81398
Logged_0x813B4:
call Logged_0x813BC
call Logged_0x3AF7
jr Logged_0x81398
Logged_0x813BC:
ld a,[$D00E]
cp $ED
jr z,Unknown_0x813D3
ld b,a
call Logged_0x81891
ld a,$25
cp c
jr nc,Logged_0x813D8
ld a,[$CA3D]
bit 0,a
jr nz,Logged_0x813D8
Unknown_0x813D3:
ld b,$00
ld d,$00
ret
Logged_0x813D8:
ld a,[$D00E]
ld c,a
ld a,$26
ld [$FF00+$85],a
ld a,$81
ld [$FF00+$8D],a
ld a,$6A
ld [$FF00+$8E],a
call $FF80
call Logged_0x81278
ret
Logged_0x813EF:
xor a
ld [$D0D5],a
jp Logged_0x81398
Logged_0x813F6:
ld a,$21
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
srl c
ret c
ld a,$1C
ld hl,$D1EE
call Logged_0x3B93
jp Logged_0x81398
Logged_0x81413:
ld a,[$C094]
and $B2
jr nz,Logged_0x81423
ld hl,$D1EE
ld a,[hl]
and a
jp z,Logged_0x81398
ret
Logged_0x81423:
xor a
ld hl,$D1EE
call Logged_0x3B93
jp Logged_0x81398
Logged_0x8142D:
ld a,$01
call Logged_0x820AF
xor a
ld [$D013],a
ld [$D014],a
ld [$D0E4],a
ret
Unknown_0x8143D:
INCBIN "baserom.gbc", $8143D, $81477 - $8143D
Logged_0x81477:
ld a,[$C093]
bit 1,a
jr z,Logged_0x8148E
ld hl,$D0E2
inc [hl]
ld a,[$D0E3]
rst JumpList
dw Logged_0x814B2
dw Logged_0x814C4
dw Logged_0x814EC
dw Logged_0x8150C
Logged_0x8148E:
ld a,[$D0E3]
and a
ret z
ld a,$01
ld hl,$D106
cp [hl]
call nz,Logged_0x820AF
ld hl,$D88E
ld a,[hli]
ld [$D06B],a
ld [$D100],a
ld a,[hl]
ld [$D06C],a
ld [$D101],a
xor a
ld [$D0E3],a
ret
Logged_0x814B2:
ld hl,$D88E
ld a,[$D100]
ld [hli],a
ld a,[$D101]
ld [hl],a
Logged_0x814BD:
xor a
ld hl,$D0E2
ld [hli],a
inc [hl]
ret
Logged_0x814C4:
ld b,$0A
ld a,[$D0E2]
cp b
ret c
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
ld a,[$D069]
ld [$D06B],a
ld [$D100],a
ld a,[$D06A]
ld [$D06C],a
ld [$D101],a
ld a,$05
call Logged_0x820AF
jr Logged_0x814BD
Logged_0x814EC:
xor a
ld hl,$D800
ld bc,$008E
call Fill_HL_A
ld hl,$D140
ld bc,$0040
call Fill_HL_A
call Logged_0x82111
ld a,l
ld [$D889],a
ld a,h
ld [$D88A],a
jr Logged_0x814BD
Logged_0x8150C:
ld a,$00
call Logged_0x81576
call Logged_0x81615
call Logged_0x81595
ld a,$01
call Logged_0x81576
call Logged_0x81615
call Logged_0x81595
ld a,$02
call Logged_0x81576
call Logged_0x81615
call Logged_0x81595
ld a,$03
call Logged_0x81576
call Logged_0x81615
call Logged_0x81595
ld a,[$D0E2]
cp $14
call z,Logged_0x815C1
ld a,[$D0E2]
cp $28
call z,Logged_0x815E5
ld a,[$D0E2]
cp $2C
ld hl,$D146
call z,Logged_0x81609
ld a,[$D0E2]
cp $40
ld hl,$D166
call z,Logged_0x81609
call Logged_0x81714
ld hl,$D807
ld c,$04
Logged_0x81566:
ld a,[hl]
cp $05
ret nz
ld de,$0020
add hl,de
dec c
jr nz,Logged_0x81566
ld hl,$D0E3
dec [hl]
ret
Logged_0x81576:
ld [$D88B],a
call Logged_0x815B6
ld de,$D880
ld b,$09
call MemCopy_DE_HL
ld de,$D0A0
ld b,$07
call MemCopy_DE_HL
ld de,$D06B
ld b,$08
call MemCopy_DE_HL
ret
Logged_0x81595:
ld a,[$D88B]
call Logged_0x815B6
ld e,l
ld d,h
ld hl,$D880
ld b,$09
call MemCopy_DE_HL
ld hl,$D0A0
ld b,$07
call MemCopy_DE_HL
ld hl,$D06B
ld b,$08
call MemCopy_DE_HL
ret
Logged_0x815B6:
rlca
swap a
ld e,a
ld d,$00
ld hl,$D800
add hl,de
ret
Logged_0x815C1:
ld hl,$D800
ld de,$D140
ld b,$08
call MemCopy_DE_HL
ld hl,$D820
ld b,$08
call MemCopy_DE_HL
ld hl,$D840
ld b,$08
call MemCopy_DE_HL
ld hl,$D860
ld b,$08
call MemCopy_DE_HL
ret
Logged_0x815E5:
ld hl,$D800
ld de,$D160
ld b,$08
call MemCopy_DE_HL
ld hl,$D820
ld b,$08
call MemCopy_DE_HL
ld hl,$D840
ld b,$08
call MemCopy_DE_HL
ld hl,$D860
ld b,$08
call MemCopy_DE_HL
ret
Logged_0x81609:
ld de,$0008
xor a
ld [hl],a
add hl,de
ld [hl],a
add hl,de
ld [hl],a
add hl,de
ld [hl],a
ret
Logged_0x81615:
ld a,[$D887]
rst JumpList
dw Logged_0x81625
dw Logged_0x8167F
dw Logged_0x816B3
dw Logged_0x816BE
dw Logged_0x816EA
dw Logged_0x816F5
Logged_0x81625:
ld a,[$D100]
ld d,a
ld a,[$D101]
ld e,a
ld b,$08
ld a,[$D88B]
inc a
bit 1,a
jr z,Logged_0x81639
ld b,$F8
Logged_0x81639:
cp $03
jr nc,Logged_0x81642
ld a,e
add a,b
ld e,a
jr Logged_0x81645
Logged_0x81642:
ld a,d
add a,b
ld d,a
Logged_0x81645:
ld a,d
ld [$D880],a
ld [$D06B],a
ld [$D06D],a
ld [$D06F],a
ld a,e
ld [$D881],a
ld [$D06C],a
ld [$D06E],a
ld [$D070],a
ld hl,$D884
xor a
ld [hli],a
ld [hli],a
ld a,[$D88B]
inc a
ld b,a
ld c,a
ld a,[$D10B]
swap a
Logged_0x81670:
rrca
dec b
jr nz,Logged_0x81670
ld a,$00
jr nc,Logged_0x81679
ld a,c
Logged_0x81679:
ld [hl],a
Logged_0x8167A:
ld hl,$D887
inc [hl]
ret
Logged_0x8167F:
ld a,[$D886]
and a
jr z,Logged_0x816AD
ld hl,$D889
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$D88B]
ld e,a
ld d,$00
add hl,de
ld b,[hl]
ld de,$0004
add hl,de
ld a,[hl]
ld [$D071],a
ld a,b
cp $80
jr z,Logged_0x816AD
call Logged_0x810F0
ld a,[hli]
ld [$D06F],a
ld a,[hl]
ld [$D070],a
jr Logged_0x8167A
Logged_0x816AD:
ld a,$05
ld [$D887],a
ret
Logged_0x816B3:
ld bc,$D071
call Logged_0x810FC
call Logged_0x821A1
jr Logged_0x8167A
Logged_0x816BE:
call Logged_0x82208
ld a,[$D06B]
ld [$D880],a
ld a,[$D06C]
ld [$D881],a
ld a,[$D0A1]
and a
ret nz
ld bc,$D071
call Logged_0x810FC
cp $FF
jr z,Logged_0x816E3
call Logged_0x821A1
call Logged_0x816F6
ret
Logged_0x816E3:
xor a
ld [$D888],a
jp Logged_0x8167A
Logged_0x816EA:
ld hl,$D888
inc [hl]
ld a,[hl]
cp $08
ret c
jp Logged_0x8167A
Logged_0x816F5:
ret
Logged_0x816F6:
ld hl,$D0A0
bit 0,[hl]
jr nz,Logged_0x81705
ld a,$03
bit 1,[hl]
jr z,Logged_0x8170B
jr Logged_0x8170C
Logged_0x81705:
ld a,$01
bit 2,[hl]
jr z,Logged_0x8170C
Logged_0x8170B:
inc a
Logged_0x8170C:
ld hl,$D886
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ret
Logged_0x81714:
ld hl,$D806
call Logged_0x8175D
ld hl,$D826
call Logged_0x8175D
ld hl,$D846
call Logged_0x8175D
ld hl,$D866
call Logged_0x8175D
ld hl,$D146
call Logged_0x8175D
ld hl,$D14E
call Logged_0x8175D
ld hl,$D156
call Logged_0x8175D
ld hl,$D15E
call Logged_0x8175D
ld hl,$D166
call Logged_0x8175D
ld hl,$D16E
call Logged_0x8175D
ld hl,$D176
call Logged_0x8175D
ld hl,$D17E
call Logged_0x8175D
ret
Logged_0x8175D:
ld a,[hld]
and a
ret z
ld bc,$5783
dec a
add a,a
add a,c
ld c,a
ld a,$00
adc a,b
ld b,a
ld a,[bc]
ld e,a
inc bc
ld a,[bc]
ld d,a
dec l
ld b,$2A
call Logged_0x3A66
ld a,$F8
and l
ld l,a
ld de,$60CF
ld b,$2A
call Logged_0x3A00
ret
LoggedData_0x81783:
INCBIN "baserom.gbc", $81783, $8178B - $81783
Logged_0x8178B:
ld a,$4D
call Logged_0x3AAC
ret z
ld a,[$D01A]
cp $03
jr nz,Logged_0x8179D
ld a,[$D020]
and a
ret z
Logged_0x8179D:
ld hl,$D054
set 0,[hl]
ret
Logged_0x817A3:
ld a,[$D00D]
cp $F0
ret z
and a
ret z
ld hl,$D054
set 1,[hl]
ret
Unknown_0x817B1:
INCBIN "baserom.gbc", $817B1, $817D7 - $817B1
Logged_0x817D7:
call Logged_0x817E3
call Logged_0x81818
ld hl,$D054
or [hl]
ld [hl],a
ret
Logged_0x817E3:
ld a,$03
call Logged_0x819AC
rlca
rlca
rlca
ld hl,$D07A
or [hl]
ld [hl],a
ld a,$07
call Logged_0x819AC
rlca
rlca
ld hl,$D07A
or [hl]
ld [hl],a
ld a,$0C
call Logged_0x819AC
rlca
ld hl,$D07A
or [hl]
ld [hl],a
ld a,$37
call Logged_0x819AC
ld hl,$D07A
or [hl]
ld [hl],a
and $01
swap a
or [hl]
ld [hl],a
ret
Logged_0x81818:
ld a,[$D07A]
ld b,a
ld a,[$D01A]
Logged_0x8181F:
sub $01
jr c,Logged_0x81827
sla b
jr Logged_0x8181F
Logged_0x81827:
ld a,b
and $18
ret
Logged_0x8182B:
ld a,[$D050]
and a
ret z
ld a,[$D053]
and $18
ret z
ld c,a
call Logged_0x81818
and c
ret nz
ld hl,$D053
bit 3,[hl]
jr nz,Unknown_0x81848
res 4,[hl]
set 3,[hl]
ret
Unknown_0x81848:
res 3,[hl]
set 4,[hl]
ret
Logged_0x8184D:
ld a,[$D00E]
call Logged_0x3AAC
ld hl,$D00E
jr nz,Logged_0x8186F
ld a,[$CEE3]
and a
ret z
cp $F0
ret z
cp $F1
ret z
cp $F2
ret z
cp $F3
ret z
inc a
jr z,Logged_0x8186D
dec a
Logged_0x8186D:
cp [hl]
ret nz
Logged_0x8186F:
ld b,[hl]
call Logged_0x81891
Logged_0x81873:
ld a,[hl]
cp $80
jr z,Logged_0x8187F
push hl
call Logged_0x3AAC
pop hl
jr z,Logged_0x81886
Logged_0x8187F:
ld a,[hli]
cp $ED
jr z,Unknown_0x8188B
jr Logged_0x81873
Logged_0x81886:
ld a,[hl]
ld [$D00E],a
ret
Unknown_0x8188B:
ld a,$ED
ld [$D00E],a
ret
Logged_0x81891:
ld c,$00
ld hl,$59FB
Logged_0x81896:
ld a,[hli]
cp $ED
jr z,Unknown_0x818AA
cp b
jr z,Logged_0x818A9
ld a,[hli]
cp b
jr z,Logged_0x818A9
ld a,[hli]
cp b
jr z,Logged_0x818A9
inc c
jr Logged_0x81896
Logged_0x818A9:
ret
Unknown_0x818AA:
ld c,$00
ret
Logged_0x818AD:
ld a,$76
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,$2D
ld [$FF00+$85],a
ld a,$1E
ld [$FF00+$8D],a
ld a,$79
ld [$FF00+$8E],a
call $FF80
ld a,[$D050]
and a
jr z,Logged_0x818D9
ld a,[$C094]
bit 1,a
jp nz,Logged_0x81931
Logged_0x818D9:
ld hl,$D014
inc [hl]
ld a,[$D013]
rst JumpList
dw Logged_0x818E7
dw Logged_0x818F6
dw Logged_0x81900
Logged_0x818E7:
ld a,[$D014]
cp $04
ret c
Logged_0x818ED:
xor a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
Logged_0x818F6:
call Logged_0x8195D
ld a,[$D017]
and a
ret nz
jr Logged_0x818ED
Logged_0x81900:
ld a,[$D014]
cp $04
ret c
ld hl,$D026
call Logged_0x3C71
call Logged_0x81B13
jr z,Logged_0x81931
ld a,[$D01A]
ld b,a
ld a,[$D016]
cp b
jr nz,Logged_0x81923
xor a
ld [$D014],a
ld [$D013],a
ret
Logged_0x81923:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [wGameSubState],a
ret
Logged_0x81931:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,[$D025]
ld b,a
xor a
ld [$D01B],a
ld [$D025],a
ld [$D028],a
ld [$D029],a
ld a,$5A
cp b
jr z,Logged_0x81957
ld hl,wGameSubState
inc [hl]
call Logged_0x803E6
ret
Logged_0x81957:
ld a,$23
ld [wGameSubState],a
ret
Logged_0x8195D:
ld a,[$D028]
rst JumpList
dw Unknown_0x8196B
dw Logged_0x829E2
dw Logged_0x8196E
dw Logged_0x82C33
dw Logged_0x8196E
Unknown_0x8196B:
nop
jr Unknown_0x8196B
Logged_0x8196E:
ld a,$2D
ld [$FF00+$85],a
ld a,$4A
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x8197E:
ld a,[$D01B]
ld b,a
xor a
ld c,a
ld [$D025],a
ld hl,$59FB
Logged_0x8198A:
ld a,[hli]
cp $ED
jr z,Logged_0x819A7
cp b
jr z,Logged_0x8199D
ld a,[hli]
cp b
jr z,Logged_0x8199D
ld a,[hli]
cp b
jr z,Logged_0x8199D
inc c
jr Logged_0x8198A
Logged_0x8199D:
ld a,c
ld [$D025],a
call Logged_0x819AC
jr z,Logged_0x819A7
ret
Logged_0x819A7:
xor a
ld [$D025],a
ret
Logged_0x819AC:
call Logged_0x819E3
ld c,$01
ld a,[$DFFD]
call Logged_0x819CB
ret c
ld a,[$DFFE]
call Logged_0x819CB
ret c
ld a,[$DFFF]
call Logged_0x819CB
ret
Logged_0x819C6:
call Logged_0x819AC
and c
ret
Logged_0x819CB:
cp $80
jr z,Logged_0x819DF
ld hl,$D01B
cp [hl]
jr z,Logged_0x819DD
call Logged_0x3AAC
jr nz,Logged_0x819DF
xor a
scf
ret
Logged_0x819DD:
ld c,$00
Logged_0x819DF:
ld a,$01
and a
ret
Logged_0x819E3:
ld c,a
add a,a
add a,c
ld e,a
ld d,$00
rl d
ld hl,$59FB
add hl,de
ld de,$DFFF
ld a,[hli]
ld [de],a
ld a,[hli]
dec e
ld [de],a
ld a,[hl]
dec e
ld [de],a
ret
LoggedData_0x819FB:
INCBIN "baserom.gbc", $819FB, $81B0D - $819FB
Logged_0x81B0D:
ld hl,$5B2B
call Logged_0x3C58
Logged_0x81B13:
ld a,[hli]
ld [$D028],a
cp $80
ret z
ld a,[hli]
ld [$D016],a
ld a,[hli]
ld [$D017],a
ld a,l
ld [$D026],a
ld a,h
ld [$D027],a
ret
Unknown_0x81B2B:
INCBIN "baserom.gbc", $81B2B, $81B2D - $81B2B
LoggedData_0x81B2D:
INCBIN "baserom.gbc", $81B2D, $81BE1 - $81B2D
Unknown_0x81BE1:
INCBIN "baserom.gbc", $81BE1, $81BE2 - $81BE1
LoggedData_0x81BE2:
INCBIN "baserom.gbc", $81BE2, $81DCE - $81BE2
Logged_0x81DCE:
ld a,$01
ld [$D077],a
ld a,[$D01B]
ld c,a
dec c
and a
jr z,Logged_0x81DE1
cp $FF
jr nz,Logged_0x81DE5
ld c,$00
Logged_0x81DE1:
ld a,c
ld [$D01B],a
Logged_0x81DE5:
xor a
ld [$D078],a
ld a,[$D077]
call Logged_0x819AC
ld [$D065],a
and a
jr z,Logged_0x81DFD
dec c
jr z,Logged_0x81DFD
ld a,$80
ld [$D065],a
Logged_0x81DFD:
call Logged_0x81E16
ld a,[$D077]
inc a
cp $5B
jr z,Logged_0x81E0D
ld [$D077],a
jr Logged_0x81DE5
Logged_0x81E0D:
ld a,[$D01B]
inc a
ret nz
ld [$D01B],a
ret
Logged_0x81E16:
ld a,[$D077]
call Logged_0x81B0D
ret z
Logged_0x81E1D:
ld a,[$D016]
ld b,a
ld a,[$D01A]
cp b
jr nz,Logged_0x81E2A
call Logged_0x81E36
Logged_0x81E2A:
ld hl,$D026
call Logged_0x3C71
call Logged_0x81B13
ret z
jr Logged_0x81E1D
Logged_0x81E36:
ld a,[$D028]
rst JumpList
dw Unknown_0x81E44
dw Logged_0x81E57
dw Logged_0x81E47
dw Logged_0x82C09
dw Logged_0x81E47
Unknown_0x81E44:
nop
jr Unknown_0x81E44
Logged_0x81E47:
ld a,$2D
ld [$FF00+$85],a
ld a,$04
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x81E57:
ld a,[$D065]
add a,a
ret z
xor a
ld [$D072],a
call Logged_0x81F4B
call Logged_0x81F94
Logged_0x81E66:
call Logged_0x81E88
ld hl,$D072
inc [hl]
ld a,[$D074]
cp [hl]
jr nz,Logged_0x81E66
xor a
ld [$D072],a
xor a
ld [$D082],a
ld [$D083],a
ld [$D081],a
ld [$D080],a
ld [$D071],a
ret
Logged_0x81E88:
call Logged_0x82ADA
jr z,Logged_0x81EBE
ld a,[$D073]
ld hl,$D081
call Logged_0x82B45
ld a,[$D073]
call Logged_0x81FB9
call Logged_0x81FD8
ld a,$01
ld [$D07F],a
push hl
call Logged_0x81FEB
pop hl
ld a,[$D080]
ld [hl],a
dec h
dec h
dec h
ld a,[$D081]
ld [hl],a
xor a
ld [$D07F],a
ld a,[$D067]
cp $0E
ret z
Logged_0x81EBE:
ld a,[$D06E]
ld [$D06C],a
ld a,[$D06D]
ld [$D06B],a
ld a,[$D075]
ld [$D073],a
ld a,[$D073]
ld hl,$D081
call Logged_0x82B45
ld a,[$D073]
call Logged_0x81FB9
call Logged_0x81FD8
ld a,$01
ld [$D07F],a
push hl
call Logged_0x81FEB
pop hl
ld a,[$D080]
ld [hl],a
dec h
dec h
dec h
ld a,[$D081]
ld [hl],a
xor a
ld [$D07F],a
ld hl,$D081
call Logged_0x82B3E
ld hl,$D06D
call Logged_0x3AD7
ld a,$01
ld [$D07F],a
push hl
call Logged_0x81FEB
pop hl
ld a,[$D080]
ld [hl],a
dec h
dec h
dec h
ld a,[$D081]
ld [hl],a
xor a
ld [$D07F],a
ret
Logged_0x81F21:
ld a,[$D07F]
and a
jr z,Logged_0x81F4A
ld de,$D080
Logged_0x81F2A:
ld a,[de]
ld c,a
inc e
ld a,[de]
ld b,a
inc e
ld a,[de]
ld l,a
inc e
ld a,[de]
ld h,a
ld [hl],c
dec h
dec h
dec h
ld [hl],b
inc e
ld a,[$D07F]
dec a
ld [$D07F],a
and a
jr nz,Logged_0x81F2A
ld a,$01
ld [$D060],a
Logged_0x81F4A:
ret
Logged_0x81F4B:
ld hl,$D016
ld a,[hli]
ld c,[hl]
ld hl,$4000
call Logged_0x3C66
ld a,[hli]
ld [$D066],a
ld a,[hl]
ld [$D067],a
ld hl,$D016
ld a,[hli]
ld c,[hl]
ld hl,$404C
call Logged_0x3C66
ld a,[hli]
ld [$D063],a
ld a,[hl]
ld [$D064],a
ld a,[$D066]
call Logged_0x810F0
ld a,[hli]
ld [$D069],a
ld [$D06B],a
ld a,[hl]
ld [$D06A],a
ld [$D06C],a
ld a,[$D067]
call Logged_0x810F0
ld a,[hli]
ld [$D06D],a
ld a,[hl]
ld [$D06E],a
ret
Logged_0x81F94:
ld a,[$D063]
ld l,a
ld a,[$D064]
ld h,a
ld a,[$D071]
call Logged_0x3C4F
ld a,[hli]
ld [$D073],a
ld a,[hli]
ld [$D074],a
ld a,[hli]
ld [$D075],a
cp $FF
ld a,[hl]
jr nz,Logged_0x81FB4
xor a
Logged_0x81FB4:
ld [$D076],a
ret
Unknown_0x81FB8:
INCBIN "baserom.gbc", $81FB8, $81FB9 - $81FB8
Logged_0x81FB9:
ld b,a
ld a,$08
ld hl,$D06C
bit 4,b
jr nz,Logged_0x81FD5
bit 5,b
jr nz,Logged_0x81FD3
ld hl,$D06B
bit 6,b
jr nz,Logged_0x81FD3
bit 7,b
jr nz,Logged_0x81FD5
ret
Logged_0x81FD3:
cpl
inc a
Logged_0x81FD5:
add a,[hl]
ld [hl],a
ret
Logged_0x81FD8:
ld a,[$D082]
ld [$D086],a
ld a,[$D083]
ld [$D087],a
ld hl,$D06B
call Logged_0x3AD7
ret
Logged_0x81FEB:
ld a,[$D07F]
and a
ret z
ld a,[$D083]
ld h,a
ld a,[$D082]
ld l,a
ld a,[hl]
call Logged_0x8200F
ld a,[$D081]
and $F8
or c
or $08
ld [$D081],a
ld a,[$D07F]
dec a
ret z
Unknown_0x8200C:
nop
jr Unknown_0x8200C
Logged_0x8200F:
ld c,$07
ret
Logged_0x82012:
ld a,[$D01A]
ld c,a
ld hl,$6024
ld de,$D110
ld b,$02
call MemCopy_DE_HL
ld a,c
ld [de],a
ret
LoggedData_0x82024:
INCBIN "baserom.gbc", $82024, $82026 - $82024
Unknown_0x82026:
INCBIN "baserom.gbc", $82026, $8202C - $82026
Logged_0x8202C:
ld hl,$D110
ld de,$6580
ld b,$2A
call Logged_0x3A00
ret
Logged_0x82038:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
ret
Logged_0x82041:
ld a,[$D01D]
ld c,a
ld a,[$D068]
cp c
jr z,Logged_0x82064
ld hl,$D10D
ld a,[hl]
and a
call z,Logged_0x82038
inc [hl]
ld a,[$D10E]
rlca
ld c,$24
jr nc,Logged_0x82060
srl c
srl c
Logged_0x82060:
ld a,[hl]
cp c
jr c,Logged_0x82068
Logged_0x82064:
xor a
ld [$D10D],a
Logged_0x82068:
ld a,[$D10C]
ld b,a
ld a,[$D073]
cp b
jr z,Logged_0x8208D
ld [$D10C],a
ld c,$04
bit 6,a
jr nz,Logged_0x82089
ld c,$03
bit 4,a
jr nz,Logged_0x82089
ld c,$02
bit 5,a
jr nz,Logged_0x82089
ld c,$01
Logged_0x82089:
ld a,c
call Logged_0x820AF
Logged_0x8208D:
ld a,[$D106]
and a
ret z
ld hl,$D109
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$D104
ld b,$2A
call Logged_0x3A66
ld hl,$D107
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$D100
ld b,$2A
call Logged_0x3A00
ret
Logged_0x820AF:
ld [$D106],a
and a
ret z
ld bc,$6329
cp $05
jr c,Logged_0x820BE
ld bc,$60CF
Logged_0x820BE:
dec a
add a,a
ld e,a
ld d,$00
ld hl,$60DC
add hl,de
ld de,$D109
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
ld hl,$D107
ld [hl],c
inc l
ld [hl],b
ld hl,$D104
xor a
ld [hli],a
ld [hl],a
ret
LoggedData_0x820DC:
INCBIN "baserom.gbc", $820DC, $820E6 - $820DC
Logged_0x820E6:
call Logged_0x82111
ld a,[$D073]
swap a
rrca
jr c,Logged_0x82100
inc hl
rrca
jr c,Logged_0x82100
inc hl
rrca
jr c,Logged_0x82100
inc hl
rrca
jr c,Logged_0x82100
Unknown_0x820FD:
nop
jr Unknown_0x820FD
Logged_0x82100:
ld a,[hl]
ld [$D068],a
ld de,$0004
add hl,de
ld a,[hl]
ld [$D071],a
xor a
ld [$D072],a
ret
Logged_0x82111:
ld a,[$D01D]
cp $0E
jr c,Logged_0x8211F
sub $0E
ld hl,$431E
jr Logged_0x82122
Logged_0x8211F:
ld hl,$423E
Logged_0x82122:
add a,a
add a,a
ld c,a
ld a,[$D012]
call Logged_0x3C66
ret
Logged_0x8212C:
ld a,[$D01D]
ld [$D066],a
call Logged_0x810F0
ld a,[hli]
ld [$D069],a
ld b,a
ld a,[hli]
ld [$D06A],a
ld c,a
ld a,[hli]
add a,b
ld [$D06B],a
ld [$D100],a
ld a,[hl]
add a,c
ld [$D06C],a
ld [$D101],a
ret
Logged_0x82150:
ld a,[$D01D]
cp $07
jr z,Logged_0x8219B
ld hl,$D069
call Logged_0x3AD7
ld c,$00
inc hl
ld b,$10
call Logged_0x82184
dec hl
dec hl
ld b,$20
call Logged_0x82184
inc hl
ld de,$FFE0
add hl,de
ld b,$40
call Logged_0x82184
ld de,$0040
add hl,de
ld b,$80
call Logged_0x82184
ld a,c
ld [$D10B],a
ret
Logged_0x82184:
ld a,[hl]
cp $02
jr z,Logged_0x8218E
cp $01
jr z,Logged_0x8218E
ret
Logged_0x8218E:
ld e,l
ld d,h
dec d
dec d
dec d
ld a,[de]
bit 3,a
ret z
ld a,c
or b
ld c,a
ret
Logged_0x8219B:
ld a,$D0
ld [$D10B],a
ret
Logged_0x821A1:
xor a
ld [$D0A0],a
ld c,$02
ld hl,$D06B
ld de,$D06D
call Logged_0x821F9
ld [$D0A7],a
ld c,$04
ld hl,$D06C
ld de,$D06E
call Logged_0x821F9
ld [$D0A8],a
ld a,[$D0A0]
ld b,a
ld hl,$D0A7
ld a,[hli]
cp [hl]
jr nc,Logged_0x821CF
ld a,[hld]
set 0,b
Logged_0x821CF:
ld [$D0A1],a
ld [$D0A2],a
ld a,[hl]
ld [$D0A3],a
ld [$D0A4],a
ld a,b
ld [$D0A0],a
ld de,$0101
ld hl,$D0A0
bit 1,[hl]
jr z,Logged_0x821EC
ld d,$FF
Logged_0x821EC:
bit 2,[hl]
jr z,Logged_0x821F2
ld e,$FF
Logged_0x821F2:
ld hl,$D0A5
ld [hl],d
inc l
ld [hl],e
ret
Logged_0x821F9:
ld b,[hl]
ld a,[de]
sub b
ret nc
cpl
inc a
ld b,a
ld a,c
ld hl,$D0A0
or [hl]
ld [hl],a
ld a,b
ret
Logged_0x82208:
ld hl,$D0A1
ld a,[hl]
and a
ret z
dec a
ld [hl],a
ld a,[$D0A2]
ld d,a
ld hl,$D0A3
ld a,[$D0A4]
add a,[hl]
ld [hl],a
cp d
call nc,Unknown_0x82224
call Logged_0x8222F
ret
Unknown_0x82224:
sub d
ld [hl],a
ld a,[$D0A0]
and $01
xor $01
jr Logged_0x82234
Logged_0x8222F:
ld a,[$D0A0]
and $01
Logged_0x82234:
ld hl,$D06B
ld de,$D0A5
jr z,Logged_0x8223E
inc e
inc l
Logged_0x8223E:
ld a,[de]
add a,[hl]
ld [hl],a
ret
Logged_0x82242:
ld hl,$D051
inc [hl]
ld a,[$D050]
and a
ret z
dec a
rst JumpList
dw Logged_0x82263
dw Logged_0x82277
dw Logged_0x822D7
dw Logged_0x822F1
dw Logged_0x82311
dw Logged_0x8235B
dw Logged_0x8237F
dw Unknown_0x8239E
dw Logged_0x82400
dw Logged_0x8241B
dw Logged_0x8242E
Logged_0x82263:
call Logged_0x828B3
ld a,$02
ld [$D091],a
xor a
ld [$D092],a
ld [$D093],a
ld hl,$D050
inc [hl]
ret
Logged_0x82277:
call Logged_0x82761
call Logged_0x828B3
ld a,[$D091]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E9
ld [$FF00+hSFXIDLow],a
xor a
set 2,a
ld [$D053],a
call Logged_0x822B4
call Logged_0x826F6
ld a,$6A
ld [$D0D0],a
ld a,$C0
ld [$D0D3],a
ld a,$60
ld [$D0D4],a
ld a,$A0
ld [$D0D1],a
ld a,$04
ld [$D0D2],a
ld hl,$D050
inc [hl]
ret
Logged_0x822B4:
call Logged_0x82490
call Logged_0x82654
xor a
ld [$D140],a
ld [$D148],a
ld a,$1C
ld [$D149],a
call Logged_0x824EA
ld hl,$4A20
ld de,$C060
ld c,$20
ld b,$21
call Logged_0x3B2B
ret
Logged_0x822D7:
ld a,[$C083]
dec a
dec a
ld [$C083],a
cp $EC
jr nz,Logged_0x822ED
ld a,[$CEE3]
ld [$D02C],a
ld hl,$D050
inc [hl]
Logged_0x822ED:
call Logged_0x824EA
ret
Logged_0x822F1:
call Logged_0x825AF
jr c,Logged_0x8230E
call Logged_0x82451
jr c,Logged_0x8230E
ld a,[$C094]
and $06
jr z,Logged_0x8230E
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EA
ld [$FF00+hSFXIDLow],a
ld hl,$D050
inc [hl]
Logged_0x8230E:
jp Logged_0x824EA
Logged_0x82311:
ld a,[$C083]
inc a
inc a
ld [$C083],a
cp $04
jr nz,Logged_0x82357
xor a
ld [$D013],a
ld [$D050],a
ld hl,$4920
ld de,$0040
ld a,[$D01A]
inc a
Logged_0x8232E:
dec a
jr z,Logged_0x82334
add hl,de
jr Logged_0x8232E
Logged_0x82334:
ld de,$C060
ld c,$20
ld b,$21
call Logged_0x3B2B
ld a,$6A
ld [$D0D0],a
ld a,$C0
ld [$D0D3],a
ld a,$60
ld [$D0D4],a
ld a,$A0
ld [$D0D1],a
ld a,$04
ld [$D0D2],a
Logged_0x82357:
call Logged_0x824EA
ret
Logged_0x8235B:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x82369
ld a,[$D051]
cp $1E
jr c,Logged_0x8237B
Logged_0x82369:
ld a,[$D00D]
ld [$CEE3],a
xor a
ld [wGameSubState],a
xor a
ld hl,$D051
ld [hld],a
ld a,$04
ld [hl],a
Logged_0x8237B:
call Logged_0x824EA
ret
Logged_0x8237F:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x8238D
ld a,[$D051]
cp $1E
jr c,Logged_0x8239A
Logged_0x8238D:
xor a
ld hl,$D051
ld [hld],a
ld a,$04
ld [hl],a
ld a,$0C
ld [wGameSubState],a
Logged_0x8239A:
call Logged_0x824EA
ret
Unknown_0x8239E:
ld a,[$C094]
bit 0,a
jr nz,Unknown_0x823AC
ld a,[$D051]
cp $1E
jr c,Unknown_0x823E2
Unknown_0x823AC:
xor a
ld hl,$D051
ld [hld],a
ld a,$04
ld [hl],a
ld a,[$D146]
ld b,$01
cp $0A
jr nz,Unknown_0x823BF
ld b,$FF
Unknown_0x823BF:
ld hl,$D012
ld a,b
add a,[hl]
and $03
ld [hl],a
call Unknown_0x823E6
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [$D013],a
ld [$D014],a
ld a,$08
ld [wGameSubState],a
Unknown_0x823E2:
call Logged_0x824EA
ret
Unknown_0x823E6:
ld hl,$63F8
call Logged_0x3C4F
dec b
jr z,Unknown_0x823F0
inc hl
Unknown_0x823F0:
ld a,[hl]
ld [$D01D],a
ld [$D068],a
ret
Unknown_0x823F8:
INCBIN "baserom.gbc", $823F8, $82400 - $823F8
Logged_0x82400:
call Logged_0x824EA
ld a,[$D142]
cp $04
jr z,Logged_0x8240D
cp $06
ret nz
Logged_0x8240D:
call Logged_0x80377
call Logged_0x82654
call Logged_0x826F6
ld hl,$D050
inc [hl]
ret
Logged_0x8241B:
ld a,[$D146]
cp $05
jr z,Logged_0x82426
cp $07
jr nz,Logged_0x8242A
Logged_0x82426:
ld hl,$D050
inc [hl]
Logged_0x8242A:
call Logged_0x824EA
ret
Logged_0x8242E:
ld a,$21
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,[$D055]
and a
jr nz,Logged_0x8244D
di
call Logged_0x80BF9
ei
ld a,$04
ld [$D050],a
Logged_0x8244D:
call Logged_0x824EA
ret
Logged_0x82451:
xor a
ld a,[$D053]
ld b,a
ld hl,$D053
ld a,[$C094]
ld c,a
ld a,[$D054]
ld d,a
bit 4,c
jr nz,Logged_0x8246A
bit 5,c
jr nz,Logged_0x82485
ret
Logged_0x8246A:
ld a,d
rrc b
ret c
and b
jr z,Logged_0x8246A
Logged_0x82471:
ld [hl],b
call Logged_0x82490
call Logged_0x82654
call Logged_0x826F6
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
scf
ret
Logged_0x82485:
ld a,d
sla b
bit 5,b
ret nz
and b
jr z,Logged_0x82485
jr Logged_0x82471
Logged_0x82490:
ld a,[$D053]
ld c,$00
bit 0,a
jr nz,Logged_0x824D4
inc c
bit 1,a
jr nz,Logged_0x824AB
inc c
bit 2,a
jr nz,Logged_0x824AB
inc c
bit 3,a
jr nz,Logged_0x824AB
inc c
bit 4,a
Logged_0x824AB:
ld a,c
add a,a
ld e,a
ld d,$00
ld hl,$64DE
add hl,de
ld a,[hli]
ld [$D141],a
ld a,[hl]
ld hl,$D146
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ld c,$00
ld a,[$D053]
and $18
jr z,Logged_0x824CB
ld c,$0B
Logged_0x824CB:
ld a,c
ld hl,$D14E
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ret
Logged_0x824D4:
ld a,[$D011]
and a
jr z,Logged_0x824AB
ld c,$05
jr Logged_0x824AB
LoggedData_0x824DE:
INCBIN "baserom.gbc", $824DE, $824E6 - $824DE
Unknown_0x824E6:
INCBIN "baserom.gbc", $824E6, $824E8 - $824E6
LoggedData_0x824E8:
INCBIN "baserom.gbc", $824E8, $824EA - $824E8
Logged_0x824EA:
call Logged_0x824F1
call Logged_0x8250A
ret
Logged_0x824F1:
xor a
ld [$D024],a
ld a,[$D146]
ld hl,$D144
call Logged_0x82521
ld b,$2A
ld de,$5FE2
ld hl,$D140
call Logged_0x3A00
ret
Logged_0x8250A:
ld a,[$D14E]
and a
ret z
ld hl,$D14C
call Logged_0x82521
ld b,$2A
ld de,$5FE2
ld hl,$D148
call Logged_0x3A00
ret
Logged_0x82521:
push hl
rst JumpList
dw Unknown_0x82541
dw Logged_0x82543
dw Logged_0x82548
dw Logged_0x8254D
dw Logged_0x82552
dw Logged_0x82557
dw Logged_0x8255C
dw Logged_0x82567
dw Unknown_0x8256C
dw Unknown_0x82577
dw Unknown_0x8257C
dw Logged_0x82581
dw Unknown_0x82586
dw Logged_0x8258B
dw Unknown_0x82590
Unknown_0x82541:
pop hl
ret
Logged_0x82543:
ld de,$6091
jr Logged_0x82593
Logged_0x82548:
ld de,$6094
jr Logged_0x82593
Logged_0x8254D:
ld de,$6097
jr Logged_0x82593
Logged_0x82552:
ld de,$609A
jr Logged_0x82593
Logged_0x82557:
ld de,$609D
jr Logged_0x82593
Logged_0x8255C:
ld de,$60BC
pop hl
call Logged_0x82594
ld b,$07
jr Logged_0x8259A
Logged_0x82567:
ld de,$60A3
jr Logged_0x82593
Unknown_0x8256C:
ld de,$60C1
pop hl
call Logged_0x82594
ld b,$05
jr Logged_0x8259A
Unknown_0x82577:
ld de,$60A9
jr Logged_0x82593
Unknown_0x8257C:
ld de,$60AE
jr Logged_0x82593
Logged_0x82581:
ld de,$60B1
jr Logged_0x82593
Unknown_0x82586:
ld de,$60C6
jr Logged_0x82593
Logged_0x8258B:
ld de,$60B4
jr Logged_0x82593
Unknown_0x82590:
ld de,$60B9
Logged_0x82593:
pop hl
Logged_0x82594:
ld b,$2A
call Logged_0x3A66
ret
Logged_0x8259A:
ld a,[$D024]
cp $FF
ret nz
set 2,l
ld d,h
ld e,l
xor a
ld [de],a
inc e
ld [de],a
inc e
ld a,b
ld [de],a
call Logged_0x82521
ret
Logged_0x825AF:
xor a
ld a,[$C094]
bit 0,a
ret z
ld a,[$D053]
bit 0,a
jr nz,Logged_0x825CF
bit 1,a
jr nz,Logged_0x825E7
bit 2,a
jr nz,Logged_0x82600
bit 3,a
jr nz,Unknown_0x82619
bit 4,a
jr nz,Unknown_0x8262A
xor a
ret
Logged_0x825CF:
call Logged_0x82640
ld de,$D46B
call Logged_0x8264A
ld a,$09
ld [$D050],a
Logged_0x825DD:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
scf
ret
Logged_0x825E7:
ld a,[$D00D]
and a
ret z
call Logged_0x82640
ld de,$D469
call Logged_0x8264A
ld a,$06
ld [$D050],a
xor a
ld [$D051],a
jr Logged_0x825DD
Logged_0x82600:
call Logged_0x82640
ld de,$D467
call Logged_0x8264A
ld a,$07
ld [$D050],a
xor a
ld [$D051],a
ld a,$00
ld [$D07B],a
jr Logged_0x825DD
Unknown_0x82619:
call Logged_0x82640
call Unknown_0x8263B
ld a,$08
ld [$D050],a
xor a
ld [$D051],a
jr Logged_0x825DD
Unknown_0x8262A:
call Logged_0x82640
call Unknown_0x8263B
ld a,$08
ld [$D050],a
xor a
ld [$D051],a
jr Logged_0x825DD
Unknown_0x8263B:
ld hl,$D14E
jr Logged_0x82643
Logged_0x82640:
ld hl,$D146
Logged_0x82643:
ld a,[hl]
inc a
ld [hld],a
xor a
ld [hld],a
ld [hl],a
ret
Logged_0x8264A:
ld hl,$66EE
call Logged_0x8269F
call Logged_0x826F6
ret
Logged_0x82654:
ld a,[$D054]
ld b,a
ld hl,$66C6
ld de,$D46B
call Logged_0x82698
ld hl,$66CE
ld de,$D469
call Logged_0x82698
ld hl,$66D6
ld de,$D467
call Logged_0x82698
ld a,[$D053]
ld b,a
ld hl,$66DE
ld de,$D46B
call Logged_0x82693
ld hl,$66DE
ld de,$D469
call Logged_0x82693
ld hl,$66E6
ld de,$D467
call Logged_0x82693
ret
Logged_0x82693:
srl b
ret nc
jr Logged_0x8269F
Logged_0x82698:
srl b
jr c,Logged_0x8269F
ld hl,$66BE
Logged_0x8269F:
push de
ld a,e
add a,$40
ld e,a
ld a,$00
adc a,d
ld d,a
ld c,$02
Logged_0x826AA:
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
dec e
ld a,e
add a,$20
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
dec c
ret z
pop de
jr Logged_0x826AA
LoggedData_0x826BE:
INCBIN "baserom.gbc", $826BE, $826F6 - $826BE
Logged_0x826F6:
ld a,$D4
ld [$D0B0],a
ld a,$A0
ld [$D0B1],a
ld a,$1B
ld [$D0B2],a
ld a,$C0
ld [$D0B3],a
ld a,$03
ld [$D0B4],a
ld a,$D4
ld [$D0B5],a
ld a,$60
ld [$D0B6],a
ld a,$1B
ld [$D0B7],a
ld a,$C0
ld [$D0B8],a
ld a,$03
ld [$D0B9],a
ret
Unknown_0x82729:
INCBIN "baserom.gbc", $82729, $82761 - $82729
Logged_0x82761:
ld a,[$D01D]
ld c,a
ld a,[$D068]
cp c
jr nz,Logged_0x82788
ld a,[$D091]
cp $02
jp z,Logged_0x8287B
cp $03
jp z,Logged_0x827EA
call Logged_0x827A3
ret c
ld a,[$D091]
cp $01
jr z,Logged_0x827D5
cp $00
jr z,Logged_0x827B4
ret
Logged_0x82788:
xor a
ld [$D096],a
ld a,[$D091]
and a
ret z
cp $02
jp z,Logged_0x8287B
ld a,$02
ld [$D091],a
xor a
ld [$D092],a
ld [$D093],a
ret
Logged_0x827A3:
ld a,[$D00F]
add a,a
jr z,Logged_0x827B2
ld a,[$D013]
cp $05
jr nz,Logged_0x827B2
and a
ret
Logged_0x827B2:
scf
ret
Logged_0x827B4:
ld a,[$D090]
and a
ret z
ld hl,$D093
ld a,[$C093]
bit 1,a
jr nz,Logged_0x827C6
xor a
ld [hl],a
ret
Logged_0x827C6:
inc [hl]
ld a,[hl]
cp $0A
ret c
ld a,$03
ld [$D091],a
xor a
ld [$D092],a
ret
Logged_0x827D5:
ld a,[$C093]
bit 1,a
ret nz
ld hl,$D0FA
res 4,[hl]
ld a,$02
ld [$D091],a
xor a
ld [$D092],a
ret
Logged_0x827EA:
ld a,[$C093]
bit 1,a
jr z,Logged_0x827FD
ld a,[$D092]
rst JumpList
dw Logged_0x8280C
dw Logged_0x8281D
dw Logged_0x82837
dw Logged_0x82869
Logged_0x827FD:
ld hl,$D0FA
res 4,[hl]
ld a,$02
ld [$D091],a
xor a
ld [$D092],a
ret
Logged_0x8280C:
ld hl,$D0FA
set 4,[hl]
xor a
ld [$D0B0],a
ld [$D0B5],a
ld hl,$D092
inc [hl]
ret
Logged_0x8281D:
ld hl,$D094
ld b,[hl]
ld a,$78
cp b
jr nc,Logged_0x8282D
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
ret
Logged_0x8282D:
ld [hl],a
xor a
ld [$D093],a
ld hl,$D092
inc [hl]
ret
Logged_0x82837:
ld hl,$D093
inc [hl]
ld a,[hl]
cp $03
ret c
xor a
ld [hl],a
ld hl,$D0FA
Logged_0x82844:
ld a,[rDIV]
and $0F
inc a
ld c,$00
scf
Logged_0x8284C:
rl c
dec a
jr nz,Logged_0x8284C
ld a,$0F
and c
jr nz,Logged_0x82858
swap c
Logged_0x82858:
ld a,c
and [hl]
jr nz,Logged_0x82844
ld a,c
or [hl]
ld [hl],a
and $0F
cp $0F
ret nz
ld hl,$D092
inc [hl]
ret
Logged_0x82869:
ld a,$01
ld [$D091],a
xor a
ld [$D092],a
ld hl,$D0FA
bit 6,[hl]
ret z
set 7,[hl]
ret
Logged_0x8287B:
ld a,[$D092]
rst JumpList
dw Logged_0x82883
dw Logged_0x82899
Logged_0x82883:
ld hl,$D094
ld a,[hl]
cp $90
jr nc,Logged_0x82892
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
ret
Logged_0x82892:
ld [hl],$90
ld hl,$D092
inc [hl]
ret
Logged_0x82899:
ld hl,$D0FA
ld a,$40
and [hl]
ld [hl],a
xor a
ld [$D116],a
ld [$D117],a
xor a
ld [$D091],a
xor a
ld [$D092],a
ld [$D093],a
ret
Logged_0x828B3:
ld a,[$CA3D]
bit 1,a
jp nz,Logged_0x82997
ld a,[$D0F4]
ld c,a
ld e,$00
ld a,[$D0FA]
bit 0,a
jr nz,Logged_0x828CC
ld e,$09
ld c,$00
Logged_0x828CC:
ld d,$20
call Logged_0x8291E
ld a,[$D0F5]
ld c,a
ld e,$01
ld a,[$D0FA]
bit 1,a
jr nz,Logged_0x828E2
ld e,$09
ld c,$00
Logged_0x828E2:
ld d,$3C
call Logged_0x8291E
ld a,[$D0F6]
ld c,a
ld e,$02
ld a,[$D0FA]
bit 2,a
jr nz,Logged_0x828F8
ld e,$09
ld c,$00
Logged_0x828F8:
ld d,$58
call Logged_0x8291E
ld a,[$D0F7]
ld c,a
ld e,$03
ld a,[$D0FA]
bit 3,a
jr nz,Logged_0x8290E
ld e,$09
ld c,$00
Logged_0x8290E:
ld d,$74
call Logged_0x8291E
call Logged_0x8295B
call Logged_0x8293F
ret
Logged_0x8291A:
ld b,$20
jr Logged_0x82920
Logged_0x8291E:
ld b,$24
Logged_0x82920:
ld a,[$D094]
add a,b
ld [$C096],a
ld a,[$D095]
add a,d
ld [$C097],a
ld a,e
ld [$C098],a
ld a,c
ld [$C099],a
ld hl,$60CF
ld b,$2A
call Logged_0x3A22
ret
Logged_0x8293F:
ld a,[$D0FA]
bit 7,a
ret z
ld hl,$D116
ld de,$62FB
ld b,$2A
call Logged_0x3A66
ld d,$90
ld hl,$D114
ld a,[hli]
ld e,a
ld c,$00
jr Logged_0x8291E
Logged_0x8295B:
ld a,[$D090]
and a
ret z
ld b,$04
ld a,[$D00F]
add a,a
jr nz,Logged_0x8296C
ld b,$06
jr Logged_0x82975
Logged_0x8296C:
ld a,[$D0FA]
bit 4,a
jr z,Logged_0x82975
ld b,$05
Logged_0x82975:
ld a,b
ld [$C098],a
ld a,[$D094]
add a,$10
ld [$C096],a
ld a,[$D095]
add a,$10
ld [$C097],a
ld a,$00
ld [$C099],a
ld hl,$6580
ld b,$2A
call Logged_0x3A22
ret
Logged_0x82997:
call Logged_0x829A1
call Logged_0x8295B
call Logged_0x8293F
ret
Logged_0x829A1:
ld a,[$D0EE]
and $F0
swap a
add a,$1E
ld e,a
ld c,$00
ld d,$50
call Logged_0x8291A
ld a,[$D0EE]
and $0F
add a,$1E
ld e,a
ld c,$00
ld d,$58
call Logged_0x8291A
ld a,[$D0EF]
and $F0
swap a
add a,$1E
ld e,a
ld c,$00
ld d,$68
call Logged_0x8291A
ld a,[$D0EF]
and $0F
add a,$1E
ld e,a
ld c,$00
ld d,$70
call Logged_0x8291A
ret
Logged_0x829E2:
ld hl,$D061
inc [hl]
ld a,[$D062]
rst JumpList
dw Logged_0x82A79
dw Logged_0x82A0A
dw Logged_0x82A26
dw Logged_0x82A2F
dw Logged_0x82A4E
dw Logged_0x82A62
dw Logged_0x82A96
dw Logged_0x82A9B
dw Logged_0x82AAE
dw Logged_0x82A9B
dw Logged_0x82AEA
dw Logged_0x82A9B
dw Logged_0x82B22
dw Logged_0x82B67
dw Logged_0x82B7B
dw Logged_0x82BAA
Logged_0x82A0A:
ld a,$21
ld [$FF00+$85],a
ld a,$E7
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ld a,[$D055]
and a
ret nz
di
call Logged_0x80CB1
ei
jp Logged_0x82A8D
Logged_0x82A26:
ld a,$14
ld hl,$D061
cp [hl]
ret nc
jr Logged_0x82A8D
Logged_0x82A2F:
ld a,[$D016]
ld b,a
ld a,[$D067]
ld d,a
cp $0E
jr nc,Logged_0x82A44
call Logged_0x3AF7
xor a
ld [$D0D5],a
jr Logged_0x82A8D
Logged_0x82A44:
ld a,$02
ld hl,$D062
add a,[hl]
ld [hld],a
xor a
ld [hl],a
ret
Logged_0x82A4E:
ld a,$21
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
srl c
ret c
jr Logged_0x82A8D
Logged_0x82A62:
ld a,[$D061]
cp $10
ret c
ld a,$21
ld [$FF00+$85],a
ld a,$50
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
jr Logged_0x82A8D
Logged_0x82A79:
call Logged_0x81F4B
xor a
ld [$D071],a
ld [$D072],a
xor a
ld hl,$D180
ld bc,$0008
call Fill_HL_A
Logged_0x82A8D:
xor a
ld [$D061],a
ld hl,$D062
inc [hl]
ret
Logged_0x82A96:
call Logged_0x81F94
jr Logged_0x82A8D
Logged_0x82A9B:
ld a,[$D07F]
and a
jr z,Logged_0x82AA6
xor a
ld [$D061],a
ret
Logged_0x82AA6:
ld a,[$D061]
cp $04
ret c
jr Logged_0x82A8D
Logged_0x82AAE:
call Logged_0x82ADA
jr z,Logged_0x82A8D
ld a,[$D073]
call Logged_0x81FB9
call Logged_0x81FD8
ld a,[$D073]
ld hl,$D081
call Logged_0x82B45
ld a,$01
ld [$D07F],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
Logged_0x82AD2:
call Logged_0x81FEB
call Logged_0x81F21
jr Logged_0x82A8D
Logged_0x82ADA:
ld a,[$D066]
cp $0F
ret z
ld c,a
ld a,[$D016]
and a
ret nz
ld a,$07
cp c
ret
Logged_0x82AEA:
ld a,[$D067]
cp $0E
jr z,Logged_0x82A8D
ld a,[$D06E]
ld [$D06C],a
ld a,[$D06D]
ld [$D06B],a
ld a,[$D075]
ld [$D073],a
call Logged_0x81FB9
call Logged_0x81FD8
ld a,[$D073]
ld hl,$D081
call Logged_0x82B45
ld a,$01
ld [$D07F],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
jp Logged_0x82AD2
Logged_0x82B22:
ld a,[$D067]
cp $0E
jp z,Logged_0x82A8D
ld hl,$D06D
call Logged_0x3AD7
ld hl,$D081
call Logged_0x82B3E
ld a,$01
ld [$D07F],a
jp Logged_0x82AD2
Logged_0x82B3E:
ld b,a
xor a
ld [hld],a
ld a,$00
ld [hl],a
ret
Logged_0x82B45:
ld b,a
xor a
ld [hl],a
bit 4,b
jr nz,Logged_0x82B5B
bit 5,b
jr nz,Logged_0x82B59
bit 6,b
jr nz,Logged_0x82B62
bit 7,b
jr nz,Logged_0x82B60
ret
Logged_0x82B59:
set 5,[hl]
Logged_0x82B5B:
dec l
ld a,$02
ld [hl],a
ret
Logged_0x82B60:
set 6,[hl]
Logged_0x82B62:
dec l
ld a,$01
ld [hl],a
ret
Logged_0x82B67:
ld a,[$D07F]
and a
jr z,Logged_0x82B72
xor a
ld [$D061],a
ret
Logged_0x82B72:
ld a,[$D061]
cp $1E
ret c
jp Logged_0x82A8D
Logged_0x82B7B:
ld a,[$D061]
cp $01
jr z,Logged_0x82B88
cp $40
ret c
jp Logged_0x82A8D
Logged_0x82B88:
ld a,[$D067]
cp $0E
jp nc,Logged_0x82A8D
ld a,[$D06D]
ld [$D180],a
ld a,[$D06E]
ld [$D181],a
ld a,$01
ld [$D186],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
ret
Logged_0x82BAA:
ld a,[$D061]
cp $1E
ret c
xor a
ld [$D017],a
ld [$D062],a
ret
Logged_0x82BB8:
ld a,[$D028]
cp $01
ret nz
ld a,[$D186]
and a
ret z
ld de,$6544
ld hl,$D184
ld b,$2A
call Logged_0x3A66
ld hl,$D180
ld de,$6445
ld b,$2A
call Logged_0x3A00
ret
Logged_0x82BDA:
ld a,[$D028]
cp $03
ret nz
ld a,[$D186]
and a
ret z
ld hl,$D184
ld de,$6555
ld b,$2A
call Logged_0x3A66
ld a,[$D024]
cp $FF
jr z,Logged_0x82C03
ld hl,$D180
ld de,$6445
ld b,$2A
call Logged_0x3A00
ret
Logged_0x82C03:
ld hl,$D186
xor a
ld [hl],a
ret
Logged_0x82C09:
ld a,[$D065]
cp $80
ret nz
ld hl,$48E0
ld de,$C060
ld c,$10
ld b,$21
call Logged_0x3B2B
ret
Logged_0x82C1D:
ld hl,$D061
cp [hl]
ret nc
Logged_0x82C22:
xor a
ld hl,$D061
ld [hli],a
inc [hl]
ret
Logged_0x82C29:
xor a
ld [$D017],a
ld hl,$D061
ld [hli],a
ld [hl],a
ret
Logged_0x82C33:
ld hl,$D061
inc [hl]
ld a,[$D062]
rst JumpList
dw Logged_0x82C55
dw Logged_0x82C8F
dw Logged_0x82A0A
dw Logged_0x82A26
dw Logged_0x82A2F
dw Logged_0x82A4E
dw Logged_0x82A62
dw Logged_0x82C93
dw Logged_0x82CB0
dw Logged_0x82C51
dw Logged_0x82C29
Logged_0x82C51:
ld a,$1E
jr Logged_0x82C1D
Logged_0x82C55:
ld a,[$D01A]
sub $01
ccf
ld a,[$D017]
sbc a,$00
ld [$D067],a
ld a,[$D025]
cp $25
jr z,Logged_0x82C71
cp $23
jr z,Logged_0x82C78
Logged_0x82C6E:
jp Logged_0x82C22
Logged_0x82C71:
ld a,$07
ld [$D017],a
jr Logged_0x82C6E
Logged_0x82C78:
ld a,[$D01A]
cp $03
jr nz,Logged_0x82C6E
ld a,[$D017]
cp $07
jr nz,Logged_0x82C6E
ld a,$39
call Logged_0x3AAC
jr nz,Logged_0x82C6E
jr Logged_0x82C29
Logged_0x82C8F:
ld a,$0C
jr Logged_0x82C1D
Logged_0x82C93:
ld a,[$D067]
ld c,a
ld de,$D180
call Logged_0x80DB4
ld a,$02
ld hl,$D186
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
jp Logged_0x82C22
Logged_0x82CB0:
ld a,[$D186]
and a
ret nz
jp Logged_0x82C22
Unknown_0x82CB8:
INCBIN "baserom.gbc", $82CB8, $84000 - $82CB8
SECTION "Bank21", ROMX, BANK[$21]
LoggedData_0x84000:
INCBIN "baserom.gbc", $84000, $848C0 - $84000
Unknown_0x848C0:
INCBIN "baserom.gbc", $848C0, $848E0 - $848C0
LoggedData_0x848E0:
INCBIN "baserom.gbc", $848E0, $848F0 - $848E0
Unknown_0x848F0:
INCBIN "baserom.gbc", $848F0, $84900 - $848F0
LoggedData_0x84900:
INCBIN "baserom.gbc", $84900, $84A00 - $84900
Unknown_0x84A00:
INCBIN "baserom.gbc", $84A00, $84A20 - $84A00
LoggedData_0x84A20:
INCBIN "baserom.gbc", $84A20, $84A40 - $84A20
ld hl,$D056
inc [hl]
ld a,[$D011]
and a
jp nz,Logged_0x84B5A
ld a,[$D055]
rst JumpList
dw Logged_0x84A5D
dw Logged_0x84A97
dw Logged_0x84B18
dw Logged_0x84B24
dw Logged_0x84B32
dw Logged_0x84A97
dw Logged_0x84B3A
Logged_0x84A5D:
call Logged_0x84A6E
ld a,$01
ld [$D07C],a
xor a
ld [$D07D],a
xor a
ld [$D809],a
ret
Logged_0x84A6E:
di
call Logged_0x84D76
ei
ld a,$03
call Logged_0x84C7A
ld a,[hli]
ld h,[hl]
ld l,a
ld de,$C000
ld b,$40
call MemCopy_DE_HL
xor a
call Logged_0x84C4B
Logged_0x84A87:
xor a
ld hl,$D056
ld [hld],a
inc [hl]
ret
Unknown_0x84A8E:
INCBIN "baserom.gbc", $84A8E, $84A97 - $84A8E
Logged_0x84A97:
ld a,[wGameSubState]
cp $0B
jr nz,Logged_0x84AAE
ld a,[$C094]
ld b,a
bit 1,b
jp nz,Logged_0x84D55
ld a,[$D10B]
and b
jp nz,Logged_0x84D55
Logged_0x84AAE:
ld hl,$D809
ld a,[$D056]
cp [hl]
ret c
xor a
ld [$D056],a
ld a,$60
ld [$D807],a
ld hl,$D812
Logged_0x84AC2:
ld a,[hli]
and a
jr z,Logged_0x84AFB
ld b,$01
dec a
jr z,Logged_0x84AD3
ld b,$FF
dec a
jr z,Logged_0x84AD3
Unknown_0x84AD0:
nop
jr Unknown_0x84AD0
Logged_0x84AD3:
ld a,b
ld [$D808],a
ld a,[hli]
ld [$D802],a
ld b,a
ld a,[hl]
ld [$D803],a
add a,b
cp $20
jr c,Logged_0x84AF4
sub $20
ld [hl],a
inc l
ld a,[$D808]
add a,[hl]
ld [hl],a
ld bc,$0005
add hl,bc
jr Logged_0x84AFF
Logged_0x84AF4:
ld [hl],a
ld bc,$0006
add hl,bc
jr Logged_0x84AFF
Logged_0x84AFB:
ld bc,$0007
add hl,bc
Logged_0x84AFF:
ld a,[$D807]
dec a
ld [$D807],a
and a
jr nz,Logged_0x84AC2
call Logged_0x84D17
ld a,[$D806]
dec a
ld [$D806],a
and a
ret nz
jp Logged_0x84A87
Logged_0x84B18:
call Logged_0x84B1C
ret
Logged_0x84B1C:
ld a,$01
call Logged_0x84C4B
jp Logged_0x84A87
Logged_0x84B24:
call Logged_0x84A97
ld a,[$D806]
cp $0C
ret nz
xor a
ld [$D809],a
ret
Logged_0x84B32:
ld a,$02
call Logged_0x84C4B
jp Logged_0x84A87
Logged_0x84B3A:
ld a,[$D011]
xor $01
ld [$D011],a
ld hl,$CA3B
srl [hl]
rra
rl [hl]
res 7,[hl]
call Logged_0x3B98
xor a
ld [$D0E3],a
ld [$D055],a
ld [$D056],a
ret
Logged_0x84B5A:
ld a,[$D055]
rst JumpList
dw Logged_0x84B68
dw Logged_0x84B77
dw Logged_0x84B85
dw Logged_0x84B89
dw Logged_0x84B3A
Logged_0x84B68:
call Logged_0x84A6E
xor a
ld [$D07C],a
ld [$D07D],a
xor a
ld [$D809],a
ret
Logged_0x84B77:
call Logged_0x84A97
ld a,[$D806]
cp $0A
ret nz
xor a
ld [$D809],a
ret
Logged_0x84B85:
call Logged_0x84B1C
ret
Logged_0x84B89:
call Logged_0x84A97
ld a,[$D806]
cp $16
ret nz
xor a
ld [$D809],a
ret
ld hl,$D056
inc [hl]
ld a,[$D055]
rst JumpList
dw Logged_0x84BAD
dw Logged_0x84BB6
dw Logged_0x84BBF
dw Logged_0x84BCD
dw Logged_0x84BD6
dw Logged_0x84BE7
dw Logged_0x84BF6
Logged_0x84BAD:
call Logged_0x84A6E
ld a,$03
ld [$D809],a
ret
Logged_0x84BB6:
ld a,[$D056]
cp $04
ret c
jp Logged_0x84A87
Logged_0x84BBF:
call Logged_0x84A97
ld a,[$D806]
cp $0A
ret nz
xor a
ld [$D809],a
ret
Logged_0x84BCD:
ld a,[$D056]
cp $06
ret c
jp Logged_0x84A87
Logged_0x84BD6:
call Logged_0x84B1C
ld a,$02
ld [$D809],a
ld a,$13
ld hl,$D1BE
call Logged_0x3B93
ret
Logged_0x84BE7:
call Logged_0x84A97
ld a,[$D806]
cp $16
ret nz
ld a,$03
ld [$D809],a
ret
Logged_0x84BF6:
ld a,[$D050]
and a
jr nz,Logged_0x84BFF
ld [$CA3B],a
Logged_0x84BFF:
xor a
ld [$D011],a
ld [$D0E3],a
ld [$D055],a
ld [$D056],a
ret
ld hl,$D056
inc [hl]
ld a,[$D055]
rst JumpList
dw Logged_0x84C23
dw Logged_0x84C2F
dw Logged_0x84C32
dw Logged_0x84C2F
dw Logged_0x84C35
dw Logged_0x84C2F
dw Logged_0x84C38
Logged_0x84C23:
di
call Logged_0x84D76
ei
xor a
call Logged_0x84C4B
jp Logged_0x84A87
Logged_0x84C2F:
jp Logged_0x84A97
Logged_0x84C32:
jp Logged_0x84B1C
Logged_0x84C35:
jp Logged_0x84B32
Logged_0x84C38:
ld a,[$D011]
xor $01
ld [$D011],a
xor a
ld [$D0E3],a
ld [$D055],a
ld [$D056],a
ret
Logged_0x84C4B:
call Logged_0x84C7A
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push de
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$D811
call Logged_0x84CE0
pop de
push de
ld hl,$D810
call Logged_0x84CE0
call Logged_0x84CAB
pop hl
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ld a,$20
ld [$D806],a
xor a
ld [$D809],a
ret
Logged_0x84C7A:
add a,a
ld c,a
call Logged_0x84C92
swap a
ld e,a
ld d,$00
ld a,[$D011]
swap a
rrca
or e
or c
ld e,a
ld hl,$4DD9
add hl,de
ret
Logged_0x84C92:
ld a,[$D057]
and $7F
cp $7F
ld a,[$D01A]
ret nz
and a
jr z,Logged_0x84CA5
cp $01
jr z,Logged_0x84CA8
ret
Logged_0x84CA5:
ld a,$04
ret
Logged_0x84CA8:
ld a,$05
ret
Logged_0x84CAB:
ld a,$60
ld [$D807],a
ld hl,$D810
Logged_0x84CB3:
ld a,[hli]
ld b,a
ld e,a
ld a,[hli]
cp b
jr z,Logged_0x84CCD
ld d,$01
jr nc,Logged_0x84CC3
ld d,a
ld a,b
ld b,d
ld d,$02
Logged_0x84CC3:
sub b
ld b,a
ld a,d
ld [hli],a
ld a,b
ld [hli],a
ld [hli],a
ld [hl],e
jr Logged_0x84CD2
Logged_0x84CCD:
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hl],e
Logged_0x84CD2:
ld bc,$0003
add hl,bc
ld a,[$D807]
dec a
ld [$D807],a
ret z
jr Logged_0x84CB3
Logged_0x84CE0:
ld a,$20
ld [$D807],a
Logged_0x84CE5:
ld a,[de]
and $1F
ld [hl],a
ld bc,$0008
add hl,bc
ld a,[de]
ld c,a
inc de
ld a,[de]
ld b,a
ld a,c
srl b
rra
srl b
rra
rra
rra
rra
and $1F
ld [hl],a
ld a,b
ld bc,$0008
add hl,bc
and $1F
ld [hl],a
inc de
ld bc,$0008
add hl,bc
ld a,[$D807]
dec a
ld [$D807],a
and a
jr nz,Logged_0x84CE5
ret
Logged_0x84D17:
ld hl,$D815
ld de,$C100
ld a,$20
ld [$D807],a
Logged_0x84D22:
ld a,[hl]
ld bc,$0008
add hl,bc
ld b,a
ld a,[hl]
ld c,a
rrca
rrca
rrca
and $E0
or b
ld [de],a
inc de
ld a,c
ld bc,$0008
add hl,bc
rlca
rlca
rlca
ld c,a
ld a,[hl]
sla c
rla
sla c
rla
and $7F
ld [de],a
ld a,[$D807]
dec a
ld [$D807],a
and a
ret z
inc de
ld bc,$0008
add hl,bc
jr Logged_0x84D22
Logged_0x84D55:
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
xor a
ld [$D806],a
ld [$D056],a
ld b,$06
ld a,[$D011]
and a
jr z,Logged_0x84D71
ld b,$04
Logged_0x84D71:
ld a,b
ld [$D055],a
ret
Logged_0x84D76:
ld hl,RAMCode_0x84D82
ld de,$C200
ld b,LoggedData_0x84DD9 - RAMCode_0x84D82
call MemCopy_DE_HL
ret
RAMCode_0x84D82:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D094]
ld [rWY],a
ld a,[$D095]
add a,$07
ld [rWX],a
ld b,$76
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
call Logged_0x1D8C2C
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$C100
ld c,$68
ld a,$80
ld [$FF00+c],a
inc c
ld b,$08
Unknown_0x84DBE:
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Unknown_0x84DBE
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
LoggedData_0x84DD9:
INCBIN "baserom.gbc", $84DD9, $84E43 - $84DD9
Logged_0x84E43:
ld a,[$D0D5]
cp $01
jr nc,Logged_0x84E77
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ret
Logged_0x84E77:
call Logged_0x851D1
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D0DB],a
ret
ld a,[$D0D5]
cp $01
jp nc,Logged_0x84ED8
ld a,[$D880]
and a
jr z,Logged_0x84EEC
dec a
jr z,Logged_0x84EF4
dec a
jp z,Logged_0x84F36
dec a
jp z,Logged_0x84F5D
dec a
jp z,Logged_0x84F77
dec a
jp z,Logged_0x84F97
dec a
jp z,Logged_0x84F0F
Logged_0x84EAB:
ld a,$C1
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ld hl,$D0D5
inc [hl]
ret
Logged_0x84ED8:
call Logged_0x851D1
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D0DB],a
ld hl,$D014
ld [hld],a
inc [hl]
ret
Logged_0x84EEC:
call Logged_0x84FBE
call Logged_0x84FEA
jr Logged_0x84EAB
Logged_0x84EF4:
call Logged_0x84FBE
ld hl,$69CD
ld de,$C000
ld b,$40
call MemCopy_DE_HL
ld hl,$6A8D
ld de,$C040
ld b,$40
call MemCopy_DE_HL
jr Logged_0x84EAB
Logged_0x84F0F:
call Logged_0x84FBE
ld hl,$69CD
ld de,$C000
ld b,$40
call MemCopy_DE_HL
ld hl,$6A8D
ld de,$C040
ld b,$40
call MemCopy_DE_HL
ld hl,$6ACD
ld de,$C040
ld b,$08
call MemCopy_DE_HL
jp Logged_0x84EAB
Logged_0x84F36:
call Logged_0x84FBE
ld hl,$6A4D
ld de,$C000
ld b,$40
call MemCopy_DE_HL
ld hl,$6A8D
ld de,$C040
ld b,$40
call MemCopy_DE_HL
ld hl,$6AD5
ld de,$C040
ld b,$08
call MemCopy_DE_HL
jp Logged_0x84EAB
Logged_0x84F5D:
call Logged_0x84FBE
xor a
ld hl,$C000
ld bc,$0030
call Fill_HL_A
xor a
ld hl,$C048
ld bc,$0038
call Fill_HL_A
jp Logged_0x84EAB
Logged_0x84F77:
call Logged_0x84FBE
ld hl,$7000
ld de,$C000
ld c,$40
ld b,$36
call Logged_0x3B2B
ld hl,$7040
ld de,$C058
ld c,$28
ld b,$36
call Logged_0x3B2B
jp Logged_0x84EAB
Logged_0x84F97:
call Logged_0x84FBE
ld hl,$6A7D
ld de,$C030
ld b,$10
call MemCopy_DE_HL
ld hl,$6A8D
ld de,$C040
ld b,$40
call MemCopy_DE_HL
ld hl,$6AD5
ld de,$C040
ld b,$08
call MemCopy_DE_HL
jp Logged_0x84EAB
Logged_0x84FBE:
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ret
Unknown_0x84FD5:
INCBIN "baserom.gbc", $84FD5, $84FEA - $84FD5
Logged_0x84FEA:
xor a
ld hl,$C000
ld bc,$0040
call Fill_HL_A
xor a
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x85033
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ret
Logged_0x85033:
call Logged_0x851D1
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x850A6
ld hl,$C008
ld de,$C108
ld b,$38
call MemCopy_DE_HL
ld a,$FF
ld hl,$C008
ld bc,$0038
call Fill_HL_A
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ld a,$FF
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$08
ld [$D0D4],a
ld a,$88
ld [$D0D1],a
ld a,$07
ld [$D0D2],a
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ret
Logged_0x850A6:
call Logged_0x851D1
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
ld a,[$D0DB]
cp $01
jr nc,Logged_0x850EF
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ld a,$FF
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ld hl,$D0DB
inc [hl]
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ret
Logged_0x850EF:
call Logged_0x851D1
ret c
xor a
ld [$D0DB],a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x85135
ld hl,$C008
ld de,$C108
ld b,$38
call MemCopy_DE_HL
ld a,$FF
ld hl,$C008
ld bc,$0038
call Fill_HL_A
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$08
ld [$D0D4],a
ld a,$88
ld [$D0D1],a
ld a,$07
ld [$D0D2],a
ret
Logged_0x85135:
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D014],a
ld hl,$D013
inc [hl]
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x85179
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$C1
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ret
Logged_0x85179:
call Logged_0x851D1
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D061],a
ld hl,$D062
inc [hl]
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x851AC
ld a,$C1
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld hl,$D0D5
inc [hl]
ret
Logged_0x851AC:
call Logged_0x851BC
ret c
xor a
ld [$D0D5],a
ld [$D061],a
ld hl,$D062
inc [hl]
ret
Logged_0x851BC:
ld a,$68
ld [$D0D0],a
xor a
ld [$D0DC],a
ld a,$01
ld [$D0DD],a
ld hl,$D0D5
call Logged_0x8534F
ret
Logged_0x851D1:
ld a,$6A
ld [$D0D6],a
ld a,$01
ld [$D0DC],a
ld a,$01
ld [$D0DD],a
ld hl,$D0DB
call Logged_0x8534F
ret
ld hl,$D056
inc [hl]
ld a,[$D055]
rst JumpList
dw Logged_0x851F5
dw Logged_0x84A97
dw Logged_0x85229
Logged_0x851F5:
ld de,$C000
ld hl,$D810
call Logged_0x84CE0
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
call Logged_0x85234
ld hl,$D811
ld de,$C000
call Logged_0x84CE0
call Logged_0x84CAB
ld a,$20
ld [$D806],a
xor a
ld [$D809],a
di
call Logged_0x84D76
ei
jp Logged_0x84A87
Logged_0x85229:
xor a
ld [$D0E3],a
ld [$D055],a
ld [$D056],a
ret
Logged_0x85234:
ld a,[$D01A]
ld b,a
add a,a
ld e,a
ld d,$00
ld hl,$4E39
add hl,de
ld a,$03
cp b
call z,Logged_0x8525C
ld a,[hli]
ld h,[hl]
ld l,a
ld de,$C000
ld b,$40
call MemCopy_DE_HL
xor a
ld hl,$C03A
ld bc,$0006
call Fill_HL_A
ret
Logged_0x8525C:
push hl
ld a,$17
call Logged_0x3AAC
jr z,Logged_0x8526D
ld a,$1C
call Logged_0x3AAC
jr z,Logged_0x8526D
pop hl
ret
Logged_0x8526D:
pop hl
inc hl
inc hl
ret
ld a,[$D0D5]
cp $01
jr nc,Logged_0x852CA
ld a,$02
ld [$D0E0],a
ld hl,$C038
ld de,$C138
ld b,$08
call MemCopy_DE_HL
ld a,[$D0E4]
and a
jr z,Logged_0x8529B
ld hl,$52DF
ld de,$C03A
ld b,$06
call MemCopy_DE_HL
jr Logged_0x852AF
Logged_0x8529B:
ld hl,$4038
ld a,[$D011]
and a
jr z,Logged_0x852A7
ld hl,$40F8
Logged_0x852A7:
ld de,$C038
ld b,$08
call MemCopy_DE_HL
Logged_0x852AF:
ld a,$C1
ld [$D0D3],a
ld a,$38
ld [$D0D4],a
ld a,$B8
ld [$D0D1],a
ld a,$01
ld [$D0D2],a
ld hl,$D0D5
inc [hl]
scf
jr Logged_0x852D8
Logged_0x852CA:
call Logged_0x85331
jr c,Logged_0x852D8
ld a,$00
ld [$D0D5],a
inc a
ld [$D0E0],a
Logged_0x852D8:
ld c,$00
rl c
ret
Unknown_0x852DD:
INCBIN "baserom.gbc", $852DD, $852DF - $852DD
LoggedData_0x852DF:
INCBIN "baserom.gbc", $852DF, $852E5 - $852DF
ld a,[$D0E0]
xor $03
ret nz
ld a,[$D091]
and a
ret nz
ld a,[$D0D5]
cp $01
jr nc,Logged_0x85325
ld hl,$C03A
ld de,$C13A
ld b,$06
call MemCopy_DE_HL
xor a
ld hl,$C03A
ld bc,$0006
call Fill_HL_A
ld hl,$D0D5
inc [hl]
ld a,$C1
ld [$D0D3],a
ld a,$38
ld [$D0D4],a
ld a,$B8
ld [$D0D1],a
ld a,$01
ld [$D0D2],a
ret
Logged_0x85325:
call Logged_0x85331
ret c
xor a
ld [$D0D5],a
ld [$D0E0],a
ret
Logged_0x85331:
ld a,$68
ld [$D0D0],a
xor a
ld [$D0DC],a
ld b,$04
ld a,[$D025]
and a
jr z,Logged_0x85344
ld b,$01
Logged_0x85344:
ld a,b
ld [$D0DD],a
ld hl,$D0D5
call Logged_0x8534F
ret
Logged_0x8534F:
push hl
ld a,[hl]
ld [$D0E1],a
Logged_0x85354:
ld a,[$D0DC]
ld hl,$D0D2
and a
jr z,Logged_0x85360
ld hl,$D0D8
Logged_0x85360:
ld a,[hli]
rlca
rlca
ld b,a
ld a,[hli]
dec a
ld d,a
ld e,[hl]
ld hl,$C180
Logged_0x8536B:
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rrca
rrca
rrca
rrca
rrca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hli],a
dec e
ld d,$C1
ld a,[de]
and $1F
ld [hli],a
ld a,[de]
and $E0
rrca
rrca
rrca
rrca
rrca
ld [hl],a
inc e
ld a,[de]
and $03
rlca
rlca
rlca
or [hl]
ld [hli],a
ld a,[de]
and $7C
rrca
rrca
ld [hl],a
ld a,[$C182]
ld c,a
ld a,[hl]
cp c
jr z,Logged_0x853B4
jr nc,Logged_0x853B3
inc [hl]
jr Logged_0x853B4
Logged_0x853B3:
dec [hl]
Logged_0x853B4:
dec l
ld a,[$C181]
ld c,a
ld a,[hl]
cp c
jr z,Logged_0x853C3
jr nc,Logged_0x853C2
inc [hl]
jr Logged_0x853C3
Logged_0x853C2:
dec [hl]
Logged_0x853C3:
dec l
ld a,[$C180]
ld c,a
ld a,[hl]
cp c
jr z,Logged_0x853D2
jr nc,Logged_0x853D1
inc [hl]
jr Logged_0x853D2
Logged_0x853D1:
dec [hl]
Logged_0x853D2:
ld a,[hli]
ld c,a
ld a,[hl]
and $07
rlca
rlca
rlca
rlca
rlca
or c
dec e
ld [de],a
ld a,[hli]
and $18
rrca
rrca
rrca
ld c,a
ld a,[hld]
rlca
rlca
or c
inc e
ld [de],a
inc e
ld d,$C0
ld hl,$C180
dec b
jp nz,Logged_0x8536B
ld hl,$D0E1
inc [hl]
ld a,[$D0DD]
dec a
ld [$D0DD],a
jp nz,Logged_0x85354
ld a,[hl]
pop hl
ld [hl],a
cp $20
ret
call Logged_0x854A9
call Logged_0x8542C
ld a,[$D011]
and a
jr z,Logged_0x8541A
ld de,$00C0
add hl,de
Logged_0x8541A:
call Logged_0x1A15
call Logged_0x854B8
call Logged_0x1A21
ld a,[$DFFF]
and a
ret z
call Logged_0x85234
ret
Logged_0x8542C:
ld a,[$D057]
and $7F
cp $7F
ret nz
ld a,[$D01A]
and a
jr z,Logged_0x8543E
dec a
jr z,Logged_0x8544C
ret
Logged_0x8543E:
ld a,[$D01B]
cp $5E
jr c,Logged_0x85448
cp $65
ret c
Logged_0x85448:
ld hl,$4500
ret
Logged_0x8544C:
ld hl,$4640
ret
ld hl,$48E0
ld de,$C060
ld b,$10
call MemCopy_DE_HL
ld a,$C0
ld [$D0D3],a
ld a,$60
ld [$D0D4],a
ld a,$A0
ld [$D0D1],a
ld a,$02
ld [$D0D2],a
ld a,$6A
ld [$D0D0],a
ret
call Logged_0x854A9
call Logged_0x8548F
ld a,[$D011]
and a
jr z,Logged_0x85485
ld de,$00C0
add hl,de
Logged_0x85485:
call Logged_0x1A15
call Logged_0x854B8
call Logged_0x1A21
ret
Logged_0x8548F:
ld a,[$D057]
and $7F
cp $7F
ret nz
ld a,[$D01A]
and a
jr z,Logged_0x854A1
dec a
jr z,Logged_0x854A5
ret
Logged_0x854A1:
ld hl,$4500
ret
Logged_0x854A5:
ld hl,$4640
ret
Logged_0x854A9:
ld hl,$4000
ld de,$0140
ld a,[$D01A]
inc a
Logged_0x854B3:
dec a
ret z
add hl,de
jr Logged_0x854B3
Logged_0x854B8:
ld hl,$4900
ld de,$0040
ld a,[$D01A]
inc a
Logged_0x854C2:
dec a
ret z
add hl,de
jr Logged_0x854C2
Logged_0x854C7:
ld hl,$D0D6
jr Logged_0x854CF
Logged_0x854CC:
ld hl,$D0D0
Logged_0x854CF:
ld c,[hl]
xor a
ld [hli],a
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld b,a
ld a,[hli]
ld l,[hl]
ld h,a
Logged_0x854DA:
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x854DA
ret
Logged_0x854EE:
ld a,[hli]
and a
ret z
ld e,a
ld c,a
ld a,[hli]
ld d,a
ld b,a
Logged_0x854F6:
ld a,[hli]
cp $70
jr z,Logged_0x854FF
ld [de],a
inc de
jr Logged_0x854F6
Logged_0x854FF:
dec b
dec b
dec b
Logged_0x85502:
ld a,[hli]
cp $70
jr z,Logged_0x854EE
ld [bc],a
inc bc
jr Logged_0x85502
LoggedData_0x8550B:
INCBIN "baserom.gbc", $8550B, $856A8 - $8550B
Unknown_0x856A8:
INCBIN "baserom.gbc", $856A8, $856B7 - $856A8
LoggedData_0x856B7:
INCBIN "baserom.gbc", $856B7, $856BB - $856B7
Unknown_0x856BB:
INCBIN "baserom.gbc", $856BB, $856C9 - $856BB
LoggedData_0x856C9:
INCBIN "baserom.gbc", $856C9, $856DB - $856C9
Unknown_0x856DB:
INCBIN "baserom.gbc", $856DB, $856E9 - $856DB
LoggedData_0x856E9:
INCBIN "baserom.gbc", $856E9, $856FB - $856E9
Unknown_0x856FB:
INCBIN "baserom.gbc", $856FB, $85709 - $856FB
LoggedData_0x85709:
INCBIN "baserom.gbc", $85709, $8571B - $85709
Unknown_0x8571B:
INCBIN "baserom.gbc", $8571B, $85729 - $8571B
LoggedData_0x85729:
INCBIN "baserom.gbc", $85729, $8573B - $85729
Unknown_0x8573B:
INCBIN "baserom.gbc", $8573B, $85757 - $8573B
LoggedData_0x85757:
INCBIN "baserom.gbc", $85757, $8575B - $85757
Unknown_0x8575B:
INCBIN "baserom.gbc", $8575B, $85769 - $8575B
LoggedData_0x85769:
INCBIN "baserom.gbc", $85769, $8577B - $85769
Unknown_0x8577B:
INCBIN "baserom.gbc", $8577B, $85789 - $8577B
LoggedData_0x85789:
INCBIN "baserom.gbc", $85789, $8579B - $85789
Unknown_0x8579B:
INCBIN "baserom.gbc", $8579B, $857A9 - $8579B
LoggedData_0x857A9:
INCBIN "baserom.gbc", $857A9, $857BB - $857A9
Unknown_0x857BB:
INCBIN "baserom.gbc", $857BB, $857C9 - $857BB
LoggedData_0x857C9:
INCBIN "baserom.gbc", $857C9, $857DB - $857C9
Unknown_0x857DB:
INCBIN "baserom.gbc", $857DB, $857F7 - $857DB
LoggedData_0x857F7:
INCBIN "baserom.gbc", $857F7, $85888 - $857F7
Unknown_0x85888:
INCBIN "baserom.gbc", $85888, $85897 - $85888
LoggedData_0x85897:
INCBIN "baserom.gbc", $85897, $85928 - $85897
Unknown_0x85928:
INCBIN "baserom.gbc", $85928, $85937 - $85928
LoggedData_0x85937:
INCBIN "baserom.gbc", $85937, $8593B - $85937
Unknown_0x8593B:
INCBIN "baserom.gbc", $8593B, $85949 - $8593B
LoggedData_0x85949:
INCBIN "baserom.gbc", $85949, $8595B - $85949
Unknown_0x8595B:
INCBIN "baserom.gbc", $8595B, $85969 - $8595B
LoggedData_0x85969:
INCBIN "baserom.gbc", $85969, $8597B - $85969
Unknown_0x8597B:
INCBIN "baserom.gbc", $8597B, $85989 - $8597B
LoggedData_0x85989:
INCBIN "baserom.gbc", $85989, $8599B - $85989
Unknown_0x8599B:
INCBIN "baserom.gbc", $8599B, $859A9 - $8599B
LoggedData_0x859A9:
INCBIN "baserom.gbc", $859A9, $859BB - $859A9
Unknown_0x859BB:
INCBIN "baserom.gbc", $859BB, $859D7 - $859BB
LoggedData_0x859D7:
INCBIN "baserom.gbc", $859D7, $859DB - $859D7
Unknown_0x859DB:
INCBIN "baserom.gbc", $859DB, $859E9 - $859DB
LoggedData_0x859E9:
INCBIN "baserom.gbc", $859E9, $859FB - $859E9
Unknown_0x859FB:
INCBIN "baserom.gbc", $859FB, $85A09 - $859FB
LoggedData_0x85A09:
INCBIN "baserom.gbc", $85A09, $85A1B - $85A09
Unknown_0x85A1B:
INCBIN "baserom.gbc", $85A1B, $85A29 - $85A1B
LoggedData_0x85A29:
INCBIN "baserom.gbc", $85A29, $85A3B - $85A29
Unknown_0x85A3B:
INCBIN "baserom.gbc", $85A3B, $85A49 - $85A3B
LoggedData_0x85A49:
INCBIN "baserom.gbc", $85A49, $85A5B - $85A49
Unknown_0x85A5B:
INCBIN "baserom.gbc", $85A5B, $85A68 - $85A5B
Logged_0x85A68:
ld hl,$D144
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,[bc]
ld [de],a
ld hl,$00A0
add hl,bc
dec d
dec d
dec d
ld a,[hl]
ld [de],a
ld a,[$D143]
dec a
ld [$D143],a
ret z
ld de,$D144
call Logged_0x85A91
call Logged_0x85A91
jr Logged_0x85A68
Logged_0x85A91:
ld a,[de]
ld l,a
inc de
ld a,[de]
ld h,a
dec de
ld bc,$0020
add hl,bc
ld a,l
ld [de],a
inc de
ld a,h
ld [de],a
inc de
ret
Logged_0x85AA2:
ld hl,$D14C
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,[bc]
ld [de],a
ld hl,$00A0
add hl,bc
dec d
dec d
dec d
ld a,[hl]
ld [de],a
ld a,[$D14B]
dec a
ld [$D14B],a
ret z
ld de,$D14C
call Logged_0x85A91
call Logged_0x85A91
jr Logged_0x85AA2
Logged_0x85ACB:
ld hl,$D154
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,[hli]
ld c,a
ld a,[hli]
ld b,a
ld a,[bc]
ld [de],a
ld hl,$00A0
add hl,bc
dec d
dec d
dec d
ld a,[hl]
ld [de],a
ld a,[$D153]
dec a
ld [$D153],a
ret z
ld de,$D154
call Logged_0x85A91
call Logged_0x85A91
jr Logged_0x85ACB
LoggedData_0x85AF4:
INCBIN "baserom.gbc", $85AF4, $86B5D - $85AF4
Unknown_0x86B5D:
INCBIN "baserom.gbc", $86B5D, $88000 - $86B5D
SECTION "Bank22", ROMX, BANK[$22]
LoggedData_0x88000:
INCBIN "baserom.gbc", $88000, $8B91E - $88000
Unknown_0x8B91E:
INCBIN "baserom.gbc", $8B91E, $8C000 - $8B91E
SECTION "Bank23", ROMX, BANK[$23]
LoggedData_0x8C000:
INCBIN "baserom.gbc", $8C000, $8EA1A - $8C000
Unknown_0x8EA1A:
INCBIN "baserom.gbc", $8EA1A, $90000 - $8EA1A
SECTION "Bank24", ROMX, BANK[$24]
Unknown_0x90000:
INCBIN "baserom.gbc", $90000, $94000 - $90000
SECTION "Bank25", ROMX, BANK[$25]
Unknown_0x94000:
INCBIN "baserom.gbc", $94000, $94E00 - $94000
LoggedData_0x94E00:
INCBIN "baserom.gbc", $94E00, $94F00 - $94E00
Unknown_0x94F00:
INCBIN "baserom.gbc", $94F00, $98000 - $94F00
SECTION "Bank26", ROMX, BANK[$26]
LoggedData_0x98000:
INCBIN "baserom.gbc", $98000, $99AC0 - $98000
Unknown_0x99AC0:
INCBIN "baserom.gbc", $99AC0, $99AE0 - $99AC0
LoggedData_0x99AE0:
INCBIN "baserom.gbc", $99AE0, $9A3A2 - $99AE0
ld de,$88A0
ld a,[$CA04]
call Logged_0x9A3BA
ld a,[$CA05]
swap a
call Logged_0x9A3BA
ld a,[$CA05]
call Logged_0x9A3BA
ret
Logged_0x9A3BA:
and $0F
inc a
ld hl,$5980
ld bc,$0020
Logged_0x9A3C3:
dec a
jr z,Logged_0x9A3C9
add hl,bc
jr Logged_0x9A3C3
Logged_0x9A3C9:
ld b,$20
call MemCopy_DE_HL
ret
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$37
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [rSCX],a
ld [$C085],a
ld [rSCY],a
ld [$C083],a
ld a,$02
ld [rSVBK],a
call Logged_0x9A564
call Logged_0x9A54E
call Logged_0x9A559
xor a
ld [$D0B0],a
ld a,[$D07B]
and a
jr nz,Logged_0x9A42B
ld bc,$0000
ld a,[$CEE3]
and a
jr z,Logged_0x9A41E
cp $65
jr nc,Logged_0x9A41E
Unknown_0x9A413:
cp $15
jr c,Unknown_0x9A41C
inc b
sub $14
jr Unknown_0x9A413
Unknown_0x9A41C:
dec a
ld c,a
Logged_0x9A41E:
ld a,b
ld [$D058],a
ld a,c
ld [$D059],a
ld a,$01
ld [$D07B],a
Logged_0x9A42B:
call Logged_0x9A7AB
call Logged_0x9A76A
ld hl,$6D45
call Logged_0x1A15
ld hl,$6D05
call Logged_0x1A21
ld a,$26
ld [$C0AC],a
ld hl,$605C
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$26
ld [$C0AC],a
ld hl,$5AE0
ld bc,_VRAM+$1000
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
call Logged_0x9A52B
ld a,$01
ld [rVBK],a
ld hl,$5980
ld de,$8A00
ld bc,$0140
call Logged_0x0434
xor a
ld [rVBK],a
ld a,$26
ld [$C0AC],a
ld hl,$62AC
ld bc,$D200
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$26
ld [$C0AC],a
ld hl,$6129
ld bc,$D500
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
call Logged_0x9A586
ld hl,$D222
ld a,$09
ld [hli],a
ld [hli],a
ld [hl],a
ld hl,$D242
ld [hli],a
ld [hli],a
ld [hl],a
ld a,[$D058]
inc a
add a,$20
ld [$D530],a
ld hl,$D500
ld de,_SCRN1
ld bc,$0240
call Logged_0x0434
ld a,$01
ld [rVBK],a
ld hl,$D200
ld de,_SCRN1
ld bc,$0240
call Logged_0x0434
xor a
ld [rVBK],a
ld hl,$9C22
ld a,$01
ld [$FF00+$85],a
ld a,$B7
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld hl,$D18E
ld a,$01
call Logged_0x3B93
ld b,$10
ld a,$08
ld hl,$D1C9
ld [hld],a
ld [hl],b
ld hl,$D1D1
ld a,$98
ld [hld],a
ld [hl],b
ld a,$8F
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x9A52B:
ld hl,$3B40
ld de,$0500
ld a,[$D058]
inc a
Logged_0x9A535:
add hl,de
dec a
jr nz,Logged_0x9A535
ld de,$8A00
ld bc,$0500
call Logged_0x0434
ld hl,$5940
ld de,$8FC0
ld b,$40
call MemCopy_DE_HL
ret
Logged_0x9A54E:
ld hl,$D800
ld bc,$0800
xor a
call Fill_HL_A
ret
Logged_0x9A559:
ld hl,$D180
ld bc,$0200
xor a
call Fill_HL_A
ret
Logged_0x9A564:
ld hl,RAMCode_0x9A570
ld de,$C200
ld b,Logged_0x9A586 - RAMCode_0x9A570
call MemCopy_DE_HL
ret
RAMCode_0x9A570:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x9A586:
xor a
ld [$DFFE],a
ld a,[$D058]
ld c,a
inc c
ld a,$EC
Logged_0x9A591:
add a,$14
dec c
jr nz,Logged_0x9A591
inc a
ld [$DFFF],a
Logged_0x9A59A:
ld a,[$DFFF]
call Logged_0x3AAC
jr z,Logged_0x9A5AF
jr Logged_0x9A5CD
Logged_0x9A5A4:
ld hl,$DFFE
inc [hl]
ld a,[hli]
inc [hl]
cp $14
jr nz,Logged_0x9A59A
ret
Logged_0x9A5AF:
call Logged_0x9A5EA
push de
ld a,$FC
ld [de],a
inc a
ld [hli],a
inc a
inc e
ld [de],a
inc a
ld [hl],a
pop hl
dec h
dec h
dec h
ld a,$04
ld [hli],a
ld [hl],a
ld de,$0020
add hl,de
ld [hld],a
ld [hl],a
jr Logged_0x9A5A4
Logged_0x9A5CD:
ld a,[$DFFF]
ld e,a
ld d,$00
ld hl,$6BF7
add hl,de
ld a,[hl]
push af
call Logged_0x9A5EA
pop af
dec h
dec h
dec h
ld [hli],a
ld [hl],a
dec d
dec d
dec d
ld [de],a
inc de
ld [de],a
jr Logged_0x9A5A4
Logged_0x9A5EA:
ld a,[$DFFE]
ld d,$D6
cp $05
jr nc,Logged_0x9A5F5
ld d,$D5
Logged_0x9A5F5:
ld hl,$6604
ld b,$00
ld c,a
add hl,bc
ld l,[hl]
ld h,d
ld e,l
ld a,$20
add a,l
ld l,a
ret
LoggedData_0x9A604:
INCBIN "baserom.gbc", $9A604, $9A618 - $9A604
call Logged_0x0302
call Logged_0x9A625
call Logged_0x9AA0D
call Logged_0x03B9
ret
Logged_0x9A625:
ld a,[$C094]
bit 1,a
jr z,Logged_0x9A646
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$08
ld [wGameSubState],a
ret
Logged_0x9A646:
ld hl,$D058
ld a,[$C093]
ld b,a
bit 0,b
jr z,Logged_0x9A6A9
ld a,[$D804]
and a
call z,Logged_0x9A664
ld hl,$D058
bit 4,b
jr nz,Unknown_0x9A67A
bit 5,b
jr nz,Unknown_0x9A686
ret
Logged_0x9A664:
ld a,$01
ld [$D804],a
ld hl,$D1CE
ld a,$03
call Logged_0x3B93
ld hl,$D1D6
ld a,$04
call Logged_0x3B93
ret
Unknown_0x9A67A:
ld a,$04
cp [hl]
jr z,Unknown_0x9A682
inc [hl]
jr Unknown_0x9A68F
Unknown_0x9A682:
ld [hl],$00
jr Unknown_0x9A68F
Unknown_0x9A686:
ld a,[hl]
and a
jr z,Unknown_0x9A68D
dec [hl]
jr Unknown_0x9A68F
Unknown_0x9A68D:
ld [hl],$04
Unknown_0x9A68F:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EB
ld [$FF00+hSFXIDLow],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$0C
ld [wGameSubState],a
ret
Logged_0x9A6A9:
xor a
ld [$D804],a
ld [$D1CE],a
ld [$D1D6],a
ld a,[$C094]
ld b,a
ld hl,$D801
ld a,[hl]
bit 4,b
jr nz,Logged_0x9A6D3
bit 5,b
jr nz,Logged_0x9A6DE
ld hl,$D800
ld a,[hl]
bit 6,b
jr nz,Logged_0x9A6F4
bit 7,b
jr nz,Logged_0x9A6E8
call Logged_0x9A7C0
ret
Logged_0x9A6D3:
cp $04
jr z,Logged_0x9A730
inc [hl]
ld a,[$D059]
inc a
jr Logged_0x9A6FD
Logged_0x9A6DE:
and a
jr z,Logged_0x9A747
dec [hl]
ld a,[$D059]
dec a
jr Logged_0x9A6FD
Logged_0x9A6E8:
cp $03
jr nc,Unknown_0x9A727
inc [hl]
ld a,[$D059]
add a,$05
jr Logged_0x9A6FD
Logged_0x9A6F4:
and a
jr z,Unknown_0x9A727
dec [hl]
ld a,[$D059]
sub $05
Logged_0x9A6FD:
ld [$D059],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
xor a
ld [$D196],a
ld [$D19E],a
ld [$D1A6],a
ld [$D1AE],a
ld [$D1B6],a
ld [$D1BE],a
ld [$D1C6],a
ld de,$D802
xor a
ld [de],a
inc e
ld [de],a
jr Logged_0x9A76A
Unknown_0x9A727:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9A730:
ld [hl],$00
ld a,[$D059]
sub $04
ld [$D059],a
ld hl,$D058
inc [hl]
ld a,[hl]
cp $05
jr nz,Logged_0x9A75C
ld [hl],$00
jr Logged_0x9A75C
Logged_0x9A747:
ld [hl],$04
ld a,[$D059]
add a,$04
ld [$D059],a
ld hl,$D058
dec [hl]
ld a,[hl]
cp $FF
jr nz,Logged_0x9A75C
ld [hl],$04
Logged_0x9A75C:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EB
ld [$FF00+hSFXIDLow],a
ld a,$0C
ld [wGameSubState],a
ret
Logged_0x9A76A:
ld a,[$D800]
ld hl,$6785
ld c,a
ld b,$00
add hl,bc
ld a,[hl]
ld [$D188],a
ld a,[$D801]
ld hl,$6789
ld c,a
add hl,bc
ld a,[hl]
ld [$D189],a
ret
LoggedData_0x9A785:
INCBIN "baserom.gbc", $9A785, $9A78E - $9A785
Logged_0x9A78E:
ld a,[de]
ld hl,$67A2
ld c,a
ld b,$00
add hl,bc
ld a,[hl]
ld [de],a
inc e
ld a,[de]
ld hl,$67A6
ld c,a
add hl,bc
ld a,[hl]
ld [de],a
ret
LoggedData_0x9A7A2:
INCBIN "baserom.gbc", $9A7A2, $9A7A3 - $9A7A2
Unknown_0x9A7A3:
INCBIN "baserom.gbc", $9A7A3, $9A7A4 - $9A7A3
LoggedData_0x9A7A4:
INCBIN "baserom.gbc", $9A7A4, $9A7AB - $9A7A4
Logged_0x9A7AB:
ld a,[$D059]
ld hl,$D800
Logged_0x9A7B1:
ld b,$00
Logged_0x9A7B3:
cp $05
jr c,Logged_0x9A7BC
sub $05
inc b
jr Logged_0x9A7B3
Logged_0x9A7BC:
ld [hl],b
inc l
ld [hli],a
ret
Logged_0x9A7C0:
ld hl,$D803
inc [hl]
ld b,h
ld c,l
ld a,[$D802]
rst JumpList
dw Logged_0x9A7D6
dw Logged_0x9A7DD
dw Logged_0x9A7E3
dw Logged_0x9A805
dw Logged_0x9A806
dw Logged_0x9A805
Logged_0x9A7D6:
ld hl,$D803
xor a
ld [hld],a
inc [hl]
ret
Logged_0x9A7DD:
ld a,[bc]
cp $14
ret c
jr Logged_0x9A7D6
Logged_0x9A7E3:
ld hl,$68E0
ld a,[$D058]
call Logged_0x3C58
ld a,[$D059]
call Logged_0x3C58
ld a,[hl]
cp $80
jr z,Logged_0x9A7D6
ld b,$07
ld de,$D810
call MemCopy_DE_HL
call Logged_0x9A7D6
jp Logged_0x9A7D6
Logged_0x9A805:
ret
Logged_0x9A806:
ld a,[$D810]
cp $80
jr z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A823
ld hl,$D190
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D190
call Logged_0x9A78E
Logged_0x9A823:
ld a,[$D811]
cp $80
jr z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A840
ld hl,$D198
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D198
call Logged_0x9A78E
Logged_0x9A840:
ld a,[$D812]
cp $80
jr z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A85D
ld hl,$D1A0
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D1A0
call Logged_0x9A78E
Logged_0x9A85D:
ld a,[$D813]
cp $80
jp z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A87B
ld hl,$D1A8
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D1A8
call Logged_0x9A78E
Logged_0x9A87B:
ld a,[$D814]
cp $80
jp z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A899
ld hl,$D1B0
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D1B0
call Logged_0x9A78E
Logged_0x9A899:
ld a,[$D815]
cp $80
jp z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A8B7
ld hl,$D1B8
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D1B8
call Logged_0x9A78E
Logged_0x9A8B7:
ld a,[$D816]
cp $80
jp z,Logged_0x9A7D6
dec a
ld hl,$D059
cp [hl]
jr z,Logged_0x9A8D5
ld hl,$D1C0
call Logged_0x9A7B1
call Logged_0x9A8D8
ld de,$D1C0
call Logged_0x9A78E
Logged_0x9A8D5:
jp Logged_0x9A7D6
Logged_0x9A8D8:
set 2,l
ld a,$02
call Logged_0x3B93
ret
LoggedData_0x9A8E0:
INCBIN "baserom.gbc", $9A8E0, $9A8E4 - $9A8E0
Unknown_0x9A8E4:
INCBIN "baserom.gbc", $9A8E4, $9A8E8 - $9A8E4
LoggedData_0x9A8E8:
INCBIN "baserom.gbc", $9A8E8, $9A8F1 - $9A8E8
Unknown_0x9A8F1:
INCBIN "baserom.gbc", $9A8F1, $9A8F7 - $9A8F1
LoggedData_0x9A8F7:
INCBIN "baserom.gbc", $9A8F7, $9A8FB - $9A8F7
Unknown_0x9A8FB:
INCBIN "baserom.gbc", $9A8FB, $9A8FF - $9A8FB
LoggedData_0x9A8FF:
INCBIN "baserom.gbc", $9A8FF, $9A901 - $9A8FF
Unknown_0x9A901:
INCBIN "baserom.gbc", $9A901, $9A909 - $9A901
LoggedData_0x9A909:
INCBIN "baserom.gbc", $9A909, $9A90F - $9A909
Unknown_0x9A90F:
INCBIN "baserom.gbc", $9A90F, $9A913 - $9A90F
LoggedData_0x9A913:
INCBIN "baserom.gbc", $9A913, $9A923 - $9A913
Unknown_0x9A923:
INCBIN "baserom.gbc", $9A923, $9A92B - $9A923
LoggedData_0x9A92B:
INCBIN "baserom.gbc", $9A92B, $9A92D - $9A92B
Unknown_0x9A92D:
INCBIN "baserom.gbc", $9A92D, $9A9BE - $9A92D
LoggedData_0x9A9BE:
INCBIN "baserom.gbc", $9A9BE, $9A9C0 - $9A9BE
Unknown_0x9A9C0:
INCBIN "baserom.gbc", $9A9C0, $9A9C8 - $9A9C0
LoggedData_0x9A9C8:
INCBIN "baserom.gbc", $9A9C8, $9A9CA - $9A9C8
Unknown_0x9A9CA:
INCBIN "baserom.gbc", $9A9CA, $9A9E2 - $9A9CA
LoggedData_0x9A9E2:
INCBIN "baserom.gbc", $9A9E2, $9A9EB - $9A9E2
Unknown_0x9A9EB:
INCBIN "baserom.gbc", $9A9EB, $9A9EC - $9A9EB
Logged_0x9A9EC:
ld h,b
ld l,c
res 1,l
ld b,$26
call Logged_0x3A66
ld a,[bc]
ret
Logged_0x9A9F7:
ld b,$26
call Logged_0x3A00
ret
Unknown_0x9A9FD:
INCBIN "baserom.gbc", $9A9FD, $9AA0D - $9A9FD
Logged_0x9AA0D:
ld bc,$D18E
call Logged_0x9AA4A
ld bc,$D196
call Logged_0x9AA4A
ld bc,$D19E
call Logged_0x9AA4A
ld bc,$D1A6
call Logged_0x9AA4A
ld bc,$D1AE
call Logged_0x9AA4A
ld bc,$D1B6
call Logged_0x9AA4A
ld bc,$D1BE
call Logged_0x9AA4A
ld bc,$D1C6
call Logged_0x9AA4A
ld bc,$D1CE
call Logged_0x9AA4A
ld bc,$D1D6
call Logged_0x9AA4A
ret
Logged_0x9AA4A:
ld a,[bc]
rst JumpList
dw Logged_0x9AA6C
dw Logged_0x9AA6D
dw Logged_0x9AA72
dw Logged_0x9AA77
dw Logged_0x9AA7C
Logged_0x9AA56:
call Logged_0x9A9EC
ld de,$6C5D
call Logged_0x9A9F7
ret
Unknown_0x9AA60:
INCBIN "baserom.gbc", $9AA60, $9AA6C - $9AA60
Logged_0x9AA6C:
ret
Logged_0x9AA6D:
ld de,$6CE1
jr Logged_0x9AA56
Logged_0x9AA72:
ld de,$6CEA
jr Logged_0x9AA56
Logged_0x9AA77:
ld de,$6CF3
jr Logged_0x9AA56
Logged_0x9AA7C:
ld de,$6CFC
jr Logged_0x9AA56
ld b,$FF
ld hl,$198B
Logged_0x9AA86:
inc b
ld a,[hli]
cp c
jr nz,Logged_0x9AA86
srl b
srl b
ret
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
call Logged_0x9AB07
call Logged_0x9AB85
call Logged_0x9ABA1
call Logged_0x9AB34
xor a
ld [rVBK],a
ld hl,$DC00
ld de,$8900
ld b,$00
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ret
ld a,[$D01D]
cp $0E
ret nc
call Logged_0x9AB07
call Logged_0x9AAF4
call Logged_0x9AB1C
ld a,[$CA3D]
bit 1,a
jp nz,Logged_0x9ABD1
call Logged_0x9AB85
call Logged_0x9ABEB
call Logged_0x9AB6D
call Logged_0x9ABA1
call Logged_0x9AB34
ld a,$DC
ld [$D0B0],a
ld a,$00
ld [$D0B1],a
ld a,$09
ld [$D0B2],a
xor a
ld [$D0B3],a
ld a,$0F
ld [$D0B4],a
ret
Logged_0x9AAF4:
ld a,[$D00F]
call Logged_0x1783
ret z
ld hl,$D0FA
set 6,[hl]
ld hl,$D116
xor a
ld [hli],a
ld [hl],a
ret
Logged_0x9AB07:
xor a
ld hl,$DC00
ld bc,$0100
call Fill_HL_A
xor a
ld hl,$D0F0
ld bc,$0010
call Fill_HL_A
ret
Logged_0x9AB1C:
ld a,[$D00F]
and a
ret z
cp $80
ret z
ld a,$01
ld [$FF00+$85],a
ld a,$63
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9AB34:
ld a,[$D0F0]
ld de,$DC00
call Logged_0x9AB4F
ld a,[$D0F1]
call Logged_0x9AB4F
ld a,[$D0F2]
call Logged_0x9AB4F
ld a,[$D0F3]
call Logged_0x9AB4F
Logged_0x9AB4F:
and a
ld b,$00
rla
rla
rl b
ld c,a
and $F0
or b
swap a
ld b,a
ld a,$0F
and c
swap a
ld c,a
ld hl,$4000
add hl,bc
ld b,$40
call MemCopy_DE_HL
ret
Logged_0x9AB6D:
ld a,[$CA5B]
swap a
and $0F
ld b,a
ld c,$04
ld de,$D0F0
Logged_0x9AB7A:
srl b
jr c,Logged_0x9AB80
xor a
ld [de],a
Logged_0x9AB80:
inc e
dec c
jr nz,Logged_0x9AB7A
ret
Logged_0x9AB85:
ld hl,$198B
ld de,$D0F0
call Logged_0x9AB8F
ret
Logged_0x9AB8F:
ld a,[$D00F]
add a,a
add a,a
ld c,a
ld b,$00
add hl,bc
ld b,$04
Logged_0x9AB9A:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x9AB9A
ret
Logged_0x9ABA1:
ld de,$6BF7
ld a,[$D0F0]
ld l,a
ld h,$00
add hl,de
ld a,[hl]
ld [$D0F4],a
ld a,[$D0F1]
ld l,a
ld h,$00
add hl,de
ld a,[hl]
ld [$D0F5],a
ld a,[$D0F2]
ld l,a
ld h,$00
add hl,de
ld a,[hl]
ld [$D0F6],a
ld a,[$D0F3]
ld l,a
ld h,$00
add hl,de
ld a,[hl]
ld [$D0F7],a
ret
Logged_0x9ABD1:
ld a,[$D00F]
and a
ret z
cp $80
ret z
ld hl,$CA07
dec a
ld de,$D0EE
add a,a
ld c,a
ld b,$00
add hl,bc
ld a,[hli]
ld [de],a
inc e
ld a,[hl]
ld [de],a
ret
Logged_0x9ABEB:
ld de,$D0FC
ld hl,$D0F0
ld b,$04
call MemCopy_DE_HL
ret
LoggedData_0x9ABF7:
INCBIN "baserom.gbc", $9ABF7, $9AC6D - $9ABF7
Unknown_0x9AC6D:
INCBIN "baserom.gbc", $9AC6D, $9AC6F - $9AC6D
LoggedData_0x9AC6F:
INCBIN "baserom.gbc", $9AC6F, $9AC73 - $9AC6F
Unknown_0x9AC73:
INCBIN "baserom.gbc", $9AC73, $9AC75 - $9AC73
LoggedData_0x9AC75:
INCBIN "baserom.gbc", $9AC75, $9ACCD - $9AC75
Unknown_0x9ACCD:
INCBIN "baserom.gbc", $9ACCD, $9ACD2 - $9ACCD
LoggedData_0x9ACD2:
INCBIN "baserom.gbc", $9ACD2, $9ACDC - $9ACD2
Unknown_0x9ACDC:
INCBIN "baserom.gbc", $9ACDC, $9ACE1 - $9ACDC
LoggedData_0x9ACE1:
INCBIN "baserom.gbc", $9ACE1, $9ACF7 - $9ACE1
Unknown_0x9ACF7:
INCBIN "baserom.gbc", $9ACF7, $9ACFC - $9ACF7
LoggedData_0x9ACFC:
INCBIN "baserom.gbc", $9ACFC, $9AD00 - $9ACFC
Unknown_0x9AD00:
INCBIN "baserom.gbc", $9AD00, $9AD05 - $9AD00
LoggedData_0x9AD05:
INCBIN "baserom.gbc", $9AD05, $9AD85 - $9AD05
Unknown_0x9AD85:
INCBIN "baserom.gbc", $9AD85, $9AE45 - $9AD85
LoggedData_0x9AE45:
INCBIN "baserom.gbc", $9AE45, $9AE4D - $9AE45
Unknown_0x9AE4D:
INCBIN "baserom.gbc", $9AE4D, $9C000 - $9AE4D
SECTION "Bank27", ROMX, BANK[$27]
Unknown_0x9C000:
xor a
ld [$D01E],a
ret
xor a
ld [$D01E],a
ld a,[$D025]
ld b,a
ld hl,$40A8
call Logged_0x3C58
ld a,h
cp $40
jr nz,Logged_0x9C01C
ld a,l
cp $00
ret z
Logged_0x9C01C:
ld a,b
ld [$D01E],a
ret
call Logged_0x08E6
call Logged_0x037D
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld hl,$D800
ld bc,$0030
call Fill_HL_A
call Logged_0x9CC9C
call Logged_0x9C072
xor a
ld [rSCY],a
ld [$C083],a
ld [rSCX],a
ld [$C085],a
ld [$D801],a
ld [$D013],a
ld [$D014],a
ld [$D0D5],a
ld [$D0DB],a
ld a,[$D800]
ld b,a
and a
ld a,$C7
jr z,Logged_0x9C067
xor b
Logged_0x9C067:
ld [rLCDC],a
xor a
ld [$D800],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x9C072:
xor a
ld [$D800],a
call Logged_0x037D
ld a,[$D025]
dec a
jr z,Logged_0x9C0A1
ld a,$01
ld [rVBK],a
ld a,$29
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
Logged_0x9C0A1:
ld a,[$D025]
ld [$D01E],a
rst JumpList
dw Unknown_0x9C000
dw Logged_0x9C15E
dw Logged_0x9C16E
dw Logged_0x9C187
dw Logged_0x9C19D
dw Unknown_0x9C000
dw Logged_0x9C1B6
dw Logged_0x9C209
dw Logged_0x9C25C
dw Logged_0x9C28E
dw Logged_0x9C2A4
dw Unknown_0x9C000
dw Logged_0x9C2BD
dw Logged_0x9C2D3
dw Logged_0x9C2EC
dw Unknown_0x9C000
dw Logged_0x9C27A
dw Logged_0x9C305
dw Unknown_0x9C000
dw Logged_0x9C31E
dw Logged_0x9C339
dw Logged_0x9C357
dw Unknown_0x9C000
dw Logged_0x9C284
dw Logged_0x9C57A
dw Logged_0x9C386
dw Unknown_0x9C000
dw Logged_0x9C39C
dw Unknown_0x9C000
dw Logged_0x9C27F
dw Logged_0x9C423
dw Logged_0x9C5A6
dw Unknown_0x9C000
dw Logged_0x9C5C5
dw Logged_0x9C476
dw Unknown_0x9C000
dw Logged_0x9C4B9
dw Logged_0x9C289
dw Unknown_0x9C000
dw Logged_0x9C4E1
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Logged_0x9C60F
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Logged_0x9C5E3
dw Logged_0x9C5F9
dw Logged_0x9C623
dw Logged_0x9C636
dw Unknown_0x9C000
dw Logged_0x9C64D
dw Logged_0x9C69D
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Logged_0x9C66E
dw Logged_0x9C7E8
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Logged_0x9C593
dw Logged_0x9C6E7
dw Unknown_0x9C000
dw Logged_0x9C700
dw Unknown_0x9C000
dw Logged_0x9C731
dw Logged_0x9C742
dw Unknown_0x9C000
dw Logged_0x9C760
dw Unknown_0x9C000
dw Unknown_0x9C000
dw Logged_0x9C689
dw Logged_0x9C7D9
dw Logged_0x9C77F
dw Logged_0x9C796
dw Logged_0x9C7A5
dw Unknown_0x9C000
dw Unknown_0x9C000
Logged_0x9C15E:
ld a,$2B
ld [$FF00+$85],a
ld a,$49
ld [$FF00+$8D],a
ld a,$5E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9C16E:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4C00
call Logged_0x3BCE
call Logged_0x9C832
call Logged_0x9CA6A
jp Logged_0x9CBA2
Logged_0x9C187:
ld b,$2E
ld hl,$4240
call Logged_0x3BB8
ld b,$2E
ld hl,$48C0
call Logged_0x3BCE
call Logged_0x9C891
jp Logged_0x9CA84
Logged_0x9C19D:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4EC0
call Logged_0x3BCE
call Logged_0x9C959
call Logged_0x9CA6A
jp Logged_0x9CBA2
Logged_0x9C1B6:
call Logged_0x9C891
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$556D
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$551F
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld b,$2E
ld hl,$4080
call Logged_0x3BB8
ld b,$2E
ld hl,$4900
call Logged_0x3BCE
jp Logged_0x9D01A
Logged_0x9C209:
call Logged_0x9C832
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5424
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$53C8
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld b,$2E
ld hl,$4000
call Logged_0x3BB8
ld b,$2E
ld hl,$49C0
call Logged_0x3BCE
jp Logged_0x9D158
Logged_0x9C25C:
ld hl,$4AC0
Logged_0x9C25F:
ld b,$2E
call Logged_0x3BCE
ld hl,$4200
ld b,$2E
call Logged_0x3BB8
ld a,$08
ld [$D800],a
call Logged_0x9C873
call Logged_0x9CA6A
jp Logged_0x9CBAF
Logged_0x9C27A:
ld hl,$4B00
jr Logged_0x9C25F
Logged_0x9C27F:
ld hl,$4B80
jr Logged_0x9C25F
Logged_0x9C284:
ld hl,$4B40
jr Logged_0x9C25F
Logged_0x9C289:
ld hl,$4BC0
jr Logged_0x9C25F
Logged_0x9C28E:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4A80
call Logged_0x3BCE
call Logged_0x9C873
jp Logged_0x9CA77
Logged_0x9C2A4:
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4A00
call Logged_0x3BCE
call Logged_0x9C832
call Logged_0x9CA77
jp Logged_0x9D0E6
Logged_0x9C2BD:
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4D40
call Logged_0x3BCE
call Logged_0x9C8AF
jp Logged_0x9CA77
Logged_0x9C2D3:
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4DC0
call Logged_0x3BCE
call Logged_0x9C8AF
call Logged_0x9CA6A
jp Logged_0x9CBA2
Logged_0x9C2EC:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4980
call Logged_0x3BCE
call Logged_0x9C832
call Logged_0x9CA77
jp Logged_0x9CBE3
Logged_0x9C305:
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4C40
call Logged_0x3BCE
call Logged_0x9C832
call Logged_0x9CA77
jp Logged_0x9CBE3
Logged_0x9C31E:
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4E00
call Logged_0x3BCE
ld a,$08
ld [$D800],a
call Logged_0x9C8AF
jp Logged_0x9CBBC
Logged_0x9C339:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4A40
call Logged_0x3BCE
ld a,$08
ld [$D800],a
call Logged_0x9C873
call Logged_0x9CA6A
jp Logged_0x9CBBC
Logged_0x9C357:
ld b,$2E
ld hl,$41C0
call Logged_0x3BB8
ld b,$2E
ld hl,$4E80
call Logged_0x3BCE
Logged_0x9C367:
ld a,$20
ld [$D800],a
ld a,$28
ld [rWY],a
ld [$D022],a
ld a,$57
ld [rWX],a
ld [$D023],a
call Logged_0x9C873
call Logged_0x9CBC9
call Logged_0x9CA9E
jp Logged_0x9DA0E
Logged_0x9C386:
ld b,$2E
ld hl,$4140
call Logged_0x3BB8
ld b,$2E
ld hl,$4940
call Logged_0x3BCE
call Logged_0x9C8AF
jp Logged_0x9CA91
Logged_0x9C39C:
call Logged_0x9C8AF
ld a,$01
ld [rVBK],a
ld a,$68
ld [$C0AC],a
ld hl,$650E
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld b,$54
ld hl,$6000
call Logged_0x3B5B
xor a
ld [rVBK],a
call Logged_0x9CA77
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$664E
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$65FD
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld b,$2E
ld hl,$4040
call Logged_0x3BB8
ld b,$2E
ld hl,$4C80
call Logged_0x3BCE
jp Logged_0x9CC3C
Logged_0x9C423:
ld b,$2E
ld hl,$40C0
call Logged_0x3BB8
ld b,$2E
ld hl,$4CC0
call Logged_0x3BCE
call Logged_0x9C891
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5691
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5635
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9D536
Logged_0x9C476:
call Logged_0x9C891
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$57C4
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5768
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9CC72
Logged_0x9C4B9:
ld b,$2E
ld hl,$42C0
call Logged_0x3BB8
ld b,$2E
ld hl,$42C0
call Logged_0x3BCE
call Logged_0x9C959
call Logged_0x9CB2D
ld a,$01
ld [rVBK],a
ld b,$4E
ld hl,$4000
call Logged_0x3B5B
xor a
ld [rVBK],a
jp Logged_0x9DB85
Logged_0x9C4E1:
ld b,$52
ld hl,$7000
call Logged_0x3B5B
ld a,$01
ld [rVBK],a
ld b,$4E
ld hl,$4800
call Logged_0x3B5B
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5859
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2E
ld [$C0AC],a
ld hl,$5816
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$45C0
ld de,$C000
ld c,$40
ld b,$33
call Logged_0x3B2B
ld a,$01
ld [rVBK],a
ld a,$6A
ld [$C0AC],a
ld hl,$5B78
ld bc,$8800
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld hl,$4572
ld de,$C070
ld b,$08
call MemCopy_DE_HL
jp Logged_0x9D64B
LoggedData_0x9C572:
INCBIN "baserom.gbc", $9C572, $9C57A - $9C572
Logged_0x9C57A:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4D80
call Logged_0x3BCE
call Logged_0x9C832
call Logged_0x9CA6A
jp Logged_0x9CBA2
Logged_0x9C593:
ld b,$2E
ld hl,$4180
call Logged_0x3BB8
ld b,$2E
ld hl,$4E40
call Logged_0x3BCE
jp Logged_0x9C367
Logged_0x9C5A6:
ld b,$2E
ld hl,$4280
call Logged_0x3BB8
ld b,$2E
ld hl,$4F00
call Logged_0x3BCE
call Logged_0x9C931
call Logged_0x9CAB8
call Logged_0x9CC28
call Logged_0x9CC4F
jp Logged_0x9DC6A
Logged_0x9C5C5:
ld b,$2E
ld hl,$4300
call Logged_0x3BB8
ld b,$2E
ld hl,$4300
call Logged_0x3BCE
call Logged_0x9C977
ld b,$53
ld hl,$7000
call Logged_0x3B5B
jp Logged_0x9CB54
Logged_0x9C5E3:
ld b,$2E
ld hl,$4240
call Logged_0x3BB8
ld b,$2E
ld hl,$4F40
call Logged_0x3BCE
call Logged_0x9C8AF
jp Logged_0x9CA91
Logged_0x9C5F9:
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$4F80
call Logged_0x3BCE
call Logged_0x9C931
jp Logged_0x9CA77
Logged_0x9C60F:
ld b,$51
ld hl,$7800
call Logged_0x3B5B
call Logged_0x9C977
call Logged_0x9CB13
call Logged_0x9CC72
jp Logged_0x9DED4
Logged_0x9C623:
ld b,$2E
ld hl,$4380
call Logged_0x3BB8
ld b,$2E
ld hl,$4FC0
call Logged_0x3BCE
jp Logged_0x9CAAB
Logged_0x9C636:
call Logged_0x9CC72
call Logged_0x9C9A6
ld b,$54
ld hl,$7000
call Logged_0x3B5B
call Logged_0x9CB88
call Logged_0x9CC0A
jp Logged_0x9E018
Logged_0x9C64D:
ld b,$2E
ld hl,$44C0
call Logged_0x3BB8
ld b,$2E
ld hl,$44C0
call Logged_0x3BCE
call Logged_0x9C977
ld b,$54
ld hl,$7800
call Logged_0x3B5B
call Logged_0x9CAF9
jp Logged_0x9CC24
Logged_0x9C66E:
ld b,$2E
ld hl,$4440
call Logged_0x3BB8
ld b,$2E
ld hl,$4440
call Logged_0x3BCE
ld b,$55
ld hl,$6000
call Logged_0x3B5B
jp Logged_0x9CADF
Logged_0x9C689:
call Logged_0x9C9A6
ld b,$54
ld hl,$4000
call Logged_0x3B5B
call Logged_0x9CB7B
call Logged_0x9CC72
jp Logged_0x9E2B8
Logged_0x9C69D:
ld b,$2E
ld hl,$4700
call Logged_0x3BB8
ld b,$2E
ld hl,$5000
call Logged_0x3BCE
call Logged_0x9C9CB
ld a,$01
ld [rVBK],a
ld a,$69
ld [$C0AC],a
ld hl,$4637
ld bc,$8400
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld b,$54
ld hl,$7000
call Logged_0x3B5B
xor a
ld [rVBK],a
call Logged_0x9CB6E
jp Logged_0x9CBFD
Logged_0x9C6E7:
ld b,$2E
ld hl,$43C0
call Logged_0x3BB8
ld b,$2E
ld hl,$5040
call Logged_0x3BCE
call Logged_0x9C937
call Logged_0x9CAC5
jp Logged_0x9E438
Logged_0x9C700:
call Logged_0x9CC72
call Logged_0x9C959
ld a,$01
ld [rVBK],a
ld a,$6A
ld [$C0AC],a
ld hl,$65AC
ld bc,$8800
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
call Logged_0x9CA28
call Logged_0x9CB61
jp Logged_0x9E4AE
Logged_0x9C731:
call Logged_0x9CC72
call Logged_0x9C84F
ld b,$54
ld hl,$5800
call Logged_0x3B5B
jp Logged_0x9CB47
Logged_0x9C742:
ld b,$2E
ld hl,$4480
call Logged_0x3BB8
ld b,$2E
ld hl,$4480
call Logged_0x3BCE
ld b,$53
ld hl,$7800
call Logged_0x3B5B
call Logged_0x9CAEC
jp Logged_0x9E5A1
Logged_0x9C760:
ld b,$2E
ld hl,$4400
call Logged_0x3BB8
ld b,$2E
ld hl,$4400
call Logged_0x3BCE
call Logged_0x9C931
call Logged_0x9CAD2
call Logged_0x9CBD6
call Logged_0x9CC28
jp Logged_0x9E655
Logged_0x9C77F:
call Logged_0x9CC72
ld b,$52
ld hl,$5800
call Logged_0x3B5B
call Logged_0x9C97D
call Logged_0x9CB06
call Logged_0x9CBF0
jp Logged_0x9E6EF
Logged_0x9C796:
call Logged_0x9CC72
call Logged_0x9C937
call Logged_0x9CB3A
call Logged_0x9CC28
jp Logged_0x9E79A
Logged_0x9C7A5:
call Logged_0x9CC72
call Logged_0x9C9CB
ld a,$01
ld [rVBK],a
ld a,$6A
ld [$C0AC],a
ld hl,$695F
ld bc,$8800
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
call Logged_0x9CA28
call Logged_0x9CB95
call Logged_0x9CC17
jp Logged_0x9E855
Logged_0x9C7D9:
call Logged_0x9CC72
call Logged_0x9CA38
call Logged_0x9C90C
call Logged_0x9CB20
jp Logged_0x9E91A
Logged_0x9C7E8:
ld a,$08
ld [$D800],a
ld b,$2E
ld hl,$4200
call Logged_0x3BB8
ld b,$2E
ld hl,$50C0
call Logged_0x3BCE
call Logged_0x9C931
ld a,$01
ld [rVBK],a
ld a,$6B
ld [$C0AC],a
ld hl,$6041
ld bc,$8C00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
call Logged_0x9CA6A
call Logged_0x9CBAF
call Logged_0x9CC3C
call Logged_0x9CC28
call Logged_0x9CC4F
ret
Logged_0x9C832:
ld a,$28
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jr Logged_0x9C8CD
Logged_0x9C84F:
ld a,$01
ld [rVBK],a
ld a,$28
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
jr Logged_0x9C8E9
Logged_0x9C873:
ld a,$28
ld [$C0AC],a
ld hl,$4B44
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9C8CD
Logged_0x9C891:
ld a,$28
ld [$C0AC],a
ld hl,$56CB
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9C8CD
Logged_0x9C8AF:
ld a,$28
ld [$C0AC],a
ld hl,$6379
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9C8CD
Logged_0x9C8CD:
ld a,$28
ld [$C0AC],a
ld hl,$6FFB
ld bc,_VRAM+$1000
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9C8E9:
ld a,$01
ld [rVBK],a
ld a,$28
ld [$C0AC],a
ld hl,$6FFB
ld bc,_VRAM+$1000
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x9C90C:
ld a,$01
ld [rVBK],a
ld a,$29
ld [$C0AC],a
ld hl,$53EC
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
jp Logged_0x9C8E9
Logged_0x9C931:
call Logged_0x9C93D
jp Logged_0x9C8CD
Logged_0x9C937:
call Logged_0x9C93D
jp Logged_0x9CA0C
Logged_0x9C93D:
ld a,$29
ld [$C0AC],a
ld hl,$53EC
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9C959:
ld a,$29
ld [$C0AC],a
ld hl,$5EBD
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9C8CD
Logged_0x9C977:
call Logged_0x9C983
jp Logged_0x9C8E9
Logged_0x9C97D:
call Logged_0x9C983
jp Logged_0x9C9E9
Logged_0x9C983:
ld a,$01
ld [rVBK],a
ld a,$29
ld [$C0AC],a
ld hl,$5EBD
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x9C9A6:
ld a,$01
ld [rVBK],a
ld a,$29
ld [$C0AC],a
ld hl,$6B24
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
jp Logged_0x9C9E9
Logged_0x9C9CB:
ld a,$29
ld [$C0AC],a
ld hl,$6B24
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jp Logged_0x9CA0C
Logged_0x9C9E9:
ld a,$01
ld [rVBK],a
ld a,$29
ld [$C0AC],a
ld hl,$723A
ld bc,_VRAM+$1000
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x9CA0C:
ld a,$29
ld [$C0AC],a
ld hl,$723A
ld bc,_VRAM+$1000
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CA28:
ld a,$01
ld [rVBK],a
ld b,$54
ld hl,$6800
call Logged_0x3B5B
xor a
ld [rVBK],a
ret
Logged_0x9CA38:
ld b,$54
ld hl,$6800
call Logged_0x3B5B
ret
Logged_0x9CA41:
ld a,$01
ld [rVBK],a
Logged_0x9CA45:
ld bc,_SCRN0
Logged_0x9CA48:
ld a,$2E
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ret
Logged_0x9CA61:
ld a,$01
ld [rVBK],a
Logged_0x9CA65:
ld bc,_SCRN1
jr Logged_0x9CA48
Logged_0x9CA6A:
ld hl,$5113
call Logged_0x9CA41
ld hl,$5100
call Logged_0x9CA45
ret
Logged_0x9CA77:
ld hl,$5235
call Logged_0x9CA41
ld hl,$51E7
call Logged_0x9CA45
ret
Logged_0x9CA84:
ld hl,$54D1
call Logged_0x9CA41
ld hl,$5475
call Logged_0x9CA45
ret
Logged_0x9CA91:
ld hl,$58D7
call Logged_0x9CA41
ld hl,$589C
call Logged_0x9CA45
ret
Logged_0x9CA9E:
ld hl,$596E
call Logged_0x9CA41
ld hl,$5920
call Logged_0x9CA45
ret
Logged_0x9CAAB:
ld hl,$5A8C
call Logged_0x9CA41
ld hl,$5A22
call Logged_0x9CA45
ret
Logged_0x9CAB8:
ld hl,$5B2D
call Logged_0x9CA41
ld hl,$5AE0
call Logged_0x9CA45
ret
Logged_0x9CAC5:
ld hl,$5BE0
call Logged_0x9CA41
ld hl,$5B84
call Logged_0x9CA45
ret
Logged_0x9CAD2:
ld hl,$5C75
call Logged_0x9CA41
ld hl,$5C2C
call Logged_0x9CA45
ret
Logged_0x9CADF:
ld hl,$5DA3
call Logged_0x9CA41
ld hl,$5D48
call Logged_0x9CA45
ret
Logged_0x9CAEC:
ld hl,$5ED5
call Logged_0x9CA41
ld hl,$5E7B
call Logged_0x9CA45
ret
Logged_0x9CAF9:
ld hl,$5F73
call Logged_0x9CA41
ld hl,$5F1E
call Logged_0x9CA45
ret
Logged_0x9CB06:
ld hl,$5FE6
call Logged_0x9CA41
ld hl,$5FB1
call Logged_0x9CA45
ret
Logged_0x9CB13:
ld hl,$60E6
call Logged_0x9CA41
ld hl,$60B4
call Logged_0x9CA45
ret
Logged_0x9CB20:
ld hl,$619C
call Logged_0x9CA41
ld hl,$6143
call Logged_0x9CA45
ret
Logged_0x9CB2D:
ld hl,$6286
call Logged_0x9CA41
ld hl,$6221
call Logged_0x9CA45
ret
Logged_0x9CB3A:
ld hl,$637B
call Logged_0x9CA41
ld hl,$631F
call Logged_0x9CA45
ret
Logged_0x9CB47:
ld hl,$6425
call Logged_0x9CA41
ld hl,$63D3
call Logged_0x9CA45
ret
Logged_0x9CB54:
ld hl,$64C4
call Logged_0x9CA41
ld hl,$646A
call Logged_0x9CA45
ret
Logged_0x9CB61:
ld hl,$65A0
call Logged_0x9CA41
ld hl,$6544
call Logged_0x9CA45
ret
Logged_0x9CB6E:
ld hl,$66E1
call Logged_0x9CA41
ld hl,$6685
call Logged_0x9CA45
ret
Logged_0x9CB7B:
ld hl,$682D
call Logged_0x9CA41
ld hl,$67F9
call Logged_0x9CA45
ret
Logged_0x9CB88:
ld hl,$68A6
call Logged_0x9CA41
ld hl,$6865
call Logged_0x9CA45
ret
Logged_0x9CB95:
ld hl,$69B4
call Logged_0x9CA41
ld hl,$6958
call Logged_0x9CA45
ret
Logged_0x9CBA2:
ld hl,$519B
call Logged_0x9CA61
ld hl,$514A
call Logged_0x9CA65
ret
Logged_0x9CBAF:
ld hl,$52C2
call Logged_0x9CA61
ld hl,$526D
call Logged_0x9CA65
ret
Logged_0x9CBBC:
ld hl,$536C
call Logged_0x9CA61
ld hl,$5310
call Logged_0x9CA65
ret
Logged_0x9CBC9:
ld hl,$59E8
call Logged_0x9CA61
ld hl,$59AA
call Logged_0x9CA65
ret
Logged_0x9CBD6:
ld hl,$5D01
call Logged_0x9CA61
ld hl,$5CB8
call Logged_0x9CA65
ret
Logged_0x9CBE3:
ld hl,$5E3B
call Logged_0x9CA61
ld hl,$5DEA
call Logged_0x9CA65
ret
Logged_0x9CBF0:
ld hl,$607D
call Logged_0x9CA61
ld hl,$602A
call Logged_0x9CA65
ret
Logged_0x9CBFD:
ld hl,$679C
call Logged_0x9CA61
ld hl,$6740
call Logged_0x9CA65
ret
Logged_0x9CC0A:
ld hl,$6925
call Logged_0x9CA61
ld hl,$68D2
call Logged_0x9CA65
ret
Logged_0x9CC17:
ld hl,$6A6E
call Logged_0x9CA61
ld hl,$6A12
call Logged_0x9CA65
ret
Logged_0x9CC24:
ld d,$88
jr Logged_0x9CC2A
Logged_0x9CC28:
ld d,$80
Logged_0x9CC2A:
ld a,$01
ld [rVBK],a
ld hl,_SCRN0
ld bc,$00A0
ld a,d
call Fill_HL_A
xor a
ld [rVBK],a
ret
Logged_0x9CC3C:
ld a,$01
ld [rVBK],a
ld hl,_SCRN1
ld bc,$00A0
ld a,$80
call Fill_HL_A
xor a
ld [rVBK],a
ret
Logged_0x9CC4F:
ld a,$01
ld [rVBK],a
ld d,$80
ld hl,$98A0
ld e,$07
Logged_0x9CC5A:
ld b,$06
ld a,d
Logged_0x9CC5D:
ld [hli],a
dec b
jr nz,Logged_0x9CC5D
dec e
jr z,Logged_0x9CC6E
ld a,$1A
add a,l
ld l,a
ld a,$00
adc a,h
ld h,a
jr Logged_0x9CC5A
Logged_0x9CC6E:
xor a
ld [rVBK],a
ret
Logged_0x9CC72:
xor a
ld hl,$C000
ld bc,$0040
call Fill_HL_A
xor a
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ret
Logged_0x9CC87:
xor a
ld hl,$C100
ld bc,$0040
call Fill_HL_A
xor a
ld hl,$C140
ld bc,$0040
call Fill_HL_A
ret
Logged_0x9CC9C:
ld hl,RAMCode_0x9CCA8
ld de,$C200
ld b,Logged_0x9CCF9 - RAMCode_0x9CCA8
call MemCopy_DE_HL
ret
RAMCode_0x9CCA8:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D022]
ld [rWY],a
ld a,[$D023]
ld [rWX],a
ld a,[$D800]
and a
jr z,Unknown_0x9CCCF
ld hl,$FF40
xor [hl]
ld [hl],a
xor a
ld [$D800],a
Unknown_0x9CCCF:
ld b,$21
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$D0D0]
and a
call nz,Logged_0x854CC
ld a,[$D0D6]
and a
call nz,Logged_0x854C7
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x9CCF9:
ld [hl],d
inc l
ld [hl],e
inc l
set 2,l
call Logged_0x3B93
ret
Logged_0x9CD03:
ld hl,$D014
xor a
ld [hld],a
inc [hl]
ret
Logged_0x9CD0A:
ld a,[$D014]
cp c
ret c
jr Logged_0x9CD03
Logged_0x9CD11:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9CD16:
ld hl,wGameSubState
inc [hl]
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9CD23:
ld e,$14
Logged_0x9CD25:
ld a,[$D014]
cp e
ret c
jr Logged_0x9CD16
Logged_0x9CD2C:
ld e,$28
jr Logged_0x9CD25
Logged_0x9CD30:
ld e,$3C
jr Logged_0x9CD25
Logged_0x9CD34:
ld e,$50
jr Logged_0x9CD25
Logged_0x9CD38:
ld e,$64
jr Logged_0x9CD25
Logged_0x9CD3C:
ld e,$78
jr Logged_0x9CD25
Logged_0x9CD40:
ld a,$C0
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$68
ld [$D0D0],a
ret
Logged_0x9CD5A:
ld a,$C0
ld [$D0D9],a
ld a,$40
ld [$D0DA],a
ld a,$80
ld [$D0D7],a
ld a,$08
ld [$D0D8],a
ld a,$6A
ld [$D0D6],a
ret
Logged_0x9CD74:
push hl
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
pop hl
ret
Logged_0x9CD8D:
ld a,$21
ld [$FF00+$85],a
ld a,$46
ld [$FF00+$8D],a
ld a,$50
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CD9D:
ld a,$21
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$50
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CDAD:
ld a,$21
ld [$FF00+$85],a
ld a,$FF
ld [$FF00+$8D],a
ld a,$50
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CDBD:
ld a,$21
ld [$FF00+$85],a
ld a,$FF
ld [$FF00+$8D],a
ld a,$4F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CDCD:
ld hl,$D804
inc [hl]
ld a,[$D803]
ld c,$FC
and a
jr z,Logged_0x9CDFB
ld c,$04
dec a
jr z,Logged_0x9CDFB
ld c,$FD
dec a
jr z,Logged_0x9CDFB
ld c,$03
dec a
jr z,Logged_0x9CDFB
ld c,$FE
dec a
jr z,Logged_0x9CDFB
ld c,$02
dec a
jr z,Logged_0x9CDFB
ld c,$FF
dec a
jr z,Logged_0x9CDFB
ld c,$01
jr Logged_0x9CE0C
Logged_0x9CDFB:
ld a,[hl]
cp $06
ret c
ld hl,$C083
ld a,c
add a,[hl]
ld [hl],a
ld hl,$D804
xor a
ld [hld],a
inc [hl]
ret
Logged_0x9CE0C:
ld a,[hl]
cp $06
ret c
ld hl,$C083
ld a,c
add a,[hl]
ld [hl],a
ld hl,$D804
xor a
ld [hld],a
ld [hl],a
jp Logged_0x9CD03
Logged_0x9CE1F:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$12
ld [$FF00+hSFXIDLow],a
ret
call Logged_0x0302
ld hl,$D014
inc [hl]
ld b,h
ld c,l
ld a,[$D01E]
cp $5B
jp nc,Unknown_0x9CEF0
rst JumpList
dw Unknown_0x9CEF3
dw Logged_0x9CEF6
dw Logged_0x9D797
dw Logged_0x9CF06
dw Logged_0x9DB03
dw Unknown_0x9CEF3
dw Logged_0x9D02D
dw Logged_0x9D18B
dw Logged_0x9D6DE
dw Logged_0x9D6A4
dw Logged_0x9D10E
dw Unknown_0x9CEF3
dw Logged_0x9D82E
dw Logged_0x9D8B5
dw Logged_0x9D33A
dw Unknown_0x9CEF3
dw Logged_0x9D6E2
dw Logged_0x9D33A
dw Unknown_0x9CEF3
dw Logged_0x9D985
dw Logged_0x9EC6C
dw Logged_0x9DA31
dw Unknown_0x9CEF3
dw Logged_0x9D6E6
dw Logged_0x9D869
dw Logged_0x9D27F
dw Unknown_0x9CEF3
dw Logged_0x9D441
dw Unknown_0x9CEF3
dw Logged_0x9D6EA
dw Logged_0x9D569
dw Logged_0x9DC7D
dw Unknown_0x9CEF3
dw Logged_0x9DD03
dw Logged_0x9D5D7
dw Unknown_0x9CEF3
dw Logged_0x9DB98
dw Logged_0x9D6EE
dw Unknown_0x9CEF3
dw Logged_0x9D65E
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Logged_0x9DF0F
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Logged_0x9DE07
dw Logged_0x9DE48
dw Logged_0x9DFCD
dw Logged_0x9E046
dw Unknown_0x9CEF3
dw Logged_0x9E171
dw Logged_0x9E347
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Logged_0x9E25C
dw Logged_0x9EACA
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Logged_0x9DA31
dw Logged_0x9E451
dw Unknown_0x9CEF3
dw Logged_0x9E4CF
dw Unknown_0x9CEF3
dw Logged_0x9E54C
dw Logged_0x9E5BA
dw Unknown_0x9CEF3
dw Logged_0x9E66E
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
dw Logged_0x9E2D1
dw Logged_0x9E95F
dw Logged_0x9E6FD
dw Logged_0x9E7B3
dw Logged_0x9E871
dw Unknown_0x9CEF3
dw Unknown_0x9CEF3
Unknown_0x9CEF0:
nop
jr Unknown_0x9CEF0
Unknown_0x9CEF3:
nop
jr Unknown_0x9CEF3
Logged_0x9CEF6:
ld a,$2B
ld [$FF00+$85],a
ld a,$A3
ld [$FF00+$8D],a
ld a,$5F
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x9CF06:
call Logged_0x9CF0C
jp Logged_0x9F0E0
Logged_0x9CF0C:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9CF36
dw Logged_0x9CF59
dw Logged_0x9CF6C
dw Logged_0x9CF71
dw Logged_0x9CF8D
dw Logged_0x9CF92
dw Logged_0x9CFAD
dw Logged_0x9CFB5
dw Logged_0x9CFBA
dw Logged_0x9CFC9
dw Logged_0x9CFCE
dw Logged_0x9CFE5
dw Logged_0x9CFEA
dw Logged_0x9D001
dw Logged_0x9D00A
dw Logged_0x9D015
dw Logged_0x9CD8D
dw Logged_0x9CD2C
Logged_0x9CF36:
ld hl,$D190
ld a,$3B
ld [hli],a
ld [hl],$28
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$3B
ld [hli],a
ld [hl],$78
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9CF59:
ld a,[bc]
bit 0,a
ret nz
ld hl,$D199
dec [hl]
ld hl,$D191
inc [hl]
ld a,[hl]
cp $4F
ret nz
jp Logged_0x9CD03
Logged_0x9CF6C:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9CF71:
ld a,$03
ld hl,$D196
call Logged_0x3B93
ld a,$50
ld [$D191],a
xor a
ld [$D19E],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9CF8D:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9CF92:
ld hl,$D198
ld a,$3B
ld [hli],a
ld [hl],$50
ld a,$05
ld hl,$D19E
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9CFAD:
ld a,[$D19E]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9CFB5:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9CFBA:
ld a,[bc]
bit 0,a
ret z
ld hl,$D190
inc [hl]
ld a,[hl]
cp $54
ret nz
jp Logged_0x9CD03
Logged_0x9CFC9:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9CFCE:
ld a,$04
ld hl,$D196
call Logged_0x3B93
ld hl,$D191
inc [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9CFE5:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9CFEA:
ld a,[$D190]
ld [$D198],a
ld a,[$D191]
ld [$D199],a
ld a,$06
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D001:
ld a,[$D19E]
cp $07
ret nz
jp Logged_0x9CD03
Logged_0x9D00A:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0C
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D015:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D01A:
ld hl,$D190
ld a,$48
ld [hli],a
ld [hl],$50
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9F11E
Logged_0x9D02D:
call Logged_0x9D033
jp Logged_0x9F11E
Logged_0x9D033:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D04B
dw Logged_0x9D071
dw Logged_0x9D076
dw Logged_0x9D071
dw Logged_0x9D09C
dw Logged_0x9D0AF
dw Logged_0x9D0BC
dw Logged_0x9D0C1
dw Logged_0x9CD2C
Logged_0x9D04B:
ld a,[bc]
cp $01
jr z,Logged_0x9D068
ld b,a
and $03
ret nz
ld a,$FF
bit 2,b
jr nz,Logged_0x9D05C
ld a,$01
Logged_0x9D05C:
ld hl,$D190
add a,[hl]
ld [hl],a
ld a,b
cp $20
ret c
jp Logged_0x9CD03
Logged_0x9D068:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$02
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D071:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D076:
ld a,[bc]
cp $01
jr z,Logged_0x9D093
ld b,$FF
cp $08
jr c,Logged_0x9D087
dec b
cp $10
jr c,Logged_0x9D087
dec b
Logged_0x9D087:
ld a,b
ld hl,$D190
add a,[hl]
ld [hl],a
cp $20
ret nc
jp Logged_0x9CD03
Logged_0x9D093:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D09C:
ld hl,$D190
ld a,$40
ld [hli],a
ld [hl],$50
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D0AF:
ld a,[$D196]
cp $03
ret nz
xor a
ld [$D802],a
jp Logged_0x9CD03
Logged_0x9D0BC:
ld c,$64
jp Logged_0x9CD0A
Logged_0x9D0C1:
call Logged_0x9D0D3
ld a,[bc]
and $03
ret nz
ld hl,$D190
dec [hl]
ld a,[hl]
cp $28
ret nz
jp Logged_0x9CD03
Logged_0x9D0D3:
ld hl,$D802
inc [hl]
ld a,[hl]
cp $0E
ret c
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$23
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D0E6:
ld a,$03
ld [$D188],a
ld hl,$D190
ld a,$82
ld [hli],a
ld [hl],$71
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$82
ld [hli],a
ld [hl],$2F
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9F146
Logged_0x9D10E:
call Logged_0x9D114
jp Logged_0x9F146
Logged_0x9D114:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D126
dw Logged_0x9D140
dw Logged_0x9D145
dw Logged_0x9D153
dw Logged_0x9CD8D
dw Logged_0x9CD23
Logged_0x9D126:
ld a,[bc]
bit 0,a
ret z
call Logged_0x9D133
cp $63
ret nz
jp Logged_0x9CD03
Logged_0x9D133:
ld hl,$D190
ld a,[hl]
dec a
ld [hli],a
dec [hl]
ld hl,$D198
ld [hli],a
inc [hl]
ret
Logged_0x9D140:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D145:
call Logged_0x9D133
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D153:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D158:
ld hl,$D190
ld a,$58
ld [hli],a
ld [hl],$54
ld a,$09
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$43
ld [hli],a
ld [hl],$40
ld a,$03
ld hl,$D19E
call Logged_0x3B93
ld hl,$D1A0
ld a,$58
ld [hli],a
ld [hl],$54
ld a,$0A
ld hl,$D1A6
call Logged_0x3B93
jp Logged_0x9F174
Logged_0x9D18B:
call Logged_0x9D191
jp Logged_0x9F174
Logged_0x9D191:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D1C5
dw Logged_0x9D1E4
dw Logged_0x9D1E9
dw Logged_0x9D1FC
dw Logged_0x9D201
dw Logged_0x9D20C
dw Logged_0x9D211
dw Logged_0x9D21C
dw Logged_0x9D22C
dw Logged_0x9D21C
dw Logged_0x9D22C
dw Logged_0x9D21C
dw Logged_0x9D22C
dw Logged_0x9D21C
dw Logged_0x9D234
dw Logged_0x9D239
dw Logged_0x9D244
dw Logged_0x9D249
dw Logged_0x9D25C
dw Logged_0x9D264
dw Logged_0x9D269
dw Logged_0x9D274
dw Logged_0x9CD30
Logged_0x9D1C5:
ld a,[bc]
cp $14
ret c
ld hl,$D1A8
ld a,$5A
ld [hli],a
ld [hl],$38
ld a,$01
ld hl,$D1AE
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D1E4:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D1E9:
ld a,$02
ld hl,$D1AE
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D1FC:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D201:
ld a,$04
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D20C:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9D211:
ld a,$06
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D21C:
ld a,[$D192]
and a
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$09
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D22C:
ld a,[$D192]
and a
ret z
jp Logged_0x9CD03
Logged_0x9D234:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D239:
ld a,$05
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D244:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9D249:
ld a,$08
ld hl,$D1A6
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$35
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D25C:
ld a,[$D1A6]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9D264:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D269:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0B
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D274:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $18
ret nc
jp Logged_0x9CD03
Logged_0x9D27F:
call Logged_0x9D285
jp Logged_0x9F1D8
Logged_0x9D285:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D2A9
dw Logged_0x9D2BC
dw Logged_0x9D2CC
dw Logged_0x9D2D1
dw Logged_0x9D2E4
dw Logged_0x9D2E9
dw Logged_0x9D2FA
dw Logged_0x9D2FF
dw Logged_0x9D326
dw Logged_0x9D32B
dw Logged_0x9D326
dw Logged_0x9D330
dw Logged_0x9D326
dw Logged_0x9D335
dw Logged_0x9CD30
Logged_0x9D2A9:
ld hl,$D190
ld a,$90
ld [hli],a
ld [hl],$50
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D2BC:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $86
jp z,Logged_0x9CE1F
cp $60
ret nz
jp Logged_0x9CD03
Logged_0x9D2CC:
ld c,$5A
jp Logged_0x9CD0A
Logged_0x9D2D1:
ld a,$02
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D2E4:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D2E9:
ld a,[$D192]
cp $04
ret nz
ld a,$03
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D2FA:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D2FF:
ld hl,$7C8B
Logged_0x9D302:
ld de,$C010
ld b,$08
call MemCopy_DE_HL
ld a,$C0
ld [$D0D3],a
ld a,$10
ld [$D0D4],a
ld a,$90
ld [$D0D1],a
ld a,$01
ld [$D0D2],a
ld a,$68
ld [$D0D0],a
jp Logged_0x9CD03
Logged_0x9D326:
ld c,$08
jp Logged_0x9CD0A
Logged_0x9D32B:
ld hl,$7C93
jr Logged_0x9D302
Logged_0x9D330:
ld hl,$7C9B
jr Logged_0x9D302
Logged_0x9D335:
ld hl,$7CA3
jr Logged_0x9D302
Logged_0x9D33A:
call Logged_0x9D340
jp Logged_0x9F1F3
Logged_0x9D340:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D36A
dw Logged_0x9D37A
dw Logged_0x9D392
dw Logged_0x9D3A2
dw Logged_0x9D3A7
dw Logged_0x9D3DC
dw Logged_0x9D3E1
dw Logged_0x9D3F9
dw Logged_0x9CD30
dw Logged_0x9D37A
dw Logged_0x9D392
dw Logged_0x9D3A2
dw Logged_0x9D409
dw Logged_0x9D3DC
dw Logged_0x9D40E
dw Logged_0x9D413
dw Logged_0x9D426
dw Logged_0x9CD30
Logged_0x9D36A:
ld a,[$D01E]
cp $11
jp nz,Logged_0x9CD03
ld a,$09
ld [$D013],a
jp Logged_0x9CD03
Logged_0x9D37A:
ld hl,$D190
ld a,$AC
ld [hli],a
ld [hl],$58
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D392:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $92
jp z,Logged_0x9CE1F
cp $6C
ret nz
jp Logged_0x9CD03
Logged_0x9D3A2:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D3A7:
ld hl,$4040
Logged_0x9D3AA:
ld de,$C000
ld c,$40
ld b,$2E
call Logged_0x3B2B
xor a
ld [$D188],a
ld [$D196],a
ld a,$08
ld [$D800],a
ld a,$C0
ld [$D0D3],a
ld a,$00
ld [$D0D4],a
ld a,$80
ld [$D0D1],a
ld a,$08
ld [$D0D2],a
ld a,$68
ld [$D0D0],a
jp Logged_0x9CD03
Logged_0x9D3DC:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D3E1:
ld hl,$D190
ld a,$B0
ld [hli],a
ld [hl],$32
ld a,$02
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D3F9:
ld hl,$D190
dec [hl]
dec [hl]
ld a,[hl]
cp $74
jr z,Logged_0x9D438
cp $68
ret nz
jp Logged_0x9CD03
Logged_0x9D409:
ld hl,$4200
jr Logged_0x9D3AA
Logged_0x9D40E:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D413:
ld hl,$D190
ld a,$A4
ld [hli],a
ld [hl],$F0
ld a,$03
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D426:
ld hl,$D190
dec [hl]
dec [hl]
ld a,[hli]
inc [hl]
inc [hl]
cp $70
jr z,Logged_0x9D438
cp $64
ret nz
jp Logged_0x9CD03
Logged_0x9D438:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D441:
call Logged_0x9D44A
call Logged_0x9F225
jp Logged_0x9F244
Logged_0x9D44A:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D46C
dw Logged_0x9D48F
dw Logged_0x9D4AE
dw Logged_0x9CD9D
dw Logged_0x9D4B3
dw Logged_0x9CDAD
dw Logged_0x9D4B8
dw Logged_0x9D4BD
dw Logged_0x9D4EC
dw Logged_0x9D4FF
dw Logged_0x9D504
dw Logged_0x9D51D
dw Logged_0x9D531
dw Logged_0x9CD3C
Logged_0x9D46C:
ld hl,$D190
ld a,$32
ld [hli],a
ld [hl],$50
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$82
ld [hli],a
ld [hl],$50
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D48F:
ld a,[bc]
bit 0,a
ret z
call Logged_0x9D4A4
cp $5A
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D4A4:
ld hl,$D190
inc [hl]
ld a,[hl]
ld hl,$D198
dec [hl]
ret
Logged_0x9D4AE:
ld c,$5A
jp Logged_0x9CD0A
Logged_0x9D4B3:
ld c,$08
jp Logged_0x9CD0A
Logged_0x9D4B8:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D4BD:
xor a
ld [$D196],a
ld [$D19E],a
ld b,$2E
ld c,$40
ld hl,$4340
ld de,$C000
call Logged_0x3B2B
call Logged_0x9CD40
ld b,$2E
ld c,$40
ld hl,$4340
ld de,$C040
call Logged_0x3B2B
call Logged_0x9CD5A
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9D4EC:
ld hl,$D1A8
ld a,$20
ld [hli],a
ld [hl],$50
ld a,$02
ld hl,$D1AE
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D4FF:
ld c,$14
jp Logged_0x9CD0A
Logged_0x9D504:
ld b,$03
ld hl,$D1A8
ld a,[hl]
cp $44
jr c,Logged_0x9D510
ld b,$07
Logged_0x9D510:
ld a,[$D014]
and b
ret nz
inc [hl]
ld a,[hl]
cp $4E
ret nz
jp Logged_0x9CD03
Logged_0x9D51D:
ld a,[bc]
cp $1E
ret c
ld a,$01
ld hl,$D1AE
call Logged_0x3B93
ld hl,$D1A8
add a,[hl]
ld [hl],a
jp Logged_0x9CD03
Logged_0x9D531:
ld c,$64
jp Logged_0x9CD0A
Logged_0x9D536:
ld hl,$D190
ld a,$53
ld [hli],a
ld [hl],$50
ld a,$04
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$36
ld [hli],a
ld [hl],$50
ld a,$02
ld hl,$D19E
call Logged_0x3B93
ld hl,$D1A0
ld a,$53
ld [hli],a
ld [hl],$50
ld a,$03
ld hl,$D1A6
call Logged_0x3B93
jp Logged_0x9F2A2
Logged_0x9D569:
call Logged_0x9D56F
jp Logged_0x9F2A2
Logged_0x9D56F:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D589
dw Logged_0x9D58E
dw Logged_0x9D5A1
dw Logged_0x9D5A6
dw Logged_0x9D5B9
dw Logged_0x9D5BE
dw Logged_0x9D5C7
dw Logged_0x9D5D2
dw Logged_0x9CD8D
dw Logged_0x9CD16
Logged_0x9D589:
ld c,$0F
jp Logged_0x9CD0A
Logged_0x9D58E:
ld hl,$D198
inc [hl]
ld a,[hl]
cp $3B
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D5A1:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D5A6:
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D5B9:
ld c,$46
jp Logged_0x9CD0A
Logged_0x9D5BE:
ld a,[$D192]
cp $03
ret nz
jp Logged_0x9CD03
Logged_0x9D5C7:
ld a,$05
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D5D2:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D5D7:
call Logged_0x9D5DD
jp Logged_0x9F2CD
Logged_0x9D5DD:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D5F1
dw Logged_0x9CDBD
dw Logged_0x9D611
dw Logged_0x9D616
dw Logged_0x9D631
dw Logged_0x9D642
dw Logged_0x9CD23
Logged_0x9D5F1:
ld hl,$4100
ld de,$C000
ld c,$40
ld b,$2E
call Logged_0x3B2B
ld hl,$4D00
ld de,$C040
ld c,$40
ld b,$2E
call Logged_0x3B2B
call Logged_0x9CC87
jp Logged_0x9CD03
Logged_0x9D611:
ld c,$2D
jp Logged_0x9CD0A
Logged_0x9D616:
ld hl,$D190
ld a,$4C
ld [hli],a
ld [hl],$53
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D631:
ld a,[$D192]
cp $05
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D642:
ld a,[$D196]
cp $02
ret nz
jp Logged_0x9CD03
Logged_0x9D64B:
ld hl,$D190
ld a,$56
ld [hli],a
ld [hl],$58
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9F2F3
Logged_0x9D65E:
call Logged_0x9D664
jp Logged_0x9F2F3
Logged_0x9D664:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D674
dw Logged_0x9D687
dw Logged_0x9D68C
dw Logged_0x9D69F
dw Logged_0x9CD16
Logged_0x9D674:
ld a,$02
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D687:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D68C:
ld a,$03
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D69F:
ld c,$B4
jp Logged_0x9CD0A
Logged_0x9D6A4:
call Logged_0x9D6AA
jp Logged_0x9FBFA
Logged_0x9D6AA:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D6B6
dw Logged_0x9D6CE
dw Logged_0x9CD30
Logged_0x9D6B6:
ld hl,$D190
ld a,$B0
ld [hli],a
ld [hl],$4A
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D6CE:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $88
jp z,Logged_0x9CE1F
cp $62
ret nz
jp Logged_0x9CD03
Logged_0x9D6DE:
ld b,$01
jr Logged_0x9D6F0
Logged_0x9D6E2:
ld b,$03
jr Logged_0x9D6F0
Logged_0x9D6E6:
ld b,$05
jr Logged_0x9D6F0
Logged_0x9D6EA:
ld b,$07
jr Logged_0x9D6F0
Logged_0x9D6EE:
ld b,$09
Logged_0x9D6F0:
call Logged_0x9D6F6
jp Logged_0x9FC1D
Logged_0x9D6F6:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D70C
dw Logged_0x9D723
dw Logged_0x9D733
dw Logged_0x9D738
dw Logged_0x9D744
dw Logged_0x9D749
dw Logged_0x9D792
dw Logged_0x9CD34
Logged_0x9D70C:
ld hl,$D190
ld a,$B0
ld [hli],a
ld [hl],$4A
ld a,b
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D723:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $88
jp z,Logged_0x9CE1F
cp $62
ret nz
jp Logged_0x9CD03
Logged_0x9D733:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D738:
ld hl,$D196
ld a,[hl]
ld b,a
inc a
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D744:
ld c,$32
jp Logged_0x9CD0A
Logged_0x9D749:
call Logged_0x9CD03
ld a,[$D196]
dec a
cp $01
jr z,Logged_0x9D765
cp $03
jr z,Logged_0x9D76E
cp $05
jr z,Logged_0x9D777
cp $07
jr z,Logged_0x9D780
cp $09
jr z,Logged_0x9D789
ret
Logged_0x9D765:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D76E:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D777:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$20
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D780:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$21
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D789:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$22
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9D792:
ld c,$FE
jp Logged_0x9CD0A
Logged_0x9D797:
call Logged_0x9D79D
jp Logged_0x9FC58
Logged_0x9D79D:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D7B7
dw Logged_0x9D7CF
dw Logged_0x9D7E1
dw Logged_0x9D7E6
dw Logged_0x9D7EE
dw Logged_0x9D7F3
dw Logged_0x9D806
dw Logged_0x9D80B
dw Logged_0x9D826
dw Logged_0x9CD2C
Logged_0x9D7B7:
ld hl,$D190
ld a,$90
ld [hli],a
ld [hl],$6C
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D7CF:
ld hl,$D190
dec [hl]
ld a,[hl]
inc l
dec [hl]
cp $86
jp z,Logged_0x9CE1F
cp $60
ret nz
jp Logged_0x9CD03
Logged_0x9D7E1:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D7E6:
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9D7EE:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D7F3:
ld a,$08
ld [$D800],a
xor a
ld hl,$D196
call Logged_0x3B93
xor a
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D806:
ld c,$10
jp Logged_0x9CD0A
Logged_0x9D80B:
ld hl,$D190
ld a,$60
ld [hli],a
ld [hl],$42
ld a,$02
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D826:
ld a,[$D196]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9D82E:
call Logged_0x9D834
jp Logged_0x9F323
Logged_0x9D834:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D840
dw Logged_0x9D858
dw Logged_0x9CD30
Logged_0x9D840:
ld hl,$D190
ld a,$A4
ld [hli],a
ld [hl],$78
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D858:
ld hl,$D190
dec [hl]
ld a,[hli]
dec [hl]
cp $8A
jp z,Logged_0x9CE1F
cp $64
ret nz
jp Logged_0x9CD03
Logged_0x9D869:
call Logged_0x9D86F
jp Logged_0x9F1F3
Logged_0x9D86F:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D87F
dw Logged_0x9D897
dw Logged_0x9D8A8
dw Logged_0x9D8AD
dw Logged_0x9CD30
Logged_0x9D87F:
ld hl,$D190
ld a,$A4
ld [hli],a
ld [hl],$70
ld a,$04
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D897:
ld hl,$D190
dec [hl]
ld a,[hli]
dec [hl]
cp $8A
jp z,Logged_0x9CE1F
cp $64
ret nz
jp Logged_0x9CD03
Logged_0x9D8A8:
ld c,$14
jp Logged_0x9CD0A
Logged_0x9D8AD:
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9D8B5:
call Logged_0x9D8BB
jp Logged_0x9F340
Logged_0x9D8BB:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D8D9
dw Logged_0x9D8EC
dw Logged_0x9D8FC
dw Logged_0x9D901
dw Logged_0x9D909
dw Logged_0x9D90E
dw Logged_0x9D929
dw Logged_0x9D94C
dw Logged_0x9D929
dw Logged_0x9D973
dw Logged_0x9D980
dw Logged_0x9CD23
Logged_0x9D8D9:
ld hl,$D190
ld a,$9C
ld [hli],a
ld [hl],$48
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D8EC:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $7A
jp z,Logged_0x9CE1F
cp $54
ret nz
jp Logged_0x9CD03
Logged_0x9D8FC:
ld c,$14
jp Logged_0x9CD0A
Logged_0x9D901:
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9D909:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9D90E:
ld hl,$D198
ld a,$58
ld [hli],a
ld [hl],$40
ld a,$02
ld hl,$D19E
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9D929:
ld a,[bc]
bit 0,a
ret z
ld hl,$D199
dec [hl]
ld a,[hl]
cp $1C
ret nz
xor a
ld [$D19E],a
ld hl,$D1A0
ld a,$50
ld [hli],a
ld [hl],$3C
ld a,$03
ld hl,$D1A6
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D94C:
call Logged_0x9D967
ret nz
xor a
ld [$D1A6],a
ld hl,$D198
ld a,$58
ld [hli],a
ld [hl],$40
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9D967:
ld a,[bc]
bit 0,a
ret nz
ld hl,$D1A1
dec [hl]
ld a,[hl]
cp $18
ret
Logged_0x9D973:
call Logged_0x9D967
cp $18
ret nz
xor a
ld [$D1A6],a
jp Logged_0x9CD03
Logged_0x9D980:
ld c,$50
jp Logged_0x9CD0A
Logged_0x9D985:
call Logged_0x9D98B
jp Logged_0x9F367
Logged_0x9D98B:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9D9A1
dw Logged_0x9D9C5
dw Logged_0x9D9D8
dw Logged_0x9D9E5
dw Logged_0x9D9F4
dw Logged_0x9D9F9
dw Logged_0x9CDCD
dw Logged_0x9CD2C
Logged_0x9D9A1:
ld hl,$D190
ld a,$B0
ld [hli],a
ld [hl],$48
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,[$D190]
ld [$D198],a
ld a,[$D191]
ld [$D199],a
ld a,$01
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9D9C5:
ld hl,$D190
dec [hl]
ld a,[hl]
ld [$D198],a
cp $86
jp z,Logged_0x9CE1F
cp $60
ret nz
jp Logged_0x9CD03
Logged_0x9D9D8:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $40
ret nc
ld [hl],$40
jp Logged_0x9CD03
Logged_0x9D9E5:
ld a,[bc]
bit 0,a
ret z
ld hl,$D198
inc [hl]
ld a,[hl]
cp $90
ret nz
jp Logged_0x9CD03
Logged_0x9D9F4:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9D9F9:
ld hl,$D190
inc [hl]
inc [hl]
inc [hl]
ld a,[hl]
cp $B0
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DA0E:
ld a,$05
ld hl,$D1A6
call Logged_0x3B93
ld hl,$D1A0
ld a,$60
ld [hli],a
ld [hl],$50
ld a,$06
ld hl,$D1AE
call Logged_0x3B93
ld hl,$D1A8
ld a,$60
ld [hli],a
ld [hl],$50
jp Logged_0x9F38D
Logged_0x9DA31:
call Logged_0x9DA37
jp Logged_0x9F38D
Logged_0x9DA37:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DA4D
dw Logged_0x9DA52
dw Logged_0x9DA65
dw Logged_0x9DA7C
dw Logged_0x9DA8B
dw Logged_0x9DAC4
dw Logged_0x9DAC9
dw Logged_0x9CD2C
Logged_0x9DA4D:
ld c,$14
jp Logged_0x9CD0A
Logged_0x9DA52:
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld hl,$D190
ld a,$00
ld [hli],a
ld [hl],$50
jp Logged_0x9CD03
Logged_0x9DA65:
ld a,[bc]
bit 0,a
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $45
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DA7C:
ld a,[bc]
cp $14
ret c
ld a,$04
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DA8B:
ld a,[$D196]
cp $01
jr z,Logged_0x9DAA6
ld a,[$D192]
cp $03
ret nz
ld a,[$D194]
and a
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2C
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9DAA6:
ld a,$02
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld hl,$D19E
call Logged_0x3B93
ld hl,$D190
ld a,[hli]
ld [$D198],a
ld a,[hl]
ld [$D199],a
jp Logged_0x9CD03
Logged_0x9DAC4:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9DAC9:
call Logged_0x9DAF0
ld a,[bc]
and $07
ret nz
ld hl,$D023
inc [hl]
ld hl,$D1A9
inc [hl]
ld hl,$D199
inc [hl]
ld hl,$C085
inc [hl]
ld hl,$D1A1
dec [hl]
ld a,[hl]
ld hl,$D191
dec [hl]
ld a,[hl]
cp $40
ret nz
jp Logged_0x9CD03
Logged_0x9DAF0:
ld hl,$D1A7
inc [hl]
ld a,[hl]
cp $11
ret c
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9DB03:
call Logged_0x9DB09
jp Logged_0x9F3CD
Logged_0x9DB09:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DB1B
dw Logged_0x9DB32
dw Logged_0x9DB46
dw Logged_0x9DB5D
dw Logged_0x9DB71
dw Logged_0x9CD30
Logged_0x9DB1B:
ld a,[bc]
cp $14
ret c
ld hl,$D190
ld a,$80
ld [hli],a
ld [hl],$50
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DB32:
ld hl,$D190
call Logged_0x9DB43
cp $70
jp z,Logged_0x9CE1F
cp $4A
ret nz
jp Logged_0x9CD03
Logged_0x9DB43:
dec [hl]
ld a,[hl]
ret
Logged_0x9DB46:
ld a,[bc]
cp $32
ret c
ld hl,$D198
ld a,$80
ld [hli],a
ld [hl],$50
ld a,$03
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DB5D:
ld hl,$D198
call Logged_0x9DB43
cp $4A
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DB71:
ld a,$01
ld hl,$D196
call Logged_0x3B93
xor a
ld [$D19E],a
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9DB85:
ld hl,$D190
ld a,$68
ld [hli],a
ld [hl],$50
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9F3EE
Logged_0x9DB98:
call Logged_0x9DB9E
jp Logged_0x9F3EE
Logged_0x9DB9E:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DBB2
dw Logged_0x9DBC9
dw Logged_0x9DBE5
dw Logged_0x9DBF8
dw Logged_0x9DBFD
dw Logged_0x9DC63
dw Logged_0x9CD2C
Logged_0x9DBB2:
ld a,[bc]
cp $28
ret c
ld hl,$D198
ld a,$46
ld [hli],a
ld [hl],$10
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DBC9:
ld hl,$D199
inc [hl]
ld a,[hl]
cp $30
jr z,Logged_0x9DBDC
cp $A0
ret nz
xor a
ld [$D19E],a
jp Logged_0x9CD03
Logged_0x9DBDC:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$28
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9DBE5:
ld a,[bc]
cp $46
ret c
ld hl,$D190
inc [hl]
ld a,$03
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DBF8:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9DBFD:
ld hl,$D014
call Logged_0x9DC0E
ld hl,$D190
add a,[hl]
ld [hl],a
cp $88
ret c
jp Logged_0x9CD03
Logged_0x9DC0E:
ld a,[hl]
cp $44
jr c,Logged_0x9DC16
ld a,$40
ld [hl],a
Logged_0x9DC16:
ld e,a
ld d,$00
ld hl,$5C1F
add hl,de
ld a,[hl]
ret
Unknown_0x9DC1F:
INCBIN "baserom.gbc", $9DC1F, $9DC20 - $9DC1F
LoggedData_0x9DC20:
INCBIN "baserom.gbc", $9DC20, $9DC63 - $9DC20
Logged_0x9DC63:
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9DC6A:
ld hl,$D198
ld a,$60
ld [hli],a
ld [hl],$70
ld a,$04
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9F423
Logged_0x9DC7D:
call Logged_0x9DC83
jp Logged_0x9F423
Logged_0x9DC83:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DC99
dw Logged_0x9DCAC
dw Logged_0x9DCCA
dw Logged_0x9DCD5
dw Logged_0x9DCE4
dw Logged_0x9DCF5
dw Logged_0x9DCFE
dw Logged_0x9CD3C
Logged_0x9DC99:
ld hl,$D190
ld a,$24
ld [hli],a
ld [hl],$2A
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DCAC:
ld a,[bc]
bit 0,a
ret z
ld hl,$D190
inc [hl]
inc l
inc [hl]
ld a,[hl]
cp $2E
jr z,Logged_0x9DCC1
cp $4A
ret nz
jp Logged_0x9CD03
Logged_0x9DCC1:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1D
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9DCCA:
ld a,[bc]
cp $46
ret c
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9DCD5:
ld a,[bc]
cp $1E
ret c
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DCE4:
ld a,[$D19A]
cp $0A
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DCF5:
ld a,[$D19E]
cp $03
ret nz
jp Logged_0x9CD03
Logged_0x9DCFE:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9DD03:
call Logged_0x9DD09
jp Logged_0x9F49C
Logged_0x9DD09:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DD60
dw Logged_0x9DD8B
dw Logged_0x9DD9C
dw Logged_0x9DDA1
dw Logged_0x9DDA9
dw Logged_0x9DD9C
dw Logged_0x9DDB3
dw Logged_0x9DDBB
dw Logged_0x9DD9C
dw Logged_0x9DDC2
dw Logged_0x9DDCA
dw Logged_0x9DDD8
dw Logged_0x9DD9C
dw Logged_0x9DDDF
dw Logged_0x9DDE3
dw Logged_0x9DD9C
dw Logged_0x9DDEA
dw Logged_0x9DDEE
dw Logged_0x9DD9C
dw Logged_0x9DDF5
dw Logged_0x9DD80
dw Logged_0x9DDF9
dw Logged_0x9DE00
dw Logged_0x9CD2C
Logged_0x9DD3F:
ld hl,$D190
ld a,[bc]
and $03
jr nz,Logged_0x9DD48
dec [hl]
Logged_0x9DD48:
ld a,[hl]
ret
Logged_0x9DD4A:
ld hl,$D191
ld a,[bc]
bit 0,a
jr z,Logged_0x9DD48
inc [hl]
jr Logged_0x9DD48
Logged_0x9DD55:
ld hl,$D191
ld a,[bc]
bit 0,a
jr z,Logged_0x9DD48
dec [hl]
jr Logged_0x9DD48
Logged_0x9DD60:
ld hl,$D198
ld a,$48
ld [hli],a
ld [hl],$48
ld hl,$D1A0
ld a,$48
ld [hli],a
ld [hl],$58
ld hl,$D1A8
ld a,$48
ld [hli],a
ld [hl],$68
ld hl,$D190
ld a,$80
ld [hli],a
ld [hl],$48
Logged_0x9DD80:
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DD8B:
call Logged_0x9DD3F
cp $48
ret nz
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DD9C:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9DDA1:
ld a,$03
Logged_0x9DDA3:
ld [$D19E],a
jp Logged_0x9CD03
Logged_0x9DDA9:
call Logged_0x9DD4A
ld b,$58
Logged_0x9DDAE:
cp b
ret nz
jp Logged_0x9CD03
Logged_0x9DDB3:
ld a,$03
Logged_0x9DDB5:
ld [$D1A6],a
jp Logged_0x9CD03
Logged_0x9DDBB:
call Logged_0x9DD4A
ld b,$68
jr Logged_0x9DDAE
Logged_0x9DDC2:
ld a,$03
Logged_0x9DDC4:
ld [$D1AE],a
jp Logged_0x9CD03
Logged_0x9DDCA:
call Logged_0x9DD4A
cp $88
ret nz
ld a,$38
ld [$D190],a
jp Logged_0x9CD03
Logged_0x9DDD8:
call Logged_0x9DD55
ld b,$68
jr Logged_0x9DDAE
Logged_0x9DDDF:
ld a,$04
jr Logged_0x9DDC4
Logged_0x9DDE3:
call Logged_0x9DD55
ld b,$58
jr Logged_0x9DDAE
Logged_0x9DDEA:
ld a,$04
jr Logged_0x9DDB5
Logged_0x9DDEE:
call Logged_0x9DD55
ld b,$48
jr Logged_0x9DDAE
Logged_0x9DDF5:
ld a,$04
jr Logged_0x9DDA3
Logged_0x9DDF9:
call Logged_0x9DD3F
ld b,$20
jr Logged_0x9DDAE
Logged_0x9DE00:
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9DE07:
call Logged_0x9DE0D
jp Logged_0x9F508
Logged_0x9DE0D:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DE1B
dw Logged_0x9DE33
dw Logged_0x9DE38
dw Logged_0x9CD38
Logged_0x9DE1B:
ld hl,$D190
ld a,$C0
ld [hli],a
ld [hl],$32
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$03
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9DE33:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9DE38:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $8E
jp z,Logged_0x9CE1F
cp $68
ret nz
jp Logged_0x9CD03
Logged_0x9DE48:
call Logged_0x9DE4E
jp Logged_0x9F547
Logged_0x9DE4E:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DE68
dw Logged_0x9DE87
dw Logged_0x9DE92
dw Logged_0x9DE9D
dw Logged_0x9DEAE
dw Logged_0x9DEBF
dw Logged_0x9DEC8
dw Logged_0x9CD8D
dw Logged_0x9DECD
dw Logged_0x9CD2C
Logged_0x9DE68:
ld a,[bc]
cp $1E
ret c
ld hl,$D190
ld a,$98
ld [hli],a
ld [hl],$48
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$D188],a
call Logged_0x9CE1F
jp Logged_0x9CD03
Logged_0x9DE87:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $78
ret nz
jp Logged_0x9CD03
Logged_0x9DE92:
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DE9D:
ld a,[$D192]
cp $01
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DEAE:
ld a,[$D192]
cp $05
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9DEBF:
ld a,[$D196]
cp $03
ret nz
jp Logged_0x9CD03
Logged_0x9DEC8:
ld c,$78
jp Logged_0x9CD0A
Logged_0x9DECD:
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9DED4:
ld hl,$D190
ld a,$58
ld [hli],a
ld [hl],$62
ld a,$03
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$58
ld [hli],a
ld [hl],$46
ld a,$01
ld hl,$D19E
call Logged_0x3B93
ld hl,$D1A0
ld a,$48
ld [hli],a
ld [hl],$52
ld hl,$D1A8
ld a,$44
ld [hli],a
ld [hl],$46
ld hl,$D1B0
ld a,$3C
ld [hli],a
ld [hl],$34
jp Logged_0x9F5A0
Logged_0x9DF0F:
call Logged_0x9DF15
jp Logged_0x9F5A0
Logged_0x9DF15:
call Logged_0x9DFB6
call Logged_0x9DFA6
call Logged_0x9DFAE
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DF3C
dw Logged_0x9CDBD
dw Logged_0x9DF52
dw Logged_0x9DF57
dw Logged_0x9DF62
dw Logged_0x9DF57
dw Logged_0x9DF62
dw Logged_0x9DF57
dw Logged_0x9DF62
dw Logged_0x9DF6B
dw Logged_0x9DF70
dw Logged_0x9CD23
Logged_0x9DF3C:
call Logged_0x9CC87
ld b,$2E
ld hl,$4500
call Logged_0x3BB8
ld b,$2E
ld hl,$4500
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9DF52:
ld c,$0A
jp Logged_0x9CD0A
Logged_0x9DF57:
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9DF62:
ld a,[$D196]
cp $03
ret nz
jp Logged_0x9CD03
Logged_0x9DF6B:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9DF70:
ld a,[$D014]
and $07
ret nz
ld hl,$D198
dec [hl]
ld a,[hl]
cp $48
jr z,Logged_0x9DF8D
cp $44
jr z,Logged_0x9DF9C
cp $3C
jr z,Logged_0x9DFA1
cp $20
ret nz
jp Logged_0x9CD03
Logged_0x9DF8D:
ld hl,$D1A6
Logged_0x9DF90:
ld a,$04
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9DF9C:
ld hl,$D1AE
jr Logged_0x9DF90
Logged_0x9DFA1:
ld hl,$D1B6
jr Logged_0x9DF90
Logged_0x9DFA6:
ld de,$D1AE
ld hl,$D1A8
jr Logged_0x9DFBC
Logged_0x9DFAE:
ld de,$D1B6
ld hl,$D1B0
jr Logged_0x9DFBC
Logged_0x9DFB6:
ld de,$D1A6
ld hl,$D1A0
Logged_0x9DFBC:
ld a,[de]
and a
ret z
ld a,[$D014]
and $01
ret nz
dec [hl]
ld a,[hl]
cp $20
ret nz
xor a
ld [de],a
ret
Logged_0x9DFCD:
call Logged_0x9DFD3
jp Logged_0x9F607
Logged_0x9DFD3:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9DFE3
dw Logged_0x9DFF1
dw Logged_0x9E004
dw Logged_0x9E013
dw Logged_0x9CD2C
Logged_0x9DFE3:
ld hl,$D190
ld de,$1854
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9DFF1:
ld hl,$D190
inc [hl]
ld a,[hl]
cp $50
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E004:
ld a,[bc]
cp $2D
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E013:
ld c,$64
jp Logged_0x9CD0A
Logged_0x9E018:
ld hl,$D190
ld de,$5446
ld a,$01
call Logged_0x9CCF9
ld hl,$D1A0
ld a,$50
ld [hli],a
ld [hl],$38
ld hl,$D1A8
ld a,$50
ld [hli],a
ld [hl],$48
ld hl,$D1B0
ld a,$50
ld [hli],a
ld [hl],$58
ld hl,$D1B8
ld a,$50
ld [hli],a
ld [hl],$68
jp Logged_0x9F638
Logged_0x9E046:
call Logged_0x9E04C
jp Logged_0x9F638
Logged_0x9E04C:
call Logged_0x9E153
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E07D
dw Logged_0x9CDBD
dw Logged_0x9E093
dw Logged_0x9E098
dw Logged_0x9E0B6
dw Logged_0x9E0C8
dw Logged_0x9E103
dw Logged_0x9E108
dw Logged_0x9E112
dw Logged_0x9E11D
dw Logged_0x9E126
dw Logged_0x9E12B
dw Logged_0x9E130
dw Logged_0x9E135
dw Logged_0x9E13A
dw Logged_0x9E13F
dw Logged_0x9E144
dw Logged_0x9E149
dw Logged_0x9E14E
dw Logged_0x9CD30
Logged_0x9E07D:
call Logged_0x9CC87
ld b,$2E
ld hl,$4780
call Logged_0x3BB8
ld b,$2E
ld hl,$4780
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E093:
ld c,$2D
jp Logged_0x9CD0A
Logged_0x9E098:
ld a,[bc]
and $01
ret nz
ld hl,$D190
dec [hl]
dec [hl]
ld a,[hli]
inc [hl]
cp $50
jr z,Logged_0x9E0AD
cp $4C
ret nz
jp Logged_0x9CD03
Logged_0x9E0AD:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9E0B6:
ld a,[bc]
cp $2D
ret c
ld hl,$D198
ld de,$3D52
ld a,$02
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E0C8:
ld a,[bc]
cp $8C
ret c
ld a,$08
ld [$D800],a
xor a
ld [$D19E],a
ld [$D196],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$03
ld hl,$D1A6
call Logged_0x3B93
ld a,$03
ld hl,$D1AE
call Logged_0x3B93
ld a,$03
ld hl,$D1B6
call Logged_0x3B93
ld a,$03
ld hl,$D1BE
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E103:
ld c,$50
jp Logged_0x9CD0A
Logged_0x9E108:
ld hl,$D1A2
Logged_0x9E10B:
ld a,[hl]
cp $0A
ret nz
jp Logged_0x9CD03
Logged_0x9E112:
ld hl,$D1A6
Logged_0x9E115:
ld a,$04
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E11D:
ld hl,$D1A6
Logged_0x9E120:
ld a,[hl]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9E126:
ld hl,$D1AA
jr Logged_0x9E10B
Logged_0x9E12B:
ld hl,$D1AE
jr Logged_0x9E115
Logged_0x9E130:
ld hl,$D1AE
jr Logged_0x9E120
Logged_0x9E135:
ld hl,$D1B2
jr Logged_0x9E10B
Logged_0x9E13A:
ld hl,$D1B6
jr Logged_0x9E115
Logged_0x9E13F:
ld hl,$D1B6
jr Logged_0x9E120
Logged_0x9E144:
ld hl,$D1BA
jr Logged_0x9E10B
Logged_0x9E149:
ld hl,$D1BE
jr Logged_0x9E115
Logged_0x9E14E:
ld hl,$D1BE
jr Logged_0x9E120
Logged_0x9E153:
ld a,[$D1BE]
cp $03
ret nz
ld hl,$D1BF
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0x9E168
cp $1B
ret c
xor a
ld [hl],a
ret
Logged_0x9E168:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$80
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9E171:
call Logged_0x9E177
jp Logged_0x9F6A2
Logged_0x9E177:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E18F
dw Logged_0x9E1A8
dw Logged_0x9E1BC
dw Logged_0x9E1CB
dw Logged_0x9E1D4
dw Logged_0x9E231
dw Logged_0x9E239
dw Logged_0x9E253
dw Logged_0x9CD2C
Logged_0x9E18F:
ld hl,$D190
ld de,$2042
ld a,$01
call Logged_0x9CCF9
ld hl,$D198
ld de,$3E50
ld a,$00
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E1A8:
ld a,[bc]
and $01
ret z
ld hl,$D190
inc [hl]
ld a,[hl]
cp $27
jp z,Logged_0x9CE1F
cp $3A
ret nz
jp Logged_0x9CD03
Logged_0x9E1BC:
ld a,[bc]
cp $3C
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E1CB:
ld a,[$D196]
cp $03
ret nz
jp Logged_0x9CD03
Logged_0x9E1D4:
call Logged_0x9E1F4
ld hl,$D198
add a,[hl]
ld [hl],a
cp $58
ret c
ld [hl],$58
ld a,$05
ld hl,$D19E
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E1F4:
ld a,[bc]
cp $2C
jr c,Logged_0x9E1FC
ld a,$28
ld [bc],a
Logged_0x9E1FC:
ld c,a
ld b,$00
ld hl,$6205
add hl,bc
ld a,[hl]
ret
Unknown_0x9E205:
INCBIN "baserom.gbc", $9E205, $9E206 - $9E205
LoggedData_0x9E206:
INCBIN "baserom.gbc", $9E206, $9E230 - $9E206
Unknown_0x9E230:
INCBIN "baserom.gbc", $9E230, $9E231 - $9E230
Logged_0x9E231:
ld a,[$D19E]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9E239:
ld a,[bc]
cp $3C
ret c
ld hl,$D1A0
ld de,$5850
ld a,$06
call Logged_0x9CCF9
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$74
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E253:
ld a,[$D1A6]
cp $07
ret nz
jp Logged_0x9CD03
Logged_0x9E25C:
call Logged_0x9E262
jp Logged_0x9F6F8
Logged_0x9E262:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E272
dw Logged_0x9E280
dw Logged_0x9E297
dw Logged_0x9E2A6
dw Logged_0x9CD3C
Logged_0x9E272:
ld hl,$D190
ld de,$2050
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E280:
ld a,[bc]
and $01
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $50
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E297:
ld a,[bc]
cp $3C
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E2A6:
ld a,[bc]
cp $2D
ret c
ld hl,$D198
ld de,$4850
ld a,$03
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E2B8:
ld hl,$D190
ld de,$5850
ld a,$01
call Logged_0x9CCF9
ld hl,$D198
ld de,$7050
ld a,$02
call Logged_0x9CCF9
jp Logged_0x9F73B
Logged_0x9E2D1:
call Logged_0x9E2D7
jp Logged_0x9F73B
Logged_0x9E2D7:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E2ED
dw Logged_0x9CDBD
dw Logged_0x9E303
dw Logged_0x9E308
dw Logged_0x9E31C
dw Logged_0x9E333
dw Logged_0x9E338
dw Logged_0x9CD23
Logged_0x9E2ED:
call Logged_0x9CC87
ld b,$2E
ld hl,$4740
call Logged_0x3BB8
ld b,$2E
ld hl,$4740
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E303:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9E308:
ld a,[bc]
and $01
ret nz
ld hl,$D198
dec [hl]
ld a,[hl]
cp $6B
jp z,Logged_0x9CE1F
cp $58
ret nz
jp Logged_0x9CD03
Logged_0x9E31C:
ld a,[bc]
cp $3C
ret c
ld a,$03
ld hl,$D19E
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E333:
ld c,$14
jp Logged_0x9CD0A
Logged_0x9E338:
ld a,[bc]
and $03
ret z
ld hl,$D190
dec [hl]
ld a,[hl]
cp $20
ret nz
jp Logged_0x9CD03
Logged_0x9E347:
call Logged_0x9E350
call Logged_0x9F7A2
jp Logged_0x9F75C
Logged_0x9E350:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E376
dw Logged_0x9E384
dw Logged_0x9E391
dw Logged_0x9E3A8
dw Logged_0x9E3B0
dw Logged_0x9E384
dw Logged_0x9E391
dw Logged_0x9E3A8
dw Logged_0x9E3C2
dw Logged_0x9E3E4
dw Logged_0x9E3F3
dw Logged_0x9E402
dw Logged_0x9E40B
dw Logged_0x9E41A
dw Logged_0x9E429
dw Logged_0x9CD23
Logged_0x9E376:
ld hl,$D190
ld de,$6C78
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E384:
ld hl,$D190
dec [hl]
inc l
dec [hl]
ld a,[hl]
cp $44
ret nz
jp Logged_0x9CD03
Logged_0x9E391:
ld a,[bc]
cp $1E
ret c
ld hl,$D196
ld a,[hl]
inc a
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C4
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E3A8:
ld a,[$D196]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9E3B0:
ld a,[bc]
cp $0A
ret c
ld hl,$D190
ld de,$8478
ld a,$03
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E3C2:
ld a,[bc]
cp $3C
ret c
ld a,$08
ld [$D800],a
ld hl,$D1A0
ld de,$5050
ld a,$05
call Logged_0x9CCF9
ld hl,$D198
ld de,$4050
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E3E4:
ld a,[bc]
cp $5A
ret c
ld a,$06
ld hl,$D1A6
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E3F3:
ld a,[bc]
cp $04
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7A
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E402:
ld a,[$D1A6]
cp $07
ret nz
jp Logged_0x9CD03
Logged_0x9E40B:
ld a,[bc]
cp $08
ret c
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E41A:
ld a,[bc]
cp $14
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$AC
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E429:
ld a,[bc]
and $03
ret nz
ld hl,$D198
inc [hl]
ld a,[hl]
cp $80
ret nz
jp Logged_0x9CD03
Logged_0x9E438:
ld hl,$D190
ld de,$40B0
ld a,$02
call Logged_0x9CCF9
ld hl,$D198
ld de,$4450
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9F7BB
Logged_0x9E451:
call Logged_0x9E457
jp Logged_0x9F7BB
Logged_0x9E457:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E469
dw Logged_0x9E474
dw Logged_0x9E483
dw Logged_0x9E494
dw Logged_0x9E4A5
dw Logged_0x9CD2C
Logged_0x9E469:
ld hl,$D191
dec [hl]
ld a,[hl]
cp $56
ret nz
jp Logged_0x9CD03
Logged_0x9E474:
ld a,[bc]
cp $3C
ret c
ld a,$03
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E483:
ld a,[$D192]
cp $04
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E494:
ld a,[$D192]
cp $06
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$32
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E4A5:
ld a,[$D192]
cp $07
ret nz
jp Logged_0x9CD03
Logged_0x9E4AE:
ld hl,$D190
ld de,$8040
ld a,$01
call Logged_0x9CCF9
ld hl,$D198
ld de,$505C
ld a,$01
call Logged_0x9CCF9
ld hl,$D19B
set 1,[hl]
call Logged_0x9F7DC
jp Logged_0x9F821
Logged_0x9E4CF:
call Logged_0x9E4D8
call Logged_0x9F7DC
jp Logged_0x9F821
Logged_0x9E4D8:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E4F0
dw Logged_0x9CDBD
dw Logged_0x9E506
dw Logged_0x9E50B
dw Logged_0x9E51B
dw Logged_0x9E52A
dw Logged_0x9E532
dw Logged_0x9E541
dw Logged_0x9CD30
Logged_0x9E4F0:
call Logged_0x9CC87
ld b,$2E
ld hl,$46C0
call Logged_0x3BB8
ld b,$2E
ld hl,$46C0
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E506:
ld c,$28
jp Logged_0x9CD0A
Logged_0x9E50B:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $7E
jp z,Logged_0x9CE1F
cp $58
ret nz
jp Logged_0x9CD03
Logged_0x9E51B:
ld a,[bc]
cp $3C
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E52A:
ld a,[$D196]
cp $03
jp Logged_0x9CD03
Logged_0x9E532:
ld a,[bc]
cp $64
ret c
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E541:
ld a,[bc]
cp $3C
ret c
xor a
ld [$D19E],a
jp Logged_0x9CD03
Logged_0x9E54C:
call Logged_0x9E552
jp Logged_0x9F857
Logged_0x9E552:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E562
dw Logged_0x9CDBD
dw Logged_0x9E578
dw Logged_0x9E58A
dw Logged_0x9CD34
Logged_0x9E562:
call Logged_0x9CC87
ld b,$2E
ld hl,$4640
call Logged_0x3BB8
ld b,$2E
ld hl,$4640
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E578:
ld a,[bc]
cp $14
ret c
ld hl,$D190
ld de,$7850
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E58A:
ld a,[bc]
and $01
ret nz
ld hl,$D190
dec [hl]
ld a,[hl]
cp $50
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$62
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E5A1:
ld hl,$D190
ld de,$204C
ld a,$01
call Logged_0x9CCF9
ld hl,$D198
ld de,$5060
ld a,$04
call Logged_0x9CCF9
jp Logged_0x9F86A
Logged_0x9E5BA:
call Logged_0x9E5C0
jp Logged_0x9F86A
Logged_0x9E5C0:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E5E2
dw Logged_0x9E5F6
dw Logged_0x9E605
dw Logged_0x9E60A
dw Logged_0x9E61A
dw Logged_0x9E61F
dw Logged_0x9E61A
dw Logged_0x9E60A
dw Logged_0x9E61A
dw Logged_0x9E61F
dw Logged_0x9E62E
dw Logged_0x9E63D
dw Logged_0x9E64C
dw Logged_0x9CD2C
Logged_0x9E5E2:
ld a,[bc]
and $01
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $31
jp z,Logged_0x9CE1F
cp $44
ret nz
jp Logged_0x9CD03
Logged_0x9E5F6:
ld a,[bc]
cp $3C
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E605:
ld c,$2D
jp Logged_0x9CD0A
Logged_0x9E60A:
ld d,$5C
ld a,[bc]
and $03
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp d
ret nz
jp Logged_0x9CD03
Logged_0x9E61A:
ld c,$08
jp Logged_0x9CD0A
Logged_0x9E61F:
ld a,[bc]
and $03
ret nz
ld hl,$D190
dec [hl]
ld a,[hl]
cp $44
ret nz
jp Logged_0x9CD03
Logged_0x9E62E:
ld a,[bc]
cp $1E
ret c
ld a,$01
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E63D:
ld a,[bc]
cp $3C
ret c
ld a,$03
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E64C:
ld a,[$D19E]
cp $05
ret nz
jp Logged_0x9CD03
Logged_0x9E655:
ld hl,$D190
ld de,$4058
ld a,$02
call Logged_0x9CCF9
ld hl,$D198
ld de,$5858
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9F8DA
Logged_0x9E66E:
call Logged_0x9E674
jp Logged_0x9F8DA
Logged_0x9E674:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E688
dw Logged_0x9E69C
dw Logged_0x9E6A7
dw Logged_0x9E6B8
dw Logged_0x9E6C0
dw Logged_0x9E6C5
dw Logged_0x9CD30
Logged_0x9E688:
ld a,[bc]
and $01
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $45
jp z,Logged_0x9CE1F
cp $58
ret nz
jp Logged_0x9CD03
Logged_0x9E69C:
ld a,$03
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E6A7:
ld a,[$D192]
cp $04
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E6B8:
ld a,[$D196]
and a
ret nz
jp Logged_0x9CD03
Logged_0x9E6C0:
ld c,$2D
jp Logged_0x9CD0A
Logged_0x9E6C5:
call Logged_0x9E6D7
ld a,[bc]
and $03
ret nz
ld hl,$D198
inc [hl]
ld a,[hl]
cp $78
ret nz
jp Logged_0x9CD03
Logged_0x9E6D7:
ld hl,$D19F
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0x9E6E6
cp $10
ret c
xor a
ld [hl],a
ret
Logged_0x9E6E6:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9E6EF:
ld hl,$D190
ld de,$5650
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9F91F
Logged_0x9E6FD:
call Logged_0x9E703
jp Logged_0x9F91F
Logged_0x9E703:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E71F
dw Logged_0x9CDBD
dw Logged_0x9E735
dw Logged_0x9E747
dw Logged_0x9E750
dw Logged_0x9E759
dw Logged_0x9E779
dw Logged_0x9E787
dw Logged_0x9E78E
dw Logged_0x9E793
dw Logged_0x9CD16
Logged_0x9E71F:
call Logged_0x9CC87
ld b,$2E
ld hl,$5080
call Logged_0x3BB8
ld b,$2E
ld hl,$5080
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E735:
ld a,[bc]
cp $2D
ret c
ld hl,$D190
ld de,$5650
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E747:
ld a,[$D196]
cp $02
ret nz
jp Logged_0x9CD03
Logged_0x9E750:
ld a,[$D196]
cp $01
ret nz
jp Logged_0x9CD03
Logged_0x9E759:
ld a,[bc]
cp $14
ret c
xor a
ld [$D196],a
ld a,$08
ld [$D800],a
ld b,$2E
ld c,$40
ld hl,$4800
ld de,$C000
call Logged_0x3B2B
call Logged_0x9CD40
jp Logged_0x9CD03
Logged_0x9E779:
ld hl,$4840
Logged_0x9E77C:
call Logged_0x9CD74
ld b,$2E
call Logged_0x3BB8
jp Logged_0x9CD03
Logged_0x9E787:
ld a,[bc]
and $01
ret nz
jp Logged_0x9CDBD
Logged_0x9E78E:
ld hl,$4880
jr Logged_0x9E77C
Logged_0x9E793:
ld a,[bc]
and $03
ret nz
jp Logged_0x9CDBD
Logged_0x9E79A:
ld hl,$D198
ld de,$4E54
ld a,$01
call Logged_0x9CCF9
ld hl,$D190
ld de,$1048
ld a,$03
call Logged_0x9CCF9
jp Logged_0x9F991
Logged_0x9E7B3:
call Logged_0x9E7B9
jp Logged_0x9F991
Logged_0x9E7B9:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E7D9
dw Logged_0x9CDBD
dw Logged_0x9E7EF
dw Logged_0x9E7FF
dw Logged_0x9E80E
dw Logged_0x9E827
dw Logged_0x9E836
dw Logged_0x9E844
dw Logged_0x9E84B
dw Logged_0x9E844
dw Logged_0x9E850
dw Logged_0x9E844
dw Logged_0x9CD16
Logged_0x9E7D9:
call Logged_0x9CC87
ld b,$2E
ld hl,$4540
call Logged_0x3BB8
ld b,$2E
ld hl,$4540
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E7EF:
ld hl,$D190
inc [hl]
ld a,[hl]
cp $2C
jp z,Logged_0x9CE1F
cp $52
ret nz
jp Logged_0x9CD03
Logged_0x9E7FF:
ld a,[bc]
cp $32
ret c
ld a,$04
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E80E:
ld a,[$D196]
cp $03
ret nz
ld a,$02
ld hl,$D19E
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E827:
ld a,[bc]
cp $30
ret c
ld a,$01
ld hl,$D19E
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E836:
ld hl,$4580
Logged_0x9E839:
call Logged_0x9CD74
ld b,$2E
call Logged_0x3BB8
jp Logged_0x9CD03
Logged_0x9E844:
ld a,[bc]
and $01
ret nz
jp Logged_0x9CDBD
Logged_0x9E84B:
ld hl,$45C0
jr Logged_0x9E839
Logged_0x9E850:
ld hl,$4600
jr Logged_0x9E839
Logged_0x9E855:
ld hl,$D190
ld de,$9048
ld a,$01
call Logged_0x9CCF9
ld hl,$D198
ld de,$4858
ld a,$01
call Logged_0x9CCF9
call Logged_0x9F9C1
jp Logged_0x9F9F5
Logged_0x9E871:
call Logged_0x9E87A
call Logged_0x9F9C1
jp Logged_0x9F9F5
Logged_0x9E87A:
push bc
call Logged_0x9EA9E
call Logged_0x9EAB4
pop bc
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E89C
dw Logged_0x9CDBD
dw Logged_0x9E8B2
dw Logged_0x9E8B7
dw Logged_0x9E8B2
dw Logged_0x9E8C7
dw Logged_0x9E8D6
dw Logged_0x9E8C7
dw Logged_0x9E905
dw Logged_0x9CD3C
Logged_0x9E89C:
call Logged_0x9CC87
ld b,$2E
ld hl,$47C0
call Logged_0x3BB8
ld b,$2E
ld hl,$47C0
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E8B2:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9E8B7:
ld hl,$D190
dec [hl]
ld a,[hl]
cp $76
jp z,Logged_0x9CE1F
cp $50
ret nz
jp Logged_0x9CD03
Logged_0x9E8C7:
ld a,[bc]
cp $1A
ret c
ld a,$02
ld hl,$D196
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9E8D6:
ld a,[$D196]
cp $01
ret nz
Logged_0x9E8DC:
ld hl,$D1D0
ld de,$4854
ld a,$03
call Logged_0x9CCF9
ld hl,$D1D8
ld de,$4458
ld a,$03
call Logged_0x9CCF9
ld a,$01
ld [$D1E0],a
ld [$D1E1],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$32
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E905:
ld a,[$D196]
cp $01
ret nz
ld a,$08
ld [$D800],a
ld a,$02
ld hl,$D19E
call Logged_0x3B93
jr Logged_0x9E8DC
Logged_0x9E91A:
ld hl,$D198
ld de,$5840
ld a,$01
call Logged_0x9CCF9
ld hl,$D1A0
ld de,$5850
ld a,$01
call Logged_0x9CCF9
ld hl,$D1A8
ld de,$5860
ld a,$01
call Logged_0x9CCF9
ld hl,$D1B0
ld de,$5840
ld a,$04
call Logged_0x9CCF9
ld hl,$D1B8
ld de,$5850
ld a,$04
call Logged_0x9CCF9
ld hl,$D1C0
ld de,$5860
ld a,$04
call Logged_0x9CCF9
jp Logged_0x9FA48
Logged_0x9E95F:
call Logged_0x9E965
jp Logged_0x9FA48
Logged_0x9E965:
push bc
call Logged_0x9EA9E
call Logged_0x9EAB4
pop bc
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9E9A3
dw Logged_0x9CDBD
dw Logged_0x9E9B9
dw Logged_0x9E9CB
dw Logged_0x9E9DA
dw Logged_0x9E9DF
dw Logged_0x9E9F6
dw Logged_0x9EA1B
dw Logged_0x9EA2A
dw Logged_0x9EA39
dw Logged_0x9E9DA
dw Logged_0x9E9DF
dw Logged_0x9EA49
dw Logged_0x9EA61
dw Logged_0x9EA2A
dw Logged_0x9EA70
dw Logged_0x9E9DA
dw Logged_0x9E9DF
dw Logged_0x9EA74
dw Logged_0x9EA7F
dw Logged_0x9EA2A
dw Logged_0x9EA8E
dw Logged_0x9EA93
dw Logged_0x9CD2C
Logged_0x9E9A3:
call Logged_0x9CC87
ld b,$2E
ld hl,$4680
call Logged_0x3BB8
ld b,$2E
ld hl,$4680
call Logged_0x3BCE
jp Logged_0x9CD03
Logged_0x9E9B9:
ld a,[bc]
cp $28
ret c
ld hl,$D190
ld de,$4690
ld a,$02
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9E9CB:
ld a,[bc]
and $01
ret nz
ld hl,$D191
dec [hl]
ld a,[hl]
cp $44
ret nz
jp Logged_0x9CD03
Logged_0x9E9DA:
ld c,$2D
jp Logged_0x9CD0A
Logged_0x9E9DF:
ld a,[bc]
and $03
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $4E
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9E9F6:
xor a
ld [$D19E],a
Logged_0x9E9FA:
ld hl,$D1D0
ld de,$4C40
ld a,$03
call Logged_0x9CCF9
ld hl,$D1D8
ld de,$4C48
ld a,$03
call Logged_0x9CCF9
ld a,$01
ld [$D1E0],a
ld [$D1E1],a
jp Logged_0x9CD03
Logged_0x9EA1B:
ld a,[bc]
cp $14
ret c
ld a,$05
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9EA2A:
ld a,[bc]
and $03
ret nz
ld hl,$D190
dec [hl]
ld a,[hl]
cp $46
ret nz
jp Logged_0x9CD03
Logged_0x9EA39:
ld e,$54
Logged_0x9EA3B:
ld a,[bc]
and $03
ret nz
ld hl,$D191
inc [hl]
ld a,[hl]
cp e
ret nz
jp Logged_0x9CD03
Logged_0x9EA49:
xor a
ld [$D1A6],a
call Logged_0x9E9FA
ld b,$10
Logged_0x9EA52:
ld a,[$D1D1]
add a,b
ld [$D1D1],a
ld a,[$D1D9]
add a,b
ld [$D1D9],a
ret
Logged_0x9EA61:
ld a,[bc]
cp $14
ret c
ld a,$05
ld hl,$D1BE
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9EA70:
ld e,$64
jr Logged_0x9EA3B
Logged_0x9EA74:
xor a
ld [$D1AE],a
call Logged_0x9E9FA
ld b,$20
jr Logged_0x9EA52
Logged_0x9EA7F:
ld a,[bc]
cp $14
ret c
ld a,$05
ld hl,$D1C6
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9EA8E:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9EA93:
ld hl,$D191
inc [hl]
ld a,[hl]
cp $90
ret nz
jp Logged_0x9CD03
Logged_0x9EA9E:
ld a,[$D1E0]
and a
ret z
ld de,$6C16
ld hl,$D1D0
call Logged_0x3C25
ret nz
ld [$D1E0],a
ld [$D1D6],a
ret
Logged_0x9EAB4:
ld a,[$D1E1]
and a
ret z
ld de,$6C41
ld hl,$D1D8
call Logged_0x3C25
ret nz
ld [$D1E1],a
ld [$D1DE],a
ret
Logged_0x9EACA:
call Logged_0x9EAD3
call Logged_0x9FAB4
jp Logged_0x9FAEA
Logged_0x9EAD3:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9EAF7
dw Logged_0x9EB05
dw Logged_0x9EB18
dw Logged_0x9EB24
dw Logged_0x9EB3D
dw Logged_0x9EB47
dw Logged_0x9EB5C
dw Logged_0x9EB68
dw Logged_0x9EB73
dw Logged_0x9EB8A
dw Logged_0x9EB9A
dw Logged_0x9EB9F
dw Logged_0x9EBAD
dw Logged_0x9CDCD
dw Logged_0x9CD30
Logged_0x9EAF7:
ld hl,$D190
ld de,$204C
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9EB05:
ld a,[bc]
and $01
ret nz
ld hl,$D190
inc [hl]
ld a,[hl]
cp $A8
ret nz
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9EB18:
ld a,[bc]
cp $1E
ret c
ld a,$08
ld [$D800],a
jp Logged_0x9CD03
Logged_0x9EB24:
ld hl,$D190
ld de,$2050
ld a,$02
call Logged_0x9CCF9
ld hl,$D198
ld de,$4820
ld a,$01
call Logged_0x9CCF9
jp Logged_0x9CD03
Logged_0x9EB3D:
ld a,[bc]
cp $50
call z,Logged_0x9CD03
call Logged_0x9EBBC
ret
Logged_0x9EB47:
call Logged_0x9EBBC
call Logged_0x9EBC7
ld a,[hl]
cp $48
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9EB5C:
ld a,[bc]
cp $02
ret c
ld hl,$D199
dec [hl]
dec [hl]
jp Logged_0x9CD03
Logged_0x9EB68:
ld a,[bc]
cp $06
ret c
xor a
ld [$D196],a
jp Logged_0x9CD03
Logged_0x9EB73:
ld a,[bc]
cp $3C
ret c
ld a,$02
ld hl,$D19E
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9EB8A:
ld a,[$D19E]
cp $03
ret nz
xor a
ld [$D19F],a
ld [$D1A0],a
jp Logged_0x9CD03
Logged_0x9EB9A:
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9EB9F:
call Logged_0x9EBC7
ld a,[hl]
cp $88
ret nz
xor a
ld [$D19E],a
jp Logged_0x9CD03
Logged_0x9EBAD:
ld a,[bc]
cp $2D
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8D
ld [$FF00+hSFXIDLow],a
jp Logged_0x9CD03
Logged_0x9EBBC:
ld a,[$C08F]
and $03
ret nz
ld hl,$D190
inc [hl]
ret
Logged_0x9EBC7:
ld hl,$D19F
call Logged_0x9EBD3
ld hl,$D199
add a,[hl]
ld [hl],a
ret
Logged_0x9EBD3:
ld a,[hl]
inc [hl]
cp $30
jr c,Logged_0x9EBDD
xor a
ld [hl],a
jr Logged_0x9EBD3
Logged_0x9EBDD:
ld c,a
ld b,$00
ld hl,$6BE6
add hl,bc
ld a,[hl]
ret
LoggedData_0x9EBE6:
INCBIN "baserom.gbc", $9EBE6, $9EC6C - $9EBE6
Logged_0x9EC6C:
call Logged_0x9EC73
call Logged_0x9FBA9
ret
Logged_0x9EC73:
ld a,[$D013]
rst JumpList
dw Logged_0x9CD11
dw Logged_0x9EC9B
dw Logged_0x9ECEF
dw Logged_0x9ED14
dw Logged_0x9ED1C
dw Logged_0x9ED3C
dw Logged_0x9ED54
dw Logged_0x9ED70
dw Logged_0x9ED77
dw Logged_0x9ED7C
dw Logged_0x9ED9C
dw Logged_0x9EDB7
dw Logged_0x9EDC2
dw Logged_0x9EDF1
dw Logged_0x9EDF9
dw Logged_0x9EE17
dw Logged_0x9EE23
dw Logged_0x9EE57
Logged_0x9EC9B:
ld hl,$D190
ld a,$78
ld [hli],a
ld [hl],$52
ld a,$01
ld hl,$D196
call Logged_0x3B93
ld hl,$D198
ld a,$91
ld [hli],a
ld [hl],$44
ld a,$02
ld hl,$D19E
call Logged_0x3B93
ld hl,$D1A0
ld a,$91
ld [hli],a
ld [hl],$60
ld a,$03
ld hl,$D1A6
call Logged_0x3B93
ld hl,$D180
ld a,$BC
ld [hli],a
ld [hl],$50
ld a,$02
ld [$D188],a
ld hl,$D810
ld [hl],$99
inc l
ld [hl],$6E
inc l
ld [hl],$E7
inc l
ld [hl],$6E
inc l
ld [hl],$33
inc l
ld [hl],$6F
jp Logged_0x9CD03
Logged_0x9ECEF:
call Logged_0x9EE5B
ld a,[$C08F]
and $01
ret nz
ld hl,$D190
dec [hl]
ld hl,$D198
dec [hl]
ld hl,$D1A0
dec [hl]
ld hl,$D180
dec [hl]
ld a,[hl]
cp $87
jp z,Logged_0x9CE1F
cp $74
ret nz
jp Logged_0x9CD03
Logged_0x9ED14:
call Logged_0x9EE5B
ld c,$3C
jp Logged_0x9CD0A
Logged_0x9ED1C:
call Logged_0x9EE5B
ld a,[$C08F]
and $03
ret nz
ld hl,$D190
inc [hl]
ld hl,$D198
inc [hl]
ld hl,$D1A0
inc [hl]
ld hl,$D180
inc [hl]
ld a,[hl]
cp $82
ret nz
jp Logged_0x9CD03
Logged_0x9ED3C:
call Logged_0x9EE5B
ld a,[$C08F]
and $03
ret nz
ld hl,$D180
inc [hl]
ld a,[hl]
cp $92
ret nz
xor a
ld [$D188],a
jp Logged_0x9CD03
Logged_0x9ED54:
call Logged_0x9EE5B
ret nc
ld hl,$D810
ld a,$82
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$E3
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$44
ld [hli],a
ld a,$70
ld [hli],a
jp Logged_0x9CD03
Logged_0x9ED70:
call Logged_0x9EE5B
ret nc
jp Logged_0x9CD03
Logged_0x9ED77:
ld c,$1E
jp Logged_0x9CD0A
Logged_0x9ED7C:
ld hl,$D1A8
ld a,$4C
ld [hli],a
ld [hl],$50
ld a,$04
ld hl,$D1AE
call Logged_0x3B93
xor a
ld [$D196],a
ld [$D19E],a
ld [$D1A6],a
ld [$D802],a
jp Logged_0x9CD03
Logged_0x9ED9C:
call Logged_0x9EDA4
ld c,$78
jp Logged_0x9CD0A
Logged_0x9EDA4:
ld hl,$D802
inc [hl]
ld a,[hl]
cp $0A
ret c
xor a
ld [hl],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EDB7:
ld a,$05
ld hl,$D1AE
call Logged_0x3B93
jp Logged_0x9CD03
Logged_0x9EDC2:
call Logged_0x9EDCE
ld a,[$D1AE]
cp $06
ret nz
jp Logged_0x9CD03
Logged_0x9EDCE:
ld hl,$D802
inc [hl]
ld a,[hl]
cp $0A
ret c
xor a
ld [hl],a
ld a,[$D1AA]
cp $09
jr nc,Logged_0x9EDE8
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EDE8:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$11
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EDF1:
call Logged_0x9EDCE
ld c,$5A
jp Logged_0x9CD0A
Logged_0x9EDF9:
call Logged_0x9EDCE
ld a,[$D014]
ld b,$01
cp $08
jr c,Logged_0x9EE0B
inc b
cp $10
jr c,Logged_0x9EE0B
inc b
Logged_0x9EE0B:
ld a,b
ld hl,$D1A8
add a,[hl]
ld [hl],a
cp $70
ret c
jp Logged_0x9CD03
Logged_0x9EE17:
call Logged_0x9EDCE
ld a,[$D802]
cp $09
ret nz
jp Logged_0x9CD03
Logged_0x9EE23:
call Logged_0x9EE2A
call Logged_0x9CD8D
ret
Logged_0x9EE2A:
ld hl,$D802
inc [hl]
ld a,[hl]
cp $0A
jr z,Logged_0x9EE3C
cp $14
jr z,Logged_0x9EE45
cp $1E
jr z,Logged_0x9EE4E
ret
Logged_0x9EE3C:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EE45:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EE4E:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$16
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9EE57:
call Logged_0x9CD16
ret
Logged_0x9EE5B:
ld bc,$D814
ld hl,$D1A0
call Logged_0x9EE77
ld bc,$D812
ld hl,$D198
call Logged_0x9EE77
ld bc,$D810
ld hl,$D190
call Logged_0x9EE77
ret
Logged_0x9EE77:
ld a,[bc]
ld e,a
inc c
ld a,[bc]
ld d,a
dec c
ld a,[de]
add a,[hl]
ld [hli],a
inc de
ld a,[de]
add a,[hl]
ld [hl],a
inc de
ld a,[de]
cp $80
jr nz,Logged_0x9EE92
ld de,$6E99
call Logged_0x9EE92
scf
ret
Logged_0x9EE92:
ld a,e
ld [bc],a
inc c
ld a,d
ld [bc],a
and a
ret
LoggedData_0x9EE99:
INCBIN "baserom.gbc", $9EE99, $9F0A5 - $9EE99
Logged_0x9F0A5:
dec a
call Logged_0x3C5F
dec c
dec c
ld l,c
ld h,b
ret
Logged_0x9F0AE:
ld b,$2F
call Logged_0x3A66
ld a,[bc]
ret
Logged_0x9F0B5:
ld b,$1A
call Logged_0x3A66
ld a,[bc]
ret
Logged_0x9F0BC:
ld b,$2F
jp Logged_0x3A38
Logged_0x9F0C1:
ld b,$62
jp Logged_0x3A38
Logged_0x9F0C6:
ld b,$60
jp Logged_0x3A38
Logged_0x9F0CB:
ld b,$63
jp Logged_0x3A38
Logged_0x9F0D0:
ld a,[$D024]
cp $FF
ret nz
set 2,l
xor a
ld [hli],a
ld [hli],a
ld a,b
ld [hl],a
ld b,h
ld c,l
ret
Logged_0x9F0E0:
ld bc,$D19E
call Logged_0x9F0E9
ld bc,$D196
Logged_0x9F0E9:
ld a,[bc]
and a
ret z
ld hl,$7110
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $05
jr z,Logged_0x9F103
cp $06
jr z,Logged_0x9F107
Logged_0x9F0FD:
ld de,$51FD
jp Logged_0x9F0BC
Logged_0x9F103:
ld b,$00
jr Logged_0x9F109
Logged_0x9F107:
ld b,$07
Logged_0x9F109:
call Logged_0x9F0D0
jr z,Logged_0x9F0E9
jr Logged_0x9F0FD
LoggedData_0x9F110:
INCBIN "baserom.gbc", $9F110, $9F11E - $9F110
Logged_0x9F11E:
ld bc,$D196
Logged_0x9F121:
ld a,[bc]
and a
ret z
ld hl,$7140
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F137
Logged_0x9F131:
ld de,$5377
jp Logged_0x9F0BC
Logged_0x9F137:
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F121
jr Logged_0x9F131
LoggedData_0x9F140:
INCBIN "baserom.gbc", $9F140, $9F146 - $9F140
Logged_0x9F146:
ld bc,$D196
call Logged_0x9F15E
ld bc,$D19E
call Logged_0x9F15E
ld de,$D190
call Logged_0x9FB97
ld de,$D198
jp Logged_0x9FBA0
Logged_0x9F15E:
ld a,[bc]
and a
ret z
ld hl,$7170
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5453
jp Logged_0x9F0BC
LoggedData_0x9F170:
INCBIN "baserom.gbc", $9F170, $9F174 - $9F170
Logged_0x9F174:
ld bc,$D1A6
call Logged_0x9F189
ld bc,$D196
call Logged_0x9F189
ld bc,$D19E
call Logged_0x9F189
ld bc,$D1AE
Logged_0x9F189:
ld a,[bc]
and a
ret z
ld hl,$71C4
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $06
jr z,Logged_0x9F1A8
cp $08
jr z,Logged_0x9F1AC
cp $05
call z,Logged_0x9F1B5
Logged_0x9F1A2:
ld de,$546F
jp Logged_0x9F0BC
Logged_0x9F1A8:
ld b,$07
jr Logged_0x9F1AE
Logged_0x9F1AC:
ld b,$00
Logged_0x9F1AE:
call Logged_0x9F0D0
jr z,Logged_0x9F189
jr Logged_0x9F1A2
Logged_0x9F1B5:
ld a,[$D024]
cp $FF
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0A
ld [$FF00+hSFXIDLow],a
ret
LoggedData_0x9F1C4:
INCBIN "baserom.gbc", $9F1C4, $9F1D8 - $9F1C4
Logged_0x9F1D8:
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$71ED
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5615
jp Logged_0x9F0BC
LoggedData_0x9F1ED:
INCBIN "baserom.gbc", $9F1ED, $9F1F3 - $9F1ED
Logged_0x9F1F3:
ld de,$D190
call Logged_0x9FB75
ld de,$D190
call Logged_0x9FB97
ld bc,$D196
call Logged_0x9F20B
ld de,$D190
jp Logged_0x9FB7E
Logged_0x9F20B:
ld a,[bc]
and a
ret z
ld hl,$721D
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$57A1
jp Logged_0x9F0BC
LoggedData_0x9F21D:
INCBIN "baserom.gbc", $9F21D, $9F225 - $9F21D
Logged_0x9F225:
ld bc,$D196
call Logged_0x9F22E
ld bc,$D19E
Logged_0x9F22E:
ld a,[bc]
and a
ret z
ld hl,$7240
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5911
jp Logged_0x9F0BC
LoggedData_0x9F240:
INCBIN "baserom.gbc", $9F240, $9F244 - $9F240
Logged_0x9F244:
ld bc,$D1AE
ld a,[bc]
and a
ret z
ld hl,$7262
call Logged_0x9F0A5
call Logged_0x9F0B5
cp $02
jr z,Logged_0x9F266
cp $01
jr z,Logged_0x9F27A
Logged_0x9F25B:
ld de,$4E16
call Logged_0x9F0C1
ret
LoggedData_0x9F262:
INCBIN "baserom.gbc", $9F262, $9F266 - $9F262
Logged_0x9F266:
call Logged_0x9F26B
jr Logged_0x9F25B
Logged_0x9F26B:
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F27A:
call Logged_0x9F27F
jr Logged_0x9F25B
Logged_0x9F27F:
ld d,h
ld e,l
set 1,e
ld a,[de]
ld c,a
set 0,e
set 2,e
ld a,[de]
and a
ld a,$01
jr nz,Logged_0x9F295
cp c
ret z
ld a,$01
ld [de],a
ret
Logged_0x9F295:
cp c
ret nz
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$11
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F2A2:
ld bc,$D196
call Logged_0x9F2B1
ld bc,$D1A6
call Logged_0x9F2B1
ld bc,$D19E
Logged_0x9F2B1:
ld a,[bc]
and a
ret z
ld hl,$72C3
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5971
jp Logged_0x9F0BC
LoggedData_0x9F2C3:
INCBIN "baserom.gbc", $9F2C3, $9F2CD - $9F2C3
Logged_0x9F2CD:
ld bc,$D196
Logged_0x9F2D0:
ld a,[bc]
and a
ret z
ld hl,$72EF
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $01
jr z,Logged_0x9F2E6
Logged_0x9F2E0:
ld de,$5A01
jp Logged_0x9F0BC
Logged_0x9F2E6:
ld b,$02
call Logged_0x9F0D0
jr z,Logged_0x9F2D0
jr Logged_0x9F2E0
LoggedData_0x9F2EF:
INCBIN "baserom.gbc", $9F2EF, $9F2F3 - $9F2EF
Logged_0x9F2F3:
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$731D
call Logged_0x9F0A5
call Logged_0x9F0B5
cp $03
call z,Logged_0x9F30E
ld de,$4279
call Logged_0x9F0C1
ret
Logged_0x9F30E:
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$6D
ld [$FF00+hSFXIDLow],a
ret
LoggedData_0x9F31D:
INCBIN "baserom.gbc", $9F31D, $9F323 - $9F31D
Logged_0x9F323:
ld de,$D190
call Logged_0x9FB97
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$733E
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5ABC
jp Logged_0x9F0BC
LoggedData_0x9F33E:
INCBIN "baserom.gbc", $9F33E, $9F340 - $9F33E
Logged_0x9F340:
ld bc,$D19E
call Logged_0x9F34F
ld bc,$D1A6
call Logged_0x9F34F
ld bc,$D196
Logged_0x9F34F:
ld a,[bc]
and a
ret z
ld hl,$7361
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5B06
jp Logged_0x9F0BC
LoggedData_0x9F361:
INCBIN "baserom.gbc", $9F361, $9F367 - $9F361
Logged_0x9F367:
ld de,$D198
call Logged_0x9FB4C
ld bc,$D196
call Logged_0x9F379
ld de,$D198
jp Logged_0x9FB6C
Logged_0x9F379:
ld a,[bc]
and a
ret z
ld hl,$738B
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5C9C
jp Logged_0x9F0BC
LoggedData_0x9F38B:
INCBIN "baserom.gbc", $9F38B, $9F38D - $9F38B
Logged_0x9F38D:
ld bc,$D196
call Logged_0x9F3A2
ld bc,$D19E
call Logged_0x9F3A2
ld bc,$D1A6
call Logged_0x9F3A2
ld bc,$D1AE
Logged_0x9F3A2:
ld a,[bc]
and a
ret z
ld hl,$73C1
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $04
jr z,Logged_0x9F3B8
Logged_0x9F3B2:
ld de,$5CE6
jp Logged_0x9F0BC
Logged_0x9F3B8:
ld b,$01
call Logged_0x9F0D0
jr z,Logged_0x9F3A2
jr Logged_0x9F3B2
LoggedData_0x9F3C1:
INCBIN "baserom.gbc", $9F3C1, $9F3CD - $9F3C1
Logged_0x9F3CD:
ld bc,$D19E
call Logged_0x9F3D6
ld bc,$D196
Logged_0x9F3D6:
ld a,[bc]
and a
ret z
ld hl,$73E8
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$5DCF
jp Logged_0x9F0BC
LoggedData_0x9F3E8:
INCBIN "baserom.gbc", $9F3E8, $9F3EE - $9F3E8
Logged_0x9F3EE:
ld bc,$D196
call Logged_0x9F3F7
ld bc,$D19E
Logged_0x9F3F7:
ld a,[bc]
and a
ret z
ld hl,$740E
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $03
call z,Logged_0x9F414
ld de,$5E69
jp Logged_0x9F0BC
LoggedData_0x9F40E:
INCBIN "baserom.gbc", $9F40E, $9F414 - $9F40E
Logged_0x9F414:
ld a,[$D024]
cp $FF
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$31
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F423:
ld bc,$D196
call Logged_0x9F42C
ld bc,$D19E
Logged_0x9F42C:
ld a,[bc]
and a
ret z
ld hl,$7452
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F446
cp $03
jr z,Logged_0x9F47E
Logged_0x9F440:
ld de,$5FA5
jp Logged_0x9F0BC
Logged_0x9F446:
call Logged_0x9F45A
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F42C
jr Logged_0x9F440
LoggedData_0x9F452:
INCBIN "baserom.gbc", $9F452, $9F45A - $9F452
Logged_0x9F45A:
ld a,[$D19A]
ld c,a
ld a,[$D19F]
ld b,a
and a
jr z,Logged_0x9F46B
ld a,$08
cp c
ret nz
jr Logged_0x9F46F
Logged_0x9F46B:
ld a,$07
cp c
ret nz
Logged_0x9F46F:
ld a,b
xor $01
ld [$D19F],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F47E:
call Logged_0x9F483
jr Logged_0x9F440
Logged_0x9F483:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F493
cp $1A
ret c
xor a
ld [de],a
ret
Logged_0x9F493:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F49C:
ld bc,$D196
call Logged_0x9F4B1
ld bc,$D19E
call Logged_0x9F4B1
ld bc,$D1A6
call Logged_0x9F4B1
ld bc,$D1AE
Logged_0x9F4B1:
ld a,[bc]
and a
ret z
ld hl,$74CB
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $01
jr z,Logged_0x9F4D3
cp $02
jr z,Logged_0x9F4EC
Logged_0x9F4C5:
ld de,$6206
jp Logged_0x9F0BC
LoggedData_0x9F4CB:
INCBIN "baserom.gbc", $9F4CB, $9F4D3 - $9F4CB
Logged_0x9F4D3:
call Logged_0x9F4D8
jr Logged_0x9F4C5
Logged_0x9F4D8:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $0C
ret c
xor a
ld [de],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$33
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F4EC:
call Logged_0x9F4D8
call Logged_0x9F4F4
jr Logged_0x9F4C5
Logged_0x9F4F4:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $10
ret c
xor a
ld [de],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$32
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F508:
ld de,$D190
call Logged_0x9FB97
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$7527
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $01
jr z,Logged_0x9F529
Logged_0x9F521:
ld de,$62D9
jp Logged_0x9F0BC
LoggedData_0x9F527:
INCBIN "baserom.gbc", $9F527, $9F529 - $9F527
Logged_0x9F529:
call Logged_0x9F52E
jr Logged_0x9F521
Logged_0x9F52E:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F53E
cp $0E
ret c
xor a
ld [de],a
ret
Logged_0x9F53E:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F547:
ld de,$D190
call Logged_0x9FB4C
ld bc,$D196
call Logged_0x9F559
ld de,$D190
jp Logged_0x9FB6C
Logged_0x9F559:
ld a,[bc]
and a
ret z
ld hl,$757C
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F573
cp $03
jr z,Logged_0x9F582
Logged_0x9F56D:
ld de,$63CE
jp Logged_0x9F0BC
Logged_0x9F573:
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F559
jr Logged_0x9F56D
LoggedData_0x9F57C:
INCBIN "baserom.gbc", $9F57C, $9F582 - $9F57C
Logged_0x9F582:
call Logged_0x9F587
jr Logged_0x9F56D
Logged_0x9F587:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F597
cp $10
ret c
xor a
ld [de],a
ret
Logged_0x9F597:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$40
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F5A0:
ld bc,$D1A6
call Logged_0x9F5BB
ld bc,$D1B6
call Logged_0x9F5BB
ld bc,$D196
call Logged_0x9F5BB
ld bc,$D19E
call Logged_0x9F5BB
ld bc,$D1AE
Logged_0x9F5BB:
ld a,[bc]
and a
ret z
ld hl,$75DD
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F5D1
Logged_0x9F5CB:
ld de,$6807
jp Logged_0x9F0BC
Logged_0x9F5D1:
call Logged_0x9F5E5
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F5BB
jr Logged_0x9F5CB
LoggedData_0x9F5DD:
INCBIN "baserom.gbc", $9F5DD, $9F5E5 - $9F5DD
Logged_0x9F5E5:
ld a,[$D192]
ld c,a
ld a,[$D197]
ld b,a
and a
ld a,$03
jr z,Logged_0x9F5F6
cp c
ret z
jr Logged_0x9F600
Logged_0x9F5F6:
cp c
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$BA
ld [$FF00+hSFXIDLow],a
Logged_0x9F600:
ld a,b
xor $01
ld [$D197],a
ret
Logged_0x9F607:
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$7620
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F624
Logged_0x9F61A:
ld de,$68FE
jp Logged_0x9F0BC
LoggedData_0x9F620:
INCBIN "baserom.gbc", $9F620, $9F624 - $9F620
Logged_0x9F624:
call Logged_0x9F629
jr Logged_0x9F61A
Logged_0x9F629:
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$85
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F638:
ld bc,$D196
call Logged_0x9F659
ld bc,$D19E
call Logged_0x9F659
ld bc,$D1A6
call Logged_0x9F659
ld bc,$D1AE
call Logged_0x9F659
ld bc,$D1B6
call Logged_0x9F659
ld bc,$D1BE
Logged_0x9F659:
ld a,[bc]
and a
ret z
ld hl,$767C
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $04
jr z,Logged_0x9F673
cp $02
jr z,Logged_0x9F684
Logged_0x9F66D:
ld de,$6A06
jp Logged_0x9F0BC
Logged_0x9F673:
ld b,$00
call Logged_0x9F0D0
jr z,Logged_0x9F659
jr Logged_0x9F66D
LoggedData_0x9F67C:
INCBIN "baserom.gbc", $9F67C, $9F684 - $9F67C
Logged_0x9F684:
call Logged_0x9F689
jr Logged_0x9F66D
Logged_0x9F689:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F699
cp $48
ret c
xor a
ld [de],a
ret
Logged_0x9F699:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F6A2:
ld bc,$D1A6
call Logged_0x9F6B1
ld bc,$D196
call Logged_0x9F6B1
ld bc,$D19E
Logged_0x9F6B1:
ld a,[bc]
and a
ret z
ld hl,$76EA
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F6CF
cp $05
jr z,Logged_0x9F6DD
cp $06
jr z,Logged_0x9F6E1
Logged_0x9F6C9:
ld de,$6AFC
jp Logged_0x9F0BC
Logged_0x9F6CF:
ld b,$03
call Logged_0x9F0D0
jr nz,Logged_0x9F6C9
ld a,$04
ld [$D19E],a
jr Logged_0x9F6B1
Logged_0x9F6DD:
ld b,$00
jr Logged_0x9F6E3
Logged_0x9F6E1:
ld b,$07
Logged_0x9F6E3:
call Logged_0x9F0D0
jr z,Logged_0x9F6B1
jr Logged_0x9F6C9
LoggedData_0x9F6EA:
INCBIN "baserom.gbc", $9F6EA, $9F6F8 - $9F6EA
Logged_0x9F6F8:
ld bc,$D196
call Logged_0x9F701
ld bc,$D19E
Logged_0x9F701:
ld a,[bc]
and a
ret z
ld hl,$7717
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F71D
Logged_0x9F711:
ld de,$6BEF
jp Logged_0x9F0BC
LoggedData_0x9F717:
INCBIN "baserom.gbc", $9F717, $9F71D - $9F717
Logged_0x9F71D:
call Logged_0x9F722
jr Logged_0x9F711
Logged_0x9F722:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F732
cp $0C
ret c
xor a
ld [de],a
ret
Logged_0x9F732:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F73B:
ld bc,$D196
call Logged_0x9F744
ld bc,$D19E
Logged_0x9F744:
ld a,[bc]
and a
ret z
ld hl,$7756
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$6CDC
jp Logged_0x9F0BC
LoggedData_0x9F756:
INCBIN "baserom.gbc", $9F756, $9F75C - $9F756
Logged_0x9F75C:
ld bc,$D196
call Logged_0x9F765
ld bc,$D1A6
Logged_0x9F765:
ld a,[bc]
and a
ret z
ld hl,$7794
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F783
cp $04
jr z,Logged_0x9F787
cp $06
jr z,Logged_0x9F78B
Logged_0x9F77D:
ld de,$6D42
jp Logged_0x9F0BC
Logged_0x9F783:
ld b,$00
jr Logged_0x9F78D
Logged_0x9F787:
ld b,$00
jr Logged_0x9F78D
Logged_0x9F78B:
ld b,$07
Logged_0x9F78D:
call Logged_0x9F0D0
jr z,Logged_0x9F765
jr Logged_0x9F77D
LoggedData_0x9F794:
INCBIN "baserom.gbc", $9F794, $9F7A2 - $9F794
Logged_0x9F7A2:
ld bc,$D19E
ld a,[bc]
and a
ret z
ld hl,$77B7
call Logged_0x9F0A5
call Logged_0x9F0B5
ld de,$4B43
jp Logged_0x9F0C6
LoggedData_0x9F7B7:
INCBIN "baserom.gbc", $9F7B7, $9F7BB - $9F7B7
Logged_0x9F7BB:
ld bc,$D196
call Logged_0x9F7C4
ld bc,$D19E
Logged_0x9F7C4:
ld a,[bc]
and a
ret z
ld hl,$77D6
call Logged_0x9F0A5
call Logged_0x9F0AE
ld de,$6E6E
jp Logged_0x9F0BC
LoggedData_0x9F7D6:
INCBIN "baserom.gbc", $9F7D6, $9F7DC - $9F7D6
Logged_0x9F7DC:
ld bc,$D196
Logged_0x9F7DF:
ld a,[bc]
and a
ret z
ld hl,$7802
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F7F9
cp $03
jr z,Logged_0x9F808
Logged_0x9F7F3:
ld de,$6FD5
jp Logged_0x9F0BC
Logged_0x9F7F9:
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F7DF
jr Logged_0x9F7F3
LoggedData_0x9F802:
INCBIN "baserom.gbc", $9F802, $9F808 - $9F802
Logged_0x9F808:
call Logged_0x9F80D
jr Logged_0x9F7F3
Logged_0x9F80D:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $1A
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F821:
ld bc,$D19E
ld a,[bc]
and a
ret z
ld hl,$783A
call Logged_0x9F0A5
call Logged_0x9F0B5
cp $01
jr z,Logged_0x9F83E
Logged_0x9F834:
ld de,$6BA0
jp Logged_0x9F0C1
LoggedData_0x9F83A:
INCBIN "baserom.gbc", $9F83A, $9F83E - $9F83A
Logged_0x9F83E:
call Logged_0x9F843
jr Logged_0x9F834
Logged_0x9F843:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $0E
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F857:
ld hl,$D196
ld a,[hld]
and a
ret z
dec l
ld de,$7154
call Logged_0x9F0AE
ld de,$7131
jp Logged_0x9F0BC
Logged_0x9F86A:
ld bc,$D196
call Logged_0x9F873
ld bc,$D19E
Logged_0x9F873:
ld a,[bc]
and a
ret z
ld hl,$7899
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F8A3
cp $03
jr z,Logged_0x9F88D
Logged_0x9F887:
ld de,$7157
jp Logged_0x9F0BC
Logged_0x9F88D:
call Logged_0x9F8C1
ld b,$05
call Logged_0x9F0D0
jr z,Logged_0x9F873
jr Logged_0x9F887
LoggedData_0x9F899:
INCBIN "baserom.gbc", $9F899, $9F8A3 - $9F899
Logged_0x9F8A3:
call Logged_0x9F8A8
jr Logged_0x9F887
Logged_0x9F8A8:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F8B8
cp $1A
ret c
xor a
ld [de],a
ret
Logged_0x9F8B8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F8C1:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $01
jr z,Logged_0x9F8D1
cp $0A
ret c
xor a
ld [de],a
ret
Logged_0x9F8D1:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$C4
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9F8DA:
ld bc,$D196
call Logged_0x9F8E3
ld bc,$D19E
Logged_0x9F8E3:
ld a,[bc]
and a
ret z
ld hl,$7919
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $03
jr z,Logged_0x9F8F9
Logged_0x9F8F3:
ld de,$72AB
jp Logged_0x9F0BC
Logged_0x9F8F9:
ld b,$00
call Logged_0x9F912
ld hl,$D197
ld a,[hl]
and a
ret nz
ld a,[$D192]
cp $07
ret nz
ld a,$08
ld [$D800],a
ld [hl],$01
ret
Logged_0x9F912:
call Logged_0x9F0D0
jr z,Logged_0x9F8E3
jr Logged_0x9F8F3
LoggedData_0x9F919:
INCBIN "baserom.gbc", $9F919, $9F91F - $9F919
Logged_0x9F91F:
ld bc,$D196
Logged_0x9F922:
ld a,[bc]
and a
ret z
ld hl,$794F
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $01
jr z,Logged_0x9F93C
cp $02
jr z,Logged_0x9F943
Logged_0x9F936:
ld de,$7460
jp Logged_0x9F0BC
Logged_0x9F93C:
call Logged_0x9F953
ld b,$02
jr Logged_0x9F948
Logged_0x9F943:
call Logged_0x9F953
ld b,$01
Logged_0x9F948:
call Logged_0x9F0D0
jr z,Logged_0x9F922
jr Logged_0x9F936
LoggedData_0x9F94F:
INCBIN "baserom.gbc", $9F94F, $9F953 - $9F94F
Logged_0x9F953:
ld a,[$D192]
ld c,a
ld a,[$D197]
ld b,a
and a
jr z,Logged_0x9F96A
ld a,c
cp $02
ret z
cp $04
ret z
cp $05
ret z
jr Logged_0x9F98A
Logged_0x9F96A:
ld a,c
cp $02
jr z,Logged_0x9F978
cp $04
jr z,Logged_0x9F982
cp $05
jr z,Logged_0x9F982
ret nz
Logged_0x9F978:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$11
ld [$FF00+hSFXIDLow],a
jr Logged_0x9F98A
Logged_0x9F982:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F1
ld [$FF00+hSFXIDLow],a
Logged_0x9F98A:
ld a,b
xor $01
ld [$D197],a
ret
Logged_0x9F991:
ld bc,$D196
call Logged_0x9F99A
ld bc,$D19E
Logged_0x9F99A:
ld a,[bc]
and a
ret z
ld hl,$79B9
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $04
jr z,Logged_0x9F9B0
Logged_0x9F9AA:
ld de,$7611
jp Logged_0x9F0BC
Logged_0x9F9B0:
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9F99A
jr Logged_0x9F9AA
LoggedData_0x9F9B9:
INCBIN "baserom.gbc", $9F9B9, $9F9C1 - $9F9B9
Logged_0x9F9C1:
ld bc,$D1DE
call Logged_0x9F9D0
ld bc,$D1D6
call Logged_0x9F9D0
ld bc,$D196
Logged_0x9F9D0:
ld a,[bc]
and a
ret z
ld hl,$79EF
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9F9E6
Logged_0x9F9E0:
ld de,$766D
jp Logged_0x9F0BC
Logged_0x9F9E6:
ld b,$01
call Logged_0x9F0D0
jr z,Logged_0x9F9D0
jr Logged_0x9F9E0
LoggedData_0x9F9EF:
INCBIN "baserom.gbc", $9F9EF, $9F9F5 - $9F9EF
Logged_0x9F9F5:
ld bc,$D19E
ld a,[bc]
and a
ret z
ld hl,$7A12
call Logged_0x9F0A5
call Logged_0x9F0B5
cp $01
jr z,Logged_0x9FA16
cp $02
jr z,Logged_0x9FA2F
Logged_0x9FA0C:
ld de,$4806
jp Logged_0x9F0CB
LoggedData_0x9FA12:
INCBIN "baserom.gbc", $9FA12, $9FA16 - $9FA12
Logged_0x9FA16:
call Logged_0x9FA1B
jr Logged_0x9FA0C
Logged_0x9FA1B:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $1B
ret c
xor a
ld [de],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$35
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FA2F:
call Logged_0x9FA34
jr Logged_0x9FA0C
Logged_0x9FA34:
ld de,$D19F
ld a,[de]
inc a
ld [de],a
cp $1B
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$80
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FA48:
ld bc,$D1D6
call Logged_0x9FA7B
ld bc,$D1DE
call Logged_0x9FA7B
ld bc,$D196
call Logged_0x9FA7B
ld bc,$D19E
call Logged_0x9FA7B
ld bc,$D1A6
call Logged_0x9FA7B
ld bc,$D1AE
call Logged_0x9FA7B
ld bc,$D1B6
call Logged_0x9FA7B
ld bc,$D1BE
call Logged_0x9FA7B
ld bc,$D1C6
Logged_0x9FA7B:
ld a,[bc]
and a
ret z
ld hl,$7A91
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $02
jr z,Logged_0x9FA9B
Logged_0x9FA8B:
ld de,$76F0
jp Logged_0x9F0BC
LoggedData_0x9FA91:
INCBIN "baserom.gbc", $9FA91, $9FA9B - $9FA91
Logged_0x9FA9B:
call Logged_0x9FAA0
jr Logged_0x9FA8B
Logged_0x9FAA0:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $0C
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F6
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FAB4:
ld bc,$D196
ld a,[bc]
and a
ret z
ld hl,$7ACD
call Logged_0x9F0A5
call Logged_0x9F0AE
cp $01
jr z,Logged_0x9FAD1
Logged_0x9FAC7:
ld de,$7847
jp Logged_0x9F0BC
LoggedData_0x9FACD:
INCBIN "baserom.gbc", $9FACD, $9FAD1 - $9FACD
Logged_0x9FAD1:
call Logged_0x9FAD6
jr Logged_0x9FAC7
Logged_0x9FAD6:
ld de,$D197
ld a,[de]
inc a
ld [de],a
cp $30
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FAEA:
ld bc,$D19E
Logged_0x9FAED:
ld a,[bc]
and a
ret z
ld hl,$7B14
call Logged_0x9F0A5
call Logged_0x9F0B5
cp $01
jr z,Logged_0x9FB1A
cp $03
jr z,Logged_0x9FB33
cp $02
jr z,Logged_0x9FB0B
Logged_0x9FB05:
ld de,$6895
jp Logged_0x9F0C1
Logged_0x9FB0B:
ld b,$03
call Logged_0x9F0D0
jr z,Logged_0x9FAED
jr Logged_0x9FB05
LoggedData_0x9FB14:
INCBIN "baserom.gbc", $9FB14, $9FB1A - $9FB14
Logged_0x9FB1A:
call Logged_0x9FB1F
jr Logged_0x9FB05
Logged_0x9FB1F:
ld de,$D1A0
ld a,[de]
inc a
ld [de],a
cp $28
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8F
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FB33:
call Logged_0x9FB38
jr Logged_0x9FB05
Logged_0x9FB38:
ld de,$D1A0
ld a,[de]
inc a
ld [de],a
cp $28
ret c
xor a
ld [de],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$83
ld [$FF00+hSFXIDLow],a
ret
Logged_0x9FB4C:
ld c,$00
ld hl,$D180
ld b,$01
Logged_0x9FB53:
ld a,[$D188]
cp b
ret nz
ld a,[de]
ld [hli],a
inc e
ld a,[de]
ld [hli],a
ld a,c
ld [hli],a
xor a
ld [hl],a
Logged_0x9FB61:
ld de,$4000
ld a,$FC
and l
ld l,a
call Logged_0x9F0BC
ret
Logged_0x9FB6C:
ld c,$01
ld hl,$D184
ld b,$01
jr Logged_0x9FB53
Logged_0x9FB75:
ld c,$02
ld hl,$D184
ld b,$01
jr Logged_0x9FB53
Logged_0x9FB7E:
ld c,$03
ld hl,$D184
ld b,$01
jr Logged_0x9FB53
Logged_0x9FB87:
ld a,[$D188]
cp $02
ret nz
ld hl,$D182
ld a,$04
ld [hli],a
xor a
ld [hl],a
jr Logged_0x9FB61
Logged_0x9FB97:
ld hl,$D180
ld c,$05
ld b,$03
jr Logged_0x9FB53
Logged_0x9FBA0:
ld hl,$D184
ld c,$06
ld b,$03
jr Logged_0x9FB53
Logged_0x9FBA9:
call Logged_0x9FB87
ld bc,$D1A6
call Logged_0x9FBC5
ld bc,$D196
call Logged_0x9FBC5
ld bc,$D19E
call Logged_0x9FBC5
ld bc,$D1AE
call Logged_0x9FBC5
ret
Logged_0x9FBC5:
ld a,[bc]
and a
ret z
cp $05
jr z,Logged_0x9FBDC
ld hl,$7BEE
call Logged_0x9F0A5
call Logged_0x9F0AE
Logged_0x9FBD5:
ld de,$4FB3
call Logged_0x9F0BC
ret
Logged_0x9FBDC:
ld hl,$7BEE
call Logged_0x9F0A5
call Logged_0x9F0AE
ld b,$06
call Logged_0x9F0D0
jr z,Logged_0x9FBC5
jr Logged_0x9FBD5
LoggedData_0x9FBEE:
INCBIN "baserom.gbc", $9FBEE, $9FBFA - $9FBEE
Logged_0x9FBFA:
ld de,$D190
call Logged_0x9FB4C
call Logged_0x9FC09
ld de,$D190
jp Logged_0x9FB6C
Logged_0x9FC09:
ld a,[$D196]
and a
ret z
ld de,$51B4
ld hl,$D194
call Logged_0x9F0AE
ld de,$4FB3
jp Logged_0x9F0BC
Logged_0x9FC1D:
ld de,$D190
call Logged_0x9FB4C
call Logged_0x9FC2C
ld de,$D190
jp Logged_0x9FB6C
Logged_0x9FC2C:
ld a,[$D196]
and a
ret z
dec a
ld hl,$7C44
call Logged_0x3C5F
ld hl,$D194
call Logged_0x9F0AE
ld de,$41F6
jp Logged_0x9F0BC
LoggedData_0x9FC44:
INCBIN "baserom.gbc", $9FC44, $9FC58 - $9FC44
Logged_0x9FC58:
ld de,$D190
call Logged_0x9FB97
ld hl,$D196
ld a,[hld]
and a
ret z
dec l
ld b,$2F
dec a
jr z,Logged_0x9FC70
dec a
jr z,Logged_0x9FC78
Unknown_0x9FC6D:
nop
jr Unknown_0x9FC6D
Logged_0x9FC70:
ld de,$41F3
call Logged_0x3A66
jr Logged_0x9FC85
Logged_0x9FC78:
ld de,$41E8
call Logged_0x3A66
ld b,$00
call Logged_0x9F0D0
jr z,Logged_0x9FC58
Logged_0x9FC85:
ld de,$4122
jp Logged_0x9F0BC
LoggedData_0x9FC8B:
INCBIN "baserom.gbc", $9FC8B, $9FCAB - $9FC8B
Unknown_0x9FCAB:
INCBIN "baserom.gbc", $9FCAB, $A0000 - $9FCAB
SECTION "Bank28", ROMX, BANK[$28]
LoggedData_0xA0000:
INCBIN "baserom.gbc", $A0000, $A36CE - $A0000
Unknown_0xA36CE:
INCBIN "baserom.gbc", $A36CE, $A4000 - $A36CE
SECTION "Bank29", ROMX, BANK[$29]
LoggedData_0xA4000:
INCBIN "baserom.gbc", $A4000, $A796D - $A4000
Unknown_0xA796D:
INCBIN "baserom.gbc", $A796D, $A8000 - $A796D
SECTION "Bank2A", ROMX, BANK[$2A]
LoggedData_0xA8000:
INCBIN "baserom.gbc", $A8000, $A80C4 - $A8000
Unknown_0xA80C4:
INCBIN "baserom.gbc", $A80C4, $A80DA - $A80C4
LoggedData_0xA80DA:
INCBIN "baserom.gbc", $A80DA, $A80F8 - $A80DA
Unknown_0xA80F8:
INCBIN "baserom.gbc", $A80F8, $A8100 - $A80F8
LoggedData_0xA8100:
INCBIN "baserom.gbc", $A8100, $A8482 - $A8100
Unknown_0xA8482:
INCBIN "baserom.gbc", $A8482, $A8505 - $A8482
LoggedData_0xA8505:
INCBIN "baserom.gbc", $A8505, $A856C - $A8505
Unknown_0xA856C:
INCBIN "baserom.gbc", $A856C, $A8590 - $A856C
LoggedData_0xA8590:
INCBIN "baserom.gbc", $A8590, $A86C3 - $A8590
Unknown_0xA86C3:
INCBIN "baserom.gbc", $A86C3, $A86DA - $A86C3
LoggedData_0xA86DA:
INCBIN "baserom.gbc", $A86DA, $A87B9 - $A86DA
Unknown_0xA87B9:
INCBIN "baserom.gbc", $A87B9, $A87D2 - $A87B9
LoggedData_0xA87D2:
INCBIN "baserom.gbc", $A87D2, $A88FA - $A87D2
Unknown_0xA88FA:
INCBIN "baserom.gbc", $A88FA, $A88FC - $A88FA
LoggedData_0xA88FC:
INCBIN "baserom.gbc", $A88FC, $A8916 - $A88FC
Unknown_0xA8916:
INCBIN "baserom.gbc", $A8916, $A8918 - $A8916
LoggedData_0xA8918:
INCBIN "baserom.gbc", $A8918, $A8CE8 - $A8918
Unknown_0xA8CE8:
INCBIN "baserom.gbc", $A8CE8, $A8CF9 - $A8CE8
LoggedData_0xA8CF9:
INCBIN "baserom.gbc", $A8CF9, $A8D92 - $A8CF9
Unknown_0xA8D92:
INCBIN "baserom.gbc", $A8D92, $A8D9F - $A8D92
LoggedData_0xA8D9F:
INCBIN "baserom.gbc", $A8D9F, $A8F37 - $A8D9F
Unknown_0xA8F37:
INCBIN "baserom.gbc", $A8F37, $A8F3A - $A8F37
LoggedData_0xA8F3A:
INCBIN "baserom.gbc", $A8F3A, $A8F54 - $A8F3A
Unknown_0xA8F54:
INCBIN "baserom.gbc", $A8F54, $A8F57 - $A8F54
LoggedData_0xA8F57:
INCBIN "baserom.gbc", $A8F57, $A90B2 - $A8F57
Unknown_0xA90B2:
INCBIN "baserom.gbc", $A90B2, $A90EB - $A90B2
LoggedData_0xA90EB:
INCBIN "baserom.gbc", $A90EB, $A91F9 - $A90EB
Unknown_0xA91F9:
INCBIN "baserom.gbc", $A91F9, $A91FF - $A91F9
LoggedData_0xA91FF:
INCBIN "baserom.gbc", $A91FF, $A958F - $A91FF
Unknown_0xA958F:
INCBIN "baserom.gbc", $A958F, $A959E - $A958F
LoggedData_0xA959E:
INCBIN "baserom.gbc", $A959E, $A9711 - $A959E
Unknown_0xA9711:
INCBIN "baserom.gbc", $A9711, $A974A - $A9711
LoggedData_0xA974A:
INCBIN "baserom.gbc", $A974A, $A9824 - $A974A
Unknown_0xA9824:
INCBIN "baserom.gbc", $A9824, $A982E - $A9824
LoggedData_0xA982E:
INCBIN "baserom.gbc", $A982E, $A99A6 - $A982E
Unknown_0xA99A6:
INCBIN "baserom.gbc", $A99A6, $A99E7 - $A99A6
LoggedData_0xA99E7:
INCBIN "baserom.gbc", $A99E7, $A9E81 - $A99E7
Unknown_0xA9E81:
INCBIN "baserom.gbc", $A9E81, $A9E8C - $A9E81
LoggedData_0xA9E8C:
INCBIN "baserom.gbc", $A9E8C, $A9EA9 - $A9E8C
Unknown_0xA9EA9:
INCBIN "baserom.gbc", $A9EA9, $A9EAA - $A9EA9
LoggedData_0xA9EAA:
INCBIN "baserom.gbc", $A9EAA, $A9FF2 - $A9EAA
Unknown_0xA9FF2:
INCBIN "baserom.gbc", $A9FF2, $A9FF6 - $A9FF2
LoggedData_0xA9FF6:
INCBIN "baserom.gbc", $A9FF6, $A9FFA - $A9FF6
Unknown_0xA9FFA:
INCBIN "baserom.gbc", $A9FFA, $A9FFE - $A9FFA
LoggedData_0xA9FFE:
INCBIN "baserom.gbc", $A9FFE, $AA000 - $A9FFE
Unknown_0xAA000:
INCBIN "baserom.gbc", $AA000, $AA004 - $AA000
LoggedData_0xAA004:
INCBIN "baserom.gbc", $AA004, $AA04C - $AA004
Unknown_0xAA04C:
INCBIN "baserom.gbc", $AA04C, $AA056 - $AA04C
LoggedData_0xAA056:
INCBIN "baserom.gbc", $AA056, $AA068 - $AA056
Unknown_0xAA068:
INCBIN "baserom.gbc", $AA068, $AA072 - $AA068
LoggedData_0xAA072:
INCBIN "baserom.gbc", $AA072, $AA077 - $AA072
Unknown_0xAA077:
INCBIN "baserom.gbc", $AA077, $AA091 - $AA077
LoggedData_0xAA091:
INCBIN "baserom.gbc", $AA091, $AA0A0 - $AA091
Unknown_0xAA0A0:
INCBIN "baserom.gbc", $AA0A0, $AA0A3 - $AA0A0
LoggedData_0xAA0A3:
INCBIN "baserom.gbc", $AA0A3, $AA0A6 - $AA0A3
Unknown_0xAA0A6:
INCBIN "baserom.gbc", $AA0A6, $AA0B1 - $AA0A6
LoggedData_0xAA0B1:
INCBIN "baserom.gbc", $AA0B1, $AA0B9 - $AA0B1
Unknown_0xAA0B9:
INCBIN "baserom.gbc", $AA0B9, $AA0BC - $AA0B9
LoggedData_0xAA0BC:
INCBIN "baserom.gbc", $AA0BC, $AA0C6 - $AA0BC
Unknown_0xAA0C6:
INCBIN "baserom.gbc", $AA0C6, $AA0CF - $AA0C6
LoggedData_0xAA0CF:
INCBIN "baserom.gbc", $AA0CF, $AA0E3 - $AA0CF
Unknown_0xAA0E3:
INCBIN "baserom.gbc", $AA0E3, $AA10B - $AA0E3
LoggedData_0xAA10B:
INCBIN "baserom.gbc", $AA10B, $AA10D - $AA10B
Unknown_0xAA10D:
INCBIN "baserom.gbc", $AA10D, $AA10F - $AA10D
LoggedData_0xAA10F:
INCBIN "baserom.gbc", $AA10F, $AA113 - $AA10F
Unknown_0xAA113:
INCBIN "baserom.gbc", $AA113, $AA11F - $AA113
LoggedData_0xAA11F:
INCBIN "baserom.gbc", $AA11F, $AA167 - $AA11F
Unknown_0xAA167:
INCBIN "baserom.gbc", $AA167, $AA21B - $AA167
LoggedData_0xAA21B:
INCBIN "baserom.gbc", $AA21B, $AA220 - $AA21B
Unknown_0xAA220:
INCBIN "baserom.gbc", $AA220, $AA225 - $AA220
LoggedData_0xAA225:
INCBIN "baserom.gbc", $AA225, $AA22F - $AA225
Unknown_0xAA22F:
INCBIN "baserom.gbc", $AA22F, $AA24D - $AA22F
LoggedData_0xAA24D:
INCBIN "baserom.gbc", $AA24D, $AA255 - $AA24D
Unknown_0xAA255:
INCBIN "baserom.gbc", $AA255, $AA25E - $AA255
LoggedData_0xAA25E:
INCBIN "baserom.gbc", $AA25E, $AA26D - $AA25E
Unknown_0xAA26D:
INCBIN "baserom.gbc", $AA26D, $AA329 - $AA26D
LoggedData_0xAA329:
INCBIN "baserom.gbc", $AA329, $AA33D - $AA329
Unknown_0xAA33D:
INCBIN "baserom.gbc", $AA33D, $AA33F - $AA33D
LoggedData_0xAA33F:
INCBIN "baserom.gbc", $AA33F, $AA3AB - $AA33F
Unknown_0xAA3AB:
INCBIN "baserom.gbc", $AA3AB, $AA3B4 - $AA3AB
LoggedData_0xAA3B4:
INCBIN "baserom.gbc", $AA3B4, $AA5E9 - $AA3B4
Unknown_0xAA5E9:
INCBIN "baserom.gbc", $AA5E9, $AA5F5 - $AA5E9
LoggedData_0xAA5F5:
INCBIN "baserom.gbc", $AA5F5, $AA5FB - $AA5F5
Unknown_0xAA5FB:
INCBIN "baserom.gbc", $AA5FB, $AA5FE - $AA5FB
LoggedData_0xAA5FE:
INCBIN "baserom.gbc", $AA5FE, $AA90C - $AA5FE
Unknown_0xAA90C:
INCBIN "baserom.gbc", $AA90C, $AA90D - $AA90C
LoggedData_0xAA90D:
INCBIN "baserom.gbc", $AA90D, $AA910 - $AA90D
Unknown_0xAA910:
INCBIN "baserom.gbc", $AA910, $AA913 - $AA910
LoggedData_0xAA913:
INCBIN "baserom.gbc", $AA913, $AB095 - $AA913
Unknown_0xAB095:
INCBIN "baserom.gbc", $AB095, $AB098 - $AB095
LoggedData_0xAB098:
INCBIN "baserom.gbc", $AB098, $AB0AC - $AB098
Unknown_0xAB0AC:
INCBIN "baserom.gbc", $AB0AC, $AB0C5 - $AB0AC
LoggedData_0xAB0C5:
INCBIN "baserom.gbc", $AB0C5, $AB16A - $AB0C5
Unknown_0xAB16A:
INCBIN "baserom.gbc", $AB16A, $AC000 - $AB16A
SECTION "Bank2B", ROMX, BANK[$2B]
Logged_0xAC000:
ld h,b
ld l,c
res 1,l
ld b,$57
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC00B:
ld h,b
ld l,c
res 1,l
ld b,$57
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC016:
ld h,b
ld l,c
res 1,l
ld b,$57
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC021:
ld h,b
ld l,c
res 1,l
ld b,$1A
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC02C:
ld h,b
ld l,c
res 1,l
ld b,$01
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC037:
ld h,b
ld l,c
res 1,l
ld b,$2A
call Logged_0x3A66
ld a,[bc]
ret
Logged_0xAC042:
ld b,$57
jp Logged_0x3A00
Logged_0xAC047:
ld b,$57
jp Logged_0x3A00
Logged_0xAC04C:
ld b,$57
jp Logged_0x3A00
Unknown_0xAC051:
INCBIN "baserom.gbc", $AC051, $AC056 - $AC051
Logged_0xAC056:
ld de,$76CA
call Logged_0xAC02C
ld de,$75C3
ld b,$01
jp Logged_0x3A38
Logged_0xAC064:
ld a,[$D024]
cp $FF
ret nz
set 2,l
xor a
ld [hli],a
ld [hli],a
ld a,e
ld [hl],a
ld b,h
ld c,l
ret
Logged_0xAC074:
ld bc,$D186
call Logged_0xAC0B6
ld bc,$D18E
jp Logged_0xAC0B6
Logged_0xAC080:
ld bc,$D1AE
call Logged_0xAC0B6
ld bc,$D1B6
call Logged_0xAC0B6
ld bc,$D1BE
call Logged_0xAC0B6
ld bc,$D1C6
call Logged_0xAC0B6
ld bc,$D1CE
call Logged_0xAC0B6
ld bc,$D1D6
call Logged_0xAC0B6
ld bc,$D1DE
call Logged_0xAC0B6
ld bc,$D1E6
call Logged_0xAC0B6
ld bc,$D1EE
jp Logged_0xAC0B6
Logged_0xAC0B6:
ld a,[bc]
rst JumpList
dw Logged_0xAC11C
dw Logged_0xAC056
dw Logged_0xAC11D
dw Logged_0xAC122
dw Logged_0xAC127
dw Unknown_0xAC12C
dw Logged_0xAC131
dw Unknown_0xAC13C
dw Logged_0xAC141
dw Logged_0xAC15F
dw Logged_0xAC164
dw Logged_0xAC169
dw Logged_0xAC174
dw Logged_0xAC17F
dw Logged_0xAC18A
dw Logged_0xAC195
dw Logged_0xAC1A0
dw Logged_0xAC1AB
dw Logged_0xAC1B1
dw Logged_0xAC1B7
dw Logged_0xAC1D1
dw Logged_0xAC1D7
dw Logged_0xAC1DD
dw Logged_0xAC1FB
dw Logged_0xAC21E
dw Logged_0xAC22C
dw Logged_0xAC23A
dw Logged_0xAC248
dw Logged_0xAC24E
Logged_0xAC0F2:
call Logged_0xAC016
Logged_0xAC0F5:
ld de,$697D
jp Logged_0xAC04C
Unknown_0xAC0FB:
INCBIN "baserom.gbc", $AC0FB, $AC100 - $AC0FB
Logged_0xAC100:
call Logged_0xAC064
jr nz,Logged_0xAC0F5
jr Logged_0xAC0B6
Unknown_0xAC107:
INCBIN "baserom.gbc", $AC107, $AC11C - $AC107
Logged_0xAC11C:
ret
Logged_0xAC11D:
ld de,$6D91
jr Logged_0xAC0F2
Logged_0xAC122:
ld de,$6D94
jr Logged_0xAC0F2
Logged_0xAC127:
ld de,$6D97
jr Logged_0xAC0F2
Unknown_0xAC12C:
ld de,$6D9A
jr Logged_0xAC0F2
Logged_0xAC131:
ld de,$6D9D
call Logged_0xAC016
ld e,$0A
jp Logged_0xAC100
Unknown_0xAC13C:
ld de,$6DB3
jr Logged_0xAC0F2
Logged_0xAC141:
ld de,$6DA6
call Logged_0xAC016
call Logged_0xAC14D
jp Logged_0xAC0F5
Logged_0xAC14D:
inc c
ld a,[bc]
inc a
ld [bc],a
cp $1E
ret c
xor a
ld [bc],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$38
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC15F:
ld de,$6DC0
jr Logged_0xAC0F2
Logged_0xAC164:
ld de,$6DC3
jr Logged_0xAC0F2
Logged_0xAC169:
ld de,$6DC6
call Logged_0xAC016
ld e,$0A
jp Logged_0xAC100
Logged_0xAC174:
ld de,$6DE9
call Logged_0xAC016
ld e,$0B
jp Logged_0xAC100
Logged_0xAC17F:
ld de,$6DF2
call Logged_0xAC016
ld e,$0A
jp Logged_0xAC100
Logged_0xAC18A:
ld de,$6E0F
call Logged_0xAC016
ld e,$0A
jp Logged_0xAC100
Logged_0xAC195:
ld de,$6E1E
call Logged_0xAC016
ld e,$17
jp Logged_0xAC100
Logged_0xAC1A0:
ld de,$6E3B
call Logged_0xAC016
ld e,$0A
jp Logged_0xAC100
Logged_0xAC1AB:
ld de,$6E44
jp Logged_0xAC0F2
Logged_0xAC1B1:
ld de,$6E57
jp Logged_0xAC0F2
Logged_0xAC1B7:
ld de,$6E64
call Logged_0xAC016
call Logged_0xAC1C3
jp Logged_0xAC0F5
Logged_0xAC1C3:
ld a,[$D146]
cp $09
jp z,Logged_0xAC254
cp $0B
jp z,Logged_0xAC275
ret
Logged_0xAC1D1:
ld de,$6E67
jp Logged_0xAC0F2
Logged_0xAC1D7:
ld de,$6E70
jp Logged_0xAC0F2
Logged_0xAC1DD:
ld de,$6E79
call Logged_0xAC016
call Logged_0xAC1E9
jp Logged_0xAC0F5
Logged_0xAC1E9:
inc c
ld a,[bc]
inc a
ld [bc],a
cp $30
ret c
xor a
ld [bc],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC1FB:
ld de,$6E82
call Logged_0xAC016
call Logged_0xAC207
jp Logged_0xAC0F5
Logged_0xAC207:
inc c
ld a,[bc]
inc a
ld [bc],a
cp $01
jr z,Logged_0xAC215
cp $28
ret c
xor a
ld [bc],a
ret
Logged_0xAC215:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC21E:
ld de,$41D2
call Logged_0xAC021
ld de,$407B
ld b,$60
jp Logged_0x3A00
Logged_0xAC22C:
ld de,$4B12
call Logged_0xAC021
ld de,$422F
ld b,$61
jp Logged_0x3A00
Logged_0xAC23A:
ld de,$4562
call Logged_0xAC021
ld de,$4EA7
ld b,$60
jp Logged_0x3A00
Logged_0xAC248:
ld de,$6E87
jp Logged_0xAC0F2
Logged_0xAC24E:
ld de,$6E8A
jp Logged_0xAC0F2
Logged_0xAC254:
inc c
ld a,[$D142]
ld e,a
ld a,[bc]
and a
jr z,Logged_0xAC267
dec a
jr z,Logged_0xAC261
ret
Logged_0xAC261:
ld d,$01
ld a,$1A
jr Logged_0xAC26B
Logged_0xAC267:
ld d,$FF
ld a,$19
Logged_0xAC26B:
cp e
ret nz
ld a,[bc]
xor $01
ld [bc],a
ld a,d
add a,[hl]
ld [hl],a
ret
Logged_0xAC275:
inc c
ld a,[$D142]
ld e,a
ld a,[bc]
cp $80
ret z
and a
jr z,Logged_0xAC286
dec a
jr z,Logged_0xAC29C
jr Logged_0xAC2A6
Logged_0xAC286:
ld a,$00
cp e
ret nz
ld d,$FC
ld e,$EA
Logged_0xAC28E:
ld a,[bc]
inc a
Logged_0xAC290:
ld [bc],a
ld a,[$D140]
add a,d
ld [hli],a
ld a,[$D141]
add a,e
ld [hld],a
ret
Logged_0xAC29C:
ld a,$01
cp e
ret nz
ld d,$F0
ld e,$EC
jr Logged_0xAC28E
Logged_0xAC2A6:
ld a,$02
cp e
ret nz
ld a,$80
ld d,$DE
ld e,$F9
jr Logged_0xAC290
Logged_0xAC2B2:
ld bc,$D186
call Logged_0xAC306
ld bc,$D18E
call Logged_0xAC306
ld bc,$D196
jp Logged_0xAC306
Logged_0xAC2C4:
ld bc,$D19E
call Logged_0xAC306
ld bc,$D1A6
call Logged_0xAC306
ld bc,$D1BE
call Logged_0xAC306
ld bc,$D1C6
call Logged_0xAC306
ld bc,$D1CE
call Logged_0xAC306
ld bc,$D1D6
call Logged_0xAC306
ld bc,$D1DE
call Logged_0xAC306
ld bc,$D1E6
call Logged_0xAC306
ld bc,$D1EE
call Logged_0xAC306
ld bc,$D1F6
call Logged_0xAC306
ld bc,$D1FE
jp Logged_0xAC306
Logged_0xAC306:
ld a,[bc]
rst JumpList
dw Logged_0xAC358
dw Logged_0xAC056
dw Logged_0xAC359
dw Logged_0xAC35E
dw Logged_0xAC363
dw Logged_0xAC368
dw Logged_0xAC36D
dw Logged_0xAC372
dw Unknown_0xAC377
dw Logged_0xAC37C
dw Logged_0xAC381
dw Logged_0xAC38B
dw Unknown_0xAC386
dw Logged_0xAC399
dw Logged_0xAC39E
dw Logged_0xAC3A3
dw Logged_0xAC3AD
dw Logged_0xAC3B7
dw Logged_0xAC3BC
Unknown_0xAC330:
INCBIN "baserom.gbc", $AC32E, $AC331 - $AC32E
Logged_0xAC331:
ld de,$644A
jp Logged_0xAC042
Logged_0xAC337:
call Logged_0xAC000
ld e,$00
call Logged_0xAC064
jr nz,Logged_0xAC331
jr Logged_0xAC306
Logged_0xAC343:
call Logged_0xAC00B
ld de,$6813
jp Logged_0xAC047
Unknown_0xAC34C:
INCBIN "baserom.gbc", $AC34C, $AC358 - $AC34C
Logged_0xAC358:
ret
Logged_0xAC359:
ld de,$6796
jr Logged_0xAC337
Logged_0xAC35E:
ld de,$689C
jr Logged_0xAC343
Logged_0xAC363:
ld de,$689F
jr Logged_0xAC343
Logged_0xAC368:
ld de,$68A2
jr Logged_0xAC343
Logged_0xAC36D:
ld de,$68A5
jr Logged_0xAC343
Logged_0xAC372:
ld de,$68A8
jr Logged_0xAC343
Unknown_0xAC377:
ld de,$688D
jr Logged_0xAC343
Logged_0xAC37C:
ld de,$6896
jr Logged_0xAC38E
Logged_0xAC381:
ld de,$6893
jr Logged_0xAC38E
Unknown_0xAC386:
ld de,$6899
jr Logged_0xAC38E
Logged_0xAC38B:
ld de,$6890
Logged_0xAC38E:
call Logged_0xAC00B
ld de,$6813
ld b,$57
jp Logged_0x3A38
Logged_0xAC399:
ld de,$68AB
jr Logged_0xAC3C1
Logged_0xAC39E:
ld de,$68B0
jr Logged_0xAC3C1
Logged_0xAC3A3:
ld de,$68B0
call Logged_0xAC00B
ld e,$0D
jr Logged_0xAC3D1
Logged_0xAC3AD:
ld de,$68AB
call Logged_0xAC00B
ld e,$0E
jr Logged_0xAC3D1
Logged_0xAC3B7:
ld de,$6932
jr Logged_0xAC3C1
Logged_0xAC3BC:
ld de,$695C
jr Logged_0xAC3C1
Logged_0xAC3C1:
call Logged_0xAC00B
Logged_0xAC3C4:
ld de,$488A
ld b,$63
jp Logged_0x3A00
Unknown_0xAC3CC:
INCBIN "baserom.gbc", $AC3CC, $AC3D1 - $AC3CC
Logged_0xAC3D1:
call Logged_0xAC064
jr nz,Logged_0xAC3C4
jp Logged_0xAC306
Logged_0xAC3D9:
ld bc,$D186
call Logged_0xAC409
ld bc,$D18E
call Logged_0xAC409
ld bc,$D196
call Logged_0xAC409
ld bc,$D19E
call Logged_0xAC409
ld bc,$D1A6
call Logged_0xAC409
ld bc,$D1AE
jp Logged_0xAC409
Logged_0xAC3FD:
ld bc,$D1C6
call Logged_0xAC409
ld bc,$D1CE
jp Logged_0xAC409
Logged_0xAC409:
ld a,[bc]
rst JumpList
dw Logged_0xAC450
dw Logged_0xAC056
dw Logged_0xAC451
dw Logged_0xAC456
dw Logged_0xAC45B
dw Logged_0xAC460
dw Logged_0xAC465
dw Logged_0xAC46A
dw Logged_0xAC46F
dw Logged_0xAC474
dw Logged_0xAC479
dw Unknown_0xAC48E
dw Logged_0xAC493
dw Logged_0xAC4A8
dw Logged_0xAC4AD
dw Logged_0xAC4B2
dw Logged_0xAC4B7
dw Logged_0xAC4BC
dw Logged_0xAC4C1
dw Logged_0xAC4C7
dw Logged_0xAC4CD
dw Logged_0xAC4E3
dw Logged_0xAC4EE
dw Logged_0xAC4F4
Logged_0xAC43B:
call Logged_0xAC000
Logged_0xAC43E:
ld de,$644A
jp Logged_0xAC042
Logged_0xAC444:
call Logged_0xAC000
ld e,$00
Logged_0xAC449:
call Logged_0xAC064
jr nz,Logged_0xAC43E
jr Logged_0xAC409
Logged_0xAC450:
ret
Logged_0xAC451:
ld de,$6741
jr Logged_0xAC43B
Logged_0xAC456:
ld de,$6748
jr Logged_0xAC43B
Logged_0xAC45B:
ld de,$674B
jr Logged_0xAC43B
Logged_0xAC460:
ld de,$6774
jr Logged_0xAC43B
Logged_0xAC465:
ld de,$677D
jr Logged_0xAC43B
Logged_0xAC46A:
ld de,$6780
jr Logged_0xAC43B
Logged_0xAC46F:
ld de,$6793
jr Logged_0xAC43B
Logged_0xAC474:
ld de,$67A3
jr Logged_0xAC43B
Logged_0xAC479:
ld de,$67A6
call Logged_0xAC43B
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F3
ld [$FF00+hSFXIDLow],a
ret
Unknown_0xAC48E:
ld de,$67B7
jr Logged_0xAC43B
Logged_0xAC493:
ld de,$67C4
call Logged_0xAC43B
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F4
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC4A8:
ld de,$67ED
jr Logged_0xAC43B
Logged_0xAC4AD:
ld de,$67B7
jr Logged_0xAC444
Logged_0xAC4B2:
ld de,$6783
jr Logged_0xAC43B
Logged_0xAC4B7:
ld de,$678A
jr Logged_0xAC444
Logged_0xAC4BC:
ld de,$6796
jr Logged_0xAC444
Logged_0xAC4C1:
ld de,$67F0
jp Logged_0xAC43B
Logged_0xAC4C7:
ld de,$67F5
jp Logged_0xAC43B
Logged_0xAC4CD:
ld de,$6D0B
call Logged_0xAC037
ld e,$00
call Logged_0xAC064
jp z,Logged_0xAC409
ld de,$6B5C
ld b,$2A
jp Logged_0x3A00
Logged_0xAC4E3:
ld de,$67FA
call Logged_0xAC000
ld e,$16
jp Logged_0xAC449
Logged_0xAC4EE:
ld de,$6801
jp Logged_0xAC43B
Logged_0xAC4F4:
ld de,$680A
jp Logged_0xAC43B
Logged_0xAC4FA:
ld hl,$D14C
ld a,[hl]
and a
jr nz,Logged_0xAC509
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
Logged_0xAC509:
inc [hl]
ld c,$24
ld a,[hl]
cp c
jr c,Logged_0xAC514
xor a
ld [$D14C],a
Logged_0xAC514:
ret
Logged_0xAC515:
ld hl,$D14C
inc [hl]
ld a,[hl]
cp $08
ret c
xor a
ld [hl],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$37
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC528:
call Logged_0xAC547
ld a,[$D146]
and a
ret z
ld hl,$D149
ld e,[hl]
inc l
ld d,[hl]
ld a,[$D14B]
ld b,a
ld hl,$D140
ld a,[$D14D]
and a
jp z,Logged_0x3A00
jp Logged_0x3A38
Logged_0xAC547:
ld a,[$D146]
rst JumpList
dw Logged_0xAC5C5
dw Logged_0xAC5C6
dw Logged_0xAC5CB
dw Unknown_0xAC5D0
dw Unknown_0xAC5DA
dw Logged_0xAC5E4
dw Logged_0xAC5EE
dw Logged_0xAC60F
dw Logged_0xAC618
dw Logged_0xAC621
dw Logged_0xAC62A
dw Logged_0xAC62F
dw Logged_0xAC63A
dw Logged_0xAC63F
dw Logged_0xAC644
dw Logged_0xAC649
dw Logged_0xAC654
dw Logged_0xAC696
dw Logged_0xAC6A1
dw Logged_0xAC6A7
dw Logged_0xAC6B4
dw Logged_0xAC6C1
dw Logged_0xAC6C7
dw Unknown_0xAC6D2
dw Logged_0xAC6D8
dw Logged_0xAC6E3
dw Logged_0xAC6E9
dw Logged_0xAC73C
dw Logged_0xAC747
dw Logged_0xAC74D
dw Logged_0xAC758
dw Logged_0xAC763
dw Logged_0xAC769
dw Logged_0xAC76F
dw Logged_0xAC77A
dw Logged_0xAC792
dw Logged_0xAC79D
dw Logged_0xAC7A3
dw Logged_0xAC7A9
dw Logged_0xAC7D0
dw Logged_0xAC7DB
dw Logged_0xAC7E6
dw Logged_0xAC7F1
dw Logged_0xAC80E
dw Unknown_0xAC814
dw Logged_0xAC81A
dw Logged_0xAC825
dw Logged_0xAC82B
dw Logged_0xAC836
dw Unknown_0xAC841
dw Unknown_0xAC84C
dw Logged_0xAC857
dw Logged_0xAC862
dw Unknown_0xAC86D
dw Logged_0xAC878
dw Unknown_0xAC883
dw Logged_0xAC88E
dw Logged_0xAC899
dw Logged_0xAC8A4
dw Logged_0xAC8AD
dw Logged_0xAC8B2
Logged_0xAC5C5:
ret
Logged_0xAC5C6:
ld de,$4D18
jr Logged_0xAC5F8
Logged_0xAC5CB:
ld de,$4D15
jr Logged_0xAC5F8
Unknown_0xAC5D0:
ld de,$4CBE
call Logged_0xAC5F8
ld b,$0C
jr Logged_0xAC602
Unknown_0xAC5DA:
ld de,$4CC5
call Logged_0xAC5F8
ld b,$0D
jr Logged_0xAC602
Logged_0xAC5E4:
ld de,$4D0B
call Logged_0xAC5F8
ld b,$02
jr Logged_0xAC602
Logged_0xAC5EE:
ld de,$4D10
call Logged_0xAC5F8
ld b,$02
jr Logged_0xAC602
Logged_0xAC5F8:
ld a,[$D14B]
ld b,a
ld hl,$D144
jp Logged_0x3A66
Logged_0xAC602:
ld a,[$D024]
cp $FF
ret nz
ld a,b
call Logged_0xAC8D4
jp Logged_0xAC547
Logged_0xAC60F:
ld de,$49B4
call Logged_0xAC5F8
jp Logged_0xAC4FA
Logged_0xAC618:
ld de,$49C5
call Logged_0xAC5F8
jp Logged_0xAC4FA
Logged_0xAC621:
ld de,$49FE
call Logged_0xAC5F8
jp Logged_0xAC4FA
Logged_0xAC62A:
ld de,$4A20
jr Logged_0xAC5F8
Logged_0xAC62F:
ld de,$63EC
call Logged_0xAC5F8
ld b,$0A
jp Logged_0xAC602
Logged_0xAC63A:
ld de,$4252
jr Logged_0xAC5F8
Logged_0xAC63F:
ld de,$425F
jr Logged_0xAC5F8
Logged_0xAC644:
ld de,$4DE4
jr Logged_0xAC5F8
Logged_0xAC649:
ld de,$4DE4
call Logged_0xAC5F8
ld b,$02
jp Logged_0xAC602
Logged_0xAC654:
ld de,$66A5
call Logged_0xAC5F8
ld b,$11
call Logged_0xAC602
Logged_0xAC65F:
ld a,[$D146]
cp $02
ret z
ld hl,$D142
ld a,[$D14C]
and a
jr z,Logged_0xAC67E
dec a
jr z,Logged_0xAC672
ret
Logged_0xAC672:
ld a,[hl]
cp $00
ret z
cp $04
ret z
xor a
ld [$D14C],a
ret
Logged_0xAC67E:
ld a,[hl]
cp $00
jr z,Logged_0xAC688
cp $04
jr z,Logged_0xAC688
ret
Logged_0xAC688:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F1
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D14C],a
ret
Logged_0xAC696:
ld de,$66C2
call Logged_0xAC5F8
ld b,$12
jp Logged_0xAC602
Logged_0xAC6A1:
ld de,$66C7
jp Logged_0xAC5F8
Logged_0xAC6A7:
ld de,$66A5
call Logged_0xAC5F8
ld b,$38
call Logged_0xAC602
jr Logged_0xAC65F
Logged_0xAC6B4:
ld de,$66CA
call Logged_0xAC5F8
ld b,$39
call Logged_0xAC602
jr Logged_0xAC65F
Logged_0xAC6C1:
ld de,$68EC
jp Logged_0xAC5F8
Logged_0xAC6C7:
ld de,$68F5
call Logged_0xAC5F8
ld b,$19
jp Logged_0xAC602
Unknown_0xAC6D2:
ld de,$6902
jp Logged_0xAC5F8
Logged_0xAC6D8:
ld de,$6902
call Logged_0xAC5F8
ld b,$19
jp Logged_0xAC602
Logged_0xAC6E3:
ld de,$690D
jp Logged_0xAC5F8
Logged_0xAC6E9:
ld de,$6913
call Logged_0xAC5F8
ld b,$0D
call Logged_0xAC602
ld a,[$D146]
cp $0D
ret z
ld hl,$D142
ld a,[$D14C]
and a
jr z,Logged_0xAC718
dec a
jr z,Logged_0xAC70A
dec a
jr z,Logged_0xAC713
ret
Logged_0xAC70A:
ld a,[hl]
cp $0D
Logged_0xAC70D:
ret z
xor a
ld [$D14C],a
ret
Logged_0xAC713:
ld a,[hl]
cp $0C
jr Logged_0xAC70D
Logged_0xAC718:
ld a,[hl]
cp $0C
jr z,Logged_0xAC730
cp $0D
jr z,Logged_0xAC722
ret
Logged_0xAC722:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F2
ld [$FF00+hSFXIDLow],a
ld a,$01
Logged_0xAC72C:
ld [$D14C],a
ret
Logged_0xAC730:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$11
ld [$FF00+hSFXIDLow],a
ld a,$02
jr Logged_0xAC72C
Logged_0xAC73C:
ld de,$6924
call Logged_0xAC5F8
ld b,$1C
jp Logged_0xAC602
Logged_0xAC747:
ld de,$6931
jp Logged_0xAC5F8
Logged_0xAC74D:
ld de,$6B27
call Logged_0xAC5F8
ld b,$1F
jp Logged_0xAC602
Logged_0xAC758:
ld de,$6B32
call Logged_0xAC5F8
ld b,$20
jp Logged_0xAC602
Logged_0xAC763:
ld de,$6B3F
jp Logged_0xAC5F8
Logged_0xAC769:
ld de,$6B42
jp Logged_0xAC5F8
Logged_0xAC76F:
ld de,$6B45
call Logged_0xAC5F8
ld b,$0A
jp Logged_0xAC602
Logged_0xAC77A:
ld de,$6CCB
call Logged_0xAC5F8
ld a,[$D024]
ld [$D14E],a
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F5
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC792:
ld de,$6CE2
call Logged_0xAC5F8
ld b,$25
jp Logged_0xAC602
Logged_0xAC79D:
ld de,$6CF7
jp Logged_0xAC5F8
Logged_0xAC7A3:
ld de,$6CFA
jp Logged_0xAC5F8
Logged_0xAC7A9:
ld de,$703C
call Logged_0xAC5F8
call Logged_0xAC7B7
ld b,$02
jp Logged_0xAC602
Logged_0xAC7B7:
ld a,[$D142]
cp $07
ret nz
ld a,[$D147]
and a
ret nz
xor $01
ld [$D147],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC7D0:
ld de,$706B
call Logged_0xAC5F8
ld b,$02
jp Logged_0xAC602
Logged_0xAC7DB:
ld de,$708C
call Logged_0xAC5F8
ld b,$2D
jp Logged_0xAC602
Logged_0xAC7E6:
ld de,$7098
call Logged_0xAC5F8
ld b,$02
jp Logged_0xAC602
Logged_0xAC7F1:
ld de,$709D
call Logged_0xAC5F8
call Logged_0xAC7FF
ld b,$02
jp Logged_0xAC602
Logged_0xAC7FF:
ld a,[$D024]
cp $FF
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAC80E:
ld de,$709D
jp Logged_0xAC5F8
Unknown_0xAC814:
ld de,$70AC
jp Logged_0xAC5F8
Logged_0xAC81A:
ld de,$714D
call Logged_0xAC5F8
ld b,$2E
jp Logged_0xAC602
Logged_0xAC825:
ld de,$7160
jp Logged_0xAC5F8
Logged_0xAC82B:
ld de,$7163
call Logged_0xAC5F8
ld b,$29
jp Logged_0xAC602
Logged_0xAC836:
ld de,$4439
call Logged_0xAC5F8
ld b,$02
jp Logged_0xAC602
Unknown_0xAC841:
ld de,$4446
call Logged_0xAC5F8
ld b,$02
jp Logged_0xAC602
Unknown_0xAC84C:
ld de,$4453
call Logged_0xAC5F8
ld b,$0D
jp Logged_0xAC602
Logged_0xAC857:
ld de,$445A
call Logged_0xAC5F8
ld b,$0C
jp Logged_0xAC602
Logged_0xAC862:
ld de,$4461
call Logged_0xAC5F8
ld b,$01
jp Logged_0xAC602
Unknown_0xAC86D:
ld de,$446A
call Logged_0xAC5F8
ld b,$01
jp Logged_0xAC602
Logged_0xAC878:
ld de,$4473
call Logged_0xAC5F8
ld b,$0C
jp Logged_0xAC602
Unknown_0xAC883:
ld de,$447C
call Logged_0xAC5F8
ld b,$0D
jp Logged_0xAC602
Logged_0xAC88E:
ld de,$4485
call Logged_0xAC5F8
ld b,$0D
jp Logged_0xAC602
Logged_0xAC899:
ld de,$4488
call Logged_0xAC5F8
ld b,$0C
jp Logged_0xAC602
Logged_0xAC8A4:
ld de,$6B5A
Logged_0xAC8A7:
call Logged_0xAC5F8
jp Logged_0xAC515
Logged_0xAC8AD:
ld de,$6B63
jr Logged_0xAC8A7
Logged_0xAC8B2:
ld de,$4316
jp Logged_0xAC5F8
Unknown_0xAC8B8:
INCBIN "baserom.gbc", $AC8B8, $AC8D4 - $AC8B8
Logged_0xAC8D4:
ld [$D146],a
ld b,$00
cp $07
jr c,Logged_0xAC91E
inc b
cp $0B
jr c,Logged_0xAC91E
inc b
cp $0C
jr c,Logged_0xAC91E
inc b
cp $0E
jr c,Logged_0xAC91E
inc b
cp $10
jr c,Logged_0xAC91E
inc b
cp $15
jr c,Logged_0xAC91E
inc b
cp $1D
jr c,Logged_0xAC91E
inc b
cp $22
jr c,Logged_0xAC91E
inc b
cp $26
jr c,Logged_0xAC91E
inc b
cp $2D
jr c,Logged_0xAC91E
inc b
cp $30
jr c,Logged_0xAC91E
inc b
cp $3A
jr c,Logged_0xAC91E
inc b
cp $3C
jr c,Logged_0xAC91E
inc b
cp $3D
jr c,Logged_0xAC91E
Logged_0xAC91E:
ld hl,$D148
ld a,[hl]
cp b
call nz,Logged_0xAC930
ld hl,$D144
xor a
ld [hli],a
ld [hl],a
ld [$D14C],a
ret
Logged_0xAC930:
ld a,b
ld [hli],a
add a,a
ld c,a
add a,a
add a,c
ld de,$4962
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hl],a
inc de
ld a,[de]
ld [$D079],a
ld hl,$D0B0
inc de
ld a,[de]
ld b,a
inc de
ld a,[de]
ld [hli],a
ld a,b
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$7F
ld [hl],a
xor a
ld [$D158],a
ret
LoggedData_0xAC962:
INCBIN "baserom.gbc", $AC962, $AC9B6 - $AC962
Unknown_0xAC9B6:
INCBIN "baserom.gbc", $AC9B6, $AC9B7 - $AC9B6
Unknown_0xAC9B7:
nop
jr Unknown_0xAC9B7
Logged_0xAC9BA:
ld a,$21
ld [$FF00+$85],a
ld a,$86
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xAC9CA:
ld a,$21
ld [$FF00+$85],a
ld a,$43
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ld a,[$D0D5]
and a
ret nz
ld hl,$D014
ld [hld],a
inc [hl]
ret
Logged_0xAC9E4:
ld hl,$D0D6
jr Logged_0xAC9EC
Logged_0xAC9E9:
ld hl,$D0D0
Logged_0xAC9EC:
ld c,$05
Logged_0xAC9EE:
ld a,[de]
inc de
ld [hli],a
dec c
jr nz,Logged_0xAC9EE
ret
LoggedData_0xAC9F5:
INCBIN "baserom.gbc", $AC9F5, $AC9FA - $AC9F5
Unknown_0xAC9FA:
INCBIN "baserom.gbc", $AC9FA, $AC9FF - $AC9FA
LoggedData_0xAC9FF:
INCBIN "baserom.gbc", $AC9FF, $ACA09 - $AC9FF
Logged_0xACA09:
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ret
Unknown_0xACA20:
INCBIN "baserom.gbc", $ACA20, $ACA25 - $ACA20
Logged_0xACA25:
ld hl,$C040
ld c,$20
Logged_0xACA2A:
ld a,$FF
ld [hli],a
ld a,$7F
ld [hli],a
dec c
jr nz,Logged_0xACA2A
ret
Logged_0xACA34:
ld a,[$C093]
swap a
rra
ld b,a
ld a,[$C08F]
or b
ld hl,$D141
dec [hl]
bit 0,a
jr z,Logged_0xACA48
dec [hl]
Logged_0xACA48:
ld a,[hl]
and $FE
ret
Logged_0xACA4C:
ld a,[$C093]
swap a
ld b,a
ld a,[$C08F]
or b
ld hl,$D141
inc [hl]
bit 0,a
jr z,Logged_0xACA5F
inc [hl]
Logged_0xACA5F:
ld a,[hl]
and $FE
ret
Logged_0xACA63:
ld hl,$D141
dec [hl]
ret
Unknown_0xACA68:
INCBIN "baserom.gbc", $ACA68, $ACA6D - $ACA68
Logged_0xACA6D:
ld hl,$D014
xor a
ld [hld],a
inc [hl]
ret
Logged_0xACA74:
call Logged_0xACE9C
ld de,$DB00
ld hl,$DC00
ld b,$10
call MemCopy_DE_HL
xor a
ld hl,$DA80
ld bc,$0010
call Fill_HL_A
ld hl,$D188
ld a,$8E
ld [hli],a
ld a,$98
ld [hli],a
xor a
ld hl,$D18E
call Logged_0x3B93
jr Logged_0xACA6D
Logged_0xACA9E:
call Logged_0xACEA8
ld a,[$DA81]
cp $80
ret nz
ld hl,$DA84
inc [hl]
jr Logged_0xACA6D
Logged_0xACAAD:
ld a,[$DA84]
ld b,$00
swap a
add a,a
rl b
add a,a
rl b
ld c,a
ld hl,$DC00
add hl,bc
ld de,$DB10
ld b,$30
call MemCopy_DE_HL
xor a
ld [$DA81],a
jr Logged_0xACA6D
Logged_0xACACD:
ld a,$01
ld hl,$DA84
cp [hl]
jr z,Logged_0xACAE2
ld a,[$C094]
bit 0,a
ret z
xor a
ld hl,$D18E
call Logged_0x3B93
Logged_0xACAE2:
call Logged_0xACE66
jr Logged_0xACA6D
Logged_0xACAE7:
call Logged_0xACEC4
ld a,[$DA81]
cp $80
ret nz
jp Logged_0xACA6D
Logged_0xACAF3:
ld hl,$DA84
inc [hl]
ld a,[hl]
ld b,$00
swap a
add a,a
rl b
add a,a
rl b
ld c,a
ld hl,$DC00
add hl,bc
ld a,[hl]
cp $5D
jp z,Logged_0xACB20
ld hl,$D18E
ld a,$01
call Logged_0x3B93
ld hl,$D013
dec [hl]
dec [hl]
dec [hl]
xor a
ld [$D014],a
ret
Logged_0xACB20:
call Logged_0xACA6D
scf
ret
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$02
ld [rSVBK],a
xor a
ld [rSCX],a
ld [$C085],a
ld [rSCY],a
ld [$C083],a
call Logged_0xACCB0
call Logged_0xACC9A
call Logged_0xACCA5
ld hl,$6A4D
ld b,$21
call Logged_0x3BB8
ld a,$01
ld [rVBK],a
ld a,$7C
ld [$C0AC],a
ld hl,$5D5D
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld hl,$4780
ld b,$2C
call Logged_0x3B5B
ld hl,$4300
ld b,$2C
call Logged_0x3B77
ld a,$01
ld [rVBK],a
ld hl,$4540
ld b,$2C
call Logged_0x3B77
xor a
ld [rVBK],a
call Logged_0xACE90
ld a,$05
call Logged_0x3AAC
ld a,$00
jp z,Logged_0xACC3E
ld hl,$CA3D
bit 0,[hl]
jr z,Logged_0xACBB4
bit 1,[hl]
jp z,Logged_0xACC3E
Logged_0xACBB4:
ld a,$03
ld [$DA00],a
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$5D0B
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$7AAA
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$7BA5
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,[$CA46]
and a
ld hl,$632F
jr z,Logged_0xACC24
ld hl,$6424
Logged_0xACC24:
ld a,$2C
ld [$C0AC],a
ld bc,$DC00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jr Logged_0xACC68
Logged_0xACC3E:
ld [$DA00],a
ld a,[$CA46]
and a
ld hl,$5FD7
jr z,Logged_0xACC4D
ld hl,$611A
Logged_0xACC4D:
ld a,$2C
ld [$C0AC],a
ld bc,$DC00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
call Logged_0xACF89
Logged_0xACC68:
ld a,$60
ld [$D140],a
ld a,$E8
ld [$D141],a
ld a,$FF
ld [$D148],a
xor a
call Logged_0xAC8D4
call Logged_0xAC528
xor a
ld [$D013],a
ld [$D014],a
ld a,[$D800]
ld b,a
and a
ld a,$C7
jr z,Logged_0xACC8F
xor b
Logged_0xACC8F:
ld [rLCDC],a
xor a
ld [$D800],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xACC9A:
ld hl,$D800
ld bc,$0800
xor a
call Fill_HL_A
ret
Logged_0xACCA5:
ld hl,$D140
ld bc,$00C0
xor a
call Fill_HL_A
ret
Logged_0xACCB0:
ld hl,RAMCode_0xACCBC
ld de,$C200
ld b,Logged_0xACD3A - RAMCode_0xACCBC
call MemCopy_DE_HL
ret
RAMCode_0xACCBC:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D079]
and a
jr z,Unknown_0xACCFF
ld b,a
xor a
ld [$D079],a
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld a,[$D158]
ld [rVBK],a
ld hl,$D0B0
ld a,[hli]
ld c,$51
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
Unknown_0xACCFF:
ld hl,$DA88
ld a,[hl]
and a
jr z,Unknown_0xACD13
ld e,a
xor a
ld [hli],a
ld a,[hli]
ld d,a
ld a,[hli]
ld [de],a
ld a,$01
ld [rVBK],a
ld a,[hl]
ld [de],a
Unknown_0xACD13:
xor a
ld [rVBK],a
ld hl,$D0D0
ld a,[hl]
and a
call nz,Logged_0x3BE4
ld hl,$D0D6
ld a,[hl]
and a
call nz,Logged_0x3BE4
ld a,[$D800]
and a
jr z,Unknown_0xACD35
ld hl,$FF40
xor [hl]
ld [hl],a
xor a
ld [$D800],a
Unknown_0xACD35:
ld a,$CC
jp $FFE8
Logged_0xACD3A:
call Logged_0xACD51
call Logged_0xAC2B2
call Logged_0xAC528
call Logged_0xAC2C4
call Logged_0x03B9
ret
Logged_0xACD4A:
ld hl,$DA05
xor a
ld [hld],a
inc [hl]
ret
Logged_0xACD51:
ld hl,$DA05
inc [hl]
ld c,l
ld b,h
ld a,[$DA00]
rst JumpList
dw Logged_0xACD63
dw Logged_0xACDBE
dw Logged_0xACDDF
dw Logged_0xAD03B
Logged_0xACD63:
ld a,[$DA04]
and a
jr z,Logged_0xACD76
dec a
jr z,Logged_0xACD7D
dec a
jr z,Logged_0xACD8B
dec a
jr z,Logged_0xACD98
dec a
jr z,Logged_0xACDA0
ret
Logged_0xACD76:
ld a,$08
call Logged_0xAC8D4
jr Logged_0xACD4A
Logged_0xACD7D:
call Logged_0xACA4C
cp $50
ret nz
ld [hl],a
ld a,$0D
call Logged_0xAC8D4
jr Logged_0xACD4A
Logged_0xACD8B:
ld a,[$DA05]
cp $08
ret c
ld a,$06
call Logged_0xAC8D4
jr Logged_0xACD4A
Logged_0xACD98:
ld a,[$D146]
cp $02
ret nz
jr Logged_0xACD4A
Logged_0xACDA0:
ld a,[$DA05]
cp $32
ret c
ld a,$0E
call Logged_0xAC8D4
ld hl,$DA05
xor a
ld [hld],a
ld [hl],a
xor a
ld [$DA81],a
ld [$DA80],a
ld hl,$DA00
ld [hl],$01
ret
Logged_0xACDBE:
call Logged_0xACE3F
ld a,[$DAB0]
and a
call z,Logged_0xACEA8
ld a,[$C094]
and $22
jr nz,Logged_0xACDD0
ret
Logged_0xACDD0:
ld hl,$DA05
xor a
ld [hld],a
ld [hl],a
call Logged_0xACE60
ld hl,$DA00
ld [hl],$02
ret
Logged_0xACDDF:
ld a,[$DA04]
and a
jr z,Logged_0xACDF2
dec a
jr z,Logged_0xACDFA
dec a
jr z,Logged_0xACE03
dec a
jr z,Logged_0xACE11
dec a
jr z,Logged_0xACE25
ret
Logged_0xACDF2:
ld a,$33
call Logged_0xAC8D4
jp Logged_0xACD4A
Logged_0xACDFA:
ld a,[$D146]
cp $0C
ret nz
jp Logged_0xACD4A
Logged_0xACE03:
ld a,[$DA05]
cp $04
ret c
ld a,$07
call Logged_0xAC8D4
jp Logged_0xACD4A
Logged_0xACE11:
ld a,[$C094]
bit 1,a
jr nz,Logged_0xACE2B
call Logged_0xACA34
cp $F0
ret nz
xor a
call Logged_0xAC8D4
jp Logged_0xACD4A
Logged_0xACE25:
ld a,[$DA05]
cp $0A
ret c
Logged_0xACE2B:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D14C],a
ld a,$08
ld [wGameSubState],a
scf
ret
Logged_0xACE3F:
ld a,[$DA02]
and a
ret nz
ld hl,$DA03
inc [hl]
ld a,[hl]
cp $5A
ret c
xor a
ld [hl],a
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$32
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$01
ld [$DA02],a
ret
Logged_0xACE60:
ld d,$C0
ld e,$07
jr Logged_0xACE6A
Logged_0xACE66:
ld d,$E0
ld e,$05
Logged_0xACE6A:
ld b,$19
ld a,[$DA85]
and a
jr z,Logged_0xACE74
ld b,$1D
Logged_0xACE74:
ld hl,$D0B0
ld a,$DB
ld [hli],a
ld a,$80
ld [hli],a
ld a,b
ld [hli],a
ld a,d
ld [hli],a
ld a,e
ld [hl],a
ld a,$2B
ld [$D079],a
xor a
ld [$D158],a
ld [$DA88],a
ret
Logged_0xACE90:
ld hl,$DB80
ld a,$7F
ld bc,$0080
call Fill_HL_A
ret
Logged_0xACE9C:
ld a,$7F
ld hl,$DB00
ld bc,$0040
call Fill_HL_A
ret
Logged_0xACEA8:
ld hl,$DA80
inc [hl]
ld a,[$DA81]
and a
jr z,Logged_0xACEDD
dec a
jr z,Logged_0xACEEF
dec a
jr z,Logged_0xACEF3
dec a
jr z,Logged_0xACEF7
dec a
jr z,Logged_0xACEFB
ld a,$80
ld [$DA81],a
ret
Logged_0xACEC4:
ld hl,$DA80
inc [hl]
ld a,[$DA81]
and a
jr z,Logged_0xACEDD
dec a
jr z,Logged_0xACEF3
dec a
jr z,Logged_0xACEF7
dec a
jr z,Logged_0xACEFB
ld a,$80
ld [$DA81],a
ret
Logged_0xACEDD:
ld a,[$DA80]
cp $0A
ret c
Logged_0xACEE3:
xor a
ld [$DA83],a
ld [$DA80],a
ld hl,$DA81
inc [hl]
ret
Logged_0xACEEF:
ld c,$00
jr Logged_0xACEFF
Logged_0xACEF3:
ld c,$01
jr Logged_0xACEFF
Logged_0xACEF7:
ld c,$02
jr Logged_0xACEFF
Logged_0xACEFB:
ld c,$03
jr Logged_0xACEFF
Logged_0xACEFF:
ld a,[$DA88]
and a
ret nz
ld b,$04
ld a,[$C093]
and $81
jr z,Logged_0xACF0F
srl b
Logged_0xACF0F:
ld a,[$DA80]
cp b
ret c
xor a
ld [$DA80],a
ld a,c
ld [$DA82],a
Logged_0xACF1C:
swap c
ld e,c
ld a,[$DA83]
ld d,a
add a,c
ld c,a
ld b,$00
rl b
ld hl,$DB00
add hl,bc
ld a,[hl]
cp $7F
jr z,Logged_0xACF79
ld [$DA8A],a
ld a,$09
ld [$DA8B],a
ld hl,$99C2
ld a,[$DA85]
and a
jr z,Logged_0xACF46
ld hl,$9DC2
Logged_0xACF46:
sla e
ld a,d
add a,e
ld e,a
ld d,$00
rl d
ld a,[$DA82]
and a
jr nz,Logged_0xACF56
dec l
Logged_0xACF56:
add hl,de
ld a,l
ld [$DA88],a
ld a,h
ld [$DA89],a
ld a,[$DA8A]
cp $7E
jr z,Logged_0xACF6E
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$30
ld [$FF00+hSFXIDLow],a
Logged_0xACF6E:
ld hl,$DA83
inc [hl]
ld a,[hl]
cp $10
ret nz
jp Logged_0xACEE3
Logged_0xACF79:
ld hl,$DA83
inc [hl]
ld a,[hl]
cp $10
jp z,Logged_0xACEE3
ld a,[$DA82]
ld c,a
jr Logged_0xACF1C
Logged_0xACF89:
ld de,$DB00
ld hl,$DC00
ld b,$10
call MemCopy_DE_HL
xor a
ld [$DAB0],a
ld a,$20
ld [$FF00+$85],a
ld a,$BC
ld [$FF00+$8D],a
ld a,$53
ld [$FF00+$8E],a
call $FF80
ld a,b
ld hl,$0020
and a
jr z,Logged_0xACFC3
ld hl,$0120
dec a
jr z,Logged_0xACFCC
ld hl,$0200
dec a
jr z,Logged_0xACFCC
ld hl,$02E0
dec a
jr z,Logged_0xACFCC
Unknown_0xACFC0:
nop
jr Unknown_0xACFC0
Logged_0xACFC3:
ld a,d
and a
jr nz,Logged_0xACFCC
ld a,$01
ld [$DAB0],a
Logged_0xACFCC:
ld bc,$DC00
add hl,bc
ld a,d
swap a
rlca
ld c,a
ld b,$00
add hl,bc
ld a,[$CA46]
and a
jr nz,Logged_0xACFFD
ld de,$DB10
ld b,$10
call MemCopy_DE_HL
ld de,$DB20
ld hl,$DC10
ld b,$10
call MemCopy_DE_HL
ld a,$7F
ld hl,$DB30
ld bc,$0010
call Fill_HL_A
ret
Logged_0xACFFD:
ld de,$DB20
ld b,$20
call MemCopy_DE_HL
ld de,$DB10
ld hl,$DC10
ld b,$10
call MemCopy_DE_HL
ret
Logged_0xAD011:
ld a,[$D014]
cp c
ret c
Logged_0xAD016:
ld hl,$D014
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAD01D:
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
xor a
ld [wGameSubState],a
ld hl,wGameState
inc [hl]
scf
ret
Logged_0xAD03B:
ld a,[$D013]
cp $02
jr c,Logged_0xAD051
ld a,[$CA3D]
bit 2,a
jr z,Logged_0xAD051
ld a,[$C094]
bit 1,a
jp nz,Logged_0xAD01D
Logged_0xAD051:
call Logged_0xAD91B
call Logged_0xAD92A
ld hl,$D014
inc [hl]
ld a,[$D013]
rst JumpList
dw Logged_0xAD016
dw Logged_0xAD3AF
dw Logged_0xAD0B3
dw Logged_0xACA74
dw Logged_0xACA9E
dw Logged_0xAD0B8
dw Logged_0xACAAD
dw Logged_0xACACD
dw Logged_0xACAE7
dw Logged_0xAD0BD
dw Logged_0xAD0C0
dw Logged_0xAD0D1
dw Logged_0xAD445
dw Logged_0xAD6F5
dw Logged_0xAD0E4
dw Logged_0xAD0F6
dw Logged_0xAD105
dw Logged_0xAD12F
dw Logged_0xAD14D
dw Logged_0xAD170
dw Logged_0xAD182
dw Logged_0xAD195
dw Logged_0xAD1E3
dw Logged_0xAD355
dw Logged_0xAD1F9
dw Logged_0xAD1FE
dw Logged_0xACA9E
dw Logged_0xAD207
dw Logged_0xACAAD
dw Logged_0xAD215
dw Logged_0xAD21D
dw Logged_0xAD22E
dw Logged_0xAD23A
dw Logged_0xACAAD
dw Logged_0xAD259
dw Logged_0xAD271
dw Logged_0xAD27A
dw Logged_0xAD2F4
dw Logged_0xAD300
dw Logged_0xAD308
dw Logged_0xAD319
dw Logged_0xAD01D
Logged_0xAD0B3:
ld c,$28
jp Logged_0xAD011
Logged_0xAD0B8:
ld c,$1E
jp Logged_0xAD011
Logged_0xAD0BD:
jp Logged_0xACAF3
Logged_0xAD0C0:
ld a,[$D014]
cp $1E
ret c
ld a,$01
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xAD016
Logged_0xAD0D1:
ld a,[$C094]
bit 0,a
ret z
xor a
ld hl,$D18E
call Logged_0x3B93
call Logged_0xACE60
jp Logged_0xAD016
Logged_0xAD0E4:
call Logged_0xAD345
ld a,$03
ld [$D880],a
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xAD16A
Logged_0xAD0F6:
call Logged_0xAD889
call Logged_0xAD345
ld a,[$D014]
and $0F
ret nz
jp Logged_0xAC9BA
Logged_0xAD105:
ld a,$01
ld [$D896],a
call Logged_0xAD345
ld a,$00
ld [$D8B2],a
ld [$D8B6],a
ld [$D8BA],a
ld [$D8BE],a
ld [$D8C2],a
ld [$D8C6],a
ld [$D8CA],a
ld [$D8CE],a
ld [$D8D2],a
ld [$D8D6],a
jr Logged_0xAD16A
Logged_0xAD12F:
call Logged_0xAD889
call Logged_0xAD345
xor a
ld de,$0004
ld hl,$D8B0
ld b,$0A
Logged_0xAD13E:
add a,[hl]
add hl,de
dec b
jr nz,Logged_0xAD13E
and a
ret nz
ld a,$08
ld [$D800],a
jp Logged_0xAD016
Logged_0xAD14D:
xor a
ld [$D158],a
ld de,$4800
ld b,$08
ld c,$7F
ld a,$36
ld [$D079],a
Logged_0xAD15D:
ld hl,$D0B0
ld a,d
ld [hli],a
ld a,e
ld [hli],a
ld a,b
ld [hli],a
xor a
ld [hli],a
ld a,c
ld [hl],a
Logged_0xAD16A:
call Logged_0xAD889
jp Logged_0xAD016
Logged_0xAD170:
xor a
ld [$D158],a
ld de,$5000
ld b,$10
ld c,$7F
ld a,$36
ld [$D079],a
jr Logged_0xAD15D
Logged_0xAD182:
ld a,$01
ld [$D158],a
ld de,$5800
ld b,$00
ld c,$7F
ld a,$36
ld [$D079],a
jr Logged_0xAD15D
Logged_0xAD195:
call Logged_0xAD889
ld a,[$D014]
cp $1E
ret c
ld a,$0D
ld hl,$D1BE
call Logged_0x3B93
ld a,$11
ld hl,$D19E
call Logged_0x3B93
ld a,$12
ld hl,$D1A6
call Logged_0x3B93
ld hl,$D1B8
ld a,$38
ld [hli],a
ld [hl],$50
ld hl,$D198
ld a,$58
ld [hli],a
ld [hl],$20
ld hl,$D1A0
ld [hli],a
ld [hl],$80
ld a,$01
ld [$D8DA],a
ld [$D8DC],a
ld a,$04
ld [$D880],a
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xAD016
Logged_0xAD1E3:
call Logged_0xAD889
ld c,$07
ld a,[$D0D5]
cp $14
jr c,Logged_0xAD1F1
ld c,$03
Logged_0xAD1F1:
ld a,[$D014]
and c
ret nz
jp Logged_0xAC9BA
Logged_0xAD1F9:
ld c,$28
jp Logged_0xAD011
Logged_0xAD1FE:
call Logged_0xACA74
ld a,$01
ld [$DA85],a
ret
Logged_0xAD207:
ld a,[$D014]
cp $1E
ret c
ld a,$04
ld [$DA84],a
jp Logged_0xAD016
Logged_0xAD215:
ld a,$10
ld [$D1BE],a
jp Logged_0xAD016
Logged_0xAD21D:
ld a,[$D1BE]
cp $0E
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$CC
ld [$FF00+hSFXIDLow],a
jp Logged_0xAD016
Logged_0xAD22E:
call Logged_0xACEC4
ld a,[$DA81]
cp $80
ret nz
jp Logged_0xAD016
Logged_0xAD23A:
ld a,[$D014]
cp $28
jr z,Logged_0xAD253
cp $46
ret c
ld hl,$DA84
inc [hl]
ld hl,$D18E
ld a,$01
call Logged_0x3B93
jp Logged_0xAD016
Logged_0xAD253:
ld a,$0F
ld [$D1BE],a
ret
Logged_0xAD259:
ld a,[$C094]
bit 0,a
ret z
xor a
ld hl,$D18E
call Logged_0x3B93
call Logged_0xACE66
ld a,$10
ld [$D1BE],a
jp Logged_0xACA6D
Logged_0xAD271:
ld a,[$D1BE]
cp $0E
ret nz
jp Logged_0xACA6D
Logged_0xAD27A:
call Logged_0xACEC4
call Logged_0xAD289
ld a,[$DA81]
cp $80
ret nz
jp Logged_0xAF135
Logged_0xAD289:
ld a,[$DA88]
and a
ret z
ld a,[$DA82]
cp $01
ret z
ld a,[$CA46]
and a
jr nz,Logged_0xAD2B2
ld a,[$DA84]
cp $05
jr z,Unknown_0xAD2CA
cp $06
jr z,Unknown_0xAD2E0
cp $07
jr z,Unknown_0xAD2E0
cp $08
jr z,Logged_0xAD2E4
cp $09
jr z,Unknown_0xAD2CA
ret
Logged_0xAD2B2:
ld a,[$DA84]
cp $05
jr z,Logged_0xAD2E8
cp $06
jr z,Logged_0xAD2E4
cp $07
jr z,Logged_0xAD2F0
cp $08
jr z,Logged_0xAD2EC
cp $09
jr z,Logged_0xAD2E4
ret
Unknown_0xAD2CA:
ld b,$01
Logged_0xAD2CC:
ld a,[$DA83]
cp b
ret nz
ld a,[$DA82]
cp $02
ret nz
ld a,$0F
ld [$D1BE],a
ld hl,$D1CE
ret
Unknown_0xAD2E0:
ld b,$08
jr Logged_0xAD2CC
Logged_0xAD2E4:
ld b,$0C
jr Logged_0xAD2CC
Logged_0xAD2E8:
ld b,$0A
jr Logged_0xAD2CC
Logged_0xAD2EC:
ld b,$0B
jr Logged_0xAD2CC
Logged_0xAD2F0:
ld b,$05
jr Logged_0xAD2CC
Logged_0xAD2F4:
ld a,[$D1BE]
cp $0D
ret nz
call Logged_0xACAF3
ret c
dec [hl]
ret
Logged_0xAD300:
ld a,$2A
call Logged_0xAC8D4
jp Logged_0xAD016
Logged_0xAD308:
ld a,[$D014]
cp $1E
ret c
ld hl,$D18E
ld a,$01
call Logged_0x3B93
jp Logged_0xAD016
Logged_0xAD319:
ld a,[$C094]
bit 0,a
ret z
xor a
ld [$D18E],a
call Logged_0xACE60
jp Logged_0xAD016
Logged_0xAD329:
ld a,[$D146]
cp b
ret nz
jr Logged_0xAD335
Logged_0xAD330:
ld a,[$D891]
cp c
ret c
Logged_0xAD335:
ld hl,$D891
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAD33C:
xor a
ld hl,$D890
ld [hli],a
ld [hl],a
jp Logged_0xAD016
Logged_0xAD345:
ld a,$56
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xAD355:
call Logged_0xAD889
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAD36F
dw Logged_0xAD37E
dw Logged_0xAD386
dw Logged_0xAD38E
dw Logged_0xAD39A
dw Logged_0xAD3A6
dw Logged_0xAD33C
Logged_0xAD36F:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$39
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0xAD335
Logged_0xAD37E:
ld a,$03
ld [$D892],a
jp Logged_0xAD335
Logged_0xAD386:
ld a,[$D894]
and a
ret nz
jp Logged_0xAD335
Logged_0xAD38E:
ld a,[bc]
cp $14
ret c
ld a,$2B
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD39A:
ld a,[bc]
cp $28
ret c
ld a,$2A
ld [$D146],a
jp Logged_0xAD335
Logged_0xAD3A6:
ld a,[$D146]
cp $02
ret nz
jp Logged_0xAD335
Logged_0xAD3AF:
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAD3CA
dw Logged_0xAD3CF
dw Logged_0xAD3D7
dw Logged_0xAD3E6
dw Logged_0xAD3EB
dw Logged_0xAD3F3
dw Logged_0xAD3F8
dw Unknown_0xAD403
dw Unknown_0xAD420
Logged_0xAD3CA:
ld c,$08
jp Logged_0xAD330
Logged_0xAD3CF:
ld a,$08
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD3D7:
call Logged_0xACA4C
cp $50
ret nz
ld [hl],a
ld a,$0D
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD3E6:
ld c,$1E
jp Logged_0xAD330
Logged_0xAD3EB:
ld a,$06
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD3F3:
ld b,$02
jp Logged_0xAD329
Logged_0xAD3F8:
ld a,[$CA3D]
bit 1,a
jp z,Logged_0xAD33C
jp Logged_0xAD335
Unknown_0xAD403:
ld a,[bc]
cp $14
ret c
ld a,$2C
call Logged_0xAC8D4
ld hl,$D188
ld a,$8E
ld [hli],a
ld a,$98
ld [hli],a
ld hl,$D18E
ld a,$01
call Logged_0x3B93
jp Logged_0xAD335
Unknown_0xAD420:
ld a,[$C094]
bit 0,a
jp nz,Unknown_0xAD439
and $22
ret z
xor a
ld [$D18E],a
ld a,$02
ld [$DA00],a
xor a
ld [$DA05],a
ret
Unknown_0xAD439:
ld a,$02
call Logged_0xAC8D4
xor a
ld [$D18E],a
jp Logged_0xAD33C
Logged_0xAD445:
call Logged_0xAD4B1
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAD46D
dw Logged_0xAD472
dw Logged_0xAD47A
dw Logged_0xAD47F
dw Logged_0xAD48B
dw Logged_0xAD493
dw Logged_0xAD49F
dw Logged_0xAD4A4
dw Logged_0xAD4A4
dw Logged_0xAD4A4
dw Logged_0xAD4A4
dw Logged_0xAD4A9
dw Logged_0xAD48B
dw Logged_0xAD33C
Logged_0xAD46D:
ld c,$3C
jp Logged_0xAD330
Logged_0xAD472:
ld a,$28
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD47A:
ld b,$2E
jp Logged_0xAD329
Logged_0xAD47F:
ld a,[bc]
cp $10
ret c
ld a,$01
ld [$D8A0],a
jp Logged_0xAD335
Logged_0xAD48B:
ld a,[$D8A0]
and a
ret nz
jp Logged_0xAD335
Logged_0xAD493:
ld a,[bc]
cp $3C
ret c
ld a,$2F
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD49F:
ld b,$02
jp Logged_0xAD329
Logged_0xAD4A4:
ld c,$F0
jp Logged_0xAD330
Logged_0xAD4A9:
ld a,$08
ld [$D8A0],a
jp Logged_0xAD335
Logged_0xAD4B1:
call Logged_0xAD55B
call Logged_0xAD58A
call Logged_0xAD5B9
call Logged_0xAD5E8
call Logged_0xAD618
ld hl,$D8A0
ld a,[hli]
inc [hl]
and a
ret z
ld b,h
ld c,l
rst JumpList
dw Logged_0xAD4E6
dw Logged_0xAD4ED
dw Logged_0xAD4F9
dw Logged_0xAD4FE
dw Logged_0xAD503
dw Logged_0xAD508
dw Logged_0xAD50D
dw Logged_0xAD4E6
dw Logged_0xAD514
dw Logged_0xAD523
dw Logged_0xAD52B
dw Logged_0xAD533
dw Logged_0xAD53B
dw Logged_0xAD50D
Logged_0xAD4E6:
ld hl,$D8A1
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAD4ED:
ld hl,$D8A2
Logged_0xAD4F0:
ld a,[bc]
cp $10
ret c
ld a,$01
ld [hl],a
jr Logged_0xAD4E6
Logged_0xAD4F9:
ld hl,$D8A4
jr Logged_0xAD4F0
Logged_0xAD4FE:
ld hl,$D8A6
jr Logged_0xAD4F0
Logged_0xAD503:
ld hl,$D8A8
jr Logged_0xAD4F0
Logged_0xAD508:
ld hl,$D8AA
jr Logged_0xAD4F0
Logged_0xAD50D:
ld hl,$D8A0
xor a
ld [hli],a
ld [hl],a
ret
Logged_0xAD514:
ld de,$D8A2
ld hl,$D1C7
Logged_0xAD51A:
ld a,[hld]
cp $10
ret nz
xor a
ld [hl],a
ld [de],a
jr Logged_0xAD4E6
Logged_0xAD523:
ld de,$D8A4
ld hl,$D1CF
jr Logged_0xAD51A
Logged_0xAD52B:
ld de,$D8A6
ld hl,$D1D7
jr Logged_0xAD51A
Logged_0xAD533:
ld de,$D8A8
ld hl,$D1DF
jr Logged_0xAD51A
Logged_0xAD53B:
ld de,$D8AA
ld hl,$D1E7
jr Logged_0xAD51A
Logged_0xAD543:
ld [hl],$50
inc l
ld [hl],$4E
inc l
set 2,l
call Logged_0x3B93
ret
Logged_0xAD54F:
dec [hl]
dec l
dec [hl]
dec [hl]
ld a,[hl]
cp $2C
ret
Logged_0xAD557:
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAD55B:
ld hl,$D8A2
ld a,[hli]
and a
ret z
rst JumpList
dw Unknown_0xAC9B7
dw Logged_0xAD56A
dw Logged_0xAD577
dw Logged_0xAD580
Logged_0xAD56A:
ld hl,$D1C0
ld a,$03
call Logged_0xAD543
Logged_0xAD572:
ld hl,$D8A3
jr Logged_0xAD557
Logged_0xAD577:
ld hl,$D1C1
call Logged_0xAD54F
ret nz
jr Logged_0xAD572
Logged_0xAD580:
ld hl,$D1C0
ld de,$5654
call Logged_0x3C25
ret
Logged_0xAD58A:
ld hl,$D8A4
ld a,[hli]
and a
ret z
rst JumpList
dw Unknown_0xAC9B7
dw Logged_0xAD599
dw Logged_0xAD5A6
dw Logged_0xAD5AF
Logged_0xAD599:
ld hl,$D1C8
ld a,$04
call Logged_0xAD543
Logged_0xAD5A1:
ld hl,$D8A5
jr Logged_0xAD557
Logged_0xAD5A6:
ld hl,$D1C9
call Logged_0xAD54F
ret nz
jr Logged_0xAD5A1
Logged_0xAD5AF:
ld hl,$D1C8
ld de,$5654
call Logged_0x3C25
ret
Logged_0xAD5B9:
ld hl,$D8A6
ld a,[hli]
and a
ret z
rst JumpList
dw Unknown_0xAC9B7
dw Logged_0xAD5C8
dw Logged_0xAD5D5
dw Logged_0xAD5DE
Logged_0xAD5C8:
ld hl,$D1D0
ld a,$05
call Logged_0xAD543
Logged_0xAD5D0:
ld hl,$D8A7
jr Logged_0xAD557
Logged_0xAD5D5:
ld hl,$D1D1
call Logged_0xAD54F
ret nz
jr Logged_0xAD5D0
Logged_0xAD5DE:
ld hl,$D1D0
ld de,$5654
call Logged_0x3C25
ret
Logged_0xAD5E8:
ld hl,$D8A8
ld a,[hli]
and a
ret z
rst JumpList
dw Unknown_0xAC9B7
dw Logged_0xAD5F7
dw Logged_0xAD605
dw Logged_0xAD60E
Logged_0xAD5F7:
ld hl,$D1D8
ld a,$06
call Logged_0xAD543
Logged_0xAD5FF:
ld hl,$D8A9
jp Logged_0xAD557
Logged_0xAD605:
ld hl,$D1D9
call Logged_0xAD54F
ret nz
jr Logged_0xAD5FF
Logged_0xAD60E:
ld hl,$D1D8
ld de,$5654
call Logged_0x3C25
ret
Logged_0xAD618:
ld hl,$D8AA
ld a,[hli]
and a
ret z
rst JumpList
dw Unknown_0xAC9B7
dw Logged_0xAD627
dw Logged_0xAD635
dw Logged_0xAD64A
Logged_0xAD627:
ld hl,$D1E0
ld a,$07
call Logged_0xAD543
Logged_0xAD62F:
ld hl,$D8AB
jp Logged_0xAD557
Logged_0xAD635:
ld hl,$D1E1
call Logged_0xAD54F
ret nz
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2C
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jr Logged_0xAD62F
Logged_0xAD64A:
ld hl,$D1E0
ld de,$5654
call Logged_0x3C25
ret
LoggedData_0xAD654:
INCBIN "baserom.gbc", $AD654, $AD6F5 - $AD654
Logged_0xAD6F5:
call Logged_0xAD889
call Logged_0xAD345
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAD73E
dw Logged_0xAD74A
dw Logged_0xAD753
dw Logged_0xAD75C
dw Logged_0xAD765
dw Logged_0xAD76E
dw Logged_0xAD777
dw Logged_0xAD783
dw Logged_0xAD7A7
dw Logged_0xAD7AF
dw Logged_0xAD7B4
dw Logged_0xAD7BC
dw Logged_0xAD7C1
dw Logged_0xAD7DD
dw Logged_0xAD7F0
dw Logged_0xAD7F8
dw Logged_0xAD801
dw Logged_0xAD80A
dw Logged_0xAD813
dw Logged_0xAD81C
dw Logged_0xAD82E
dw Logged_0xAD837
dw Logged_0xAD844
dw Logged_0xAD851
dw Logged_0xAD85E
dw Logged_0xAD86B
dw Logged_0xAD878
dw Logged_0xAD87D
dw Logged_0xAD33C
Logged_0xAD73E:
ld a,[bc]
cp $5A
ret c
ld a,$02
ld [$D896],a
jp Logged_0xAD335
Logged_0xAD74A:
ld a,[bc]
cp $10
ret c
ld hl,$D8B0
jr Logged_0xAD77E
Logged_0xAD753:
ld a,[bc]
cp $08
ret c
ld hl,$D8B4
jr Logged_0xAD77E
Logged_0xAD75C:
ld a,[bc]
cp $14
ret c
ld hl,$D8B8
jr Logged_0xAD77E
Logged_0xAD765:
ld a,[bc]
cp $08
ret c
ld hl,$D8BC
jr Logged_0xAD77E
Logged_0xAD76E:
ld a,[bc]
cp $10
ret c
ld hl,$D8C0
jr Logged_0xAD77E
Logged_0xAD777:
ld a,[bc]
cp $08
ret c
ld hl,$D8C4
Logged_0xAD77E:
ld b,$01
jp Logged_0xAD825
Logged_0xAD783:
ld a,[bc]
cp $3C
ret c
ld hl,$D180
ld a,[$D140]
sub $1C
ld [hli],a
ld a,[$D141]
ld [hl],a
ld a,$02
ld hl,$D186
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0xAD335
Logged_0xAD7A7:
ld a,[$D186]
and a
ret nz
jp Logged_0xAD335
Logged_0xAD7AF:
ld c,$2D
jp Logged_0xAD330
Logged_0xAD7B4:
ld a,$10
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD7BC:
ld b,$12
jp Logged_0xAD329
Logged_0xAD7C1:
ld a,$01
ld [$D896],a
ld a,$00
ld [$D8B2],a
ld [$D8B6],a
ld [$D8BA],a
ld [$D8BE],a
ld [$D8C2],a
ld [$D8C6],a
jp Logged_0xAD335
Logged_0xAD7DD:
xor a
ld de,$0004
ld hl,$D8B0
ld b,$06
Logged_0xAD7E6:
add a,[hl]
add hl,de
dec b
jr nz,Logged_0xAD7E6
and a
ret nz
jp Logged_0xAD335
Logged_0xAD7F0:
ld a,$0B
ld [$D896],a
jp Logged_0xAD335
Logged_0xAD7F8:
ld a,[bc]
cp $14
ret c
ld hl,$D8B0
jr Logged_0xAD823
Logged_0xAD801:
ld a,[bc]
cp $04
ret c
ld hl,$D8B4
jr Logged_0xAD823
Logged_0xAD80A:
ld a,[bc]
cp $0A
ret c
ld hl,$D8B8
jr Logged_0xAD823
Logged_0xAD813:
ld a,[bc]
cp $04
ret c
ld hl,$D8BC
jr Logged_0xAD823
Logged_0xAD81C:
ld a,[bc]
cp $0A
ret c
ld hl,$D8C0
Logged_0xAD823:
ld b,$02
Logged_0xAD825:
ld a,$01
ld [hli],a
xor a
ld [hli],a
ld [hl],b
jp Logged_0xAD335
Logged_0xAD82E:
ld a,[bc]
cp $0A
ret c
ld hl,$D8C4
jr Logged_0xAD823
Logged_0xAD837:
ld a,[bc]
cp $1E
ret c
xor a
ld [$D1C7],a
ld hl,$D8C8
jr Logged_0xAD823
Logged_0xAD844:
ld a,[bc]
cp $08
ret c
xor a
ld [$D1CF],a
ld hl,$D8CC
jr Logged_0xAD823
Logged_0xAD851:
ld a,[bc]
cp $0A
ret c
xor a
ld [$D1D7],a
ld hl,$D8D0
jr Logged_0xAD823
Logged_0xAD85E:
ld a,[bc]
cp $08
ret c
xor a
ld [$D1DF],a
ld hl,$D8D4
jr Logged_0xAD823
Logged_0xAD86B:
ld a,$01
ld [$D14D],a
ld a,$2A
call Logged_0xAC8D4
jp Logged_0xAD335
Logged_0xAD878:
ld b,$02
jp Logged_0xAD329
Logged_0xAD87D:
ld a,[bc]
cp $08
ret c
ld a,$01
ld [$D894],a
jp Logged_0xAD335
Logged_0xAD889:
ld a,[$D894]
cp $01
ret nz
ld hl,$D893
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAD8A8
dw Logged_0xAD8B5
dw Logged_0xAD8C3
dw Logged_0xAD8D7
dw Logged_0xAD8B5
dw Logged_0xAD8F1
dw Logged_0xAD8FF
dw Logged_0xAD90A
Logged_0xAD8A8:
ld a,$3B
call Logged_0xAC8D4
Logged_0xAD8AD:
ld hl,$D892
inc [hl]
xor a
inc l
ld [hl],a
ret
Logged_0xAD8B5:
call Logged_0xACA4C
cp $80
ret nz
ld [hl],a
ld a,$3A
call Logged_0xAC8D4
jr Logged_0xAD8AD
Logged_0xAD8C3:
call Logged_0xACA34
cp $20
ret nz
ld [hl],a
ld a,$3B
call Logged_0xAC8D4
ld hl,$D892
dec [hl]
xor a
inc l
ld [hl],a
ret
Logged_0xAD8D7:
ld a,[$D146]
cp $3B
jr z,Unknown_0xAD8EC
call Logged_0xACA34
cp $20
ret nz
ld [hl],a
ld a,$3B
call Logged_0xAC8D4
jr Logged_0xAD8AD
Unknown_0xAD8EC:
call Logged_0xAD8AD
jr Logged_0xAD8B5
Logged_0xAD8F1:
call Logged_0xACA34
cp $50
ret nz
ld [hl],a
ld a,$0C
call Logged_0xAC8D4
jr Logged_0xAD8AD
Logged_0xAD8FF:
ld a,[bc]
cp $14
ret c
ld a,$05
call Logged_0xAC8D4
jr Logged_0xAD8AD
Logged_0xAD90A:
ld a,[$D146]
cp $02
ret nz
xor a
ld [$D894],a
ld [$D893],a
ld [$D892],a
ret
Logged_0xAD91B:
ld a,[$D8DA]
and a
ret z
ld hl,$D198
ld de,$5939
call Logged_0x3C25
ret
Logged_0xAD92A:
ld a,[$D8DC]
and a
ret z
ld hl,$D1A0
ld de,$5939
call Logged_0x3C1F
ret
LoggedData_0xAD939:
INCBIN "baserom.gbc", $AD939, $AD9B2 - $AD939
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$02
ld [rSVBK],a
xor a
ld [rSCX],a
ld [$C085],a
ld [rSCY],a
ld [$C083],a
call Logged_0xADAA0
call Logged_0xACC9A
call Logged_0xACCA5
call Logged_0xADAF2
ld hl,$4900
ld de,$C040
ld b,$21
ld c,$40
call Logged_0x3B2B
ld hl,$4F80
ld b,$2C
call Logged_0x3B5B
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$6616
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$6546
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
call Logged_0xADA43
call Logged_0xAC528
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xADA43:
ld a,[$D057]
cp $7F
jr z,Logged_0xADA76
Logged_0xADA4A:
ld de,$D140
ld a,$58
ld [de],a
inc e
ld a,[$D012]
add a,a
add a,a
ld c,a
ld b,$00
ld hl,$5A6E
add hl,bc
ld a,[hli]
ld [de],a
ld a,[hli]
ld a,[hl]
ld [$DA10],a
ld a,$FF
ld [$D148],a
xor a
call Logged_0xAC8D4
ret
LoggedData_0xADA6E:
INCBIN "baserom.gbc", $ADA6E, $ADA71 - $ADA6E
Unknown_0xADA71:
INCBIN "baserom.gbc", $ADA71, $ADA72 - $ADA71
LoggedData_0xADA72:
INCBIN "baserom.gbc", $ADA72, $ADA75 - $ADA72
Unknown_0xADA75:
INCBIN "baserom.gbc", $ADA75, $ADA76 - $ADA75
Logged_0xADA76:
ld a,[$D00F]
cp $1A
jr nz,Logged_0xADA97
ld de,$D140
ld a,$58
ld [de],a
inc e
ld a,$50
ld [de],a
ld a,$04
ld [$DA10],a
ld a,$FF
ld [$D148],a
ld a,$01
call Logged_0xAC8D4
ret
Logged_0xADA97:
call Logged_0xADA4A
ld hl,$DA10
inc [hl]
inc [hl]
ret
Logged_0xADAA0:
ld hl,RAMCode_0xADAAC
ld de,$C200
ld b,Logged_0xADAF2 - RAMCode_0xADAAC
call MemCopy_DE_HL
ret
RAMCode_0xADAAC:
ld a,$02
ld [rSVBK],a
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$D079]
and a
jr z,Unknown_0xADAEA
ld b,a
xor a
ld [$D079],a
ld a,[$C5FF]
push af
ld a,b
ld [$C5FF],a
ld [rROMB0+$100],a
ld hl,$D0B0
ld a,[hli]
ld c,$51
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
ld a,[hli]
inc c
ld [$FF00+c],a
pop af
ld [$C5FF],a
ld [rROMB0+$100],a
Unknown_0xADAEA:
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0xADAF2:
ld hl,$5DC9
call Logged_0x1A15
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ld a,[$D057]
bit 0,a
call nz,Logged_0xADB47
ld a,[$D057]
bit 1,a
call nz,Logged_0xADB53
ld a,[$D057]
bit 2,a
call nz,Logged_0xADB80
ld a,[$D057]
bit 3,a
call nz,Logged_0xADB8C
ld a,[$D057]
bit 4,a
call nz,Logged_0xADBA3
ld a,[$D057]
bit 5,a
call nz,Logged_0xADBD0
ld a,[$D057]
bit 6,a
call nz,Logged_0xADBF2
ld hl,$C100
ld de,$C000
ld b,$40
call MemCopy_DE_HL
ret
Logged_0xADB47:
ld hl,$5E41
ld de,$C138
ld b,$08
call MemCopy_DE_HL
ret
Logged_0xADB53:
ld hl,$5E0B
ld de,$C102
ld b,$02
call MemCopy_DE_HL
ld hl,$5E11
ld de,$C108
ld b,$02
call MemCopy_DE_HL
ld hl,$5E19
ld de,$C110
ld b,$06
call MemCopy_DE_HL
ld hl,$5E23
ld de,$C11A
ld b,$02
call MemCopy_DE_HL
ret
Logged_0xADB80:
ld hl,$5E2B
ld de,$C122
ld b,$06
call MemCopy_DE_HL
ret
Logged_0xADB8C:
ld hl,$5E13
ld de,$C10A
ld b,$06
call MemCopy_DE_HL
ld hl,$5E33
ld de,$C12A
ld b,$06
call MemCopy_DE_HL
ret
Logged_0xADBA3:
ld hl,$5E0D
ld de,$C104
ld b,$02
call MemCopy_DE_HL
ld hl,$5E21
ld de,$C118
ld b,$02
call MemCopy_DE_HL
ld hl,$5E29
ld de,$C120
ld b,$02
call MemCopy_DE_HL
ld hl,$5E31
ld de,$C128
ld b,$02
call MemCopy_DE_HL
ret
Logged_0xADBD0:
ld hl,$5E0F
ld de,$C106
ld b,$02
call MemCopy_DE_HL
ld hl,$5E1F
ld de,$C116
ld b,$02
call MemCopy_DE_HL
ld hl,$5E25
ld de,$C11C
ld b,$04
call MemCopy_DE_HL
ret
Logged_0xADBF2:
ld hl,$5E39
ld de,$C130
ld b,$08
call MemCopy_DE_HL
ret
call Logged_0xADC0B
call nc,Logged_0xADC2F
call Logged_0xAC528
call Logged_0x03B9
ret
Logged_0xADC0B:
ld a,[$DA10]
cp $04
jr z,Logged_0xADC19
ld a,[$C094]
bit 1,a
jr nz,Logged_0xADC1B
Logged_0xADC19:
xor a
ret
Logged_0xADC1B:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D14C],a
ld a,$08
ld [wGameSubState],a
scf
ret
Logged_0xADC2F:
ld hl,$DA12
inc [hl]
ld c,l
ld b,h
ld a,[$DA10]
rst JumpList
dw Logged_0xADC54
dw Logged_0xADC7E
dw Logged_0xADCA9
dw Logged_0xADCDA
dw Logged_0xADD0B
Logged_0xADC43:
ld hl,$DA12
xor a
ld [hld],a
inc [hl]
ret
Logged_0xADC4A:
ld [$DA10],a
ld hl,$DA12
xor a
ld [hld],a
ld [hl],a
ret
Logged_0xADC54:
ld a,[$DA11]
and a
jr z,Logged_0xADC65
dec a
jr z,Logged_0xADC6C
dec a
jr z,Logged_0xADC78
dec a
call z,Logged_0xADC1B
ret
Logged_0xADC65:
ld a,$08
call Logged_0xAC8D4
jr Logged_0xADC43
Logged_0xADC6C:
call Logged_0xACA4C
cp $90
ret nz
xor a
call Logged_0xAC8D4
jr Logged_0xADC43
Logged_0xADC78:
ld a,[bc]
cp $14
ret c
jr Logged_0xADC43
Logged_0xADC7E:
ld a,[$DA11]
and a
jr z,Logged_0xADC8F
dec a
jr z,Logged_0xADC96
dec a
jr z,Logged_0xADCA2
dec a
call z,Logged_0xADC1B
ret
Logged_0xADC8F:
ld a,$07
call Logged_0xAC8D4
jr Logged_0xADC43
Logged_0xADC96:
call Logged_0xACA34
cp $10
ret nz
xor a
call Logged_0xAC8D4
jr Logged_0xADC43
Logged_0xADCA2:
ld a,[bc]
cp $14
ret c
jp Logged_0xADC43
Logged_0xADCA9:
ld a,[$DA11]
and a
jr z,Logged_0xADCB6
dec a
jr z,Logged_0xADCBE
dec a
jr z,Logged_0xADCCC
ret
Logged_0xADCB6:
ld a,$08
call Logged_0xAC8D4
jp Logged_0xADC43
Logged_0xADCBE:
call Logged_0xACA4C
cp $50
ret nz
ld a,$0D
call Logged_0xAC8D4
jp Logged_0xADC43
Logged_0xADCCC:
ld a,[bc]
cp $08
ret c
ld a,$34
call Logged_0xAC8D4
ld a,$04
jp Logged_0xADC4A
Logged_0xADCDA:
ld a,[$DA11]
and a
jr z,Logged_0xADCE7
dec a
jr z,Logged_0xADCEF
dec a
jr z,Unknown_0xADCFD
ret
Logged_0xADCE7:
ld a,$07
call Logged_0xAC8D4
jp Logged_0xADC43
Logged_0xADCEF:
call Logged_0xACA34
cp $50
ret nz
ld a,$0C
call Logged_0xAC8D4
jp Logged_0xADC43
Unknown_0xADCFD:
ld a,[bc]
cp $08
ret c
ld a,$35
call Logged_0xAC8D4
ld a,$04
jp Logged_0xADC4A
Logged_0xADD0B:
ld a,[$DA11]
rst JumpList
dw Logged_0xADD21
dw Logged_0xADD2A
dw Logged_0xADD36
dw Logged_0xADD8A
dw Logged_0xADD93
dw Logged_0xADDA5
dw Logged_0xADDAE
dw Unknown_0xADDB7
dw Unknown_0xADDC0
Logged_0xADD21:
ld a,[$D146]
cp $01
ret nz
jp Logged_0xADC43
Logged_0xADD2A:
ld a,[bc]
cp $10
ret c
ld a,$3C
call Logged_0xAC8D4
jp Logged_0xADC43
Logged_0xADD36:
ld a,[$C094]
bit 4,a
jr nz,Unknown_0xADD46
bit 5,a
jr nz,Logged_0xADD60
and $41
jr nz,Logged_0xADD7A
ret
Unknown_0xADD46:
ld a,$01
ld [$D012],a
ld a,$0F
ld [$D01D],a
ld [$D068],a
ld a,$37
call Logged_0xAC8D4
ld hl,$DA12
xor a
ld [hld],a
ld [hl],$07
ret
Logged_0xADD60:
ld a,$00
ld [$D012],a
ld a,$0E
ld [$D01D],a
ld [$D068],a
ld a,$36
call Logged_0xAC8D4
ld hl,$DA12
xor a
ld [hld],a
ld [hl],$05
ret
Logged_0xADD7A:
ld a,$30
call Logged_0xAC8D4
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
jp Logged_0xADC43
Logged_0xADD8A:
ld a,[$D146]
cp $02
ret nz
jp Logged_0xADC43
Logged_0xADD93:
ld a,[bc]
cp $14
ret c
ld a,$1A
ld [$D00F],a
xor a
ld [wGameSubState],a
ld hl,wGameState
inc [hl]
ret
Logged_0xADDA5:
ld a,[$D146]
cp $0C
ret nz
jp Logged_0xADC43
Logged_0xADDAE:
ld a,[bc]
cp $04
ret c
ld a,$01
jp Logged_0xADC4A
Unknown_0xADDB7:
ld a,[$D146]
cp $0D
ret nz
jp Logged_0xADC43
Unknown_0xADDC0:
ld a,[bc]
cp $04
ret c
ld a,$00
jp Logged_0xADC4A
LoggedData_0xADDC9:
INCBIN "baserom.gbc", $ADDC9, $ADE09 - $ADDC9
Unknown_0xADE09:
INCBIN "baserom.gbc", $ADE09, $ADE0B - $ADE09
LoggedData_0xADE0B:
INCBIN "baserom.gbc", $ADE0B, $ADE49 - $ADE0B
call Logged_0xACC9A
call Logged_0xACCA5
call Logged_0xACCB0
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$74C3
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$730C
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$4F80
ld b,$2C
call Logged_0x3B5B
ld a,$01
ld [rVBK],a
ld a,$7C
ld [$C0AC],a
ld hl,$5D5D
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$5780
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$7A5B
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$7A03
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$4000
ld de,$8800
ld b,$2C
ld c,$03
call Logged_0x3B42
ld a,[$CA46]
and a
jr z,Unknown_0xADF48
ld a,$2C
ld [$C0AC],a
ld hl,$77F9
ld bc,$DC00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
jr Logged_0xADF63
Unknown_0xADF48:
ld a,$2C
ld [$C0AC],a
ld hl,$7675
ld bc,$DC00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
Logged_0xADF63:
call Logged_0xACE90
xor a
ld hl,$C000
ld bc,$0040
call Fill_HL_A
xor a
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ld hl,$D140
ld a,$60
ld [hli],a
ld a,$60
ld [hli],a
ld a,$FF
ld [$D148],a
xor a
call Logged_0xAC8D4
ld a,$08
ld [$D800],a
ret
Logged_0xADF92:
ld a,[$D014]
cp c
ret c
Logged_0xADF97:
ld hl,$D014
xor a
ld [hld],a
inc [hl]
ret
Logged_0xADF9E:
ld hl,wGameSubState
inc [hl]
ret
call Logged_0xADFB0
call Logged_0xAC3D9
call Logged_0xAC528
call Logged_0xAC3FD
ret
Logged_0xADFB0:
ld a,[$D013]
rst JumpList
dw Logged_0xADF97
dw Logged_0xAE002
dw Logged_0xAE007
dw Logged_0xAC9BA
dw Logged_0xAE6D3
dw Logged_0xAE016
dw Logged_0xAE82A
dw Logged_0xAE021
dw Logged_0xAC9BA
dw Logged_0xAE025
dw Logged_0xAC9BA
dw Logged_0xAE22D
dw Logged_0xAE079
dw Logged_0xAE1DE
dw Logged_0xAE0C4
dw Logged_0xAE31C
dw Logged_0xAE021
dw Logged_0xAC9BA
dw Logged_0xAE0F9
dw Logged_0xAE119
dw Logged_0xAE127
dw Logged_0xAE134
dw Logged_0xAE15B
dw Logged_0xAE55C
dw Logged_0xAE164
dw Logged_0xAE169
dw Logged_0xAE641
dw Logged_0xACA74
dw Logged_0xACA9E
dw Logged_0xAE17C
dw Logged_0xACAAD
dw Logged_0xACACD
dw Logged_0xACAE7
dw Logged_0xAE181
dw Logged_0xAE196
dw Logged_0xAE19E
dw Logged_0xAE1AF
dw Logged_0xAE668
dw Logged_0xADF9E
Logged_0xAE002:
ld c,$3C
jp Logged_0xADF92
Logged_0xAE007:
ld a,$01
Logged_0xAE009:
ld [$D880],a
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xADF97
Logged_0xAE016:
ld hl,$C085
inc [hl]
ld a,[hl]
cp $28
ret nz
jp Logged_0xADF97
Logged_0xAE021:
ld a,$00
jr Logged_0xAE009
Logged_0xAE025:
ld a,$70
ld [$C083],a
xor a
ld [$C085],a
ld hl,$D140
ld a,$D0
ld [hli],a
ld a,$F0
ld [hl],a
xor a
call Logged_0xAC8D4
call Logged_0xAE067
ld hl,$D188
ld a,$BB
ld [hli],a
ld [$D190],a
ld a,$78
ld [hl],a
ld [$D191],a
xor a
ld [$D8B0],a
ld hl,$D18E
call Logged_0x3B93
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$31
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$06
jr Logged_0xAE009
Logged_0xAE067:
ld hl,$D198
ld a,$C3
ld [hli],a
ld a,$78
ld [hl],a
ld hl,$D19E
ld a,$09
call Logged_0x3B93
ret
Logged_0xAE079:
xor a
ld [$C083],a
ld [$C085],a
ld a,$08
ld [$D800],a
ld a,$50
ld hl,$D1C0
ld [hli],a
ld [hl],a
ld a,$0D
ld hl,$D1C6
call Logged_0x3B93
xor a
ld hl,$D19E
call Logged_0x3B93
ld hl,$6A8D
ld de,$C140
ld c,$08
ld b,$21
call Logged_0x3B2B
ld hl,$6A0D
Logged_0xAE0AB:
ld de,$C000
ld c,$40
ld b,$21
call Logged_0x3B2B
ld de,$49F5
call Logged_0xAC9E9
ld de,$49FF
call Logged_0xAC9E4
jp Logged_0xADF97
Logged_0xAE0C4:
ld a,$70
ld [$C083],a
xor a
ld [$C085],a
ld a,$08
ld [$D800],a
ld a,$1F
call Logged_0xAC8D4
call Logged_0xAE067
ld a,$0E
ld hl,$D18E
call Logged_0x3B93
xor a
ld hl,$D1C6
call Logged_0x3B93
ld hl,$C040
ld de,$C140
ld b,$08
call MemCopy_DE_HL
ld hl,$69CD
jr Logged_0xAE0AB
Logged_0xAE0F9:
xor a
ld [$D158],a
ld de,$4300
ld b,$18
ld c,$23
Logged_0xAE104:
ld a,$2C
ld [$D079],a
ld hl,$D0B0
ld a,d
ld [hli],a
ld a,e
ld [hli],a
ld a,b
ld [hli],a
xor a
ld [hli],a
ld a,c
ld [hl],a
jp Logged_0xADF97
Logged_0xAE119:
ld a,$01
ld [$D158],a
ld de,$4540
ld b,$18
ld c,$23
jr Logged_0xAE104
Logged_0xAE127:
xor a
ld [$D158],a
ld de,$4780
ld b,$10
ld c,$7F
jr Logged_0xAE104
Logged_0xAE134:
xor a
ld [$C083],a
ld [$C085],a
ld a,$08
ld [$D800],a
ld hl,$D140
ld a,$60
ld [hli],a
ld a,$40
ld [hl],a
ld a,$22
call Logged_0xAC8D4
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F5
ld [$FF00+hSFXIDLow],a
ld a,$05
jp Logged_0xAE009
Logged_0xAE15B:
ld a,[$D014]
and $07
ret nz
jp Logged_0xAC9BA
Logged_0xAE164:
ld a,$02
jp Logged_0xAE009
Logged_0xAE169:
ld c,$07
ld a,[$D0D5]
cp $08
jr c,Logged_0xAE174
ld c,$01
Logged_0xAE174:
ld a,[$D014]
and c
ret nz
jp Logged_0xAC9BA
Logged_0xAE17C:
ld c,$1E
jp Logged_0xADF92
Logged_0xAE181:
call Logged_0xACAF3
call Logged_0xAE188
ret
Logged_0xAE188:
ld a,[$DA84]
cp $02
jr z,Logged_0xAE190
ret
Logged_0xAE190:
ld a,$10
call Logged_0xAC8D4
ret
Logged_0xAE196:
ld a,$0F
call Logged_0xAC8D4
jp Logged_0xADF97
Logged_0xAE19E:
ld a,[$D146]
cp $02
ret nz
ld hl,$D18E
ld a,$01
call Logged_0x3B93
jp Logged_0xADF97
Logged_0xAE1AF:
ld a,[$C094]
bit 0,a
ret z
ld hl,$D18E
xor a
call Logged_0x3B93
call Logged_0xACE60
jp Logged_0xADF97
Logged_0xAE1C2:
ld a,[$D146]
cp b
ret nz
jr Logged_0xAE1CE
Logged_0xAE1C9:
ld a,[$D891]
cp c
ret c
Logged_0xAE1CE:
ld hl,$D891
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAE1D5:
xor a
ld hl,$D890
ld [hli],a
ld [hl],a
jp Logged_0xADF97
Logged_0xAE1DE:
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE1F1
dw Logged_0xAE1F5
dw Logged_0xAE211
dw Logged_0xAE215
dw Logged_0xAE229
dw Logged_0xAE1D5
Logged_0xAE1F1:
ld c,$14
jr Logged_0xAE1C9
Logged_0xAE1F5:
ld hl,$D1A0
ld a,$38
ld [hli],a
ld a,$38
ld [hl],a
ld a,$0E
ld hl,$D1A6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE211:
ld c,$0A
jr Logged_0xAE1C9
Logged_0xAE215:
ld hl,$D1A8
ld a,$30
ld [hli],a
ld a,$78
ld [hl],a
ld a,$0E
ld hl,$D1AE
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE229:
ld c,$5A
jr Logged_0xAE1C9
Logged_0xAE22D:
call Logged_0xAE2DD
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE251
dw Logged_0xAE259
dw Logged_0xAE272
dw Logged_0xAE27A
dw Logged_0xAE2A2
dw Logged_0xAE2AA
dw Logged_0xAE251
dw Logged_0xAE2AF
dw Logged_0xAE2B8
dw Logged_0xAE2CB
dw Logged_0xAE2D3
dw Logged_0xAE2D8
dw Logged_0xAE1D5
Logged_0xAE251:
ld a,$08
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE259:
call Logged_0xACA4C
cp $32
jr z,Logged_0xAE26C
cp $40
ret nz
ld [hl],a
Logged_0xAE264:
ld a,$0D
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE26C:
ld a,$01
ld [$D8B0],a
ret
Logged_0xAE272:
ld a,[$D8B0]
and a
ret nz
jp Logged_0xAE1CE
Logged_0xAE27A:
ld a,[$D891]
cp $16
ret c
ld hl,$D180
ld a,[$D140]
sub $18
ld [hli],a
ld a,[$D141]
add a,$10
ld [hl],a
ld a,$11
ld hl,$D186
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE2A2:
ld a,[$D186]
and a
ret nz
jp Logged_0xAE1CE
Logged_0xAE2AA:
ld c,$1A
jp Logged_0xAE1C9
Logged_0xAE2AF:
call Logged_0xACA4C
cp $66
ret nz
ld [hl],a
jr Logged_0xAE264
Logged_0xAE2B8:
ld a,[$D891]
cp $14
jr z,Logged_0xAE2C5
cp $3C
ret c
jp Logged_0xAE1CE
Logged_0xAE2C5:
ld a,$03
ld [$D8B0],a
ret
Logged_0xAE2CB:
ld a,$1D
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE2D3:
ld b,$1F
jp Logged_0xAE1C2
Logged_0xAE2D8:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE2DD:
ld a,[$D8B0]
rst JumpList
dw Logged_0xAE2FB
dw Logged_0xAE2ED
dw Logged_0xAE303
dw Logged_0xAE2ED
dw Logged_0xAE2FC
dw Logged_0xAE30E
Logged_0xAE2ED:
ld a,$0E
ld hl,$D18E
call Logged_0x3B93
Logged_0xAE2F5:
ld hl,$D8B1
xor a
ld [hld],a
inc [hl]
Logged_0xAE2FB:
ret
Logged_0xAE2FC:
ld a,[$D18E]
and a
ret nz
jr Logged_0xAE2F5
Logged_0xAE303:
ld a,[$D18E]
and a
ret nz
ld hl,$D8B0
ld [hli],a
ld [hl],a
ret
Logged_0xAE30E:
ld hl,$D8B1
inc [hl]
ld a,[hl]
cp $14
ret c
ld hl,$D8B0
dec [hl]
dec [hl]
ret
Logged_0xAE31C:
call Logged_0xAE523
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE352
dw Logged_0xAE35A
dw Logged_0xAE36F
dw Logged_0xAE374
dw Logged_0xAE37C
dw Logged_0xAE38D
dw Logged_0xAE3A9
dw Logged_0xAE3D3
dw Logged_0xAE3D8
dw Logged_0xAE3E2
dw Logged_0xAE3FA
dw Logged_0xAE407
dw Logged_0xAE435
dw Logged_0xAE442
dw Logged_0xAE447
dw Logged_0xAE476
dw Logged_0xAE488
dw Logged_0xAE4A4
dw Logged_0xAE4A9
dw Logged_0xAE4E5
dw Logged_0xAE51E
dw Logged_0xAE1D5
Logged_0xAE352:
ld a,[$D18E]
and a
ret nz
jp Logged_0xAE1CE
Logged_0xAE35A:
ld a,[$D891]
cp $14
ret c
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0xAE1CE
Logged_0xAE36F:
ld c,$1E
jp Logged_0xAE1C9
Logged_0xAE374:
ld a,$1E
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE37C:
ld a,[$D891]
cp $08
ret nc
ld hl,$D19E
ld a,$0A
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE38D:
ld hl,$D140
ld a,[$D891]
cp $01
jr z,Logged_0xAE3A1
cp $05
jr z,Logged_0xAE3A5
cp $30
ret c
jp Logged_0xAE1CE
Logged_0xAE3A1:
dec [hl]
inc l
dec [hl]
ret
Logged_0xAE3A5:
inc [hl]
inc l
dec [hl]
ret
Logged_0xAE3A9:
ld a,[$D891]
and $07
ret nz
ld hl,$D198
dec [hl]
ld a,[hl]
ld b,a
sub $08
ld [$D190],a
ld a,b
cp $B4
jr z,Logged_0xAE3C5
cp $A5
ret nz
jp Logged_0xAE1CE
Logged_0xAE3C5:
ld hl,$D196
ld a,$0C
call Logged_0x3B93
ld a,$01
ld [$D150],a
ret
Logged_0xAE3D3:
ld c,$78
jp Logged_0xAE1C9
Logged_0xAE3D8:
xor a
ld hl,$D196
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE3E2:
ld hl,$D180
ld a,[$D140]
sub $08
ld [hli],a
ld a,[$D141]
ld [hl],a
ld a,$0E
ld hl,$D186
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE3FA:
ld a,[$D186]
and a
ret nz
ld a,$80
ld [$D150],a
jp Logged_0xAE1CE
Logged_0xAE407:
ld hl,$D180
ld a,[$D140]
sub $10
ld [hli],a
ld a,[$D141]
add a,$02
ld [hl],a
ld a,$15
ld hl,$D186
call Logged_0x3B93
ld hl,$C140
ld b,$04
Logged_0xAE423:
ld a,$9C
ld [hli],a
ld a,$73
ld [hli],a
dec b
jr nz,Logged_0xAE423
ld de,$49FF
call Logged_0xAC9E4
jp Logged_0xAE1CE
Logged_0xAE435:
ld a,[$D186]
cp $16
ret nz
xor a
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE442:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE447:
ld hl,$D180
ld a,[hli]
cp $B5
jr c,Logged_0xAE45E
ld a,[$D891]
ld b,a
and $03
ret nz
bit 2,b
jr z,Logged_0xAE45B
inc [hl]
Logged_0xAE45B:
dec l
dec [hl]
ret
Logged_0xAE45E:
inc [hl]
dec l
dec [hl]
dec [hl]
ld a,[hl]
cp $A8
jr z,Logged_0xAE46D
cp $9C
ret nz
jp Logged_0xAE1CE
Logged_0xAE46D:
ld a,$17
ld hl,$D186
call Logged_0x3B93
ret
Logged_0xAE476:
ld a,$09
ld hl,$D19E
call Logged_0x3B93
xor a
ld hl,$D186
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE488:
ld a,[$D891]
srl a
ret c
ld hl,$D199
cp $01
jr z,Logged_0xAE49F
cp $02
jr z,Logged_0xAE4A1
call Logged_0xAE49F
jp Logged_0xAE1CE
Logged_0xAE49F:
inc [hl]
ret
Logged_0xAE4A1:
dec [hl]
dec [hl]
ret
Logged_0xAE4A4:
ld c,$28
jp Logged_0xAE1C9
Logged_0xAE4A9:
ld hl,$D891
call Logged_0xAE4C0
ld hl,$D198
add a,[hl]
ld [hl],a
cp $C3
ret c
ld a,$C3
ld [hl],a
call Logged_0xAE515
jp Logged_0xAE1CE
Logged_0xAE4C0:
ld a,[hl]
cp $14
jr c,Logged_0xAE4C8
ld a,$10
ld [hl],a
Logged_0xAE4C8:
ld e,a
ld d,$00
ld hl,$64D1
add hl,de
ld a,[hl]
ret
Unknown_0xAE4D1:
INCBIN "baserom.gbc", $AE4D1, $AE4D2 - $AE4D1
LoggedData_0xAE4D2:
INCBIN "baserom.gbc", $AE4D2, $AE4E5 - $AE4D2
Logged_0xAE4E5:
ld hl,$D891
call Logged_0xAE4FE
and a
ret z
ld hl,$D198
add a,[hl]
ld [hl],a
cp $C3
call z,Logged_0xAE515
ld a,$80
cp b
ret nz
jp Logged_0xAE1CE
Logged_0xAE4FE:
ld a,[hl]
ld e,a
ld d,$00
ld hl,$6509
add hl,de
ld a,[hli]
ld b,[hl]
ret
Unknown_0xAE509:
INCBIN "baserom.gbc", $AE509, $AE50A - $AE509
LoggedData_0xAE50A:
INCBIN "baserom.gbc", $AE50A, $AE515 - $AE50A
Logged_0xAE515:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAE51E:
ld c,$78
jp Logged_0xAE1C9
Logged_0xAE523:
ld hl,$D150
ld a,[hl]
and a
ret z
cp $80
jr z,Logged_0xAE554
ld hl,$D151
inc [hl]
ld a,[hl]
cp $02
ret c
xor a
ld [hld],a
ld c,[hl]
inc [hl]
ld a,[hl]
cp $09
jr c,Logged_0xAE540
ld [hl],$01
Logged_0xAE540:
ld hl,$654B
ld b,$00
add hl,bc
ld a,[hl]
ld [$D143],a
ret
Unknown_0xAE54B:
INCBIN "baserom.gbc", $AE54B, $AE54C - $AE54B
LoggedData_0xAE54C:
INCBIN "baserom.gbc", $AE54C, $AE554 - $AE54C
Logged_0xAE554:
xor a
ld [$D143],a
ld [$D150],a
ret
Logged_0xAE55C:
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE585
dw Logged_0xAE58D
dw Logged_0xAE599
dw Logged_0xAE5A8
dw Logged_0xAE5B1
dw Logged_0xAE5D0
dw Logged_0xAE5DC
dw Logged_0xAE5F0
dw Logged_0xAE5F5
dw Logged_0xAE5FD
dw Logged_0xAE60C
dw Logged_0xAE618
dw Logged_0xAE61D
dw Logged_0xAE630
dw Logged_0xAE63C
dw Logged_0xAE1D5
Logged_0xAE585:
ld a,[$D14E]
inc a
ret nz
jp Logged_0xAE1CE
Logged_0xAE58D:
ld a,[bc]
cp $4B
ret c
ld a,$23
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE599:
ld a,[bc]
cp $14
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE5A8:
ld a,[$D146]
cp $25
ret nz
jp Logged_0xAE1CE
Logged_0xAE5B1:
ld a,[bc]
cp $05
ret c
ld a,[$D140]
sub $01
ld [$D180],a
ld a,[$D141]
add a,$09
ld [$D181],a
ld a,$14
ld hl,$D186
call Logged_0x3B93
jp Logged_0xAE1CE
Logged_0xAE5D0:
ld a,[bc]
cp $8C
ret c
ld a,$24
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE5DC:
ld a,[bc]
cp $10
ret c
ld a,$0D
call Logged_0xAC8D4
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE5F0:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE5F5:
ld a,$08
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE5FD:
call Logged_0xACA4C
cp $50
ret nz
ld [hl],a
ld a,$0D
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE60C:
ld a,[bc]
cp $1E
ret c
ld a,$06
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE618:
ld b,$02
jp Logged_0xAE1C2
Logged_0xAE61D:
ld a,[bc]
cp $1E
ret c
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$32
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0xAE1CE
Logged_0xAE630:
ld a,[bc]
cp $1E
ret c
ld a,$10
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE63C:
ld c,$1E
jp Logged_0xAE1C9
Logged_0xAE641:
ld hl,$D891
inc [hl]
ld c,l
ld b,h
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE652
dw Logged_0xAE657
dw Logged_0xAE663
dw Logged_0xAE1D5
Logged_0xAE652:
ld b,$12
jp Logged_0xAE1C2
Logged_0xAE657:
ld a,$26
call Logged_0xAC8D4
xor a
ld [$D147],a
jp Logged_0xAE1CE
Logged_0xAE663:
ld b,$02
jp Logged_0xAE1C2
Logged_0xAE668:
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE683
dw Logged_0xAE68B
dw Logged_0xAE69C
dw Logged_0xAE6A1
dw Logged_0xAE6A6
dw Logged_0xAE6AE
dw Logged_0xAE6B3
dw Logged_0xAE6C1
dw Logged_0xAE6CE
dw Logged_0xAE1D5
Logged_0xAE683:
ld a,$27
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE68B:
ld a,[$D142]
cp $0F
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE69C:
ld b,$02
jp Logged_0xAE1C2
Logged_0xAE6A1:
ld c,$1E
jp Logged_0xAE1C9
Logged_0xAE6A6:
ld a,$33
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE6AE:
ld b,$0C
jp Logged_0xAE1C2
Logged_0xAE6B3:
ld a,[$D891]
cp $04
ret c
ld a,$07
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE6C1:
call Logged_0xACA34
cp $F0
ret nz
xor a
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE6CE:
ld c,$1E
jp Logged_0xAE1C9
Logged_0xAE6D3:
call Logged_0xAE8BB
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE6F3
dw Logged_0xAE6F8
dw Logged_0xAE718
dw Logged_0xAE801
dw Logged_0xAE806
dw Logged_0xAE80E
dw Logged_0xAE813
dw Logged_0xAE818
dw Logged_0xAE820
dw Logged_0xAE825
dw Logged_0xAE1D5
Logged_0xAE6F3:
ld c,$4A
jp Logged_0xAE1C9
Logged_0xAE6F8:
ld hl,$D140
ld a,$3C
ld [hli],a
ld a,$F0
ld [hl],a
ld a,$15
call Logged_0xAC8D4
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
xor a
ld [$D894],a
ld [$D892],a
jp Logged_0xAE1CE
Logged_0xAE718:
call Logged_0xAE724
ld a,[$D892]
cp $80
ret nz
jp Logged_0xAE1CE
Logged_0xAE724:
ld a,[$D894]
and a
jr z,Logged_0xAE740
ld a,[$D891]
and $03
jr z,Logged_0xAE740
ld de,$6D06
ld hl,$D140
call Logged_0x3C25
jr nz,Logged_0xAE740
xor a
ld [$D894],a
Logged_0xAE740:
ld a,[$D892]
and a
jr z,Logged_0xAE763
dec a
jr z,Logged_0xAE771
dec a
jr z,Logged_0xAE794
dec a
jr z,Logged_0xAE79E
dec a
jr z,Logged_0xAE7A5
dec a
jr z,Logged_0xAE794
dec a
jr z,Logged_0xAE7B5
dec a
jr z,Logged_0xAE7C5
dec a
jr z,Logged_0xAE7D4
dec a
jp z,Logged_0xAE7F2
ret
Logged_0xAE763:
ld a,$01
ld [$D894],a
Logged_0xAE768:
ld hl,$D892
inc [hl]
xor a
ld [$D893],a
ret
Logged_0xAE771:
ld a,[$D140]
cp $60
ret nz
ld a,$19
call Logged_0xAC8D4
call Logged_0xAE7F8
Logged_0xAE77F:
ld hl,$D180
ld a,[$D140]
ld [hli],a
ld a,[$D141]
ld [hl],a
ld a,$10
ld hl,$D186
call Logged_0x3B93
jr Logged_0xAE768
Logged_0xAE794:
ld hl,$D893
inc [hl]
ld a,[hl]
cp $04
ret c
jr Logged_0xAE768
Logged_0xAE79E:
ld a,$18
call Logged_0xAC8D4
jr Logged_0xAE768
Logged_0xAE7A5:
ld a,[$D140]
cp $60
ret nz
ld a,$16
call Logged_0xAC8D4
call Logged_0xAE7F8
jr Logged_0xAE77F
Logged_0xAE7B5:
ld a,[$D140]
cp $60
ret nz
ld a,$16
call Logged_0xAC8D4
call Logged_0xAE7F8
jr Logged_0xAE768
Logged_0xAE7C5:
ld a,[$D146]
cp $19
ret nz
ld hl,$D892
inc [hl]
xor a
ld [$D893],a
ret
Logged_0xAE7D4:
ld hl,$D893
inc [hl]
ld a,[hl]
cp $3E
ret c
ld a,$0D
call Logged_0xAC8D4
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
ld hl,$D892
inc [hl]
xor a
ld [$D893],a
ret
Logged_0xAE7F2:
ld a,$80
ld [$D892],a
ret
Logged_0xAE7F8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAE801:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE806:
ld a,$06
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE80E:
ld b,$02
jp Logged_0xAE1C2
Logged_0xAE813:
ld c,$26
jp Logged_0xAE1C9
Logged_0xAE818:
ld a,$13
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE820:
ld b,$0D
jp Logged_0xAE1C2
Logged_0xAE825:
ld c,$2E
jp Logged_0xAE1C9
Logged_0xAE82A:
ld hl,$D891
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE84B
dw Logged_0xAE8A0
dw Logged_0xAE850
dw Logged_0xAE85F
dw Logged_0xAE864
dw Logged_0xAE86C
dw Logged_0xAE871
dw Logged_0xAE893
dw Logged_0xAE89B
dw Logged_0xAE8A0
dw Logged_0xAE8A8
dw Logged_0xAE8B6
dw Logged_0xAE1D5
Logged_0xAE84B:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE850:
call Logged_0xACA4C
cp $78
ret nz
ld [hl],a
ld a,$0D
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE85F:
ld c,$3C
jp Logged_0xAE1C9
Logged_0xAE864:
ld a,$1A
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE86C:
ld b,$0D
jp Logged_0xAE1C2
Logged_0xAE871:
ld hl,$D180
ld a,[$D140]
sub $18
ld [hli],a
ld a,[$D141]
add a,$10
ld [hl],a
ld a,$11
ld hl,$D186
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0xAE1CE
Logged_0xAE893:
ld a,[$D186]
and a
ret nz
jp Logged_0xAE1CE
Logged_0xAE89B:
ld c,$28
jp Logged_0xAE1C9
Logged_0xAE8A0:
ld a,$08
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE8A8:
call Logged_0xACA4C
cp $D0
ret nz
ld [hl],a
xor a
call Logged_0xAC8D4
jp Logged_0xAE1CE
Logged_0xAE8B6:
ld c,$28
jp Logged_0xAE1C9
Logged_0xAE8BB:
call Logged_0xAE924
call Logged_0xAE9EE
call Logged_0xAEB0D
call Logged_0xAEC1F
ld hl,$D8A1
inc [hl]
dec l
ld a,[hl]
rst JumpList
dw Logged_0xAE8D9
dw Logged_0xAE8E8
dw Logged_0xAE8F6
dw Logged_0xAE904
dw Logged_0xAE8D8
Logged_0xAE8D8:
ret
Logged_0xAE8D9:
ld a,[$D8A1]
cp $08
ret c
ld hl,$D8A3
call Logged_0xAE915
jp Logged_0xAE912
Logged_0xAE8E8:
ld a,[$D8A1]
cp $08
ret c
ld hl,$D8A5
call Logged_0xAE915
jr Logged_0xAE912
Logged_0xAE8F6:
ld a,[$D8A1]
cp $08
ret c
ld hl,$D8A7
call Logged_0xAE915
jr Logged_0xAE912
Logged_0xAE904:
ld a,[$D8A1]
cp $08
ret c
ld hl,$D8A9
call Logged_0xAE915
jr Logged_0xAE912
Logged_0xAE912:
ld hl,$D8A1
Logged_0xAE915:
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAE919:
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,c
call Logged_0x3B93
ret
Logged_0xAE924:
ld hl,$D8A3
inc [hl]
dec l
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xAE971
dw Logged_0xAE97E
dw Logged_0xAE983
dw Logged_0xAE989
dw Logged_0xAE98D
dw Logged_0xAE99A
dw Logged_0xAE99F
dw Logged_0xAE9A5
dw Logged_0xAE9A9
dw Logged_0xAE9B6
dw Logged_0xAE9BB
dw Logged_0xAE9C1
dw Logged_0xAE9C5
Logged_0xAE948:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
Logged_0xAE950:
ld hl,$D8A3
jp Logged_0xAE915
Logged_0xAE956:
ld a,[$D198]
cp $62
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A2
inc [hl]
ret
Logged_0xAE969:
ld hl,$D8A3
ld a,[hl]
cp c
ret c
jr Logged_0xAE915
Logged_0xAE971:
ld hl,$D198
ld de,$2EF0
ld c,$06
call Logged_0xAE919
jr Logged_0xAE950
Logged_0xAE97E:
call Logged_0xAE9D0
jr Logged_0xAE956
Logged_0xAE983:
call Logged_0xAE9D0
ret nz
jr Logged_0xAE948
Logged_0xAE989:
ld c,$08
jr Logged_0xAE969
Logged_0xAE98D:
ld hl,$D198
ld de,$4DE0
ld c,$05
call Logged_0xAE919
jr Logged_0xAE950
Logged_0xAE99A:
call Logged_0xAE9DA
jr Logged_0xAE956
Logged_0xAE99F:
call Logged_0xAE9DA
ret nz
jr Logged_0xAE948
Logged_0xAE9A5:
ld c,$28
jr Logged_0xAE969
Logged_0xAE9A9:
ld hl,$D198
ld de,$3EF0
ld c,$04
call Logged_0xAE919
jr Logged_0xAE950
Logged_0xAE9B6:
call Logged_0xAE9E4
jr Logged_0xAE956
Logged_0xAE9BB:
call Logged_0xAE9E4
ret nz
jr Logged_0xAE948
Logged_0xAE9C1:
ld c,$08
jr Logged_0xAE969
Logged_0xAE9C5:
xor a
ld [$D8A2],a
ld hl,$D19E
call Logged_0x3B93
ret
Logged_0xAE9D0:
ld de,$6E09
ld hl,$D198
call Logged_0x3C25
ret
Logged_0xAE9DA:
ld de,$6DBA
ld hl,$D198
call Logged_0x3C25
ret
Logged_0xAE9E4:
ld de,$6D6D
ld hl,$D198
call Logged_0x3C25
ret
Logged_0xAE9EE:
ld hl,$D8A5
inc [hl]
dec l
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xAEA40
dw Logged_0xAEA54
dw Logged_0xAEA59
dw Logged_0xAEA5F
dw Logged_0xAEA63
dw Logged_0xAEA6D
dw Logged_0xAEA71
dw Logged_0xAEA92
dw Logged_0xAEAB9
dw Logged_0xAEAC0
dw Logged_0xAEAC5
dw Logged_0xAEAD2
dw Logged_0xAEAD8
dw Logged_0xAEADF
dw Logged_0xAEAE4
Logged_0xAEA16:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
Logged_0xAEA1E:
ld hl,$D8A5
jp Logged_0xAE915
Logged_0xAEA24:
ld a,[$D1A0]
cp $62
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A4
inc [hl]
ret
Logged_0xAEA37:
ld hl,$D8A5
ld a,[hl]
cp c
ret c
jp Logged_0xAE915
Logged_0xAEA40:
ld hl,$D1A0
ld de,$3EF0
ld c,$02
call Logged_0xAE919
xor a
ld hl,$D18E
call Logged_0x3B93
jr Logged_0xAEA1E
Logged_0xAEA54:
call Logged_0xAEAEF
jr Logged_0xAEA95
Logged_0xAEA59:
call Logged_0xAEAEF
ret nz
jr Logged_0xAEA16
Logged_0xAEA5F:
ld c,$04
jr Logged_0xAEA37
Logged_0xAEA63:
ld a,$12
ld hl,$D1A6
call Logged_0x3B93
jr Logged_0xAEA1E
Logged_0xAEA6D:
ld c,$28
jr Logged_0xAEA37
Logged_0xAEA71:
ld hl,$D1A0
ld de,$2EE0
ld c,$08
call Logged_0xAE919
Logged_0xAEA7C:
ld a,[$D1A0]
ld [$D188],a
ld a,[$D1A1]
ld [$D189],a
ld a,$0F
ld hl,$D18E
call Logged_0x3B93
jr Logged_0xAEA1E
Logged_0xAEA92:
call Logged_0xAEAF9
Logged_0xAEA95:
ld a,[$D1A1]
ld [$D189],a
ld a,[$D1A0]
ld [$D188],a
cp $62
ret nz
ld a,$10
ld hl,$D18E
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A4
inc [hl]
ret
Logged_0xAEAB9:
call Logged_0xAEAF9
ret nz
jp Logged_0xAEA16
Logged_0xAEAC0:
ld c,$08
jp Logged_0xAEA37
Logged_0xAEAC5:
ld hl,$D1A0
ld de,$2EF4
ld c,$04
call Logged_0xAE919
jr Logged_0xAEA7C
Logged_0xAEAD2:
call Logged_0xAEB03
jp Logged_0xAEA24
Logged_0xAEAD8:
call Logged_0xAEB03
ret nz
jp Logged_0xAEA16
Logged_0xAEADF:
ld c,$08
jp Logged_0xAEA37
Logged_0xAEAE4:
xor a
ld [$D8A4],a
ld hl,$D1A6
call Logged_0x3B93
ret
Logged_0xAEAEF:
ld de,$6D6D
ld hl,$D1A0
call Logged_0x3C25
ret
Logged_0xAEAF9:
ld de,$6E09
ld hl,$D1A0
call Logged_0x3C25
ret
Logged_0xAEB03:
ld de,$6E09
ld hl,$D1A0
call Logged_0x3C25
ret
Logged_0xAEB0D:
ld hl,$D8A7
inc [hl]
dec l
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xAEB5F
dw Logged_0xAEB80
dw Logged_0xAEBA7
dw Logged_0xAEBAD
dw Logged_0xAEBB1
dw Logged_0xAEBBF
dw Logged_0xAEBC5
dw Logged_0xAEBCC
dw Logged_0xAEBD0
dw Logged_0xAEBDB
dw Logged_0xAEBE0
dw Logged_0xAEBEE
dw Logged_0xAEBF4
dw Logged_0xAEBFB
dw Logged_0xAEC00
Logged_0xAEB35:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
Logged_0xAEB3D:
ld hl,$D8A7
jp Logged_0xAE915
Logged_0xAEB43:
ld a,[$D1A8]
cp $62
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A6
inc [hl]
ret
Logged_0xAEB56:
ld hl,$D8A7
ld a,[hl]
cp c
ret c
jp Logged_0xAE915
Logged_0xAEB5F:
ld hl,$D1A8
ld de,$3EE0
ld c,$03
call Logged_0xAE919
ld a,[$D1A8]
ld [$D190],a
ld a,[$D1A9]
ld [$D191],a
ld a,$0F
ld hl,$D196
call Logged_0x3B93
jr Logged_0xAEB3D
Logged_0xAEB80:
call Logged_0xAEC0B
ld a,[$D1A9]
ld [$D191],a
ld a,[$D1A8]
ld [$D190],a
cp $62
ret nz
ld a,$10
ld hl,$D196
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A6
inc [hl]
ret
Logged_0xAEBA7:
call Logged_0xAEC0B
ret nz
jr Logged_0xAEB35
Logged_0xAEBAD:
ld c,$08
jr Logged_0xAEB56
Logged_0xAEBB1:
ld hl,$D1A8
ld de,$2EF0
ld c,$07
call Logged_0xAE919
jp Logged_0xAEB3D
Logged_0xAEBBF:
call Logged_0xAEC15
jp Logged_0xAEB43
Logged_0xAEBC5:
call Logged_0xAEC15
ret nz
jp Logged_0xAEB35
Logged_0xAEBCC:
ld c,$04
jr Logged_0xAEB56
Logged_0xAEBD0:
ld a,$13
ld hl,$D1AE
call Logged_0x3B93
jp Logged_0xAEB3D
Logged_0xAEBDB:
ld c,$28
jp Logged_0xAEB56
Logged_0xAEBE0:
ld hl,$D1A8
ld de,$4DF8
ld c,$05
call Logged_0xAE919
jp Logged_0xAEB3D
Logged_0xAEBEE:
call Logged_0xAEC1A
jp Logged_0xAEB43
Logged_0xAEBF4:
call Logged_0xAEC1A
ret nz
jp Logged_0xAEB35
Logged_0xAEBFB:
ld c,$08
jp Logged_0xAEB56
Logged_0xAEC00:
xor a
ld [$D8A6],a
ld hl,$D1AE
call Logged_0x3B93
ret
Logged_0xAEC0B:
ld de,$6D6D
Logged_0xAEC0E:
ld hl,$D1A8
call Logged_0x3C25
ret
Logged_0xAEC15:
ld de,$6E09
jr Logged_0xAEC0E
Logged_0xAEC1A:
ld de,$6DBA
jr Logged_0xAEC0E
Logged_0xAEC1F:
ld hl,$D8A9
inc [hl]
dec l
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xAEC69
dw Logged_0xAEC76
dw Logged_0xAEC7B
dw Logged_0xAEC81
dw Logged_0xAEC85
dw Logged_0xAEC8F
dw Logged_0xAEC93
dw Logged_0xAECB4
dw Logged_0xAECDB
dw Logged_0xAECE2
dw Logged_0xAECE7
Logged_0xAEC3F:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
Logged_0xAEC47:
ld hl,$D8A9
jp Logged_0xAE915
Logged_0xAEC4D:
ld a,[$D1C8]
cp $62
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A8
inc [hl]
ret
Logged_0xAEC60:
ld hl,$D8A9
ld a,[hl]
cp c
ret c
jp Logged_0xAE915
Logged_0xAEC69:
ld hl,$D1C8
ld de,$4DF0
ld c,$07
call Logged_0xAE919
jr Logged_0xAEC47
Logged_0xAEC76:
call Logged_0xAECF2
jr Logged_0xAEC4D
Logged_0xAEC7B:
call Logged_0xAECF2
ret nz
jr Logged_0xAEC3F
Logged_0xAEC81:
ld c,$04
jr Logged_0xAEC60
Logged_0xAEC85:
ld a,$13
ld hl,$D1CE
call Logged_0x3B93
jr Logged_0xAEC47
Logged_0xAEC8F:
ld c,$28
jr Logged_0xAEC60
Logged_0xAEC93:
ld hl,$D1C8
ld de,$3EF0
ld c,$08
call Logged_0xAE919
ld a,[$D1C8]
ld [$D1C0],a
ld a,[$D1C9]
ld [$D1C1],a
ld a,$0F
ld hl,$D1C6
call Logged_0x3B93
jr Logged_0xAEC47
Logged_0xAECB4:
call Logged_0xAECFC
ld a,[$D1C9]
ld [$D1C1],a
ld a,[$D1C8]
ld [$D1C0],a
cp $62
ret nz
ld a,$10
ld hl,$D1C6
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
ld hl,$D8A8
inc [hl]
ret
Logged_0xAECDB:
call Logged_0xAECFC
ret nz
jp Logged_0xAEC3F
Logged_0xAECE2:
ld c,$08
jp Logged_0xAEC60
Logged_0xAECE7:
xor a
ld [$D8A8],a
ld hl,$D1CE
call Logged_0x3B93
ret
Logged_0xAECF2:
ld de,$6DBA
Logged_0xAECF5:
ld hl,$D1C8
call Logged_0x3C25
ret
Logged_0xAECFC:
ld de,$6D6D
jr Logged_0xAECF5
Unknown_0xAED01:
INCBIN "baserom.gbc", $AED01, $AED06 - $AED01
LoggedData_0xAED06:
INCBIN "baserom.gbc", $AED06, $AEE58 - $AED06
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$02
ld [rSVBK],a
xor a
ld [rSCX],a
ld [$C085],a
ld [rSCY],a
ld [$C083],a
call Logged_0xACCB0
call Logged_0xACC9A
call Logged_0xACCA5
xor a
ld hl,$C000
ld bc,$0040
call Fill_HL_A
xor a
ld hl,$C040
ld bc,$0040
call Fill_HL_A
ld a,$57
ld [$C0AC],a
ld hl,$5180
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$7C
ld [$C0AC],a
ld hl,$5D5D
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld hl,$8800
ld de,$D200
ld bc,$0500
call Logged_0x0434
ld hl,$4800
ld de,$8C00
ld c,$00
ld b,$57
call Logged_0x3B2B
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$68
ld [$C0AC],a
ld hl,$4000
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$69
ld [$C0AC],a
ld hl,$514C
ld bc,$8400
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$6A
ld [$C0AC],a
ld hl,$45B3
ld bc,$8800
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$01
ld [rVBK],a
ld a,$57
ld [$C0AC],a
ld hl,$5FF8
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$57
ld [$C0AC],a
ld hl,$5F9B
ld bc,_SCRN0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$74C3
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$2C
ld [$C0AC],a
ld hl,$730C
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
call Logged_0xACE90
ld a,[$CA46]
and a
ld hl,$606B
jr z,Logged_0xAEFE5
ld hl,$6225
Logged_0xAEFE5:
ld a,$57
ld [$C0AC],a
ld bc,$DC00
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [$D013],a
ld [$D014],a
ld [$D0D5],a
ld [$D0DB],a
ld a,[$D800]
ld b,a
and a
ld a,$C7
jr z,Logged_0xAF014
xor b
Logged_0xAF014:
ld [rLCDC],a
xor a
ld [$D800],a
ld hl,wGameSubState
inc [hl]
ret
Unknown_0xAF01F:
INCBIN "baserom.gbc", $AF01F, $AF130 - $AF01F
Logged_0xAF130:
ld a,[$D014]
cp c
ret c
Logged_0xAF135:
ld hl,$D014
xor a
ld [hld],a
inc [hl]
ret
call Logged_0xAF14C
call Logged_0xAC074
call Logged_0xAC528
call Logged_0xAC080
call Logged_0x03B9
ret
Logged_0xAF14C:
call Logged_0xAF8BC
ld hl,$D014
inc [hl]
ld a,[$D013]
rst JumpList
dw Logged_0xAF135
dw Logged_0xAF197
dw Logged_0xAF19C
dw Logged_0xAC9CA
dw Logged_0xAF7AF
dw Logged_0xAF2D0
dw Logged_0xAC9BA
dw Logged_0xAF1E7
dw Logged_0xAF207
dw Logged_0xAF215
dw Logged_0xAF222
dw Logged_0xAF230
dw Logged_0xAF23E
dw Logged_0xAC9CA
dw Logged_0xAF741
dw Logged_0xACA74
dw Logged_0xACA9E
dw Logged_0xAF2BC
dw Logged_0xACAAD
dw Logged_0xACACD
dw Logged_0xAF2C1
dw Logged_0xACAF3
dw Logged_0xAF670
dw Logged_0xAF2D0
dw Logged_0xAC9BA
dw Logged_0xAF2DF
dw Logged_0xAF2F2
dw Logged_0xAC9CA
dw Logged_0xAF436
dw Logged_0xAF2D0
dw Logged_0xAF34A
dw Logged_0xAF353
Logged_0xAF197:
ld c,$3C
jp Logged_0xAF130
Logged_0xAF19C:
ld hl,$D1C8
ld a,$60
ld [hli],a
ld a,$50
ld [hl],a
ld a,$18
ld hl,$D1CE
call Logged_0x3B93
call Logged_0xAF1BD
call Logged_0xAF1DB
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xAF135
Logged_0xAF1BD:
call Logged_0xACA09
ld hl,$6ADD
ld de,$C000
ld c,$40
ld b,$21
call Logged_0x3B2B
ld hl,$6B1D
ld de,$C040
ld c,$40
ld b,$21
call Logged_0x3B2B
ret
Logged_0xAF1DB:
ld hl,$735E
ld de,$C060
ld b,$18
call MemCopy_DE_HL
ret
Logged_0xAF1E7:
xor a
ld [$D158],a
ld de,$4900
ld b,$08
ld c,$3F
Logged_0xAF1F2:
ld a,$57
ld [$D079],a
Logged_0xAF1F7:
ld hl,$D0B0
ld a,d
ld [hli],a
ld a,e
ld [hli],a
ld a,b
ld [hli],a
xor a
ld [hli],a
ld a,c
ld [hl],a
jp Logged_0xAF135
Logged_0xAF207:
ld a,$01
ld [$D158],a
ld de,$4000
ld b,$00
ld c,$7F
jr Logged_0xAF1F2
Logged_0xAF215:
xor a
ld [$D158],a
ld de,$4D00
ld b,$18
ld c,$23
jr Logged_0xAF1F2
Logged_0xAF222:
ld a,$01
ld [$D158],a
ld de,$4F40
ld b,$18
ld c,$23
jr Logged_0xAF1F2
Logged_0xAF230:
ld a,$01
ld [$D158],a
ld de,$D200
ld b,$08
ld c,$4F
jr Logged_0xAF1F2
Logged_0xAF23E:
ld a,$A0
ld [rSCX],a
ld [$C085],a
xor a
ld [rSCY],a
ld [$C083],a
ld hl,$D140
ld a,$60
ld [hli],a
ld [hl],$5C
ld a,$FF
ld [$D148],a
ld a,$0C
call Logged_0xAC8D4
ld hl,$D1D0
ld de,$3000
ld b,$1B
call Logged_0xAF2AB
ld hl,$D1D8
ld de,$3520
ld b,$1C
call Logged_0xAF2AB
ld hl,$D1E0
ld de,$3270
ld b,$1B
call Logged_0xAF2AB
ld hl,$D1E8
ld de,$38C0
ld b,$1C
call Logged_0xAF2AB
ld hl,$6ADD
ld de,$C000
call Logged_0xAF2B5
ld hl,$6B1D
ld de,$C040
call Logged_0xAF2B5
xor a
ld [$D0D5],a
ld [$D0DB],a
ld [$D890],a
ld [$D891],a
jp Logged_0xAF135
Logged_0xAF2AB:
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,b
jp Logged_0x3B93
Logged_0xAF2B5:
ld c,$40
ld b,$21
jp Logged_0x3B2B
Logged_0xAF2BC:
ld c,$1E
jp Logged_0xAF130
Logged_0xAF2C1:
call Logged_0xACEC4
call Logged_0xAF376
ld a,[$DA81]
cp $80
ret nz
jp Logged_0xAF135
Logged_0xAF2D0:
ld a,$00
ld [$D880],a
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xAF135
Logged_0xAF2DF:
xor a
ld [$D158],a
ld de,$4F80
ld b,$10
ld c,$7F
ld a,$2C
ld [$D079],a
jp Logged_0xAF1F7
Logged_0xAF2F2:
ld hl,$D1C8
ld a,$3C
ld [hli],a
ld a,$B2
ld [hl],a
ld a,$13
ld hl,$D1CE
call Logged_0x3B93
ld hl,$D140
ld a,$3C
ld [hli],a
ld a,$C8
ld [hl],a
ld a,$1C
call Logged_0xAC8D4
xor a
ld [$D1D6],a
ld [$D1DE],a
ld [$D1E6],a
ld [$D1EE],a
ld a,$08
ld [$D800],a
call Logged_0xACA09
ld hl,$69CD
ld de,$C000
ld c,$40
ld b,$21
call Logged_0x3B2B
ld hl,$6B1D
ld de,$C040
ld c,$40
ld b,$21
call Logged_0x3B2B
xor a
ld [$D0D5],a
ld [$D0DB],a
jp Logged_0xAF135
Logged_0xAF34A:
ld a,[$D014]
and $03
ret nz
jp Logged_0xAC9BA
Logged_0xAF353:
ld a,[$D014]
cp $3C
ret c
ld hl,wGameSubState
inc [hl]
ret
LoggedData_0xAF35E:
INCBIN "baserom.gbc", $AF35E, $AF376 - $AF35E
Logged_0xAF376:
ld a,[$DA88]
and a
ret z
ld a,[$DA83]
cp $01
ret nz
ld a,[$CA46]
and a
jr nz,Logged_0xAF3A4
ld a,[$DA84]
cp $01
jr z,Logged_0xAF3CE
cp $04
jr z,Logged_0xAF3DE
cp $05
jr z,Unknown_0xAF3E6
cp $07
jr z,Logged_0xAF3F2
cp $0A
jr z,Unknown_0xAF3F6
cp $0B
jr z,Unknown_0xAF3FA
jr Logged_0xAF3BF
Logged_0xAF3A4:
ld a,[$DA84]
cp $01
jr z,Logged_0xAF3CE
cp $04
jr z,Logged_0xAF3DE
cp $05
jr z,Logged_0xAF3E2
cp $08
jr z,Logged_0xAF3F2
cp $0B
jr z,Logged_0xAF3CE
cp $0C
jr z,Logged_0xAF3DE
Logged_0xAF3BF:
ld a,[$DA82]
cp $01
ret nz
ld a,$0B
ld hl,$D1CE
call Logged_0x3B93
ret
Logged_0xAF3CE:
ld b,$10
Logged_0xAF3D0:
ld a,$01
ld hl,$DA82
cp [hl]
ret nz
Logged_0xAF3D7:
ld a,b
ld hl,$D1CE
jp Logged_0x3B93
Logged_0xAF3DE:
ld b,$0C
jr Logged_0xAF3D0
Logged_0xAF3E2:
ld b,$0D
jr Logged_0xAF3D0
Unknown_0xAF3E6:
ld b,$0D
Logged_0xAF3E8:
ld a,$02
Logged_0xAF3EA:
ld hl,$DA82
cp [hl]
jr nz,Logged_0xAF3BF
jr Logged_0xAF3D7
Logged_0xAF3F2:
ld b,$0E
jr Logged_0xAF3E8
Unknown_0xAF3F6:
ld b,$10
jr Logged_0xAF3E8
Unknown_0xAF3FA:
ld b,$0C
ld a,$03
jr Logged_0xAF3EA
Logged_0xAF400:
ld a,[$D146]
cp b
ret nz
jr Logged_0xAF40C
Unknown_0xAF407:
INCBIN "baserom.gbc", $AF407, $AF40C - $AF407
Logged_0xAF40C:
ld hl,$D891
xor a
ld [hld],a
inc [hl]
ret
Logged_0xAF413:
xor a
ld hl,$D890
ld [hli],a
ld [hl],a
jp Logged_0xAF135
Logged_0xAF41C:
ld a,$21
ld [$FF00+$85],a
ld a,$43
ld [$FF00+$8D],a
ld a,$4E
ld [$FF00+$8E],a
call $FF80
ld a,[$D0D5]
and a
ret nz
ld hl,$D891
ld [hld],a
inc [hl]
ret
Logged_0xAF436:
call Logged_0xAF60D
call Logged_0xAF57B
ld hl,$D890
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0xAF466
dw Logged_0xAF476
dw Logged_0xAF48A
dw Logged_0xAF49E
dw Logged_0xAF4AD
dw Logged_0xAF4B9
dw Logged_0xAF4BE
dw Logged_0xAF4CA
dw Logged_0xAF4CF
dw Logged_0xAF4E7
dw Logged_0xAF4F6
dw Logged_0xAF528
dw Logged_0xAF534
dw Logged_0xAF545
dw Logged_0xAF54A
dw Logged_0xAF55A
dw Logged_0xAF574
Logged_0xAF466:
xor a
ld [$D894],a
ld [$D892],a
ld [$D8C0],a
ld [$D8C2],a
jp Logged_0xAF40C
Logged_0xAF476:
ld a,[bc]
cp $40
ret c
ld a,$01
ld [$D892],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xAF40C
Logged_0xAF48A:
ld a,[bc]
cp $56
ret c
ld a,$01
ld [$D8C0],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xAF40C
Logged_0xAF49E:
ld a,[$D892]
cp $80
ret nz
ld a,[$D8C0]
cp $80
ret nz
jp Logged_0xAF40C
Logged_0xAF4AD:
ld a,[bc]
cp $3C
ret c
ld a,$05
call Logged_0xAC8D4
jp Logged_0xAF40C
Logged_0xAF4B9:
ld b,$02
jp Logged_0xAF400
Logged_0xAF4BE:
ld a,[bc]
cp $28
ret c
ld a,$14
call Logged_0xAC8D4
jp Logged_0xAF40C
Logged_0xAF4CA:
ld b,$0C
jp Logged_0xAF400
Logged_0xAF4CF:
ld a,[bc]
cp $2D
ret c
ld a,$0B
call Logged_0xAC8D4
xor a
ld [$D1CF],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
jp Logged_0xAF40C
Logged_0xAF4E7:
ld a,[$D1CF]
cp $80
ret nz
ld a,[$D146]
cp $0A
ret nz
jp Logged_0xAF40C
Logged_0xAF4F6:
ld a,[$D891]
cp $04
jr z,Logged_0xAF506
cp $06
jr z,Logged_0xAF518
cp $07
jr z,Logged_0xAF51E
ret
Logged_0xAF506:
ld d,$DF
ld e,$FA
Logged_0xAF50A:
ld hl,$D1C8
ld a,[$D140]
add a,d
ld [hli],a
ld a,[$D141]
add a,e
ld [hl],a
ret
Logged_0xAF518:
ld d,$E0
ld e,$FB
jr Logged_0xAF50A
Logged_0xAF51E:
ld d,$E2
ld e,$FC
call Logged_0xAF50A
jp Logged_0xAF40C
Logged_0xAF528:
ld a,[bc]
cp $32
ret c
ld a,$21
call Logged_0xAC8D4
jp Logged_0xAF40C
Logged_0xAF534:
ld a,[$D142]
cp $0B
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$06
ld [$FF00+hSFXIDLow],a
jp Logged_0xAF40C
Logged_0xAF545:
ld b,$0A
jp Logged_0xAF400
Logged_0xAF54A:
ld a,[bc]
cp $32
ret c
ld a,$09
call Logged_0xAC8D4
xor a
ld [$D1CF],a
jp Logged_0xAF40C
Logged_0xAF55A:
call Logged_0xACA63
ld a,[$D141]
ld b,a
sub $04
ld [$D1C9],a
ld a,$F0
cp b
ret nz
xor a
ld [$D146],a
ld [$D1CE],a
jp Logged_0xAF40C
Logged_0xAF574:
ld a,[bc]
cp $3C
ret c
jp Logged_0xAF413
Logged_0xAF57B:
ld a,[$D894]
and a
jr z,Logged_0xAF597
ld a,[$D891]
and $03
jr z,Logged_0xAF597
ld de,$6D06
ld hl,$D140
call Logged_0x3C1F
jr nz,Logged_0xAF597
xor a
ld [$D894],a
Logged_0xAF597:
ld a,[$D892]
cp $80
ret z
rst JumpList
dw Logged_0xAF5B2
dw Logged_0xAF5B3
dw Logged_0xAF5C5
dw Logged_0xAF5D5
dw Logged_0xAF5C5
dw Logged_0xAF5D5
dw Logged_0xAF5C5
dw Logged_0xAF5DF
dw Logged_0xAF5E7
dw Logged_0xAF5FE
Logged_0xAF5B2:
ret
Logged_0xAF5B3:
ld a,$01
ld [$D894],a
xor a
ld [$D147],a
Logged_0xAF5BC:
ld hl,$D892
inc [hl]
xor a
ld [$D893],a
ret
Logged_0xAF5C5:
ld a,[$D140]
cp $60
ret nz
ld a,$1B
call Logged_0xAC8D4
call Logged_0xAF604
jr Logged_0xAF5BC
Logged_0xAF5D5:
ld hl,$D893
inc [hl]
ld a,[hl]
cp $04
ret c
jr Logged_0xAF5BC
Logged_0xAF5DF:
ld a,[$D146]
cp $1C
ret nz
jr Logged_0xAF5BC
Logged_0xAF5E7:
ld hl,$D893
inc [hl]
ld a,[hl]
cp $42
ret c
ld a,$0C
call Logged_0xAC8D4
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2A
ld [$FF00+hSFXIDLow],a
jr Logged_0xAF5BC
Logged_0xAF5FE:
ld a,$80
ld [$D892],a
ret
Logged_0xAF604:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAF60D:
ld a,[$D8C2]
and a
jr z,Logged_0xAF622
ld hl,$D1C8
ld de,$6D06
call Logged_0x3C1F
jr nz,Logged_0xAF622
xor a
ld [$D8C2],a
Logged_0xAF622:
ld a,[$D8C0]
cp $80
ret z
rst JumpList
dw Logged_0xAF639
dw Logged_0xAF63A
dw Logged_0xAF64C
dw Logged_0xAF657
dw Logged_0xAF64C
dw Logged_0xAF657
dw Logged_0xAF64C
dw Logged_0xAF661
Logged_0xAF639:
ret
Logged_0xAF63A:
ld a,$01
ld [$D8C2],a
xor a
ld [$D1CF],a
Logged_0xAF643:
ld hl,$D8C0
inc [hl]
xor a
ld [$D8C1],a
ret
Logged_0xAF64C:
ld a,[$D1C8]
cp $60
ret nz
call Logged_0xAF667
jr Logged_0xAF643
Logged_0xAF657:
ld hl,$D8C1
inc [hl]
ld a,[hl]
cp $04
ret c
jr Logged_0xAF643
Logged_0xAF661:
ld a,$80
ld [$D8C0],a
ret
Logged_0xAF667:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ret
Logged_0xAF670:
call Logged_0xAE523
ld hl,$D890
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0xAF68B
dw Logged_0xAF69A
dw Logged_0xAF6C1
dw Logged_0xAF6CD
dw Logged_0xAF6EE
dw Logged_0xAF6F9
dw Logged_0xAF700
dw Logged_0xAF73A
Logged_0xAF68B:
ld a,[bc]
cp $1E
ret c
ld a,$01
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xAF40C
Logged_0xAF69A:
ld a,[$C094]
bit 0,a
ret z
xor a
ld hl,$D18E
call Logged_0x3B93
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
call Logged_0xACE60
ld a,$0F
ld hl,$D1CE
call Logged_0x3B93
jp Logged_0xAF40C
Logged_0xAF6C1:
ld a,[bc]
cp $3C
ret c
ld a,$01
ld [$D150],a
jp Logged_0xAF40C
Logged_0xAF6CD:
ld a,[bc]
cp $28
ret c
ld a,$80
ld [$D150],a
ld hl,$D180
ld a,[$D140]
sub $04
ld [hli],a
ld a,[$D141]
ld [hl],a
ld a,$11
ld hl,$D186
call Logged_0x3B93
jp Logged_0xAF40C
Logged_0xAF6EE:
ld a,[bc]
cp $14
ret c
xor a
call Logged_0xAC8D4
jp Logged_0xAF40C
Logged_0xAF6F9:
ld a,[bc]
cp $5A
ret c
jp Logged_0xAF40C
Logged_0xAF700:
ld hl,$D180
ld a,[hl]
cp $50
jr c,Logged_0xAF711
ld a,[$D891]
ld b,a
and $03
ret nz
dec [hl]
ret
Logged_0xAF711:
dec [hl]
dec [hl]
dec [hl]
ld a,[hl]
cp $18
jr c,Logged_0xAF733
cp $40
ret nc
ld a,[$D186]
cp $12
ret z
ld a,$12
ld hl,$D186
call Logged_0x3B93
ld a,$0A
ld hl,$D1CE
call Logged_0x3B93
ret
Logged_0xAF733:
xor a
ld [$D186],a
jp Logged_0xAE1CE
Logged_0xAF73A:
ld a,[bc]
cp $2D
ret c
jp Logged_0xAF413
Logged_0xAF741:
ld hl,$D890
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0xAF755
dw Logged_0xAF76C
dw Logged_0xAF775
dw Logged_0xAF788
dw Logged_0xAF797
dw Logged_0xAF7A0
Logged_0xAF755:
ld a,[bc]
cp $3C
ret c
ld a,$08
ld hl,$D1CE
call Logged_0x3B93
ld hl,$D1C8
ld a,$60
ld [hli],a
ld [hl],$80
jp Logged_0xAF40C
Logged_0xAF76C:
call Logged_0xAF7A7
cp $E0
ret nz
jp Logged_0xAF40C
Logged_0xAF775:
call Logged_0xAF7A7
ld hl,$C085
inc [hl]
ret nz
ld a,$09
ld hl,$D1CE
call Logged_0x3B93
jp Logged_0xAF40C
Logged_0xAF788:
ld a,[bc]
cp $1E
ret c
ld a,$06
ld hl,$D1CE
call Logged_0x3B93
jp Logged_0xAF40C
Logged_0xAF797:
ld a,[$D1CE]
cp $0A
ret nz
jp Logged_0xAF40C
Logged_0xAF7A0:
ld a,[bc]
cp $3C
ret c
jp Logged_0xAF413
Logged_0xAF7A7:
ld hl,$D1C9
inc [hl]
ld a,[hl]
and $FE
ret
Logged_0xAF7AF:
ld a,$56
ld [$FF00+$85],a
ld a,$8A
ld [$FF00+$8D],a
ld a,$44
ld [$FF00+$8E],a
call $FF80
ld hl,$D890
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0xAF7EE
dw Logged_0xAF7FD
dw Logged_0xAF816
dw Logged_0xAF41C
dw Logged_0xAF82D
dw Logged_0xAF41C
dw Logged_0xAF843
dw Logged_0xAF860
dw Logged_0xAF816
dw Logged_0xAF41C
dw Logged_0xAF863
dw Logged_0xAF41C
dw Logged_0xAF871
dw Logged_0xAF88E
dw Logged_0xAF816
dw Logged_0xAF41C
dw Logged_0xAF893
dw Logged_0xAF41C
dw Logged_0xAF8A2
dw Logged_0xAF8A9
Logged_0xAF7EE:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$38
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jp Logged_0xAF40C
Logged_0xAF7FD:
ld a,$04
Logged_0xAF7FF:
ld [$D1AB],a
ld [$D1B3],a
ld [$D1BB],a
ld [$D1C3],a
ld [$D18B],a
ld a,$01
ld [$D8A0],a
jp Logged_0xAF40C
Logged_0xAF816:
ld a,[$D188]
cp $50
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EB
ld [$FF00+hSFXIDLow],a
call Logged_0xACA09
call Logged_0xACA25
jp Logged_0xAF40C
Logged_0xAF82D:
ld a,$02
ld hl,$D1CE
call Logged_0x3B93
ld hl,$D1C9
dec [hl]
Logged_0xAF839:
xor a
ld [$D18E],a
call Logged_0xAF1BD
jp Logged_0xAF40C
Logged_0xAF843:
ld a,[bc]
cp $50
ret c
ld a,$19
ld hl,$D1CE
call Logged_0x3B93
ld a,$48
ld [$D1C9],a
call Logged_0xAF1DB
ld de,$4A04
call Logged_0xAC9E4
jp Logged_0xAF40C
Logged_0xAF860:
xor a
jr Logged_0xAF7FF
Logged_0xAF863:
ld a,$03
ld hl,$D1CE
call Logged_0x3B93
ld hl,$D1C9
dec [hl]
jr Logged_0xAF839
Logged_0xAF871:
ld a,[bc]
cp $50
ret c
ld a,$1A
ld hl,$D1CE
call Logged_0x3B93
ld a,$58
ld [$D1C9],a
call Logged_0xAF1DB
ld de,$4A04
call Logged_0xAC9E4
jp Logged_0xAF40C
Logged_0xAF88E:
ld a,$03
jp Logged_0xAF7FF
Logged_0xAF893:
ld a,$04
ld hl,$D1CE
call Logged_0x3B93
ld hl,$D1C9
dec [hl]
dec [hl]
jr Logged_0xAF839
Logged_0xAF8A2:
ld a,[bc]
cp $50
ret c
jp Logged_0xAF40C
Logged_0xAF8A9:
xor a
ld [$D1AB],a
ld [$D1B3],a
ld [$D1BB],a
ld [$D1C3],a
ld [$D18B],a
jp Logged_0xAF413
Logged_0xAF8BC:
ld hl,$D1D6
ld a,[hl]
cp $1B
ret nz
call Logged_0xAF8D0
call Logged_0xAF8DC
call Logged_0xAF8EF
call Logged_0xAF902
ret
Logged_0xAF8D0:
ld a,[$C08F]
and $03
ret nz
ld a,$07
xor l
ld l,a
inc [hl]
ret
Logged_0xAF8DC:
ld hl,$D1DE
ld a,[hl]
cp $1C
ret nz
ld a,[$C08F]
and $07
ret nz
ld a,$07
xor l
ld l,a
inc [hl]
ret
Logged_0xAF8EF:
ld hl,$D1E6
ld a,[hl]
cp $1B
ret nz
ld a,[$C08F]
and $03
ret nz
ld a,$07
xor l
ld l,a
inc [hl]
ret
Logged_0xAF902:
ld hl,$D1EE
ld a,[hl]
cp $1C
ret nz
ld a,[$C08F]
and $07
ret nz
ld a,$07
xor l
ld l,a
inc [hl]
ret
Unknown_0xAF915:
INCBIN "baserom.gbc", $AF915, $B0000 - $AF915
SECTION "Bank2C", ROMX, BANK[$2C]
LoggedData_0xB0000:
INCBIN "baserom.gbc", $B0000, $B1FD7 - $B0000
Unknown_0xB1FD7:
INCBIN "baserom.gbc", $B1FD7, $B211A - $B1FD7
LoggedData_0xB211A:
INCBIN "baserom.gbc", $B211A, $B231C - $B211A
Unknown_0xB231C:
INCBIN "baserom.gbc", $B231C, $B2424 - $B231C
LoggedData_0xB2424:
INCBIN "baserom.gbc", $B2424, $B2533 - $B2424
Unknown_0xB2533:
INCBIN "baserom.gbc", $B2533, $B2546 - $B2533
LoggedData_0xB2546:
INCBIN "baserom.gbc", $B2546, $B26BF - $B2546
Unknown_0xB26BF:
INCBIN "baserom.gbc", $B26BF, $B330C - $B26BF
LoggedData_0xB330C:
INCBIN "baserom.gbc", $B330C, $B3675 - $B330C
Unknown_0xB3675:
INCBIN "baserom.gbc", $B3675, $B37F9 - $B3675
LoggedData_0xB37F9:
INCBIN "baserom.gbc", $B37F9, $B39F0 - $B37F9
Unknown_0xB39F0:
INCBIN "baserom.gbc", $B39F0, $B3A03 - $B39F0
LoggedData_0xB3A03:
INCBIN "baserom.gbc", $B3A03, $B3C47 - $B3A03
Unknown_0xB3C47:
INCBIN "baserom.gbc", $B3C47, $B4000 - $B3C47
SECTION "Bank2D", ROMX, BANK[$2D]
Logged_0xB4000:
ret
Unknown_0xB4001:
nop
jr Unknown_0xB4001
ld a,[$D065]
ld c,a
ld a,[$D016]
rst JumpList
dw Logged_0xB4014
dw Logged_0xB4309
dw Logged_0xB449B
dw Logged_0xB4688
Logged_0xB4014:
ld a,[$D017]
rst JumpList
dw Unknown_0xB4001
dw Logged_0xB403E
dw Logged_0xB408E
dw Logged_0xB409C
dw Logged_0xB40C0
dw Logged_0xB40D9
dw Logged_0xB40FF
dw Logged_0xB4140
dw Logged_0xB4140
dw Logged_0xB4141
dw Logged_0xB4162
dw Logged_0xB4166
dw Logged_0xB416A
dw Logged_0xB416E
dw Logged_0xB4172
dw Logged_0xB4176
dw Logged_0xB417A
dw Logged_0xB4247
dw Logged_0xB42E7
Logged_0xB403E:
dec c
jr z,Logged_0xB404F
ld hl,$D1C0
ld de,$404C
call Logged_0xB4887
jr Logged_0xB404F
LoggedData_0xB404C:
INCBIN "baserom.gbc", $B404C, $B404F - $B404C
Logged_0xB404F:
call Logged_0xB4055
jp Logged_0xB4082
Logged_0xB4055:
ld a,[$D025]
and a
ret nz
ld hl,$D1F8
ld de,$407C
call Logged_0xB4887
ld hl,$D1F0
ld de,$407F
call Logged_0xB4887
ld a,[$D011]
and a
ret z
ld a,$18
ld [$D1FE],a
ld a,$1A
ld [$D1F6],a
ret
LoggedData_0xB407C:
INCBIN "baserom.gbc", $B407C, $B4082 - $B407C
Logged_0xB4082:
ld hl,$D1E8
ld de,$408B
jp Logged_0xB4887
LoggedData_0xB408B:
INCBIN "baserom.gbc", $B408B, $B408E - $B408B
Logged_0xB408E:
dec c
ret z
ld hl,$D1D0
ld de,$4099
jp Logged_0xB4887
LoggedData_0xB4099:
INCBIN "baserom.gbc", $B4099, $B409C - $B4099
Logged_0xB409C:
ld a,$03
call Logged_0x3AAC
ret nz
ld a,[$D025]
and a
jr nz,Logged_0xB40B4
ld a,[$D012]
and a
jr nz,Logged_0xB40B4
ld a,[$D01D]
cp $06
ret z
Logged_0xB40B4:
ld hl,$D198
ld de,$40BD
jp Logged_0xB4887
LoggedData_0xB40BD:
INCBIN "baserom.gbc", $B40BD, $B40C0 - $B40BD
Logged_0xB40C0:
ld a,c
and a
ret z
ld hl,$D1A0
ld de,$40D6
cp $80
jr nz,Logged_0xB40D0
ld de,$40D3
Logged_0xB40D0:
jp Logged_0xB4887
LoggedData_0xB40D3:
INCBIN "baserom.gbc", $B40D3, $B40D9 - $B40D3
Logged_0xB40D9:
ld a,c
and a
ret z
dec c
jr z,Logged_0xB40F0
ld hl,$D188
ld de,$40F9
call Logged_0xB4887
call Logged_0xB40F0
xor a
ld [$D196],a
ret
Logged_0xB40F0:
ld hl,$D190
ld de,$40FC
jp Logged_0xB4887
LoggedData_0xB40F9:
INCBIN "baserom.gbc", $B40F9, $B40FF - $B40F9
Logged_0xB40FF:
ld a,c
and a
ret z
sla c
jr c,Logged_0xB4128
ld a,$01
ld [$D12C],a
ld hl,$D1B0
ld de,$4122
call Logged_0xB4887
ld a,$04
ld [$D12E],a
ld hl,$D1B8
ld de,$4125
jp Logged_0xB4887
LoggedData_0xB4122:
INCBIN "baserom.gbc", $B4122, $B4128 - $B4122
Logged_0xB4128:
ld hl,$D1B0
ld de,$413A
call Logged_0xB4887
ld hl,$D1B8
ld de,$413D
jp Logged_0xB4887
LoggedData_0xB413A:
INCBIN "baserom.gbc", $B413A, $B4140 - $B413A
Logged_0xB4140:
ret
Logged_0xB4141:
ld b,$00
Logged_0xB4143:
sla c
ret nc
ld hl,$D1A8
ld de,$415C
call Logged_0xB4887
ld hl,$D1AB
ld [hl],b
ld hl,$D188
ld de,$415F
jp Logged_0xB4887
LoggedData_0xB415C:
INCBIN "baserom.gbc", $B415C, $B4162 - $B415C
Logged_0xB4162:
ld b,$00
jr Logged_0xB4143
Logged_0xB4166:
ld b,$02
jr Logged_0xB4143
Logged_0xB416A:
ld b,$03
jr Logged_0xB4143
Logged_0xB416E:
ld b,$03
jr Logged_0xB4143
Logged_0xB4172:
ld b,$02
jr Logged_0xB4143
Logged_0xB4176:
ld b,$01
jr Logged_0xB4143
Logged_0xB417A:
ld a,$80
cp c
ret nz
ld hl,$D188
ld de,$4238
call Logged_0xB4887
ld hl,$D1A8
ld de,$423B
call Logged_0xB4887
ld hl,$D1C0
ld de,$423E
call Logged_0xB4887
ld hl,$D1C8
ld de,$4241
call Logged_0xB4887
ld hl,$D1D0
ld de,$4244
call Logged_0xB4887
ld hl,$D1AB
set 2,[hl]
ld hl,$D1C3
set 2,[hl]
ld hl,$D1CB
set 2,[hl]
ld hl,$D1D3
set 2,[hl]
ld a,$20
ld [$FF00+$85],a
ld a,$D9
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,$20
ld [$FF00+$85],a
ld a,$F9
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,$21
ld [$C0AC],a
ld hl,$6868
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$68B2
ld bc,_SCRN1
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
xor a
ld [$D095],a
ld [rWX],a
ld a,$90
ld [$D094],a
ld [rWY],a
xor a
ld [$D091],a
ld hl,$4000
ld de,$8900
ld c,$40
ld b,$26
jp Logged_0x3B2B
LoggedData_0xB4238:
INCBIN "baserom.gbc", $B4238, $B4247 - $B4238
Logged_0xB4247:
ld a,$80
cp c
ret nz
ld a,$01
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$5EDA
ld bc,$9BA0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld a,$21
ld [$C0AC],a
ld hl,$5EA7
ld bc,$9BA0
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$9BC0
ld de,$D4A0
ld b,$40
call MemCopy_DE_HL
ld a,$01
ld [rVBK],a
ld hl,$9BC0
ld de,$D460
ld b,$40
call MemCopy_DE_HL
xor a
ld [rVBK],a
ld hl,$4A20
ld de,$C060
ld c,$20
ld b,$21
call Logged_0x3B2B
ld hl,$D1A8
ld de,$42E4
call Logged_0xB4887
ld a,$20
ld [$FF00+$85],a
ld a,$F9
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,$26
ld [$FF00+$85],a
ld a,$A2
ld [$FF00+$8D],a
ld a,$63
ld [$FF00+$8E],a
call $FF80
xor a
ld [$D1B6],a
ld [$D1BE],a
ld [$D196],a
ret
LoggedData_0xB42E4:
INCBIN "baserom.gbc", $B42E4, $B42E7 - $B42E4
Logged_0xB42E7:
ld a,[$CEE3]
cp $F1
jr z,Logged_0xB42F3
cp $F2
jr z,Logged_0xB42F3
ret
Logged_0xB42F3:
xor a
ld hl,$D188
ld bc,$0078
call Fill_HL_A
ld hl,$D188
ld de,$4306
jp Logged_0xB4887
LoggedData_0xB4306:
INCBIN "baserom.gbc", $B4306, $B4309 - $B4306
Logged_0xB4309:
ld a,[$D017]
rst JumpList
dw Unknown_0xB4001
dw Logged_0xB431F
dw Logged_0xB4351
dw Logged_0xB435F
dw Logged_0xB438F
dw Logged_0xB43A8
dw Logged_0xB43DD
dw Logged_0xB4448
dw Logged_0xB4474
Logged_0xB431F:
ld a,c
cp $80
jr z,Logged_0xB4339
and a
ret z
ld hl,$550B
ld a,$21
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB4339:
ld hl,$D1F8
ld de,$434B
call Logged_0xB4887
ld hl,$D1F0
ld de,$434E
jp Logged_0xB4887
LoggedData_0xB434B:
INCBIN "baserom.gbc", $B434B, $B4351 - $B434B
Logged_0xB4351:
dec c
ret z
ld hl,$D188
ld de,$435C
jp Logged_0xB4887
LoggedData_0xB435C:
INCBIN "baserom.gbc", $B435C, $B435F - $B435C
Logged_0xB435F:
ld hl,$D1C0
ld de,$4389
call Logged_0xB4887
ld a,[$D065]
add a,a
ret z
ld a,[$D025]
and a
ret nz
ld hl,$D1B8
ld de,$438C
call Logged_0xB4887
ld a,[$D011]
and a
ld a,$06
jr z,Logged_0xB4385
ld a,$08
Logged_0xB4385:
ld [$D1C6],a
ret
LoggedData_0xB4389:
INCBIN "baserom.gbc", $B4389, $B438F - $B4389
Logged_0xB438F:
ld a,c
and a
ret z
ld hl,$D1A0
ld de,$43A5
cp $80
jr nz,Logged_0xB439F
ld de,$43A2
Logged_0xB439F:
jp Logged_0xB4887
LoggedData_0xB43A2:
INCBIN "baserom.gbc", $B43A2, $B43A8 - $B43A2
Logged_0xB43A8:
ld a,c
and a
ret z
dec c
jr z,Logged_0xB43CE
ld hl,$D188
ld de,$43D7
call Logged_0xB4887
call Logged_0xB43CE
xor a
ld [$D1AE],a
ld hl,$D2B0
res 7,[hl]
ld hl,$D2D0
res 7,[hl]
ld hl,$D2E0
res 7,[hl]
ret
Logged_0xB43CE:
ld hl,$D1A8
ld de,$43DA
jp Logged_0xB4887
LoggedData_0xB43D7:
INCBIN "baserom.gbc", $B43D7, $B43DD - $B43D7
Logged_0xB43DD:
ld a,c
and a
ret z
dec a
jr nz,Logged_0xB43E9
ld hl,$5549
jp Logged_0xB586D
Logged_0xB43E9:
ld hl,$D1D8
ld de,$442D
call Logged_0xB4887
ld hl,$D1E0
ld de,$4430
call Logged_0xB4887
ld hl,$D1E8
ld de,$4433
call Logged_0xB4887
ld hl,$D1F0
ld de,$4436
call Logged_0xB4887
ld hl,$D1F8
ld de,$4439
call Logged_0xB4887
ld hl,$D1D0
ld de,$443C
call Logged_0xB4887
ld hl,$4440
ld de,$C050
ld b,$08
call MemCopy_DE_HL
jp Logged_0xB48E6
LoggedData_0xB442D:
INCBIN "baserom.gbc", $B442D, $B443F - $B442D
Unknown_0xB443F:
INCBIN "baserom.gbc", $B443F, $B4440 - $B443F
LoggedData_0xB4440:
INCBIN "baserom.gbc", $B4440, $B4448 - $B4440
Logged_0xB4448:
ld a,c
and a
ret z
sla a
jr c,Logged_0xB4455
Logged_0xB444F:
ld hl,$5536
jp Logged_0xB586D
Logged_0xB4455:
ld a,[$D017]
ld b,a
ld a,[$D019]
cp b
jr nz,Logged_0xB444F
ld hl,$D1D8
ld de,$442D
call Logged_0xB4887
ld hl,$D1D0
ld de,$443C
call Logged_0xB4887
jp Logged_0xB48CA
Logged_0xB4474:
ld a,c
and a
ret z
call Logged_0xB48AE
ld hl,$D1B0
ld de,$4498
call Logged_0xB4887
ld a,[$D065]
add a,a
jr z,Logged_0xB448F
ld hl,$556E
jp Logged_0xB586D
Logged_0xB448F:
xor a
ld [$D1B6],a
ld hl,$D1B0
inc [hl]
ret
LoggedData_0xB4498:
INCBIN "baserom.gbc", $B4498, $B449B - $B4498
Logged_0xB449B:
ld a,[$D017]
rst JumpList
dw Unknown_0xB4001
dw Logged_0xB44B7
dw Logged_0xB44E7
dw Logged_0xB4509
dw Logged_0xB4520
dw Logged_0xB4567
dw Logged_0xB45C8
dw Logged_0xB45F5
dw Logged_0xB461B
dw Logged_0xB4637
dw Logged_0xB4653
dw Logged_0xB4665
Logged_0xB44B7:
ld a,$80
cp c
ret nz
ld a,[$D017]
ld hl,$D019
cp [hl]
ret nz
ld hl,$D190
ld de,$44E1
call Logged_0xB4887
ld hl,$D198
ld de,$44E4
call Logged_0xB4887
ld hl,$D1A0
ld de,$44DE
jp Logged_0xB4887
LoggedData_0xB44DE:
INCBIN "baserom.gbc", $B44DE, $B44E7 - $B44DE
Logged_0xB44E7:
ld a,c
and a
ret z
ld hl,$D1A0
ld de,$4506
cp $80
jr nz,Logged_0xB4500
ld a,[$D017]
ld b,a
ld a,[$D019]
cp b
ret nz
ld de,$4503
Logged_0xB4500:
jp Logged_0xB4887
LoggedData_0xB4503:
INCBIN "baserom.gbc", $B4503, $B4509 - $B4503
Logged_0xB4509:
ld hl,$D1B0
ld de,$451D
call Logged_0xB4887
ld a,[$D065]
dec a
ret nz
ld hl,$D1B6
inc [hl]
inc [hl]
ret
LoggedData_0xB451D:
INCBIN "baserom.gbc", $B451D, $B4520 - $B451D
Logged_0xB4520:
ld a,$80
cp c
jr z,Logged_0xB4542
dec c
ret nz
ld hl,$55B2
ld a,$21
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
Logged_0xB4539:
ld hl,$D1A8
ld de,$4564
jp Logged_0xB4887
Logged_0xB4542:
ld hl,$D190
ld de,$455E
call Logged_0xB4887
ld hl,$D1D0
ld de,$4561
call Logged_0xB4887
call Logged_0xB4539
xor a
ld [$D1AE],a
jp Logged_0xB4956
LoggedData_0xB455E:
INCBIN "baserom.gbc", $B455E, $B4567 - $B455E
Logged_0xB4567:
ld a,c
dec a
jr z,Logged_0xB459A
sla c
ret nc
ld hl,$D190
ld de,$4594
call Logged_0xB4887
ld hl,$D198
ld de,$4597
call Logged_0xB4887
ld b,$03
ld de,$001F
ld hl,$D32E
Logged_0xB4588:
set 7,[hl]
inc hl
set 7,[hl]
add hl,de
dec b
jr nz,Logged_0xB4588
jp Logged_0xB4902
LoggedData_0xB4594:
INCBIN "baserom.gbc", $B4594, $B459A - $B4594
Logged_0xB459A:
ld hl,$5579
ld a,$21
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ld a,[$D025]
and a
ret nz
ld hl,$D1F8
ld de,$45C5
call Logged_0xB4887
ld a,[$D011]
and a
ret z
ld a,$1E
ld [$D1FE],a
ret
LoggedData_0xB45C5:
INCBIN "baserom.gbc", $B45C5, $B45C8 - $B45C5
Logged_0xB45C8:
ld a,c
and a
jr z,Logged_0xB45E3
dec a
ret z
ld hl,$D188
ld de,$45EF
call Logged_0xB4887
ld hl,$D1C0
ld de,$45F2
call Logged_0xB4887
call Logged_0xB491E
Logged_0xB45E3:
ld hl,$D1C8
ld de,$45EC
jp Logged_0xB4887
LoggedData_0xB45EC:
INCBIN "baserom.gbc", $B45EC, $B45F5 - $B45EC
Logged_0xB45F5:
ld a,c
and a
ret z
dec c
jr z,Logged_0xB460C
ld hl,$D188
ld de,$4615
call Logged_0xB4887
call Logged_0xB460C
xor a
ld [$D1BE],a
ret
Logged_0xB460C:
ld hl,$D1B8
ld de,$4618
jp Logged_0xB4887
LoggedData_0xB4615:
INCBIN "baserom.gbc", $B4615, $B461B - $B4615
Logged_0xB461B:
ld a,c
and a
ret z
sla c
jr c,Logged_0xB4628
ld hl,$55F9
jp Logged_0xB586D
Logged_0xB4628:
ld hl,$D190
ld de,$4634
call Logged_0xB4887
jp Logged_0xB4956
LoggedData_0xB4634:
INCBIN "baserom.gbc", $B4634, $B4637 - $B4634
Logged_0xB4637:
ld a,c
and a
ret z
sla c
jr c,Logged_0xB4644
ld hl,$560E
jp Logged_0xB586D
Logged_0xB4644:
ld hl,$D190
ld de,$4650
call Logged_0xB4887
jp Logged_0xB4956
LoggedData_0xB4650:
INCBIN "baserom.gbc", $B4650, $B4653 - $B4650
Logged_0xB4653:
sla c
ret nc
ld hl,$D190
ld de,$4662
call Logged_0xB4887
jp Logged_0xB493A
LoggedData_0xB4662:
INCBIN "baserom.gbc", $B4662, $B4665 - $B4662
Logged_0xB4665:
xor a
cp c
ret z
ld hl,$D1F0
ld de,$4685
call Logged_0xB4887
ld a,$80
cp c
ret z
ld a,[$D011]
and a
ret z
ld a,$80
ld [$D1F1],a
ld a,$15
ld [$D1F0],a
ret
LoggedData_0xB4685:
INCBIN "baserom.gbc", $B4685, $B4688 - $B4685
Logged_0xB4688:
ld a,[$D017]
rst JumpList
dw Unknown_0xB4001
dw Logged_0xB46A0
dw Logged_0xB46D9
dw Logged_0xB4712
dw Logged_0xB4771
dw Logged_0xB4792
dw Logged_0xB47F7
dw Logged_0xB481B
dw Logged_0xB4832
dw Logged_0xB4873
Logged_0xB46A0:
ld a,c
add a,a
call z,Logged_0xB4874
ld a,$80
cp c
jr z,Logged_0xB46CD
dec c
ret nz
xor a
ld [$D03E],a
ld [$D046],a
ld hl,$57F7
ld de,$D64F
ld c,$91
ld b,$21
call Logged_0x3B2B
ld hl,$5897
ld de,$D34F
ld c,$91
ld b,$21
jp Logged_0x3B2B
Logged_0xB46CD:
ld hl,$D188
ld de,$46D6
jp Logged_0xB4887
LoggedData_0xB46D6:
INCBIN "baserom.gbc", $B46D6, $B46D9 - $B46D6
Logged_0xB46D9:
ld a,c
and a
jr z,Logged_0xB46E7
cp $80
jr z,Logged_0xB46F0
ld hl,$563E
jp Logged_0xB586D
Logged_0xB46E7:
ld hl,$D1B0
ld de,$470C
jp Logged_0xB4887
Logged_0xB46F0:
call Logged_0xB46E7
ld hl,$D1F8
ld de,$470F
call Logged_0xB4887
ld hl,$D343
ld b,$04
call Logged_0xB48A7
ld hl,$D363
ld b,$04
jp Logged_0xB48A7
LoggedData_0xB470C:
INCBIN "baserom.gbc", $B470C, $B4712 - $B470C
Logged_0xB4712:
ld a,c
and a
ret z
call Logged_0xB4757
ld a,$80
cp c
jr z,Logged_0xB4741
ld hl,$5AF4
call Logged_0xB586D
ld hl,$5AFD
call Logged_0xB586D
ld hl,$5B0A
call Logged_0xB586D
ld hl,$5B1B
call Logged_0xB586D
ld hl,$5B2C
call Logged_0xB586D
ld hl,$5B3D
jp Logged_0xB586D
Logged_0xB4741:
ld hl,$D188
ld de,$4751
call Logged_0xB4887
xor a
ld [$D1BE],a
jp Logged_0xB4972
LoggedData_0xB4751:
INCBIN "baserom.gbc", $B4751, $B4757 - $B4751
Logged_0xB4757:
ld a,[$D029]
cp $01
ret z
ld hl,$D1B8
ld de,$4754
call Logged_0xB4887
ld a,[$D011]
and a
ret nz
ld a,$13
ld [$D1BE],a
ret
Logged_0xB4771:
sla c
ret nc
ld hl,$D190
ld de,$478C
call Logged_0xB4887
ld hl,$D188
ld de,$478F
call Logged_0xB4887
call Logged_0xB49C6
jp Logged_0xB49E2
LoggedData_0xB478C:
INCBIN "baserom.gbc", $B478C, $B4792 - $B478C
Logged_0xB4792:
ld a,c
and a
ret z
sla c
jr nc,Logged_0xB47DC
ld a,[$D017]
ld b,a
ld a,[$D019]
cp b
jr nz,Logged_0xB47DC
ld hl,$D1D0
ld de,$47E2
call Logged_0xB4887
ld hl,$D1E0
ld de,$47E8
call Logged_0xB4887
ld hl,$D1E8
ld de,$47EB
call Logged_0xB4887
ld hl,$D1F0
ld de,$47EE
call Logged_0xB4887
ld hl,$D1F8
ld de,$47F1
call Logged_0xB4887
ld hl,$D1D8
ld de,$47F4
call Logged_0xB4887
call Logged_0xB49AA
Logged_0xB47DC:
ld hl,$5B48
jp Logged_0xB586D
LoggedData_0xB47E2:
INCBIN "baserom.gbc", $B47E2, $B47E5 - $B47E2
Unknown_0xB47E5:
INCBIN "baserom.gbc", $B47E5, $B47E8 - $B47E5
LoggedData_0xB47E8:
INCBIN "baserom.gbc", $B47E8, $B47F7 - $B47E8
Logged_0xB47F7:
ld a,c
dec c
ret z
and a
jr z,Logged_0xB480C
call Logged_0xB480C
ld hl,$D188
ld de,$4818
call Logged_0xB4887
jp Logged_0xB498E
Logged_0xB480C:
ld hl,$D1C8
ld de,$4815
jp Logged_0xB4887
LoggedData_0xB4815:
INCBIN "baserom.gbc", $B4815, $B481B - $B4815
Logged_0xB481B:
ld a,c
and a
ret z
ld hl,$D1A8
ld de,$482F
call Logged_0xB4887
sla c
ret nc
xor a
ld [$D1AE],a
ret
LoggedData_0xB482F:
INCBIN "baserom.gbc", $B482F, $B4832 - $B482F
Logged_0xB4832:
ld a,c
and a
ret z
dec c
jr z,Logged_0xB4864
call Logged_0xB4864
ld a,[$D1C0]
add a,$08
ld [$D1C0],a
ld hl,$D190
ld de,$4870
call Logged_0xB4887
ld hl,$D2EE
ld b,$03
call Logged_0xB48A7
ld hl,$D30E
ld b,$03
call Logged_0xB48A7
ld hl,$D32E
ld b,$02
jp Logged_0xB48A7
Logged_0xB4864:
ld hl,$D1C0
ld de,$486D
jp Logged_0xB4887
LoggedData_0xB486D:
INCBIN "baserom.gbc", $B486D, $B4873 - $B486D
Logged_0xB4873:
ret
Logged_0xB4874:
ld hl,$487F
ld de,$C020
ld b,$08
jp MemCopy_DE_HL
LoggedData_0xB487F:
INCBIN "baserom.gbc", $B487F, $B4887 - $B487F
Logged_0xB4887:
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc l
inc l
xor a
ld [hli],a
ld [hli],a
inc de
ld a,[de]
ld [hl],a
ret
Unknown_0xB4895:
INCBIN "baserom.gbc", $B4895, $B48A7 - $B4895
Logged_0xB48A7:
set 7,[hl]
inc hl
dec b
jr nz,Logged_0xB48A7
ret
Logged_0xB48AE:
ld a,$22
ld [$C0AC],a
ld hl,$5D33
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB48CA:
ld a,$22
ld [$C0AC],a
ld hl,$5F20
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB48E6:
ld a,$22
ld [$C0AC],a
ld hl,$6115
ld bc,$8580
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB4902:
ld a,$23
ld [$C0AC],a
ld hl,$4F52
ld bc,$8600
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB491E:
ld a,$23
ld [$C0AC],a
ld hl,$5082
ld bc,$8600
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB493A:
ld a,$23
ld [$C0AC],a
ld hl,$51BD
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB4956:
ld a,$23
ld [$C0AC],a
ld hl,$4E06
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB4972:
ld a,$23
ld [$C0AC],a
ld hl,$62FB
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB498E:
ld a,$23
ld [$C0AC],a
ld hl,$6677
ld bc,$8400
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB49AA:
ld a,$23
ld [$C0AC],a
ld hl,$6482
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB49C6:
ld a,$23
ld [$C0AC],a
ld hl,$67C1
ld bc,_VRAM
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB49E2:
ld a,$23
ld [$C0AC],a
ld hl,$6967
ld bc,$8320
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB49FE:
ld b,$2A
ld a,[$D11E]
ld l,a
set 2,l
ld a,[$D11F]
ld h,a
jp Logged_0x3A66
Logged_0xB4A0D:
ld a,[$D024]
cp $FF
ret nz
set 2,l
xor a
ld [hli],a
ld [hli],a
ld a,b
ld [hl],a
ld b,h
ld c,l
ret
Logged_0xB4A1D:
ld b,$2A
ld a,[$D11E]
ld l,a
ld a,[$D11F]
ld h,a
jp Logged_0x3A00
Logged_0xB4A2A:
ld b,$2A
ld a,[$D11E]
ld l,a
ld a,[$D11F]
ld h,a
jp Logged_0x3A38
call Logged_0xB4A3D
jp Logged_0xB4AA9
Logged_0xB4A3D:
ld a,[$D01A]
rst JumpList
dw Logged_0xB4A49
dw Logged_0xB4A61
dw Logged_0xB4A79
dw Logged_0xB4A91
Logged_0xB4A49:
ld bc,$D18E
call Logged_0xB4FA2
ld bc,$D196
call Logged_0xB4FA2
ld bc,$D19E
call Logged_0xB4FA2
ld bc,$D1A6
jp Logged_0xB4FA2
Logged_0xB4A61:
ld bc,$D18E
call Logged_0xB4DFB
ld bc,$D196
call Logged_0xB4DFB
ld bc,$D19E
call Logged_0xB4DFB
ld bc,$D1A6
jp Logged_0xB4DFB
Logged_0xB4A79:
ld bc,$D18E
call Logged_0xB4CC2
ld bc,$D196
call Logged_0xB4CC2
ld bc,$D19E
call Logged_0xB4CC2
ld bc,$D1A6
jp Logged_0xB4CC2
Logged_0xB4A91:
ld bc,$D18E
call Logged_0xB4B99
ld bc,$D196
call Logged_0xB4B99
ld bc,$D19E
call Logged_0xB4B99
ld bc,$D1A6
jp Logged_0xB4B99
Logged_0xB4AA9:
ld a,[$D01A]
rst JumpList
dw Logged_0xB4AB5
dw Logged_0xB4AEB
dw Logged_0xB4B27
dw Logged_0xB4B57
Logged_0xB4AB5:
ld bc,$D1AE
call Logged_0xB4FA2
ld bc,$D1B6
call Logged_0xB4FA2
ld bc,$D1BE
call Logged_0xB4FA2
ld bc,$D1C6
call Logged_0xB4FA2
ld bc,$D1CE
call Logged_0xB4FA2
ld bc,$D1D6
call Logged_0xB4FA2
ld bc,$D1EE
call Logged_0xB4FA2
ld bc,$D1F6
call Logged_0xB4FA2
ld bc,$D1FE
jp Logged_0xB4FA2
Logged_0xB4AEB:
ld bc,$D1AE
call Logged_0xB4DFB
ld bc,$D1B6
call Logged_0xB4DFB
ld bc,$D1BE
call Logged_0xB4DFB
ld bc,$D1C6
call Logged_0xB4DFB
ld bc,$D1D6
call Logged_0xB4DFB
ld bc,$D1DE
call Logged_0xB4DFB
ld bc,$D1E6
call Logged_0xB4DFB
ld bc,$D1EE
call Logged_0xB4DFB
ld bc,$D1F6
call Logged_0xB4DFB
ld bc,$D1FE
jp Logged_0xB4DFB
Logged_0xB4B27:
ld bc,$D1AE
call Logged_0xB4CC2
ld bc,$D1B6
call Logged_0xB4CC2
ld bc,$D1BE
call Logged_0xB4CC2
ld bc,$D1C6
call Logged_0xB4CC2
ld bc,$D1CE
call Logged_0xB4CC2
ld bc,$D1D6
call Logged_0xB4CC2
ld bc,$D1F6
call Logged_0xB4CC2
ld bc,$D1FE
jp Logged_0xB4CC2
Logged_0xB4B57:
ld bc,$D1AE
call Logged_0xB4B99
ld bc,$D1B6
call Logged_0xB4B99
ld bc,$D1BE
call Logged_0xB4B99
ld bc,$D1C6
call Logged_0xB4B99
ld bc,$D1CE
call Logged_0xB4B99
ld bc,$D1D6
call Logged_0xB4B99
ld bc,$D1DE
call Logged_0xB4B99
ld bc,$D1E6
call Logged_0xB4B99
ld bc,$D1EE
call Logged_0xB4B99
ld bc,$D1F6
call Logged_0xB4B99
ld bc,$D1FE
jp Logged_0xB4B99
Logged_0xB4B99:
ld a,c
and $F8
ld hl,$D11E
ld [hli],a
ld [hl],b
ld a,[bc]
Logged_0xB4BA2:
rst JumpList
dw Logged_0xB4000
dw Logged_0xB4BE9
dw Logged_0xB4BEE
dw Logged_0xB4BF3
dw Logged_0xB4BF8
dw Logged_0xB4BFD
dw Logged_0xB4C02
dw Logged_0xB4C07
dw Logged_0xB4C0C
dw Logged_0xB4C16
dw Logged_0xB4C1B
dw Logged_0xB4C25
dw Logged_0xB4C2A
dw Logged_0xB4C2F
dw Logged_0xB4C39
dw Logged_0xB4C3E
dw Logged_0xB4C43
dw Logged_0xB4C48
dw Logged_0xB4C4D
dw Logged_0xB4C52
dw Logged_0xB4C6D
dw Logged_0xB4C72
dw Logged_0xB4C77
dw Logged_0xB4C7C
dw Logged_0xB4C81
dw Logged_0xB4C86
dw Logged_0xB4C8B
dw Logged_0xB4C95
dw Logged_0xB4C9F
dw Logged_0xB4CA4
dw Logged_0xB4CAE
dw Logged_0xB4CB3
dw Logged_0xB4CB8
dw Logged_0xB4CBD
dw Logged_0xB4C11
Logged_0xB4BE9:
ld de,$5E61
jr Logged_0xB4C57
Logged_0xB4BEE:
ld de,$5E72
jr Logged_0xB4C57
Logged_0xB4BF3:
ld de,$5E75
jr Logged_0xB4C57
Logged_0xB4BF8:
ld de,$5E94
jr Logged_0xB4C57
Logged_0xB4BFD:
ld de,$5E7A
jr Logged_0xB4C60
Logged_0xB4C02:
ld de,$5E8C
jr Logged_0xB4C57
Logged_0xB4C07:
ld de,$5E91
jr Logged_0xB4C57
Logged_0xB4C0C:
ld de,$5FD0
jr Logged_0xB4C60
Logged_0xB4C11:
ld de,$5E99
jr Logged_0xB4C60
Logged_0xB4C16:
ld de,$5ED3
jr Logged_0xB4C57
Logged_0xB4C1B:
ld de,$5EEA
call Logged_0xB49FE
ld b,$0B
jr Logged_0xB4C65
Logged_0xB4C25:
ld de,$5EF1
jr Logged_0xB4C57
Logged_0xB4C2A:
ld de,$5EE3
jr Logged_0xB4C57
Logged_0xB4C2F:
ld de,$5EF6
call Logged_0xB49FE
ld b,$0E
jr Logged_0xB4C65
Logged_0xB4C39:
ld de,$5EFD
jr Logged_0xB4C57
Logged_0xB4C3E:
ld de,$5EE0
jr Logged_0xB4C57
Logged_0xB4C43:
ld de,$5F02
jr Logged_0xB4C57
Logged_0xB4C48:
ld de,$5F0D
jr Logged_0xB4C57
Logged_0xB4C4D:
ld de,$5ECD
jr Logged_0xB4C57
Logged_0xB4C52:
ld de,$5ED0
jr Logged_0xB4C57
Logged_0xB4C57:
call Logged_0xB49FE
Logged_0xB4C5A:
ld de,$580C
jp Logged_0xB4A1D
Logged_0xB4C60:
call Logged_0xB49FE
ld b,$00
Logged_0xB4C65:
call Logged_0xB4A0D
jp z,Logged_0xB4BA2
jr Logged_0xB4C5A
Logged_0xB4C6D:
ld de,$5EAA
jr Logged_0xB4C57
Logged_0xB4C72:
ld de,$5EB3
jr Logged_0xB4C57
Logged_0xB4C77:
ld de,$5EBC
jr Logged_0xB4C57
Logged_0xB4C7C:
ld de,$5EC5
jr Logged_0xB4C57
Logged_0xB4C81:
ld de,$5EC8
jr Logged_0xB4C60
Logged_0xB4C86:
ld de,$5F36
jr Logged_0xB4C57
Logged_0xB4C8B:
ld de,$5F47
call Logged_0xB49FE
ld b,$1B
jr Logged_0xB4C65
Logged_0xB4C95:
ld de,$5F76
call Logged_0xB49FE
ld b,$19
jr Logged_0xB4C65
Logged_0xB4C9F:
ld de,$5FA7
jr Logged_0xB4C57
Logged_0xB4CA4:
ld de,$5FAA
call Logged_0xB49FE
ld b,$1C
jr Logged_0xB4C65
Logged_0xB4CAE:
ld de,$5FC9
jr Logged_0xB4C57
Logged_0xB4CB3:
ld de,$5FBB
jr Logged_0xB4C57
Logged_0xB4CB8:
ld de,$5FC2
jr Logged_0xB4C57
Logged_0xB4CBD:
ld de,$5FDF
jr Logged_0xB4C57
Logged_0xB4CC2:
ld a,c
and $F8
ld hl,$D11E
ld [hli],a
ld [hl],b
ld a,[bc]
Logged_0xB4CCB:
rst JumpList
dw Logged_0xB4000
dw Logged_0xB4D0E
dw Logged_0xB4D14
dw Logged_0xB4D1F
dw Unknown_0xB4D25
dw Logged_0xB4D2B
dw Logged_0xB4D31
dw Logged_0xB4D3C
dw Logged_0xB4D41
dw Logged_0xB4D4B
dw Logged_0xB4D50
dw Logged_0xB4D55
dw Logged_0xB4D5A
dw Logged_0xB4D5F
dw Logged_0xB4D64
dw Logged_0xB4D69
dw Logged_0xB4D6E
dw Logged_0xB4D73
dw Logged_0xB4D78
dw Logged_0xB4D7D
dw Logged_0xB4D87
dw Logged_0xB4D91
dw Logged_0xB4D96
dw Logged_0xB4D9B
dw Logged_0xB4DB6
dw Logged_0xB4DBB
dw Logged_0xB4DC0
dw Logged_0xB4DDD
dw Logged_0xB4DE2
dw Logged_0xB4DE7
dw Logged_0xB4DF1
dw Logged_0xB4000
dw Logged_0xB4DF6
Logged_0xB4D0E:
ld de,$56C0
jp Logged_0xB4DA0
Logged_0xB4D14:
ld de,$568D
call Logged_0xB49FE
ld b,$01
jp Logged_0xB4DAE
Logged_0xB4D1F:
ld de,$567D
jp Logged_0xB4DA0
Unknown_0xB4D25:
ld de,$5680
jp Logged_0xB4DA0
Logged_0xB4D2B:
ld de,$5674
jp Logged_0xB4DA0
Logged_0xB4D31:
ld de,$5680
call Logged_0xB49FE
ld b,$03
jp Logged_0xB4DAE
Logged_0xB4D3C:
ld de,$56AF
jr Logged_0xB4DA0
Logged_0xB4D41:
ld de,$56B2
call Logged_0xB49FE
ld b,$09
jr Logged_0xB4DAE
Logged_0xB4D4B:
ld de,$56BD
jr Logged_0xB4DA0
Logged_0xB4D50:
ld de,$56D1
jr Logged_0xB4DA0
Logged_0xB4D55:
ld de,$569A
jr Logged_0xB4DA0
Logged_0xB4D5A:
ld de,$56A3
jr Logged_0xB4DA0
Logged_0xB4D5F:
ld de,$56A6
jr Logged_0xB4DA0
Logged_0xB4D64:
ld de,$56A9
jr Logged_0xB4DA0
Logged_0xB4D69:
ld de,$56AC
jr Logged_0xB4DA0
Logged_0xB4D6E:
ld de,$56D8
jr Logged_0xB4DA0
Logged_0xB4D73:
ld de,$56E1
jr Logged_0xB4DA9
Logged_0xB4D78:
ld de,$56EA
jr Logged_0xB4DA9
Logged_0xB4D7D:
ld de,$56EF
call Logged_0xB49FE
ld b,$15
jr Logged_0xB4DAE
Logged_0xB4D87:
ld de,$574A
call Logged_0xB49FE
ld b,$15
jr Logged_0xB4DAE
Logged_0xB4D91:
ld de,$579F
jr Logged_0xB4DA0
Logged_0xB4D96:
ld de,$57A2
jr Logged_0xB4DA0
Logged_0xB4D9B:
ld de,$57AD
jr Logged_0xB4DA9
Logged_0xB4DA0:
call Logged_0xB49FE
Logged_0xB4DA3:
ld de,$5161
jp Logged_0xB4A1D
Logged_0xB4DA9:
call Logged_0xB49FE
ld b,$00
Logged_0xB4DAE:
call Logged_0xB4A0D
jp z,Logged_0xB4CCB
jr Logged_0xB4DA3
Logged_0xB4DB6:
ld de,$57E1
jr Logged_0xB4DA0
Logged_0xB4DBB:
ld de,$57EC
jr Logged_0xB4DA0
Logged_0xB4DC0:
ld de,$57D4
call Logged_0xB49FE
ld a,[$D024]
cp $FF
call z,Logged_0xB4DD4
ld de,$5161
jp Logged_0xB4A1D
Logged_0xB4DD4:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB4DDD:
ld de,$57C5
jr Logged_0xB4DA9
Logged_0xB4DE2:
ld de,$57EF
jr Logged_0xB4DA9
Logged_0xB4DE7:
ld de,$57B2
call Logged_0xB49FE
ld b,$15
jr Logged_0xB4DAE
Logged_0xB4DF1:
ld de,$57FE
jr Logged_0xB4DA0
Logged_0xB4DF6:
ld de,$5803
jr Logged_0xB4DA0
Logged_0xB4DFB:
ld a,c
and $F8
ld hl,$D11E
ld [hli],a
ld [hl],b
ld a,[bc]
Logged_0xB4E04:
rst JumpList
dw Logged_0xB4000
dw Logged_0xB4E77
dw Logged_0xB4E7C
dw Logged_0xB4E81
dw Logged_0xB4E86
dw Logged_0xB4E8B
dw Logged_0xB4EA4
dw Logged_0xB4EA9
dw Logged_0xB4EBD
dw Logged_0xB4E8B
dw Logged_0xB4EC2
dw Logged_0xB4EC8
dw Logged_0xB4ED2
dw Logged_0xB4ED8
dw Logged_0xB4EE3
dw Logged_0xB4EE9
dw Logged_0xB4EF4
dw Logged_0xB4EFF
dw Logged_0xB4F05
dw Logged_0xB4F0B
dw Logged_0xB4F16
dw Logged_0xB4F1C
dw Logged_0xB4F22
dw Logged_0xB4F28
dw Logged_0xB4F2E
dw Logged_0xB4F34
dw Logged_0xB4F3A
dw Logged_0xB4F40
dw Logged_0xB4F46
dw Logged_0xB4F4C
dw Unknown_0xB4F52
dw Logged_0xB4F82
dw Logged_0xB4F8A
dw Logged_0xB4F90
dw Logged_0xB4F96
dw Logged_0xB4F9C
Logged_0xB4E4D:
call Logged_0xB49FE
Logged_0xB4E50:
ld de,$484A
jp Logged_0xB4A1D
Logged_0xB4E56:
call Logged_0xB49FE
ld b,$00
Logged_0xB4E5B:
call Logged_0xB4A0D
jr z,Logged_0xB4E04
jr Logged_0xB4E50
Logged_0xB4E62:
call Logged_0xB49FE
Logged_0xB4E65:
ld de,$4F57
jp Logged_0xB4A1D
Unknown_0xB4E6B:
INCBIN "baserom.gbc", $B4E6B, $B4E70 - $B4E6B
Logged_0xB4E70:
call Logged_0xB4A0D
jr z,Logged_0xB4E04
jr Logged_0xB4E65
Logged_0xB4E77:
ld de,$4DE9
jr Logged_0xB4E56
Logged_0xB4E7C:
ld de,$4DE2
jr Logged_0xB4E4D
Logged_0xB4E81:
ld de,$4DD1
jr Logged_0xB4E4D
Logged_0xB4E86:
ld de,$4E1E
jr Logged_0xB4E56
Logged_0xB4E8B:
push bc
ld de,$4E29
call Logged_0xB49FE
pop hl
ld a,[$D011]
and a
ld b,$00
jr z,Logged_0xB4E9D
ld b,$06
Logged_0xB4E9D:
set 0,l
res 2,l
ld [hl],b
jr Logged_0xB4E50
Logged_0xB4EA4:
ld de,$4E2C
jr Logged_0xB4E4D
Logged_0xB4EA9:
ld de,$4E5D
call Logged_0xB4E56
ld a,[$D1BE]
and a
ret nz
ld [$D1C4],a
ld a,$08
ld [$D1C6],a
ret
Logged_0xB4EBD:
ld de,$4E6C
jr Logged_0xB4E4D
Logged_0xB4EC2:
ld de,$4DF8
jp Logged_0xB4E4D
Logged_0xB4EC8:
ld de,$4E04
call Logged_0xB49FE
ld b,$0C
jr Logged_0xB4E5B
Logged_0xB4ED2:
ld de,$4E01
jp Logged_0xB4E4D
Logged_0xB4ED8:
ld de,$4E11
call Logged_0xB49FE
ld b,$0E
jp Logged_0xB4E5B
Logged_0xB4EE3:
ld de,$4F17
jp Logged_0xB4E4D
Logged_0xB4EE9:
ld de,$5090
call Logged_0xB49FE
ld b,$11
jp Logged_0xB4E70
Logged_0xB4EF4:
ld de,$50EB
call Logged_0xB49FE
ld b,$11
jp Logged_0xB4E70
Logged_0xB4EFF:
ld de,$5140
jp Logged_0xB4E62
Logged_0xB4F05:
ld de,$5143
jp Logged_0xB4E62
Logged_0xB4F0B:
ld de,$514E
call Logged_0xB49FE
ld b,$11
jp Logged_0xB4E70
Logged_0xB4F16:
ld de,$4E9D
jp Logged_0xB4E56
Logged_0xB4F1C:
ld de,$4EAC
jp Logged_0xB4E56
Logged_0xB4F22:
ld de,$4EB7
jp Logged_0xB4E56
Logged_0xB4F28:
ld de,$4EC2
jp Logged_0xB4E4D
Logged_0xB4F2E:
ld de,$4EC7
jp Logged_0xB4E4D
Logged_0xB4F34:
ld de,$4ECA
jp Logged_0xB4E4D
Logged_0xB4F3A:
ld de,$4ECA
jp Logged_0xB4E56
Logged_0xB4F40:
ld de,$4ED3
jp Logged_0xB4E4D
Logged_0xB4F46:
ld de,$4EDA
jp Logged_0xB4E4D
Logged_0xB4F4C:
ld de,$4EE1
jp Logged_0xB4E4D
Unknown_0xB4F52:
ld de,$4EE8
call Logged_0xB4E4D
Logged_0xB4F58:
ld hl,$C028
ld a,[$D1DA]
cp $57
jr z,Logged_0xB4F6B
ld a,[$D1DE]
and a
jr z,Logged_0xB4F6B
ld hl,$4F7A
Logged_0xB4F6B:
ld de,$C128
ld b,$08
call MemCopy_DE_HL
ld hl,$D0D0
ld a,$68
ld [hl],a
ret
LoggedData_0xB4F7A:
INCBIN "baserom.gbc", $B4F7A, $B4F82 - $B4F7A
Logged_0xB4F82:
ld de,$4EE8
call Logged_0xB4E56
jr Logged_0xB4F58
Logged_0xB4F8A:
ld de,$4F28
jp Logged_0xB4E4D
Logged_0xB4F90:
ld de,$4F31
jp Logged_0xB4E4D
Logged_0xB4F96:
ld de,$4F47
jp Logged_0xB4E4D
Logged_0xB4F9C:
ld de,$4F3A
jp Logged_0xB4E4D
Logged_0xB4FA2:
ld a,c
and $F8
ld hl,$D11E
ld [hli],a
ld [hl],b
ld a,[bc]
Logged_0xB4FAB:
rst JumpList
dw Logged_0xB4000
dw Logged_0xB5004
dw Logged_0xB5009
dw Logged_0xB500E
dw Logged_0xB5013
dw Logged_0xB5018
dw Logged_0xB501D
dw Logged_0xB5022
dw Logged_0xB5027
dw Logged_0xB5031
dw Logged_0xB5036
dw Logged_0xB5040
dw Logged_0xB5045
dw Logged_0xB504F
dw Logged_0xB5059
dw Logged_0xB505E
dw Logged_0xB5063
dw Logged_0xB5068
dw Logged_0xB506D
dw Logged_0xB4000
dw Logged_0xB5072
dw Logged_0xB5077
dw Logged_0xB5093
dw Logged_0xB509D
dw Logged_0xB50A7
dw Logged_0xB4000
dw Logged_0xB50AC
dw Logged_0xB4000
dw Logged_0xB50B1
dw Logged_0xB50B6
dw Logged_0xB50C0
dw Logged_0xB50CA
dw Logged_0xB50CF
dw Logged_0xB50D4
dw Logged_0xB50D9
dw Logged_0xB50DE
dw Logged_0xB50EA
dw Logged_0xB50F6
dw Logged_0xB50FB
dw Logged_0xB5105
dw Logged_0xB510A
dw Logged_0xB512A
dw Logged_0xB5130
dw Logged_0xB5136
Logged_0xB5004:
ld de,$45CD
jr Logged_0xB507C
Logged_0xB5009:
ld de,$4590
jr Logged_0xB5085
Logged_0xB500E:
ld de,$45D0
jr Logged_0xB507C
Logged_0xB5013:
ld de,$45D3
jr Logged_0xB5085
Logged_0xB5018:
ld de,$462A
jr Logged_0xB507C
Logged_0xB501D:
ld de,$4653
jr Logged_0xB5085
Logged_0xB5022:
ld de,$462D
jr Logged_0xB507C
Logged_0xB5027:
ld de,$4639
call Logged_0xB49FE
ld b,$09
jr Logged_0xB508A
Logged_0xB5031:
ld de,$4636
jr Logged_0xB507C
Logged_0xB5036:
ld de,$4646
call Logged_0xB49FE
ld b,$0B
jr Logged_0xB508A
Logged_0xB5040:
ld de,$466E
jr Logged_0xB507C
Logged_0xB5045:
ld de,$467F
call Logged_0xB49FE
ld b,$0E
jr Logged_0xB508A
Logged_0xB504F:
ld de,$46DA
call Logged_0xB49FE
ld b,$0E
jr Logged_0xB508A
Logged_0xB5059:
ld de,$472F
jr Logged_0xB507C
Logged_0xB505E:
ld de,$4732
jr Logged_0xB507C
Logged_0xB5063:
ld de,$4750
jr Logged_0xB507C
Logged_0xB5068:
ld de,$4761
jr Logged_0xB507C
Logged_0xB506D:
ld de,$479A
jr Logged_0xB507C
Logged_0xB5072:
ld de,$4764
jr Logged_0xB507C
Logged_0xB5077:
ld de,$476F
jr Logged_0xB507C
Logged_0xB507C:
call Logged_0xB49FE
Logged_0xB507F:
ld de,$4000
jp Logged_0xB4A1D
Logged_0xB5085:
call Logged_0xB49FE
ld b,$00
Logged_0xB508A:
call Logged_0xB4A0D
jp z,Logged_0xB4FAB
jp Logged_0xB507F
Logged_0xB5093:
ld de,$4782
call Logged_0xB49FE
ld b,$18
jr Logged_0xB508A
Logged_0xB509D:
ld de,$4793
call Logged_0xB49FE
ld b,$19
jr Logged_0xB508A
Logged_0xB50A7:
ld de,$477A
jr Logged_0xB507C
Logged_0xB50AC:
ld de,$477D
jr Logged_0xB507C
Logged_0xB50B1:
ld de,$479F
jr Logged_0xB5085
Logged_0xB50B6:
ld de,$473D
call Logged_0xB49FE
ld b,$0E
jr Logged_0xB508A
Logged_0xB50C0:
ld de,$47D2
call Logged_0xB49FE
ld b,$20
jr Logged_0xB508A
Logged_0xB50CA:
ld de,$47D9
jr Logged_0xB507C
Logged_0xB50CF:
ld de,$47DC
jr Logged_0xB507C
Logged_0xB50D4:
ld de,$47DF
jr Logged_0xB507C
Logged_0xB50D9:
ld de,$65F5
jr Logged_0xB50E1
Logged_0xB50DE:
ld de,$65F8
Logged_0xB50E1:
call Logged_0xB49FE
ld de,$6580
jp Logged_0xB4A1D
Logged_0xB50EA:
ld de,$6252
call Logged_0xB49FE
ld de,$60CF
jp Logged_0xB4A1D
Logged_0xB50F6:
ld de,$60A3
jr Logged_0xB5114
Logged_0xB50FB:
ld de,$60C1
call Logged_0xB49FE
ld b,$27
jr Logged_0xB5122
Logged_0xB5105:
ld de,$609D
jr Logged_0xB5114
Logged_0xB510A:
ld de,$60BC
call Logged_0xB49FE
ld b,$25
jr Logged_0xB5122
Logged_0xB5114:
call Logged_0xB49FE
Logged_0xB5117:
ld de,$5FE2
jp Logged_0xB4A1D
Unknown_0xB511D:
INCBIN "baserom.gbc", $B511D, $B5122 - $B511D
Logged_0xB5122:
call Logged_0xB4A0D
jp z,Logged_0xB4FAB
jr Logged_0xB5117
Logged_0xB512A:
ld de,$47E8
jp Logged_0xB507C
Logged_0xB5130:
ld de,$47F1
jp Logged_0xB507C
Logged_0xB5136:
ld de,$483B
call Logged_0xB49FE
ld b,$00
call Logged_0xB4A0D
jp z,Logged_0xB4FAB
ld de,$47FA
jp Logged_0xB4A2A
ld hl,$D061
inc [hl]
ld a,[$D01A]
rst JumpList
dw Logged_0xB515A
dw Logged_0xB5A02
dw Logged_0xB65C2
dw Logged_0xB6EA8
Logged_0xB515A:
ld a,[$D017]
dec a
rst JumpList
dw Logged_0xB5183
dw Logged_0xB51C9
dw Logged_0xB51FC
dw Logged_0xB51FF
dw Logged_0xB5274
dw Logged_0xB52E4
dw Logged_0xB553F
dw Logged_0xB553F
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5574
dw Logged_0xB5645
dw Logged_0xB56F9
dw Logged_0xB5912
Logged_0xB5183:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5195
dw Logged_0xB519F
dw Logged_0xB51B2
dw Logged_0xB51C3
dw Logged_0xB519A
dw Logged_0xB585E
Logged_0xB5195:
ld a,$04
jp Logged_0xB584B
Logged_0xB519A:
ld a,$04
jp Logged_0xB584B
Logged_0xB519F:
ld a,$02
ld hl,$D1C6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$02
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB51B2:
ld a,[$D1C2]
cp $07
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB51C3:
ld hl,$D1C6
jp Logged_0xB5857
Logged_0xB51C9:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB51D9
dw Logged_0xB51E3
dw Logged_0xB51F6
dw Logged_0xB51DE
dw Logged_0xB585E
Logged_0xB51D9:
ld a,$04
jp Logged_0xB584B
Logged_0xB51DE:
ld a,$04
jp Logged_0xB584B
Logged_0xB51E3:
ld a,$04
ld hl,$D1D6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB51F6:
ld hl,$D1D6
jp Logged_0xB5857
Logged_0xB51FC:
jp Logged_0xB585E
Logged_0xB51FF:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB521B
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5220
dw Logged_0xB522B
dw Logged_0xB524C
dw Logged_0xB5254
dw Logged_0xB5259
dw Logged_0xB526C
dw Logged_0xB585E
Logged_0xB521B:
ld a,$14
jp Logged_0xB584B
Logged_0xB5220:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB522B:
ld hl,$D061
call Logged_0xB589D
ld hl,$D1A0
add a,[hl]
ld [hl],a
cp $4C
ret c
ld a,$08
ld hl,$D1A6
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB524C:
ld hl,$D1A6
ld b,$09
jp Logged_0xB5859
Logged_0xB5254:
ld a,$1E
jp Logged_0xB584B
Logged_0xB5259:
ld a,$0A
ld hl,$D1A6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB526C:
ld hl,$D1A6
ld b,$0B
jp Logged_0xB5859
Logged_0xB5274:
call Logged_0xB52D0
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB528F
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5294
dw Logged_0xB52A4
dw Logged_0xB52BE
dw Logged_0xB52C7
dw Logged_0xB585E
Logged_0xB528F:
ld a,$08
jp Logged_0xB584B
Logged_0xB5294:
ld a,$01
ld [$D18F],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB52A4:
ld hl,$D189
ld a,$25
cp [hl]
ret nz
ld a,$0C
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB52BE:
ld a,[$D192]
cp $37
ret nz
jp Logged_0xB5850
Logged_0xB52C7:
ld a,[$D192]
cp $35
ret nz
jp Logged_0xB5850
Logged_0xB52D0:
ld a,[$D18F]
and a
ret z
ld hl,$D189
dec [hl]
ld a,[hl]
add a,$18
cp $F0
ret c
xor a
ld [$D18F],a
ret
Logged_0xB52E4:
call Logged_0xB5346
call Logged_0xB53B6
call Logged_0xB53A1
call Logged_0xB5419
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB530C
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5316
dw Logged_0xB5321
dw Logged_0xB5331
dw Logged_0xB5336
dw Logged_0xB533E
dw Logged_0xB5311
dw Logged_0xB585E
Logged_0xB530C:
ld a,$14
jp Logged_0xB584B
Logged_0xB5311:
ld a,$28
jp Logged_0xB584B
Logged_0xB5316:
ld a,$14
ld hl,$D1BE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB5321:
ld a,$01
ld [$D12C],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5331:
ld a,$08
jp Logged_0xB584B
Logged_0xB5336:
ld a,$01
ld [$D12E],a
jp Logged_0xB5850
Logged_0xB533E:
ld a,[$D12E]
and a
ret nz
jp Logged_0xB5850
Logged_0xB5346:
ld hl,$D12C
ld a,[hli]
and a
ret z
dec a
jr z,Logged_0xB5354
dec a
jp z,Logged_0xB5392
ret
Logged_0xB5354:
ld de,$6101
ld hl,$D1B0
call Logged_0x3C25
ret nz
ld hl,$D12C
inc [hl]
ld a,$15
ld hl,$D1B6
call Logged_0x3B93
ld a,$15
ld hl,$D1C6
call Logged_0x3B93
ld a,$01
ld [$D130],a
ld a,[$D1B1]
dec a
dec a
ld [$D1B1],a
ld a,[$D1B0]
ld [$D1C0],a
ld a,[$D1B1]
inc a
inc a
inc a
inc a
inc a
inc a
ld [$D1C1],a
ret
Logged_0xB5392:
ld de,$6196
ld hl,$D1B0
call Logged_0x3C25
ret nz
xor a
ld [$D12C],a
ret
Logged_0xB53A1:
ld hl,$D130
ld a,[hli]
and a
ret z
ld de,$6239
ld hl,$D1C0
call Logged_0x3C25
ret nz
xor a
ld [$D130],a
ret
Logged_0xB53B6:
ld hl,$D12E
ld a,[hli]
and a
ret z
dec a
jr z,Logged_0xB53C4
dec a
jp z,Logged_0xB540A
ret
Logged_0xB53C4:
ld de,$6101
ld hl,$D1B8
call Logged_0x3C25
ret nz
ld hl,$D12E
inc [hl]
ld a,$15
ld hl,$D1BE
call Logged_0x3B93
ld a,$15
ld hl,$D1CE
call Logged_0x3B93
ld a,$01
ld [$D132],a
ld a,[$D1B9]
dec a
dec a
ld [$D1B9],a
ld a,[$D1B8]
ld [$D1C8],a
ld a,[$D1B9]
inc a
inc a
inc a
inc a
inc a
inc a
ld [$D1C9],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB540A:
ld de,$6196
ld hl,$D1B8
call Logged_0x3C25
ret nz
xor a
ld [$D12E],a
ret
Logged_0xB5419:
ld hl,$D132
ld a,[hli]
and a
ret z
ld de,$6239
ld hl,$D1C8
call Logged_0x3C25
ret nz
xor a
ld [$D132],a
ret
Logged_0xB542E:
call Logged_0xB5435
call Logged_0xB54BA
ret
Logged_0xB5435:
ld hl,$D12C
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB544A
dw Logged_0xB5461
dw Logged_0xB5471
dw Logged_0xB5486
dw Logged_0xB548E
dw Logged_0xB549E
Logged_0xB544A:
ld a,[$D12D]
cp $78
ret c
ld a,$12
ld hl,$D1B6
call Logged_0x3B93
Logged_0xB5458:
ld hl,$D12C
inc [hl]
xor a
ld [$D12D],a
ret
Logged_0xB5461:
ld a,[$D12D]
cp $5A
ret c
ld a,$13
ld hl,$D1B6
call Logged_0x3B93
jr Logged_0xB5458
Logged_0xB5471:
ld a,[$D12D]
cp $28
ret c
ld a,$10
ld hl,$D1B6
call Logged_0x3B93
ld a,$38
ld [$D1B0],a
jr Logged_0xB5458
Logged_0xB5486:
ld a,[$D12D]
cp $5A
ret c
jr Logged_0xB5458
Logged_0xB548E:
ld a,[$D12D]
and $0F
ret nz
ld hl,$D1B0
inc [hl]
ld a,[hl]
cp $48
ret nz
jr Logged_0xB5458
Logged_0xB549E:
ld hl,$D1B2
ld a,[hld]
cp $46
ret nz
dec l
ld a,[hl]
and a
ret z
ld a,$11
ld hl,$D1B6
call Logged_0x3B93
ld a,$01
ld hl,$D12C
ld [hli],a
xor a
ld [hl],a
ret
Logged_0xB54BA:
ld hl,$D12E
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB54CF
dw Logged_0xB54E6
dw Logged_0xB54F6
dw Logged_0xB550B
dw Logged_0xB5513
dw Logged_0xB5523
Logged_0xB54CF:
ld a,[$D12F]
cp $78
ret c
ld a,$12
ld hl,$D1BE
call Logged_0x3B93
Logged_0xB54DD:
ld hl,$D12E
inc [hl]
xor a
ld [$D12F],a
ret
Logged_0xB54E6:
ld a,[$D12F]
cp $5A
ret c
ld a,$13
ld hl,$D1BE
call Logged_0x3B93
jr Logged_0xB54DD
Logged_0xB54F6:
ld a,[$D12F]
cp $28
ret c
ld a,$10
ld hl,$D1BE
call Logged_0x3B93
ld a,$38
ld [$D1B8],a
jr Logged_0xB54DD
Logged_0xB550B:
ld a,[$D12F]
cp $5A
ret c
jr Logged_0xB54DD
Logged_0xB5513:
ld a,[$D12F]
and $0F
ret nz
ld hl,$D1B8
inc [hl]
ld a,[hl]
cp $48
ret nz
jr Logged_0xB54DD
Logged_0xB5523:
ld hl,$D1BA
ld a,[hld]
cp $46
ret nz
dec l
ld a,[hl]
and a
ret z
ld a,$11
ld hl,$D1BE
call Logged_0x3B93
ld a,$01
ld hl,$D12E
ld [hli],a
xor a
ld [hl],a
ret
Logged_0xB553F:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB554D
dw Logged_0xB5552
dw Logged_0xB556F
dw Logged_0xB585E
Logged_0xB554D:
ld a,$14
jp Logged_0xB584B
Logged_0xB5552:
ld a,[$D017]
cp $08
jr z,Logged_0xB5564
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5564:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$22
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB556F:
ld a,$FE
jp Logged_0xB584B
Logged_0xB5574:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5594
dw Logged_0xB559E
dw Logged_0xB55A9
dw Logged_0xB55CD
dw Logged_0xB55D2
dw Logged_0xB55DD
dw Logged_0xB55E5
dw Logged_0xB55EA
dw Logged_0xB5608
dw Logged_0xB561C
dw Logged_0xB563B
dw Logged_0xB5599
dw Logged_0xB585E
Logged_0xB5594:
ld a,$14
jp Logged_0xB584B
Logged_0xB5599:
ld a,$14
jp Logged_0xB584B
Logged_0xB559E:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB55A9:
ld hl,$D061
call Logged_0xB589D
ld hl,$D1A8
add a,[hl]
ld [hl],a
ld c,a
add a,$FA
ld [$D188],a
ld a,c
cp $40
ret c
xor a
ld [$D18E],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB55CD:
ld a,$04
jp Logged_0xB584B
Logged_0xB55D2:
ld a,$1E
ld hl,$D1AE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB55DD:
ld b,$20
ld hl,$D1AE
jp Logged_0xB5859
Logged_0xB55E5:
ld a,$0A
jp Logged_0xB584B
Logged_0xB55EA:
ld de,$6294
ld hl,$D1A8
call Logged_0x3C25
ld a,[$D1AF]
cp $0A
jr z,Logged_0xB55FF
and a
ret nz
jp Logged_0xB5850
Logged_0xB55FF:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB5608:
ld a,[$D057]
and $7F
cp $7F
jp z,Logged_0xB5850
ld a,$0C
ld [$D062],a
xor a
ld [$D061],a
ret
Logged_0xB561C:
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ld hl,$4500
ld de,$C000
ld c,$40
ld b,$21
call Logged_0x3B2B
xor a
ld [$D0D5],a
jp Logged_0xB5850
Logged_0xB563B:
ld a,[$D061]
and $07
ret nz
call Logged_0xB587D
ret
Logged_0xB5645:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB565F
dw Logged_0xB5669
dw Logged_0xB568B
dw Logged_0xB56A4
dw Logged_0xB56A9
dw Logged_0xB56BF
dw Logged_0xB56D5
dw Logged_0xB56DA
dw Logged_0xB5664
dw Logged_0xB585E
Logged_0xB565F:
ld a,$28
jp Logged_0xB584B
Logged_0xB5664:
ld a,$3C
jp Logged_0xB584B
Logged_0xB5669:
ld hl,$4038
ld de,$C038
ld b,$21
ld c,$08
call Logged_0x3B2B
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$B8
ld [hli],a
ld a,$01
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$38
ld [hli],a
jp Logged_0xB5850
Logged_0xB568B:
ld a,[$D061]
and $01
ret nz
ld hl,$D188
dec [hl]
ld a,[hl]
cp $94
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB56A4:
ld a,$2D
jp Logged_0xB584B
Logged_0xB56A9:
ld a,[$D061]
ld b,a
bit 3,a
ld a,$22
jr z,Logged_0xB56B5
ld a,$23
Logged_0xB56B5:
ld [$D18E],a
ld a,$2F
cp b
ret nc
jp Logged_0xB5850
Logged_0xB56BF:
ld a,[$D061]
cp $2D
ret c
ld a,$23
ld [$D18E],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$13
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB56D5:
ld a,$0A
jp Logged_0xB584B
Logged_0xB56DA:
ld hl,$D094
dec [hl]
ld a,[hl]
ld hl,$D188
dec [hl]
ld hl,$D1A8
dec [hl]
ld hl,$D1C0
dec [hl]
ld hl,$D1C8
dec [hl]
ld hl,$D1D0
dec [hl]
cp $78
ret nz
jp Logged_0xB5850
Logged_0xB56F9:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5723
dw Logged_0xB6E8E
dw Logged_0xB572D
dw Logged_0xB5738
dw Logged_0xB5746
dw Logged_0xB574B
dw Logged_0xB5765
dw Logged_0xB574B
dw Logged_0xB5765
dw Logged_0xB574B
dw Logged_0xB5778
dw Logged_0xB5793
dw Logged_0xB579B
dw Logged_0xB57C3
dw Logged_0xB57D3
dw Logged_0xB579B
dw Logged_0xB5728
dw Logged_0xB585E
Logged_0xB5723:
ld a,$1E
jp Logged_0xB584B
Logged_0xB5728:
ld a,$3C
jp Logged_0xB584B
Logged_0xB572D:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E9
ld [$FF00+hSFXIDLow],a
call Logged_0xB5850
Logged_0xB5738:
ld a,[$C083]
dec a
dec a
ld [$C083],a
cp $EC
ret nz
jp Logged_0xB5850
Logged_0xB5746:
ld a,$28
jp Logged_0xB584B
Logged_0xB574B:
ld a,[$D061]
cp $14
ret c
ld a,$25
ld hl,$D1AE
call Logged_0x3B93
Logged_0xB5759:
ld hl,$57DC
Logged_0xB575C:
call Logged_0xB5827
call Logged_0xB57F4
jp Logged_0xB5850
Logged_0xB5765:
ld a,[$D061]
cp $14
ret c
ld a,$00
ld hl,$D1AE
call Logged_0x3B93
ld hl,$57E4
jr Logged_0xB575C
Logged_0xB5778:
ld a,[$D061]
cp $3C
ret c
ld a,$26
ld hl,$D1AE
call Logged_0x3B93
Logged_0xB5786:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
ld hl,$57EC
jr Logged_0xB575C
Logged_0xB5793:
ld a,[$D1AA]
cp $04
ret nz
jr Logged_0xB5759
Logged_0xB579B:
ld a,$21
ld [$FF00+$85],a
ld a,$0D
ld [$FF00+$8D],a
ld a,$4C
ld [$FF00+$8E],a
call $FF80
ld a,[$D055]
and a
ret nz
di
ld a,$20
ld [$FF00+$85],a
ld a,$F9
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ei
jp Logged_0xB5850
Logged_0xB57C3:
ld a,[$D061]
cp $3C
ret c
ld a,$28
ld hl,$D1AE
call Logged_0x3B93
jr Logged_0xB5786
Logged_0xB57D3:
ld a,[$D1AA]
cp $06
ret nz
jp Logged_0xB5759
LoggedData_0xB57DC:
INCBIN "baserom.gbc", $B57DC, $B57F4 - $B57DC
Logged_0xB57F4:
ld a,$D4
ld [$D0B0],a
ld a,$A0
ld [$D0B1],a
ld a,$1B
ld [$D0B2],a
ld a,$C0
ld [$D0B3],a
ld a,$03
ld [$D0B4],a
ld a,$D4
ld [$D0B5],a
ld a,$60
ld [$D0B6],a
ld a,$1B
ld [$D0B7],a
ld a,$C0
ld [$D0B8],a
ld a,$03
ld [$D0B9],a
ret
Logged_0xB5827:
ld de,$D46B
push de
ld a,e
add a,$40
ld e,a
ld a,$00
adc a,d
ld d,a
ld c,$02
Logged_0xB5835:
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
dec e
ld a,e
add a,$20
ld e,a
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
dec c
ret z
pop de
jr Logged_0xB5835
Unknown_0xB5849:
INCBIN "baserom.gbc", $B5849, $B584B - $B5849
Logged_0xB584B:
ld hl,$D061
cp [hl]
ret nc
Logged_0xB5850:
xor a
ld hl,$D061
ld [hli],a
inc [hl]
ret
Logged_0xB5857:
ld b,$00
Logged_0xB5859:
ld a,[hl]
cp b
ret nz
jr Logged_0xB5850
Logged_0xB585E:
xor a
ld [$D017],a
ld hl,$D061
ld [hli],a
ld [hl],a
ret
Logged_0xB5868:
ld a,$01
ld [$D060],a
Logged_0xB586D:
ld a,$21
ld [$FF00+$85],a
ld a,$EE
ld [$FF00+$8D],a
ld a,$54
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB587D:
ld a,$21
ld [$FF00+$85],a
ld a,$8C
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB588D:
ld a,$21
ld [$FF00+$85],a
ld a,$45
ld [$FF00+$8D],a
ld a,$51
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xB589D:
ld a,[hl]
cp $64
jr c,Logged_0xB58A5
ld a,$60
ld [hl],a
Logged_0xB58A5:
ld e,a
ld d,$00
ld hl,$58AE
add hl,de
ld a,[hl]
ret
Unknown_0xB58AE:
INCBIN "baserom.gbc", $B58AE, $B58AF - $B58AE
LoggedData_0xB58AF:
INCBIN "baserom.gbc", $B58AF, $B5912 - $B58AF
Logged_0xB5912:
call Logged_0xB71FC
ld a,$56
ld [$FF00+$85],a
ld a,$8E
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0xB59E5
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5949
dw Logged_0xB5965
dw Logged_0xB5973
dw Logged_0xB598C
dw Logged_0xB59A0
dw Logged_0xB59A5
dw Logged_0xB59CA
dw Logged_0xB59C5
dw Logged_0xB59D4
dw Logged_0xB59CF
dw Logged_0xB59B6
dw Logged_0xB59D9
dw Logged_0xB59D9
dw Logged_0xB59DE
Logged_0xB5949:
ld a,[$D061]
cp $3C
ret c
ld a,$01
ld [$D140],a
ld a,$01
ld [$D049],a
ld a,$03
ld hl,$D03E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
jp Logged_0xB5850
Logged_0xB5965:
ld a,[$D061]
cp $86
ret c
ld a,$04
ld [$D140],a
jp Logged_0xB5850
Logged_0xB5973:
ld a,[$D140]
cp $05
ret nz
ld a,$2B
ld hl,$D18E
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB598C:
ld a,[$D140]
and a
ret nz
ld hl,$D03E
ld a,$0E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [$D049],a
jp Logged_0xB5850
Logged_0xB59A0:
ld a,$56
jp Logged_0xB584B
Logged_0xB59A5:
ld a,[$D061]
cp $06
ret c
ld a,$01
ld [$D150],a
ld [$D14B],a
jp Logged_0xB5850
Logged_0xB59B6:
ld hl,$D151
Logged_0xB59B9:
ld a,[$D061]
cp $06
ret c
ld a,$01
ld [hl],a
jp Logged_0xB5850
Logged_0xB59C5:
ld hl,$D152
jr Logged_0xB59B9
Logged_0xB59CA:
ld hl,$D153
jr Logged_0xB59B9
Logged_0xB59CF:
ld hl,$D154
jr Logged_0xB59B9
Logged_0xB59D4:
ld hl,$D155
jr Logged_0xB59B9
Logged_0xB59D9:
ld a,$78
jp Logged_0xB584B
Logged_0xB59DE:
xor a
ld [$D14B],a
jp Logged_0xB585E
Logged_0xB59E5:
ld a,[$D14B]
and a
ret z
ld hl,$D14C
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0xB59F9
cp $30
ret c
xor a
ld [hl],a
ret
Logged_0xB59F9:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8E
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB5A02:
ld a,[$D017]
dec a
rst JumpList
dw Logged_0xB5A17
dw Logged_0xB5B09
dw Logged_0xB5B6B
dw Logged_0xB5B8E
dw Logged_0xB5C03
dw Logged_0xB5C68
dw Logged_0xB5D63
dw Logged_0xB606D
Logged_0xB5A17:
call Logged_0xB5AAA
call Logged_0xB5A37
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5A53
dw Logged_0xB5A60
dw Logged_0xB5A65
dw Logged_0xB5A70
dw Logged_0xB5A79
dw Logged_0xB5A88
dw Logged_0xB5A8D
dw Logged_0xB5AA4
dw Logged_0xB5A4E
dw Logged_0xB585E
Logged_0xB5A37:
ld hl,$D13F
ld a,[hl]
and a
ret z
inc [hl]
ld a,[hl]
cp $1B
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [hl],a
ret
Logged_0xB5A4E:
ld a,$3C
jp Logged_0xB584B
Logged_0xB5A53:
ld a,$5A
ld [$D0D5],a
ld a,$01
ld [$D13F],a
jp Logged_0xB5850
Logged_0xB5A60:
ld a,$B4
jp Logged_0xB584B
Logged_0xB5A65:
ld a,$01
ld hl,$D1FE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB5A70:
ld a,[$D1FA]
cp $0E
ret nz
jp Logged_0xB5850
Logged_0xB5A79:
ld a,[$D061]
cp $02
ret c
ld hl,$550B
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB5A88:
ld a,$78
jp Logged_0xB584B
Logged_0xB5A8D:
ld hl,$D0D5
ld a,[hl]
cp $3C
ret c
xor a
ld [hl],a
ld [$D13F],a
ld a,$04
ld hl,$D1F6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB5AA4:
ld hl,$D1F6
jp Logged_0xB5857
Logged_0xB5AAA:
ld a,[$D0D5]
and a
ret z
ld hl,$D0D5
inc [hl]
ld a,[hl]
cp $09
jr z,Logged_0xB5AE4
cp $12
jr z,Logged_0xB5ADF
cp $16
jr z,Logged_0xB5AE4
cp $1A
jr z,Logged_0xB5ADF
cp $1E
jr z,Logged_0xB5AE4
cp $22
jr z,Logged_0xB5ADF
cp $26
jr z,Logged_0xB5AE4
cp $29
jr z,Logged_0xB5ADF
cp $2C
jr z,Logged_0xB5AE9
cp $82
ret c
ld a,$01
ld [hl],a
ret
Logged_0xB5ADF:
ld hl,$694D
jr Logged_0xB5AEC
Logged_0xB5AE4:
ld hl,$698D
jr Logged_0xB5AEC
Logged_0xB5AE9:
ld hl,$4140
Logged_0xB5AEC:
ld de,$C000
ld b,$21
ld c,$40
call Logged_0x3B2B
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$00
ld [hli],a
ret
Logged_0xB5B09:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5B1E
dw Logged_0xB5B36
dw Logged_0xB5B43
dw Logged_0xB5B19
dw Logged_0xB585E
Logged_0xB5B19:
ld a,$14
jp Logged_0xB584B
Logged_0xB5B1E:
call Logged_0xB5B4E
ld a,[$D18F]
cp $01
jr z,Logged_0xB5B2D
and a
ret nz
jp Logged_0xB5850
Logged_0xB5B2D:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1D
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB5B36:
ld de,$6478
ld hl,$D188
call Logged_0x3C25
ret nz
jp Logged_0xB5850
Logged_0xB5B43:
ld a,$00
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB5B4E:
ld de,$6337
ld hl,$D188
call Logged_0x3C25
ret nz
ld a,[$D025]
and a
ret nz
ld a,[$D050]
and a
ret nz
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1D
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB5B6B:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5B79
dw Logged_0xB5B7E
dw Logged_0xB5B89
dw Logged_0xB585E
Logged_0xB5B79:
ld a,$14
jp Logged_0xB584B
Logged_0xB5B7E:
ld a,$06
ld hl,$D1C6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB5B89:
ld a,$C8
jp Logged_0xB584B
Logged_0xB5B8E:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5BAA
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5BAF
dw Logged_0xB5BBA
dw Logged_0xB5BDB
dw Logged_0xB5BE3
dw Logged_0xB5BE8
dw Logged_0xB5BFB
dw Logged_0xB585E
Logged_0xB5BAA:
ld a,$14
jp Logged_0xB584B
Logged_0xB5BAF:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5BBA:
ld hl,$D061
call Logged_0xB589D
ld hl,$D1A0
add a,[hl]
ld [hl],a
cp $5B
ret c
ld a,$0B
ld hl,$D1A6
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5BDB:
ld hl,$D1A6
ld b,$0C
jp Logged_0xB5859
Logged_0xB5BE3:
ld a,$1E
jp Logged_0xB584B
Logged_0xB5BE8:
ld a,$0D
ld hl,$D1A6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5BFB:
ld hl,$D1A6
ld b,$0E
jp Logged_0xB5859
Logged_0xB5C03:
call Logged_0xB5C54
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5C1C
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5C21
dw Logged_0xB5C31
dw Logged_0xB5C4B
dw Logged_0xB585E
Logged_0xB5C1C:
ld a,$08
jp Logged_0xB584B
Logged_0xB5C21:
ld a,$01
ld [$D18F],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5C31:
ld hl,$D189
ld a,$26
cp [hl]
ret nz
ld a,$0F
ld hl,$D1AE
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5C4B:
ld a,[$D1AA]
cp $0A
ret nz
jp Logged_0xB5850
Logged_0xB5C54:
ld a,[$D18F]
and a
ret z
ld hl,$D189
dec [hl]
ld a,[hl]
add a,$18
cp $F0
ret c
xor a
ld [$D18F],a
ret
Logged_0xB5C68:
call Logged_0xB71FC
call Logged_0xB5D0A
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5C8A
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB5C94
dw Logged_0xB5CBF
dw Logged_0xB5CC4
dw Logged_0xB5CEC
dw Logged_0xB5CF1
dw Logged_0xB5C8F
dw Logged_0xB585E
Logged_0xB5C8A:
ld a,$14
jp Logged_0xB584B
Logged_0xB5C8F:
ld a,$3C
jp Logged_0xB584B
Logged_0xB5C94:
ld a,$01
ld [$D140],a
ld a,$01
ld [$D144],a
ld a,$17
ld hl,$D1DE
call Logged_0x3B93
ld a,$19
ld hl,$D1D6
call Logged_0x3B93
ld a,$01
ld [$D049],a
ld a,$03
ld hl,$D03E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
jp Logged_0xB5850
Logged_0xB5CBF:
ld a,$78
jp Logged_0xB584B
Logged_0xB5CC4:
xor a
ld [$D144],a
ld a,$03
ld [$D140],a
ld a,$18
ld hl,$D1DE
call Logged_0x3B93
ld a,$1A
ld hl,$D1D6
call Logged_0x3B93
ld hl,$D03E
ld a,$0E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [$D049],a
jp Logged_0xB5850
Logged_0xB5CEC:
ld a,$3C
jp Logged_0xB584B
Logged_0xB5CF1:
ld a,$16
ld hl,$D1EE
call Logged_0x3B93
ld hl,$5549
call Logged_0xB5868
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5D0A:
ld hl,$D144
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB5D25
dw Logged_0xB5D52
dw Logged_0xB5D34
dw Logged_0xB5D52
dw Logged_0xB5D3E
dw Logged_0xB5D52
dw Logged_0xB5D48
dw Logged_0xB5D52
dw Logged_0xB5D5A
Logged_0xB5D25:
ld a,$14
ld hl,$D1EE
call Logged_0x3B93
Logged_0xB5D2D:
xor a
ld hl,$D145
ld [hld],a
inc [hl]
ret
Logged_0xB5D34:
ld a,$15
ld hl,$D1FE
call Logged_0x3B93
jr Logged_0xB5D2D
Logged_0xB5D3E:
ld a,$14
ld hl,$D1F6
call Logged_0x3B93
jr Logged_0xB5D2D
Logged_0xB5D48:
ld a,$15
ld hl,$D1E6
call Logged_0x3B93
jr Logged_0xB5D2D
Logged_0xB5D52:
ld a,[$D145]
cp $0A
ret c
jr Logged_0xB5D2D
Logged_0xB5D5A:
ld a,$01
ld hl,$D144
ld [hli],a
xor a
ld [hl],a
ret
Logged_0xB5D63:
call Logged_0xB71FC
call Logged_0xB5F58
call Logged_0xB5FB9
call Logged_0xB601A
call Logged_0xB6055
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB5DA2
dw Logged_0xB5DAC
dw Logged_0xB5DD2
dw Logged_0xB5DD7
dw Logged_0xB5DFA
dw Logged_0xB5E02
dw Logged_0xB5E10
dw Logged_0xB5E73
dw Logged_0xB5EB7
dw Logged_0xB5EC7
dw Logged_0xB5ED4
dw Logged_0xB5EE1
dw Logged_0xB5EEE
dw Logged_0xB5EFB
dw Logged_0xB5F08
dw Logged_0xB5F10
dw Logged_0xB5F15
dw Logged_0xB5F33
dw Logged_0xB5F50
dw Logged_0xB5DA7
dw Logged_0xB585E
Logged_0xB5DA2:
ld a,$3C
jp Logged_0xB584B
Logged_0xB5DA7:
ld a,$18
jp Logged_0xB584B
Logged_0xB5DAC:
ld a,$01
ld [$D140],a
ld a,$17
ld hl,$D1DE
call Logged_0x3B93
ld a,$19
ld hl,$D1D6
call Logged_0x3B93
ld a,$01
ld [$D049],a
ld a,$03
ld hl,$D03E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
jp Logged_0xB5850
Logged_0xB5DD2:
ld a,$3A
jp Logged_0xB584B
Logged_0xB5DD7:
ld a,$1F
ld hl,$D1DE
call Logged_0x3B93
ld hl,$D1D8
ld a,$10
ld [hli],a
ld a,$52
ld [hl],a
ld hl,$D0D1
ld a,$A8
ld [hli],a
ld a,$01
ld [hli],a
ld a,$C1
ld [hli],a
ld a,$28
ld [hli],a
jp Logged_0xB5850
Logged_0xB5DFA:
ld a,[$D1DE]
and a
ret nz
jp Logged_0xB5850
Logged_0xB5E02:
ld a,[$D061]
cp $06
ret c
ld a,$04
ld [$D140],a
jp Logged_0xB5850
Logged_0xB5E10:
ld a,$1A
ld hl,$D1D6
call Logged_0x3B93
ld hl,$D03E
ld a,$0E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [$D049],a
ld hl,$C100
ld b,$18
call Logged_0xB69A6
ld hl,$C030
ld de,$C130
ld b,$08
call MemCopy_DE_HL
ld hl,$C138
ld b,$04
call Logged_0xB69A6
ld hl,$C140
ld b,$20
call Logged_0xB69A6
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C1
ld [hli],a
ld a,$00
ld [hli],a
ld hl,$D0D6
ld a,$6A
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C1
ld [hli],a
ld a,$40
ld [hli],a
ld a,$01
ld [$D14B],a
jp Logged_0xB5850
Logged_0xB5E73:
ld a,[$D061]
cp $08
ret c
ld a,$1B
ld hl,$D1DE
call Logged_0x3B93
ld hl,$D1D8
ld a,$10
ld [hli],a
ld a,$54
ld [hl],a
ld hl,$5536
call Logged_0xB5868
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$00
ld [hli],a
ld hl,$D0D6
ld a,$6A
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$40
ld [hli],a
jp Logged_0xB5850
Logged_0xB5EB7:
ld a,$03
ld [$D126],a
Logged_0xB5EBC:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB5EC7:
ld a,[$D061]
cp $0C
ret c
ld a,$03
ld [$D122],a
jr Logged_0xB5EBC
Logged_0xB5ED4:
ld a,[$D061]
cp $24
ret c
ld a,$01
ld [$D12C],a
jr Logged_0xB5EBC
Logged_0xB5EE1:
ld a,[$D061]
cp $0C
ret c
ld a,$03
ld [$D126],a
jr Logged_0xB5EBC
Logged_0xB5EEE:
ld a,[$D061]
cp $14
ret c
ld a,$03
ld [$D122],a
jr Logged_0xB5EBC
Logged_0xB5EFB:
ld a,[$D061]
cp $26
ret c
ld a,$01
ld [$D126],a
jr Logged_0xB5EBC
Logged_0xB5F08:
ld a,[$D126]
and a
ret nz
jp Logged_0xB5850
Logged_0xB5F10:
ld a,$10
jp Logged_0xB584B
Logged_0xB5F15:
ld a,$08
ld [$D140],a
ld a,$19
ld hl,$D1D6
call Logged_0x3B93
ld a,$01
ld [$D049],a
ld a,$03
ld hl,$D03E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
jp Logged_0xB5850
Logged_0xB5F33:
ld a,[$D142]
cp $1B
ret nz
ld a,$1A
ld hl,$D1D6
call Logged_0x3B93
ld hl,$D03E
ld a,$0E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [$D049],a
jp Logged_0xB5850
Logged_0xB5F50:
ld a,[$D140]
and a
ret nz
jp Logged_0xB5850
Logged_0xB5F58:
ld hl,$D122
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Unknown_0xB5F70
dw Logged_0xB5F89
dw Logged_0xB5F9C
dw Logged_0xB5FA1
dw Logged_0xB5FAD
dw Logged_0xB5F89
dw Logged_0xB5FB4
dw Logged_0xB5FA1
Unknown_0xB5F70:
ld de,$082E
Logged_0xB5F73:
ld b,$1C
Logged_0xB5F75:
ld hl,$D188
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,b
call Logged_0x3B93
xor a
ld hl,$D123
ld [hld],a
inc [hl]
ret
Logged_0xB5F89:
ld hl,$D189
dec [hl]
dec [hl]
dec l
inc [hl]
inc [hl]
Logged_0xB5F91:
ld a,[hl]
cp $88
ret c
xor a
ld hl,$D123
ld [hld],a
ld [hl],a
ret
Logged_0xB5F9C:
ld de,$084B
jr Logged_0xB5F73
Logged_0xB5FA1:
ld hl,$D189
dec [hl]
dec [hl]
dec l
inc [hl]
inc [hl]
inc [hl]
inc [hl]
jr Logged_0xB5F91
Logged_0xB5FAD:
ld de,$082E
Logged_0xB5FB0:
ld b,$1F
jr Logged_0xB5F75
Logged_0xB5FB4:
ld de,$084B
jr Logged_0xB5FB0
Logged_0xB5FB9:
ld hl,$D126
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xB5FD1
dw Logged_0xB5FEA
dw Logged_0xB5FFD
dw Logged_0xB6002
dw Unknown_0xB600E
dw Logged_0xB5FEA
dw Logged_0xB6015
dw Logged_0xB6002
Logged_0xB5FD1:
ld de,$0862
Logged_0xB5FD4:
ld b,$1D
Logged_0xB5FD6:
ld hl,$D198
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,b
call Logged_0x3B93
xor a
ld hl,$D127
ld [hld],a
inc [hl]
ret
Logged_0xB5FEA:
ld hl,$D199
inc [hl]
inc [hl]
dec l
inc [hl]
inc [hl]
Logged_0xB5FF2:
ld a,[hl]
cp $88
ret c
xor a
ld hl,$D127
ld [hld],a
ld [hl],a
ret
Logged_0xB5FFD:
ld de,$085D
jr Logged_0xB5FD4
Logged_0xB6002:
ld hl,$D199
inc [hl]
inc [hl]
dec l
inc [hl]
inc [hl]
inc [hl]
inc [hl]
jr Logged_0xB5FF2
Unknown_0xB600E:
ld de,$0862
Logged_0xB6011:
ld b,$20
jr Logged_0xB5FD6
Logged_0xB6015:
ld de,$085D
jr Logged_0xB6011
Logged_0xB601A:
ld hl,$D12C
ld a,[hl]
and a
ret z
dec a
jr z,Logged_0xB6027
dec a
jr z,Logged_0xB603F
ret
Logged_0xB6027:
ld hl,$D1B0
ld a,$08
ld [hli],a
ld a,$2E
ld [hl],a
ld a,$1C
ld hl,$D1B6
call Logged_0x3B93
xor a
ld hl,$D12D
ld [hld],a
inc [hl]
ret
Logged_0xB603F:
ld hl,$D1B0
inc [hl]
inc [hl]
ld b,[hl]
ld hl,$D1B1
dec [hl]
dec [hl]
ld a,b
cp $88
ret c
xor a
ld hl,$D12D
ld [hld],a
ld [hl],a
ret
Logged_0xB6055:
ld a,[$D14B]
and a
ret z
ld hl,$D14C
inc [hl]
ld a,[hl]
cp $1A
ret c
xor a
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB606D:
call Logged_0xB608A
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB60A5
dw Logged_0xB60AA
dw Logged_0xB60B5
dw Logged_0xB60BA
dw Logged_0xB60D0
dw Logged_0xB60D5
dw Logged_0xB60E4
dw Logged_0xB60E9
dw Logged_0xB60F4
dw Logged_0xB585E
Logged_0xB608A:
ld hl,$D1B7
ld a,[hl]
and a
ret z
cp $01
jr nz,Logged_0xB609C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$76
ld [$FF00+hSFXIDLow],a
Logged_0xB609C:
inc [hl]
ld a,[hl]
cp $1B
ret c
ld a,$01
ld [hl],a
ret
Logged_0xB60A5:
ld a,$14
jp Logged_0xB584B
Logged_0xB60AA:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$21
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB60B5:
ld a,$FE
jp Logged_0xB584B
Logged_0xB60BA:
ld a,$20
ld hl,$D1B6
call Logged_0x3B93
ld hl,$556E
call Logged_0xB5868
ld a,$01
ld [$D1B7],a
jp Logged_0xB5850
Logged_0xB60D0:
ld a,$17
jp Logged_0xB584B
Logged_0xB60D5:
ld a,$21
ld hl,$D1B6
call Logged_0x3B93
ld hl,$D1B0
dec [hl]
jp Logged_0xB5850
Logged_0xB60E4:
ld a,$0A
jp Logged_0xB584B
Logged_0xB60E9:
ld a,$22
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB60F4:
ld a,[$D061]
cp $6A
ret c
xor a
ld [$D1B7],a
jp Logged_0xB5850
LoggedData_0xB6101:
INCBIN "baserom.gbc", $B6101, $B65C2 - $B6101
Logged_0xB65C2:
ld a,[$D017]
dec a
rst JumpList
dw Logged_0xB65DD
dw Logged_0xB66DA
dw Logged_0xB674F
dw Logged_0xB6798
dw Logged_0xB69B0
dw Logged_0xB6A64
dw Logged_0xB6BCD
dw Logged_0xB6C32
dw Logged_0xB6CB8
dw Logged_0xB6D05
dw Logged_0xB6DE9
Logged_0xB65DD:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB65F9
dw Logged_0xB6603
dw Logged_0xB6616
dw Logged_0xB661B
dw Logged_0xB6616
dw Logged_0xB6620
dw Logged_0xB6616
dw Logged_0xB662A
dw Logged_0xB6635
dw Logged_0xB65FE
dw Logged_0xB585E
Logged_0xB65F9:
ld a,$1E
jp Logged_0xB584B
Logged_0xB65FE:
ld a,$0A
jp Logged_0xB584B
Logged_0xB6603:
ld hl,$D1A6
Logged_0xB6606:
ld a,$06
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6616:
ld a,$1E
jp Logged_0xB584B
Logged_0xB661B:
ld hl,$D196
jr Logged_0xB6606
Logged_0xB6620:
ld a,$01
ld [$D125],a
ld hl,$D19E
jr Logged_0xB6606
Logged_0xB662A:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7F
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6635:
ld a,[$D125]
and a
call nz,Logged_0xB6658
ld a,[$D129]
and a
call nz,Logged_0xB6683
ld a,[$D127]
and a
call nz,Logged_0xB66A4
ld hl,$D199
ld a,[hl]
cp $F0
ret c
xor a
ld [$D127],a
jp Logged_0xB5850
Logged_0xB6658:
ld hl,$D125
call Logged_0xB66B3
cpl
inc a
ld hl,$D191
add a,[hl]
ld [hld],a
dec [hl]
dec [hl]
dec [hl]
ld a,[hl]
cp $1A
jr z,Logged_0xB6675
cp $F0
ret c
xor a
ld [$D125],a
ret
Logged_0xB6675:
ld a,$01
ld [$D129],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7F
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB6683:
ld hl,$D1A0
dec [hl]
dec [hl]
dec [hl]
ld a,[hl]
cp $1A
jr z,Logged_0xB6696
cp $F0
ret c
xor a
ld [$D129],a
ret
Logged_0xB6696:
ld a,$01
ld [$D127],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7F
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB66A4:
ld hl,$D127
call Logged_0xB66B3
ld hl,$D199
add a,[hl]
ld [hld],a
dec [hl]
dec [hl]
dec [hl]
ret
Logged_0xB66B3:
ld a,[hl]
cp $18
jr nc,Logged_0xB66B9
inc [hl]
Logged_0xB66B9:
ld c,a
ld b,$00
ld hl,$66C2
add hl,bc
ld a,[hl]
ret
Unknown_0xB66C2:
INCBIN "baserom.gbc", $B66C2, $B66C3 - $B66C2
LoggedData_0xB66C3:
INCBIN "baserom.gbc", $B66C3, $B66DA - $B66C3
Logged_0xB66DA:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB66F6
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB66FB
dw Logged_0xB6706
dw Logged_0xB6727
dw Logged_0xB672F
dw Logged_0xB6734
dw Logged_0xB6747
dw Logged_0xB585E
Logged_0xB66F6:
ld a,$14
jp Logged_0xB584B
Logged_0xB66FB:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$19
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6706:
ld hl,$D061
call Logged_0xB589D
ld hl,$D1A0
add a,[hl]
ld [hl],a
cp $56
ret c
ld a,$06
ld hl,$D1A6
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6727:
ld hl,$D1A6
ld b,$03
jp Logged_0xB5859
Logged_0xB672F:
ld a,$1E
jp Logged_0xB584B
Logged_0xB6734:
ld a,$02
ld hl,$D1A6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6747:
ld hl,$D1A6
ld b,$01
jp Logged_0xB5859
Logged_0xB674F:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6763
dw Logged_0xB676D
dw Logged_0xB6778
dw Logged_0xB677D
dw Logged_0xB6790
dw Logged_0xB6768
dw Logged_0xB585E
Logged_0xB6763:
ld a,$14
jp Logged_0xB584B
Logged_0xB6768:
ld a,$28
jp Logged_0xB584B
Logged_0xB676D:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6778:
ld a,$FE
jp Logged_0xB584B
Logged_0xB677D:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$23
ld [$FF00+hSFXIDLow],a
ld a,$08
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB6790:
ld hl,$D1B6
ld b,$09
jp Logged_0xB5859
Logged_0xB6798:
call Logged_0xB68CD
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB67C7
dw Logged_0xB67D1
dw Logged_0xB67EC
dw Logged_0xB67F4
dw Logged_0xB67F9
dw Logged_0xB6801
dw Logged_0xB6810
dw Logged_0xB681B
dw Logged_0xB6820
dw Logged_0xB6828
dw Logged_0xB6831
dw Logged_0xB6971
dw Logged_0xB588D
dw Logged_0xB6836
dw Logged_0xB6847
dw Logged_0xB684C
dw Logged_0xB6968
dw Logged_0xB67CC
dw Logged_0xB585E
Logged_0xB67C7:
ld a,$22
jp Logged_0xB584B
Logged_0xB67CC:
ld a,$5A
jp Logged_0xB584B
Logged_0xB67D1:
ld hl,$D196
Logged_0xB67D4:
ld a,$12
Logged_0xB67D6:
call Logged_0x3B93
ld a,$01
ld [$D0D5],a
call Logged_0xB6879
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$24
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB67EC:
call Logged_0xB6879
ld a,$10
jp Logged_0xB584B
Logged_0xB67F4:
ld hl,$D1D6
jr Logged_0xB67D4
Logged_0xB67F9:
call Logged_0xB6879
ld a,$36
jp Logged_0xB584B
Logged_0xB6801:
ld hl,$D190
ld a,$56
ld [hli],a
ld [hl],$47
ld hl,$D196
ld a,$17
jr Logged_0xB67D6
Logged_0xB6810:
call Logged_0xB6879
ld a,[$D0D5]
and a
ret nz
jp Logged_0xB5850
Logged_0xB681B:
ld a,$1E
jp Logged_0xB584B
Logged_0xB6820:
ld a,$01
ld [$D124],a
jp Logged_0xB5850
Logged_0xB6828:
ld a,[$D124]
cp $07
ret c
jp Logged_0xB5850
Logged_0xB6831:
ld a,$07
jp Logged_0xB584B
Logged_0xB6836:
ld a,$0A
ld hl,$D1AE
call Logged_0x3B93
ld hl,$55B2
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB6847:
ld a,$2D
jp Logged_0xB584B
Logged_0xB684C:
ld hl,$4280
ld de,$C000
ld b,$21
ld c,$40
call Logged_0x3B2B
ld hl,$4980
ld de,$C040
ld b,$21
ld c,$40
call Logged_0x3B2B
jp Logged_0xB5850
Logged_0xB6869:
ld hl,$D0D5
ld a,[hl]
and a
ret z
inc [hl]
cp $05
jr z,Logged_0xB68BB
cp $09
jr z,Logged_0xB688D
ret
Logged_0xB6879:
ld hl,$D0D5
ld a,[hl]
and a
ret z
inc [hl]
cp $01
jr z,Logged_0xB688D
cp $05
jr z,Logged_0xB68BB
cp $09
jr z,Logged_0xB6892
ret
Logged_0xB688D:
ld hl,$698D
jr Logged_0xB689E
Logged_0xB6892:
xor a
ld [hl],a
ld a,[$D062]
cp $07
jr z,Logged_0xB688D
ld hl,$4280
Logged_0xB689E:
ld de,$C100
ld b,$21
ld c,$40
call Logged_0x3B2B
Logged_0xB68A8:
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$80
ld [hli],a
ld a,$08
ld [hli],a
ld a,$C1
ld [hli],a
ld a,$00
ld [hli],a
ret
Logged_0xB68BB:
ld hl,$C100
ld b,$18
call Logged_0xB69A6
ld hl,$C138
ld b,$04
call Logged_0xB69A6
jr Logged_0xB68A8
Logged_0xB68CD:
ld a,[$D124]
and a
ret z
ld hl,$D125
inc [hl]
dec a
rst JumpList
dw Logged_0xB68EE
dw Logged_0xB6919
dw Logged_0xB692E
dw Logged_0xB6919
dw Logged_0xB6938
dw Logged_0xB6919
dw Logged_0xB6942
dw Logged_0xB6919
dw Logged_0xB694C
dw Logged_0xB6925
dw Logged_0xB6960
Logged_0xB68EE:
ld hl,$D190
ld de,$5038
ld c,$17
Logged_0xB68F6:
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,c
call Logged_0x3B93
ld a,$01
ld [$D0D5],a
call Logged_0xB6869
Logged_0xB6908:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$24
ld [$FF00+hSFXIDLow],a
Logged_0xB6910:
ld hl,$D124
inc [hl]
xor a
ld [$D125],a
ret
Logged_0xB6919:
call Logged_0xB6869
ld a,$07
ld hl,$D125
cp [hl]
ret nc
jr Logged_0xB6910
Logged_0xB6925:
ld a,$07
ld hl,$D125
cp [hl]
ret nc
jr Logged_0xB6910
Logged_0xB692E:
ld hl,$D188
ld de,$4846
ld c,$12
jr Logged_0xB68F6
Logged_0xB6938:
ld hl,$D190
ld de,$422E
ld c,$17
jr Logged_0xB68F6
Logged_0xB6942:
ld hl,$D188
ld de,$3E38
ld c,$12
jr Logged_0xB68F6
Logged_0xB694C:
ld hl,$D1D0
ld de,$3B1F
ld c,$12
ld a,d
ld [hli],a
ld a,e
ld [hli],a
set 2,l
ld a,c
call Logged_0x3B93
jr Logged_0xB6908
Logged_0xB6960:
xor a
ld [$D124],a
ld [$D125],a
ret
Logged_0xB6968:
ld a,[$D061]
bit 0,a
ret z
jp Logged_0xB588D
Logged_0xB6971:
ld hl,$C000
ld de,$C100
ld b,$40
call MemCopy_DE_HL
ld hl,$C040
ld de,$C140
ld b,$40
call MemCopy_DE_HL
ld hl,$C000
ld b,$18
call Logged_0xB69A6
ld hl,$C038
ld b,$04
call Logged_0xB69A6
ld hl,$C040
ld b,$20
call Logged_0xB69A6
xor a
ld [$D0D5],a
jp Logged_0xB5850
Logged_0xB69A6:
ld a,$9C
ld [hli],a
ld a,$73
ld [hli],a
dec b
jr nz,Logged_0xB69A6
ret
Logged_0xB69B0:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB69CE
dw Logged_0xB69D8
dw Logged_0xB69EB
dw Logged_0xB69F0
dw Logged_0xB69F0
dw Logged_0xB69F0
dw Logged_0xB6A06
dw Logged_0xB6A0F
dw Logged_0xB6A46
dw Logged_0xB6A4B
dw Logged_0xB69D3
dw Logged_0xB585E
Logged_0xB69CE:
ld a,$1E
jp Logged_0xB584B
Logged_0xB69D3:
ld a,$28
jp Logged_0xB584B
Logged_0xB69D8:
ld a,$0B
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1B
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB69EB:
ld a,$2D
jp Logged_0xB584B
Logged_0xB69F0:
call Logged_0xB6A16
ret nz
ld hl,$D198
ld a,$10
add a,[hl]
ld [hl],a
ld hl,$D19E
ld a,[hl]
inc a
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB6A06:
call Logged_0xB6A16
cp $50
ret nz
jp Logged_0xB5850
Logged_0xB6A0F:
call Logged_0xB6A2E
ret nz
jp Logged_0xB5850
Logged_0xB6A16:
ld a,[$C08F]
and $07
jr z,Logged_0xB6A28
and $01
ret nz
ld hl,$D198
dec [hl]
ld a,[hl]
cp $48
ret
Logged_0xB6A28:
ld hl,$D198
ld a,[hl]
inc [hl]
ret
Logged_0xB6A2E:
ld a,[$C08F]
and $0F
jr z,Logged_0xB6A40
and $03
ret nz
ld hl,$D198
dec [hl]
ld a,[hl]
cp $48
ret
Logged_0xB6A40:
ld hl,$D198
ld a,[hl]
inc [hl]
ret
Logged_0xB6A46:
ld a,$28
jp Logged_0xB584B
Logged_0xB6A4B:
ld a,$00
ld hl,$D196
call Logged_0x3B93
ld a,$00
ld hl,$D19E
call Logged_0x3B93
ld hl,$5579
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB6A64:
call Logged_0xB6AF2
call Logged_0xB6B48
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6A86
dw Logged_0xB6A90
dw Logged_0xB6AA3
dw Logged_0xB6AA8
dw Logged_0xB6AB0
dw Logged_0xB6ABE
dw Logged_0xB6ACF
dw Logged_0xB6AD4
dw Logged_0xB6AEA
dw Logged_0xB6A8B
dw Logged_0xB585E
Logged_0xB6A86:
ld a,$14
jp Logged_0xB584B
Logged_0xB6A8B:
ld a,$14
jp Logged_0xB584B
Logged_0xB6A90:
ld a,$1A
ld hl,$D1C6
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2F
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6AA3:
ld a,$18
jp Logged_0xB584B
Logged_0xB6AA8:
ld a,$01
ld [$D122],a
jp Logged_0xB5850
Logged_0xB6AB0:
ld a,[$D061]
cp $0A
ret nz
ld a,$01
ld [$D124],a
jp Logged_0xB5850
Logged_0xB6ABE:
ld a,[$D1CA]
cp $21
ret nz
ld a,$11
ld hl,$D1CE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB6ACF:
ld a,$0C
jp Logged_0xB584B
Logged_0xB6AD4:
ld hl,$D061
ld a,[hl]
cp $08
ret nz
xor a
ld [hl],a
ld a,[$D1C8]
dec a
ld [$D1C8],a
cp $45
ret nz
jp Logged_0xB5850
Logged_0xB6AEA:
ld a,[$D124]
and a
ret nz
jp Logged_0xB5850
Logged_0xB6AF2:
ld hl,$D122
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xB6B08
dw Logged_0xB6B22
dw Logged_0xB6B08
dw Logged_0xB6B22
dw Logged_0xB6B08
dw Logged_0xB6B22
dw Logged_0xB6B3B
Logged_0xB6B08:
ld a,$18
ld hl,$D18E
call Logged_0x3B93
ld hl,$D188
ld a,$5C
ld [hli],a
ld a,$82
ld [hl],a
ld hl,$D122
inc [hl]
xor a
ld [$D123],a
ret
Logged_0xB6B22:
ld hl,$D123
inc [hl]
ld a,[hl]
cp $02
ret nz
xor a
ld [hl],a
ld hl,$D188
dec [hl]
inc l
inc [hl]
ld a,[hl]
cp $8C
ret nz
ld hl,$D122
inc [hl]
ret
Logged_0xB6B3B:
ld a,$00
ld hl,$D18E
call Logged_0x3B93
xor a
ld [$D122],a
ret
Logged_0xB6B48:
ld hl,$D124
ld a,[hl]
and a
ret z
dec a
rst JumpList
dw Logged_0xB6B62
dw Logged_0xB6B7C
dw Logged_0xB6B62
dw Logged_0xB6B7C
dw Logged_0xB6B62
dw Logged_0xB6B7C
dw Logged_0xB6B95
dw Logged_0xB6BA2
dw Logged_0xB6BB8
Logged_0xB6B62:
ld a,$18
ld hl,$D196
call Logged_0x3B93
ld hl,$D190
ld a,$5C
ld [hli],a
ld a,$82
ld [hl],a
ld hl,$D124
inc [hl]
xor a
ld [$D125],a
ret
Logged_0xB6B7C:
ld hl,$D125
inc [hl]
ld a,[hl]
cp $02
ret nz
xor a
ld [hl],a
ld hl,$D190
dec [hl]
inc l
inc [hl]
ld a,[hl]
cp $8C
ret nz
ld hl,$D124
inc [hl]
ret
Logged_0xB6B95:
ld a,$00
ld hl,$D196
call Logged_0x3B93
ld hl,$D124
inc [hl]
ret
Logged_0xB6BA2:
ld a,[$D1C2]
cp $4A
ret nz
ld a,$19
ld hl,$D1C6
call Logged_0x3B93
ld hl,$D124
inc [hl]
inc l
xor a
ld [hl],a
ret
Logged_0xB6BB8:
ld hl,$D125
inc [hl]
ld a,[hl]
cp $18
ret nz
ld a,$00
ld hl,$D1C6
call Logged_0x3B93
xor a
ld [$D124],a
ret
Logged_0xB6BCD:
call Logged_0xB6C1E
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6BE6
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB6BEB
dw Logged_0xB6BFB
dw Logged_0xB6C15
dw Logged_0xB585E
Logged_0xB6BE6:
ld a,$14
jp Logged_0xB584B
Logged_0xB6BEB:
ld a,$01
ld [$D1BF],a
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6BFB:
ld hl,$D189
ld a,$08
cp [hl]
ret nz
ld a,$13
ld hl,$D1BE
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6C15:
ld a,[$D1BA]
cp $31
ret nz
jp Logged_0xB5850
Logged_0xB6C1E:
ld a,[$D1BF]
and a
ret z
ld hl,$D189
dec [hl]
ld a,[hl]
add a,$18
cp $F0
ret c
xor a
ld [$D1BF],a
ret
Logged_0xB6C32:
call Logged_0xB71FC
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6C53
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB6C5D
dw Logged_0xB6C73
dw Logged_0xB6C78
dw Logged_0xB6C91
dw Logged_0xB6C97
dw Logged_0xB6CA4
dw Logged_0xB6C58
dw Logged_0xB585E
Logged_0xB6C53:
ld a,$14
jp Logged_0xB584B
Logged_0xB6C58:
ld a,$3C
jp Logged_0xB584B
Logged_0xB6C5D:
ld a,$01
ld [$D140],a
ld a,$01
ld [$D049],a
ld a,$03
ld hl,$D03E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
jp Logged_0xB5850
Logged_0xB6C73:
ld a,$78
jp Logged_0xB584B
Logged_0xB6C78:
ld hl,$55F9
call Logged_0xB5868
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
Logged_0xB6C86:
ld a,$1B
ld hl,$D196
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB6C91:
ld hl,$D196
jp Logged_0xB5857
Logged_0xB6C97:
ld hl,$D190
ld a,$02
add a,[hl]
ld [hli],a
ld a,$FE
add a,[hl]
ld [hl],a
jr Logged_0xB6C86
Logged_0xB6CA4:
ld a,$03
ld [$D140],a
ld hl,$D03E
ld a,$0E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [$D049],a
jp Logged_0xB5850
Logged_0xB6CB8:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6CCC
dw Logged_0xB6CD6
dw Logged_0xB6CE1
dw Logged_0xB6CE6
dw Logged_0xB6CFF
dw Logged_0xB6CD1
dw Logged_0xB585E
Logged_0xB6CCC:
ld a,$14
jp Logged_0xB584B
Logged_0xB6CD1:
ld a,$28
jp Logged_0xB584B
Logged_0xB6CD6:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$20
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6CE1:
ld a,$FE
jp Logged_0xB584B
Logged_0xB6CE6:
ld hl,$560E
call Logged_0xB5868
ld a,$1B
ld hl,$D196
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$29
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6CFF:
ld hl,$D196
jp Logged_0xB5857
Logged_0xB6D05:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6D3D
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB6D4C
dw Logged_0xB6D5A
dw Logged_0xB6D6D
dw Logged_0xB6D73
dw Logged_0xB6D6D
dw Logged_0xB6D83
dw Logged_0xB6D6D
dw Logged_0xB6D42
dw Logged_0xB585E
dw Logged_0xB6D88
dw Logged_0xB6D6D
dw Logged_0xB6D92
dw Logged_0xB6DCD
dw Logged_0xB6D97
dw Logged_0xB6D9C
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB6DAA
dw Logged_0xB6DB4
dw Logged_0xB6D47
dw Logged_0xB585E
Logged_0xB6D3D:
ld a,$14
jp Logged_0xB584B
Logged_0xB6D42:
ld a,$28
jp Logged_0xB584B
Logged_0xB6D47:
ld a,$32
jp Logged_0xB584B
Logged_0xB6D4C:
ld a,[$D01A]
cp $02
jp z,Logged_0xB5850
ld a,$0E
ld [$D062],a
ret
Logged_0xB6D5A:
ld a,$1C
ld hl,$D196
call Logged_0x3B93
Logged_0xB6D62:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$29
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6D6D:
ld hl,$D196
jp Logged_0xB5857
Logged_0xB6D73:
ld de,$FB04
Logged_0xB6D76:
ld hl,$D190
ld a,$20
add a,d
ld [hli],a
ld a,$44
add a,e
ld [hl],a
jr Logged_0xB6D5A
Logged_0xB6D83:
ld de,$0305
jr Logged_0xB6D76
Logged_0xB6D88:
ld a,$08
ld hl,$D196
call Logged_0x3B93
jr Logged_0xB6D62
Logged_0xB6D92:
ld a,$14
jp Logged_0xB584B
Logged_0xB6D97:
ld a,$0A
jp Logged_0xB584B
Logged_0xB6D9C:
ld b,$03
ld d,$03
call Logged_0x3AF7
xor a
ld [$D0D5],a
jp Logged_0xB5850
Logged_0xB6DAA:
ld a,$22
ld hl,$D18E
call Logged_0x3B93
jr Logged_0xB6D62
Logged_0xB6DB4:
ld a,[$D061]
cp $14
ret c
ld hl,$D190
ld a,$46
ld [hli],a
ld a,$50
ld [hl],a
ld a,$22
ld hl,$D196
call Logged_0x3B93
jr Logged_0xB6D62
Logged_0xB6DCD:
ld a,$03
ld [$D0E0],a
ld a,$21
ld [$FF00+$85],a
ld a,$E5
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
ld a,[$D0E0]
and a
ret nz
jp Logged_0xB5850
Logged_0xB6DE9:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6DFB
dw Logged_0xB6E05
dw Logged_0xB6E10
dw Logged_0xB6E15
dw Logged_0xB6E00
dw Logged_0xB585E
Logged_0xB6DFB:
ld a,$28
jp Logged_0xB584B
Logged_0xB6E00:
ld a,$3C
jp Logged_0xB584B
Logged_0xB6E05:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB6E10:
ld a,$1E
jp Logged_0xB584B
Logged_0xB6E15:
ld a,[$C08F]
and $07
ret nz
ld hl,$D1F0
dec [hl]
inc l
inc [hl]
ld a,[hl]
cp $7B
jr z,Logged_0xB6E2C
cp $80
ret nz
jp Logged_0xB5850
Logged_0xB6E2C:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1A
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB6E35:
ld a,[$D01A]
ld b,a
add a,a
ld e,a
ld d,$00
ld hl,$6E5A
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[$D017]
dec a
ld e,a
add hl,de
ld d,[hl]
ld a,b
and a
jr z,Logged_0xB6E50
dec d
Logged_0xB6E50:
call Logged_0x3AF7
xor a
ld [$D0D5],a
jp Logged_0xB5850
LoggedData_0xB6E5A:
INCBIN "baserom.gbc", $B6E5A, $B6E62 - $B6E5A
Unknown_0xB6E62:
INCBIN "baserom.gbc", $B6E62, $B6E65 - $B6E62
LoggedData_0xB6E65:
INCBIN "baserom.gbc", $B6E65, $B6E68 - $B6E65
Unknown_0xB6E68:
INCBIN "baserom.gbc", $B6E68, $B6E75 - $B6E68
LoggedData_0xB6E75:
INCBIN "baserom.gbc", $B6E75, $B6E78 - $B6E75
Unknown_0xB6E78:
INCBIN "baserom.gbc", $B6E78, $B6E7B - $B6E78
LoggedData_0xB6E7B:
INCBIN "baserom.gbc", $B6E7B, $B6E7C - $B6E7B
Unknown_0xB6E7C:
INCBIN "baserom.gbc", $B6E7C, $B6E80 - $B6E7C
LoggedData_0xB6E80:
INCBIN "baserom.gbc", $B6E80, $B6E82 - $B6E80
Unknown_0xB6E82:
INCBIN "baserom.gbc", $B6E82, $B6E83 - $B6E82
LoggedData_0xB6E83:
INCBIN "baserom.gbc", $B6E83, $B6E84 - $B6E83
Unknown_0xB6E84:
INCBIN "baserom.gbc", $B6E84, $B6E86 - $B6E84
LoggedData_0xB6E86:
INCBIN "baserom.gbc", $B6E86, $B6E87 - $B6E86
Unknown_0xB6E87:
INCBIN "baserom.gbc", $B6E87, $B6E88 - $B6E87
LoggedData_0xB6E88:
INCBIN "baserom.gbc", $B6E88, $B6E89 - $B6E88
Unknown_0xB6E89:
INCBIN "baserom.gbc", $B6E89, $B6E8C - $B6E89
LoggedData_0xB6E8C:
INCBIN "baserom.gbc", $B6E8C, $B6E8D - $B6E8C
Unknown_0xB6E8D:
INCBIN "baserom.gbc", $B6E8D, $B6E8E - $B6E8D
Logged_0xB6E8E:
ld a,$21
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$52
ld [$FF00+$8E],a
call $FF80
srl c
ret c
jp Logged_0xB5850
Logged_0xB6EA3:
ld a,$10
jp Logged_0xB584B
Logged_0xB6EA8:
ld a,[$D017]
dec a
rst JumpList
dw Logged_0xB6EBF
dw Logged_0xB7109
dw Logged_0xB7395
dw Logged_0xB6D05
dw Logged_0xB7580
dw Logged_0xB77AB
dw Logged_0xB785D
dw Logged_0xB7892
dw Logged_0xB78DD
Logged_0xB6EBF:
call Logged_0xB6F77
call Logged_0xB6FAE
call Logged_0xB7056
call Logged_0xB6FFE
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB6EE5
dw Logged_0xB6EF4
dw Logged_0xB6F00
dw Logged_0xB6F0C
dw Logged_0xB6F11
dw Logged_0xB6F23
dw Logged_0xB6F3A
dw Logged_0xB6F4A
dw Logged_0xB6EEA
dw Logged_0xB585E
Logged_0xB6EE5:
ld a,$3C
jp Logged_0xB584B
Logged_0xB6EEA:
ld a,$3C
jp Logged_0xB584B
Unknown_0xB6EEF:
INCBIN "baserom.gbc", $B6EEF, $B6EF4 - $B6EEF
Logged_0xB6EF4:
ld hl,$5657
call Logged_0xB5868
call Logged_0xB6F52
jp Logged_0xB5850
Logged_0xB6F00:
xor a
ld [$D046],a
ld a,$01
ld [$D18F],a
jp Logged_0xB5850
Logged_0xB6F0C:
ld a,$0E
jp Logged_0xB584B
Logged_0xB6F11:
ld a,$01
ld [$D150],a
ld hl,$D151
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$1C
ld [$FF00+hSFXIDLow],a
jr Logged_0xB6F31
Logged_0xB6F23:
ld a,[$D061]
cp $04
ret nz
ld a,$01
ld [$D140],a
ld hl,$D141
Logged_0xB6F31:
ld de,$70AE
ld [hl],e
inc l
ld [hl],d
jp Logged_0xB5850
Logged_0xB6F3A:
ld a,[$D061]
cp $04
ret nz
ld a,$01
ld [$D148],a
ld hl,$D149
jr Logged_0xB6F31
Logged_0xB6F4A:
ld a,[$D18F]
and a
ret nz
jp Logged_0xB5850
Logged_0xB6F52:
ld hl,$44A0
ld de,$C020
ld c,$08
ld b,$21
call Logged_0x3B2B
jr Logged_0xB6F64
Unknown_0xB6F61:
INCBIN "baserom.gbc", $B6F61, $B6F64 - $B6F61
Logged_0xB6F64:
ld hl,$D0D0
ld a,$68
ld [hli],a
ld a,$A0
ld [hli],a
ld a,$01
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$20
ld [hli],a
ret
Logged_0xB6F77:
ld a,[$D18F]
and a
ret z
dec a
jr z,Logged_0xB6F83
dec a
jr z,Logged_0xB6F8C
ret
Logged_0xB6F83:
xor a
ld [$D122],a
ld hl,$D18F
inc [hl]
ret
Logged_0xB6F8C:
ld hl,$D122
inc [hl]
ld c,[hl]
ld hl,$D189
inc [hl]
inc [hl]
ld a,[hl]
add a,$18
cp $C0
jr nc,Logged_0xB6FA9
cp $78
ret c
ld a,c
and $03
ret nz
ld hl,$D188
dec [hl]
ret
Logged_0xB6FA9:
xor a
ld [$D18F],a
ret
Logged_0xB6FAE:
ld a,[$D140]
and a
ret z
ld hl,$D140
inc [hl]
ld a,[hl]
cp $05
ret c
ld a,$01
ld [hli],a
ld hl,$D141
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
cp $80
jr z,Logged_0xB6FF9
ld [$D143],a
ld a,[hli]
ld [$D144],a
ld a,[hli]
ld [$D145],a
ld a,[hli]
ld [$D146],a
ld a,[hli]
ld [$D147],a
ld a,l
ld [$D141],a
ld a,h
ld [$D142],a
ld a,$21
ld [$FF00+$85],a
ld a,$68
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$D060],a
ret
Logged_0xB6FF9:
xor a
ld [$D140],a
ret
Logged_0xB6FFE:
ld a,[$D148]
and a
ret z
ld hl,$D148
inc [hl]
ld a,[hl]
cp $05
ret c
ld a,$01
ld [hli],a
ld hl,$D149
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
cp $80
jr z,Logged_0xB7051
ld [$D14B],a
ld a,[hli]
ld [$D14C],a
ld a,[hli]
ld [$D14D],a
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,l
ld [$D149],a
ld a,h
ld [$D14A],a
ld hl,$0140
add hl,de
ld a,l
ld [$D14E],a
ld a,h
ld [$D14F],a
ld a,$21
ld [$FF00+$85],a
ld a,$A2
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$D060],a
ret
Logged_0xB7051:
xor a
ld [$D148],a
ret
Logged_0xB7056:
ld a,[$D150]
and a
ret z
ld hl,$D150
inc [hl]
ld a,[hl]
cp $05
ret c
ld a,$01
ld [hli],a
ld hl,$D151
ld a,[hli]
ld h,[hl]
ld l,a
ld a,[hli]
cp $80
jr z,Logged_0xB70A9
ld [$D153],a
ld a,[hli]
ld [$D154],a
ld a,[hli]
ld [$D155],a
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
ld a,l
ld [$D151],a
ld a,h
ld [$D152],a
ld hl,$0280
add hl,de
ld a,l
ld [$D156],a
ld a,h
ld [$D157],a
ld a,$21
ld [$FF00+$85],a
ld a,$CB
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,$01
ld [$D060],a
ret
Logged_0xB70A9:
xor a
ld [$D150],a
ret
LoggedData_0xB70AE:
INCBIN "baserom.gbc", $B70AE, $B7109 - $B70AE
Logged_0xB7109:
call Logged_0xB71FC
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB7138
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB7142
dw Logged_0xB7160
dw Logged_0xB716B
dw Logged_0xB7170
dw Logged_0xB7188
dw Logged_0xB7195
dw Logged_0xB71A2
dw Logged_0xB71AF
dw Logged_0xB71BC
dw Logged_0xB71C9
dw Logged_0xB71D9
dw Logged_0xB71E4
dw Logged_0xB71ED
dw Logged_0xB713D
dw Logged_0xB585E
Logged_0xB7138:
ld a,$14
jp Logged_0xB584B
Logged_0xB713D:
ld a,$28
jp Logged_0xB584B
Logged_0xB7142:
ld b,$04
ld hl,$D342
Logged_0xB7147:
set 7,[hl]
inc hl
dec b
jr nz,Logged_0xB7147
ld b,$04
ld hl,$D362
Logged_0xB7152:
set 7,[hl]
inc hl
dec b
jr nz,Logged_0xB7152
ld a,$01
ld [$D060],a
jp Logged_0xB5850
Logged_0xB7160:
ld a,$03
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB716B:
ld a,$0A
jp Logged_0xB584B
Logged_0xB7170:
ld a,$01
ld [$D140],a
ld a,$06
ld hl,$D1FE
call Logged_0x3B93
ld a,$04
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB7188:
ld a,[$D061]
cp $0A
ret c
ld hl,$D1B0
inc [hl]
jp Logged_0xB5850
Logged_0xB7195:
ld a,[$D061]
cp $20
ret c
ld hl,$D1B0
inc [hl]
jp Logged_0xB5850
Logged_0xB71A2:
ld a,[$D061]
cp $1C
ret c
ld hl,$D1B0
inc [hl]
jp Logged_0xB5850
Logged_0xB71AF:
ld a,[$D061]
cp $18
ret c
ld hl,$D1B0
inc [hl]
jp Logged_0xB5850
Logged_0xB71BC:
ld a,[$D061]
cp $14
ret c
ld hl,$D1B0
inc [hl]
jp Logged_0xB5850
Logged_0xB71C9:
ld a,$03
ld [$D140],a
ld a,$07
ld hl,$D1FE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB71D9:
ld a,$05
ld hl,$D1B6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB71E4:
ld a,[$D1B2]
cp $09
ret nz
jp Logged_0xB5850
Logged_0xB71ED:
ld a,[$D061]
cp $09
ret c
ld hl,$563E
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB71FC:
call Logged_0xB7273
ld hl,$D140
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB721F
dw Logged_0xB721E
dw Logged_0xB7231
dw Logged_0xB723F
dw Logged_0xB7249
dw Logged_0xB7245
dw Logged_0xB7249
dw Logged_0xB7257
dw Logged_0xB725B
dw Logged_0xB7265
dw Logged_0xB7269
Logged_0xB721E:
ret
Logged_0xB721F:
ld a,$01
Logged_0xB7221:
ld [$D142],a
xor a
ld [$D143],a
ld hl,$D140
inc [hl]
xor a
ld [$D141],a
ret
Logged_0xB7231:
ld a,[$D142]
cp $01
ret nz
xor a
ld [$D142],a
ld [$D140],a
ret
Logged_0xB723F:
ld a,[$D142]
cp $01
ret nz
Logged_0xB7245:
ld a,$11
jr Logged_0xB7221
Logged_0xB7249:
ld a,[$D142]
cp $11
ret nz
xor a
ld [$D142],a
ld [$D140],a
ret
Logged_0xB7257:
ld a,$15
jr Logged_0xB7221
Logged_0xB725B:
ld a,[$D142]
and a
ret nz
xor a
ld [$D140],a
ret
Logged_0xB7265:
ld a,$1E
jr Logged_0xB7221
Logged_0xB7269:
ld a,[$D142]
and a
ret nz
xor a
ld [$D140],a
ret
Logged_0xB7273:
ld hl,$D142
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB72F8
dw Logged_0xB72E0
dw Logged_0xB730B
dw Logged_0xB72E0
dw Logged_0xB7300
dw Logged_0xB72E0
dw Logged_0xB730B
dw Logged_0xB72E0
dw Logged_0xB7300
dw Logged_0xB72E0
dw Logged_0xB730B
dw Logged_0xB72E0
dw Logged_0xB7300
dw Logged_0xB72E0
dw Logged_0xB730B
dw Logged_0xB72E8
dw Logged_0xB7311
dw Logged_0xB72C8
dw Logged_0xB7322
dw Logged_0xB72D0
dw Logged_0xB733B
dw Logged_0xB72C8
dw Logged_0xB7379
dw Logged_0xB72C8
dw Logged_0xB7387
dw Logged_0xB72C8
dw Logged_0xB7379
dw Logged_0xB72C8
dw Logged_0xB734C
dw Logged_0xB7363
dw Logged_0xB72C8
dw Logged_0xB7334
dw Logged_0xB72C8
dw Logged_0xB735C
dw Logged_0xB72C8
dw Logged_0xB7334
dw Logged_0xB72C8
dw Logged_0xB7371
Logged_0xB72C8:
ld a,[$D143]
cp $03
ret c
jr Logged_0xB7304
Logged_0xB72D0:
ld a,[$D143]
cp $03
ret c
ld a,[$D142]
sub $04
ld [$D142],a
jr Logged_0xB7304
Logged_0xB72E0:
ld a,[$D143]
cp $01
ret c
jr Logged_0xB7304
Logged_0xB72E8:
ld a,[$D143]
cp $01
ret c
ld a,[$D142]
sub $10
ld [$D142],a
jr Logged_0xB7304
Logged_0xB72F8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0xB7300:
ld hl,$C083
dec [hl]
Logged_0xB7304:
xor a
ld hl,$D143
ld [hld],a
inc [hl]
ret
Logged_0xB730B:
ld hl,$C083
inc [hl]
jr Logged_0xB7304
Logged_0xB7311:
ld hl,$C083
dec [hl]
dec [hl]
dec [hl]
dec [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
jr Logged_0xB7304
Logged_0xB7322:
ld hl,$C083
inc [hl]
inc [hl]
inc [hl]
inc [hl]
jr Logged_0xB7304
Unknown_0xB732B:
INCBIN "baserom.gbc", $B732B, $B7334 - $B732B
Logged_0xB7334:
ld hl,$C085
dec [hl]
dec [hl]
jr Logged_0xB7304
Logged_0xB733B:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
Logged_0xB7343:
ld hl,$C085
inc [hl]
inc [hl]
inc [hl]
inc [hl]
jr Logged_0xB7304
Logged_0xB734C:
call Logged_0xB7343
xor a
ld [$D142],a
ret
Unknown_0xB7354:
INCBIN "baserom.gbc", $B7354, $B735C - $B7354
Logged_0xB735C:
ld hl,$C085
inc [hl]
inc [hl]
jr Logged_0xB7304
Logged_0xB7363:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$63
ld [$FF00+hSFXIDLow],a
Logged_0xB736B:
ld hl,$C085
inc [hl]
jr Logged_0xB7304
Logged_0xB7371:
call Logged_0xB736B
xor a
ld [$D142],a
ret
Logged_0xB7379:
ld hl,$C085
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
dec [hl]
jp Logged_0xB7304
Logged_0xB7387:
ld hl,$C085
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
inc [hl]
jp Logged_0xB7304
Logged_0xB7395:
call Logged_0xB74CB
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB73C4
dw Logged_0xB73CE
dw Logged_0xB73E1
dw Logged_0xB73E6
dw Logged_0xB73EE
dw Logged_0xB742B
dw Logged_0xB7430
dw Logged_0xB743B
dw Logged_0xB744A
dw Logged_0xB7459
dw Logged_0xB7468
dw Logged_0xB7477
dw Logged_0xB7486
dw Logged_0xB7495
dw Logged_0xB74A0
dw Logged_0xB74A5
dw Logged_0xB74B0
dw Logged_0xB73C9
dw Logged_0xB585E
Logged_0xB73C4:
ld a,$3C
jp Logged_0xB584B
Logged_0xB73C9:
ld a,$28
jp Logged_0xB584B
Logged_0xB73CE:
ld a,$10
ld hl,$D18E
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2E
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB73E1:
ld a,$28
jp Logged_0xB584B
Logged_0xB73E6:
ld a,$01
ld [$D121],a
jp Logged_0xB5850
Logged_0xB73EE:
call Logged_0xB741B
ld a,[$D18F]
cp $30
jr z,Logged_0xB7404
cp $50
jr z,Logged_0xB7410
and a
ret nz
call Logged_0xB7410
jp Logged_0xB5850
Logged_0xB7404:
ld a,[$D061]
and $03
ret z
ld a,$01
ld [$D148],a
ret
Logged_0xB7410:
ld a,[$D061]
and $03
ret z
ld hl,$D14A
inc [hl]
ret
Logged_0xB741B:
ld a,[$D061]
and $03
ret z
ld de,$64CD
ld hl,$D188
call Logged_0x3C25
ret
Logged_0xB742B:
ld a,$14
jp Logged_0xB584B
Logged_0xB7430:
ld a,$11
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB743B:
ld a,[$D061]
cp $28
ret c
ld hl,$5B3D
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB744A:
ld a,[$D061]
cp $05
ret c
ld hl,$5B2C
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB7459:
ld a,[$D061]
cp $05
ret c
ld hl,$5B1B
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB7468:
ld a,[$D061]
cp $05
ret c
ld hl,$5B0A
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB7477:
ld a,[$D061]
cp $05
ret c
ld hl,$5AFD
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB7486:
ld a,[$D061]
cp $05
ret c
ld hl,$5AF4
call Logged_0xB5868
jp Logged_0xB5850
Logged_0xB7495:
ld a,$12
ld hl,$D1BE
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB74A0:
ld a,$0A
jp Logged_0xB584B
Logged_0xB74A5:
ld a,$00
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB74B0:
ld a,[$D061]
cp $0A
jr z,Logged_0xB74C6
cp $14
jr z,Logged_0xB74C6
cp $21
ret nz
ld a,$04
ld [$D148],a
jp Logged_0xB5850
Logged_0xB74C6:
ld hl,$D14A
dec [hl]
ret
Logged_0xB74CB:
ld hl,$D148
ld a,[hli]
and a
ret z
inc [hl]
dec a
jr z,Logged_0xB74DF
dec a
jr z,Logged_0xB7511
dec a
jr z,Logged_0xB7522
dec a
jr z,Logged_0xB7539
ret
Logged_0xB74DF:
ld hl,$D0D1
ld a,$80
ld [hli],a
ld a,$06
ld [hli],a
ld a,$C1
ld [hli],a
ld a,$00
ld [hli],a
ld hl,$D0D7
ld a,$80
ld [hli],a
ld a,$06
ld [hli],a
ld a,$C0
ld [hli],a
ld a,$00
ld [hli],a
ld hl,$4840
ld de,$C100
ld c,$30
ld b,$21
call Logged_0x3B2B
Logged_0xB750A:
xor a
ld hl,$D149
ld [hld],a
inc [hl]
ret
Logged_0xB7511:
call Logged_0xB7544
ld b,[hl]
ld a,[$D149]
cp b
ret c
ld hl,$D0D0
ld a,$68
ld [hli],a
jr Logged_0xB750A
Logged_0xB7522:
call Logged_0xB7544
inc hl
ld b,[hl]
ld a,[$D149]
cp b
ret c
ld hl,$D0D6
ld a,$68
ld [hli],a
xor a
ld hl,$D149
ld [hld],a
dec [hl]
ret
Logged_0xB7539:
ld hl,$D0D6
ld a,$68
ld [hli],a
xor a
ld [$D148],a
ret
Logged_0xB7544:
ld a,[$D14A]
add a,a
ld e,a
ld d,$00
ld hl,$7550
add hl,de
ret
LoggedData_0xB7550:
INCBIN "baserom.gbc", $B7550, $B7556 - $B7550
Unknown_0xB7556:
INCBIN "baserom.gbc", $B7556, $B7580 - $B7556
Logged_0xB7580:
call Logged_0xB774C
call Logged_0xB71FC
call Logged_0xB762D
call Logged_0xB766C
call Logged_0xB76A9
call Logged_0xB76E6
call Logged_0xB7719
call Logged_0xB6055
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB75B6
dw Logged_0xB75C3
dw Logged_0xB75D0
dw Logged_0xB75D8
dw Logged_0xB75DD
dw Logged_0xB75ED
dw Logged_0xB75FB
dw Logged_0xB7609
dw Logged_0xB7617
dw Logged_0xB7625
dw Logged_0xB75BE
dw Logged_0xB585E
Logged_0xB75B6:
ld a,$01
ld [$D14B],a
jp Logged_0xB5850
Logged_0xB75BE:
ld a,$B4
jp Logged_0xB584B
Logged_0xB75C3:
ld a,$0A
ld [$D140],a
ld a,$01
ld [$D146],a
jp Logged_0xB5850
Logged_0xB75D0:
ld a,[$D140]
and a
ret nz
jp Logged_0xB5850
Logged_0xB75D8:
ld a,$38
jp Logged_0xB584B
Logged_0xB75DD:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$27
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$D134],a
jp Logged_0xB5850
Logged_0xB75ED:
ld a,[$D061]
cp $08
ret c
ld a,$01
ld [$D13A],a
jp Logged_0xB5850
Logged_0xB75FB:
ld a,[$D061]
cp $3C
ret c
ld a,$01
ld [$D13C],a
jp Logged_0xB5850
Logged_0xB7609:
ld a,[$D061]
cp $08
ret c
ld a,$01
ld [$D138],a
jp Logged_0xB5850
Logged_0xB7617:
ld a,[$D061]
cp $08
ret c
ld a,$01
ld [$D13E],a
jp Logged_0xB5850
Logged_0xB7625:
ld a,[$D13E]
and a
ret nz
jp Logged_0xB5850
Logged_0xB762D:
ld hl,$D134
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB763E
dw Logged_0xB764E
dw Logged_0xB7656
dw Logged_0xB765F
Logged_0xB763E:
ld a,$0A
ld hl,$D1D6
call Logged_0x3B93
Logged_0xB7646:
ld hl,$D134
Logged_0xB7649:
inc [hl]
inc l
xor a
ld [hl],a
ret
Logged_0xB764E:
ld a,[$D1D6]
cp $0B
ret nz
jr Logged_0xB7646
Logged_0xB7656:
ld a,$5A
ld hl,$D135
cp [hl]
ret nc
jr Logged_0xB7646
Logged_0xB765F:
ld a,$00
ld hl,$D1D6
call Logged_0x3B93
xor a
ld [$D134],a
ret
Logged_0xB766C:
ld hl,$D138
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB767D
dw Logged_0xB768B
dw Logged_0xB7693
dw Logged_0xB769C
Logged_0xB767D:
ld a,$0D
ld hl,$D1E6
call Logged_0x3B93
Logged_0xB7685:
ld hl,$D138
jp Logged_0xB7649
Logged_0xB768B:
ld a,[$D1E6]
cp $0E
ret nz
jr Logged_0xB7685
Logged_0xB7693:
ld a,$5A
ld hl,$D139
cp [hl]
ret nc
jr Logged_0xB7685
Logged_0xB769C:
ld a,$00
ld hl,$D1E6
call Logged_0x3B93
xor a
ld [$D138],a
ret
Logged_0xB76A9:
ld hl,$D13A
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB76BA
dw Logged_0xB76C8
dw Logged_0xB76D0
dw Logged_0xB76D9
Logged_0xB76BA:
ld a,$0D
ld hl,$D1EE
call Logged_0x3B93
Logged_0xB76C2:
ld hl,$D13A
jp Logged_0xB7649
Logged_0xB76C8:
ld a,[$D1EE]
cp $0E
ret nz
jr Logged_0xB76C2
Logged_0xB76D0:
ld a,$5A
ld hl,$D13B
cp [hl]
ret nc
jr Logged_0xB76C2
Logged_0xB76D9:
ld a,$00
ld hl,$D1EE
call Logged_0x3B93
xor a
ld [$D13A],a
ret
Logged_0xB76E6:
ld hl,$D13C
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB76F5
dw Logged_0xB7703
dw Logged_0xB770C
Logged_0xB76F5:
ld a,$0E
ld hl,$D1F6
call Logged_0x3B93
Logged_0xB76FD:
ld hl,$D13C
jp Logged_0xB7649
Logged_0xB7703:
ld a,$5A
ld hl,$D13D
cp [hl]
ret nc
jr Logged_0xB76FD
Logged_0xB770C:
ld a,$00
ld hl,$D1F6
call Logged_0x3B93
xor a
ld [$D13C],a
ret
Logged_0xB7719:
ld hl,$D13E
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB7728
dw Logged_0xB7736
dw Logged_0xB773F
Logged_0xB7728:
ld a,$0E
ld hl,$D1FE
call Logged_0x3B93
Logged_0xB7730:
ld hl,$D13E
jp Logged_0xB7649
Logged_0xB7736:
ld a,$5A
ld hl,$D13F
cp [hl]
ret nc
jr Logged_0xB7730
Logged_0xB773F:
ld a,$00
ld hl,$D1FE
call Logged_0x3B93
xor a
ld [$D13E],a
ret
Logged_0xB774C:
call Logged_0xB5F58
call Logged_0xB5FB9
ld hl,$D146
ld a,[hli]
and a
ret z
inc [hl]
dec a
rst JumpList
dw Logged_0xB7772
dw Logged_0xB777F
dw Logged_0xB778C
dw Logged_0xB77A6
Logged_0xB7763:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld hl,$D147
xor a
ld [hld],a
inc [hl]
ret
Logged_0xB7772:
ld a,[$D147]
cp $50
ret c
ld a,$05
ld [$D122],a
jr Logged_0xB7763
Logged_0xB777F:
ld a,[$D147]
cp $3C
ret c
ld a,$07
ld [$D126],a
jr Logged_0xB7763
Logged_0xB778C:
ld a,[$D147]
cp $50
ret c
ld a,$07
ld [$D122],a
jr Logged_0xB7763
Unknown_0xB7799:
INCBIN "baserom.gbc", $B7799, $B77A6 - $B7799
Logged_0xB77A6:
xor a
ld [$D146],a
ret
Logged_0xB77AB:
call Logged_0xB77CE
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB7803
dw Logged_0xB780D
dw Logged_0xB7818
dw Logged_0xB781D
dw Logged_0xB7828
dw Logged_0xB782D
dw Logged_0xB7838
dw Logged_0xB783D
dw Logged_0xB7847
dw Logged_0xB784C
dw Logged_0xB7857
dw Logged_0xB7808
dw Logged_0xB585E
Logged_0xB77CE:
ld hl,$D123
inc [hl]
ld a,[hl]
cp $0F
ret c
xor a
ld [hl],a
ld a,[$D18E]
cp $15
jr z,Logged_0xB77FA
cp $16
jr z,Logged_0xB77F1
cp $14
jr z,Logged_0xB77E8
ret
Logged_0xB77E8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1E
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB77F1:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$25
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB77FA:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$26
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB7803:
ld a,$28
jp Logged_0xB584B
Logged_0xB7808:
ld a,$1E
jp Logged_0xB584B
Logged_0xB780D:
ld a,$15
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB7818:
ld a,$3C
jp Logged_0xB584B
Logged_0xB781D:
ld a,$16
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB7828:
ld a,$1E
jp Logged_0xB584B
Logged_0xB782D:
ld a,$14
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB7838:
ld a,$5A
jp Logged_0xB584B
Logged_0xB783D:
ld a,$00
ld hl,$D1CE
call Logged_0x3B93
jr Logged_0xB780D
Logged_0xB7847:
ld a,$28
jp Logged_0xB584B
Logged_0xB784C:
ld a,$18
ld hl,$D18E
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB7857:
ld hl,$D18E
jp Logged_0xB5857
Logged_0xB785D:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB786D
dw Logged_0xB7877
dw Logged_0xB788A
dw Logged_0xB7872
dw Logged_0xB585E
Logged_0xB786D:
ld a,$3C
jp Logged_0xB584B
Logged_0xB7872:
ld a,$A0
jp Logged_0xB584B
Logged_0xB7877:
ld a,$1B
ld hl,$D1AE
call Logged_0x3B93
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$28
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB788A:
ld hl,$D1AE
ld b,$19
jp Logged_0xB5859
Logged_0xB7892:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB78AA
dw Logged_0xB6E35
dw Logged_0xB6E8E
dw Logged_0xB6EA3
dw Logged_0xB78B4
dw Logged_0xB78C4
dw Logged_0xB78D5
dw Logged_0xB78AF
dw Logged_0xB585E
Logged_0xB78AA:
ld a,$14
jp Logged_0xB584B
Logged_0xB78AF:
ld a,$3C
jp Logged_0xB584B
Logged_0xB78B4:
ld a,$37
ld [$D1C0],a
ld a,$1D
ld hl,$D1C6
call Logged_0x3B93
jp Logged_0xB5850
Logged_0xB78C4:
ld a,[$D061]
cp $10
ret c
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
jp Logged_0xB5850
Logged_0xB78D5:
ld b,$1C
ld hl,$D1C6
jp Logged_0xB5859
Logged_0xB78DD:
ld a,[$D062]
rst JumpList
dw Logged_0xB5850
dw Logged_0xB78EB
dw Logged_0xB78F5
dw Logged_0xB78F0
dw Logged_0xB585E
Logged_0xB78EB:
ld a,$3C
jp Logged_0xB584B
Logged_0xB78F0:
ld a,$3C
jp Logged_0xB584B
Logged_0xB78F5:
ld a,$21
ld [$FF00+$85],a
ld a,$97
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,[$D055]
and a
ret nz
di
ld a,$20
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$4C
ld [$FF00+$8E],a
call $FF80
ei
jp Logged_0xB5850
Logged_0xB791D:
ret
ld a,[$D01A]
rst JumpList
dw Logged_0xB792A
dw Logged_0xB794E
dw Logged_0xB7966
dw Logged_0xB7978
Logged_0xB792A:
ld bc,$D196
call Logged_0xB7984
ld bc,$D19E
call Logged_0xB7984
ld bc,$D1B6
call Logged_0xB7984
ld bc,$D1BE
call Logged_0xB7984
ld bc,$D1F6
call Logged_0xB7984
ld bc,$D1FE
jp Logged_0xB7984
Logged_0xB794E:
ld bc,$D18E
call Logged_0xB7A6D
ld bc,$D1BE
call Logged_0xB7A6D
ld bc,$D1C6
call Logged_0xB7A6D
ld bc,$D1AE
jp Logged_0xB7A6D
Logged_0xB7966:
ld bc,$D1BE
call Logged_0xB7C18
ld bc,$D1F6
call Logged_0xB7C18
ld bc,$D1FE
jp Logged_0xB7C18
Logged_0xB7978:
ld bc,$D1AE
call Logged_0xB7B61
ld bc,$D1BE
jp Logged_0xB7B61
Logged_0xB7984:
ld a,[bc]
rst JumpList
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB79DE
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7A32
dw Logged_0xB791D
dw Logged_0xB542E
dw Logged_0xB542E
dw Logged_0xB542E
dw Logged_0xB542E
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB79FA
dw Logged_0xB7A08
dw Logged_0xB7A16
dw Logged_0xB7A24
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
Logged_0xB79DE:
ld a,[$D025]
and a
ret nz
ld a,[$D067]
cp $06
ret nz
ld a,$06
ld hl,$D19E
call Logged_0x3B93
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
ret
Logged_0xB79FA:
ld a,[$D011]
and a
ret nz
ld a,$17
ld hl,$D1FE
call Logged_0x3B93
ret
Logged_0xB7A08:
ld a,[$D011]
and a
ret z
ld a,$16
ld hl,$D1FE
call Logged_0x3B93
ret
Logged_0xB7A16:
ld a,[$D011]
and a
ret nz
ld a,$1B
ld hl,$D1F6
call Logged_0x3B93
ret
Logged_0xB7A24:
ld a,[$D011]
and a
ret z
ld a,$1A
ld hl,$D1F6
call Logged_0x3B93
ret
Logged_0xB7A32:
call Logged_0xB7A5A
ld hl,$D125
jr z,Logged_0xB7A3F
inc [hl]
ld a,[hl]
cp $78
ret c
Logged_0xB7A3F:
xor a
ld [hl],a
ld [$D124],a
call Logged_0xB7A5A
ld b,$1D
jr nz,Logged_0xB7A52
ld a,$01
ld [$D124],a
ld b,$0D
Logged_0xB7A52:
ld a,b
ld hl,$D196
call Logged_0x3B93
ret
Logged_0xB7A5A:
ld a,[$D025]
and a
ret nz
ld a,[$D124]
and a
ret nz
ld a,[$D01D]
cp $02
ret z
cp $07
ret
Logged_0xB7A6D:
ld a,[bc]
rst JumpList
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7AB7
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7AC0
dw Logged_0xB791D
dw Logged_0xB7AFB
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7B26
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
Logged_0xB7AB7:
ld a,[$D025]
cp $04
ret z
jp Logged_0xB5B4E
Logged_0xB7AC0:
ld a,[$D025]
and a
ret nz
ld hl,$D1C7
ld a,[hl]
and a
jr nz,Logged_0xB7AD7
ld a,[$D1BE]
and a
ret nz
ld a,[$D055]
and a
ret nz
inc [hl]
Logged_0xB7AD7:
ld a,[$D011]
and a
jr nz,Logged_0xB7AF0
ld a,[$D055]
cp $02
ret nz
ld a,$07
Logged_0xB7AE5:
ld hl,$D1BE
call Logged_0x3B93
xor a
ld [$D1C7],a
ret
Logged_0xB7AF0:
ld a,$08
ld [$D1C6],a
xor a
ld [$D1C4],a
jr Logged_0xB7AE5
Logged_0xB7AFB:
ld a,[$D025]
and a
ret nz
ld hl,$D1C7
ld a,[hl]
and a
jr nz,Logged_0xB7B0D
ld a,[$D055]
and a
ret nz
inc [hl]
Logged_0xB7B0D:
ld a,[$D011]
and a
jr z,Logged_0xB7B19
ld a,[$D055]
cp $02
ret nz
Logged_0xB7B19:
ld a,$06
ld [$D1C6],a
xor a
ld [$D1C4],a
ld [$D1C7],a
ret
Logged_0xB7B26:
call Logged_0xB7B4E
ld hl,$D12B
jr z,Logged_0xB7B33
inc [hl]
ld a,[hl]
cp $78
ret c
Logged_0xB7B33:
xor a
ld [hl],a
ld [$D12A],a
call Logged_0xB7B4E
ld b,$13
jr nz,Logged_0xB7B46
ld a,$01
ld [$D12A],a
ld b,$10
Logged_0xB7B46:
ld a,b
ld hl,$D1AE
call Logged_0x3B93
ret
Logged_0xB7B4E:
ld a,[$D025]
and a
ret nz
ld a,[$D12A]
and a
ret nz
ld a,[$D01D]
cp $01
ret z
cp $02
ret
Logged_0xB7B61:
ld a,[bc]
rst JumpList
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7BA9
dw Logged_0xB7BC9
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7C05
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
Logged_0xB7BA9:
call Logged_0xB7BE9
ret nz
ld a,[$D011]
and a
jr z,Logged_0xB7BC2
ld a,[$D055]
cp $02
ret nz
Logged_0xB7BB9:
ld a,$13
ld hl,$D1BE
call Logged_0x3B93
ret
Logged_0xB7BC2:
ld a,[$D055]
and a
ret nz
jr Logged_0xB7BB9
Logged_0xB7BC9:
call Logged_0xB7BE9
ret nz
ld a,[$D011]
and a
jr nz,Logged_0xB7BE2
ld a,[$D055]
cp $02
ret nz
Logged_0xB7BD9:
ld a,$12
ld hl,$D1BE
call Logged_0x3B93
ret
Logged_0xB7BE2:
ld a,[$D055]
and a
ret nz
jr Logged_0xB7BD9
Logged_0xB7BE9:
ld a,[$D028]
cp $01
jr z,Logged_0xB7BF9
cp $03
jr z,Logged_0xB7BF9
ld a,[$D025]
and a
ret
Logged_0xB7BF9:
ld a,$00
ld hl,$D1BE
call Logged_0x3B93
ld a,$01
and a
ret
Logged_0xB7C05:
ld a,[$D025]
and a
ret nz
ld hl,$D12B
inc [hl]
ret nz
ld a,$1A
ld hl,$D1AE
call Logged_0x3B93
ret
Logged_0xB7C18:
ld a,[bc]
rst JumpList
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7C5C
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB791D
dw Logged_0xB7C97
dw Logged_0xB7CA5
dw Logged_0xB7CB3
Logged_0xB7C5C:
call Logged_0xB7C84
ld hl,$D12F
jr z,Logged_0xB7C69
inc [hl]
ld a,[hl]
cp $78
ret c
Logged_0xB7C69:
xor a
ld [hl],a
ld [$D12E],a
call Logged_0xB7C84
ld b,$1D
jr nz,Logged_0xB7C7C
ld a,$01
ld [$D12E],a
ld b,$14
Logged_0xB7C7C:
ld a,b
ld hl,$D1BE
call Logged_0x3B93
ret
Logged_0xB7C84:
ld a,[$D025]
and a
ret nz
ld a,[$D12E]
and a
ret nz
ld a,[$D01D]
cp $00
ret z
cp $01
ret
Logged_0xB7C97:
ld a,[$D011]
and a
ret nz
ld a,$1F
ld hl,$D1FE
call Logged_0x3B93
ret
Logged_0xB7CA5:
ld a,[$D011]
and a
ret z
ld a,$1E
ld hl,$D1FE
call Logged_0x3B93
ret
Logged_0xB7CB3:
ld a,[$D025]
and a
ret nz
ld a,[$D07C]
and a
jr z,Logged_0xB7CE7
jr Logged_0xB7CC0
Logged_0xB7CC0:
ld a,[$D1F1]
cp $80
ret z
ld a,[$D07D]
and a
call z,Logged_0xB7CDA
ld a,[$C08F]
and $03
ret nz
ld hl,$D1F0
dec [hl]
inc l
inc [hl]
ret
Logged_0xB7CDA:
ld hl,$D07D
inc [hl]
ld hl,$D1F0
ld [hl],$25
inc l
ld [hl],$70
ret
Logged_0xB7CE7:
ld a,[$D1F1]
cp $70
ret z
ld a,[$D07D]
and a
call z,Logged_0xB7D0D
ld a,[$C08F]
and $03
ret nz
ld hl,$D1F0
dec [hl]
inc l
inc [hl]
ld a,[hl]
cp $88
ret nz
ld hl,$D1F0
ld [hl],$25
inc l
ld [hl],$70
ret
Logged_0xB7D0D:
ld hl,$D07D
inc [hl]
ret
Unknown_0xB7D12:
INCBIN "baserom.gbc", $B7D12, $B8000 - $B7D12
SECTION "Bank2E", ROMX, BANK[$2E]
LoggedData_0xB8000:
INCBIN "baserom.gbc", $B8000, $BAADE - $B8000
Unknown_0xBAADE:
INCBIN "baserom.gbc", $BAADE, $BC000 - $BAADE
SECTION "Bank2F", ROMX, BANK[$2F]
LoggedData_0xBC000:
INCBIN "baserom.gbc", $BC000, $BC10D - $BC000
Unknown_0xBC10D:
INCBIN "baserom.gbc", $BC10D, $BC122 - $BC10D
LoggedData_0xBC122:
INCBIN "baserom.gbc", $BC122, $BEFD4 - $BC122
Unknown_0xBEFD4:
INCBIN "baserom.gbc", $BEFD4, $BEFD5 - $BEFD4
LoggedData_0xBEFD5:
INCBIN "baserom.gbc", $BEFD5, $BF92D - $BEFD5
Unknown_0xBF92D:
INCBIN "baserom.gbc", $BF92D, $C0000 - $BF92D
SECTION "Bank30", ROMX, BANK[$30]
ld d,$00
ld a,[$C0C9]
add a,a
ld e,a
rl d
ld hl,$44C5
add hl,de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,h
cp $FF
jr nz,Logged_0xC0018
jp Logged_0x015E
Logged_0xC0018:
ld a,[hli]
ld [$C0CA],a
ld a,[hli]
ld [$C0CB],a
ld a,[hli]
ld [$C0CC],a
ld a,[hli]
ld [$C0CD],a
ld a,[hl]
ld [$C0CE],a
ld b,$00
ld a,[$C0CA]
Logged_0xC0031:
sub $06
jr c,Logged_0xC0038
inc b
jr Logged_0xC0031
Logged_0xC0038:
ld a,$38
add a,b
ld [$C0CF],a
call Logged_0x298D
call Logged_0x2800
ld a,[$C0CF]
ld [$C0D0],a
call Logged_0x29BF
ld a,[$C0CC]
srl a
srl a
srl a
add a,$51
ld [$C0D1],a
call Logged_0x29E7
ld a,[$C0CD]
srl a
srl a
srl a
add a,$4E
ld [$C0D2],a
call Logged_0x2A19
ld a,$33
ld [$C0D3],a
call Logged_0x2A52
ret
ld hl,$4CE5
ld d,$00
ld a,[$C1AB]
add a,a
ld e,a
rl d
add hl,de
ld a,[hli]
ld [$C1AC],a
ld a,[hl]
ld [$C1AD],a
xor a
ld [$C1AE],a
ld [$C1AF],a
ret
ld hl,$4C51
ld d,$00
ld a,[$C1B0]
add a,a
ld e,a
rl d
add hl,de
ld a,[hli]
ld [$C1B3],a
ld a,[hld]
ld [$C1B2],a
ld l,[hl]
ld h,a
ld de,$0008
add hl,de
ld a,[hl]
ld [$C1B1],a
srl a
ld [$C1B5],a
xor a
ld [$C1B4],a
ret
LoggedData_0xC00BE:
INCBIN "baserom.gbc", $C00BE, $C00C0 - $C00BE
Unknown_0xC00C0:
INCBIN "baserom.gbc", $C00C0, $C00C4 - $C00C0
LoggedData_0xC00C4:
INCBIN "baserom.gbc", $C00C4, $C00C6 - $C00C4
Unknown_0xC00C6:
INCBIN "baserom.gbc", $C00C6, $C00C8 - $C00C6
LoggedData_0xC00C8:
INCBIN "baserom.gbc", $C00C8, $C00D0 - $C00C8
Unknown_0xC00D0:
INCBIN "baserom.gbc", $C00D0, $C00D4 - $C00D0
LoggedData_0xC00D4:
INCBIN "baserom.gbc", $C00D4, $C00D6 - $C00D4
Unknown_0xC00D6:
INCBIN "baserom.gbc", $C00D6, $C00DA - $C00D6
LoggedData_0xC00DA:
INCBIN "baserom.gbc", $C00DA, $C00DE - $C00DA
Unknown_0xC00DE:
INCBIN "baserom.gbc", $C00DE, $C00E0 - $C00DE
LoggedData_0xC00E0:
INCBIN "baserom.gbc", $C00E0, $C00E4 - $C00E0
Unknown_0xC00E4:
INCBIN "baserom.gbc", $C00E4, $C00E6 - $C00E4
LoggedData_0xC00E6:
INCBIN "baserom.gbc", $C00E6, $C00E8 - $C00E6
Unknown_0xC00E8:
INCBIN "baserom.gbc", $C00E8, $C00EC - $C00E8
LoggedData_0xC00EC:
INCBIN "baserom.gbc", $C00EC, $C00F0 - $C00EC
Unknown_0xC00F0:
INCBIN "baserom.gbc", $C00F0, $C00F2 - $C00F0
LoggedData_0xC00F2:
INCBIN "baserom.gbc", $C00F2, $C00F6 - $C00F2
Unknown_0xC00F6:
INCBIN "baserom.gbc", $C00F6, $C00FC - $C00F6
LoggedData_0xC00FC:
INCBIN "baserom.gbc", $C00FC, $C00FE - $C00FC
Unknown_0xC00FE:
INCBIN "baserom.gbc", $C00FE, $C0100 - $C00FE
LoggedData_0xC0100:
INCBIN "baserom.gbc", $C0100, $C0102 - $C0100
Unknown_0xC0102:
INCBIN "baserom.gbc", $C0102, $C0106 - $C0102
LoggedData_0xC0106:
INCBIN "baserom.gbc", $C0106, $C0108 - $C0106
Unknown_0xC0108:
INCBIN "baserom.gbc", $C0108, $C010A - $C0108
LoggedData_0xC010A:
INCBIN "baserom.gbc", $C010A, $C010E - $C010A
Unknown_0xC010E:
INCBIN "baserom.gbc", $C010E, $C0112 - $C010E
LoggedData_0xC0112:
INCBIN "baserom.gbc", $C0112, $C0118 - $C0112
Unknown_0xC0118:
INCBIN "baserom.gbc", $C0118, $C011A - $C0118
LoggedData_0xC011A:
INCBIN "baserom.gbc", $C011A, $C011C - $C011A
Unknown_0xC011C:
INCBIN "baserom.gbc", $C011C, $C0120 - $C011C
LoggedData_0xC0120:
INCBIN "baserom.gbc", $C0120, $C0122 - $C0120
Unknown_0xC0122:
INCBIN "baserom.gbc", $C0122, $C0124 - $C0122
LoggedData_0xC0124:
INCBIN "baserom.gbc", $C0124, $C0126 - $C0124
Unknown_0xC0126:
INCBIN "baserom.gbc", $C0126, $C0128 - $C0126
LoggedData_0xC0128:
INCBIN "baserom.gbc", $C0128, $C012A - $C0128
Unknown_0xC012A:
INCBIN "baserom.gbc", $C012A, $C012C - $C012A
LoggedData_0xC012C:
INCBIN "baserom.gbc", $C012C, $C012E - $C012C
Unknown_0xC012E:
INCBIN "baserom.gbc", $C012E, $C0132 - $C012E
LoggedData_0xC0132:
INCBIN "baserom.gbc", $C0132, $C0134 - $C0132
Unknown_0xC0134:
INCBIN "baserom.gbc", $C0134, $C0136 - $C0134
LoggedData_0xC0136:
INCBIN "baserom.gbc", $C0136, $C013A - $C0136
Unknown_0xC013A:
INCBIN "baserom.gbc", $C013A, $C013C - $C013A
LoggedData_0xC013C:
INCBIN "baserom.gbc", $C013C, $C0142 - $C013C
Unknown_0xC0142:
INCBIN "baserom.gbc", $C0142, $C0148 - $C0142
LoggedData_0xC0148:
INCBIN "baserom.gbc", $C0148, $C014E - $C0148
Unknown_0xC014E:
INCBIN "baserom.gbc", $C014E, $C0152 - $C014E
LoggedData_0xC0152:
INCBIN "baserom.gbc", $C0152, $C015C - $C0152
Unknown_0xC015C:
INCBIN "baserom.gbc", $C015C, $C015E - $C015C
LoggedData_0xC015E:
INCBIN "baserom.gbc", $C015E, $C0160 - $C015E
Unknown_0xC0160:
INCBIN "baserom.gbc", $C0160, $C0162 - $C0160
LoggedData_0xC0162:
INCBIN "baserom.gbc", $C0162, $C0166 - $C0162
Unknown_0xC0166:
INCBIN "baserom.gbc", $C0166, $C016A - $C0166
LoggedData_0xC016A:
INCBIN "baserom.gbc", $C016A, $C016C - $C016A
Unknown_0xC016C:
INCBIN "baserom.gbc", $C016C, $C0172 - $C016C
LoggedData_0xC0172:
INCBIN "baserom.gbc", $C0172, $C0174 - $C0172
Unknown_0xC0174:
INCBIN "baserom.gbc", $C0174, $C0176 - $C0174
LoggedData_0xC0176:
INCBIN "baserom.gbc", $C0176, $C017A - $C0176
Unknown_0xC017A:
INCBIN "baserom.gbc", $C017A, $C017C - $C017A
LoggedData_0xC017C:
INCBIN "baserom.gbc", $C017C, $C0182 - $C017C
Unknown_0xC0182:
INCBIN "baserom.gbc", $C0182, $C018A - $C0182
LoggedData_0xC018A:
INCBIN "baserom.gbc", $C018A, $C018E - $C018A
Unknown_0xC018E:
INCBIN "baserom.gbc", $C018E, $C0196 - $C018E
LoggedData_0xC0196:
INCBIN "baserom.gbc", $C0196, $C0198 - $C0196
Unknown_0xC0198:
INCBIN "baserom.gbc", $C0198, $C019A - $C0198
LoggedData_0xC019A:
INCBIN "baserom.gbc", $C019A, $C01A2 - $C019A
Unknown_0xC01A2:
INCBIN "baserom.gbc", $C01A2, $C01A4 - $C01A2
LoggedData_0xC01A4:
INCBIN "baserom.gbc", $C01A4, $C01A6 - $C01A4
Unknown_0xC01A6:
INCBIN "baserom.gbc", $C01A6, $C01AA - $C01A6
LoggedData_0xC01AA:
INCBIN "baserom.gbc", $C01AA, $C01AC - $C01AA
Unknown_0xC01AC:
INCBIN "baserom.gbc", $C01AC, $C01AE - $C01AC
LoggedData_0xC01AE:
INCBIN "baserom.gbc", $C01AE, $C01B0 - $C01AE
Unknown_0xC01B0:
INCBIN "baserom.gbc", $C01B0, $C01B4 - $C01B0
LoggedData_0xC01B4:
INCBIN "baserom.gbc", $C01B4, $C01B6 - $C01B4
Unknown_0xC01B6:
INCBIN "baserom.gbc", $C01B6, $C01B8 - $C01B6
LoggedData_0xC01B8:
INCBIN "baserom.gbc", $C01B8, $C01C0 - $C01B8
Unknown_0xC01C0:
INCBIN "baserom.gbc", $C01C0, $C01C2 - $C01C0
LoggedData_0xC01C2:
INCBIN "baserom.gbc", $C01C2, $C01C4 - $C01C2
Unknown_0xC01C4:
INCBIN "baserom.gbc", $C01C4, $C01CA - $C01C4
LoggedData_0xC01CA:
INCBIN "baserom.gbc", $C01CA, $C01CE - $C01CA
Unknown_0xC01CE:
INCBIN "baserom.gbc", $C01CE, $C01D0 - $C01CE
LoggedData_0xC01D0:
INCBIN "baserom.gbc", $C01D0, $C01D6 - $C01D0
Unknown_0xC01D6:
INCBIN "baserom.gbc", $C01D6, $C01D8 - $C01D6
LoggedData_0xC01D8:
INCBIN "baserom.gbc", $C01D8, $C01DA - $C01D8
Unknown_0xC01DA:
INCBIN "baserom.gbc", $C01DA, $C01DC - $C01DA
LoggedData_0xC01DC:
INCBIN "baserom.gbc", $C01DC, $C01DE - $C01DC
Unknown_0xC01DE:
INCBIN "baserom.gbc", $C01DE, $C01E4 - $C01DE
LoggedData_0xC01E4:
INCBIN "baserom.gbc", $C01E4, $C01EC - $C01E4
Unknown_0xC01EC:
INCBIN "baserom.gbc", $C01EC, $C01F4 - $C01EC
LoggedData_0xC01F4:
INCBIN "baserom.gbc", $C01F4, $C01F8 - $C01F4
Unknown_0xC01F8:
INCBIN "baserom.gbc", $C01F8, $C01FA - $C01F8
LoggedData_0xC01FA:
INCBIN "baserom.gbc", $C01FA, $C01FE - $C01FA
Unknown_0xC01FE:
INCBIN "baserom.gbc", $C01FE, $C0202 - $C01FE
LoggedData_0xC0202:
INCBIN "baserom.gbc", $C0202, $C0204 - $C0202
Unknown_0xC0204:
INCBIN "baserom.gbc", $C0204, $C0206 - $C0204
LoggedData_0xC0206:
INCBIN "baserom.gbc", $C0206, $C0208 - $C0206
Unknown_0xC0208:
INCBIN "baserom.gbc", $C0208, $C020A - $C0208
LoggedData_0xC020A:
INCBIN "baserom.gbc", $C020A, $C020E - $C020A
Unknown_0xC020E:
INCBIN "baserom.gbc", $C020E, $C0212 - $C020E
LoggedData_0xC0212:
INCBIN "baserom.gbc", $C0212, $C0218 - $C0212
Unknown_0xC0218:
INCBIN "baserom.gbc", $C0218, $C021C - $C0218
LoggedData_0xC021C:
INCBIN "baserom.gbc", $C021C, $C021E - $C021C
Unknown_0xC021E:
INCBIN "baserom.gbc", $C021E, $C0222 - $C021E
LoggedData_0xC0222:
INCBIN "baserom.gbc", $C0222, $C0228 - $C0222
Unknown_0xC0228:
INCBIN "baserom.gbc", $C0228, $C022C - $C0228
LoggedData_0xC022C:
INCBIN "baserom.gbc", $C022C, $C0232 - $C022C
Unknown_0xC0232:
INCBIN "baserom.gbc", $C0232, $C0234 - $C0232
LoggedData_0xC0234:
INCBIN "baserom.gbc", $C0234, $C0236 - $C0234
Unknown_0xC0236:
INCBIN "baserom.gbc", $C0236, $C0238 - $C0236
LoggedData_0xC0238:
INCBIN "baserom.gbc", $C0238, $C023C - $C0238
Unknown_0xC023C:
INCBIN "baserom.gbc", $C023C, $C0240 - $C023C
LoggedData_0xC0240:
INCBIN "baserom.gbc", $C0240, $C0244 - $C0240
Unknown_0xC0244:
INCBIN "baserom.gbc", $C0244, $C024A - $C0244
LoggedData_0xC024A:
INCBIN "baserom.gbc", $C024A, $C0250 - $C024A
Unknown_0xC0250:
INCBIN "baserom.gbc", $C0250, $C026A - $C0250
LoggedData_0xC026A:
INCBIN "baserom.gbc", $C026A, $C0314 - $C026A
Unknown_0xC0314:
INCBIN "baserom.gbc", $C0314, $C0319 - $C0314
LoggedData_0xC0319:
INCBIN "baserom.gbc", $C0319, $C031B - $C0319
Unknown_0xC031B:
INCBIN "baserom.gbc", $C031B, $C031F - $C031B
LoggedData_0xC031F:
INCBIN "baserom.gbc", $C031F, $C0321 - $C031F
Unknown_0xC0321:
INCBIN "baserom.gbc", $C0321, $C0323 - $C0321
LoggedData_0xC0323:
INCBIN "baserom.gbc", $C0323, $C032B - $C0323
Unknown_0xC032B:
INCBIN "baserom.gbc", $C032B, $C032F - $C032B
LoggedData_0xC032F:
INCBIN "baserom.gbc", $C032F, $C0331 - $C032F
Unknown_0xC0331:
INCBIN "baserom.gbc", $C0331, $C0335 - $C0331
LoggedData_0xC0335:
INCBIN "baserom.gbc", $C0335, $C0339 - $C0335
Unknown_0xC0339:
INCBIN "baserom.gbc", $C0339, $C033B - $C0339
LoggedData_0xC033B:
INCBIN "baserom.gbc", $C033B, $C033F - $C033B
Unknown_0xC033F:
INCBIN "baserom.gbc", $C033F, $C0341 - $C033F
LoggedData_0xC0341:
INCBIN "baserom.gbc", $C0341, $C0343 - $C0341
Unknown_0xC0343:
INCBIN "baserom.gbc", $C0343, $C0347 - $C0343
LoggedData_0xC0347:
INCBIN "baserom.gbc", $C0347, $C034B - $C0347
Unknown_0xC034B:
INCBIN "baserom.gbc", $C034B, $C034D - $C034B
LoggedData_0xC034D:
INCBIN "baserom.gbc", $C034D, $C0351 - $C034D
Unknown_0xC0351:
INCBIN "baserom.gbc", $C0351, $C0357 - $C0351
LoggedData_0xC0357:
INCBIN "baserom.gbc", $C0357, $C0359 - $C0357
Unknown_0xC0359:
INCBIN "baserom.gbc", $C0359, $C035B - $C0359
LoggedData_0xC035B:
INCBIN "baserom.gbc", $C035B, $C035D - $C035B
Unknown_0xC035D:
INCBIN "baserom.gbc", $C035D, $C0361 - $C035D
LoggedData_0xC0361:
INCBIN "baserom.gbc", $C0361, $C0363 - $C0361
Unknown_0xC0363:
INCBIN "baserom.gbc", $C0363, $C0365 - $C0363
LoggedData_0xC0365:
INCBIN "baserom.gbc", $C0365, $C0369 - $C0365
Unknown_0xC0369:
INCBIN "baserom.gbc", $C0369, $C036D - $C0369
LoggedData_0xC036D:
INCBIN "baserom.gbc", $C036D, $C0373 - $C036D
Unknown_0xC0373:
INCBIN "baserom.gbc", $C0373, $C0375 - $C0373
LoggedData_0xC0375:
INCBIN "baserom.gbc", $C0375, $C0377 - $C0375
Unknown_0xC0377:
INCBIN "baserom.gbc", $C0377, $C037B - $C0377
LoggedData_0xC037B:
INCBIN "baserom.gbc", $C037B, $C037D - $C037B
Unknown_0xC037D:
INCBIN "baserom.gbc", $C037D, $C037F - $C037D
LoggedData_0xC037F:
INCBIN "baserom.gbc", $C037F, $C0381 - $C037F
Unknown_0xC0381:
INCBIN "baserom.gbc", $C0381, $C0383 - $C0381
LoggedData_0xC0383:
INCBIN "baserom.gbc", $C0383, $C0385 - $C0383
Unknown_0xC0385:
INCBIN "baserom.gbc", $C0385, $C0387 - $C0385
LoggedData_0xC0387:
INCBIN "baserom.gbc", $C0387, $C0389 - $C0387
Unknown_0xC0389:
INCBIN "baserom.gbc", $C0389, $C038D - $C0389
LoggedData_0xC038D:
INCBIN "baserom.gbc", $C038D, $C038F - $C038D
Unknown_0xC038F:
INCBIN "baserom.gbc", $C038F, $C0391 - $C038F
LoggedData_0xC0391:
INCBIN "baserom.gbc", $C0391, $C0395 - $C0391
Unknown_0xC0395:
INCBIN "baserom.gbc", $C0395, $C0397 - $C0395
LoggedData_0xC0397:
INCBIN "baserom.gbc", $C0397, $C039D - $C0397
Unknown_0xC039D:
INCBIN "baserom.gbc", $C039D, $C03A3 - $C039D
LoggedData_0xC03A3:
INCBIN "baserom.gbc", $C03A3, $C03A9 - $C03A3
Unknown_0xC03A9:
INCBIN "baserom.gbc", $C03A9, $C03AD - $C03A9
LoggedData_0xC03AD:
INCBIN "baserom.gbc", $C03AD, $C03B7 - $C03AD
Unknown_0xC03B7:
INCBIN "baserom.gbc", $C03B7, $C03B9 - $C03B7
LoggedData_0xC03B9:
INCBIN "baserom.gbc", $C03B9, $C03BB - $C03B9
Unknown_0xC03BB:
INCBIN "baserom.gbc", $C03BB, $C03BD - $C03BB
LoggedData_0xC03BD:
INCBIN "baserom.gbc", $C03BD, $C03C1 - $C03BD
Unknown_0xC03C1:
INCBIN "baserom.gbc", $C03C1, $C03C5 - $C03C1
LoggedData_0xC03C5:
INCBIN "baserom.gbc", $C03C5, $C03C7 - $C03C5
Unknown_0xC03C7:
INCBIN "baserom.gbc", $C03C7, $C03CD - $C03C7
LoggedData_0xC03CD:
INCBIN "baserom.gbc", $C03CD, $C03CF - $C03CD
Unknown_0xC03CF:
INCBIN "baserom.gbc", $C03CF, $C03D1 - $C03CF
LoggedData_0xC03D1:
INCBIN "baserom.gbc", $C03D1, $C03D5 - $C03D1
Unknown_0xC03D5:
INCBIN "baserom.gbc", $C03D5, $C03D7 - $C03D5
LoggedData_0xC03D7:
INCBIN "baserom.gbc", $C03D7, $C03DD - $C03D7
Unknown_0xC03DD:
INCBIN "baserom.gbc", $C03DD, $C03E5 - $C03DD
LoggedData_0xC03E5:
INCBIN "baserom.gbc", $C03E5, $C03E9 - $C03E5
Unknown_0xC03E9:
INCBIN "baserom.gbc", $C03E9, $C03F1 - $C03E9
LoggedData_0xC03F1:
INCBIN "baserom.gbc", $C03F1, $C03F3 - $C03F1
Unknown_0xC03F3:
INCBIN "baserom.gbc", $C03F3, $C03F5 - $C03F3
LoggedData_0xC03F5:
INCBIN "baserom.gbc", $C03F5, $C03FD - $C03F5
Unknown_0xC03FD:
INCBIN "baserom.gbc", $C03FD, $C03FF - $C03FD
LoggedData_0xC03FF:
INCBIN "baserom.gbc", $C03FF, $C0401 - $C03FF
Unknown_0xC0401:
INCBIN "baserom.gbc", $C0401, $C0405 - $C0401
LoggedData_0xC0405:
INCBIN "baserom.gbc", $C0405, $C0407 - $C0405
Unknown_0xC0407:
INCBIN "baserom.gbc", $C0407, $C0409 - $C0407
LoggedData_0xC0409:
INCBIN "baserom.gbc", $C0409, $C040B - $C0409
Unknown_0xC040B:
INCBIN "baserom.gbc", $C040B, $C040F - $C040B
LoggedData_0xC040F:
INCBIN "baserom.gbc", $C040F, $C0411 - $C040F
Unknown_0xC0411:
INCBIN "baserom.gbc", $C0411, $C0413 - $C0411
LoggedData_0xC0413:
INCBIN "baserom.gbc", $C0413, $C041B - $C0413
Unknown_0xC041B:
INCBIN "baserom.gbc", $C041B, $C041D - $C041B
LoggedData_0xC041D:
INCBIN "baserom.gbc", $C041D, $C041F - $C041D
Unknown_0xC041F:
INCBIN "baserom.gbc", $C041F, $C0425 - $C041F
LoggedData_0xC0425:
INCBIN "baserom.gbc", $C0425, $C0429 - $C0425
Unknown_0xC0429:
INCBIN "baserom.gbc", $C0429, $C042B - $C0429
LoggedData_0xC042B:
INCBIN "baserom.gbc", $C042B, $C0431 - $C042B
Unknown_0xC0431:
INCBIN "baserom.gbc", $C0431, $C0433 - $C0431
LoggedData_0xC0433:
INCBIN "baserom.gbc", $C0433, $C0435 - $C0433
Unknown_0xC0435:
INCBIN "baserom.gbc", $C0435, $C0437 - $C0435
LoggedData_0xC0437:
INCBIN "baserom.gbc", $C0437, $C0439 - $C0437
Unknown_0xC0439:
INCBIN "baserom.gbc", $C0439, $C043F - $C0439
LoggedData_0xC043F:
INCBIN "baserom.gbc", $C043F, $C0447 - $C043F
Unknown_0xC0447:
INCBIN "baserom.gbc", $C0447, $C044F - $C0447
LoggedData_0xC044F:
INCBIN "baserom.gbc", $C044F, $C0453 - $C044F
Unknown_0xC0453:
INCBIN "baserom.gbc", $C0453, $C0455 - $C0453
LoggedData_0xC0455:
INCBIN "baserom.gbc", $C0455, $C0459 - $C0455
Unknown_0xC0459:
INCBIN "baserom.gbc", $C0459, $C045D - $C0459
LoggedData_0xC045D:
INCBIN "baserom.gbc", $C045D, $C045F - $C045D
Unknown_0xC045F:
INCBIN "baserom.gbc", $C045F, $C0461 - $C045F
LoggedData_0xC0461:
INCBIN "baserom.gbc", $C0461, $C0463 - $C0461
Unknown_0xC0463:
INCBIN "baserom.gbc", $C0463, $C0465 - $C0463
LoggedData_0xC0465:
INCBIN "baserom.gbc", $C0465, $C0469 - $C0465
Unknown_0xC0469:
INCBIN "baserom.gbc", $C0469, $C046D - $C0469
LoggedData_0xC046D:
INCBIN "baserom.gbc", $C046D, $C0473 - $C046D
Unknown_0xC0473:
INCBIN "baserom.gbc", $C0473, $C0477 - $C0473
LoggedData_0xC0477:
INCBIN "baserom.gbc", $C0477, $C0479 - $C0477
Unknown_0xC0479:
INCBIN "baserom.gbc", $C0479, $C047D - $C0479
LoggedData_0xC047D:
INCBIN "baserom.gbc", $C047D, $C0483 - $C047D
Unknown_0xC0483:
INCBIN "baserom.gbc", $C0483, $C0487 - $C0483
LoggedData_0xC0487:
INCBIN "baserom.gbc", $C0487, $C048D - $C0487
Unknown_0xC048D:
INCBIN "baserom.gbc", $C048D, $C048F - $C048D
LoggedData_0xC048F:
INCBIN "baserom.gbc", $C048F, $C0491 - $C048F
Unknown_0xC0491:
INCBIN "baserom.gbc", $C0491, $C0493 - $C0491
LoggedData_0xC0493:
INCBIN "baserom.gbc", $C0493, $C0497 - $C0493
Unknown_0xC0497:
INCBIN "baserom.gbc", $C0497, $C049B - $C0497
LoggedData_0xC049B:
INCBIN "baserom.gbc", $C049B, $C049F - $C049B
Unknown_0xC049F:
INCBIN "baserom.gbc", $C049F, $C04A5 - $C049F
LoggedData_0xC04A5:
INCBIN "baserom.gbc", $C04A5, $C04AB - $C04A5
Unknown_0xC04AB:
INCBIN "baserom.gbc", $C04AB, $C04C7 - $C04AB
LoggedData_0xC04C7:
INCBIN "baserom.gbc", $C04C7, $C04D3 - $C04C7
Unknown_0xC04D3:
INCBIN "baserom.gbc", $C04D3, $C04D7 - $C04D3
LoggedData_0xC04D7:
INCBIN "baserom.gbc", $C04D7, $C04E5 - $C04D7
Unknown_0xC04E5:
INCBIN "baserom.gbc", $C04E5, $C04E7 - $C04E5
LoggedData_0xC04E7:
INCBIN "baserom.gbc", $C04E7, $C04F1 - $C04E7
Unknown_0xC04F1:
INCBIN "baserom.gbc", $C04F1, $C04F3 - $C04F1
LoggedData_0xC04F3:
INCBIN "baserom.gbc", $C04F3, $C050D - $C04F3
Unknown_0xC050D:
INCBIN "baserom.gbc", $C050D, $C050F - $C050D
LoggedData_0xC050F:
INCBIN "baserom.gbc", $C050F, $C051B - $C050F
Unknown_0xC051B:
INCBIN "baserom.gbc", $C051B, $C051D - $C051B
LoggedData_0xC051D:
INCBIN "baserom.gbc", $C051D, $C0537 - $C051D
Unknown_0xC0537:
INCBIN "baserom.gbc", $C0537, $C0539 - $C0537
LoggedData_0xC0539:
INCBIN "baserom.gbc", $C0539, $C0543 - $C0539
Unknown_0xC0543:
INCBIN "baserom.gbc", $C0543, $C0549 - $C0543
LoggedData_0xC0549:
INCBIN "baserom.gbc", $C0549, $C055B - $C0549
Unknown_0xC055B:
INCBIN "baserom.gbc", $C055B, $C055D - $C055B
LoggedData_0xC055D:
INCBIN "baserom.gbc", $C055D, $C0569 - $C055D
Unknown_0xC0569:
INCBIN "baserom.gbc", $C0569, $C056B - $C0569
LoggedData_0xC056B:
INCBIN "baserom.gbc", $C056B, $C0577 - $C056B
Unknown_0xC0577:
INCBIN "baserom.gbc", $C0577, $C0579 - $C0577
LoggedData_0xC0579:
INCBIN "baserom.gbc", $C0579, $C057B - $C0579
Unknown_0xC057B:
INCBIN "baserom.gbc", $C057B, $C057D - $C057B
LoggedData_0xC057D:
INCBIN "baserom.gbc", $C057D, $C0583 - $C057D
Unknown_0xC0583:
INCBIN "baserom.gbc", $C0583, $C0585 - $C0583
LoggedData_0xC0585:
INCBIN "baserom.gbc", $C0585, $C0587 - $C0585
Unknown_0xC0587:
INCBIN "baserom.gbc", $C0587, $C0589 - $C0587
LoggedData_0xC0589:
INCBIN "baserom.gbc", $C0589, $C058B - $C0589
Unknown_0xC058B:
INCBIN "baserom.gbc", $C058B, $C058D - $C058B
LoggedData_0xC058D:
INCBIN "baserom.gbc", $C058D, $C058F - $C058D
Unknown_0xC058F:
INCBIN "baserom.gbc", $C058F, $C0591 - $C058F
LoggedData_0xC0591:
INCBIN "baserom.gbc", $C0591, $C0593 - $C0591
Unknown_0xC0593:
INCBIN "baserom.gbc", $C0593, $C0595 - $C0593
LoggedData_0xC0595:
INCBIN "baserom.gbc", $C0595, $C05BF - $C0595
Unknown_0xC05BF:
INCBIN "baserom.gbc", $C05BF, $C05C1 - $C05BF
LoggedData_0xC05C1:
INCBIN "baserom.gbc", $C05C1, $C05C3 - $C05C1
Unknown_0xC05C3:
INCBIN "baserom.gbc", $C05C3, $C05C5 - $C05C3
LoggedData_0xC05C5:
INCBIN "baserom.gbc", $C05C5, $C05CB - $C05C5
Unknown_0xC05CB:
INCBIN "baserom.gbc", $C05CB, $C05CD - $C05CB
LoggedData_0xC05CD:
INCBIN "baserom.gbc", $C05CD, $C05DD - $C05CD
Unknown_0xC05DD:
INCBIN "baserom.gbc", $C05DD, $C05DF - $C05DD
LoggedData_0xC05DF:
INCBIN "baserom.gbc", $C05DF, $C05E1 - $C05DF
Unknown_0xC05E1:
INCBIN "baserom.gbc", $C05E1, $C05E3 - $C05E1
LoggedData_0xC05E3:
INCBIN "baserom.gbc", $C05E3, $C05EB - $C05E3
Unknown_0xC05EB:
INCBIN "baserom.gbc", $C05EB, $C05ED - $C05EB
LoggedData_0xC05ED:
INCBIN "baserom.gbc", $C05ED, $C05FB - $C05ED
Unknown_0xC05FB:
INCBIN "baserom.gbc", $C05FB, $C060B - $C05FB
LoggedData_0xC060B:
INCBIN "baserom.gbc", $C060B, $C0629 - $C060B
Unknown_0xC0629:
INCBIN "baserom.gbc", $C0629, $C0633 - $C0629
LoggedData_0xC0633:
INCBIN "baserom.gbc", $C0633, $C0656 - $C0633
Unknown_0xC0656:
INCBIN "baserom.gbc", $C0656, $C065B - $C0656
LoggedData_0xC065B:
INCBIN "baserom.gbc", $C065B, $C0674 - $C065B
Unknown_0xC0674:
INCBIN "baserom.gbc", $C0674, $C0679 - $C0674
LoggedData_0xC0679:
INCBIN "baserom.gbc", $C0679, $C06BA - $C0679
Unknown_0xC06BA:
INCBIN "baserom.gbc", $C06BA, $C06BF - $C06BA
LoggedData_0xC06BF:
INCBIN "baserom.gbc", $C06BF, $C06DD - $C06BF
Unknown_0xC06DD:
INCBIN "baserom.gbc", $C06DD, $C06E2 - $C06DD
LoggedData_0xC06E2:
INCBIN "baserom.gbc", $C06E2, $C0723 - $C06E2
Unknown_0xC0723:
INCBIN "baserom.gbc", $C0723, $C0728 - $C0723
LoggedData_0xC0728:
INCBIN "baserom.gbc", $C0728, $C0741 - $C0728
Unknown_0xC0741:
INCBIN "baserom.gbc", $C0741, $C0750 - $C0741
LoggedData_0xC0750:
INCBIN "baserom.gbc", $C0750, $C077D - $C0750
Unknown_0xC077D:
INCBIN "baserom.gbc", $C077D, $C0782 - $C077D
LoggedData_0xC0782:
INCBIN "baserom.gbc", $C0782, $C07A0 - $C0782
Unknown_0xC07A0:
INCBIN "baserom.gbc", $C07A0, $C07A5 - $C07A0
LoggedData_0xC07A5:
INCBIN "baserom.gbc", $C07A5, $C07C3 - $C07A5
Unknown_0xC07C3:
INCBIN "baserom.gbc", $C07C3, $C07C8 - $C07C3
LoggedData_0xC07C8:
INCBIN "baserom.gbc", $C07C8, $C07CD - $C07C8
Unknown_0xC07CD:
INCBIN "baserom.gbc", $C07CD, $C07D2 - $C07CD
LoggedData_0xC07D2:
INCBIN "baserom.gbc", $C07D2, $C07E1 - $C07D2
Unknown_0xC07E1:
INCBIN "baserom.gbc", $C07E1, $C07E6 - $C07E1
LoggedData_0xC07E6:
INCBIN "baserom.gbc", $C07E6, $C07EB - $C07E6
Unknown_0xC07EB:
INCBIN "baserom.gbc", $C07EB, $C07F0 - $C07EB
LoggedData_0xC07F0:
INCBIN "baserom.gbc", $C07F0, $C07F5 - $C07F0
Unknown_0xC07F5:
INCBIN "baserom.gbc", $C07F5, $C07FA - $C07F5
LoggedData_0xC07FA:
INCBIN "baserom.gbc", $C07FA, $C07FF - $C07FA
Unknown_0xC07FF:
INCBIN "baserom.gbc", $C07FF, $C0804 - $C07FF
LoggedData_0xC0804:
INCBIN "baserom.gbc", $C0804, $C0809 - $C0804
Unknown_0xC0809:
INCBIN "baserom.gbc", $C0809, $C080E - $C0809
LoggedData_0xC080E:
INCBIN "baserom.gbc", $C080E, $C0877 - $C080E
Unknown_0xC0877:
INCBIN "baserom.gbc", $C0877, $C087C - $C0877
LoggedData_0xC087C:
INCBIN "baserom.gbc", $C087C, $C0881 - $C087C
Unknown_0xC0881:
INCBIN "baserom.gbc", $C0881, $C0886 - $C0881
LoggedData_0xC0886:
INCBIN "baserom.gbc", $C0886, $C0895 - $C0886
Unknown_0xC0895:
INCBIN "baserom.gbc", $C0895, $C089A - $C0895
LoggedData_0xC089A:
INCBIN "baserom.gbc", $C089A, $C08C2 - $C089A
Unknown_0xC08C2:
INCBIN "baserom.gbc", $C08C2, $C08C7 - $C08C2
LoggedData_0xC08C7:
INCBIN "baserom.gbc", $C08C7, $C08CC - $C08C7
Unknown_0xC08CC:
INCBIN "baserom.gbc", $C08CC, $C08D1 - $C08CC
LoggedData_0xC08D1:
INCBIN "baserom.gbc", $C08D1, $C08E5 - $C08D1
Unknown_0xC08E5:
INCBIN "baserom.gbc", $C08E5, $C08EA - $C08E5
LoggedData_0xC08EA:
INCBIN "baserom.gbc", $C08EA, $C098B - $C08EA
Unknown_0xC098B:
INCBIN "baserom.gbc", $C098B, $C098D - $C098B
LoggedData_0xC098D:
INCBIN "baserom.gbc", $C098D, $C09A5 - $C098D
Unknown_0xC09A5:
INCBIN "baserom.gbc", $C09A5, $C09A7 - $C09A5
LoggedData_0xC09A7:
INCBIN "baserom.gbc", $C09A7, $C09BD - $C09A7
Unknown_0xC09BD:
INCBIN "baserom.gbc", $C09BD, $C09D1 - $C09BD
LoggedData_0xC09D1:
INCBIN "baserom.gbc", $C09D1, $C0A4F - $C09D1
Unknown_0xC0A4F:
INCBIN "baserom.gbc", $C0A4F, $C0A51 - $C0A4F
LoggedData_0xC0A51:
INCBIN "baserom.gbc", $C0A51, $C0A69 - $C0A51
Unknown_0xC0A69:
INCBIN "baserom.gbc", $C0A69, $C0A6B - $C0A69
LoggedData_0xC0A6B:
INCBIN "baserom.gbc", $C0A6B, $C0A81 - $C0A6B
Unknown_0xC0A81:
INCBIN "baserom.gbc", $C0A81, $C0A95 - $C0A81
LoggedData_0xC0A95:
INCBIN "baserom.gbc", $C0A95, $C0AE5 - $C0A95
Unknown_0xC0AE5:
INCBIN "baserom.gbc", $C0AE5, $C0AF7 - $C0AE5
LoggedData_0xC0AF7:
INCBIN "baserom.gbc", $C0AF7, $C0B09 - $C0AF7
Unknown_0xC0B09:
INCBIN "baserom.gbc", $C0B09, $C0B1B - $C0B09
LoggedData_0xC0B1B:
INCBIN "baserom.gbc", $C0B1B, $C0B5B - $C0B1B
Unknown_0xC0B5B:
INCBIN "baserom.gbc", $C0B5B, $C0B5D - $C0B5B
LoggedData_0xC0B5D:
INCBIN "baserom.gbc", $C0B5D, $C0B85 - $C0B5D
Unknown_0xC0B85:
INCBIN "baserom.gbc", $C0B85, $C0B87 - $C0B85
LoggedData_0xC0B87:
INCBIN "baserom.gbc", $C0B87, $C0BAF - $C0B87
Unknown_0xC0BAF:
INCBIN "baserom.gbc", $C0BAF, $C0BB1 - $C0BAF
LoggedData_0xC0BB1:
INCBIN "baserom.gbc", $C0BB1, $C0BF3 - $C0BB1
Unknown_0xC0BF3:
INCBIN "baserom.gbc", $C0BF3, $C0BF5 - $C0BF3
LoggedData_0xC0BF5:
INCBIN "baserom.gbc", $C0BF5, $C0C3F - $C0BF5
Unknown_0xC0C3F:
INCBIN "baserom.gbc", $C0C3F, $C0C51 - $C0C3F
LoggedData_0xC0C51:
INCBIN "baserom.gbc", $C0C51, $C0C69 - $C0C51
Unknown_0xC0C69:
INCBIN "baserom.gbc", $C0C69, $C0C81 - $C0C69
LoggedData_0xC0C81:
INCBIN "baserom.gbc", $C0C81, $C0D05 - $C0C81
Unknown_0xC0D05:
INCBIN "baserom.gbc", $C0D05, $C0D07 - $C0D05
LoggedData_0xC0D07:
INCBIN "baserom.gbc", $C0D07, $C0D0F - $C0D07
Unknown_0xC0D0F:
INCBIN "baserom.gbc", $C0D0F, $C0D1F - $C0D0F
LoggedData_0xC0D1F:
INCBIN "baserom.gbc", $C0D1F, $C0D21 - $C0D1F
Unknown_0xC0D21:
INCBIN "baserom.gbc", $C0D21, $C0D29 - $C0D21
LoggedData_0xC0D29:
INCBIN "baserom.gbc", $C0D29, $C0D2B - $C0D29
Unknown_0xC0D2B:
INCBIN "baserom.gbc", $C0D2B, $C0D43 - $C0D2B
LoggedData_0xC0D43:
INCBIN "baserom.gbc", $C0D43, $C0D47 - $C0D43
Unknown_0xC0D47:
INCBIN "baserom.gbc", $C0D47, $C0D49 - $C0D47
LoggedData_0xC0D49:
INCBIN "baserom.gbc", $C0D49, $C0D4B - $C0D49
Unknown_0xC0D4B:
INCBIN "baserom.gbc", $C0D4B, $C0D4D - $C0D4B
LoggedData_0xC0D4D:
INCBIN "baserom.gbc", $C0D4D, $C0D4F - $C0D4D
Unknown_0xC0D4F:
INCBIN "baserom.gbc", $C0D4F, $C0D5B - $C0D4F
LoggedData_0xC0D5B:
INCBIN "baserom.gbc", $C0D5B, $C0D63 - $C0D5B
Unknown_0xC0D63:
INCBIN "baserom.gbc", $C0D63, $C0D7B - $C0D63
LoggedData_0xC0D7B:
INCBIN "baserom.gbc", $C0D7B, $C0D83 - $C0D7B
Unknown_0xC0D83:
INCBIN "baserom.gbc", $C0D83, $C0DCB - $C0D83
LoggedData_0xC0DCB:
INCBIN "baserom.gbc", $C0DCB, $C0DEB - $C0DCB
Unknown_0xC0DEB:
INCBIN "baserom.gbc", $C0DEB, $C0EE7 - $C0DEB
LoggedData_0xC0EE7:
INCBIN "baserom.gbc", $C0EE7, $C0EE9 - $C0EE7
Unknown_0xC0EE9:
INCBIN "baserom.gbc", $C0EE9, $C0EEB - $C0EE9
LoggedData_0xC0EEB:
INCBIN "baserom.gbc", $C0EEB, $C0EED - $C0EEB
Unknown_0xC0EED:
INCBIN "baserom.gbc", $C0EED, $C0EEF - $C0EED
LoggedData_0xC0EEF:
INCBIN "baserom.gbc", $C0EEF, $C0EF1 - $C0EEF
Unknown_0xC0EF1:
INCBIN "baserom.gbc", $C0EF1, $C0EF3 - $C0EF1
LoggedData_0xC0EF3:
INCBIN "baserom.gbc", $C0EF3, $C0EF5 - $C0EF3
Unknown_0xC0EF5:
INCBIN "baserom.gbc", $C0EF5, $C0EFD - $C0EF5
LoggedData_0xC0EFD:
INCBIN "baserom.gbc", $C0EFD, $C0F01 - $C0EFD
Unknown_0xC0F01:
INCBIN "baserom.gbc", $C0F01, $C0F0D - $C0F01
LoggedData_0xC0F0D:
INCBIN "baserom.gbc", $C0F0D, $C0F0F - $C0F0D
Unknown_0xC0F0F:
INCBIN "baserom.gbc", $C0F0F, $C0F11 - $C0F0F
LoggedData_0xC0F11:
INCBIN "baserom.gbc", $C0F11, $C0F13 - $C0F11
Unknown_0xC0F13:
INCBIN "baserom.gbc", $C0F13, $C0F1B - $C0F13
LoggedData_0xC0F1B:
INCBIN "baserom.gbc", $C0F1B, $C0F1D - $C0F1B
Unknown_0xC0F1D:
INCBIN "baserom.gbc", $C0F1D, $C0F23 - $C0F1D
LoggedData_0xC0F23:
INCBIN "baserom.gbc", $C0F23, $C0F33 - $C0F23
Unknown_0xC0F33:
INCBIN "baserom.gbc", $C0F33, $C0F3B - $C0F33
LoggedData_0xC0F3B:
INCBIN "baserom.gbc", $C0F3B, $C0F43 - $C0F3B
Unknown_0xC0F43:
INCBIN "baserom.gbc", $C0F43, $C0F4B - $C0F43
LoggedData_0xC0F4B:
INCBIN "baserom.gbc", $C0F4B, $C0F53 - $C0F4B
Unknown_0xC0F53:
INCBIN "baserom.gbc", $C0F53, $C0F5B - $C0F53
LoggedData_0xC0F5B:
INCBIN "baserom.gbc", $C0F5B, $C0F6B - $C0F5B
Unknown_0xC0F6B:
INCBIN "baserom.gbc", $C0F6B, $C0F9B - $C0F6B
LoggedData_0xC0F9B:
INCBIN "baserom.gbc", $C0F9B, $C0FAB - $C0F9B
Unknown_0xC0FAB:
INCBIN "baserom.gbc", $C0FAB, $C0FB3 - $C0FAB
LoggedData_0xC0FB3:
INCBIN "baserom.gbc", $C0FB3, $C0FBB - $C0FB3
Unknown_0xC0FBB:
INCBIN "baserom.gbc", $C0FBB, $C0FCB - $C0FBB
LoggedData_0xC0FCB:
INCBIN "baserom.gbc", $C0FCB, $C0FCD - $C0FCB
Unknown_0xC0FCD:
INCBIN "baserom.gbc", $C0FCD, $C0FE7 - $C0FCD
LoggedData_0xC0FE7:
INCBIN "baserom.gbc", $C0FE7, $C0FE9 - $C0FE7
Unknown_0xC0FE9:
INCBIN "baserom.gbc", $C0FE9, $C0FF5 - $C0FE9
LoggedData_0xC0FF5:
INCBIN "baserom.gbc", $C0FF5, $C0FF7 - $C0FF5
Unknown_0xC0FF7:
INCBIN "baserom.gbc", $C0FF7, $C1001 - $C0FF7
LoggedData_0xC1001:
INCBIN "baserom.gbc", $C1001, $C1003 - $C1001
Unknown_0xC1003:
INCBIN "baserom.gbc", $C1003, $C1007 - $C1003
LoggedData_0xC1007:
INCBIN "baserom.gbc", $C1007, $C100F - $C1007
Unknown_0xC100F:
INCBIN "baserom.gbc", $C100F, $C1057 - $C100F
LoggedData_0xC1057:
INCBIN "baserom.gbc", $C1057, $C105F - $C1057
Unknown_0xC105F:
INCBIN "baserom.gbc", $C105F, $C1087 - $C105F
LoggedData_0xC1087:
INCBIN "baserom.gbc", $C1087, $C108F - $C1087
Unknown_0xC108F:
INCBIN "baserom.gbc", $C108F, $C109F - $C108F
LoggedData_0xC109F:
INCBIN "baserom.gbc", $C109F, $C10A7 - $C109F
Unknown_0xC10A7:
INCBIN "baserom.gbc", $C10A7, $C10AF - $C10A7
LoggedData_0xC10AF:
INCBIN "baserom.gbc", $C10AF, $C10B1 - $C10AF
Unknown_0xC10B1:
INCBIN "baserom.gbc", $C10B1, $C10B5 - $C10B1
LoggedData_0xC10B5:
INCBIN "baserom.gbc", $C10B5, $C10B7 - $C10B5
Unknown_0xC10B7:
INCBIN "baserom.gbc", $C10B7, $C10D3 - $C10B7
LoggedData_0xC10D3:
INCBIN "baserom.gbc", $C10D3, $C10D7 - $C10D3
Unknown_0xC10D7:
INCBIN "baserom.gbc", $C10D7, $C10D9 - $C10D7
LoggedData_0xC10D9:
INCBIN "baserom.gbc", $C10D9, $C10DB - $C10D9
Unknown_0xC10DB:
INCBIN "baserom.gbc", $C10DB, $C10DD - $C10DB
LoggedData_0xC10DD:
INCBIN "baserom.gbc", $C10DD, $C10DF - $C10DD
Unknown_0xC10DF:
INCBIN "baserom.gbc", $C10DF, $C10EB - $C10DF
LoggedData_0xC10EB:
INCBIN "baserom.gbc", $C10EB, $C10F3 - $C10EB
Unknown_0xC10F3:
INCBIN "baserom.gbc", $C10F3, $C10FB - $C10F3
LoggedData_0xC10FB:
INCBIN "baserom.gbc", $C10FB, $C1103 - $C10FB
Unknown_0xC1103:
INCBIN "baserom.gbc", $C1103, $C115B - $C1103
LoggedData_0xC115B:
INCBIN "baserom.gbc", $C115B, $C117B - $C115B
Unknown_0xC117B:
INCBIN "baserom.gbc", $C117B, $C1193 - $C117B
LoggedData_0xC1193:
INCBIN "baserom.gbc", $C1193, $C1195 - $C1193
Unknown_0xC1195:
INCBIN "baserom.gbc", $C1195, $C1197 - $C1195
LoggedData_0xC1197:
INCBIN "baserom.gbc", $C1197, $C119F - $C1197
Unknown_0xC119F:
INCBIN "baserom.gbc", $C119F, $C11A7 - $C119F
LoggedData_0xC11A7:
INCBIN "baserom.gbc", $C11A7, $C11A9 - $C11A7
Unknown_0xC11A9:
INCBIN "baserom.gbc", $C11A9, $C11AB - $C11A9
LoggedData_0xC11AB:
INCBIN "baserom.gbc", $C11AB, $C11AD - $C11AB
Unknown_0xC11AD:
INCBIN "baserom.gbc", $C11AD, $C11B1 - $C11AD
LoggedData_0xC11B1:
INCBIN "baserom.gbc", $C11B1, $C11B3 - $C11B1
Unknown_0xC11B3:
INCBIN "baserom.gbc", $C11B3, $C11B9 - $C11B3
LoggedData_0xC11B9:
INCBIN "baserom.gbc", $C11B9, $C11BB - $C11B9
Unknown_0xC11BB:
INCBIN "baserom.gbc", $C11BB, $C11BD - $C11BB
LoggedData_0xC11BD:
INCBIN "baserom.gbc", $C11BD, $C11BF - $C11BD
Unknown_0xC11BF:
INCBIN "baserom.gbc", $C11BF, $C11C7 - $C11BF
LoggedData_0xC11C7:
INCBIN "baserom.gbc", $C11C7, $C11CB - $C11C7
Unknown_0xC11CB:
INCBIN "baserom.gbc", $C11CB, $C11CF - $C11CB
LoggedData_0xC11CF:
INCBIN "baserom.gbc", $C11CF, $C11F7 - $C11CF
Unknown_0xC11F7:
INCBIN "baserom.gbc", $C11F7, $C11FF - $C11F7
LoggedData_0xC11FF:
INCBIN "baserom.gbc", $C11FF, $C1207 - $C11FF
Unknown_0xC1207:
INCBIN "baserom.gbc", $C1207, $C120F - $C1207
LoggedData_0xC120F:
INCBIN "baserom.gbc", $C120F, $C1217 - $C120F
Unknown_0xC1217:
INCBIN "baserom.gbc", $C1217, $C1227 - $C1217
LoggedData_0xC1227:
INCBIN "baserom.gbc", $C1227, $C122F - $C1227
Unknown_0xC122F:
INCBIN "baserom.gbc", $C122F, $C1247 - $C122F
LoggedData_0xC1247:
INCBIN "baserom.gbc", $C1247, $C1257 - $C1247
Unknown_0xC1257:
INCBIN "baserom.gbc", $C1257, $C125F - $C1257
LoggedData_0xC125F:
INCBIN "baserom.gbc", $C125F, $C126F - $C125F
Unknown_0xC126F:
INCBIN "baserom.gbc", $C126F, $C1277 - $C126F
LoggedData_0xC1277:
INCBIN "baserom.gbc", $C1277, $C1279 - $C1277
Unknown_0xC1279:
INCBIN "baserom.gbc", $C1279, $C127D - $C1279
LoggedData_0xC127D:
INCBIN "baserom.gbc", $C127D, $C127F - $C127D
Unknown_0xC127F:
INCBIN "baserom.gbc", $C127F, $C12B3 - $C127F
LoggedData_0xC12B3:
INCBIN "baserom.gbc", $C12B3, $C12BB - $C12B3
Unknown_0xC12BB:
INCBIN "baserom.gbc", $C12BB, $C12CB - $C12BB
LoggedData_0xC12CB:
INCBIN "baserom.gbc", $C12CB, $C12D3 - $C12CB
Unknown_0xC12D3:
INCBIN "baserom.gbc", $C12D3, $C135B - $C12D3
LoggedData_0xC135B:
INCBIN "baserom.gbc", $C135B, $C135F - $C135B
Unknown_0xC135F:
INCBIN "baserom.gbc", $C135F, $C1373 - $C135F
LoggedData_0xC1373:
INCBIN "baserom.gbc", $C1373, $C1375 - $C1373
Unknown_0xC1375:
INCBIN "baserom.gbc", $C1375, $C1377 - $C1375
LoggedData_0xC1377:
INCBIN "baserom.gbc", $C1377, $C137F - $C1377
Unknown_0xC137F:
INCBIN "baserom.gbc", $C137F, $C1397 - $C137F
LoggedData_0xC1397:
INCBIN "baserom.gbc", $C1397, $C13A7 - $C1397
Unknown_0xC13A7:
INCBIN "baserom.gbc", $C13A7, $C13E7 - $C13A7
LoggedData_0xC13E7:
INCBIN "baserom.gbc", $C13E7, $C13EF - $C13E7
Unknown_0xC13EF:
INCBIN "baserom.gbc", $C13EF, $C13F7 - $C13EF
LoggedData_0xC13F7:
INCBIN "baserom.gbc", $C13F7, $C1417 - $C13F7
Unknown_0xC1417:
INCBIN "baserom.gbc", $C1417, $C1523 - $C1417
LoggedData_0xC1523:
INCBIN "baserom.gbc", $C1523, $C1529 - $C1523
Unknown_0xC1529:
INCBIN "baserom.gbc", $C1529, $C152B - $C1529
LoggedData_0xC152B:
INCBIN "baserom.gbc", $C152B, $C152F - $C152B
Unknown_0xC152F:
INCBIN "baserom.gbc", $C152F, $C1533 - $C152F
LoggedData_0xC1533:
INCBIN "baserom.gbc", $C1533, $C1537 - $C1533
Unknown_0xC1537:
INCBIN "baserom.gbc", $C1537, $C153F - $C1537
LoggedData_0xC153F:
INCBIN "baserom.gbc", $C153F, $C1541 - $C153F
Unknown_0xC1541:
INCBIN "baserom.gbc", $C1541, $C1543 - $C1541
LoggedData_0xC1543:
INCBIN "baserom.gbc", $C1543, $C1545 - $C1543
Unknown_0xC1545:
INCBIN "baserom.gbc", $C1545, $C1559 - $C1545
LoggedData_0xC1559:
INCBIN "baserom.gbc", $C1559, $C155D - $C1559
Unknown_0xC155D:
INCBIN "baserom.gbc", $C155D, $C155F - $C155D
LoggedData_0xC155F:
INCBIN "baserom.gbc", $C155F, $C1577 - $C155F
Unknown_0xC1577:
INCBIN "baserom.gbc", $C1577, $C157F - $C1577
LoggedData_0xC157F:
INCBIN "baserom.gbc", $C157F, $C158F - $C157F
Unknown_0xC158F:
INCBIN "baserom.gbc", $C158F, $C1597 - $C158F
LoggedData_0xC1597:
INCBIN "baserom.gbc", $C1597, $C15A7 - $C1597
Unknown_0xC15A7:
INCBIN "baserom.gbc", $C15A7, $C15BF - $C15A7
LoggedData_0xC15BF:
INCBIN "baserom.gbc", $C15BF, $C15C7 - $C15BF
Unknown_0xC15C7:
INCBIN "baserom.gbc", $C15C7, $C15CF - $C15C7
LoggedData_0xC15CF:
INCBIN "baserom.gbc", $C15CF, $C15D7 - $C15CF
Unknown_0xC15D7:
INCBIN "baserom.gbc", $C15D7, $C15F7 - $C15D7
LoggedData_0xC15F7:
INCBIN "baserom.gbc", $C15F7, $C1609 - $C15F7
Unknown_0xC1609:
INCBIN "baserom.gbc", $C1609, $C160D - $C1609
LoggedData_0xC160D:
INCBIN "baserom.gbc", $C160D, $C160F - $C160D
Unknown_0xC160F:
INCBIN "baserom.gbc", $C160F, $C1615 - $C160F
LoggedData_0xC1615:
INCBIN "baserom.gbc", $C1615, $C1617 - $C1615
Unknown_0xC1617:
INCBIN "baserom.gbc", $C1617, $C1619 - $C1617
LoggedData_0xC1619:
INCBIN "baserom.gbc", $C1619, $C161B - $C1619
Unknown_0xC161B:
INCBIN "baserom.gbc", $C161B, $C161D - $C161B
LoggedData_0xC161D:
INCBIN "baserom.gbc", $C161D, $C161F - $C161D
Unknown_0xC161F:
INCBIN "baserom.gbc", $C161F, $C162F - $C161F
LoggedData_0xC162F:
INCBIN "baserom.gbc", $C162F, $C1631 - $C162F
Unknown_0xC1631:
INCBIN "baserom.gbc", $C1631, $C1633 - $C1631
LoggedData_0xC1633:
INCBIN "baserom.gbc", $C1633, $C1637 - $C1633
Unknown_0xC1637:
INCBIN "baserom.gbc", $C1637, $C1643 - $C1637
LoggedData_0xC1643:
INCBIN "baserom.gbc", $C1643, $C1663 - $C1643
Unknown_0xC1663:
INCBIN "baserom.gbc", $C1663, $C166B - $C1663
LoggedData_0xC166B:
INCBIN "baserom.gbc", $C166B, $C1673 - $C166B
Unknown_0xC1673:
INCBIN "baserom.gbc", $C1673, $C168B - $C1673
LoggedData_0xC168B:
INCBIN "baserom.gbc", $C168B, $C16A3 - $C168B
Unknown_0xC16A3:
INCBIN "baserom.gbc", $C16A3, $C177F - $C16A3
LoggedData_0xC177F:
INCBIN "baserom.gbc", $C177F, $C1781 - $C177F
Unknown_0xC1781:
INCBIN "baserom.gbc", $C1781, $C17BB - $C1781
LoggedData_0xC17BB:
INCBIN "baserom.gbc", $C17BB, $C17C3 - $C17BB
Unknown_0xC17C3:
INCBIN "baserom.gbc", $C17C3, $C183B - $C17C3
LoggedData_0xC183B:
INCBIN "baserom.gbc", $C183B, $C183D - $C183B
Unknown_0xC183D:
INCBIN "baserom.gbc", $C183D, $C1859 - $C183D
LoggedData_0xC1859:
INCBIN "baserom.gbc", $C1859, $C185B - $C1859
Unknown_0xC185B:
INCBIN "baserom.gbc", $C185B, $C1871 - $C185B
LoggedData_0xC1871:
INCBIN "baserom.gbc", $C1871, $C1873 - $C1871
Unknown_0xC1873:
INCBIN "baserom.gbc", $C1873, $C1875 - $C1873
LoggedData_0xC1875:
INCBIN "baserom.gbc", $C1875, $C187F - $C1875
Unknown_0xC187F:
INCBIN "baserom.gbc", $C187F, $C18AF - $C187F
LoggedData_0xC18AF:
INCBIN "baserom.gbc", $C18AF, $C18B7 - $C18AF
Unknown_0xC18B7:
INCBIN "baserom.gbc", $C18B7, $C18E7 - $C18B7
LoggedData_0xC18E7:
INCBIN "baserom.gbc", $C18E7, $C18F9 - $C18E7
Unknown_0xC18F9:
INCBIN "baserom.gbc", $C18F9, $C18FD - $C18F9
LoggedData_0xC18FD:
INCBIN "baserom.gbc", $C18FD, $C18FF - $C18FD
Unknown_0xC18FF:
INCBIN "baserom.gbc", $C18FF, $C1907 - $C18FF
LoggedData_0xC1907:
INCBIN "baserom.gbc", $C1907, $C190B - $C1907
Unknown_0xC190B:
INCBIN "baserom.gbc", $C190B, $C1913 - $C190B
LoggedData_0xC1913:
INCBIN "baserom.gbc", $C1913, $C1915 - $C1913
Unknown_0xC1915:
INCBIN "baserom.gbc", $C1915, $C1917 - $C1915
LoggedData_0xC1917:
INCBIN "baserom.gbc", $C1917, $C1919 - $C1917
Unknown_0xC1919:
INCBIN "baserom.gbc", $C1919, $C191F - $C1919
LoggedData_0xC191F:
INCBIN "baserom.gbc", $C191F, $C1921 - $C191F
Unknown_0xC1921:
INCBIN "baserom.gbc", $C1921, $C1933 - $C1921
LoggedData_0xC1933:
INCBIN "baserom.gbc", $C1933, $C193B - $C1933
Unknown_0xC193B:
INCBIN "baserom.gbc", $C193B, $C1943 - $C193B
LoggedData_0xC1943:
INCBIN "baserom.gbc", $C1943, $C194B - $C1943
Unknown_0xC194B:
INCBIN "baserom.gbc", $C194B, $C1963 - $C194B
LoggedData_0xC1963:
INCBIN "baserom.gbc", $C1963, $C1973 - $C1963
Unknown_0xC1973:
INCBIN "baserom.gbc", $C1973, $C197B - $C1973
LoggedData_0xC197B:
INCBIN "baserom.gbc", $C197B, $C1983 - $C197B
Unknown_0xC1983:
INCBIN "baserom.gbc", $C1983, $C198B - $C1983
LoggedData_0xC198B:
INCBIN "baserom.gbc", $C198B, $C1993 - $C198B
Unknown_0xC1993:
INCBIN "baserom.gbc", $C1993, $C19A3 - $C1993
LoggedData_0xC19A3:
INCBIN "baserom.gbc", $C19A3, $C19AB - $C19A3
Unknown_0xC19AB:
INCBIN "baserom.gbc", $C19AB, $C19D3 - $C19AB
LoggedData_0xC19D3:
INCBIN "baserom.gbc", $C19D3, $C19D7 - $C19D3
Unknown_0xC19D7:
INCBIN "baserom.gbc", $C19D7, $C19F7 - $C19D7
LoggedData_0xC19F7:
INCBIN "baserom.gbc", $C19F7, $C19F9 - $C19F7
Unknown_0xC19F9:
INCBIN "baserom.gbc", $C19F9, $C1A01 - $C19F9
LoggedData_0xC1A01:
INCBIN "baserom.gbc", $C1A01, $C1A03 - $C1A01
Unknown_0xC1A03:
INCBIN "baserom.gbc", $C1A03, $C1A0F - $C1A03
LoggedData_0xC1A0F:
INCBIN "baserom.gbc", $C1A0F, $C1A1F - $C1A0F
Unknown_0xC1A1F:
INCBIN "baserom.gbc", $C1A1F, $C1A6F - $C1A1F
LoggedData_0xC1A6F:
INCBIN "baserom.gbc", $C1A6F, $C1A77 - $C1A6F
Unknown_0xC1A77:
INCBIN "baserom.gbc", $C1A77, $C1A97 - $C1A77
LoggedData_0xC1A97:
INCBIN "baserom.gbc", $C1A97, $C1A9F - $C1A97
Unknown_0xC1A9F:
INCBIN "baserom.gbc", $C1A9F, $C1B8B - $C1A9F
LoggedData_0xC1B8B:
INCBIN "baserom.gbc", $C1B8B, $C1B8D - $C1B8B
Unknown_0xC1B8D:
INCBIN "baserom.gbc", $C1B8D, $C1B91 - $C1B8D
LoggedData_0xC1B91:
INCBIN "baserom.gbc", $C1B91, $C1B95 - $C1B91
Unknown_0xC1B95:
INCBIN "baserom.gbc", $C1B95, $C1B99 - $C1B95
LoggedData_0xC1B99:
INCBIN "baserom.gbc", $C1B99, $C1B9B - $C1B99
Unknown_0xC1B9B:
INCBIN "baserom.gbc", $C1B9B, $C1BB3 - $C1B9B
LoggedData_0xC1BB3:
INCBIN "baserom.gbc", $C1BB3, $C1BB9 - $C1BB3
Unknown_0xC1BB9:
INCBIN "baserom.gbc", $C1BB9, $C1BC7 - $C1BB9
LoggedData_0xC1BC7:
INCBIN "baserom.gbc", $C1BC7, $C1BCF - $C1BC7
Unknown_0xC1BCF:
INCBIN "baserom.gbc", $C1BCF, $C1BD7 - $C1BCF
LoggedData_0xC1BD7:
INCBIN "baserom.gbc", $C1BD7, $C1BE7 - $C1BD7
Unknown_0xC1BE7:
INCBIN "baserom.gbc", $C1BE7, $C1BEF - $C1BE7
LoggedData_0xC1BEF:
INCBIN "baserom.gbc", $C1BEF, $C1BF7 - $C1BEF
Unknown_0xC1BF7:
INCBIN "baserom.gbc", $C1BF7, $C1C37 - $C1BF7
LoggedData_0xC1C37:
INCBIN "baserom.gbc", $C1C37, $C1C4F - $C1C37
Unknown_0xC1C4F:
INCBIN "baserom.gbc", $C1C4F, $C1C67 - $C1C4F
LoggedData_0xC1C67:
INCBIN "baserom.gbc", $C1C67, $C1C69 - $C1C67
Unknown_0xC1C69:
INCBIN "baserom.gbc", $C1C69, $C1C7B - $C1C69
LoggedData_0xC1C7B:
INCBIN "baserom.gbc", $C1C7B, $C1C7D - $C1C7B
Unknown_0xC1C7D:
INCBIN "baserom.gbc", $C1C7D, $C1C81 - $C1C7D
LoggedData_0xC1C81:
INCBIN "baserom.gbc", $C1C81, $C1C83 - $C1C81
Unknown_0xC1C83:
INCBIN "baserom.gbc", $C1C83, $C1CA1 - $C1C83
LoggedData_0xC1CA1:
INCBIN "baserom.gbc", $C1CA1, $C1CAB - $C1CA1
Unknown_0xC1CAB:
INCBIN "baserom.gbc", $C1CAB, $C1CC3 - $C1CAB
LoggedData_0xC1CC3:
INCBIN "baserom.gbc", $C1CC3, $C1CCB - $C1CC3
Unknown_0xC1CCB:
INCBIN "baserom.gbc", $C1CCB, $C1CD3 - $C1CCB
LoggedData_0xC1CD3:
INCBIN "baserom.gbc", $C1CD3, $C1CDB - $C1CD3
Unknown_0xC1CDB:
INCBIN "baserom.gbc", $C1CDB, $C1D23 - $C1CDB
LoggedData_0xC1D23:
INCBIN "baserom.gbc", $C1D23, $C1D2B - $C1D23
Unknown_0xC1D2B:
INCBIN "baserom.gbc", $C1D2B, $C1EB3 - $C1D2B
LoggedData_0xC1EB3:
INCBIN "baserom.gbc", $C1EB3, $C1EB5 - $C1EB3
Unknown_0xC1EB5:
INCBIN "baserom.gbc", $C1EB5, $C1EBB - $C1EB5
LoggedData_0xC1EBB:
INCBIN "baserom.gbc", $C1EBB, $C1EBD - $C1EBB
Unknown_0xC1EBD:
INCBIN "baserom.gbc", $C1EBD, $C1EC1 - $C1EBD
LoggedData_0xC1EC1:
INCBIN "baserom.gbc", $C1EC1, $C1EC3 - $C1EC1
Unknown_0xC1EC3:
INCBIN "baserom.gbc", $C1EC3, $C1ECB - $C1EC3
LoggedData_0xC1ECB:
INCBIN "baserom.gbc", $C1ECB, $C1ECD - $C1ECB
Unknown_0xC1ECD:
INCBIN "baserom.gbc", $C1ECD, $C1ECF - $C1ECD
LoggedData_0xC1ECF:
INCBIN "baserom.gbc", $C1ECF, $C1ED1 - $C1ECF
Unknown_0xC1ED1:
INCBIN "baserom.gbc", $C1ED1, $C1EDB - $C1ED1
LoggedData_0xC1EDB:
INCBIN "baserom.gbc", $C1EDB, $C1EDD - $C1EDB
Unknown_0xC1EDD:
INCBIN "baserom.gbc", $C1EDD, $C1EE9 - $C1EDD
LoggedData_0xC1EE9:
INCBIN "baserom.gbc", $C1EE9, $C1EEB - $C1EE9
Unknown_0xC1EEB:
INCBIN "baserom.gbc", $C1EEB, $C1EEF - $C1EEB
LoggedData_0xC1EEF:
INCBIN "baserom.gbc", $C1EEF, $C1F07 - $C1EEF
Unknown_0xC1F07:
INCBIN "baserom.gbc", $C1F07, $C1F17 - $C1F07
LoggedData_0xC1F17:
INCBIN "baserom.gbc", $C1F17, $C1F1F - $C1F17
Unknown_0xC1F1F:
INCBIN "baserom.gbc", $C1F1F, $C1F27 - $C1F1F
LoggedData_0xC1F27:
INCBIN "baserom.gbc", $C1F27, $C1F2F - $C1F27
Unknown_0xC1F2F:
INCBIN "baserom.gbc", $C1F2F, $C1F37 - $C1F2F
LoggedData_0xC1F37:
INCBIN "baserom.gbc", $C1F37, $C1F3F - $C1F37
Unknown_0xC1F3F:
INCBIN "baserom.gbc", $C1F3F, $C1F5F - $C1F3F
LoggedData_0xC1F5F:
INCBIN "baserom.gbc", $C1F5F, $C1F67 - $C1F5F
Unknown_0xC1F67:
INCBIN "baserom.gbc", $C1F67, $C1F77 - $C1F67
LoggedData_0xC1F77:
INCBIN "baserom.gbc", $C1F77, $C1F79 - $C1F77
Unknown_0xC1F79:
INCBIN "baserom.gbc", $C1F79, $C1F7F - $C1F79
LoggedData_0xC1F7F:
INCBIN "baserom.gbc", $C1F7F, $C1F81 - $C1F7F
Unknown_0xC1F81:
INCBIN "baserom.gbc", $C1F81, $C1F93 - $C1F81
LoggedData_0xC1F93:
INCBIN "baserom.gbc", $C1F93, $C1F95 - $C1F93
Unknown_0xC1F95:
INCBIN "baserom.gbc", $C1F95, $C1F9F - $C1F95
LoggedData_0xC1F9F:
INCBIN "baserom.gbc", $C1F9F, $C1FA3 - $C1F9F
Unknown_0xC1FA3:
INCBIN "baserom.gbc", $C1FA3, $C1FA5 - $C1FA3
LoggedData_0xC1FA5:
INCBIN "baserom.gbc", $C1FA5, $C1FA7 - $C1FA5
Unknown_0xC1FA7:
INCBIN "baserom.gbc", $C1FA7, $C1FA9 - $C1FA7
LoggedData_0xC1FA9:
INCBIN "baserom.gbc", $C1FA9, $C1FAF - $C1FA9
Unknown_0xC1FAF:
INCBIN "baserom.gbc", $C1FAF, $C1FB3 - $C1FAF
LoggedData_0xC1FB3:
INCBIN "baserom.gbc", $C1FB3, $C1FC3 - $C1FB3
Unknown_0xC1FC3:
INCBIN "baserom.gbc", $C1FC3, $C1FEB - $C1FC3
LoggedData_0xC1FEB:
INCBIN "baserom.gbc", $C1FEB, $C1FF3 - $C1FEB
Unknown_0xC1FF3:
INCBIN "baserom.gbc", $C1FF3, $C1FFB - $C1FF3
LoggedData_0xC1FFB:
INCBIN "baserom.gbc", $C1FFB, $C202B - $C1FFB
Unknown_0xC202B:
INCBIN "baserom.gbc", $C202B, $C203B - $C202B
LoggedData_0xC203B:
INCBIN "baserom.gbc", $C203B, $C203D - $C203B
Unknown_0xC203D:
INCBIN "baserom.gbc", $C203D, $C2053 - $C203D
LoggedData_0xC2053:
INCBIN "baserom.gbc", $C2053, $C2055 - $C2053
Unknown_0xC2055:
INCBIN "baserom.gbc", $C2055, $C205D - $C2055
LoggedData_0xC205D:
INCBIN "baserom.gbc", $C205D, $C205F - $C205D
Unknown_0xC205F:
INCBIN "baserom.gbc", $C205F, $C2077 - $C205F
LoggedData_0xC2077:
INCBIN "baserom.gbc", $C2077, $C207F - $C2077
Unknown_0xC207F:
INCBIN "baserom.gbc", $C207F, $C209F - $C207F
LoggedData_0xC209F:
INCBIN "baserom.gbc", $C209F, $C20A7 - $C209F
Unknown_0xC20A7:
INCBIN "baserom.gbc", $C20A7, $C20B7 - $C20A7
LoggedData_0xC20B7:
INCBIN "baserom.gbc", $C20B7, $C20BF - $C20B7
Unknown_0xC20BF:
INCBIN "baserom.gbc", $C20BF, $C21C3 - $C20BF
LoggedData_0xC21C3:
INCBIN "baserom.gbc", $C21C3, $C21C5 - $C21C3
Unknown_0xC21C5:
INCBIN "baserom.gbc", $C21C5, $C21C9 - $C21C5
LoggedData_0xC21C9:
INCBIN "baserom.gbc", $C21C9, $C21CB - $C21C9
Unknown_0xC21CB:
INCBIN "baserom.gbc", $C21CB, $C21EB - $C21CB
LoggedData_0xC21EB:
INCBIN "baserom.gbc", $C21EB, $C21F7 - $C21EB
Unknown_0xC21F7:
INCBIN "baserom.gbc", $C21F7, $C21F9 - $C21F7
LoggedData_0xC21F9:
INCBIN "baserom.gbc", $C21F9, $C21FB - $C21F9
Unknown_0xC21FB:
INCBIN "baserom.gbc", $C21FB, $C21FF - $C21FB
LoggedData_0xC21FF:
INCBIN "baserom.gbc", $C21FF, $C220F - $C21FF
Unknown_0xC220F:
INCBIN "baserom.gbc", $C220F, $C2237 - $C220F
LoggedData_0xC2237:
INCBIN "baserom.gbc", $C2237, $C2267 - $C2237
Unknown_0xC2267:
INCBIN "baserom.gbc", $C2267, $C226F - $C2267
LoggedData_0xC226F:
INCBIN "baserom.gbc", $C226F, $C2277 - $C226F
Unknown_0xC2277:
INCBIN "baserom.gbc", $C2277, $C2287 - $C2277
LoggedData_0xC2287:
INCBIN "baserom.gbc", $C2287, $C2289 - $C2287
Unknown_0xC2289:
INCBIN "baserom.gbc", $C2289, $C228D - $C2289
LoggedData_0xC228D:
INCBIN "baserom.gbc", $C228D, $C228F - $C228D
Unknown_0xC228F:
INCBIN "baserom.gbc", $C228F, $C22B1 - $C228F
LoggedData_0xC22B1:
INCBIN "baserom.gbc", $C22B1, $C22B3 - $C22B1
Unknown_0xC22B3:
INCBIN "baserom.gbc", $C22B3, $C22BB - $C22B3
LoggedData_0xC22BB:
INCBIN "baserom.gbc", $C22BB, $C22BD - $C22BB
Unknown_0xC22BD:
INCBIN "baserom.gbc", $C22BD, $C22C3 - $C22BD
LoggedData_0xC22C3:
INCBIN "baserom.gbc", $C22C3, $C22D3 - $C22C3
Unknown_0xC22D3:
INCBIN "baserom.gbc", $C22D3, $C2303 - $C22D3
LoggedData_0xC2303:
INCBIN "baserom.gbc", $C2303, $C230B - $C2303
Unknown_0xC230B:
INCBIN "baserom.gbc", $C230B, $C232B - $C230B
LoggedData_0xC232B:
INCBIN "baserom.gbc", $C232B, $C2333 - $C232B
Unknown_0xC2333:
INCBIN "baserom.gbc", $C2333, $C234B - $C2333
LoggedData_0xC234B:
INCBIN "baserom.gbc", $C234B, $C234D - $C234B
Unknown_0xC234D:
INCBIN "baserom.gbc", $C234D, $C2355 - $C234D
LoggedData_0xC2355:
INCBIN "baserom.gbc", $C2355, $C2357 - $C2355
Unknown_0xC2357:
INCBIN "baserom.gbc", $C2357, $C2365 - $C2357
LoggedData_0xC2365:
INCBIN "baserom.gbc", $C2365, $C2367 - $C2365
Unknown_0xC2367:
INCBIN "baserom.gbc", $C2367, $C2387 - $C2367
LoggedData_0xC2387:
INCBIN "baserom.gbc", $C2387, $C238F - $C2387
Unknown_0xC238F:
INCBIN "baserom.gbc", $C238F, $C2397 - $C238F
LoggedData_0xC2397:
INCBIN "baserom.gbc", $C2397, $C239F - $C2397
Unknown_0xC239F:
INCBIN "baserom.gbc", $C239F, $C23AF - $C239F
LoggedData_0xC23AF:
INCBIN "baserom.gbc", $C23AF, $C23B7 - $C23AF
Unknown_0xC23B7:
INCBIN "baserom.gbc", $C23B7, $C240F - $C23B7
LoggedData_0xC240F:
INCBIN "baserom.gbc", $C240F, $C2411 - $C240F
Unknown_0xC2411:
INCBIN "baserom.gbc", $C2411, $C2425 - $C2411
LoggedData_0xC2425:
INCBIN "baserom.gbc", $C2425, $C2427 - $C2425
Unknown_0xC2427:
INCBIN "baserom.gbc", $C2427, $C2449 - $C2427
LoggedData_0xC2449:
INCBIN "baserom.gbc", $C2449, $C2453 - $C2449
Unknown_0xC2453:
INCBIN "baserom.gbc", $C2453, $C246B - $C2453
LoggedData_0xC246B:
INCBIN "baserom.gbc", $C246B, $C2473 - $C246B
Unknown_0xC2473:
INCBIN "baserom.gbc", $C2473, $C24CB - $C2473
LoggedData_0xC24CB:
INCBIN "baserom.gbc", $C24CB, $C24D3 - $C24CB
Unknown_0xC24D3:
INCBIN "baserom.gbc", $C24D3, $C2597 - $C24D3
LoggedData_0xC2597:
INCBIN "baserom.gbc", $C2597, $C2599 - $C2597
Unknown_0xC2599:
INCBIN "baserom.gbc", $C2599, $C259F - $C2599
LoggedData_0xC259F:
INCBIN "baserom.gbc", $C259F, $C25A7 - $C259F
Unknown_0xC25A7:
INCBIN "baserom.gbc", $C25A7, $C25AB - $C25A7
LoggedData_0xC25AB:
INCBIN "baserom.gbc", $C25AB, $C25AF - $C25AB
Unknown_0xC25AF:
INCBIN "baserom.gbc", $C25AF, $C25B3 - $C25AF
LoggedData_0xC25B3:
INCBIN "baserom.gbc", $C25B3, $C25B5 - $C25B3
Unknown_0xC25B5:
INCBIN "baserom.gbc", $C25B5, $C25C1 - $C25B5
LoggedData_0xC25C1:
INCBIN "baserom.gbc", $C25C1, $C25C3 - $C25C1
Unknown_0xC25C3:
INCBIN "baserom.gbc", $C25C3, $C25CB - $C25C3
LoggedData_0xC25CB:
INCBIN "baserom.gbc", $C25CB, $C25D1 - $C25CB
Unknown_0xC25D1:
INCBIN "baserom.gbc", $C25D1, $C25D3 - $C25D1
LoggedData_0xC25D3:
INCBIN "baserom.gbc", $C25D3, $C25DB - $C25D3
Unknown_0xC25DB:
INCBIN "baserom.gbc", $C25DB, $C25E3 - $C25DB
LoggedData_0xC25E3:
INCBIN "baserom.gbc", $C25E3, $C2603 - $C25E3
Unknown_0xC2603:
INCBIN "baserom.gbc", $C2603, $C2613 - $C2603
LoggedData_0xC2613:
INCBIN "baserom.gbc", $C2613, $C262B - $C2613
Unknown_0xC262B:
INCBIN "baserom.gbc", $C262B, $C2643 - $C262B
LoggedData_0xC2643:
INCBIN "baserom.gbc", $C2643, $C264B - $C2643
Unknown_0xC264B:
INCBIN "baserom.gbc", $C264B, $C2663 - $C264B
LoggedData_0xC2663:
INCBIN "baserom.gbc", $C2663, $C267F - $C2663
Unknown_0xC267F:
INCBIN "baserom.gbc", $C267F, $C2683 - $C267F
LoggedData_0xC2683:
INCBIN "baserom.gbc", $C2683, $C2685 - $C2683
Unknown_0xC2685:
INCBIN "baserom.gbc", $C2685, $C2687 - $C2685
LoggedData_0xC2687:
INCBIN "baserom.gbc", $C2687, $C2689 - $C2687
Unknown_0xC2689:
INCBIN "baserom.gbc", $C2689, $C268F - $C2689
LoggedData_0xC268F:
INCBIN "baserom.gbc", $C268F, $C2693 - $C268F
Unknown_0xC2693:
INCBIN "baserom.gbc", $C2693, $C2697 - $C2693
LoggedData_0xC2697:
INCBIN "baserom.gbc", $C2697, $C269B - $C2697
Unknown_0xC269B:
INCBIN "baserom.gbc", $C269B, $C26A3 - $C269B
LoggedData_0xC26A3:
INCBIN "baserom.gbc", $C26A3, $C26A9 - $C26A3
Unknown_0xC26A9:
INCBIN "baserom.gbc", $C26A9, $C26AB - $C26A9
LoggedData_0xC26AB:
INCBIN "baserom.gbc", $C26AB, $C26B5 - $C26AB
Unknown_0xC26B5:
INCBIN "baserom.gbc", $C26B5, $C26B7 - $C26B5
LoggedData_0xC26B7:
INCBIN "baserom.gbc", $C26B7, $C26CF - $C26B7
Unknown_0xC26CF:
INCBIN "baserom.gbc", $C26CF, $C26D7 - $C26CF
LoggedData_0xC26D7:
INCBIN "baserom.gbc", $C26D7, $C26DF - $C26D7
Unknown_0xC26DF:
INCBIN "baserom.gbc", $C26DF, $C26F7 - $C26DF
LoggedData_0xC26F7:
INCBIN "baserom.gbc", $C26F7, $C2717 - $C26F7
Unknown_0xC2717:
INCBIN "baserom.gbc", $C2717, $C271F - $C2717
LoggedData_0xC271F:
INCBIN "baserom.gbc", $C271F, $C275F - $C271F
Unknown_0xC275F:
INCBIN "baserom.gbc", $C275F, $C283B - $C275F
LoggedData_0xC283B:
INCBIN "baserom.gbc", $C283B, $C283D - $C283B
Unknown_0xC283D:
INCBIN "baserom.gbc", $C283D, $C283F - $C283D
LoggedData_0xC283F:
INCBIN "baserom.gbc", $C283F, $C2845 - $C283F
Unknown_0xC2845:
INCBIN "baserom.gbc", $C2845, $C2849 - $C2845
LoggedData_0xC2849:
INCBIN "baserom.gbc", $C2849, $C284B - $C2849
Unknown_0xC284B:
INCBIN "baserom.gbc", $C284B, $C284F - $C284B
LoggedData_0xC284F:
INCBIN "baserom.gbc", $C284F, $C2851 - $C284F
Unknown_0xC2851:
INCBIN "baserom.gbc", $C2851, $C2867 - $C2851
LoggedData_0xC2867:
INCBIN "baserom.gbc", $C2867, $C2869 - $C2867
Unknown_0xC2869:
INCBIN "baserom.gbc", $C2869, $C2873 - $C2869
LoggedData_0xC2873:
INCBIN "baserom.gbc", $C2873, $C2875 - $C2873
Unknown_0xC2875:
INCBIN "baserom.gbc", $C2875, $C2877 - $C2875
LoggedData_0xC2877:
INCBIN "baserom.gbc", $C2877, $C2897 - $C2877
Unknown_0xC2897:
INCBIN "baserom.gbc", $C2897, $C289F - $C2897
LoggedData_0xC289F:
INCBIN "baserom.gbc", $C289F, $C28A7 - $C289F
Unknown_0xC28A7:
INCBIN "baserom.gbc", $C28A7, $C28AF - $C28A7
LoggedData_0xC28AF:
INCBIN "baserom.gbc", $C28AF, $C28B7 - $C28AF
Unknown_0xC28B7:
INCBIN "baserom.gbc", $C28B7, $C28F7 - $C28B7
LoggedData_0xC28F7:
INCBIN "baserom.gbc", $C28F7, $C28FF - $C28F7
Unknown_0xC28FF:
INCBIN "baserom.gbc", $C28FF, $C2907 - $C28FF
LoggedData_0xC2907:
INCBIN "baserom.gbc", $C2907, $C290F - $C2907
Unknown_0xC290F:
INCBIN "baserom.gbc", $C290F, $C2917 - $C290F
LoggedData_0xC2917:
INCBIN "baserom.gbc", $C2917, $C2919 - $C2917
Unknown_0xC2919:
INCBIN "baserom.gbc", $C2919, $C291D - $C2919
LoggedData_0xC291D:
INCBIN "baserom.gbc", $C291D, $C291F - $C291D
Unknown_0xC291F:
INCBIN "baserom.gbc", $C291F, $C2923 - $C291F
LoggedData_0xC2923:
INCBIN "baserom.gbc", $C2923, $C2927 - $C2923
Unknown_0xC2927:
INCBIN "baserom.gbc", $C2927, $C292B - $C2927
LoggedData_0xC292B:
INCBIN "baserom.gbc", $C292B, $C292F - $C292B
Unknown_0xC292F:
INCBIN "baserom.gbc", $C292F, $C2935 - $C292F
LoggedData_0xC2935:
INCBIN "baserom.gbc", $C2935, $C2939 - $C2935
Unknown_0xC2939:
INCBIN "baserom.gbc", $C2939, $C2943 - $C2939
LoggedData_0xC2943:
INCBIN "baserom.gbc", $C2943, $C2945 - $C2943
Unknown_0xC2945:
INCBIN "baserom.gbc", $C2945, $C294B - $C2945
LoggedData_0xC294B:
INCBIN "baserom.gbc", $C294B, $C294D - $C294B
Unknown_0xC294D:
INCBIN "baserom.gbc", $C294D, $C2953 - $C294D
LoggedData_0xC2953:
INCBIN "baserom.gbc", $C2953, $C295B - $C2953
Unknown_0xC295B:
INCBIN "baserom.gbc", $C295B, $C2963 - $C295B
LoggedData_0xC2963:
INCBIN "baserom.gbc", $C2963, $C296B - $C2963
Unknown_0xC296B:
INCBIN "baserom.gbc", $C296B, $C2973 - $C296B
LoggedData_0xC2973:
INCBIN "baserom.gbc", $C2973, $C2983 - $C2973
Unknown_0xC2983:
INCBIN "baserom.gbc", $C2983, $C298B - $C2983
LoggedData_0xC298B:
INCBIN "baserom.gbc", $C298B, $C29AB - $C298B
Unknown_0xC29AB:
INCBIN "baserom.gbc", $C29AB, $C29D3 - $C29AB
LoggedData_0xC29D3:
INCBIN "baserom.gbc", $C29D3, $C29E3 - $C29D3
Unknown_0xC29E3:
INCBIN "baserom.gbc", $C29E3, $C29F3 - $C29E3
LoggedData_0xC29F3:
INCBIN "baserom.gbc", $C29F3, $C29F5 - $C29F3
Unknown_0xC29F5:
INCBIN "baserom.gbc", $C29F5, $C2A05 - $C29F5
LoggedData_0xC2A05:
INCBIN "baserom.gbc", $C2A05, $C2A07 - $C2A05
Unknown_0xC2A07:
INCBIN "baserom.gbc", $C2A07, $C2A15 - $C2A07
LoggedData_0xC2A15:
INCBIN "baserom.gbc", $C2A15, $C2A19 - $C2A15
Unknown_0xC2A19:
INCBIN "baserom.gbc", $C2A19, $C2A1B - $C2A19
LoggedData_0xC2A1B:
INCBIN "baserom.gbc", $C2A1B, $C2A21 - $C2A1B
Unknown_0xC2A21:
INCBIN "baserom.gbc", $C2A21, $C2A2F - $C2A21
LoggedData_0xC2A2F:
INCBIN "baserom.gbc", $C2A2F, $C2A37 - $C2A2F
Unknown_0xC2A37:
INCBIN "baserom.gbc", $C2A37, $C2A5F - $C2A37
LoggedData_0xC2A5F:
INCBIN "baserom.gbc", $C2A5F, $C2A67 - $C2A5F
Unknown_0xC2A67:
INCBIN "baserom.gbc", $C2A67, $C2A87 - $C2A67
LoggedData_0xC2A87:
INCBIN "baserom.gbc", $C2A87, $C2A97 - $C2A87
Unknown_0xC2A97:
INCBIN "baserom.gbc", $C2A97, $C2A9F - $C2A97
LoggedData_0xC2A9F:
INCBIN "baserom.gbc", $C2A9F, $C2AB7 - $C2A9F
Unknown_0xC2AB7:
INCBIN "baserom.gbc", $C2AB7, $C2ACF - $C2AB7
LoggedData_0xC2ACF:
INCBIN "baserom.gbc", $C2ACF, $C2AD1 - $C2ACF
Unknown_0xC2AD1:
INCBIN "baserom.gbc", $C2AD1, $C2AD9 - $C2AD1
LoggedData_0xC2AD9:
INCBIN "baserom.gbc", $C2AD9, $C2ADB - $C2AD9
Unknown_0xC2ADB:
INCBIN "baserom.gbc", $C2ADB, $C2AE3 - $C2ADB
LoggedData_0xC2AE3:
INCBIN "baserom.gbc", $C2AE3, $C2AE7 - $C2AE3
Unknown_0xC2AE7:
INCBIN "baserom.gbc", $C2AE7, $C2B01 - $C2AE7
LoggedData_0xC2B01:
INCBIN "baserom.gbc", $C2B01, $C2B03 - $C2B01
Unknown_0xC2B03:
INCBIN "baserom.gbc", $C2B03, $C2B0B - $C2B03
LoggedData_0xC2B0B:
INCBIN "baserom.gbc", $C2B0B, $C2B13 - $C2B0B
Unknown_0xC2B13:
INCBIN "baserom.gbc", $C2B13, $C2B1B - $C2B13
LoggedData_0xC2B1B:
INCBIN "baserom.gbc", $C2B1B, $C2B23 - $C2B1B
Unknown_0xC2B23:
INCBIN "baserom.gbc", $C2B23, $C2B3B - $C2B23
LoggedData_0xC2B3B:
INCBIN "baserom.gbc", $C2B3B, $C2B4B - $C2B3B
Unknown_0xC2B4B:
INCBIN "baserom.gbc", $C2B4B, $C2B7B - $C2B4B
LoggedData_0xC2B7B:
INCBIN "baserom.gbc", $C2B7B, $C2B83 - $C2B7B
Unknown_0xC2B83:
INCBIN "baserom.gbc", $C2B83, $C2C47 - $C2B83
LoggedData_0xC2C47:
INCBIN "baserom.gbc", $C2C47, $C2C4B - $C2C47
Unknown_0xC2C4B:
INCBIN "baserom.gbc", $C2C4B, $C2C53 - $C2C4B
LoggedData_0xC2C53:
INCBIN "baserom.gbc", $C2C53, $C2C55 - $C2C53
Unknown_0xC2C55:
INCBIN "baserom.gbc", $C2C55, $C2C5D - $C2C55
LoggedData_0xC2C5D:
INCBIN "baserom.gbc", $C2C5D, $C2C5F - $C2C5D
Unknown_0xC2C5F:
INCBIN "baserom.gbc", $C2C5F, $C2C61 - $C2C5F
LoggedData_0xC2C61:
INCBIN "baserom.gbc", $C2C61, $C2C63 - $C2C61
Unknown_0xC2C63:
INCBIN "baserom.gbc", $C2C63, $C2C67 - $C2C63
LoggedData_0xC2C67:
INCBIN "baserom.gbc", $C2C67, $C2C69 - $C2C67
Unknown_0xC2C69:
INCBIN "baserom.gbc", $C2C69, $C2C6D - $C2C69
LoggedData_0xC2C6D:
INCBIN "baserom.gbc", $C2C6D, $C2C6F - $C2C6D
Unknown_0xC2C6F:
INCBIN "baserom.gbc", $C2C6F, $C2C71 - $C2C6F
LoggedData_0xC2C71:
INCBIN "baserom.gbc", $C2C71, $C2C73 - $C2C71
Unknown_0xC2C73:
INCBIN "baserom.gbc", $C2C73, $C2C75 - $C2C73
LoggedData_0xC2C75:
INCBIN "baserom.gbc", $C2C75, $C2C79 - $C2C75
Unknown_0xC2C79:
INCBIN "baserom.gbc", $C2C79, $C2C83 - $C2C79
LoggedData_0xC2C83:
INCBIN "baserom.gbc", $C2C83, $C2C93 - $C2C83
Unknown_0xC2C93:
INCBIN "baserom.gbc", $C2C93, $C2C9B - $C2C93
LoggedData_0xC2C9B:
INCBIN "baserom.gbc", $C2C9B, $C2CA3 - $C2C9B
Unknown_0xC2CA3:
INCBIN "baserom.gbc", $C2CA3, $C2CBB - $C2CA3
LoggedData_0xC2CBB:
INCBIN "baserom.gbc", $C2CBB, $C2CCB - $C2CBB
Unknown_0xC2CCB:
INCBIN "baserom.gbc", $C2CCB, $C2CD3 - $C2CCB
LoggedData_0xC2CD3:
INCBIN "baserom.gbc", $C2CD3, $C2CE3 - $C2CD3
Unknown_0xC2CE3:
INCBIN "baserom.gbc", $C2CE3, $C2CEB - $C2CE3
LoggedData_0xC2CEB:
INCBIN "baserom.gbc", $C2CEB, $C2CF3 - $C2CEB
Unknown_0xC2CF3:
INCBIN "baserom.gbc", $C2CF3, $C2D03 - $C2CF3
LoggedData_0xC2D03:
INCBIN "baserom.gbc", $C2D03, $C2D05 - $C2D03
Unknown_0xC2D05:
INCBIN "baserom.gbc", $C2D05, $C2D1F - $C2D05
LoggedData_0xC2D1F:
INCBIN "baserom.gbc", $C2D1F, $C2D21 - $C2D1F
Unknown_0xC2D21:
INCBIN "baserom.gbc", $C2D21, $C2D3F - $C2D21
LoggedData_0xC2D3F:
INCBIN "baserom.gbc", $C2D3F, $C2D47 - $C2D3F
Unknown_0xC2D47:
INCBIN "baserom.gbc", $C2D47, $C2D87 - $C2D47
LoggedData_0xC2D87:
INCBIN "baserom.gbc", $C2D87, $C2D8F - $C2D87
Unknown_0xC2D8F:
INCBIN "baserom.gbc", $C2D8F, $C2DBF - $C2D8F
LoggedData_0xC2DBF:
INCBIN "baserom.gbc", $C2DBF, $C2DC1 - $C2DBF
Unknown_0xC2DC1:
INCBIN "baserom.gbc", $C2DC1, $C2DC9 - $C2DC1
LoggedData_0xC2DC9:
INCBIN "baserom.gbc", $C2DC9, $C2DCD - $C2DC9
Unknown_0xC2DCD:
INCBIN "baserom.gbc", $C2DCD, $C2DD5 - $C2DCD
LoggedData_0xC2DD5:
INCBIN "baserom.gbc", $C2DD5, $C2DD7 - $C2DD5
Unknown_0xC2DD7:
INCBIN "baserom.gbc", $C2DD7, $C2DDD - $C2DD7
LoggedData_0xC2DDD:
INCBIN "baserom.gbc", $C2DDD, $C2DDF - $C2DDD
Unknown_0xC2DDF:
INCBIN "baserom.gbc", $C2DDF, $C2DE9 - $C2DDF
LoggedData_0xC2DE9:
INCBIN "baserom.gbc", $C2DE9, $C2DED - $C2DE9
Unknown_0xC2DED:
INCBIN "baserom.gbc", $C2DED, $C2DF7 - $C2DED
LoggedData_0xC2DF7:
INCBIN "baserom.gbc", $C2DF7, $C2DF9 - $C2DF7
Unknown_0xC2DF9:
INCBIN "baserom.gbc", $C2DF9, $C2DFB - $C2DF9
LoggedData_0xC2DFB:
INCBIN "baserom.gbc", $C2DFB, $C2E03 - $C2DFB
Unknown_0xC2E03:
INCBIN "baserom.gbc", $C2E03, $C2E0B - $C2E03
LoggedData_0xC2E0B:
INCBIN "baserom.gbc", $C2E0B, $C2E1B - $C2E0B
Unknown_0xC2E1B:
INCBIN "baserom.gbc", $C2E1B, $C2E2B - $C2E1B
LoggedData_0xC2E2B:
INCBIN "baserom.gbc", $C2E2B, $C2E33 - $C2E2B
Unknown_0xC2E33:
INCBIN "baserom.gbc", $C2E33, $C2E3B - $C2E33
LoggedData_0xC2E3B:
INCBIN "baserom.gbc", $C2E3B, $C2E43 - $C2E3B
Unknown_0xC2E43:
INCBIN "baserom.gbc", $C2E43, $C2E63 - $C2E43
LoggedData_0xC2E63:
INCBIN "baserom.gbc", $C2E63, $C2E73 - $C2E63
Unknown_0xC2E73:
INCBIN "baserom.gbc", $C2E73, $C2E9B - $C2E73
LoggedData_0xC2E9B:
INCBIN "baserom.gbc", $C2E9B, $C2EA3 - $C2E9B
Unknown_0xC2EA3:
INCBIN "baserom.gbc", $C2EA3, $C2EAB - $C2EA3
LoggedData_0xC2EAB:
INCBIN "baserom.gbc", $C2EAB, $C2EAD - $C2EAB
Unknown_0xC2EAD:
INCBIN "baserom.gbc", $C2EAD, $C2EC7 - $C2EAD
LoggedData_0xC2EC7:
INCBIN "baserom.gbc", $C2EC7, $C2EC9 - $C2EC7
Unknown_0xC2EC9:
INCBIN "baserom.gbc", $C2EC9, $C2ECD - $C2EC9
LoggedData_0xC2ECD:
INCBIN "baserom.gbc", $C2ECD, $C2ED3 - $C2ECD
Unknown_0xC2ED3:
INCBIN "baserom.gbc", $C2ED3, $C2EE5 - $C2ED3
LoggedData_0xC2EE5:
INCBIN "baserom.gbc", $C2EE5, $C2EEF - $C2EE5
Unknown_0xC2EEF:
INCBIN "baserom.gbc", $C2EEF, $C2F1F - $C2EEF
LoggedData_0xC2F1F:
INCBIN "baserom.gbc", $C2F1F, $C2F27 - $C2F1F
Unknown_0xC2F27:
INCBIN "baserom.gbc", $C2F27, $C2F37 - $C2F27
LoggedData_0xC2F37:
INCBIN "baserom.gbc", $C2F37, $C2F4F - $C2F37
Unknown_0xC2F4F:
INCBIN "baserom.gbc", $C2F4F, $C2F8F - $C2F4F
LoggedData_0xC2F8F:
INCBIN "baserom.gbc", $C2F8F, $C2F99 - $C2F8F
Unknown_0xC2F99:
INCBIN "baserom.gbc", $C2F99, $C2F9F - $C2F99
LoggedData_0xC2F9F:
INCBIN "baserom.gbc", $C2F9F, $C2FA1 - $C2F9F
Unknown_0xC2FA1:
INCBIN "baserom.gbc", $C2FA1, $C2FA9 - $C2FA1
LoggedData_0xC2FA9:
INCBIN "baserom.gbc", $C2FA9, $C2FAD - $C2FA9
Unknown_0xC2FAD:
INCBIN "baserom.gbc", $C2FAD, $C2FB3 - $C2FAD
LoggedData_0xC2FB3:
INCBIN "baserom.gbc", $C2FB3, $C2FB5 - $C2FB3
Unknown_0xC2FB5:
INCBIN "baserom.gbc", $C2FB5, $C2FB9 - $C2FB5
LoggedData_0xC2FB9:
INCBIN "baserom.gbc", $C2FB9, $C2FBF - $C2FB9
Unknown_0xC2FBF:
INCBIN "baserom.gbc", $C2FBF, $C2FC5 - $C2FBF
LoggedData_0xC2FC5:
INCBIN "baserom.gbc", $C2FC5, $C2FCF - $C2FC5
Unknown_0xC2FCF:
INCBIN "baserom.gbc", $C2FCF, $C2FD1 - $C2FCF
LoggedData_0xC2FD1:
INCBIN "baserom.gbc", $C2FD1, $C2FE3 - $C2FD1
Unknown_0xC2FE3:
INCBIN "baserom.gbc", $C2FE3, $C2FF3 - $C2FE3
LoggedData_0xC2FF3:
INCBIN "baserom.gbc", $C2FF3, $C3003 - $C2FF3
Unknown_0xC3003:
INCBIN "baserom.gbc", $C3003, $C300B - $C3003
LoggedData_0xC300B:
INCBIN "baserom.gbc", $C300B, $C3013 - $C300B
Unknown_0xC3013:
INCBIN "baserom.gbc", $C3013, $C3023 - $C3013
LoggedData_0xC3023:
INCBIN "baserom.gbc", $C3023, $C303B - $C3023
Unknown_0xC303B:
INCBIN "baserom.gbc", $C303B, $C304B - $C303B
LoggedData_0xC304B:
INCBIN "baserom.gbc", $C304B, $C3073 - $C304B
Unknown_0xC3073:
INCBIN "baserom.gbc", $C3073, $C307B - $C3073
LoggedData_0xC307B:
INCBIN "baserom.gbc", $C307B, $C3083 - $C307B
Unknown_0xC3083:
INCBIN "baserom.gbc", $C3083, $C316F - $C3083
LoggedData_0xC316F:
INCBIN "baserom.gbc", $C316F, $C3171 - $C316F
Unknown_0xC3171:
INCBIN "baserom.gbc", $C3171, $C3181 - $C3171
LoggedData_0xC3181:
INCBIN "baserom.gbc", $C3181, $C3183 - $C3181
Unknown_0xC3183:
INCBIN "baserom.gbc", $C3183, $C3187 - $C3183
LoggedData_0xC3187:
INCBIN "baserom.gbc", $C3187, $C3189 - $C3187
Unknown_0xC3189:
INCBIN "baserom.gbc", $C3189, $C3193 - $C3189
LoggedData_0xC3193:
INCBIN "baserom.gbc", $C3193, $C3195 - $C3193
Unknown_0xC3195:
INCBIN "baserom.gbc", $C3195, $C31AB - $C3195
LoggedData_0xC31AB:
INCBIN "baserom.gbc", $C31AB, $C31B3 - $C31AB
Unknown_0xC31B3:
INCBIN "baserom.gbc", $C31B3, $C31E3 - $C31B3
LoggedData_0xC31E3:
INCBIN "baserom.gbc", $C31E3, $C31EB - $C31E3
Unknown_0xC31EB:
INCBIN "baserom.gbc", $C31EB, $C31F3 - $C31EB
LoggedData_0xC31F3:
INCBIN "baserom.gbc", $C31F3, $C31FB - $C31F3
Unknown_0xC31FB:
INCBIN "baserom.gbc", $C31FB, $C320B - $C31FB
LoggedData_0xC320B:
INCBIN "baserom.gbc", $C320B, $C3213 - $C320B
Unknown_0xC3213:
INCBIN "baserom.gbc", $C3213, $C325B - $C3213
LoggedData_0xC325B:
INCBIN "baserom.gbc", $C325B, $C325D - $C325B
Unknown_0xC325D:
INCBIN "baserom.gbc", $C325D, $C3263 - $C325D
LoggedData_0xC3263:
INCBIN "baserom.gbc", $C3263, $C3265 - $C3263
Unknown_0xC3265:
INCBIN "baserom.gbc", $C3265, $C3267 - $C3265
LoggedData_0xC3267:
INCBIN "baserom.gbc", $C3267, $C3269 - $C3267
Unknown_0xC3269:
INCBIN "baserom.gbc", $C3269, $C326D - $C3269
LoggedData_0xC326D:
INCBIN "baserom.gbc", $C326D, $C3271 - $C326D
Unknown_0xC3271:
INCBIN "baserom.gbc", $C3271, $C3273 - $C3271
LoggedData_0xC3273:
INCBIN "baserom.gbc", $C3273, $C3275 - $C3273
Unknown_0xC3275:
INCBIN "baserom.gbc", $C3275, $C3277 - $C3275
LoggedData_0xC3277:
INCBIN "baserom.gbc", $C3277, $C3279 - $C3277
Unknown_0xC3279:
INCBIN "baserom.gbc", $C3279, $C327D - $C3279
LoggedData_0xC327D:
INCBIN "baserom.gbc", $C327D, $C3281 - $C327D
Unknown_0xC3281:
INCBIN "baserom.gbc", $C3281, $C3283 - $C3281
LoggedData_0xC3283:
INCBIN "baserom.gbc", $C3283, $C328D - $C3283
Unknown_0xC328D:
INCBIN "baserom.gbc", $C328D, $C328F - $C328D
LoggedData_0xC328F:
INCBIN "baserom.gbc", $C328F, $C3291 - $C328F
Unknown_0xC3291:
INCBIN "baserom.gbc", $C3291, $C3297 - $C3291
LoggedData_0xC3297:
INCBIN "baserom.gbc", $C3297, $C329F - $C3297
Unknown_0xC329F:
INCBIN "baserom.gbc", $C329F, $C32AF - $C329F
LoggedData_0xC32AF:
INCBIN "baserom.gbc", $C32AF, $C32B7 - $C32AF
Unknown_0xC32B7:
INCBIN "baserom.gbc", $C32B7, $C32BF - $C32B7
LoggedData_0xC32BF:
INCBIN "baserom.gbc", $C32BF, $C32C7 - $C32BF
Unknown_0xC32C7:
INCBIN "baserom.gbc", $C32C7, $C32CF - $C32C7
LoggedData_0xC32CF:
INCBIN "baserom.gbc", $C32CF, $C32FF - $C32CF
Unknown_0xC32FF:
INCBIN "baserom.gbc", $C32FF, $C3307 - $C32FF
LoggedData_0xC3307:
INCBIN "baserom.gbc", $C3307, $C332F - $C3307
Unknown_0xC332F:
INCBIN "baserom.gbc", $C332F, $C3337 - $C332F
LoggedData_0xC3337:
INCBIN "baserom.gbc", $C3337, $C333F - $C3337
Unknown_0xC333F:
INCBIN "baserom.gbc", $C333F, $C3347 - $C333F
LoggedData_0xC3347:
INCBIN "baserom.gbc", $C3347, $C3349 - $C3347
Unknown_0xC3349:
INCBIN "baserom.gbc", $C3349, $C334F - $C3349
LoggedData_0xC334F:
INCBIN "baserom.gbc", $C334F, $C3351 - $C334F
Unknown_0xC3351:
INCBIN "baserom.gbc", $C3351, $C336B - $C3351
LoggedData_0xC336B:
INCBIN "baserom.gbc", $C336B, $C336F - $C336B
Unknown_0xC336F:
INCBIN "baserom.gbc", $C336F, $C337D - $C336F
LoggedData_0xC337D:
INCBIN "baserom.gbc", $C337D, $C337F - $C337D
Unknown_0xC337F:
INCBIN "baserom.gbc", $C337F, $C3383 - $C337F
LoggedData_0xC3383:
INCBIN "baserom.gbc", $C3383, $C338B - $C3383
Unknown_0xC338B:
INCBIN "baserom.gbc", $C338B, $C339B - $C338B
LoggedData_0xC339B:
INCBIN "baserom.gbc", $C339B, $C33A3 - $C339B
Unknown_0xC33A3:
INCBIN "baserom.gbc", $C33A3, $C33E3 - $C33A3
LoggedData_0xC33E3:
INCBIN "baserom.gbc", $C33E3, $C33F3 - $C33E3
Unknown_0xC33F3:
INCBIN "baserom.gbc", $C33F3, $C342B - $C33F3
LoggedData_0xC342B:
INCBIN "baserom.gbc", $C342B, $C3433 - $C342B
Unknown_0xC3433:
INCBIN "baserom.gbc", $C3433, $C351F - $C3433
LoggedData_0xC351F:
INCBIN "baserom.gbc", $C351F, $C3521 - $C351F
Unknown_0xC3521:
INCBIN "baserom.gbc", $C3521, $C3525 - $C3521
LoggedData_0xC3525:
INCBIN "baserom.gbc", $C3525, $C3527 - $C3525
Unknown_0xC3527:
INCBIN "baserom.gbc", $C3527, $C3529 - $C3527
LoggedData_0xC3529:
INCBIN "baserom.gbc", $C3529, $C352F - $C3529
Unknown_0xC352F:
INCBIN "baserom.gbc", $C352F, $C353B - $C352F
LoggedData_0xC353B:
INCBIN "baserom.gbc", $C353B, $C353D - $C353B
Unknown_0xC353D:
INCBIN "baserom.gbc", $C353D, $C3543 - $C353D
LoggedData_0xC3543:
INCBIN "baserom.gbc", $C3543, $C3545 - $C3543
Unknown_0xC3545:
INCBIN "baserom.gbc", $C3545, $C3553 - $C3545
LoggedData_0xC3553:
INCBIN "baserom.gbc", $C3553, $C3555 - $C3553
Unknown_0xC3555:
INCBIN "baserom.gbc", $C3555, $C355B - $C3555
LoggedData_0xC355B:
INCBIN "baserom.gbc", $C355B, $C3563 - $C355B
Unknown_0xC3563:
INCBIN "baserom.gbc", $C3563, $C356B - $C3563
LoggedData_0xC356B:
INCBIN "baserom.gbc", $C356B, $C3573 - $C356B
Unknown_0xC3573:
INCBIN "baserom.gbc", $C3573, $C357B - $C3573
LoggedData_0xC357B:
INCBIN "baserom.gbc", $C357B, $C3593 - $C357B
Unknown_0xC3593:
INCBIN "baserom.gbc", $C3593, $C35AB - $C3593
LoggedData_0xC35AB:
INCBIN "baserom.gbc", $C35AB, $C35B3 - $C35AB
Unknown_0xC35B3:
INCBIN "baserom.gbc", $C35B3, $C35BB - $C35B3
LoggedData_0xC35BB:
INCBIN "baserom.gbc", $C35BB, $C35C3 - $C35BB
Unknown_0xC35C3:
INCBIN "baserom.gbc", $C35C3, $C35FB - $C35C3
LoggedData_0xC35FB:
INCBIN "baserom.gbc", $C35FB, $C3603 - $C35FB
Unknown_0xC3603:
INCBIN "baserom.gbc", $C3603, $C3783 - $C3603
LoggedData_0xC3783:
INCBIN "baserom.gbc", $C3783, $C3787 - $C3783
Unknown_0xC3787:
INCBIN "baserom.gbc", $C3787, $C37BF - $C3787
LoggedData_0xC37BF:
INCBIN "baserom.gbc", $C37BF, $C37CF - $C37BF
Unknown_0xC37CF:
INCBIN "baserom.gbc", $C37CF, $C389B - $C37CF
LoggedData_0xC389B:
INCBIN "baserom.gbc", $C389B, $C389D - $C389B
Unknown_0xC389D:
INCBIN "baserom.gbc", $C389D, $C38C3 - $C389D
LoggedData_0xC38C3:
INCBIN "baserom.gbc", $C38C3, $C38C9 - $C38C3
Unknown_0xC38C9:
INCBIN "baserom.gbc", $C38C9, $C38D7 - $C38C9
LoggedData_0xC38D7:
INCBIN "baserom.gbc", $C38D7, $C38DF - $C38D7
Unknown_0xC38DF:
INCBIN "baserom.gbc", $C38DF, $C38F7 - $C38DF
LoggedData_0xC38F7:
INCBIN "baserom.gbc", $C38F7, $C390F - $C38F7
Unknown_0xC390F:
INCBIN "baserom.gbc", $C390F, $C39B3 - $C390F
LoggedData_0xC39B3:
INCBIN "baserom.gbc", $C39B3, $C39B5 - $C39B3
Unknown_0xC39B5:
INCBIN "baserom.gbc", $C39B5, $C39CD - $C39B5
LoggedData_0xC39CD:
INCBIN "baserom.gbc", $C39CD, $C39CF - $C39CD
Unknown_0xC39CF:
INCBIN "baserom.gbc", $C39CF, $C39ED - $C39CF
LoggedData_0xC39ED:
INCBIN "baserom.gbc", $C39ED, $C39F7 - $C39ED
Unknown_0xC39F7:
INCBIN "baserom.gbc", $C39F7, $C3A07 - $C39F7
LoggedData_0xC3A07:
INCBIN "baserom.gbc", $C3A07, $C3A0F - $C3A07
Unknown_0xC3A0F:
INCBIN "baserom.gbc", $C3A0F, $C3A37 - $C3A0F
LoggedData_0xC3A37:
INCBIN "baserom.gbc", $C3A37, $C3A41 - $C3A37
Unknown_0xC3A41:
INCBIN "baserom.gbc", $C3A41, $C3A47 - $C3A41
LoggedData_0xC3A47:
INCBIN "baserom.gbc", $C3A47, $C3A49 - $C3A47
Unknown_0xC3A49:
INCBIN "baserom.gbc", $C3A49, $C3A5B - $C3A49
LoggedData_0xC3A5B:
INCBIN "baserom.gbc", $C3A5B, $C3A5D - $C3A5B
Unknown_0xC3A5D:
INCBIN "baserom.gbc", $C3A5D, $C3A5F - $C3A5D
LoggedData_0xC3A5F:
INCBIN "baserom.gbc", $C3A5F, $C3A61 - $C3A5F
Unknown_0xC3A61:
INCBIN "baserom.gbc", $C3A61, $C3A69 - $C3A61
LoggedData_0xC3A69:
INCBIN "baserom.gbc", $C3A69, $C3A6B - $C3A69
Unknown_0xC3A6B:
INCBIN "baserom.gbc", $C3A6B, $C3A7B - $C3A6B
LoggedData_0xC3A7B:
INCBIN "baserom.gbc", $C3A7B, $C3A83 - $C3A7B
Unknown_0xC3A83:
INCBIN "baserom.gbc", $C3A83, $C3A93 - $C3A83
LoggedData_0xC3A93:
INCBIN "baserom.gbc", $C3A93, $C3A9B - $C3A93
Unknown_0xC3A9B:
INCBIN "baserom.gbc", $C3A9B, $C3AC3 - $C3A9B
LoggedData_0xC3AC3:
INCBIN "baserom.gbc", $C3AC3, $C3ACB - $C3AC3
Unknown_0xC3ACB:
INCBIN "baserom.gbc", $C3ACB, $C3AD3 - $C3ACB
LoggedData_0xC3AD3:
INCBIN "baserom.gbc", $C3AD3, $C3ADB - $C3AD3
Unknown_0xC3ADB:
INCBIN "baserom.gbc", $C3ADB, $C3AF3 - $C3ADB
LoggedData_0xC3AF3:
INCBIN "baserom.gbc", $C3AF3, $C3AFB - $C3AF3
Unknown_0xC3AFB:
INCBIN "baserom.gbc", $C3AFB, $C3B2B - $C3AFB
LoggedData_0xC3B2B:
INCBIN "baserom.gbc", $C3B2B, $C3B2D - $C3B2B
Unknown_0xC3B2D:
INCBIN "baserom.gbc", $C3B2D, $C3B35 - $C3B2D
LoggedData_0xC3B35:
INCBIN "baserom.gbc", $C3B35, $C3B37 - $C3B35
Unknown_0xC3B37:
INCBIN "baserom.gbc", $C3B37, $C3B5B - $C3B37
LoggedData_0xC3B5B:
INCBIN "baserom.gbc", $C3B5B, $C3B5D - $C3B5B
Unknown_0xC3B5D:
INCBIN "baserom.gbc", $C3B5D, $C3B67 - $C3B5D
LoggedData_0xC3B67:
INCBIN "baserom.gbc", $C3B67, $C3B6F - $C3B67
Unknown_0xC3B6F:
INCBIN "baserom.gbc", $C3B6F, $C3B87 - $C3B6F
LoggedData_0xC3B87:
INCBIN "baserom.gbc", $C3B87, $C3B8F - $C3B87
Unknown_0xC3B8F:
INCBIN "baserom.gbc", $C3B8F, $C3BEF - $C3B8F
LoggedData_0xC3BEF:
INCBIN "baserom.gbc", $C3BEF, $C3BF7 - $C3BEF
Unknown_0xC3BF7:
INCBIN "baserom.gbc", $C3BF7, $C4000 - $C3BF7
SECTION "Bank31", ROMX, BANK[$31]
Unknown_0xC4000:
INCBIN "baserom.gbc", $C4000, $C41D8 - $C4000
LoggedData_0xC41D8:
INCBIN "baserom.gbc", $C41D8, $C41DE - $C41D8
Unknown_0xC41DE:
INCBIN "baserom.gbc", $C41DE, $C41E8 - $C41DE
LoggedData_0xC41E8:
INCBIN "baserom.gbc", $C41E8, $C41EA - $C41E8
Unknown_0xC41EA:
INCBIN "baserom.gbc", $C41EA, $C41F6 - $C41EA
LoggedData_0xC41F6:
INCBIN "baserom.gbc", $C41F6, $C41F8 - $C41F6
Unknown_0xC41F8:
INCBIN "baserom.gbc", $C41F8, $C41FE - $C41F8
LoggedData_0xC41FE:
INCBIN "baserom.gbc", $C41FE, $C4200 - $C41FE
Unknown_0xC4200:
INCBIN "baserom.gbc", $C4200, $C420A - $C4200
LoggedData_0xC420A:
INCBIN "baserom.gbc", $C420A, $C420C - $C420A
Unknown_0xC420C:
INCBIN "baserom.gbc", $C420C, $C420E - $C420C
LoggedData_0xC420E:
INCBIN "baserom.gbc", $C420E, $C422C - $C420E
Unknown_0xC422C:
INCBIN "baserom.gbc", $C422C, $C4244 - $C422C
LoggedData_0xC4244:
INCBIN "baserom.gbc", $C4244, $C424C - $C4244
Unknown_0xC424C:
INCBIN "baserom.gbc", $C424C, $C4264 - $C424C
LoggedData_0xC4264:
INCBIN "baserom.gbc", $C4264, $C426C - $C4264
Unknown_0xC426C:
INCBIN "baserom.gbc", $C426C, $C427C - $C426C
LoggedData_0xC427C:
INCBIN "baserom.gbc", $C427C, $C4284 - $C427C
Unknown_0xC4284:
INCBIN "baserom.gbc", $C4284, $C42A4 - $C4284
LoggedData_0xC42A4:
INCBIN "baserom.gbc", $C42A4, $C42C4 - $C42A4
Unknown_0xC42C4:
INCBIN "baserom.gbc", $C42C4, $C43FC - $C42C4
LoggedData_0xC43FC:
INCBIN "baserom.gbc", $C43FC, $C43FE - $C43FC
Unknown_0xC43FE:
INCBIN "baserom.gbc", $C43FE, $C4406 - $C43FE
LoggedData_0xC4406:
INCBIN "baserom.gbc", $C4406, $C4408 - $C4406
Unknown_0xC4408:
INCBIN "baserom.gbc", $C4408, $C4410 - $C4408
LoggedData_0xC4410:
INCBIN "baserom.gbc", $C4410, $C4412 - $C4410
Unknown_0xC4412:
INCBIN "baserom.gbc", $C4412, $C441A - $C4412
LoggedData_0xC441A:
INCBIN "baserom.gbc", $C441A, $C441C - $C441A
Unknown_0xC441C:
INCBIN "baserom.gbc", $C441C, $C442A - $C441C
LoggedData_0xC442A:
INCBIN "baserom.gbc", $C442A, $C442E - $C442A
Unknown_0xC442E:
INCBIN "baserom.gbc", $C442E, $C4438 - $C442E
LoggedData_0xC4438:
INCBIN "baserom.gbc", $C4438, $C4440 - $C4438
Unknown_0xC4440:
INCBIN "baserom.gbc", $C4440, $C4448 - $C4440
LoggedData_0xC4448:
INCBIN "baserom.gbc", $C4448, $C4450 - $C4448
Unknown_0xC4450:
INCBIN "baserom.gbc", $C4450, $C4458 - $C4450
LoggedData_0xC4458:
INCBIN "baserom.gbc", $C4458, $C4460 - $C4458
Unknown_0xC4460:
INCBIN "baserom.gbc", $C4460, $C4470 - $C4460
LoggedData_0xC4470:
INCBIN "baserom.gbc", $C4470, $C4478 - $C4470
Unknown_0xC4478:
INCBIN "baserom.gbc", $C4478, $C4480 - $C4478
LoggedData_0xC4480:
INCBIN "baserom.gbc", $C4480, $C4490 - $C4480
Unknown_0xC4490:
INCBIN "baserom.gbc", $C4490, $C4498 - $C4490
LoggedData_0xC4498:
INCBIN "baserom.gbc", $C4498, $C449C - $C4498
Unknown_0xC449C:
INCBIN "baserom.gbc", $C449C, $C44A4 - $C449C
LoggedData_0xC44A4:
INCBIN "baserom.gbc", $C44A4, $C44A6 - $C44A4
Unknown_0xC44A6:
INCBIN "baserom.gbc", $C44A6, $C44AE - $C44A6
LoggedData_0xC44AE:
INCBIN "baserom.gbc", $C44AE, $C44B0 - $C44AE
Unknown_0xC44B0:
INCBIN "baserom.gbc", $C44B0, $C44B2 - $C44B0
LoggedData_0xC44B2:
INCBIN "baserom.gbc", $C44B2, $C44B4 - $C44B2
Unknown_0xC44B4:
INCBIN "baserom.gbc", $C44B4, $C44CA - $C44B4
LoggedData_0xC44CA:
INCBIN "baserom.gbc", $C44CA, $C44CC - $C44CA
Unknown_0xC44CC:
INCBIN "baserom.gbc", $C44CC, $C44D4 - $C44CC
LoggedData_0xC44D4:
INCBIN "baserom.gbc", $C44D4, $C44E4 - $C44D4
Unknown_0xC44E4:
INCBIN "baserom.gbc", $C44E4, $C44EC - $C44E4
LoggedData_0xC44EC:
INCBIN "baserom.gbc", $C44EC, $C44F4 - $C44EC
Unknown_0xC44F4:
INCBIN "baserom.gbc", $C44F4, $C44FC - $C44F4
LoggedData_0xC44FC:
INCBIN "baserom.gbc", $C44FC, $C450C - $C44FC
Unknown_0xC450C:
INCBIN "baserom.gbc", $C450C, $C452C - $C450C
LoggedData_0xC452C:
INCBIN "baserom.gbc", $C452C, $C4536 - $C452C
Unknown_0xC4536:
INCBIN "baserom.gbc", $C4536, $C4542 - $C4536
LoggedData_0xC4542:
INCBIN "baserom.gbc", $C4542, $C4544 - $C4542
Unknown_0xC4544:
INCBIN "baserom.gbc", $C4544, $C455A - $C4544
LoggedData_0xC455A:
INCBIN "baserom.gbc", $C455A, $C455C - $C455A
Unknown_0xC455C:
INCBIN "baserom.gbc", $C455C, $C4562 - $C455C
LoggedData_0xC4562:
INCBIN "baserom.gbc", $C4562, $C4564 - $C4562
Unknown_0xC4564:
INCBIN "baserom.gbc", $C4564, $C456E - $C4564
LoggedData_0xC456E:
INCBIN "baserom.gbc", $C456E, $C4578 - $C456E
Unknown_0xC4578:
INCBIN "baserom.gbc", $C4578, $C4590 - $C4578
LoggedData_0xC4590:
INCBIN "baserom.gbc", $C4590, $C4598 - $C4590
Unknown_0xC4598:
INCBIN "baserom.gbc", $C4598, $C45A8 - $C4598
LoggedData_0xC45A8:
INCBIN "baserom.gbc", $C45A8, $C45B0 - $C45A8
Unknown_0xC45B0:
INCBIN "baserom.gbc", $C45B0, $C45C0 - $C45B0
LoggedData_0xC45C0:
INCBIN "baserom.gbc", $C45C0, $C45C8 - $C45C0
Unknown_0xC45C8:
INCBIN "baserom.gbc", $C45C8, $C45E0 - $C45C8
LoggedData_0xC45E0:
INCBIN "baserom.gbc", $C45E0, $C45EA - $C45E0
Unknown_0xC45EA:
INCBIN "baserom.gbc", $C45EA, $C45F2 - $C45EA
LoggedData_0xC45F2:
INCBIN "baserom.gbc", $C45F2, $C45F6 - $C45F2
Unknown_0xC45F6:
INCBIN "baserom.gbc", $C45F6, $C4618 - $C45F6
LoggedData_0xC4618:
INCBIN "baserom.gbc", $C4618, $C461E - $C4618
Unknown_0xC461E:
INCBIN "baserom.gbc", $C461E, $C4624 - $C461E
LoggedData_0xC4624:
INCBIN "baserom.gbc", $C4624, $C462C - $C4624
Unknown_0xC462C:
INCBIN "baserom.gbc", $C462C, $C4634 - $C462C
LoggedData_0xC4634:
INCBIN "baserom.gbc", $C4634, $C4644 - $C4634
Unknown_0xC4644:
INCBIN "baserom.gbc", $C4644, $C467C - $C4644
LoggedData_0xC467C:
INCBIN "baserom.gbc", $C467C, $C4694 - $C467C
Unknown_0xC4694:
INCBIN "baserom.gbc", $C4694, $C4750 - $C4694
LoggedData_0xC4750:
INCBIN "baserom.gbc", $C4750, $C4754 - $C4750
Unknown_0xC4754:
INCBIN "baserom.gbc", $C4754, $C475E - $C4754
LoggedData_0xC475E:
INCBIN "baserom.gbc", $C475E, $C4760 - $C475E
Unknown_0xC4760:
INCBIN "baserom.gbc", $C4760, $C4768 - $C4760
LoggedData_0xC4768:
INCBIN "baserom.gbc", $C4768, $C476A - $C4768
Unknown_0xC476A:
INCBIN "baserom.gbc", $C476A, $C4776 - $C476A
LoggedData_0xC4776:
INCBIN "baserom.gbc", $C4776, $C477A - $C4776
Unknown_0xC477A:
INCBIN "baserom.gbc", $C477A, $C478C - $C477A
LoggedData_0xC478C:
INCBIN "baserom.gbc", $C478C, $C479C - $C478C
Unknown_0xC479C:
INCBIN "baserom.gbc", $C479C, $C47AC - $C479C
LoggedData_0xC47AC:
INCBIN "baserom.gbc", $C47AC, $C47BC - $C47AC
Unknown_0xC47BC:
INCBIN "baserom.gbc", $C47BC, $C47C4 - $C47BC
LoggedData_0xC47C4:
INCBIN "baserom.gbc", $C47C4, $C47D4 - $C47C4
Unknown_0xC47D4:
INCBIN "baserom.gbc", $C47D4, $C496C - $C47D4
LoggedData_0xC496C:
INCBIN "baserom.gbc", $C496C, $C496E - $C496C
Unknown_0xC496E:
INCBIN "baserom.gbc", $C496E, $C497A - $C496E
LoggedData_0xC497A:
INCBIN "baserom.gbc", $C497A, $C497C - $C497A
Unknown_0xC497C:
INCBIN "baserom.gbc", $C497C, $C4992 - $C497C
LoggedData_0xC4992:
INCBIN "baserom.gbc", $C4992, $C4994 - $C4992
Unknown_0xC4994:
INCBIN "baserom.gbc", $C4994, $C49A8 - $C4994
LoggedData_0xC49A8:
INCBIN "baserom.gbc", $C49A8, $C49B0 - $C49A8
Unknown_0xC49B0:
INCBIN "baserom.gbc", $C49B0, $C49C8 - $C49B0
LoggedData_0xC49C8:
INCBIN "baserom.gbc", $C49C8, $C49D0 - $C49C8
Unknown_0xC49D0:
INCBIN "baserom.gbc", $C49D0, $C49E0 - $C49D0
LoggedData_0xC49E0:
INCBIN "baserom.gbc", $C49E0, $C49E8 - $C49E0
Unknown_0xC49E8:
INCBIN "baserom.gbc", $C49E8, $C4AD4 - $C49E8
LoggedData_0xC4AD4:
INCBIN "baserom.gbc", $C4AD4, $C4AD6 - $C4AD4
Unknown_0xC4AD6:
INCBIN "baserom.gbc", $C4AD6, $C4B10 - $C4AD6
LoggedData_0xC4B10:
INCBIN "baserom.gbc", $C4B10, $C4B18 - $C4B10
Unknown_0xC4B18:
INCBIN "baserom.gbc", $C4B18, $C4B80 - $C4B18
LoggedData_0xC4B80:
INCBIN "baserom.gbc", $C4B80, $C4B82 - $C4B80
Unknown_0xC4B82:
INCBIN "baserom.gbc", $C4B82, $C4B94 - $C4B82
LoggedData_0xC4B94:
INCBIN "baserom.gbc", $C4B94, $C4B96 - $C4B94
Unknown_0xC4B96:
INCBIN "baserom.gbc", $C4B96, $C4B9C - $C4B96
LoggedData_0xC4B9C:
INCBIN "baserom.gbc", $C4B9C, $C4B9E - $C4B9C
Unknown_0xC4B9E:
INCBIN "baserom.gbc", $C4B9E, $C4BB0 - $C4B9E
LoggedData_0xC4BB0:
INCBIN "baserom.gbc", $C4BB0, $C4BB4 - $C4BB0
Unknown_0xC4BB4:
INCBIN "baserom.gbc", $C4BB4, $C4BBC - $C4BB4
LoggedData_0xC4BBC:
INCBIN "baserom.gbc", $C4BBC, $C4BC4 - $C4BBC
Unknown_0xC4BC4:
INCBIN "baserom.gbc", $C4BC4, $C4BD4 - $C4BC4
LoggedData_0xC4BD4:
INCBIN "baserom.gbc", $C4BD4, $C4BE4 - $C4BD4
Unknown_0xC4BE4:
INCBIN "baserom.gbc", $C4BE4, $C4C0C - $C4BE4
LoggedData_0xC4C0C:
INCBIN "baserom.gbc", $C4C0C, $C4C1C - $C4C0C
Unknown_0xC4C1C:
INCBIN "baserom.gbc", $C4C1C, $C4C2C - $C4C1C
LoggedData_0xC4C2C:
INCBIN "baserom.gbc", $C4C2C, $C4C2E - $C4C2C
Unknown_0xC4C2E:
INCBIN "baserom.gbc", $C4C2E, $C4C48 - $C4C2E
LoggedData_0xC4C48:
INCBIN "baserom.gbc", $C4C48, $C4C4A - $C4C48
Unknown_0xC4C4A:
INCBIN "baserom.gbc", $C4C4A, $C4C54 - $C4C4A
LoggedData_0xC4C54:
INCBIN "baserom.gbc", $C4C54, $C4C58 - $C4C54
Unknown_0xC4C58:
INCBIN "baserom.gbc", $C4C58, $C4C68 - $C4C58
LoggedData_0xC4C68:
INCBIN "baserom.gbc", $C4C68, $C4C70 - $C4C68
Unknown_0xC4C70:
INCBIN "baserom.gbc", $C4C70, $C4C88 - $C4C70
LoggedData_0xC4C88:
INCBIN "baserom.gbc", $C4C88, $C4C90 - $C4C88
Unknown_0xC4C90:
INCBIN "baserom.gbc", $C4C90, $C4CA8 - $C4C90
LoggedData_0xC4CA8:
INCBIN "baserom.gbc", $C4CA8, $C4CB8 - $C4CA8
Unknown_0xC4CB8:
INCBIN "baserom.gbc", $C4CB8, $C4CD8 - $C4CB8
LoggedData_0xC4CD8:
INCBIN "baserom.gbc", $C4CD8, $C4CDA - $C4CD8
Unknown_0xC4CDA:
INCBIN "baserom.gbc", $C4CDA, $C4CE6 - $C4CDA
LoggedData_0xC4CE6:
INCBIN "baserom.gbc", $C4CE6, $C4CEA - $C4CE6
Unknown_0xC4CEA:
INCBIN "baserom.gbc", $C4CEA, $C4CF8 - $C4CEA
LoggedData_0xC4CF8:
INCBIN "baserom.gbc", $C4CF8, $C4CFA - $C4CF8
Unknown_0xC4CFA:
INCBIN "baserom.gbc", $C4CFA, $C4CFC - $C4CFA
LoggedData_0xC4CFC:
INCBIN "baserom.gbc", $C4CFC, $C4CFE - $C4CFC
Unknown_0xC4CFE:
INCBIN "baserom.gbc", $C4CFE, $C4D10 - $C4CFE
LoggedData_0xC4D10:
INCBIN "baserom.gbc", $C4D10, $C4D2C - $C4D10
Unknown_0xC4D2C:
INCBIN "baserom.gbc", $C4D2C, $C4D3C - $C4D2C
LoggedData_0xC4D3C:
INCBIN "baserom.gbc", $C4D3C, $C4D44 - $C4D3C
Unknown_0xC4D44:
INCBIN "baserom.gbc", $C4D44, $C4D4C - $C4D44
LoggedData_0xC4D4C:
INCBIN "baserom.gbc", $C4D4C, $C4D54 - $C4D4C
Unknown_0xC4D54:
INCBIN "baserom.gbc", $C4D54, $C4D74 - $C4D54
LoggedData_0xC4D74:
INCBIN "baserom.gbc", $C4D74, $C4D86 - $C4D74
Unknown_0xC4D86:
INCBIN "baserom.gbc", $C4D86, $C4DBA - $C4D86
LoggedData_0xC4DBA:
INCBIN "baserom.gbc", $C4DBA, $C4DBE - $C4DBA
Unknown_0xC4DBE:
INCBIN "baserom.gbc", $C4DBE, $C4DC0 - $C4DBE
LoggedData_0xC4DC0:
INCBIN "baserom.gbc", $C4DC0, $C4DC8 - $C4DC0
Unknown_0xC4DC8:
INCBIN "baserom.gbc", $C4DC8, $C4E48 - $C4DC8
LoggedData_0xC4E48:
INCBIN "baserom.gbc", $C4E48, $C4E5A - $C4E48
Unknown_0xC4E5A:
INCBIN "baserom.gbc", $C4E5A, $C4E60 - $C4E5A
LoggedData_0xC4E60:
INCBIN "baserom.gbc", $C4E60, $C4E62 - $C4E60
Unknown_0xC4E62:
INCBIN "baserom.gbc", $C4E62, $C4E66 - $C4E62
LoggedData_0xC4E66:
INCBIN "baserom.gbc", $C4E66, $C4E68 - $C4E66
Unknown_0xC4E68:
INCBIN "baserom.gbc", $C4E68, $C4E6A - $C4E68
LoggedData_0xC4E6A:
INCBIN "baserom.gbc", $C4E6A, $C4E6C - $C4E6A
Unknown_0xC4E6C:
INCBIN "baserom.gbc", $C4E6C, $C4E80 - $C4E6C
LoggedData_0xC4E80:
INCBIN "baserom.gbc", $C4E80, $C4E84 - $C4E80
Unknown_0xC4E84:
INCBIN "baserom.gbc", $C4E84, $C4E86 - $C4E84
LoggedData_0xC4E86:
INCBIN "baserom.gbc", $C4E86, $C4E88 - $C4E86
Unknown_0xC4E88:
INCBIN "baserom.gbc", $C4E88, $C4E8C - $C4E88
LoggedData_0xC4E8C:
INCBIN "baserom.gbc", $C4E8C, $C4E8E - $C4E8C
Unknown_0xC4E8E:
INCBIN "baserom.gbc", $C4E8E, $C4E94 - $C4E8E
LoggedData_0xC4E94:
INCBIN "baserom.gbc", $C4E94, $C4E9C - $C4E94
Unknown_0xC4E9C:
INCBIN "baserom.gbc", $C4E9C, $C4EA4 - $C4E9C
LoggedData_0xC4EA4:
INCBIN "baserom.gbc", $C4EA4, $C4EAC - $C4EA4
Unknown_0xC4EAC:
INCBIN "baserom.gbc", $C4EAC, $C4EB4 - $C4EAC
LoggedData_0xC4EB4:
INCBIN "baserom.gbc", $C4EB4, $C4EBC - $C4EB4
Unknown_0xC4EBC:
INCBIN "baserom.gbc", $C4EBC, $C4EC4 - $C4EBC
LoggedData_0xC4EC4:
INCBIN "baserom.gbc", $C4EC4, $C4ECC - $C4EC4
Unknown_0xC4ECC:
INCBIN "baserom.gbc", $C4ECC, $C4EF4 - $C4ECC
LoggedData_0xC4EF4:
INCBIN "baserom.gbc", $C4EF4, $C4F0C - $C4EF4
Unknown_0xC4F0C:
INCBIN "baserom.gbc", $C4F0C, $C4F14 - $C4F0C
LoggedData_0xC4F14:
INCBIN "baserom.gbc", $C4F14, $C4F1C - $C4F14
Unknown_0xC4F1C:
INCBIN "baserom.gbc", $C4F1C, $C4F2C - $C4F1C
LoggedData_0xC4F2C:
INCBIN "baserom.gbc", $C4F2C, $C4F2E - $C4F2C
Unknown_0xC4F2E:
INCBIN "baserom.gbc", $C4F2E, $C4F30 - $C4F2E
LoggedData_0xC4F30:
INCBIN "baserom.gbc", $C4F30, $C4F32 - $C4F30
Unknown_0xC4F32:
INCBIN "baserom.gbc", $C4F32, $C4F38 - $C4F32
LoggedData_0xC4F38:
INCBIN "baserom.gbc", $C4F38, $C4F3A - $C4F38
Unknown_0xC4F3A:
INCBIN "baserom.gbc", $C4F3A, $C4F3C - $C4F3A
LoggedData_0xC4F3C:
INCBIN "baserom.gbc", $C4F3C, $C4F3E - $C4F3C
Unknown_0xC4F3E:
INCBIN "baserom.gbc", $C4F3E, $C4F44 - $C4F3E
LoggedData_0xC4F44:
INCBIN "baserom.gbc", $C4F44, $C4F48 - $C4F44
Unknown_0xC4F48:
INCBIN "baserom.gbc", $C4F48, $C4F68 - $C4F48
LoggedData_0xC4F68:
INCBIN "baserom.gbc", $C4F68, $C4F78 - $C4F68
Unknown_0xC4F78:
INCBIN "baserom.gbc", $C4F78, $C4F80 - $C4F78
LoggedData_0xC4F80:
INCBIN "baserom.gbc", $C4F80, $C4F88 - $C4F80
Unknown_0xC4F88:
INCBIN "baserom.gbc", $C4F88, $C4F90 - $C4F88
LoggedData_0xC4F90:
INCBIN "baserom.gbc", $C4F90, $C4F98 - $C4F90
Unknown_0xC4F98:
INCBIN "baserom.gbc", $C4F98, $C4FA8 - $C4F98
LoggedData_0xC4FA8:
INCBIN "baserom.gbc", $C4FA8, $C4FB8 - $C4FA8
Unknown_0xC4FB8:
INCBIN "baserom.gbc", $C4FB8, $C5000 - $C4FB8
LoggedData_0xC5000:
INCBIN "baserom.gbc", $C5000, $C5002 - $C5000
Unknown_0xC5002:
INCBIN "baserom.gbc", $C5002, $C5004 - $C5002
LoggedData_0xC5004:
INCBIN "baserom.gbc", $C5004, $C5006 - $C5004
Unknown_0xC5006:
INCBIN "baserom.gbc", $C5006, $C501E - $C5006
LoggedData_0xC501E:
INCBIN "baserom.gbc", $C501E, $C5022 - $C501E
Unknown_0xC5022:
INCBIN "baserom.gbc", $C5022, $C5038 - $C5022
LoggedData_0xC5038:
INCBIN "baserom.gbc", $C5038, $C504C - $C5038
Unknown_0xC504C:
INCBIN "baserom.gbc", $C504C, $C5074 - $C504C
LoggedData_0xC5074:
INCBIN "baserom.gbc", $C5074, $C5084 - $C5074
Unknown_0xC5084:
INCBIN "baserom.gbc", $C5084, $C50B4 - $C5084
LoggedData_0xC50B4:
INCBIN "baserom.gbc", $C50B4, $C50C6 - $C50B4
Unknown_0xC50C6:
INCBIN "baserom.gbc", $C50C6, $C50C8 - $C50C6
LoggedData_0xC50C8:
INCBIN "baserom.gbc", $C50C8, $C50CA - $C50C8
Unknown_0xC50CA:
INCBIN "baserom.gbc", $C50CA, $C50CE - $C50CA
LoggedData_0xC50CE:
INCBIN "baserom.gbc", $C50CE, $C50D0 - $C50CE
Unknown_0xC50D0:
INCBIN "baserom.gbc", $C50D0, $C50DA - $C50D0
LoggedData_0xC50DA:
INCBIN "baserom.gbc", $C50DA, $C50DC - $C50DA
Unknown_0xC50DC:
INCBIN "baserom.gbc", $C50DC, $C5100 - $C50DC
LoggedData_0xC5100:
INCBIN "baserom.gbc", $C5100, $C5110 - $C5100
Unknown_0xC5110:
INCBIN "baserom.gbc", $C5110, $C5118 - $C5110
LoggedData_0xC5118:
INCBIN "baserom.gbc", $C5118, $C5120 - $C5118
Unknown_0xC5120:
INCBIN "baserom.gbc", $C5120, $C5188 - $C5120
LoggedData_0xC5188:
INCBIN "baserom.gbc", $C5188, $C518A - $C5188
Unknown_0xC518A:
INCBIN "baserom.gbc", $C518A, $C518C - $C518A
LoggedData_0xC518C:
INCBIN "baserom.gbc", $C518C, $C5190 - $C518C
Unknown_0xC5190:
INCBIN "baserom.gbc", $C5190, $C519E - $C5190
LoggedData_0xC519E:
INCBIN "baserom.gbc", $C519E, $C51A2 - $C519E
Unknown_0xC51A2:
INCBIN "baserom.gbc", $C51A2, $C51A6 - $C51A2
LoggedData_0xC51A6:
INCBIN "baserom.gbc", $C51A6, $C51AA - $C51A6
Unknown_0xC51AA:
INCBIN "baserom.gbc", $C51AA, $C51BA - $C51AA
LoggedData_0xC51BA:
INCBIN "baserom.gbc", $C51BA, $C51BC - $C51BA
Unknown_0xC51BC:
INCBIN "baserom.gbc", $C51BC, $C51C0 - $C51BC
LoggedData_0xC51C0:
INCBIN "baserom.gbc", $C51C0, $C51DC - $C51C0
Unknown_0xC51DC:
INCBIN "baserom.gbc", $C51DC, $C51F4 - $C51DC
LoggedData_0xC51F4:
INCBIN "baserom.gbc", $C51F4, $C520C - $C51F4
Unknown_0xC520C:
INCBIN "baserom.gbc", $C520C, $C522C - $C520C
LoggedData_0xC522C:
INCBIN "baserom.gbc", $C522C, $C5234 - $C522C
Unknown_0xC5234:
INCBIN "baserom.gbc", $C5234, $C523C - $C5234
LoggedData_0xC523C:
INCBIN "baserom.gbc", $C523C, $C524E - $C523C
Unknown_0xC524E:
INCBIN "baserom.gbc", $C524E, $C5250 - $C524E
LoggedData_0xC5250:
INCBIN "baserom.gbc", $C5250, $C5252 - $C5250
Unknown_0xC5252:
INCBIN "baserom.gbc", $C5252, $C5258 - $C5252
LoggedData_0xC5258:
INCBIN "baserom.gbc", $C5258, $C525A - $C5258
Unknown_0xC525A:
INCBIN "baserom.gbc", $C525A, $C5274 - $C525A
LoggedData_0xC5274:
INCBIN "baserom.gbc", $C5274, $C5276 - $C5274
Unknown_0xC5276:
INCBIN "baserom.gbc", $C5276, $C5278 - $C5276
LoggedData_0xC5278:
INCBIN "baserom.gbc", $C5278, $C527C - $C5278
Unknown_0xC527C:
INCBIN "baserom.gbc", $C527C, $C5288 - $C527C
LoggedData_0xC5288:
INCBIN "baserom.gbc", $C5288, $C5298 - $C5288
Unknown_0xC5298:
INCBIN "baserom.gbc", $C5298, $C52A8 - $C5298
LoggedData_0xC52A8:
INCBIN "baserom.gbc", $C52A8, $C52B0 - $C52A8
Unknown_0xC52B0:
INCBIN "baserom.gbc", $C52B0, $C52D0 - $C52B0
LoggedData_0xC52D0:
INCBIN "baserom.gbc", $C52D0, $C52E8 - $C52D0
Unknown_0xC52E8:
INCBIN "baserom.gbc", $C52E8, $C53C4 - $C52E8
LoggedData_0xC53C4:
INCBIN "baserom.gbc", $C53C4, $C53C6 - $C53C4
Unknown_0xC53C6:
INCBIN "baserom.gbc", $C53C6, $C53DE - $C53C6
LoggedData_0xC53DE:
INCBIN "baserom.gbc", $C53DE, $C53E4 - $C53DE
Unknown_0xC53E4:
INCBIN "baserom.gbc", $C53E4, $C53EC - $C53E4
LoggedData_0xC53EC:
INCBIN "baserom.gbc", $C53EC, $C53EE - $C53EC
Unknown_0xC53EE:
INCBIN "baserom.gbc", $C53EE, $C53F0 - $C53EE
LoggedData_0xC53F0:
INCBIN "baserom.gbc", $C53F0, $C53F2 - $C53F0
Unknown_0xC53F2:
INCBIN "baserom.gbc", $C53F2, $C53FA - $C53F2
LoggedData_0xC53FA:
INCBIN "baserom.gbc", $C53FA, $C53FC - $C53FA
Unknown_0xC53FC:
INCBIN "baserom.gbc", $C53FC, $C5400 - $C53FC
LoggedData_0xC5400:
INCBIN "baserom.gbc", $C5400, $C5408 - $C5400
Unknown_0xC5408:
INCBIN "baserom.gbc", $C5408, $C5420 - $C5408
LoggedData_0xC5420:
INCBIN "baserom.gbc", $C5420, $C5438 - $C5420
Unknown_0xC5438:
INCBIN "baserom.gbc", $C5438, $C5440 - $C5438
LoggedData_0xC5440:
INCBIN "baserom.gbc", $C5440, $C5448 - $C5440
Unknown_0xC5448:
INCBIN "baserom.gbc", $C5448, $C5450 - $C5448
LoggedData_0xC5450:
INCBIN "baserom.gbc", $C5450, $C5458 - $C5450
Unknown_0xC5458:
INCBIN "baserom.gbc", $C5458, $C5470 - $C5458
LoggedData_0xC5470:
INCBIN "baserom.gbc", $C5470, $C547A - $C5470
Unknown_0xC547A:
INCBIN "baserom.gbc", $C547A, $C5486 - $C547A
LoggedData_0xC5486:
INCBIN "baserom.gbc", $C5486, $C5488 - $C5486
Unknown_0xC5488:
INCBIN "baserom.gbc", $C5488, $C548C - $C5488
LoggedData_0xC548C:
INCBIN "baserom.gbc", $C548C, $C548E - $C548C
Unknown_0xC548E:
INCBIN "baserom.gbc", $C548E, $C5490 - $C548E
LoggedData_0xC5490:
INCBIN "baserom.gbc", $C5490, $C549A - $C5490
Unknown_0xC549A:
INCBIN "baserom.gbc", $C549A, $C54A0 - $C549A
LoggedData_0xC54A0:
INCBIN "baserom.gbc", $C54A0, $C54A2 - $C54A0
Unknown_0xC54A2:
INCBIN "baserom.gbc", $C54A2, $C54A4 - $C54A2
LoggedData_0xC54A4:
INCBIN "baserom.gbc", $C54A4, $C54AA - $C54A4
Unknown_0xC54AA:
INCBIN "baserom.gbc", $C54AA, $C54AE - $C54AA
LoggedData_0xC54AE:
INCBIN "baserom.gbc", $C54AE, $C54B0 - $C54AE
Unknown_0xC54B0:
INCBIN "baserom.gbc", $C54B0, $C54B4 - $C54B0
LoggedData_0xC54B4:
INCBIN "baserom.gbc", $C54B4, $C54FC - $C54B4
Unknown_0xC54FC:
INCBIN "baserom.gbc", $C54FC, $C5504 - $C54FC
LoggedData_0xC5504:
INCBIN "baserom.gbc", $C5504, $C551C - $C5504
Unknown_0xC551C:
INCBIN "baserom.gbc", $C551C, $C5524 - $C551C
LoggedData_0xC5524:
INCBIN "baserom.gbc", $C5524, $C552C - $C5524
Unknown_0xC552C:
INCBIN "baserom.gbc", $C552C, $C56AC - $C552C
LoggedData_0xC56AC:
INCBIN "baserom.gbc", $C56AC, $C56AE - $C56AC
Unknown_0xC56AE:
INCBIN "baserom.gbc", $C56AE, $C56CA - $C56AE
LoggedData_0xC56CA:
INCBIN "baserom.gbc", $C56CA, $C56CC - $C56CA
Unknown_0xC56CC:
INCBIN "baserom.gbc", $C56CC, $C56E8 - $C56CC
LoggedData_0xC56E8:
INCBIN "baserom.gbc", $C56E8, $C56F0 - $C56E8
Unknown_0xC56F0:
INCBIN "baserom.gbc", $C56F0, $C5718 - $C56F0
LoggedData_0xC5718:
INCBIN "baserom.gbc", $C5718, $C5720 - $C5718
Unknown_0xC5720:
INCBIN "baserom.gbc", $C5720, $C5778 - $C5720
LoggedData_0xC5778:
INCBIN "baserom.gbc", $C5778, $C577A - $C5778
Unknown_0xC577A:
INCBIN "baserom.gbc", $C577A, $C57B4 - $C577A
LoggedData_0xC57B4:
INCBIN "baserom.gbc", $C57B4, $C57BC - $C57B4
Unknown_0xC57BC:
INCBIN "baserom.gbc", $C57BC, $C5844 - $C57BC
LoggedData_0xC5844:
INCBIN "baserom.gbc", $C5844, $C5848 - $C5844
Unknown_0xC5848:
INCBIN "baserom.gbc", $C5848, $C584A - $C5848
LoggedData_0xC584A:
INCBIN "baserom.gbc", $C584A, $C584C - $C584A
Unknown_0xC584C:
INCBIN "baserom.gbc", $C584C, $C5852 - $C584C
LoggedData_0xC5852:
INCBIN "baserom.gbc", $C5852, $C5856 - $C5852
Unknown_0xC5856:
INCBIN "baserom.gbc", $C5856, $C585E - $C5856
LoggedData_0xC585E:
INCBIN "baserom.gbc", $C585E, $C5860 - $C585E
Unknown_0xC5860:
INCBIN "baserom.gbc", $C5860, $C5866 - $C5860
LoggedData_0xC5866:
INCBIN "baserom.gbc", $C5866, $C586E - $C5866
Unknown_0xC586E:
INCBIN "baserom.gbc", $C586E, $C5870 - $C586E
LoggedData_0xC5870:
INCBIN "baserom.gbc", $C5870, $C5876 - $C5870
Unknown_0xC5876:
INCBIN "baserom.gbc", $C5876, $C5880 - $C5876
LoggedData_0xC5880:
INCBIN "baserom.gbc", $C5880, $C58B0 - $C5880
Unknown_0xC58B0:
INCBIN "baserom.gbc", $C58B0, $C58C0 - $C58B0
LoggedData_0xC58C0:
INCBIN "baserom.gbc", $C58C0, $C58E0 - $C58C0
Unknown_0xC58E0:
INCBIN "baserom.gbc", $C58E0, $C58E8 - $C58E0
LoggedData_0xC58E8:
INCBIN "baserom.gbc", $C58E8, $C5900 - $C58E8
Unknown_0xC5900:
INCBIN "baserom.gbc", $C5900, $C5910 - $C5900
LoggedData_0xC5910:
INCBIN "baserom.gbc", $C5910, $C5918 - $C5910
Unknown_0xC5918:
INCBIN "baserom.gbc", $C5918, $C5924 - $C5918
LoggedData_0xC5924:
INCBIN "baserom.gbc", $C5924, $C5926 - $C5924
Unknown_0xC5926:
INCBIN "baserom.gbc", $C5926, $C5928 - $C5926
LoggedData_0xC5928:
INCBIN "baserom.gbc", $C5928, $C592A - $C5928
Unknown_0xC592A:
INCBIN "baserom.gbc", $C592A, $C5938 - $C592A
LoggedData_0xC5938:
INCBIN "baserom.gbc", $C5938, $C593C - $C5938
Unknown_0xC593C:
INCBIN "baserom.gbc", $C593C, $C5940 - $C593C
LoggedData_0xC5940:
INCBIN "baserom.gbc", $C5940, $C5942 - $C5940
Unknown_0xC5942:
INCBIN "baserom.gbc", $C5942, $C594C - $C5942
LoggedData_0xC594C:
INCBIN "baserom.gbc", $C594C, $C596C - $C594C
Unknown_0xC596C:
INCBIN "baserom.gbc", $C596C, $C597C - $C596C
LoggedData_0xC597C:
INCBIN "baserom.gbc", $C597C, $C598C - $C597C
Unknown_0xC598C:
INCBIN "baserom.gbc", $C598C, $C59B4 - $C598C
LoggedData_0xC59B4:
INCBIN "baserom.gbc", $C59B4, $C59C4 - $C59B4
Unknown_0xC59C4:
INCBIN "baserom.gbc", $C59C4, $C59D4 - $C59C4
LoggedData_0xC59D4:
INCBIN "baserom.gbc", $C59D4, $C59DC - $C59D4
Unknown_0xC59DC:
INCBIN "baserom.gbc", $C59DC, $C5AD8 - $C59DC
LoggedData_0xC5AD8:
INCBIN "baserom.gbc", $C5AD8, $C5AE0 - $C5AD8
Unknown_0xC5AE0:
INCBIN "baserom.gbc", $C5AE0, $C5AE2 - $C5AE0
LoggedData_0xC5AE2:
INCBIN "baserom.gbc", $C5AE2, $C5AE4 - $C5AE2
Unknown_0xC5AE4:
INCBIN "baserom.gbc", $C5AE4, $C5AEA - $C5AE4
LoggedData_0xC5AEA:
INCBIN "baserom.gbc", $C5AEA, $C5AEE - $C5AEA
Unknown_0xC5AEE:
INCBIN "baserom.gbc", $C5AEE, $C5AF0 - $C5AEE
LoggedData_0xC5AF0:
INCBIN "baserom.gbc", $C5AF0, $C5AF6 - $C5AF0
Unknown_0xC5AF6:
INCBIN "baserom.gbc", $C5AF6, $C5AF8 - $C5AF6
LoggedData_0xC5AF8:
INCBIN "baserom.gbc", $C5AF8, $C5AFA - $C5AF8
Unknown_0xC5AFA:
INCBIN "baserom.gbc", $C5AFA, $C5B00 - $C5AFA
LoggedData_0xC5B00:
INCBIN "baserom.gbc", $C5B00, $C5B04 - $C5B00
Unknown_0xC5B04:
INCBIN "baserom.gbc", $C5B04, $C5B08 - $C5B04
LoggedData_0xC5B08:
INCBIN "baserom.gbc", $C5B08, $C5B0E - $C5B08
Unknown_0xC5B0E:
INCBIN "baserom.gbc", $C5B0E, $C5B10 - $C5B0E
LoggedData_0xC5B10:
INCBIN "baserom.gbc", $C5B10, $C5B12 - $C5B10
Unknown_0xC5B12:
INCBIN "baserom.gbc", $C5B12, $C5B14 - $C5B12
LoggedData_0xC5B14:
INCBIN "baserom.gbc", $C5B14, $C5B6C - $C5B14
Unknown_0xC5B6C:
INCBIN "baserom.gbc", $C5B6C, $C5B7C - $C5B6C
LoggedData_0xC5B7C:
INCBIN "baserom.gbc", $C5B7C, $C5B8C - $C5B7C
Unknown_0xC5B8C:
INCBIN "baserom.gbc", $C5B8C, $C5B9C - $C5B8C
LoggedData_0xC5B9C:
INCBIN "baserom.gbc", $C5B9C, $C5BC4 - $C5B9C
Unknown_0xC5BC4:
INCBIN "baserom.gbc", $C5BC4, $C5BD0 - $C5BC4
LoggedData_0xC5BD0:
INCBIN "baserom.gbc", $C5BD0, $C5BD2 - $C5BD0
Unknown_0xC5BD2:
INCBIN "baserom.gbc", $C5BD2, $C5BD4 - $C5BD2
LoggedData_0xC5BD4:
INCBIN "baserom.gbc", $C5BD4, $C5BD6 - $C5BD4
Unknown_0xC5BD6:
INCBIN "baserom.gbc", $C5BD6, $C5BDE - $C5BD6
LoggedData_0xC5BDE:
INCBIN "baserom.gbc", $C5BDE, $C5BE2 - $C5BDE
Unknown_0xC5BE2:
INCBIN "baserom.gbc", $C5BE2, $C5BE4 - $C5BE2
LoggedData_0xC5BE4:
INCBIN "baserom.gbc", $C5BE4, $C5BEC - $C5BE4
Unknown_0xC5BEC:
INCBIN "baserom.gbc", $C5BEC, $C5BF8 - $C5BEC
LoggedData_0xC5BF8:
INCBIN "baserom.gbc", $C5BF8, $C5C18 - $C5BF8
Unknown_0xC5C18:
INCBIN "baserom.gbc", $C5C18, $C5C28 - $C5C18
LoggedData_0xC5C28:
INCBIN "baserom.gbc", $C5C28, $C5C38 - $C5C28
Unknown_0xC5C38:
INCBIN "baserom.gbc", $C5C38, $C5C50 - $C5C38
LoggedData_0xC5C50:
INCBIN "baserom.gbc", $C5C50, $C5C80 - $C5C50
Unknown_0xC5C80:
INCBIN "baserom.gbc", $C5C80, $C5CA0 - $C5C80
LoggedData_0xC5CA0:
INCBIN "baserom.gbc", $C5CA0, $C5CA2 - $C5CA0
Unknown_0xC5CA2:
INCBIN "baserom.gbc", $C5CA2, $C5CBA - $C5CA2
LoggedData_0xC5CBA:
INCBIN "baserom.gbc", $C5CBA, $C5CBC - $C5CBA
Unknown_0xC5CBC:
INCBIN "baserom.gbc", $C5CBC, $C5CDC - $C5CBC
LoggedData_0xC5CDC:
INCBIN "baserom.gbc", $C5CDC, $C5CE4 - $C5CDC
Unknown_0xC5CE4:
INCBIN "baserom.gbc", $C5CE4, $C5D14 - $C5CE4
LoggedData_0xC5D14:
INCBIN "baserom.gbc", $C5D14, $C5D1C - $C5D14
Unknown_0xC5D1C:
INCBIN "baserom.gbc", $C5D1C, $C5D5C - $C5D1C
LoggedData_0xC5D5C:
INCBIN "baserom.gbc", $C5D5C, $C5D5E - $C5D5C
Unknown_0xC5D5E:
INCBIN "baserom.gbc", $C5D5E, $C5D64 - $C5D5E
LoggedData_0xC5D64:
INCBIN "baserom.gbc", $C5D64, $C5D66 - $C5D64
Unknown_0xC5D66:
INCBIN "baserom.gbc", $C5D66, $C5D72 - $C5D66
LoggedData_0xC5D72:
INCBIN "baserom.gbc", $C5D72, $C5D74 - $C5D72
Unknown_0xC5D74:
INCBIN "baserom.gbc", $C5D74, $C5D7C - $C5D74
LoggedData_0xC5D7C:
INCBIN "baserom.gbc", $C5D7C, $C5D7E - $C5D7C
Unknown_0xC5D7E:
INCBIN "baserom.gbc", $C5D7E, $C5D84 - $C5D7E
LoggedData_0xC5D84:
INCBIN "baserom.gbc", $C5D84, $C5D86 - $C5D84
Unknown_0xC5D86:
INCBIN "baserom.gbc", $C5D86, $C5D88 - $C5D86
LoggedData_0xC5D88:
INCBIN "baserom.gbc", $C5D88, $C5D8A - $C5D88
Unknown_0xC5D8A:
INCBIN "baserom.gbc", $C5D8A, $C5D90 - $C5D8A
LoggedData_0xC5D90:
INCBIN "baserom.gbc", $C5D90, $C5D92 - $C5D90
Unknown_0xC5D92:
INCBIN "baserom.gbc", $C5D92, $C5D98 - $C5D92
LoggedData_0xC5D98:
INCBIN "baserom.gbc", $C5D98, $C5DA0 - $C5D98
Unknown_0xC5DA0:
INCBIN "baserom.gbc", $C5DA0, $C5DA8 - $C5DA0
LoggedData_0xC5DA8:
INCBIN "baserom.gbc", $C5DA8, $C5DB0 - $C5DA8
Unknown_0xC5DB0:
INCBIN "baserom.gbc", $C5DB0, $C5DC8 - $C5DB0
LoggedData_0xC5DC8:
INCBIN "baserom.gbc", $C5DC8, $C5DD0 - $C5DC8
Unknown_0xC5DD0:
INCBIN "baserom.gbc", $C5DD0, $C5DD8 - $C5DD0
LoggedData_0xC5DD8:
INCBIN "baserom.gbc", $C5DD8, $C5DE0 - $C5DD8
Unknown_0xC5DE0:
INCBIN "baserom.gbc", $C5DE0, $C5DE8 - $C5DE0
LoggedData_0xC5DE8:
INCBIN "baserom.gbc", $C5DE8, $C5DF0 - $C5DE8
Unknown_0xC5DF0:
INCBIN "baserom.gbc", $C5DF0, $C5DF8 - $C5DF0
LoggedData_0xC5DF8:
INCBIN "baserom.gbc", $C5DF8, $C5E00 - $C5DF8
Unknown_0xC5E00:
INCBIN "baserom.gbc", $C5E00, $C5E08 - $C5E00
LoggedData_0xC5E08:
INCBIN "baserom.gbc", $C5E08, $C5E10 - $C5E08
Unknown_0xC5E10:
INCBIN "baserom.gbc", $C5E10, $C5E18 - $C5E10
LoggedData_0xC5E18:
INCBIN "baserom.gbc", $C5E18, $C5E1A - $C5E18
Unknown_0xC5E1A:
INCBIN "baserom.gbc", $C5E1A, $C5E20 - $C5E1A
LoggedData_0xC5E20:
INCBIN "baserom.gbc", $C5E20, $C5E24 - $C5E20
Unknown_0xC5E24:
INCBIN "baserom.gbc", $C5E24, $C5E44 - $C5E24
LoggedData_0xC5E44:
INCBIN "baserom.gbc", $C5E44, $C5E46 - $C5E44
Unknown_0xC5E46:
INCBIN "baserom.gbc", $C5E46, $C5E54 - $C5E46
LoggedData_0xC5E54:
INCBIN "baserom.gbc", $C5E54, $C5E5C - $C5E54
Unknown_0xC5E5C:
INCBIN "baserom.gbc", $C5E5C, $C5E64 - $C5E5C
LoggedData_0xC5E64:
INCBIN "baserom.gbc", $C5E64, $C5E74 - $C5E64
Unknown_0xC5E74:
INCBIN "baserom.gbc", $C5E74, $C5EB4 - $C5E74
LoggedData_0xC5EB4:
INCBIN "baserom.gbc", $C5EB4, $C5EBC - $C5EB4
Unknown_0xC5EBC:
INCBIN "baserom.gbc", $C5EBC, $C5ED4 - $C5EBC
LoggedData_0xC5ED4:
INCBIN "baserom.gbc", $C5ED4, $C5ED6 - $C5ED4
Unknown_0xC5ED6:
INCBIN "baserom.gbc", $C5ED6, $C5EDA - $C5ED6
LoggedData_0xC5EDA:
INCBIN "baserom.gbc", $C5EDA, $C5EDC - $C5EDA
Unknown_0xC5EDC:
INCBIN "baserom.gbc", $C5EDC, $C5F10 - $C5EDC
LoggedData_0xC5F10:
INCBIN "baserom.gbc", $C5F10, $C5F20 - $C5F10
Unknown_0xC5F20:
INCBIN "baserom.gbc", $C5F20, $C5F90 - $C5F20
LoggedData_0xC5F90:
INCBIN "baserom.gbc", $C5F90, $C5F92 - $C5F90
Unknown_0xC5F92:
INCBIN "baserom.gbc", $C5F92, $C5FAA - $C5F92
LoggedData_0xC5FAA:
INCBIN "baserom.gbc", $C5FAA, $C5FAC - $C5FAA
Unknown_0xC5FAC:
INCBIN "baserom.gbc", $C5FAC, $C5FAE - $C5FAC
LoggedData_0xC5FAE:
INCBIN "baserom.gbc", $C5FAE, $C5FB0 - $C5FAE
Unknown_0xC5FB0:
INCBIN "baserom.gbc", $C5FB0, $C5FC2 - $C5FB0
LoggedData_0xC5FC2:
INCBIN "baserom.gbc", $C5FC2, $C5FC4 - $C5FC2
Unknown_0xC5FC4:
INCBIN "baserom.gbc", $C5FC4, $C5FC6 - $C5FC4
LoggedData_0xC5FC6:
INCBIN "baserom.gbc", $C5FC6, $C5FCA - $C5FC6
Unknown_0xC5FCA:
INCBIN "baserom.gbc", $C5FCA, $C5FCC - $C5FCA
LoggedData_0xC5FCC:
INCBIN "baserom.gbc", $C5FCC, $C5FD4 - $C5FCC
Unknown_0xC5FD4:
INCBIN "baserom.gbc", $C5FD4, $C602C - $C5FD4
LoggedData_0xC602C:
INCBIN "baserom.gbc", $C602C, $C6034 - $C602C
Unknown_0xC6034:
INCBIN "baserom.gbc", $C6034, $C6044 - $C6034
LoggedData_0xC6044:
INCBIN "baserom.gbc", $C6044, $C604C - $C6044
Unknown_0xC604C:
INCBIN "baserom.gbc", $C604C, $C6054 - $C604C
LoggedData_0xC6054:
INCBIN "baserom.gbc", $C6054, $C605E - $C6054
Unknown_0xC605E:
INCBIN "baserom.gbc", $C605E, $C606A - $C605E
LoggedData_0xC606A:
INCBIN "baserom.gbc", $C606A, $C606E - $C606A
Unknown_0xC606E:
INCBIN "baserom.gbc", $C606E, $C6074 - $C606E
LoggedData_0xC6074:
INCBIN "baserom.gbc", $C6074, $C6076 - $C6074
Unknown_0xC6076:
INCBIN "baserom.gbc", $C6076, $C607C - $C6076
LoggedData_0xC607C:
INCBIN "baserom.gbc", $C607C, $C6080 - $C607C
Unknown_0xC6080:
INCBIN "baserom.gbc", $C6080, $C6098 - $C6080
LoggedData_0xC6098:
INCBIN "baserom.gbc", $C6098, $C60A0 - $C6098
Unknown_0xC60A0:
INCBIN "baserom.gbc", $C60A0, $C60C8 - $C60A0
LoggedData_0xC60C8:
INCBIN "baserom.gbc", $C60C8, $C60E0 - $C60C8
Unknown_0xC60E0:
INCBIN "baserom.gbc", $C60E0, $C60F0 - $C60E0
LoggedData_0xC60F0:
INCBIN "baserom.gbc", $C60F0, $C60F8 - $C60F0
Unknown_0xC60F8:
INCBIN "baserom.gbc", $C60F8, $C6128 - $C60F8
LoggedData_0xC6128:
INCBIN "baserom.gbc", $C6128, $C6132 - $C6128
Unknown_0xC6132:
INCBIN "baserom.gbc", $C6132, $C613C - $C6132
LoggedData_0xC613C:
INCBIN "baserom.gbc", $C613C, $C6140 - $C613C
Unknown_0xC6140:
INCBIN "baserom.gbc", $C6140, $C6144 - $C6140
LoggedData_0xC6144:
INCBIN "baserom.gbc", $C6144, $C6148 - $C6144
Unknown_0xC6148:
INCBIN "baserom.gbc", $C6148, $C614E - $C6148
LoggedData_0xC614E:
INCBIN "baserom.gbc", $C614E, $C6150 - $C614E
Unknown_0xC6150:
INCBIN "baserom.gbc", $C6150, $C6158 - $C6150
LoggedData_0xC6158:
INCBIN "baserom.gbc", $C6158, $C615E - $C6158
Unknown_0xC615E:
INCBIN "baserom.gbc", $C615E, $C6160 - $C615E
LoggedData_0xC6160:
INCBIN "baserom.gbc", $C6160, $C618C - $C6160
Unknown_0xC618C:
INCBIN "baserom.gbc", $C618C, $C61AC - $C618C
LoggedData_0xC61AC:
INCBIN "baserom.gbc", $C61AC, $C61BC - $C61AC
Unknown_0xC61BC:
INCBIN "baserom.gbc", $C61BC, $C61C4 - $C61BC
LoggedData_0xC61C4:
INCBIN "baserom.gbc", $C61C4, $C61CC - $C61C4
Unknown_0xC61CC:
INCBIN "baserom.gbc", $C61CC, $C61D4 - $C61CC
LoggedData_0xC61D4:
INCBIN "baserom.gbc", $C61D4, $C61F6 - $C61D4
Unknown_0xC61F6:
INCBIN "baserom.gbc", $C61F6, $C620E - $C61F6
LoggedData_0xC620E:
INCBIN "baserom.gbc", $C620E, $C6212 - $C620E
Unknown_0xC6212:
INCBIN "baserom.gbc", $C6212, $C621C - $C6212
LoggedData_0xC621C:
INCBIN "baserom.gbc", $C621C, $C6220 - $C621C
Unknown_0xC6220:
INCBIN "baserom.gbc", $C6220, $C6230 - $C6220
LoggedData_0xC6230:
INCBIN "baserom.gbc", $C6230, $C6238 - $C6230
Unknown_0xC6238:
INCBIN "baserom.gbc", $C6238, $C6258 - $C6238
LoggedData_0xC6258:
INCBIN "baserom.gbc", $C6258, $C6268 - $C6258
Unknown_0xC6268:
INCBIN "baserom.gbc", $C6268, $C6278 - $C6268
LoggedData_0xC6278:
INCBIN "baserom.gbc", $C6278, $C6288 - $C6278
Unknown_0xC6288:
INCBIN "baserom.gbc", $C6288, $C6298 - $C6288
LoggedData_0xC6298:
INCBIN "baserom.gbc", $C6298, $C629A - $C6298
Unknown_0xC629A:
INCBIN "baserom.gbc", $C629A, $C62C0 - $C629A
LoggedData_0xC62C0:
INCBIN "baserom.gbc", $C62C0, $C62C4 - $C62C0
Unknown_0xC62C4:
INCBIN "baserom.gbc", $C62C4, $C62D4 - $C62C4
LoggedData_0xC62D4:
INCBIN "baserom.gbc", $C62D4, $C62DC - $C62D4
Unknown_0xC62DC:
INCBIN "baserom.gbc", $C62DC, $C631C - $C62DC
LoggedData_0xC631C:
INCBIN "baserom.gbc", $C631C, $C632C - $C631C
Unknown_0xC632C:
INCBIN "baserom.gbc", $C632C, $C63E0 - $C632C
LoggedData_0xC63E0:
INCBIN "baserom.gbc", $C63E0, $C63E2 - $C63E0
Unknown_0xC63E2:
INCBIN "baserom.gbc", $C63E2, $C63F6 - $C63E2
LoggedData_0xC63F6:
INCBIN "baserom.gbc", $C63F6, $C63F8 - $C63F6
Unknown_0xC63F8:
INCBIN "baserom.gbc", $C63F8, $C641C - $C63F8
LoggedData_0xC641C:
INCBIN "baserom.gbc", $C641C, $C6424 - $C641C
Unknown_0xC6424:
INCBIN "baserom.gbc", $C6424, $C643C - $C6424
LoggedData_0xC643C:
INCBIN "baserom.gbc", $C643C, $C6444 - $C643C
Unknown_0xC6444:
INCBIN "baserom.gbc", $C6444, $C6528 - $C6444
LoggedData_0xC6528:
INCBIN "baserom.gbc", $C6528, $C652A - $C6528
Unknown_0xC652A:
INCBIN "baserom.gbc", $C652A, $C6538 - $C652A
LoggedData_0xC6538:
INCBIN "baserom.gbc", $C6538, $C653C - $C6538
Unknown_0xC653C:
INCBIN "baserom.gbc", $C653C, $C6542 - $C653C
LoggedData_0xC6542:
INCBIN "baserom.gbc", $C6542, $C6546 - $C6542
Unknown_0xC6546:
INCBIN "baserom.gbc", $C6546, $C654A - $C6546
LoggedData_0xC654A:
INCBIN "baserom.gbc", $C654A, $C654E - $C654A
Unknown_0xC654E:
INCBIN "baserom.gbc", $C654E, $C6556 - $C654E
LoggedData_0xC6556:
INCBIN "baserom.gbc", $C6556, $C6558 - $C6556
Unknown_0xC6558:
INCBIN "baserom.gbc", $C6558, $C6564 - $C6558
LoggedData_0xC6564:
INCBIN "baserom.gbc", $C6564, $C656C - $C6564
Unknown_0xC656C:
INCBIN "baserom.gbc", $C656C, $C6574 - $C656C
LoggedData_0xC6574:
INCBIN "baserom.gbc", $C6574, $C6584 - $C6574
Unknown_0xC6584:
INCBIN "baserom.gbc", $C6584, $C658C - $C6584
LoggedData_0xC658C:
INCBIN "baserom.gbc", $C658C, $C65AC - $C658C
Unknown_0xC65AC:
INCBIN "baserom.gbc", $C65AC, $C65BC - $C65AC
LoggedData_0xC65BC:
INCBIN "baserom.gbc", $C65BC, $C65C4 - $C65BC
Unknown_0xC65C4:
INCBIN "baserom.gbc", $C65C4, $C65CC - $C65C4
LoggedData_0xC65CC:
INCBIN "baserom.gbc", $C65CC, $C65CE - $C65CC
Unknown_0xC65CE:
INCBIN "baserom.gbc", $C65CE, $C65E6 - $C65CE
LoggedData_0xC65E6:
INCBIN "baserom.gbc", $C65E6, $C65E8 - $C65E6
Unknown_0xC65E8:
INCBIN "baserom.gbc", $C65E8, $C6608 - $C65E8
LoggedData_0xC6608:
INCBIN "baserom.gbc", $C6608, $C6610 - $C6608
Unknown_0xC6610:
INCBIN "baserom.gbc", $C6610, $C6630 - $C6610
LoggedData_0xC6630:
INCBIN "baserom.gbc", $C6630, $C6638 - $C6630
Unknown_0xC6638:
INCBIN "baserom.gbc", $C6638, $C6714 - $C6638
LoggedData_0xC6714:
INCBIN "baserom.gbc", $C6714, $C6718 - $C6714
Unknown_0xC6718:
INCBIN "baserom.gbc", $C6718, $C6728 - $C6718
LoggedData_0xC6728:
INCBIN "baserom.gbc", $C6728, $C672C - $C6728
Unknown_0xC672C:
INCBIN "baserom.gbc", $C672C, $C673E - $C672C
LoggedData_0xC673E:
INCBIN "baserom.gbc", $C673E, $C6740 - $C673E
Unknown_0xC6740:
INCBIN "baserom.gbc", $C6740, $C6750 - $C6740
LoggedData_0xC6750:
INCBIN "baserom.gbc", $C6750, $C6760 - $C6750
Unknown_0xC6760:
INCBIN "baserom.gbc", $C6760, $C6770 - $C6760
LoggedData_0xC6770:
INCBIN "baserom.gbc", $C6770, $C6780 - $C6770
Unknown_0xC6780:
INCBIN "baserom.gbc", $C6780, $C6798 - $C6780
LoggedData_0xC6798:
INCBIN "baserom.gbc", $C6798, $C67A0 - $C6798
Unknown_0xC67A0:
INCBIN "baserom.gbc", $C67A0, $C67A8 - $C67A0
LoggedData_0xC67A8:
INCBIN "baserom.gbc", $C67A8, $C67AA - $C67A8
Unknown_0xC67AA:
INCBIN "baserom.gbc", $C67AA, $C67B2 - $C67AA
LoggedData_0xC67B2:
INCBIN "baserom.gbc", $C67B2, $C67B4 - $C67B2
Unknown_0xC67B4:
INCBIN "baserom.gbc", $C67B4, $C67BA - $C67B4
LoggedData_0xC67BA:
INCBIN "baserom.gbc", $C67BA, $C67BC - $C67BA
Unknown_0xC67BC:
INCBIN "baserom.gbc", $C67BC, $C67C2 - $C67BC
LoggedData_0xC67C2:
INCBIN "baserom.gbc", $C67C2, $C67C4 - $C67C2
Unknown_0xC67C4:
INCBIN "baserom.gbc", $C67C4, $C67D8 - $C67C4
LoggedData_0xC67D8:
INCBIN "baserom.gbc", $C67D8, $C67DA - $C67D8
Unknown_0xC67DA:
INCBIN "baserom.gbc", $C67DA, $C67E4 - $C67DA
LoggedData_0xC67E4:
INCBIN "baserom.gbc", $C67E4, $C67EC - $C67E4
Unknown_0xC67EC:
INCBIN "baserom.gbc", $C67EC, $C67F4 - $C67EC
LoggedData_0xC67F4:
INCBIN "baserom.gbc", $C67F4, $C6804 - $C67F4
Unknown_0xC6804:
INCBIN "baserom.gbc", $C6804, $C6814 - $C6804
LoggedData_0xC6814:
INCBIN "baserom.gbc", $C6814, $C681C - $C6814
Unknown_0xC681C:
INCBIN "baserom.gbc", $C681C, $C6834 - $C681C
LoggedData_0xC6834:
INCBIN "baserom.gbc", $C6834, $C683C - $C6834
Unknown_0xC683C:
INCBIN "baserom.gbc", $C683C, $C6964 - $C683C
LoggedData_0xC6964:
INCBIN "baserom.gbc", $C6964, $C6966 - $C6964
Unknown_0xC6966:
INCBIN "baserom.gbc", $C6966, $C696E - $C6966
LoggedData_0xC696E:
INCBIN "baserom.gbc", $C696E, $C6970 - $C696E
Unknown_0xC6970:
INCBIN "baserom.gbc", $C6970, $C6978 - $C6970
LoggedData_0xC6978:
INCBIN "baserom.gbc", $C6978, $C697C - $C6978
Unknown_0xC697C:
INCBIN "baserom.gbc", $C697C, $C697E - $C697C
LoggedData_0xC697E:
INCBIN "baserom.gbc", $C697E, $C6980 - $C697E
Unknown_0xC6980:
INCBIN "baserom.gbc", $C6980, $C6986 - $C6980
LoggedData_0xC6986:
INCBIN "baserom.gbc", $C6986, $C6988 - $C6986
Unknown_0xC6988:
INCBIN "baserom.gbc", $C6988, $C69A0 - $C6988
LoggedData_0xC69A0:
INCBIN "baserom.gbc", $C69A0, $C69A8 - $C69A0
Unknown_0xC69A8:
INCBIN "baserom.gbc", $C69A8, $C69B0 - $C69A8
LoggedData_0xC69B0:
INCBIN "baserom.gbc", $C69B0, $C69B8 - $C69B0
Unknown_0xC69B8:
INCBIN "baserom.gbc", $C69B8, $C69C0 - $C69B8
LoggedData_0xC69C0:
INCBIN "baserom.gbc", $C69C0, $C69D8 - $C69C0
Unknown_0xC69D8:
INCBIN "baserom.gbc", $C69D8, $C69E0 - $C69D8
LoggedData_0xC69E0:
INCBIN "baserom.gbc", $C69E0, $C69E8 - $C69E0
Unknown_0xC69E8:
INCBIN "baserom.gbc", $C69E8, $C69F8 - $C69E8
LoggedData_0xC69F8:
INCBIN "baserom.gbc", $C69F8, $C69FC - $C69F8
Unknown_0xC69FC:
INCBIN "baserom.gbc", $C69FC, $C6A34 - $C69FC
LoggedData_0xC6A34:
INCBIN "baserom.gbc", $C6A34, $C6A44 - $C6A34
Unknown_0xC6A44:
INCBIN "baserom.gbc", $C6A44, $C6A8C - $C6A44
LoggedData_0xC6A8C:
INCBIN "baserom.gbc", $C6A8C, $C6A8E - $C6A8C
Unknown_0xC6A8E:
INCBIN "baserom.gbc", $C6A8E, $C6AC8 - $C6A8E
LoggedData_0xC6AC8:
INCBIN "baserom.gbc", $C6AC8, $C6AD0 - $C6AC8
Unknown_0xC6AD0:
INCBIN "baserom.gbc", $C6AD0, $C8000 - $C6AD0
SECTION "Bank32", ROMX, BANK[$32]
LoggedData_0xC8000:
INCBIN "baserom.gbc", $C8000, $C807E - $C8000
Unknown_0xC807E:
INCBIN "baserom.gbc", $C807E, $C8080 - $C807E
LoggedData_0xC8080:
INCBIN "baserom.gbc", $C8080, $C8098 - $C8080
Unknown_0xC8098:
INCBIN "baserom.gbc", $C8098, $C809A - $C8098
LoggedData_0xC809A:
INCBIN "baserom.gbc", $C809A, $C80B0 - $C809A
Unknown_0xC80B0:
INCBIN "baserom.gbc", $C80B0, $C80C4 - $C80B0
LoggedData_0xC80C4:
INCBIN "baserom.gbc", $C80C4, $CBFC4 - $C80C4
Unknown_0xCBFC4:
INCBIN "baserom.gbc", $CBFC4, $CC000 - $CBFC4
SECTION "Bank33", ROMX, BANK[$33]
LoggedData_0xCC000:
INCBIN "baserom.gbc", $CC000, $CC800 - $CC000
Unknown_0xCC800:
INCBIN "baserom.gbc", $CC800, $CC840 - $CC800
LoggedData_0xCC840:
INCBIN "baserom.gbc", $CC840, $CCD40 - $CC840
Unknown_0xCCD40:
INCBIN "baserom.gbc", $CCD40, $CCD80 - $CCD40
LoggedData_0xCCD80:
INCBIN "baserom.gbc", $CCD80, $CD280 - $CCD80
Unknown_0xCD280:
INCBIN "baserom.gbc", $CD280, $CD2C0 - $CD280
LoggedData_0xCD2C0:
INCBIN "baserom.gbc", $CD2C0, $CDB00 - $CD2C0
Unknown_0xCDB00:
INCBIN "baserom.gbc", $CDB00, $CDB40 - $CDB00
LoggedData_0xCDB40:
INCBIN "baserom.gbc", $CDB40, $CE480 - $CDB40
Unknown_0xCE480:
INCBIN "baserom.gbc", $CE480, $D0000 - $CE480
SECTION "Bank34", ROMX, BANK[$34]
ld a,[rLY]
cp $7C
jr nc,Logged_0xD0070
jr Logged_0xD0008
Logged_0xD0008:
ld a,[$C1AC]
and a
jr z,Logged_0xD0070
ld b,a
ld a,[$C1AF]
inc a
ld [$C1AF],a
cp b
jr c,Logged_0xD0070
xor a
ld [$C1AF],a
ld hl,$4071
ld a,[$C1AD]
add a,a
add a,h
ld h,a
ld a,[$C1AE]
inc a
cp $04
jr nz,Logged_0xD002F
xor a
Logged_0xD002F:
ld [$C1AE],a
swap a
add a,a
add a,a
add a,a
ld e,a
ld d,$00
rl d
add hl,de
ld de,$9700
ld b,$10
ld a,$01
ld [rVBK],a
Logged_0xD0046:
ld a,[rSTAT]
and $03
jr z,Logged_0xD0046
Logged_0xD004C:
ld a,[rSTAT]
and $03
jr nz,Logged_0xD004C
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0xD0046
xor a
ld [rVBK],a
Logged_0xD0070:
ret
LoggedData_0xD0071:
INCBIN "baserom.gbc", $D0071, $D2871 - $D0071
Unknown_0xD2871:
INCBIN "baserom.gbc", $D2871, $D4000 - $D2871
SECTION "Bank35", ROMX, BANK[$35]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0xD402A
dw Logged_0x05ED
dw Logged_0xD41BB
dw Logged_0x0474
dw Logged_0xD4261
dw Logged_0x05E6
dw Logged_0xD434C
dw Logged_0x0474
dw Logged_0xD43E6
dw Logged_0x05E6
dw Logged_0xD4472
dw Unknown_0xD4507
dw Unknown_0xD454C
dw Logged_0xD45F0
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0xD402A:
ld a,$01
ld [$C09A],a
call Logged_0x08E6
call Logged_0x038B
call Logged_0x037D
call Logged_0xD46C2
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld a,[$CEE3]
cp $F0
jr z,Logged_0xD404F
call Logged_0x3AAC
ld a,[hl]
or d
ld [hl],a
Logged_0xD404F:
ld a,[$D000]
rlca
rlca
rlca
jr c,Logged_0xD4066
rlca
jr c,Logged_0xD406A
rlca
jr c,Logged_0xD406E
rlca
jr c,Logged_0xD4072
rlca
jr c,Logged_0xD4076
xor a
jr Logged_0xD4078
Logged_0xD4066:
ld a,$05
jr Logged_0xD4078
Logged_0xD406A:
ld a,$04
jr Logged_0xD4078
Logged_0xD406E:
ld a,$03
jr Logged_0xD4078
Logged_0xD4072:
ld a,$02
jr Logged_0xD4078
Logged_0xD4076:
ld a,$01
Logged_0xD4078:
ld [$CEF2],a
pop af
ld [rSVBK],a
ld a,$78
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
call Logged_0x1BC7
ld a,$78
ld [$FF00+$85],a
ld a,$1A
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,$26
ld [$FF00+$85],a
ld a,$90
ld [$FF00+$8D],a
ld a,$6A
ld [$FF00+$8E],a
call $FF80
ld a,$78
ld [$FF00+$85],a
ld a,$45
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld hl,$9A06
ld a,$01
ld [$FF00+$85],a
ld a,$33
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld a,[$CA5B]
ld b,a
bit 4,b
jr z,Logged_0xD40DF
ld hl,$9903
ld a,$54
ld [hli],a
inc a
ld [hl],a
Logged_0xD40DF:
bit 5,b
jr z,Logged_0xD40EB
ld hl,$9907
ld a,$54
ld [hli],a
inc a
ld [hl],a
Logged_0xD40EB:
bit 6,b
jr z,Logged_0xD40F7
ld hl,$990B
ld a,$5C
ld [hli],a
inc a
ld [hl],a
Logged_0xD40F7:
bit 7,b
jr z,Logged_0xD4103
ld hl,$990F
ld a,$5C
ld [hli],a
inc a
ld [hl],a
Logged_0xD4103:
call Logged_0xD4733
call Logged_0xD4764
xor a
ld [$C085],a
ld [rSCX],a
ld a,$04
ld [$C083],a
ld [rSCY],a
ld a,$78
ld [$FF00+$85],a
ld a,$5B
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,[$CA3C]
and $80
jr z,Logged_0xD4138
ld hl,$D571
call Logged_0x145A
ld hl,$D56A
call Logged_0xD4682
Logged_0xD4138:
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0xD46A2
ld a,[$CED4]
cp $05
jr z,Logged_0xD4157
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0xD4682
Logged_0xD4157:
ld hl,$D532
call Logged_0x145A
ld hl,$D52B
call Logged_0xD4682
ld a,[$CEF2]
and a
jp z,Logged_0xD41B2
dec a
jr z,Logged_0xD41A6
dec a
jr z,Logged_0xD419A
dec a
jr z,Logged_0xD418E
dec a
jr z,Logged_0xD4182
ld hl,$D53A
call Logged_0x145A
ld hl,$D533
call Logged_0xD4682
Logged_0xD4182:
ld hl,$D542
call Logged_0x145A
ld hl,$D53B
call Logged_0xD4682
Logged_0xD418E:
ld hl,$D54E
call Logged_0x145A
ld hl,$D547
call Logged_0xD4682
Logged_0xD419A:
ld hl,$D55A
call Logged_0x145A
ld hl,$D553
call Logged_0xD4682
Logged_0xD41A6:
ld hl,$D565
call Logged_0x145A
ld hl,$D55E
call Logged_0xD4682
Logged_0xD41B2:
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xD41BB:
ld a,[$CA3C]
and $80
jr z,Logged_0xD41CE
ld hl,$D571
call Logged_0x145A
ld hl,$D56A
call Logged_0xD4682
Logged_0xD41CE:
ld hl,$D51C
call Logged_0x145A
ld a,[$D51D]
and a
jr nz,Logged_0xD4203
ld a,[$D514]
and a
jr z,Logged_0xD4203
ld a,$01
ld [$D51D],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,[$CEE3]
cp $F0
jr z,Logged_0xD41FA
ld a,$4D
ld [hli],a
ld a,$1B
ld [hl],a
jr Logged_0xD4200
Logged_0xD41FA:
ld a,$4D
ld [hli],a
ld a,$5F
ld [hl],a
Logged_0xD4200:
call Logged_0x145A
Logged_0xD4203:
ld hl,$D515
call Logged_0xD46A2
ld hl,$D52B
call Logged_0xD4682
ld a,[$CED4]
cp $05
jr z,Logged_0xD4222
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0xD4682
Logged_0xD4222:
ld a,[$CEF2]
and a
jr z,Logged_0xD4252
dec a
jr z,Logged_0xD424C
dec a
jr z,Logged_0xD4246
dec a
jr z,Logged_0xD4240
dec a
jr z,Logged_0xD423A
ld hl,$D533
call Logged_0xD4682
Logged_0xD423A:
ld hl,$D53B
call Logged_0xD4682
Logged_0xD4240:
ld hl,$D547
call Logged_0xD4682
Logged_0xD4246:
ld hl,$D553
call Logged_0xD4682
Logged_0xD424C:
ld hl,$D55E
call Logged_0xD4682
Logged_0xD4252:
call Logged_0x03B9
ld a,[$C094]
bit 0,a
ret z
Logged_0xD425B:
ld a,$08
ld [wGameSubState],a
ret
Logged_0xD4261:
ld a,$01
ld [$C09A],a
call Logged_0x08E6
call Logged_0x038B
call Logged_0x037D
ld a,$F0
ld [$CEE3],a
ld a,$78
ld [$FF00+$85],a
ld a,$0D
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,$78
ld [$FF00+$85],a
ld a,$1A
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,$78
ld [$FF00+$85],a
ld a,$5F
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
call Logged_0xD4764
xor a
ld [$C085],a
ld [rSCX],a
ld a,$04
ld [$C083],a
ld [rSCY],a
ld a,$78
ld [$FF00+$85],a
ld a,$8A
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ld a,[$C0E5]
cp $02
jr nz,Logged_0xD42D3
ld hl,$D571
call Logged_0x145A
ld hl,$D56A
call Logged_0xD4682
Logged_0xD42D3:
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0xD46A2
ld hl,$D532
call Logged_0x145A
ld hl,$D52B
call Logged_0xD4682
ld hl,$D53A
call Logged_0x145A
ld hl,$D533
call Logged_0xD4682
ld a,[$CA5B]
bit 0,a
jr z,Logged_0xD430A
ld hl,$D542
call Logged_0x145A
ld hl,$D53B
call Logged_0xD4682
Logged_0xD430A:
ld a,[$CA5B]
bit 1,a
jr z,Logged_0xD431D
ld hl,$D54E
call Logged_0x145A
ld hl,$D547
call Logged_0xD4682
Logged_0xD431D:
ld a,[$CA5B]
bit 2,a
jr z,Logged_0xD4330
ld hl,$D55A
call Logged_0x145A
ld hl,$D553
call Logged_0xD4682
Logged_0xD4330:
ld a,[$CA5B]
bit 3,a
jr z,Logged_0xD4343
ld hl,$D565
call Logged_0x145A
ld hl,$D55E
call Logged_0xD4682
Logged_0xD4343:
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xD434C:
ld a,[$C0E5]
cp $02
jr nz,Logged_0xD435F
ld hl,$D571
call Logged_0x145A
ld hl,$D56A
call Logged_0xD4682
Logged_0xD435F:
ld hl,$D51C
call Logged_0x145A
ld a,[$D51D]
and a
jr nz,Logged_0xD4394
ld a,[$D514]
and a
jr z,Logged_0xD4394
ld a,$01
ld [$D51D],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,[$C0E5]
cp $02
jr nz,Unknown_0xD438B
ld a,$4D
ld [hli],a
ld a,$1B
ld [hl],a
jr Logged_0xD4391
Unknown_0xD438B:
ld a,$4D
ld [hli],a
ld a,$5F
ld [hl],a
Logged_0xD4391:
call Logged_0x145A
Logged_0xD4394:
ld hl,$D515
call Logged_0xD46A2
ld hl,$D52B
call Logged_0xD4682
ld hl,$D533
call Logged_0xD4682
ld a,[$CA5B]
bit 0,a
jr z,Logged_0xD43B3
ld hl,$D53B
call Logged_0xD4682
Logged_0xD43B3:
ld a,[$CA5B]
bit 1,a
jr z,Logged_0xD43C0
ld hl,$D547
call Logged_0xD4682
Logged_0xD43C0:
ld a,[$CA5B]
bit 2,a
jr z,Logged_0xD43CD
ld hl,$D553
call Logged_0xD4682
Logged_0xD43CD:
ld a,[$CA5B]
bit 3,a
jr z,Logged_0xD43DA
ld hl,$D55E
call Logged_0xD4682
Logged_0xD43DA:
call Logged_0x03B9
ld a,[$C094]
bit 0,a
ret z
jp Logged_0xD425B
Logged_0xD43E6:
call Logged_0x08E6
call Logged_0x038B
call Logged_0x037D
call Logged_0xD464E
call Logged_0xD465B
call Logged_0xD4668
call Logged_0xD47F1
ld a,$FF
ld [$C0E7],a
ld a,[$CA5C]
cp $08
call z,Unknown_0xD483A
call Logged_0xD47A7
xor a
ld [$C085],a
ld [rSCX],a
ld [$C083],a
ld [rSCY],a
ld hl,$D533
ld a,$38
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$D4
ld [hl],a
ld a,$7C
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$7C
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$08
ld [$C1AC],a
ld a,$0F
ld [$C1AD],a
xor a
ld [$C1AF],a
ld [$C1AE],a
inc a
ld [$CED8],a
ld a,$87
ld [rLCDC],a
xor a
ld [$C0E8],a
ld a,$3C
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xD4472:
ld hl,$D53A
ld a,$7C
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$7C
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
ld hl,$CA5C
ld a,[$C0E8]
cp [hl]
jr z,Logged_0xD44DC
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0xD44AB
dec [hl]
ret
Logged_0xD44AB:
ld a,[$C08F]
and $03
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$09
ld [$FF00+hSFXIDLow],a
ld hl,$CE01
ld a,$98
ld [hli],a
ld a,$8B
ld [hli],a
ld a,[$C0E8]
inc a
ld [$C0E8],a
add a,a
add a,$A0
ld b,a
ld [hli],a
ld a,$98
ld [hli],a
ld a,$AB
ld [hli],a
inc b
ld [hl],b
ld a,$80
ld [$CEE4],a
ret
Logged_0xD44DC:
ld a,[$C0E7]
inc a
jp z,Logged_0xD45E1
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3A
ld [$FF00+hSFXIDLow],a
ld hl,$D523
ld a,$42
ld [hli],a
ld a,$60
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$65
ld [hli],a
ld a,$F0
ld [hl],a
call Logged_0x145A
ld hl,wGameSubState
inc [hl]
ret
Unknown_0xD4507:
call Unknown_0xD48C7
push af
ld hl,$D523
call Unknown_0xD48A7
ld hl,$D53A
ld a,$7C
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$7C
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
pop af
and a
ret z
xor a
ld [$CEE5],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3A
ld [$FF00+hSFXIDLow],a
ld hl,wGameSubState
inc [hl]
ret
Unknown_0xD454C:
call Unknown_0xD492E
ld hl,$D523
call Unknown_0xD48A7
ld hl,$D53A
ld a,$7C
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$7C
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $34
jr nc,Unknown_0xD45D9
cp $14
ret nz
ld a,[$C0E7]
ld e,a
ld d,$00
ld hl,$494B
add hl,de
ld b,[hl]
ld a,[$C0E7]
cp $14
jr nc,Unknown_0xD45C0
cp $0F
jr nc,Unknown_0xD45B9
cp $0A
jr nc,Unknown_0xD45B2
cp $05
jr nc,Unknown_0xD45AB
ld hl,$9928
jr Unknown_0xD45C5
Unknown_0xD45AB:
sub $05
ld hl,$9948
jr Unknown_0xD45C5
Unknown_0xD45B2:
sub $0A
ld hl,$9968
jr Unknown_0xD45C5
Unknown_0xD45B9:
sub $0F
ld hl,$9988
jr Unknown_0xD45C5
Unknown_0xD45C0:
sub $14
ld hl,$99A8
Unknown_0xD45C5:
ld e,a
ld d,$00
add hl,de
ld d,h
ld e,l
ld hl,$CE01
ld a,d
ld [hli],a
ld a,e
ld [hli],a
ld [hl],b
ld a,$81
ld [$CEE4],a
ret
Unknown_0xD45D9:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$31
ld [$FF00+hSFXIDLow],a
Logged_0xD45E1:
xor a
ld [$CEE5],a
ld a,$02
ld [$CEE6],a
ld hl,wGameSubState
ld [hl],$0E
ret
Logged_0xD45F0:
ld hl,$D53A
ld a,$7C
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$7C
ld [$FF00+$85],a
ld a,$40
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
ld a,[$C094]
bit 0,a
jr nz,Logged_0xD4628
ld hl,$CEE5
dec [hl]
ret nz
ld hl,$CEE6
dec [hl]
ret nz
Logged_0xD4628:
xor a
ld [$CEE5],a
ld [$CEE6],a
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0xD463E
ld a,[$CA3C]
and $80
jp nz,Logged_0x16D0
Logged_0xD463E:
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xD464E:
ld hl,$50A4
call Logged_0x1A15
ld hl,$50E4
call Logged_0x1A21
ret
Logged_0xD465B:
xor a
ld [rVBK],a
ld hl,$5124
ld bc,_VRAM
call Decompress_BC_HL
ret
Logged_0xD4668:
ld a,$01
ld [rVBK],a
ld hl,$6502
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$63FD
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0xD4682:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$4E26
call Logged_0x0DF4
ret
Logged_0xD46A2:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$49CC
call Logged_0x0DF4
ret
Logged_0xD46C2:
ld a,[$CED4]
cp $05
jr z,Logged_0xD4707
dec a
ld b,a
ld a,[$CA06]
srl a
srl a
srl a
add a,a
add a,a
add a,b
ld e,a
ld d,$00
ld hl,$198F
add hl,de
ld a,[hl]
ld [$CEE3],a
cp $0C
jr z,Logged_0xD470D
cp $07
jr z,Logged_0xD4711
cp $0E
jr z,Logged_0xD4715
cp $0B
jr z,Logged_0xD4719
cp $0A
jr z,Logged_0xD471D
cp $0D
jr z,Logged_0xD4721
cp $08
jr z,Logged_0xD4725
cp $06
jr z,Logged_0xD4729
cp $09
jr z,Logged_0xD472D
ret
Logged_0xD4707:
ld a,$F0
ld [$CEE3],a
ret
Logged_0xD470D:
ld a,$81
jr Logged_0xD472F
Logged_0xD4711:
ld a,$82
jr Logged_0xD472F
Logged_0xD4715:
ld a,$83
jr Logged_0xD472F
Logged_0xD4719:
ld a,$84
jr Logged_0xD472F
Logged_0xD471D:
ld a,$85
jr Logged_0xD472F
Logged_0xD4721:
ld a,$86
jr Logged_0xD472F
Logged_0xD4725:
ld a,$87
jr Logged_0xD472F
Logged_0xD4729:
ld a,$88
jr Logged_0xD472F
Logged_0xD472D:
ld a,$89
Logged_0xD472F:
ld [$CA3C],a
ret
Logged_0xD4733:
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
xor a
ld [$CA3A],a
ld [$CA39],a
ld a,$64
Logged_0xD4743:
push af
call Logged_0x3AAC
and a
jr z,Logged_0xD475C
ld a,[$CA3A]
add a,$01
daa
ld [$CA3A],a
ld a,[$CA39]
adc a,$00
daa
ld [$CA39],a
Logged_0xD475C:
pop af
dec a
jr nz,Logged_0xD4743
pop af
ld [rSVBK],a
ret
Logged_0xD4764:
ld hl,RAMCode_0xD4770
ld de,$C200
ld b,Logged_0xD47A7 - RAMCode_0xD4770
call MemCopy_DE_HL
ret
RAMCode_0xD4770:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
xor a
ld [rVBK],a
ld hl,$971E
ld c,[hl]
ld b,$0F
ld de,$971C
Unknown_0xD4786:
ld a,[de]
ld [hld],a
dec l
dec e
dec e
dec b
jr nz,Unknown_0xD4786
ld [hl],c
ld hl,$971F
ld c,[hl]
ld b,$0F
ld de,$971D
Unknown_0xD4798:
ld a,[de]
ld [hld],a
dec l
dec e
dec e
dec b
jr nz,Unknown_0xD4798
ld [hl],c
ld a,$CC
call $FFE8
ret
Logged_0xD47A7:
ld hl,RAMCode_0xD47B3
ld de,$C200
ld b,Logged_0xD47F1 - RAMCode_0xD47B3
call MemCopy_DE_HL
ret
RAMCode_0xD47B3:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$CEE4]
bit 7,a
jr z,Unknown_0xD47EB
and $7F
jr nz,Unknown_0xD47D9
ld hl,$CE01
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[hli]
ld [de],a
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[hli]
ld [de],a
jr Unknown_0xD47E6
Unknown_0xD47D9:
ld a,$01
ld [rVBK],a
ld hl,$CE01
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[hl]
ld [de],a
Unknown_0xD47E6:
ld hl,$CEE4
res 7,[hl]
Unknown_0xD47EB:
ld a,$CC
call $FFE8
ret
Logged_0xD47F1:
ld a,$01
ld [rVBK],a
ld hl,$CA3E
ld bc,$0308
ld de,$9928
ld a,$FF
ld [$FF00+$A0],a
Logged_0xD4802:
ld a,[$FF00+$A0]
inc a
ld [$FF00+$A0],a
rrc [hl]
call c,Unknown_0xD482A
inc e
ld a,e
and $1F
cp $0D
jr nz,Logged_0xD4818
ld a,e
add a,$1B
ld e,a
Logged_0xD4818:
dec c
jr nz,Logged_0xD4802
inc hl
ld c,$08
dec b
jr nz,Logged_0xD4802
bit 0,[hl]
call nz,Unknown_0xD482A
xor a
ld [rVBK],a
ret
Unknown_0xD482A:
push bc
push hl
ld a,[$FF00+$A0]
ld c,a
ld b,$00
ld hl,$494B
add hl,bc
ld a,[hl]
ld [de],a
pop hl
pop bc
ret
Unknown_0xD483A:
ld a,[$CA06]
srl a
srl a
srl a
ld c,a
ld [$C0E7],a
srl a
srl a
srl a
ld e,a
ld d,$00
ld hl,$CA3E
add hl,de
ld a,c
and $07
ld c,a
jr z,Unknown_0xD485F
Unknown_0xD485A:
rrc [hl]
dec c
jr nz,Unknown_0xD485A
Unknown_0xD485F:
bit 0,[hl]
jr z,Unknown_0xD486C
push af
ld a,$FF
ld [$C0E7],a
pop af
jr Unknown_0xD486E
Unknown_0xD486C:
set 0,[hl]
Unknown_0xD486E:
and a
ret z
Unknown_0xD4870:
rlc [hl]
dec a
jr nz,Unknown_0xD4870
ret
ld hl,$CA3E
ld a,[$D00F]
dec a
ld c,a
srl a
srl a
srl a
ld e,a
ld d,$00
add hl,de
ld a,c
and $07
ld c,a
jr z,Logged_0xD4893
Logged_0xD488E:
rrc [hl]
dec c
jr nz,Logged_0xD488E
Logged_0xD4893:
ld c,a
bit 0,[hl]
jr nz,Unknown_0xD489C
ld b,$00
jr Logged_0xD489E
Unknown_0xD489C:
ld b,$01
Logged_0xD489E:
ld a,c
and a
ret z
Logged_0xD48A1:
rlc [hl]
dec a
jr nz,Logged_0xD48A1
ret
Unknown_0xD48A7:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$65E1
call Logged_0x0DF4
ret
Unknown_0xD48C7:
ld a,[$C0E7]
cp $14
jr nc,Unknown_0xD48F4
cp $0F
jr nc,Unknown_0xD48ED
cp $0A
jr nc,Unknown_0xD48E6
cp $05
jr nc,Unknown_0xD48DF
ld b,a
ld d,$48
jr Unknown_0xD48F9
Unknown_0xD48DF:
sub $05
ld b,a
ld d,$50
jr Unknown_0xD48F9
Unknown_0xD48E6:
sub $0A
ld b,a
ld d,$58
jr Unknown_0xD48F9
Unknown_0xD48ED:
sub $0F
ld b,a
ld d,$60
jr Unknown_0xD48F9
Unknown_0xD48F4:
sub $14
ld b,a
ld d,$68
Unknown_0xD48F9:
ld hl,$D523
ld a,[hl]
cp d
jr z,Unknown_0xD4903
inc [hl]
xor a
ret
Unknown_0xD4903:
dec b
jr z,Unknown_0xD4913
dec b
jr z,Unknown_0xD4917
dec b
jr z,Unknown_0xD491B
dec b
jr z,Unknown_0xD491F
ld e,$40
jr Unknown_0xD4921
Unknown_0xD4913:
ld e,$48
jr Unknown_0xD4921
Unknown_0xD4917:
ld e,$50
jr Unknown_0xD4921
Unknown_0xD491B:
ld e,$58
jr Unknown_0xD4921
Unknown_0xD491F:
ld e,$60
Unknown_0xD4921:
ld hl,$D524
ld a,[hl]
cp e
jr z,Unknown_0xD492B
dec [hl]
xor a
ret
Unknown_0xD492B:
ld a,$01
ret
Unknown_0xD492E:
ld a,[$CEE5]
ld e,a
ld d,$00
ld hl,$4964
add hl,de
ld a,[$D523]
add a,[hl]
ld [$D523],a
ld hl,$4998
add hl,de
ld a,[$D524]
add a,[hl]
ld [$D524],a
ret
Unknown_0xD494B:
INCBIN "baserom.gbc", $D494B, $D49CC - $D494B
LoggedData_0xD49CC:
INCBIN "baserom.gbc", $D49CC, $D4DDD - $D49CC
Unknown_0xD4DDD:
INCBIN "baserom.gbc", $D4DDD, $D4DE4 - $D4DDD
LoggedData_0xD4DE4:
INCBIN "baserom.gbc", $D4DE4, $D4E23 - $D4DE4
Unknown_0xD4E23:
INCBIN "baserom.gbc", $D4E23, $D4E26 - $D4E23
LoggedData_0xD4E26:
INCBIN "baserom.gbc", $D4E26, $D505B - $D4E26
Unknown_0xD505B:
INCBIN "baserom.gbc", $D505B, $D505C - $D505B
LoggedData_0xD505C:
INCBIN "baserom.gbc", $D505C, $D505E - $D505C
Unknown_0xD505E:
INCBIN "baserom.gbc", $D505E, $D505F - $D505E
LoggedData_0xD505F:
INCBIN "baserom.gbc", $D505F, $D5061 - $D505F
Unknown_0xD5061:
INCBIN "baserom.gbc", $D5061, $D5062 - $D5061
LoggedData_0xD5062:
INCBIN "baserom.gbc", $D5062, $D5064 - $D5062
Unknown_0xD5064:
INCBIN "baserom.gbc", $D5064, $D5065 - $D5064
LoggedData_0xD5065:
INCBIN "baserom.gbc", $D5065, $D5067 - $D5065
Unknown_0xD5067:
INCBIN "baserom.gbc", $D5067, $D5068 - $D5067
LoggedData_0xD5068:
INCBIN "baserom.gbc", $D5068, $D506A - $D5068
Unknown_0xD506A:
INCBIN "baserom.gbc", $D506A, $D506B - $D506A
LoggedData_0xD506B:
INCBIN "baserom.gbc", $D506B, $D5097 - $D506B
Unknown_0xD5097:
INCBIN "baserom.gbc", $D5097, $D5098 - $D5097
LoggedData_0xD5098:
INCBIN "baserom.gbc", $D5098, $D509A - $D5098
Unknown_0xD509A:
INCBIN "baserom.gbc", $D509A, $D509B - $D509A
LoggedData_0xD509B:
INCBIN "baserom.gbc", $D509B, $D509D - $D509B
Unknown_0xD509D:
INCBIN "baserom.gbc", $D509D, $D509E - $D509D
LoggedData_0xD509E:
INCBIN "baserom.gbc", $D509E, $D50A0 - $D509E
Unknown_0xD50A0:
INCBIN "baserom.gbc", $D50A0, $D50A1 - $D50A0
LoggedData_0xD50A1:
INCBIN "baserom.gbc", $D50A1, $D50A3 - $D50A1
Unknown_0xD50A3:
INCBIN "baserom.gbc", $D50A3, $D50A4 - $D50A3
LoggedData_0xD50A4:
INCBIN "baserom.gbc", $D50A4, $D65E1 - $D50A4
Unknown_0xD65E1:
INCBIN "baserom.gbc", $D65E1, $D8000 - $D65E1
SECTION "Bank36", ROMX, BANK[$36]
LoggedData_0xD8000:
INCBIN "baserom.gbc", $D8000, $DB277 - $D8000
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0xDB29B
dw Logged_0x05ED
dw Logged_0xDB317
dw Logged_0xDB3E4
dw Logged_0x047B
dw Logged_0xDB41B
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0xDB29B:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0xDB486
call Logged_0xDB4AA
call Logged_0xDB4CF
call Logged_0x0354
xor a
ld [rSCX],a
ld [$C085],a
ld a,$60
ld [rSCY],a
ld [$C083],a
ld hl,$D515
ld a,$80
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D51D],a
ld [$D522],a
ld a,$6C
ld [hli],a
ld a,$CB
ld [hl],a
ld a,$2A
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
call Logged_0x17BE
ld hl,$D523
ld a,$18
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$7B
ld [hli],a
ld a,$F5
ld [hl],a
call Logged_0x145A
ld hl,$D523
call Logged_0xDB4E9
ld a,$87
ld [rLCDC],a
ld a,$40
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xDB317:
ld a,[$D51D]
dec a
jr z,Logged_0xDB338
dec a
jr z,Logged_0xDB35B
dec a
jr z,Logged_0xDB38A
ld hl,$CEE5
dec [hl]
jp nz,Logged_0xDB3A9
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$34
ld [$FF00+hSFXIDLow],a
ld hl,$D51D
inc [hl]
jr Logged_0xDB3A9
Logged_0xDB338:
ld hl,$C083
dec [hl]
dec [hl]
dec [hl]
jr nz,Logged_0xDB3A9
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$61
ld [$FF00+hSFXIDLow],a
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$2A
ld [$FF00+hMusicIDLow],a
ld a,$06
ld [$CEE5],a
ld hl,$D51D
inc [hl]
jr Logged_0xDB3A9
Logged_0xDB35B:
ld a,[$C08F]
and $03
ret nz
ld hl,$CEE5
dec [hl]
ld a,[hl]
and $01
jr z,Logged_0xDB371
ld hl,$C083
inc [hl]
inc [hl]
jr Logged_0xDB3A9
Logged_0xDB371:
ld hl,$C083
dec [hl]
dec [hl]
ld a,[$CEE5]
and a
jr nz,Logged_0xDB3A9
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$30
ld [$FF00+hMusicIDLow],a
ld hl,$D51D
inc [hl]
jr Logged_0xDB3A9
Logged_0xDB38A:
ld a,[$C094]
bit 0,a
jr z,Logged_0xDB3A9
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6C
ld [hli],a
ld a,$E2
ld [hl],a
ld hl,wGameSubState
inc [hl]
Logged_0xDB3A9:
ld hl,$D51C
ld a,$2A
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
and a
call nz,Logged_0xDB3DB
ld hl,$D515
call Logged_0x17BE
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0xDB4E9
call Logged_0x03B9
ret
Logged_0xDB3DB:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F5
ld [$FF00+hSFXIDLow],a
ret
Logged_0xDB3E4:
ld hl,$D51C
ld a,$2A
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
ld hl,$D515
call Logged_0x17BE
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0xDB4E9
call Logged_0x03B9
ld a,[$D520]
and a
ret z
ld hl,wGameSubState
inc [hl]
ret
Logged_0xDB41B:
jp Logged_0x015E
call Logged_0xDB428
call Logged_0xDB43A
call Logged_0xDB45A
ret
Logged_0xDB428:
ld hl,$7000
call Logged_0x1A15
ld hl,$7040
ld de,$C058
ld b,$28
call Logged_0x1A2D
ret
Logged_0xDB43A:
ld a,$01
ld [rVBK],a
ld hl,$5800
ld de,_VRAM
ld bc,$1800
call Logged_0x0434
xor a
ld [rVBK],a
ld hl,$4000
ld de,_VRAM
ld bc,$1800
call Logged_0x0434
ret
Logged_0xDB45A:
ld a,$01
ld [rVBK],a
ld hl,$7193
ld bc,_SCRN0
call Decompress_BC_HL
ld hl,$7268
ld bc,_SCRN1
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$7068
ld bc,_SCRN0
call Decompress_BC_HL
ld hl,$723B
ld bc,_SCRN1
call Decompress_BC_HL
ret
Logged_0xDB486:
ld hl,$7509
call Logged_0x1A15
ld hl,$7549
call Logged_0x1A21
ld hl,$6AD5
ld de,$C040
ld b,$08
ld a,$21
ld [$FF00+$85],a
ld a,$2D
ld [$FF00+$8D],a
ld a,$1A
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xDB4AA:
xor a
ld [rVBK],a
ld hl,$7589
ld bc,_VRAM
call Decompress_BC_HL
ld hl,$6800
ld de,_VRAM
ld bc,$0800
ld a,$76
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$04
ld [$FF00+$8E],a
call $FF80
ret
Logged_0xDB4CF:
ld a,$01
ld [rVBK],a
ld hl,$7B8F
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$7AEE
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0xDB4E9:
ld a,[$C083]
ld b,a
ld a,[hli]
add a,$10
sub b
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$7BD2
call Logged_0x0DF4
ret
LoggedData_0xDB509:
INCBIN "baserom.gbc", $DB509, $DBBF8 - $DB509
Unknown_0xDBBF8:
INCBIN "baserom.gbc", $DBBF8, $DC000 - $DBBF8
SECTION "Bank37", ROMX, BANK[$37]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x0474
dw Logged_0xDC01E
dw Logged_0x05E6
dw Logged_0xDC073
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0xDC01E:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0xDC0F4
call Logged_0xDC131
call Logged_0xDC13E
call Logged_0x0354
xor a
ld [rSCX],a
ld [$C085],a
ld [rSCY],a
ld [$C083],a
ld hl,$D523
ld a,$23
ld [hli],a
ld a,$2B
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$58
ld [hli],a
ld a,$48
ld [hl],a
call Logged_0x145A
ld hl,$D523
call Logged_0xDC158
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$36
ld [$FF00+hMusicIDLow],a
ld a,$87
ld [rLCDC],a
xor a
ld [$CEE5],a
ld [$D51D],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0xDC073:
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0xDC158
call Logged_0x03B9
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0xDC08C
dec [hl]
jr nz,Logged_0xDC0CF
Logged_0xDC08C:
ld a,[$C08F]
and $07
jr nz,Logged_0xDC0CF
call Logged_0x06FA
ld a,[wGameSubState]
cp $03
jr z,Logged_0xDC0CF
ld a,$03
ld [wGameSubState],a
ld hl,$D51D
inc [hl]
ld a,[hl]
dec a
jr z,Logged_0xDC0BD
dec a
jr z,Logged_0xDC0C7
dec a
jr z,Logged_0xDC0CC
dec a
jr z,Logged_0xDC0C7
dec a
jr z,Logged_0xDC0C2
ld [hl],$00
call Logged_0xDC101
jr Logged_0xDC0CF
Logged_0xDC0BD:
ld a,$F0
ld [$CEE5],a
Logged_0xDC0C2:
call Logged_0xDC10D
jr Logged_0xDC0CF
Logged_0xDC0C7:
call Logged_0xDC119
jr Logged_0xDC0CF
Logged_0xDC0CC:
call Logged_0xDC125
Logged_0xDC0CF:
ld a,[$CA3D]
bit 1,a
ret nz
ld a,[$C094]
and a
ret z
xor a
ld [$CED7],a
ld [$C187],a
ld [$C186],a
ld hl,$CA3D
set 1,[hl]
ld a,GAME_STATE_PAUSE
ld [wGameState],a
ld a,$28
ld [wGameSubState],a
ret
Logged_0xDC0F4:
ld hl,$4173
call Logged_0x1A15
ld hl,$41FB
call Logged_0x1A21
ret
Logged_0xDC101:
ld hl,$419B
ld de,$C028
ld b,$18
call Logged_0x1A2D
ret
Logged_0xDC10D:
ld hl,$41B3
ld de,$C028
ld b,$18
call Logged_0x1A2D
ret
Logged_0xDC119:
ld hl,$41CB
ld de,$C028
ld b,$18
call Logged_0x1A2D
ret
Logged_0xDC125:
ld hl,$41E3
ld de,$C028
ld b,$18
call Logged_0x1A2D
ret
Logged_0xDC131:
xor a
ld [rVBK],a
ld hl,$423B
ld bc,_VRAM
call Decompress_BC_HL
ret
Logged_0xDC13E:
ld a,$01
ld [rVBK],a
ld hl,$55B5
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$5417
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0xDC158:
ld a,[hli]
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$5710
call Logged_0x0DF4
ret
LoggedData_0xDC173:
INCBIN "baserom.gbc", $DC173, $DD859 - $DC173
Unknown_0xDD859:
INCBIN "baserom.gbc", $DD859, $E0000 - $DD859
SECTION "Bank38", ROMX, BANK[$38]
LoggedData_0xE0000:
INCBIN "baserom.gbc", $E0000, $E3D04 - $E0000
Unknown_0xE3D04:
INCBIN "baserom.gbc", $E3D04, $E4000 - $E3D04
SECTION "Bank39", ROMX, BANK[$39]
LoggedData_0xE4000:
INCBIN "baserom.gbc", $E4000, $E7E76 - $E4000
Unknown_0xE7E76:
INCBIN "baserom.gbc", $E7E76, $E8000 - $E7E76
SECTION "Bank3A", ROMX, BANK[$3A]
LoggedData_0xE8000:
INCBIN "baserom.gbc", $E8000, $EB478 - $E8000
Unknown_0xEB478:
INCBIN "baserom.gbc", $EB478, $EC000 - $EB478
SECTION "Bank3B", ROMX, BANK[$3B]
LoggedData_0xEC000:
INCBIN "baserom.gbc", $EC000, $EFF0D - $EC000
Unknown_0xEFF0D:
INCBIN "baserom.gbc", $EFF0D, $F0000 - $EFF0D
SECTION "Bank3C", ROMX, BANK[$3C]
LoggedData_0xF0000:
INCBIN "baserom.gbc", $F0000, $F3C16 - $F0000
Unknown_0xF3C16:
INCBIN "baserom.gbc", $F3C16, $F4000 - $F3C16
SECTION "Bank3D", ROMX, BANK[$3D]
LoggedData_0xF4000:
INCBIN "baserom.gbc", $F4000, $F78B4 - $F4000
Unknown_0xF78B4:
INCBIN "baserom.gbc", $F78B4, $F8000 - $F78B4
SECTION "Bank3E", ROMX, BANK[$3E]
LoggedData_0xF8000:
INCBIN "baserom.gbc", $F8000, $FB5B0 - $F8000
Unknown_0xFB5B0:
INCBIN "baserom.gbc", $FB5B0, $FC000 - $FB5B0
SECTION "Bank3F", ROMX, BANK[$3F]
LoggedData_0xFC000:
INCBIN "baserom.gbc", $FC000, $FFB97 - $FC000
Unknown_0xFFB97:
INCBIN "baserom.gbc", $FFB97, $100000 - $FFB97
SECTION "Bank40", ROMX, BANK[$40]
LoggedData_0x100000:
INCBIN "baserom.gbc", $100000, $103E21 - $100000
Unknown_0x103E21:
INCBIN "baserom.gbc", $103E21, $104000 - $103E21
SECTION "Bank41", ROMX, BANK[$41]
LoggedData_0x104000:
INCBIN "baserom.gbc", $104000, $107322 - $104000
Unknown_0x107322:
INCBIN "baserom.gbc", $107322, $108000 - $107322
SECTION "Bank42", ROMX, BANK[$42]
LoggedData_0x108000:
INCBIN "baserom.gbc", $108000, $10B93D - $108000
Unknown_0x10B93D:
INCBIN "baserom.gbc", $10B93D, $10BC28 - $10B93D
LoggedData_0x10BC28:
INCBIN "baserom.gbc", $10BC28, $10BF09 - $10BC28
Unknown_0x10BF09:
INCBIN "baserom.gbc", $10BF09, $10C000 - $10BF09
SECTION "Bank43", ROMX, BANK[$43]
LoggedData_0x10C000:
INCBIN "baserom.gbc", $10C000, $10F437 - $10C000
Unknown_0x10F437:
INCBIN "baserom.gbc", $10F437, $110000 - $10F437
SECTION "Bank44", ROMX, BANK[$44]
LoggedData_0x110000:
INCBIN "baserom.gbc", $110000, $1121DD - $110000
Unknown_0x1121DD:
INCBIN "baserom.gbc", $1121DD, $1124A3 - $1121DD
LoggedData_0x1124A3:
INCBIN "baserom.gbc", $1124A3, $112757 - $1124A3
Unknown_0x112757:
INCBIN "baserom.gbc", $112757, $114000 - $112757
SECTION "Bank45", ROMX, BANK[$45]
LoggedData_0x114000:
INCBIN "baserom.gbc", $114000, $117AA6 - $114000
Unknown_0x117AA6:
INCBIN "baserom.gbc", $117AA6, $118000 - $117AA6
SECTION "Bank46", ROMX, BANK[$46]
LoggedData_0x118000:
INCBIN "baserom.gbc", $118000, $11B424 - $118000
Unknown_0x11B424:
INCBIN "baserom.gbc", $11B424, $11C000 - $11B424
SECTION "Bank47", ROMX, BANK[$47]
LoggedData_0x11C000:
INCBIN "baserom.gbc", $11C000, $11E4F9 - $11C000
Unknown_0x11E4F9:
INCBIN "baserom.gbc", $11E4F9, $120000 - $11E4F9
SECTION "Bank48", ROMX, BANK[$48]
LoggedData_0x120000:
INCBIN "baserom.gbc", $120000, $12315D - $120000
Unknown_0x12315D:
INCBIN "baserom.gbc", $12315D, $124000 - $12315D
SECTION "Bank49", ROMX, BANK[$49]
Unknown_0x124000:
INCBIN "baserom.gbc", $124000, $128000 - $124000
SECTION "Bank4A", ROMX, BANK[$4A]
Unknown_0x128000:
INCBIN "baserom.gbc", $128000, $12C000 - $128000
SECTION "Bank4B", ROMX, BANK[$4B]
Unknown_0x12C000:
INCBIN "baserom.gbc", $12C000, $130000 - $12C000
SECTION "Bank4C", ROMX, BANK[$4C]
Unknown_0x130000:
INCBIN "baserom.gbc", $130000, $134000 - $130000
SECTION "Bank4D", ROMX, BANK[$4D]
Unknown_0x134000:
INCBIN "baserom.gbc", $134000, $138000 - $134000
SECTION "Bank4E", ROMX, BANK[$4E]
LoggedData_0x138000:
INCBIN "baserom.gbc", $138000, $13C000 - $138000
SECTION "Bank4F", ROMX, BANK[$4F]
LoggedData_0x13C000:
INCBIN "baserom.gbc", $13C000, $13C800 - $13C000
Unknown_0x13C800:
INCBIN "baserom.gbc", $13C800, $140000 - $13C800
SECTION "Bank50", ROMX, BANK[$50]
Unknown_0x140000:
INCBIN "baserom.gbc", $140000, $140100 - $140000
LoggedData_0x140100:
INCBIN "baserom.gbc", $140100, $140D00 - $140100
Unknown_0x140D00:
INCBIN "baserom.gbc", $140D00, $140E00 - $140D00
LoggedData_0x140E00:
INCBIN "baserom.gbc", $140E00, $141900 - $140E00
Unknown_0x141900:
INCBIN "baserom.gbc", $141900, $144000 - $141900
SECTION "Bank51", ROMX, BANK[$51]
LoggedData_0x144000:
INCBIN "baserom.gbc", $144000, $148000 - $144000
SECTION "Bank52", ROMX, BANK[$52]
LoggedData_0x148000:
INCBIN "baserom.gbc", $148000, $14C000 - $148000
SECTION "Bank53", ROMX, BANK[$53]
LoggedData_0x14C000:
INCBIN "baserom.gbc", $14C000, $150000 - $14C000
SECTION "Bank54", ROMX, BANK[$54]
LoggedData_0x150000:
INCBIN "baserom.gbc", $150000, $154000 - $150000
SECTION "Bank55", ROMX, BANK[$55]
LoggedData_0x154000:
INCBIN "baserom.gbc", $154000, $158000 - $154000
SECTION "Bank56", ROMX, BANK[$56]
call Logged_0x158022
call Logged_0x158111
call Logged_0x158216
call Logged_0x158168
call Logged_0x15826D
call Logged_0x1581BF
call Logged_0x1582C4
call Logged_0x158358
call Logged_0x15839F
call Logged_0x1583E6
call Logged_0x158432
ret
Logged_0x158022:
ld hl,$D896
ld a,[hli]
and a
ret z
inc [hl]
ld b,h
ld c,l
dec a
rst JumpList
dw Logged_0x158055
dw Logged_0x158062
dw Logged_0x158069
dw Logged_0x15807B
dw Logged_0x158071
dw Logged_0x15807B
dw Logged_0x158071
dw Logged_0x15807B
dw Logged_0x158071
dw Logged_0x158085
dw Logged_0x158062
dw Logged_0x158071
dw Logged_0x158097
dw Logged_0x1580AA
dw Logged_0x15809F
dw Logged_0x1580AA
dw Logged_0x15809F
dw Logged_0x1580AA
dw Logged_0x15809F
dw Logged_0x1580B5
Logged_0x158055:
ld hl,$D897
xor a
ld [hld],a
ld [hl],a
ld [$C085],a
ld [$C083],a
ret
Logged_0x158062:
ld hl,$D897
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158069:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0x158071:
ld a,[bc]
cp $02
ret c
ld hl,$C085
dec [hl]
jr Logged_0x158062
Logged_0x15807B:
ld a,[bc]
cp $02
ret c
ld hl,$C085
inc [hl]
jr Logged_0x158062
Logged_0x158085:
ld a,[bc]
cp $02
ret c
ld hl,$C085
inc [hl]
ld hl,$D897
xor a
ld [hld],a
ld a,[hl]
sub $07
ld [hl],a
ret
Logged_0x158097:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0x15809F:
ld a,[bc]
cp $02
ret c
ld hl,$C085
inc [hl]
inc [hl]
jr Logged_0x158062
Logged_0x1580AA:
ld a,[bc]
cp $02
ret c
ld hl,$C085
dec [hl]
dec [hl]
jr Logged_0x158062
Logged_0x1580B5:
ld a,[bc]
cp $02
ret c
ld hl,$C085
dec [hl]
dec [hl]
ld hl,$D897
xor a
ld [hld],a
ld a,[hl]
sub $07
ld [hl],a
ret
Logged_0x1580C8:
ld a,[bc]
cp [hl]
ret c
dec l
ld a,[hld]
and a
jr z,Logged_0x1580D6
dec l
ld a,$01
ld [hl],a
jr Logged_0x1580D8
Logged_0x1580D6:
ld [hld],a
ld [hl],a
Logged_0x1580D8:
ret
Logged_0x1580D9:
cp $02
ld a,$09
jr c,Logged_0x1580E9
ld b,a
ld a,c
and $03
cp $03
jr nz,Logged_0x1580E8
dec a
Logged_0x1580E8:
add a,b
Logged_0x1580E9:
jp Logged_0x3B93
Logged_0x1580EC:
cp $02
ld a,$09
jr c,Logged_0x1580F7
ld b,a
ld a,c
and $01
add a,b
Logged_0x1580F7:
jp Logged_0x3B93
Logged_0x1580FA:
xor a
Logged_0x1580FB:
ld [hli],a
ld a,d
bit 3,c
jr z,Logged_0x158102
ld a,e
Logged_0x158102:
ld [hl],a
ret
Logged_0x158104:
ld a,$60
jr Logged_0x1580FB
Logged_0x158108:
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ret
Logged_0x158111:
ld hl,$D8B0
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x158121
dw Logged_0x15813D
dw Logged_0x158162
Logged_0x158121:
ld a,[rDIV]
ld c,a
ld hl,$D1E0
ld de,$2030
call Logged_0x1580FA
ld a,[$D8B2]
ld hl,$D1E6
call Logged_0x1580D9
Logged_0x158136:
ld hl,$D8B1
xor a
ld [hld],a
inc [hl]
ret
Logged_0x15813D:
call Logged_0x15831B
ld hl,$D1E0
add a,[hl]
ld [hl],a
cp $60
ret c
xor a
ld [$D1E6],a
ld c,$3F
ld a,[$D8B2]
cp $02
jr nz,Logged_0x158157
ld c,$1F
Logged_0x158157:
ld a,[rDIV]
and c
ld [$D8B3],a
call Logged_0x158108
jr Logged_0x158136
Logged_0x158162:
ld hl,$D8B3
jp Logged_0x1580C8
Logged_0x158168:
ld hl,$D8B8
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x158178
dw Logged_0x158194
dw Logged_0x1581B9
Logged_0x158178:
ld a,[rDIV]
ld c,a
ld hl,$D1F0
ld de,$2838
call Logged_0x1580FA
ld a,[$D8BA]
ld hl,$D1F6
call Logged_0x1580EC
Logged_0x15818D:
ld hl,$D8B9
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158194:
call Logged_0x15831B
ld hl,$D1F0
add a,[hl]
ld [hl],a
cp $60
ret c
xor a
ld [$D1F6],a
ld c,$3F
ld a,[$D8BA]
cp $02
jr nz,Logged_0x1581AE
ld c,$1F
Logged_0x1581AE:
ld a,[rDIV]
and c
ld [$D8BB],a
call Logged_0x158108
jr Logged_0x15818D
Logged_0x1581B9:
ld hl,$D8BB
jp Logged_0x1580C8
Logged_0x1581BF:
ld hl,$D8C0
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x1581CF
dw Logged_0x1581EB
dw Logged_0x158210
Logged_0x1581CF:
ld a,[rDIV]
ld c,a
ld hl,$D188
ld de,$1040
call Logged_0x1580FA
ld a,[$D8C2]
ld hl,$D18E
call Logged_0x1580EC
Logged_0x1581E4:
ld hl,$D8C1
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1581EB:
call Logged_0x15831B
ld hl,$D188
add a,[hl]
ld [hl],a
cp $A0
ret c
xor a
ld [$D18E],a
ld c,$3F
ld a,[$D8C2]
cp $02
jr nz,Logged_0x158205
ld c,$1F
Logged_0x158205:
ld a,[rDIV]
and c
ld [$D8C3],a
call Logged_0x158108
jr Logged_0x1581E4
Logged_0x158210:
ld hl,$D8C3
jp Logged_0x1580C8
Logged_0x158216:
ld hl,$D8B4
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x158226
dw Logged_0x158242
dw Logged_0x158267
Logged_0x158226:
ld a,[rDIV]
ld c,a
ld hl,$D1E8
ld de,$7080
call Logged_0x1580FA
ld a,[$D8B6]
ld hl,$D1EE
call Logged_0x1580D9
Logged_0x15823B:
ld hl,$D8B5
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158242:
call Logged_0x15831B
ld hl,$D1E8
add a,[hl]
ld [hl],a
cp $60
ret c
xor a
ld [$D1EE],a
ld c,$3F
ld a,[$D8B6]
cp $02
jr nz,Logged_0x15825C
ld c,$1F
Logged_0x15825C:
ld a,[rDIV]
and c
ld [$D8B7],a
call Logged_0x158108
jr Logged_0x15823B
Logged_0x158267:
ld hl,$D8B7
jp Logged_0x1580C8
Logged_0x15826D:
ld hl,$D8BC
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x15827D
dw Logged_0x158299
dw Logged_0x1582BE
Logged_0x15827D:
ld a,[rDIV]
ld c,a
ld hl,$D1F8
ld de,$6878
call Logged_0x1580FA
ld a,[$D8BE]
ld hl,$D1FE
call Logged_0x1580EC
Logged_0x158292:
ld hl,$D8BD
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158299:
call Logged_0x15831B
ld hl,$D1F8
add a,[hl]
ld [hl],a
cp $60
ret c
xor a
ld [$D1FE],a
ld c,$3F
ld a,[$D8BE]
cp $02
jr nz,Logged_0x1582B3
ld c,$1F
Logged_0x1582B3:
ld a,[rDIV]
and c
ld [$D8BF],a
call Logged_0x158108
jr Logged_0x158292
Logged_0x1582BE:
ld hl,$D8BF
jp Logged_0x1580C8
Logged_0x1582C4:
ld hl,$D8C4
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1580D8
dw Logged_0x1582D4
dw Logged_0x1582F0
dw Logged_0x158315
Logged_0x1582D4:
ld a,[rDIV]
ld c,a
ld hl,$D190
ld de,$6090
call Logged_0x1580FA
ld a,[$D8C6]
ld hl,$D196
call Logged_0x1580EC
Logged_0x1582E9:
ld hl,$D8C5
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1582F0:
call Logged_0x15831B
ld hl,$D190
add a,[hl]
ld [hl],a
cp $A0
ret c
xor a
ld [$D196],a
ld c,$3F
ld a,[$D8C6]
cp $02
jr nz,Logged_0x15830A
ld c,$1F
Logged_0x15830A:
ld a,[rDIV]
and c
ld [$D8C7],a
call Logged_0x158108
jr Logged_0x1582E9
Logged_0x158315:
ld hl,$D8C7
jp Logged_0x1580C8
Logged_0x15831B:
ld a,[bc]
cp $2C
jr c,Logged_0x158323
ld a,$28
ld [bc],a
Logged_0x158323:
ld e,a
ld d,$00
ld hl,$432C
add hl,de
ld a,[hl]
ret
Unknown_0x15832C:
INCBIN "baserom.gbc", $15832C, $15832D - $15832C
LoggedData_0x15832D:
INCBIN "baserom.gbc", $15832D, $158358 - $15832D
Logged_0x158358:
ld a,[$D8C8]
rst JumpList
dw Logged_0x1580D8
dw Logged_0x158364
dw Logged_0x158383
dw Logged_0x15838F
Logged_0x158364:
ld a,[rDIV]
ld c,a
ld hl,$D1C0
ld de,$2028
call Logged_0x158104
ld a,[$D8CA]
ld hl,$D1C6
call Logged_0x1580EC
call Logged_0x158108
Logged_0x15837C:
ld hl,$D8C9
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158383:
ld de,$4897
ld hl,$D1C0
call Logged_0x3C25
ret nz
jr Logged_0x15837C
Logged_0x15838F:
ld a,[$D8CA]
and a
jr z,Logged_0x158397
ld a,$01
Logged_0x158397:
ld [$D8C8],a
xor a
ld [$D1C6],a
ret
Logged_0x15839F:
ld a,[$D8CC]
rst JumpList
dw Logged_0x1580D8
dw Logged_0x1583AB
dw Logged_0x1583CA
dw Logged_0x1583D6
Logged_0x1583AB:
ld a,[rDIV]
ld c,a
ld hl,$D1C8
ld de,$7880
call Logged_0x158104
ld a,[$D8CE]
ld hl,$D1CE
call Logged_0x1580EC
call Logged_0x158108
Logged_0x1583C3:
ld hl,$D8CD
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1583CA:
ld de,$4897
ld hl,$D1C8
call Logged_0x3C1F
ret nz
jr Logged_0x1583C3
Logged_0x1583D6:
ld a,[$D8CE]
and a
jr z,Logged_0x1583DE
ld a,$01
Logged_0x1583DE:
ld [$D8CC],a
xor a
ld [$D1CE],a
ret
Logged_0x1583E6:
ld a,[$D8D0]
rst JumpList
dw Logged_0x1580D8
dw Logged_0x1583F2
dw Logged_0x158411
dw Logged_0x158422
Logged_0x1583F2:
ld a,[rDIV]
ld c,a
ld hl,$D1D0
ld de,$1820
call Logged_0x158104
ld a,[$D8D2]
ld hl,$D1D6
call Logged_0x1580EC
call Logged_0x158108
Logged_0x15840A:
ld hl,$D8D1
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158411:
ld hl,$D1D0
call Logged_0x158484
jr z,Logged_0x15840A
ld hl,$D1D0
call Logged_0x158484
jr z,Logged_0x15840A
ret
Logged_0x158422:
ld a,[$D8D2]
and a
jr z,Logged_0x15842A
ld a,$01
Logged_0x15842A:
ld [$D8D0],a
xor a
ld [$D1D6],a
ret
Logged_0x158432:
ld a,[$D8D4]
rst JumpList
dw Logged_0x1580D8
dw Logged_0x15843E
dw Logged_0x15845D
dw Logged_0x15846E
Logged_0x15843E:
ld a,[rDIV]
ld c,a
ld hl,$D1D8
ld de,$8088
call Logged_0x158104
ld a,[$D8D6]
ld hl,$D1DE
call Logged_0x1580EC
call Logged_0x158108
Logged_0x158456:
ld hl,$D8D5
xor a
ld [hld],a
inc [hl]
ret
Logged_0x15845D:
ld hl,$D1D8
call Logged_0x15847E
jr z,Logged_0x158456
ld hl,$D1D8
call Logged_0x15847E
jr z,Logged_0x158456
ret
Logged_0x15846E:
ld a,[$D8D6]
and a
jr z,Logged_0x158476
ld a,$01
Logged_0x158476:
ld [$D8D4],a
xor a
ld [$D1DE],a
ret
Logged_0x15847E:
ld de,$48DE
jp Logged_0x3C1F
Logged_0x158484:
ld de,$48DE
jp Logged_0x3C25
call Logged_0x15849A
call Logged_0x1584DA
call Logged_0x158529
call Logged_0x15858C
call Logged_0x1585E1
ret
Logged_0x15849A:
ld hl,$D8A0
ld a,[hli]
inc [hl]
rst JumpList
dw Logged_0x1584A6
dw Logged_0x1584AB
dw Logged_0x1584C4
Logged_0x1584A6:
xor a
ld [$D8A1],a
ret
Logged_0x1584AB:
ld hl,$D188
ld a,$18
ld [hli],a
ld a,[$D1C9]
ld [hl],a
ld a,$16
ld hl,$D18E
call Logged_0x3B93
ld hl,$D8A1
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1584C4:
ld a,[$D8A1]
and $03
ret nz
ld hl,$D188
inc [hl]
ld a,[hl]
cp $58
ret nz
xor a
ld [$D18E],a
ld [$D8A0],a
ret
Logged_0x1584DA:
ld hl,$D8A2
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1584E8
dw Logged_0x1584F4
dw Logged_0x15850D
Logged_0x1584E8:
ld a,[$D18E]
and a
ret z
Logged_0x1584ED:
ld hl,$D8A3
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1584F4:
ld hl,$D1A8
ld a,[$D188]
sub $08
ld [hli],a
ld a,[$D189]
sub $03
ld [hl],a
ld a,$15
ld hl,$D1AE
call Logged_0x3B93
jr Logged_0x1584ED
Logged_0x15850D:
call Logged_0x15864A
jr z,Logged_0x158521
ld hl,$D1A8
add a,[hl]
ld [hl],a
ld a,[bc]
cp $03
ret nz
ld a,$14
ld [$D1AE],a
ret
Logged_0x158521:
xor a
ld [$D1AE],a
ld [$D8A2],a
ret
Logged_0x158529:
ld hl,$D8A5
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x15853B
dw Logged_0x158547
dw Logged_0x15854D
dw Logged_0x158566
dw Logged_0x158580
Logged_0x15853B:
ld a,[$D18E]
and a
ret z
Logged_0x158540:
ld hl,$D8A6
xor a
ld [hld],a
inc [hl]
ret
Logged_0x158547:
ld a,[bc]
cp $0A
ret c
jr Logged_0x158540
Logged_0x15854D:
ld hl,$D1B0
ld a,[$D188]
sub $08
ld [hli],a
ld a,[$D189]
add a,$03
ld [hl],a
ld a,$15
ld hl,$D1B6
call Logged_0x3B93
jr Logged_0x158540
Logged_0x158566:
call Logged_0x15864A
jr z,Logged_0x15857A
ld hl,$D1B0
add a,[hl]
ld [hl],a
ld a,[bc]
cp $03
ret nz
ld a,$14
ld [$D1B6],a
ret
Logged_0x15857A:
xor a
ld [$D1B6],a
jr Logged_0x158540
Logged_0x158580:
ld a,[$D18E]
and a
jr z,Logged_0x158588
ld a,$02
Logged_0x158588:
ld [$D8A5],a
ret
Logged_0x15858C:
ld hl,$D8A8
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x15859A
dw Logged_0x1585A6
dw Logged_0x1585BF
Logged_0x15859A:
ld a,[$D18E]
and a
ret z
Logged_0x15859F:
ld hl,$D8A9
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1585A6:
ld hl,$D1B8
ld a,[$D188]
sub $06
ld [hli],a
ld a,[$D189]
sub $04
ld [hl],a
ld a,$15
ld hl,$D1BE
call Logged_0x3B93
jr Logged_0x15859F
Logged_0x1585BF:
call Logged_0x15866E
jr z,Logged_0x1585D9
ld hl,$D1B8
add a,[hl]
ld [hli],a
ld a,[bc]
and $01
jr z,Logged_0x1585CF
dec [hl]
Logged_0x1585CF:
ld a,[bc]
cp $03
ret nz
ld a,$14
ld [$D1BE],a
ret
Logged_0x1585D9:
xor a
ld [$D1BE],a
ld [$D8A8],a
ret
Logged_0x1585E1:
ld hl,$D8AB
ld a,[hli]
inc [hl]
ld b,h
ld c,l
rst JumpList
dw Logged_0x1585F3
dw Logged_0x1585FF
dw Logged_0x158605
dw Logged_0x15861E
dw Logged_0x15863E
Logged_0x1585F3:
ld a,[$D18E]
and a
ret z
Logged_0x1585F8:
ld hl,$D8AC
xor a
ld [hld],a
inc [hl]
ret
Logged_0x1585FF:
ld a,[bc]
cp $08
ret c
jr Logged_0x1585F8
Logged_0x158605:
ld hl,$D1C0
ld a,[$D188]
sub $10
ld [hli],a
ld a,[$D189]
add a,$06
ld [hl],a
ld a,$15
ld hl,$D1C6
call Logged_0x3B93
jr Logged_0x1585F8
Logged_0x15861E:
call Logged_0x15866E
jr z,Logged_0x158638
ld hl,$D1C0
add a,[hl]
ld [hli],a
ld a,[bc]
and $01
jr z,Logged_0x15862E
inc [hl]
Logged_0x15862E:
ld a,[bc]
cp $03
ret nz
ld a,$14
ld [$D1C6],a
ret
Logged_0x158638:
xor a
ld [$D1C6],a
jr Logged_0x1585F8
Logged_0x15863E:
ld a,[$D18E]
and a
jr z,Logged_0x158646
ld a,$02
Logged_0x158646:
ld [$D8AB],a
ret
Logged_0x15864A:
ld hl,$4659
ld a,[bc]
ld e,a
ld d,$00
ld hl,$4659
add hl,de
ld a,[hl]
cp $80
ret
Unknown_0x158659:
INCBIN "baserom.gbc", $158659, $15865A - $158659
LoggedData_0x15865A:
INCBIN "baserom.gbc", $15865A, $15866E - $15865A
Logged_0x15866E:
ld hl,$467D
ld a,[bc]
ld e,a
ld d,$00
ld hl,$467D
add hl,de
ld a,[hl]
cp $80
ret
Unknown_0x15867D:
INCBIN "baserom.gbc", $15867D, $15867E - $15867D
LoggedData_0x15867E:
INCBIN "baserom.gbc", $15867E, $15868E - $15867E
call Logged_0x1586A1
call Logged_0x158785
call Logged_0x1586ED
call Logged_0x1587D1
call Logged_0x158739
call Logged_0x15881D
ret
Logged_0x1586A1:
ld a,[$D150]
rst JumpList
dw Logged_0x1586B5
dw Logged_0x1586C1
dw Logged_0x1586D1
dw Logged_0x1586B6
dw Logged_0x1586DD
dw Logged_0x1586C9
dw Logged_0x1586E2
dw Logged_0x1586E7
Logged_0x1586B5:
ret
Logged_0x1586B6:
ld hl,$D190
call Logged_0x158869
Logged_0x1586BC:
ld hl,$D150
inc [hl]
ret
Logged_0x1586C1:
ld hl,$D190
call Logged_0x15887B
jr Logged_0x1586BC
Logged_0x1586C9:
ld hl,$D190
call Logged_0x158889
jr Logged_0x1586BC
Logged_0x1586D1:
ld de,$4897
Logged_0x1586D4:
ld hl,$D190
call Logged_0x3C25
ret nz
jr Logged_0x1586BC
Logged_0x1586DD:
ld de,$48DE
jr Logged_0x1586D4
Logged_0x1586E2:
ld de,$4925
jr Logged_0x1586D4
Logged_0x1586E7:
ld a,$01
ld [$D150],a
ret
Logged_0x1586ED:
ld a,[$D152]
rst JumpList
dw Logged_0x158701
dw Logged_0x158702
dw Logged_0x158729
dw Logged_0x158715
dw Logged_0x15872E
dw Logged_0x15870D
dw Logged_0x15871D
dw Logged_0x158733
Logged_0x158701:
ret
Logged_0x158702:
ld hl,$D1A8
call Logged_0x158869
Logged_0x158708:
ld hl,$D152
inc [hl]
ret
Logged_0x15870D:
ld hl,$D1A8
call Logged_0x15887B
jr Logged_0x158708
Logged_0x158715:
ld hl,$D1A8
call Logged_0x158889
jr Logged_0x158708
Logged_0x15871D:
ld de,$4897
Logged_0x158720:
ld hl,$D1A8
call Logged_0x3C25
ret nz
jr Logged_0x158708
Logged_0x158729:
ld de,$48DE
jr Logged_0x158720
Logged_0x15872E:
ld de,$4925
jr Logged_0x158720
Logged_0x158733:
ld a,$01
ld [$D152],a
ret
Logged_0x158739:
ld a,[$D154]
rst JumpList
dw Logged_0x15874D
dw Logged_0x158761
dw Logged_0x15877A
dw Logged_0x158759
dw Logged_0x158769
dw Logged_0x15874E
dw Logged_0x158775
dw Logged_0x15877F
Logged_0x15874D:
ret
Logged_0x15874E:
ld hl,$D1C8
call Logged_0x158869
Logged_0x158754:
ld hl,$D154
inc [hl]
ret
Logged_0x158759:
ld hl,$D1C8
call Logged_0x15887B
jr Logged_0x158754
Logged_0x158761:
ld hl,$D1C8
call Logged_0x158889
jr Logged_0x158754
Logged_0x158769:
ld de,$4897
Logged_0x15876C:
ld hl,$D1C8
call Logged_0x3C25
ret nz
jr Logged_0x158754
Logged_0x158775:
ld de,$48DE
jr Logged_0x15876C
Logged_0x15877A:
ld de,$4925
jr Logged_0x15876C
Logged_0x15877F:
ld a,$01
ld [$D154],a
ret
Logged_0x158785:
ld a,[$D151]
rst JumpList
dw Logged_0x158799
dw Logged_0x1587A5
dw Logged_0x1587B5
dw Logged_0x15879A
dw Logged_0x1587C1
dw Logged_0x1587AD
dw Logged_0x1587C6
dw Logged_0x1587CB
Logged_0x158799:
ret
Logged_0x15879A:
ld hl,$D198
call Logged_0x158869
Logged_0x1587A0:
ld hl,$D151
inc [hl]
ret
Logged_0x1587A5:
ld hl,$D198
call Logged_0x158882
jr Logged_0x1587A0
Logged_0x1587AD:
ld hl,$D198
call Logged_0x158890
jr Logged_0x1587A0
Logged_0x1587B5:
ld de,$4897
Logged_0x1587B8:
ld hl,$D198
call Logged_0x3C1F
ret nz
jr Logged_0x1587A0
Logged_0x1587C1:
ld de,$48DE
jr Logged_0x1587B8
Logged_0x1587C6:
ld de,$4925
jr Logged_0x1587B8
Logged_0x1587CB:
ld a,$01
ld [$D151],a
ret
Logged_0x1587D1:
ld a,[$D153]
rst JumpList
dw Logged_0x1587E5
dw Logged_0x1587E6
dw Logged_0x15880D
dw Logged_0x1587F9
dw Logged_0x158812
dw Logged_0x1587F1
dw Logged_0x158801
dw Logged_0x158817
Logged_0x1587E5:
ret
Logged_0x1587E6:
ld hl,$D1C0
call Logged_0x158869
Logged_0x1587EC:
ld hl,$D153
inc [hl]
ret
Logged_0x1587F1:
ld hl,$D1C0
call Logged_0x158882
jr Logged_0x1587EC
Logged_0x1587F9:
ld hl,$D1C0
call Logged_0x158890
jr Logged_0x1587EC
Logged_0x158801:
ld de,$4897
Logged_0x158804:
ld hl,$D1C0
call Logged_0x3C1F
ret nz
jr Logged_0x1587EC
Logged_0x15880D:
ld de,$48DE
jr Logged_0x158804
Logged_0x158812:
ld de,$4925
jr Logged_0x158804
Logged_0x158817:
ld a,$01
ld [$D153],a
ret
Logged_0x15881D:
ld a,[$D155]
rst JumpList
dw Logged_0x158831
dw Logged_0x158845
dw Logged_0x15885E
dw Logged_0x158832
dw Logged_0x158859
dw Logged_0x15883D
dw Logged_0x15884D
dw Logged_0x158863
Logged_0x158831:
ret
Logged_0x158832:
ld hl,$D1D0
call Logged_0x158869
Logged_0x158838:
ld hl,$D155
inc [hl]
ret
Logged_0x15883D:
ld hl,$D1D0
call Logged_0x158882
jr Logged_0x158838
Logged_0x158845:
ld hl,$D1D0
call Logged_0x158890
jr Logged_0x158838
Logged_0x15884D:
ld de,$4897
Logged_0x158850:
ld hl,$D1D0
call Logged_0x3C1F
ret nz
jr Logged_0x158838
Logged_0x158859:
ld de,$48DE
jr Logged_0x158850
Logged_0x15885E:
ld de,$4925
jr Logged_0x158850
Logged_0x158863:
ld a,$01
ld [$D155],a
ret
Logged_0x158869:
ld a,$30
ld [hli],a
ld a,$50
Logged_0x15886E:
ld [hli],a
set 2,l
ld a,[rDIV]
and $01
ld b,$29
add a,b
jp Logged_0x3B93
Logged_0x15887B:
ld a,$2E
ld [hli],a
ld a,$4E
jr Logged_0x15886E
Logged_0x158882:
ld a,$2E
ld [hli],a
ld a,$52
jr Logged_0x15886E
Logged_0x158889:
ld a,$31
ld [hli],a
ld a,$4F
jr Logged_0x15886E
Logged_0x158890:
ld a,$31
ld [hli],a
ld a,$51
jr Logged_0x15886E
LoggedData_0x158897:
INCBIN "baserom.gbc", $158897, $15896C - $158897
Unknown_0x15896C:
INCBIN "baserom.gbc", $15896C, $15C000 - $15896C
SECTION "Bank57", ROMX, BANK[$57]
Unknown_0x15C000:
INCBIN "baserom.gbc", $15C000, $15C800 - $15C000
LoggedData_0x15C800:
INCBIN "baserom.gbc", $15C800, $15C900 - $15C800
Unknown_0x15C900:
INCBIN "baserom.gbc", $15C900, $15D180 - $15C900
LoggedData_0x15D180:
INCBIN "baserom.gbc", $15D180, $15E06B - $15D180
Unknown_0x15E06B:
INCBIN "baserom.gbc", $15E06B, $15E225 - $15E06B
LoggedData_0x15E225:
INCBIN "baserom.gbc", $15E225, $15E437 - $15E225
Unknown_0x15E437:
INCBIN "baserom.gbc", $15E437, $15E44A - $15E437
LoggedData_0x15E44A:
INCBIN "baserom.gbc", $15E44A, $15E763 - $15E44A
Unknown_0x15E763:
INCBIN "baserom.gbc", $15E763, $15E774 - $15E763
LoggedData_0x15E774:
INCBIN "baserom.gbc", $15E774, $15E813 - $15E774
Unknown_0x15E813:
INCBIN "baserom.gbc", $15E813, $15E815 - $15E813
LoggedData_0x15E815:
INCBIN "baserom.gbc", $15E815, $15E81B - $15E815
Unknown_0x15E81B:
INCBIN "baserom.gbc", $15E81B, $15E81D - $15E81B
LoggedData_0x15E81D:
INCBIN "baserom.gbc", $15E81D, $15E827 - $15E81D
Unknown_0x15E827:
INCBIN "baserom.gbc", $15E827, $15E830 - $15E827
LoggedData_0x15E830:
INCBIN "baserom.gbc", $15E830, $15E847 - $15E830
Unknown_0x15E847:
INCBIN "baserom.gbc", $15E847, $15E84C - $15E847
LoggedData_0x15E84C:
INCBIN "baserom.gbc", $15E84C, $15E88D - $15E84C
Unknown_0x15E88D:
INCBIN "baserom.gbc", $15E88D, $15E890 - $15E88D
LoggedData_0x15E890:
INCBIN "baserom.gbc", $15E890, $15E899 - $15E890
Unknown_0x15E899:
INCBIN "baserom.gbc", $15E899, $15E89C - $15E899
LoggedData_0x15E89C:
INCBIN "baserom.gbc", $15E89C, $15E8B9 - $15E89C
Unknown_0x15E8B9:
INCBIN "baserom.gbc", $15E8B9, $15E932 - $15E8B9
LoggedData_0x15E932:
INCBIN "baserom.gbc", $15E932, $15E935 - $15E932
Unknown_0x15E935:
INCBIN "baserom.gbc", $15E935, $15E95C - $15E935
LoggedData_0x15E95C:
INCBIN "baserom.gbc", $15E95C, $15E95F - $15E95C
Unknown_0x15E95F:
INCBIN "baserom.gbc", $15E95F, $15E97D - $15E95F
LoggedData_0x15E97D:
INCBIN "baserom.gbc", $15E97D, $15E9BD - $15E97D
Unknown_0x15E9BD:
INCBIN "baserom.gbc", $15E9BD, $15E9BF - $15E9BD
LoggedData_0x15E9BF:
INCBIN "baserom.gbc", $15E9BF, $15E9C5 - $15E9BF
Unknown_0x15E9C5:
INCBIN "baserom.gbc", $15E9C5, $15E9C7 - $15E9C5
LoggedData_0x15E9C7:
INCBIN "baserom.gbc", $15E9C7, $15E9CD - $15E9C7
Unknown_0x15E9CD:
INCBIN "baserom.gbc", $15E9CD, $15E9CF - $15E9CD
LoggedData_0x15E9CF:
INCBIN "baserom.gbc", $15E9CF, $15E9DB - $15E9CF
Unknown_0x15E9DB:
INCBIN "baserom.gbc", $15E9DB, $15E9E1 - $15E9DB
LoggedData_0x15E9E1:
INCBIN "baserom.gbc", $15E9E1, $15ECD1 - $15E9E1
Unknown_0x15ECD1:
INCBIN "baserom.gbc", $15ECD1, $15ECD6 - $15ECD1
LoggedData_0x15ECD6:
INCBIN "baserom.gbc", $15ECD6, $15ECED - $15ECD6
Unknown_0x15ECED:
INCBIN "baserom.gbc", $15ECED, $15ECF2 - $15ECED
LoggedData_0x15ECF2:
INCBIN "baserom.gbc", $15ECF2, $15ED09 - $15ECF2
Unknown_0x15ED09:
INCBIN "baserom.gbc", $15ED09, $15ED0E - $15ED09
LoggedData_0x15ED0E:
INCBIN "baserom.gbc", $15ED0E, $15ED44 - $15ED0E
Unknown_0x15ED44:
INCBIN "baserom.gbc", $15ED44, $15ED5F - $15ED44
LoggedData_0x15ED5F:
INCBIN "baserom.gbc", $15ED5F, $15ED9A - $15ED5F
Unknown_0x15ED9A:
INCBIN "baserom.gbc", $15ED9A, $15ED9D - $15ED9A
LoggedData_0x15ED9D:
INCBIN "baserom.gbc", $15ED9D, $15EDB3 - $15ED9D
Unknown_0x15EDB3:
INCBIN "baserom.gbc", $15EDB3, $15EDC0 - $15EDB3
LoggedData_0x15EDC0:
INCBIN "baserom.gbc", $15EDC0, $15EDE8 - $15EDC0
Unknown_0x15EDE8:
INCBIN "baserom.gbc", $15EDE8, $15EDE9 - $15EDE8
LoggedData_0x15EDE9:
INCBIN "baserom.gbc", $15EDE9, $15EE72 - $15EDE9
Unknown_0x15EE72:
INCBIN "baserom.gbc", $15EE72, $15EE79 - $15EE72
LoggedData_0x15EE79:
INCBIN "baserom.gbc", $15EE79, $15EE8D - $15EE79
Unknown_0x15EE8D:
INCBIN "baserom.gbc", $15EE8D, $160000 - $15EE8D
SECTION "Bank58", ROMX, BANK[$58]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x160028
dw Logged_0x05ED
dw Logged_0x1600D4
dw Logged_0x160190
dw Logged_0x16026C
dw Logged_0x1602EE
dw Logged_0x160318
dw Logged_0x160365
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0x160028:
call Logged_0x08E6
call Logged_0x038F
call Logged_0x037D
call Logged_0x1603B1
call Logged_0x1603D8
call Logged_0x16041F
call Logged_0x160439
ld a,$04
ld [rSCX],a
ld [$C085],a
xor a
ld [rSCY],a
ld [$C083],a
ld [$C084],a
ld [rWY],a
ld [$CEE4],a
ld a,$07
ld [rWX],a
ld a,$9A
ld [$CCF0],a
ld a,$E7
ld [$CCF1],a
ld hl,$CE6A
ld a,$5D
ld [hli],a
ld a,$0F
ld [hli],a
ld a,$60
ld [hli],a
ld a,$E5
ld [hl],a
ld hl,$D515
ld a,$5B
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D51D],a
ld a,$5C
ld [hli],a
ld a,$C4
ld [hl],a
ld a,$57
ld [$D51E],a
ld a,$E8
ld [$D51F],a
ld a,$58
ld [$D521],a
call Logged_0x145A
ld hl,$D515
call Logged_0x1604B1
ld hl,$D523
ld a,$5B
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$AF
ld [hl],a
call Logged_0x145A
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ld a,$FF
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+hMusicIDLow],a
ld a,$78
ld [$CEE5],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1600D4:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1600F8
dec [hl]
call z,Logged_0x1600EF
ld hl,$D515
call Logged_0x1604B1
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ret
Logged_0x1600EF:
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$15
ld [$FF00+hMusicIDLow],a
ret
Logged_0x1600F8:
ld hl,$D51C
call Logged_0x145A
ld hl,$D515
call Logged_0x1604B1
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ld a,[$C084]
cp $0A
jr z,Logged_0x160187
and a
jr z,Logged_0x160127
cp $09
jr z,Logged_0x160127
ld a,[$C08F]
and $01
ret nz
Logged_0x160127:
ld hl,$C083
ld a,[hl]
add a,$01
ld [hli],a
ld a,[hl]
adc a,$00
ld [hld],a
cp $01
ret c
cp $0A
ret nc
ld a,[hl]
and $07
ret nz
ld hl,$CE6A
ld a,[hli]
ld l,[hl]
ld h,a
ld de,$CE01
Logged_0x160145:
ld a,[hli]
ld [de],a
inc e
cp $7F
jr nz,Logged_0x160145
ld a,h
ld [$CE6A],a
ld a,l
ld [$CE6B],a
ld hl,$CE6C
ld a,[hli]
ld l,[hl]
ld h,a
ld de,$CE35
ld b,$0D
Logged_0x16015F:
ld a,[hli]
ld [de],a
inc e
dec b
jr nz,Logged_0x16015F
ld a,h
ld [$CE6C],a
ld a,l
ld [$CE6D],a
ld hl,$CCF0
ld a,[hli]
ld l,[hl]
ld h,a
ld de,$0020
add hl,de
ld a,h
and $FB
ld [$CCF0],a
ld a,l
ld [$CCF1],a
ld a,$80
ld [$CEE4],a
ret
Logged_0x160187:
xor a
ld [$D51D],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x160190:
ld a,[$D51D]
and a
jr nz,Logged_0x1601B7
ld hl,$D516
ld a,[hl]
cp $38
jr c,Logged_0x1601B0
cp $50
jr c,Logged_0x1601A9
ld a,$01
ld [$D51D],a
jr Logged_0x1601B7
Logged_0x1601A9:
ld a,[$C08F]
and $01
jr nz,Logged_0x160216
Logged_0x1601B0:
inc [hl]
ld hl,$D524
inc [hl]
jr Logged_0x1601E3
Logged_0x1601B7:
ld a,[$C08F]
and $01
jr nz,Logged_0x160216
ld a,[$D520]
and a
jr z,Logged_0x1601E3
xor a
ld [$D520],a
ld a,[$D51D]
inc a
ld [$D51D],a
cp $03
jr c,Logged_0x1601E3
cp $04
jr z,Logged_0x160226
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$EE
ld [hl],a
Logged_0x1601E3:
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
ld a,[$D51D]
cp $03
jr nz,Logged_0x160210
ld a,[$C08F]
and $03
jr nz,Logged_0x160216
Logged_0x160210:
ld hl,$D52A
call Logged_0x145A
Logged_0x160216:
ld hl,$D515
call Logged_0x17EC
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ret
Logged_0x160226:
ld hl,$D515
ld a,$5B
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D51D],a
ld a,$5C
ld [hli],a
ld a,$E8
ld [hl],a
ld a,$57
ld [$D51E],a
ld a,$E8
ld [$D51F],a
ld a,$58
ld [$D521],a
ld hl,$D523
ld a,$E0
ld [hli],a
ld a,$4E
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$E5
ld [hl],a
ld a,$10
ld [$CEE5],a
ld hl,wGameSubState
inc [hl]
jp Logged_0x1601E3
Logged_0x16026C:
ld hl,$CEE5
dec [hl]
jr z,Logged_0x16029C
ld a,[hl]
cp $06
jr nz,Logged_0x1602E4
ld hl,$D515
ld a,$5B
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$EB
ld [hl],a
ld a,$57
ld [$D51E],a
ld a,$E8
ld [$D51F],a
ld a,$58
ld [$D521],a
jr Logged_0x1602CB
Logged_0x16029C:
ld hl,$D515
ld a,$50
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$67
ld [hli],a
ld a,$ED
ld [hl],a
ld a,$64
ld [$D51E],a
ld a,$4A
ld [$D51F],a
ld a,$57
ld [$D521],a
call Logged_0x1603BE
ld a,$82
ld [$CEE4],a
ld hl,wGameSubState
inc [hl]
Logged_0x1602CB:
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1602E4:
ld hl,$D515
call Logged_0x17EC
call Logged_0x03B9
ret
Logged_0x1602EE:
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
call Logged_0x17EC
call Logged_0x03B9
call Logged_0x1603CB
ld hl,wGameSubState
inc [hl]
ret
Logged_0x160318:
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
call Logged_0x17EC
ld hl,$D523
ld a,[hl]
cp $80
jr z,Logged_0x160347
ld a,[$C08F]
and $01
jr nz,Logged_0x160347
dec [hl]
Logged_0x160347:
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ld a,[$C08F]
and $0F
ret nz
call Logged_0x06FA
ld a,$B4
ld [$CEE5],a
ret
Logged_0x160365:
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
call Logged_0x17EC
ld hl,$D523
ld a,[hl]
cp $80
jr z,Logged_0x16038D
dec [hl]
Logged_0x16038D:
ld hl,$D52A
call Logged_0x145A
ld hl,$D523
call Logged_0x1604B1
call Logged_0x03B9
ld a,[$CEE3]
cp $F2
ret nz
ld a,[$C094]
and a
jp nz,Logged_0x1610
ld hl,$CEE5
dec [hl]
ret nz
jp Logged_0x1610
Logged_0x1603B1:
ld hl,$44CC
call Logged_0x1A15
ld hl,$450C
call Logged_0x1A21
ret
Logged_0x1603BE:
ld hl,$454C
call Logged_0x1A15
ld hl,$458C
call Logged_0x1A21
ret
Logged_0x1603CB:
ld hl,$45CC
call Logged_0x1A15
ld hl,$460C
call Logged_0x1A21
ret
Logged_0x1603D8:
ld a,$01
ld [rVBK],a
ld hl,$5780
ld bc,_VRAM
ld a,$2C
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$4000
ld de,$8800
ld bc,$0300
ld a,$2C
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$04
ld [$FF00+$8E],a
call $FF80
xor a
ld [rVBK],a
ld hl,$464C
ld bc,_VRAM
call Decompress_BC_HL
ld hl,$4AF9
ld bc,_VRAM
call Decompress_BC_HL
ret
Logged_0x16041F:
ld a,$01
ld [rVBK],a
ld hl,$579C
ld bc,_SCRN1
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$5744
ld bc,_SCRN1
call Decompress_BC_HL
ret
Logged_0x160439:
ld hl,RAMCode_0x160445
ld de,$C200
ld b,Logged_0x1604B1 - RAMCode_0x160445
call MemCopy_DE_HL
ret
RAMCode_0x160445:
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,[$CEE4]
bit 7,a
jr z,Unknown_0x1604AB
and $7F
dec a
jr z,Unknown_0x160487
dec a
jr z,Unknown_0x160499
ld a,$01
ld [rVBK],a
ld hl,$CCF0
ld a,[hli]
ld e,[hl]
ld d,a
ld hl,$CE35
ld b,$0D
call MemCopy_DE_HL
xor a
ld [rVBK],a
ld hl,$CCF0
ld a,[hli]
ld l,[hl]
ld h,a
ld a,$7E
ld b,$0D
call Logged_0x0420
ld a,$81
ld [$CEE4],a
jr Unknown_0x1604AB
Unknown_0x160487:
ld hl,$CCF0
ld a,[hli]
ld e,[hl]
ld d,a
ld hl,$CE01
Unknown_0x160490:
ld a,[hli]
cp $7F
jr z,Unknown_0x1604A6
ld [de],a
inc e
jr Unknown_0x160490
Unknown_0x160499:
call Logged_0x1C4A
call Logged_0x1C5B
ld hl,$FF40
ld a,[hl]
or $60
ld [hl],a
Unknown_0x1604A6:
ld hl,$CEE4
res 7,[hl]
Unknown_0x1604AB:
ld a,$CC
call $FFE8
ret
Logged_0x1604B1:
ld a,[hli]
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$57E8
call Logged_0x0DF4
ret
LoggedData_0x1604CC:
INCBIN "baserom.gbc", $1604CC, $161CEA - $1604CC
Unknown_0x161CEA:
INCBIN "baserom.gbc", $161CEA, $161CEB - $161CEA
LoggedData_0x161CEB:
INCBIN "baserom.gbc", $161CEB, $161CED - $161CEB
Unknown_0x161CED:
INCBIN "baserom.gbc", $161CED, $161CEE - $161CED
LoggedData_0x161CEE:
INCBIN "baserom.gbc", $161CEE, $162F85 - $161CEE
Unknown_0x162F85:
INCBIN "baserom.gbc", $162F85, $164000 - $162F85
SECTION "Bank59", ROMX, BANK[$59]
Unknown_0x164000:
INCBIN "baserom.gbc", $164000, $168000 - $164000
SECTION "Bank5A", ROMX, BANK[$5A]
Unknown_0x168000:
INCBIN "baserom.gbc", $168000, $16C000 - $168000
SECTION "Bank5B", ROMX, BANK[$5B]
Unknown_0x16C000:
INCBIN "baserom.gbc", $16C000, $170000 - $16C000
SECTION "Bank5C", ROMX, BANK[$5C]
Unknown_0x170000:
INCBIN "baserom.gbc", $170000, $174000 - $170000
SECTION "Bank5D", ROMX, BANK[$5D]
Unknown_0x174000:
INCBIN "baserom.gbc", $174000, $178000 - $174000
SECTION "Bank5E", ROMX, BANK[$5E]
Unknown_0x178000:
INCBIN "baserom.gbc", $178000, $17C000 - $178000
SECTION "Bank5F", ROMX, BANK[$5F]
Unknown_0x17C000:
INCBIN "baserom.gbc", $17C000, $180000 - $17C000
SECTION "Bank60", ROMX, BANK[$60]
Unknown_0x180000:
INCBIN "baserom.gbc", $180000, $180003 - $180000
LoggedData_0x180003:
INCBIN "baserom.gbc", $180003, $180246 - $180003
Unknown_0x180246:
INCBIN "baserom.gbc", $180246, $180248 - $180246
LoggedData_0x180248:
INCBIN "baserom.gbc", $180248, $18024E - $180248
Unknown_0x18024E:
INCBIN "baserom.gbc", $18024E, $180252 - $18024E
LoggedData_0x180252:
INCBIN "baserom.gbc", $180252, $18025A - $180252
Unknown_0x18025A:
INCBIN "baserom.gbc", $18025A, $18025E - $18025A
LoggedData_0x18025E:
INCBIN "baserom.gbc", $18025E, $180264 - $18025E
Unknown_0x180264:
INCBIN "baserom.gbc", $180264, $180268 - $180264
LoggedData_0x180268:
INCBIN "baserom.gbc", $180268, $1802B0 - $180268
Unknown_0x1802B0:
INCBIN "baserom.gbc", $1802B0, $1802BD - $1802B0
LoggedData_0x1802BD:
INCBIN "baserom.gbc", $1802BD, $1802E8 - $1802BD
Unknown_0x1802E8:
INCBIN "baserom.gbc", $1802E8, $180306 - $1802E8
LoggedData_0x180306:
INCBIN "baserom.gbc", $180306, $18032A - $180306
Unknown_0x18032A:
INCBIN "baserom.gbc", $18032A, $180354 - $18032A
LoggedData_0x180354:
INCBIN "baserom.gbc", $180354, $18036F - $180354
Unknown_0x18036F:
INCBIN "baserom.gbc", $18036F, $180389 - $18036F
LoggedData_0x180389:
INCBIN "baserom.gbc", $180389, $18056E - $180389
Unknown_0x18056E:
INCBIN "baserom.gbc", $18056E, $180570 - $18056E
LoggedData_0x180570:
INCBIN "baserom.gbc", $180570, $180572 - $180570
Unknown_0x180572:
INCBIN "baserom.gbc", $180572, $180574 - $180572
LoggedData_0x180574:
INCBIN "baserom.gbc", $180574, $180631 - $180574
Unknown_0x180631:
INCBIN "baserom.gbc", $180631, $180652 - $180631
LoggedData_0x180652:
INCBIN "baserom.gbc", $180652, $180673 - $180652
Unknown_0x180673:
INCBIN "baserom.gbc", $180673, $180694 - $180673
LoggedData_0x180694:
INCBIN "baserom.gbc", $180694, $180916 - $180694
Unknown_0x180916:
INCBIN "baserom.gbc", $180916, $1809FF - $180916
LoggedData_0x1809FF:
INCBIN "baserom.gbc", $1809FF, $180A09 - $1809FF
Unknown_0x180A09:
INCBIN "baserom.gbc", $180A09, $180A0B - $180A09
LoggedData_0x180A0B:
INCBIN "baserom.gbc", $180A0B, $180A13 - $180A0B
Unknown_0x180A13:
INCBIN "baserom.gbc", $180A13, $180A15 - $180A13
LoggedData_0x180A15:
INCBIN "baserom.gbc", $180A15, $180A94 - $180A15
Unknown_0x180A94:
INCBIN "baserom.gbc", $180A94, $180AAD - $180A94
LoggedData_0x180AAD:
INCBIN "baserom.gbc", $180AAD, $180B11 - $180AAD
Unknown_0x180B11:
INCBIN "baserom.gbc", $180B11, $180B2A - $180B11
LoggedData_0x180B2A:
INCBIN "baserom.gbc", $180B2A, $180B59 - $180B2A
Unknown_0x180B59:
INCBIN "baserom.gbc", $180B59, $180B5B - $180B59
LoggedData_0x180B5B:
INCBIN "baserom.gbc", $180B5B, $180B5F - $180B5B
Unknown_0x180B5F:
INCBIN "baserom.gbc", $180B5F, $180B63 - $180B5F
LoggedData_0x180B63:
INCBIN "baserom.gbc", $180B63, $180B6B - $180B63
Unknown_0x180B6B:
INCBIN "baserom.gbc", $180B6B, $180B6D - $180B6B
LoggedData_0x180B6D:
INCBIN "baserom.gbc", $180B6D, $180B75 - $180B6D
Unknown_0x180B75:
INCBIN "baserom.gbc", $180B75, $180B77 - $180B75
LoggedData_0x180B77:
INCBIN "baserom.gbc", $180B77, $180B8B - $180B77
Unknown_0x180B8B:
INCBIN "baserom.gbc", $180B8B, $180B93 - $180B8B
LoggedData_0x180B93:
INCBIN "baserom.gbc", $180B93, $180C46 - $180B93
Unknown_0x180C46:
INCBIN "baserom.gbc", $180C46, $180C57 - $180C46
LoggedData_0x180C57:
INCBIN "baserom.gbc", $180C57, $180C79 - $180C57
Unknown_0x180C79:
INCBIN "baserom.gbc", $180C79, $180C9B - $180C79
LoggedData_0x180C9B:
INCBIN "baserom.gbc", $180C9B, $180CCF - $180C9B
Unknown_0x180CCF:
INCBIN "baserom.gbc", $180CCF, $180CDC - $180CCF
LoggedData_0x180CDC:
INCBIN "baserom.gbc", $180CDC, $180D10 - $180CDC
Unknown_0x180D10:
INCBIN "baserom.gbc", $180D10, $180D1D - $180D10
LoggedData_0x180D1D:
INCBIN "baserom.gbc", $180D1D, $180DB7 - $180D1D
Unknown_0x180DB7:
INCBIN "baserom.gbc", $180DB7, $180DEB - $180DB7
LoggedData_0x180DEB:
INCBIN "baserom.gbc", $180DEB, $181189 - $180DEB
Unknown_0x181189:
INCBIN "baserom.gbc", $181189, $18118D - $181189
LoggedData_0x18118D:
INCBIN "baserom.gbc", $18118D, $181197 - $18118D
Unknown_0x181197:
INCBIN "baserom.gbc", $181197, $18119D - $181197
LoggedData_0x18119D:
INCBIN "baserom.gbc", $18119D, $1811AF - $18119D
Unknown_0x1811AF:
INCBIN "baserom.gbc", $1811AF, $1811DD - $1811AF
LoggedData_0x1811DD:
INCBIN "baserom.gbc", $1811DD, $181246 - $1811DD
Unknown_0x181246:
INCBIN "baserom.gbc", $181246, $181285 - $181246
LoggedData_0x181285:
INCBIN "baserom.gbc", $181285, $181342 - $181285
Unknown_0x181342:
INCBIN "baserom.gbc", $181342, $18136C - $181342
LoggedData_0x18136C:
INCBIN "baserom.gbc", $18136C, $181380 - $18136C
Unknown_0x181380:
INCBIN "baserom.gbc", $181380, $181382 - $181380
LoggedData_0x181382:
INCBIN "baserom.gbc", $181382, $181392 - $181382
Unknown_0x181392:
INCBIN "baserom.gbc", $181392, $181396 - $181392
LoggedData_0x181396:
INCBIN "baserom.gbc", $181396, $181468 - $181396
Unknown_0x181468:
INCBIN "baserom.gbc", $181468, $18147D - $181468
LoggedData_0x18147D:
INCBIN "baserom.gbc", $18147D, $181525 - $18147D
Unknown_0x181525:
INCBIN "baserom.gbc", $181525, $18154F - $181525
LoggedData_0x18154F:
INCBIN "baserom.gbc", $18154F, $181620 - $18154F
Unknown_0x181620:
INCBIN "baserom.gbc", $181620, $18162C - $181620
LoggedData_0x18162C:
INCBIN "baserom.gbc", $18162C, $18163E - $18162C
Unknown_0x18163E:
INCBIN "baserom.gbc", $18163E, $181644 - $18163E
LoggedData_0x181644:
INCBIN "baserom.gbc", $181644, $1816D6 - $181644
Unknown_0x1816D6:
INCBIN "baserom.gbc", $1816D6, $181734 - $1816D6
LoggedData_0x181734:
INCBIN "baserom.gbc", $181734, $18178D - $181734
Unknown_0x18178D:
INCBIN "baserom.gbc", $18178D, $1817B4 - $18178D
LoggedData_0x1817B4:
INCBIN "baserom.gbc", $1817B4, $181B23 - $1817B4
Unknown_0x181B23:
INCBIN "baserom.gbc", $181B23, $181B2D - $181B23
LoggedData_0x181B2D:
INCBIN "baserom.gbc", $181B2D, $181BB7 - $181B2D
Unknown_0x181BB7:
INCBIN "baserom.gbc", $181BB7, $181BE4 - $181BB7
LoggedData_0x181BE4:
INCBIN "baserom.gbc", $181BE4, $181BE6 - $181BE4
Unknown_0x181BE6:
INCBIN "baserom.gbc", $181BE6, $181BF2 - $181BE6
LoggedData_0x181BF2:
INCBIN "baserom.gbc", $181BF2, $181BFF - $181BF2
Unknown_0x181BFF:
INCBIN "baserom.gbc", $181BFF, $181C35 - $181BFF
LoggedData_0x181C35:
INCBIN "baserom.gbc", $181C35, $181C47 - $181C35
Unknown_0x181C47:
INCBIN "baserom.gbc", $181C47, $181C49 - $181C47
LoggedData_0x181C49:
INCBIN "baserom.gbc", $181C49, $181C4F - $181C49
Unknown_0x181C4F:
INCBIN "baserom.gbc", $181C4F, $181C70 - $181C4F
LoggedData_0x181C70:
INCBIN "baserom.gbc", $181C70, $181CF5 - $181C70
Unknown_0x181CF5:
INCBIN "baserom.gbc", $181CF5, $181CF7 - $181CF5
LoggedData_0x181CF7:
INCBIN "baserom.gbc", $181CF7, $181E06 - $181CF7
Unknown_0x181E06:
INCBIN "baserom.gbc", $181E06, $181E1B - $181E06
LoggedData_0x181E1B:
INCBIN "baserom.gbc", $181E1B, $181EB6 - $181E1B
Unknown_0x181EB6:
INCBIN "baserom.gbc", $181EB6, $184000 - $181EB6
SECTION "Bank61", ROMX, BANK[$61]
LoggedData_0x184000:
INCBIN "baserom.gbc", $184000, $184006 - $184000
Unknown_0x184006:
INCBIN "baserom.gbc", $184006, $184008 - $184006
LoggedData_0x184008:
INCBIN "baserom.gbc", $184008, $184095 - $184008
Unknown_0x184095:
INCBIN "baserom.gbc", $184095, $1840BE - $184095
LoggedData_0x1840BE:
INCBIN "baserom.gbc", $1840BE, $184245 - $1840BE
Unknown_0x184245:
INCBIN "baserom.gbc", $184245, $184247 - $184245
LoggedData_0x184247:
INCBIN "baserom.gbc", $184247, $184249 - $184247
Unknown_0x184249:
INCBIN "baserom.gbc", $184249, $18424B - $184249
LoggedData_0x18424B:
INCBIN "baserom.gbc", $18424B, $184374 - $18424B
Unknown_0x184374:
INCBIN "baserom.gbc", $184374, $18438D - $184374
LoggedData_0x18438D:
INCBIN "baserom.gbc", $18438D, $1843A6 - $18438D
Unknown_0x1843A6:
INCBIN "baserom.gbc", $1843A6, $1843BF - $1843A6
LoggedData_0x1843BF:
INCBIN "baserom.gbc", $1843BF, $184438 - $1843BF
Unknown_0x184438:
INCBIN "baserom.gbc", $184438, $18443C - $184438
LoggedData_0x18443C:
INCBIN "baserom.gbc", $18443C, $184535 - $18443C
Unknown_0x184535:
INCBIN "baserom.gbc", $184535, $184557 - $184535
LoggedData_0x184557:
INCBIN "baserom.gbc", $184557, $184AD6 - $184557
Unknown_0x184AD6:
INCBIN "baserom.gbc", $184AD6, $184ADA - $184AD6
LoggedData_0x184ADA:
INCBIN "baserom.gbc", $184ADA, $184ADE - $184ADA
Unknown_0x184ADE:
INCBIN "baserom.gbc", $184ADE, $184AE2 - $184ADE
LoggedData_0x184AE2:
INCBIN "baserom.gbc", $184AE2, $184AFC - $184AE2
Unknown_0x184AFC:
INCBIN "baserom.gbc", $184AFC, $184AFE - $184AFC
LoggedData_0x184AFE:
INCBIN "baserom.gbc", $184AFE, $184B00 - $184AFE
Unknown_0x184B00:
INCBIN "baserom.gbc", $184B00, $184B02 - $184B00
LoggedData_0x184B02:
INCBIN "baserom.gbc", $184B02, $184C66 - $184B02
Unknown_0x184C66:
INCBIN "baserom.gbc", $184C66, $184C88 - $184C66
LoggedData_0x184C88:
INCBIN "baserom.gbc", $184C88, $184CB2 - $184C88
Unknown_0x184CB2:
INCBIN "baserom.gbc", $184CB2, $184CD4 - $184CB2
LoggedData_0x184CD4:
INCBIN "baserom.gbc", $184CD4, $184D79 - $184CD4
Unknown_0x184D79:
INCBIN "baserom.gbc", $184D79, $184D8A - $184D79
LoggedData_0x184D8A:
INCBIN "baserom.gbc", $184D8A, $184D9B - $184D8A
Unknown_0x184D9B:
INCBIN "baserom.gbc", $184D9B, $184DAC - $184D9B
LoggedData_0x184DAC:
INCBIN "baserom.gbc", $184DAC, $184EFB - $184DAC
Unknown_0x184EFB:
INCBIN "baserom.gbc", $184EFB, $184F0B - $184EFB
LoggedData_0x184F0B:
INCBIN "baserom.gbc", $184F0B, $184F7D - $184F0B
Unknown_0x184F7D:
INCBIN "baserom.gbc", $184F7D, $184FCD - $184F7D
LoggedData_0x184FCD:
INCBIN "baserom.gbc", $184FCD, $18501A - $184FCD
Unknown_0x18501A:
INCBIN "baserom.gbc", $18501A, $18501E - $18501A
LoggedData_0x18501E:
INCBIN "baserom.gbc", $18501E, $18502E - $18501E
Unknown_0x18502E:
INCBIN "baserom.gbc", $18502E, $185038 - $18502E
LoggedData_0x185038:
INCBIN "baserom.gbc", $185038, $185118 - $185038
Unknown_0x185118:
INCBIN "baserom.gbc", $185118, $18514A - $185118
LoggedData_0x18514A:
INCBIN "baserom.gbc", $18514A, $1851BA - $18514A
Unknown_0x1851BA:
INCBIN "baserom.gbc", $1851BA, $1851E1 - $1851BA
LoggedData_0x1851E1:
INCBIN "baserom.gbc", $1851E1, $1851E3 - $1851E1
Unknown_0x1851E3:
INCBIN "baserom.gbc", $1851E3, $1851E5 - $1851E3
LoggedData_0x1851E5:
INCBIN "baserom.gbc", $1851E5, $1851F7 - $1851E5
Unknown_0x1851F7:
INCBIN "baserom.gbc", $1851F7, $1851F9 - $1851F7
LoggedData_0x1851F9:
INCBIN "baserom.gbc", $1851F9, $1851FD - $1851F9
Unknown_0x1851FD:
INCBIN "baserom.gbc", $1851FD, $185201 - $1851FD
LoggedData_0x185201:
INCBIN "baserom.gbc", $185201, $185211 - $185201
Unknown_0x185211:
INCBIN "baserom.gbc", $185211, $185232 - $185211
LoggedData_0x185232:
INCBIN "baserom.gbc", $185232, $185253 - $185232
Unknown_0x185253:
INCBIN "baserom.gbc", $185253, $185274 - $185253
LoggedData_0x185274:
INCBIN "baserom.gbc", $185274, $18533D - $185274
Unknown_0x18533D:
INCBIN "baserom.gbc", $18533D, $185346 - $18533D
LoggedData_0x185346:
INCBIN "baserom.gbc", $185346, $185388 - $185346
Unknown_0x185388:
INCBIN "baserom.gbc", $185388, $1853CA - $185388
LoggedData_0x1853CA:
INCBIN "baserom.gbc", $1853CA, $1854A2 - $1853CA
Unknown_0x1854A2:
INCBIN "baserom.gbc", $1854A2, $185788 - $1854A2
LoggedData_0x185788:
INCBIN "baserom.gbc", $185788, $185CE5 - $185788
Unknown_0x185CE5:
INCBIN "baserom.gbc", $185CE5, $188000 - $185CE5
SECTION "Bank62", ROMX, BANK[$62]
LoggedData_0x188000:
INCBIN "baserom.gbc", $188000, $188395 - $188000
Unknown_0x188395:
INCBIN "baserom.gbc", $188395, $188399 - $188395
LoggedData_0x188399:
INCBIN "baserom.gbc", $188399, $18839D - $188399
Unknown_0x18839D:
INCBIN "baserom.gbc", $18839D, $18839F - $18839D
LoggedData_0x18839F:
INCBIN "baserom.gbc", $18839F, $1883A1 - $18839F
Unknown_0x1883A1:
INCBIN "baserom.gbc", $1883A1, $1883A3 - $1883A1
LoggedData_0x1883A3:
INCBIN "baserom.gbc", $1883A3, $1883A5 - $1883A3
Unknown_0x1883A5:
INCBIN "baserom.gbc", $1883A5, $1883A7 - $1883A5
LoggedData_0x1883A7:
INCBIN "baserom.gbc", $1883A7, $1883A9 - $1883A7
Unknown_0x1883A9:
INCBIN "baserom.gbc", $1883A9, $1883AF - $1883A9
LoggedData_0x1883AF:
INCBIN "baserom.gbc", $1883AF, $1883B9 - $1883AF
Unknown_0x1883B9:
INCBIN "baserom.gbc", $1883B9, $1883BD - $1883B9
LoggedData_0x1883BD:
INCBIN "baserom.gbc", $1883BD, $1883C1 - $1883BD
Unknown_0x1883C1:
INCBIN "baserom.gbc", $1883C1, $1883C5 - $1883C1
LoggedData_0x1883C5:
INCBIN "baserom.gbc", $1883C5, $1883C9 - $1883C5
Unknown_0x1883C9:
INCBIN "baserom.gbc", $1883C9, $1883CB - $1883C9
LoggedData_0x1883CB:
INCBIN "baserom.gbc", $1883CB, $1883CD - $1883CB
Unknown_0x1883CD:
INCBIN "baserom.gbc", $1883CD, $1883CF - $1883CD
LoggedData_0x1883CF:
INCBIN "baserom.gbc", $1883CF, $1883D5 - $1883CF
Unknown_0x1883D5:
INCBIN "baserom.gbc", $1883D5, $1883EF - $1883D5
LoggedData_0x1883EF:
INCBIN "baserom.gbc", $1883EF, $188409 - $1883EF
Unknown_0x188409:
INCBIN "baserom.gbc", $188409, $188416 - $188409
LoggedData_0x188416:
INCBIN "baserom.gbc", $188416, $188423 - $188416
Unknown_0x188423:
INCBIN "baserom.gbc", $188423, $18842C - $188423
LoggedData_0x18842C:
INCBIN "baserom.gbc", $18842C, $188435 - $18842C
Unknown_0x188435:
INCBIN "baserom.gbc", $188435, $18843E - $188435
LoggedData_0x18843E:
INCBIN "baserom.gbc", $18843E, $188447 - $18843E
Unknown_0x188447:
INCBIN "baserom.gbc", $188447, $188472 - $188447
LoggedData_0x188472:
INCBIN "baserom.gbc", $188472, $1884AF - $188472
Unknown_0x1884AF:
INCBIN "baserom.gbc", $1884AF, $1884C9 - $1884AF
LoggedData_0x1884C9:
INCBIN "baserom.gbc", $1884C9, $1884E3 - $1884C9
Unknown_0x1884E3:
INCBIN "baserom.gbc", $1884E3, $1884FD - $1884E3
LoggedData_0x1884FD:
INCBIN "baserom.gbc", $1884FD, $188517 - $1884FD
Unknown_0x188517:
INCBIN "baserom.gbc", $188517, $188520 - $188517
LoggedData_0x188520:
INCBIN "baserom.gbc", $188520, $188529 - $188520
Unknown_0x188529:
INCBIN "baserom.gbc", $188529, $188536 - $188529
LoggedData_0x188536:
INCBIN "baserom.gbc", $188536, $188573 - $188536
Unknown_0x188573:
INCBIN "baserom.gbc", $188573, $188575 - $188573
LoggedData_0x188575:
INCBIN "baserom.gbc", $188575, $18857F - $188575
Unknown_0x18857F:
INCBIN "baserom.gbc", $18857F, $188583 - $18857F
LoggedData_0x188583:
INCBIN "baserom.gbc", $188583, $188587 - $188583
Unknown_0x188587:
INCBIN "baserom.gbc", $188587, $18858B - $188587
LoggedData_0x18858B:
INCBIN "baserom.gbc", $18858B, $1888AE - $18858B
Unknown_0x1888AE:
INCBIN "baserom.gbc", $1888AE, $1888EB - $1888AE
LoggedData_0x1888EB:
INCBIN "baserom.gbc", $1888EB, $188A10 - $1888EB
Unknown_0x188A10:
INCBIN "baserom.gbc", $188A10, $188A82 - $188A10
LoggedData_0x188A82:
INCBIN "baserom.gbc", $188A82, $188AEC - $188A82
Unknown_0x188AEC:
INCBIN "baserom.gbc", $188AEC, $188B56 - $188AEC
LoggedData_0x188B56:
INCBIN "baserom.gbc", $188B56, $188B6C - $188B56
Unknown_0x188B6C:
INCBIN "baserom.gbc", $188B6C, $188B70 - $188B6C
LoggedData_0x188B70:
INCBIN "baserom.gbc", $188B70, $188C39 - $188B70
Unknown_0x188C39:
INCBIN "baserom.gbc", $188C39, $188C5B - $188C39
LoggedData_0x188C5B:
INCBIN "baserom.gbc", $188C5B, $188E30 - $188C5B
Unknown_0x188E30:
INCBIN "baserom.gbc", $188E30, $188E4A - $188E30
LoggedData_0x188E4A:
INCBIN "baserom.gbc", $188E4A, $188E5E - $188E4A
Unknown_0x188E5E:
INCBIN "baserom.gbc", $188E5E, $188E86 - $188E5E
LoggedData_0x188E86:
INCBIN "baserom.gbc", $188E86, $188FCB - $188E86
Unknown_0x188FCB:
INCBIN "baserom.gbc", $188FCB, $189110 - $188FCB
LoggedData_0x189110:
INCBIN "baserom.gbc", $189110, $18920A - $189110
Unknown_0x18920A:
INCBIN "baserom.gbc", $18920A, $1893FE - $18920A
LoggedData_0x1893FE:
INCBIN "baserom.gbc", $1893FE, $18942A - $1893FE
Unknown_0x18942A:
INCBIN "baserom.gbc", $18942A, $18942C - $18942A
LoggedData_0x18942C:
INCBIN "baserom.gbc", $18942C, $189434 - $18942C
Unknown_0x189434:
INCBIN "baserom.gbc", $189434, $189436 - $189434
LoggedData_0x189436:
INCBIN "baserom.gbc", $189436, $189578 - $189436
Unknown_0x189578:
INCBIN "baserom.gbc", $189578, $18957D - $189578
LoggedData_0x18957D:
INCBIN "baserom.gbc", $18957D, $189599 - $18957D
Unknown_0x189599:
INCBIN "baserom.gbc", $189599, $1895A6 - $189599
LoggedData_0x1895A6:
INCBIN "baserom.gbc", $1895A6, $1895F2 - $1895A6
Unknown_0x1895F2:
INCBIN "baserom.gbc", $1895F2, $1895F4 - $1895F2
LoggedData_0x1895F4:
INCBIN "baserom.gbc", $1895F4, $18965D - $1895F4
Unknown_0x18965D:
INCBIN "baserom.gbc", $18965D, $18967E - $18965D
LoggedData_0x18967E:
INCBIN "baserom.gbc", $18967E, $1897A7 - $18967E
Unknown_0x1897A7:
INCBIN "baserom.gbc", $1897A7, $1897A9 - $1897A7
LoggedData_0x1897A9:
INCBIN "baserom.gbc", $1897A9, $1897AB - $1897A9
Unknown_0x1897AB:
INCBIN "baserom.gbc", $1897AB, $1897AD - $1897AB
LoggedData_0x1897AD:
INCBIN "baserom.gbc", $1897AD, $18983B - $1897AD
Unknown_0x18983B:
INCBIN "baserom.gbc", $18983B, $18983D - $18983B
LoggedData_0x18983D:
INCBIN "baserom.gbc", $18983D, $189A47 - $18983D
Unknown_0x189A47:
INCBIN "baserom.gbc", $189A47, $189A64 - $189A47
LoggedData_0x189A64:
INCBIN "baserom.gbc", $189A64, $189A81 - $189A64
Unknown_0x189A81:
INCBIN "baserom.gbc", $189A81, $189A9E - $189A81
LoggedData_0x189A9E:
INCBIN "baserom.gbc", $189A9E, $18A5A9 - $189A9E
Unknown_0x18A5A9:
INCBIN "baserom.gbc", $18A5A9, $18A5AE - $18A5A9
LoggedData_0x18A5AE:
INCBIN "baserom.gbc", $18A5AE, $18A646 - $18A5AE
Unknown_0x18A646:
INCBIN "baserom.gbc", $18A646, $18A64A - $18A646
LoggedData_0x18A64A:
INCBIN "baserom.gbc", $18A64A, $18A64C - $18A64A
Unknown_0x18A64C:
INCBIN "baserom.gbc", $18A64C, $18A652 - $18A64C
LoggedData_0x18A652:
INCBIN "baserom.gbc", $18A652, $18A656 - $18A652
Unknown_0x18A656:
INCBIN "baserom.gbc", $18A656, $18A660 - $18A656
LoggedData_0x18A660:
INCBIN "baserom.gbc", $18A660, $18A67A - $18A660
Unknown_0x18A67A:
INCBIN "baserom.gbc", $18A67A, $18A694 - $18A67A
LoggedData_0x18A694:
INCBIN "baserom.gbc", $18A694, $18A6A1 - $18A694
Unknown_0x18A6A1:
INCBIN "baserom.gbc", $18A6A1, $18A6C4 - $18A6A1
LoggedData_0x18A6C4:
INCBIN "baserom.gbc", $18A6C4, $18A6D6 - $18A6C4
Unknown_0x18A6D6:
INCBIN "baserom.gbc", $18A6D6, $18A703 - $18A6D6
LoggedData_0x18A703:
INCBIN "baserom.gbc", $18A703, $18A71F - $18A703
Unknown_0x18A71F:
INCBIN "baserom.gbc", $18A71F, $18A721 - $18A71F
LoggedData_0x18A721:
INCBIN "baserom.gbc", $18A721, $18A723 - $18A721
Unknown_0x18A723:
INCBIN "baserom.gbc", $18A723, $18A729 - $18A723
LoggedData_0x18A729:
INCBIN "baserom.gbc", $18A729, $18A7A9 - $18A729
Unknown_0x18A7A9:
INCBIN "baserom.gbc", $18A7A9, $18A7BA - $18A7A9
LoggedData_0x18A7BA:
INCBIN "baserom.gbc", $18A7BA, $18A7CB - $18A7BA
Unknown_0x18A7CB:
INCBIN "baserom.gbc", $18A7CB, $18A7E6 - $18A7CB
LoggedData_0x18A7E6:
INCBIN "baserom.gbc", $18A7E6, $18A803 - $18A7E6
Unknown_0x18A803:
INCBIN "baserom.gbc", $18A803, $18A805 - $18A803
LoggedData_0x18A805:
INCBIN "baserom.gbc", $18A805, $18A828 - $18A805
Unknown_0x18A828:
INCBIN "baserom.gbc", $18A828, $18A831 - $18A828
LoggedData_0x18A831:
INCBIN "baserom.gbc", $18A831, $18A8B9 - $18A831
Unknown_0x18A8B9:
INCBIN "baserom.gbc", $18A8B9, $18A8BD - $18A8B9
LoggedData_0x18A8BD:
INCBIN "baserom.gbc", $18A8BD, $18A8C1 - $18A8BD
Unknown_0x18A8C1:
INCBIN "baserom.gbc", $18A8C1, $18A8C3 - $18A8C1
LoggedData_0x18A8C3:
INCBIN "baserom.gbc", $18A8C3, $18A8C5 - $18A8C3
Unknown_0x18A8C5:
INCBIN "baserom.gbc", $18A8C5, $18A8C7 - $18A8C5
LoggedData_0x18A8C7:
INCBIN "baserom.gbc", $18A8C7, $18AA01 - $18A8C7
Unknown_0x18AA01:
INCBIN "baserom.gbc", $18AA01, $18AA33 - $18AA01
LoggedData_0x18AA33:
INCBIN "baserom.gbc", $18AA33, $18AA65 - $18AA33
Unknown_0x18AA65:
INCBIN "baserom.gbc", $18AA65, $18AA7E - $18AA65
LoggedData_0x18AA7E:
INCBIN "baserom.gbc", $18AA7E, $18AA97 - $18AA7E
Unknown_0x18AA97:
INCBIN "baserom.gbc", $18AA97, $18AAB0 - $18AA97
LoggedData_0x18AAB0:
INCBIN "baserom.gbc", $18AAB0, $18AB0A - $18AAB0
Unknown_0x18AB0A:
INCBIN "baserom.gbc", $18AB0A, $18AB14 - $18AB0A
LoggedData_0x18AB14:
INCBIN "baserom.gbc", $18AB14, $18AB2F - $18AB14
Unknown_0x18AB2F:
INCBIN "baserom.gbc", $18AB2F, $18AB5C - $18AB2F
LoggedData_0x18AB5C:
INCBIN "baserom.gbc", $18AB5C, $18AC38 - $18AB5C
Unknown_0x18AC38:
INCBIN "baserom.gbc", $18AC38, $18C000 - $18AC38
SECTION "Bank63", ROMX, BANK[$63]
LoggedData_0x18C000:
INCBIN "baserom.gbc", $18C000, $18C024 - $18C000
Unknown_0x18C024:
INCBIN "baserom.gbc", $18C024, $18C03C - $18C024
LoggedData_0x18C03C:
INCBIN "baserom.gbc", $18C03C, $18C044 - $18C03C
Unknown_0x18C044:
INCBIN "baserom.gbc", $18C044, $18C04A - $18C044
LoggedData_0x18C04A:
INCBIN "baserom.gbc", $18C04A, $18C056 - $18C04A
Unknown_0x18C056:
INCBIN "baserom.gbc", $18C056, $18C058 - $18C056
LoggedData_0x18C058:
INCBIN "baserom.gbc", $18C058, $18C25E - $18C058
Unknown_0x18C25E:
INCBIN "baserom.gbc", $18C25E, $18C2E2 - $18C25E
LoggedData_0x18C2E2:
INCBIN "baserom.gbc", $18C2E2, $18C316 - $18C2E2
Unknown_0x18C316:
INCBIN "baserom.gbc", $18C316, $18C355 - $18C316
LoggedData_0x18C355:
INCBIN "baserom.gbc", $18C355, $18C3B3 - $18C355
Unknown_0x18C3B3:
INCBIN "baserom.gbc", $18C3B3, $18C3C8 - $18C3B3
LoggedData_0x18C3C8:
INCBIN "baserom.gbc", $18C3C8, $18C8AA - $18C3C8
Unknown_0x18C8AA:
INCBIN "baserom.gbc", $18C8AA, $18C8AE - $18C8AA
LoggedData_0x18C8AE:
INCBIN "baserom.gbc", $18C8AE, $18C8B4 - $18C8AE
Unknown_0x18C8B4:
INCBIN "baserom.gbc", $18C8B4, $18C8C0 - $18C8B4
LoggedData_0x18C8C0:
INCBIN "baserom.gbc", $18C8C0, $18C8C4 - $18C8C0
Unknown_0x18C8C4:
INCBIN "baserom.gbc", $18C8C4, $18C8C8 - $18C8C4
LoggedData_0x18C8C8:
INCBIN "baserom.gbc", $18C8C8, $18C8D6 - $18C8C8
Unknown_0x18C8D6:
INCBIN "baserom.gbc", $18C8D6, $18C8DE - $18C8D6
LoggedData_0x18C8DE:
INCBIN "baserom.gbc", $18C8DE, $18C8E2 - $18C8DE
Unknown_0x18C8E2:
INCBIN "baserom.gbc", $18C8E2, $18C8E6 - $18C8E2
LoggedData_0x18C8E6:
INCBIN "baserom.gbc", $18C8E6, $18CBD6 - $18C8E6
Unknown_0x18CBD6:
INCBIN "baserom.gbc", $18CBD6, $18CC28 - $18CBD6
LoggedData_0x18CC28:
INCBIN "baserom.gbc", $18CC28, $18CC83 - $18CC28
Unknown_0x18CC83:
INCBIN "baserom.gbc", $18CC83, $18CD49 - $18CC83
LoggedData_0x18CD49:
INCBIN "baserom.gbc", $18CD49, $18CD8B - $18CD49
Unknown_0x18CD8B:
INCBIN "baserom.gbc", $18CD8B, $18CDBD - $18CD8B
LoggedData_0x18CDBD:
INCBIN "baserom.gbc", $18CDBD, $18CE9C - $18CDBD
Unknown_0x18CE9C:
INCBIN "baserom.gbc", $18CE9C, $18CF20 - $18CE9C
LoggedData_0x18CF20:
INCBIN "baserom.gbc", $18CF20, $18CF62 - $18CF20
Unknown_0x18CF62:
INCBIN "baserom.gbc", $18CF62, $18CF94 - $18CF62
LoggedData_0x18CF94:
INCBIN "baserom.gbc", $18CF94, $18D07C - $18CF94
Unknown_0x18D07C:
INCBIN "baserom.gbc", $18D07C, $190000 - $18D07C
SECTION "Bank64", ROMX, BANK[$64]
LoggedData_0x190000:
INCBIN "baserom.gbc", $190000, $19000C - $190000
Unknown_0x19000C:
INCBIN "baserom.gbc", $19000C, $190010 - $19000C
LoggedData_0x190010:
INCBIN "baserom.gbc", $190010, $190024 - $190010
Unknown_0x190024:
INCBIN "baserom.gbc", $190024, $190028 - $190024
LoggedData_0x190028:
INCBIN "baserom.gbc", $190028, $190032 - $190028
Unknown_0x190032:
INCBIN "baserom.gbc", $190032, $190034 - $190032
LoggedData_0x190034:
INCBIN "baserom.gbc", $190034, $190042 - $190034
Unknown_0x190042:
INCBIN "baserom.gbc", $190042, $190048 - $190042
LoggedData_0x190048:
INCBIN "baserom.gbc", $190048, $19005C - $190048
Unknown_0x19005C:
INCBIN "baserom.gbc", $19005C, $190068 - $19005C
LoggedData_0x190068:
INCBIN "baserom.gbc", $190068, $19006C - $190068
Unknown_0x19006C:
INCBIN "baserom.gbc", $19006C, $190074 - $19006C
LoggedData_0x190074:
INCBIN "baserom.gbc", $190074, $19009E - $190074
Unknown_0x19009E:
INCBIN "baserom.gbc", $19009E, $1900A2 - $19009E
LoggedData_0x1900A2:
INCBIN "baserom.gbc", $1900A2, $1900AA - $1900A2
Unknown_0x1900AA:
INCBIN "baserom.gbc", $1900AA, $1900AC - $1900AA
LoggedData_0x1900AC:
INCBIN "baserom.gbc", $1900AC, $19024E - $1900AC
Unknown_0x19024E:
INCBIN "baserom.gbc", $19024E, $1902D8 - $19024E
LoggedData_0x1902D8:
INCBIN "baserom.gbc", $1902D8, $19056E - $1902D8
Unknown_0x19056E:
INCBIN "baserom.gbc", $19056E, $1905F8 - $19056E
LoggedData_0x1905F8:
INCBIN "baserom.gbc", $1905F8, $19073D - $1905F8
Unknown_0x19073D:
INCBIN "baserom.gbc", $19073D, $190776 - $19073D
LoggedData_0x190776:
INCBIN "baserom.gbc", $190776, $1908CD - $190776
Unknown_0x1908CD:
INCBIN "baserom.gbc", $1908CD, $190960 - $1908CD
LoggedData_0x190960:
INCBIN "baserom.gbc", $190960, $190B0A - $190960
Unknown_0x190B0A:
INCBIN "baserom.gbc", $190B0A, $190C30 - $190B0A
LoggedData_0x190C30:
INCBIN "baserom.gbc", $190C30, $190C82 - $190C30
Unknown_0x190C82:
INCBIN "baserom.gbc", $190C82, $190D16 - $190C82
LoggedData_0x190D16:
INCBIN "baserom.gbc", $190D16, $190EF7 - $190D16
Unknown_0x190EF7:
INCBIN "baserom.gbc", $190EF7, $190F59 - $190EF7
LoggedData_0x190F59:
INCBIN "baserom.gbc", $190F59, $190FF5 - $190F59
Unknown_0x190FF5:
INCBIN "baserom.gbc", $190FF5, $191026 - $190FF5
LoggedData_0x191026:
INCBIN "baserom.gbc", $191026, $191072 - $191026
Unknown_0x191072:
INCBIN "baserom.gbc", $191072, $19107E - $191072
LoggedData_0x19107E:
INCBIN "baserom.gbc", $19107E, $191082 - $19107E
Unknown_0x191082:
INCBIN "baserom.gbc", $191082, $191086 - $191082
LoggedData_0x191086:
INCBIN "baserom.gbc", $191086, $19109A - $191086
Unknown_0x19109A:
INCBIN "baserom.gbc", $19109A, $19109E - $19109A
LoggedData_0x19109E:
INCBIN "baserom.gbc", $19109E, $1910A4 - $19109E
Unknown_0x1910A4:
INCBIN "baserom.gbc", $1910A4, $1910AC - $1910A4
LoggedData_0x1910AC:
INCBIN "baserom.gbc", $1910AC, $19120B - $1910AC
Unknown_0x19120B:
INCBIN "baserom.gbc", $19120B, $1912D1 - $19120B
LoggedData_0x1912D1:
INCBIN "baserom.gbc", $1912D1, $191313 - $1912D1
Unknown_0x191313:
INCBIN "baserom.gbc", $191313, $191355 - $191313
LoggedData_0x191355:
INCBIN "baserom.gbc", $191355, $1913DF - $191355
Unknown_0x1913DF:
INCBIN "baserom.gbc", $1913DF, $191421 - $1913DF
LoggedData_0x191421:
INCBIN "baserom.gbc", $191421, $19146C - $191421
Unknown_0x19146C:
INCBIN "baserom.gbc", $19146C, $1914F0 - $19146C
LoggedData_0x1914F0:
INCBIN "baserom.gbc", $1914F0, $191544 - $1914F0
Unknown_0x191544:
INCBIN "baserom.gbc", $191544, $191558 - $191544
LoggedData_0x191558:
INCBIN "baserom.gbc", $191558, $191562 - $191558
Unknown_0x191562:
INCBIN "baserom.gbc", $191562, $191564 - $191562
LoggedData_0x191564:
INCBIN "baserom.gbc", $191564, $1915F8 - $191564
Unknown_0x1915F8:
INCBIN "baserom.gbc", $1915F8, $19173A - $1915F8
LoggedData_0x19173A:
INCBIN "baserom.gbc", $19173A, $1917DF - $19173A
Unknown_0x1917DF:
INCBIN "baserom.gbc", $1917DF, $191808 - $1917DF
LoggedData_0x191808:
INCBIN "baserom.gbc", $191808, $191940 - $191808
Unknown_0x191940:
INCBIN "baserom.gbc", $191940, $191946 - $191940
LoggedData_0x191946:
INCBIN "baserom.gbc", $191946, $19194A - $191946
Unknown_0x19194A:
INCBIN "baserom.gbc", $19194A, $19195E - $19194A
LoggedData_0x19195E:
INCBIN "baserom.gbc", $19195E, $191966 - $19195E
Unknown_0x191966:
INCBIN "baserom.gbc", $191966, $191968 - $191966
LoggedData_0x191968:
INCBIN "baserom.gbc", $191968, $19196A - $191968
Unknown_0x19196A:
INCBIN "baserom.gbc", $19196A, $19196E - $19196A
LoggedData_0x19196E:
INCBIN "baserom.gbc", $19196E, $191978 - $19196E
Unknown_0x191978:
INCBIN "baserom.gbc", $191978, $191A0B - $191978
LoggedData_0x191A0B:
INCBIN "baserom.gbc", $191A0B, $191A6D - $191A0B
Unknown_0x191A6D:
INCBIN "baserom.gbc", $191A6D, $191C4F - $191A6D
LoggedData_0x191C4F:
INCBIN "baserom.gbc", $191C4F, $191D13 - $191C4F
Unknown_0x191D13:
INCBIN "baserom.gbc", $191D13, $191D50 - $191D13
LoggedData_0x191D50:
INCBIN "baserom.gbc", $191D50, $191D8D - $191D50
Unknown_0x191D8D:
INCBIN "baserom.gbc", $191D8D, $191DEF - $191D8D
LoggedData_0x191DEF:
INCBIN "baserom.gbc", $191DEF, $191F06 - $191DEF
Unknown_0x191F06:
INCBIN "baserom.gbc", $191F06, $191F0A - $191F06
LoggedData_0x191F0A:
INCBIN "baserom.gbc", $191F0A, $191F10 - $191F0A
Unknown_0x191F10:
INCBIN "baserom.gbc", $191F10, $191F20 - $191F10
LoggedData_0x191F20:
INCBIN "baserom.gbc", $191F20, $191F2C - $191F20
Unknown_0x191F2C:
INCBIN "baserom.gbc", $191F2C, $191F2E - $191F2C
LoggedData_0x191F2E:
INCBIN "baserom.gbc", $191F2E, $191F81 - $191F2E
Unknown_0x191F81:
INCBIN "baserom.gbc", $191F81, $191FFB - $191F81
LoggedData_0x191FFB:
INCBIN "baserom.gbc", $191FFB, $1920B2 - $191FFB
Unknown_0x1920B2:
INCBIN "baserom.gbc", $1920B2, $192292 - $1920B2
LoggedData_0x192292:
INCBIN "baserom.gbc", $192292, $192400 - $192292
Unknown_0x192400:
INCBIN "baserom.gbc", $192400, $19243D - $192400
LoggedData_0x19243D:
INCBIN "baserom.gbc", $19243D, $1926DC - $19243D
Unknown_0x1926DC:
INCBIN "baserom.gbc", $1926DC, $1926E4 - $1926DC
LoggedData_0x1926E4:
INCBIN "baserom.gbc", $1926E4, $192702 - $1926E4
Unknown_0x192702:
INCBIN "baserom.gbc", $192702, $192736 - $192702
LoggedData_0x192736:
INCBIN "baserom.gbc", $192736, $1927DB - $192736
Unknown_0x1927DB:
INCBIN "baserom.gbc", $1927DB, $1927DF - $1927DB
LoggedData_0x1927DF:
INCBIN "baserom.gbc", $1927DF, $1927EB - $1927DF
Unknown_0x1927EB:
INCBIN "baserom.gbc", $1927EB, $1927F1 - $1927EB
LoggedData_0x1927F1:
INCBIN "baserom.gbc", $1927F1, $1927FD - $1927F1
Unknown_0x1927FD:
INCBIN "baserom.gbc", $1927FD, $19280D - $1927FD
LoggedData_0x19280D:
INCBIN "baserom.gbc", $19280D, $192815 - $19280D
Unknown_0x192815:
INCBIN "baserom.gbc", $192815, $192817 - $192815
LoggedData_0x192817:
INCBIN "baserom.gbc", $192817, $192831 - $192817
Unknown_0x192831:
INCBIN "baserom.gbc", $192831, $192833 - $192831
LoggedData_0x192833:
INCBIN "baserom.gbc", $192833, $192835 - $192833
Unknown_0x192835:
INCBIN "baserom.gbc", $192835, $192837 - $192835
LoggedData_0x192837:
INCBIN "baserom.gbc", $192837, $192849 - $192837
Unknown_0x192849:
INCBIN "baserom.gbc", $192849, $192851 - $192849
LoggedData_0x192851:
INCBIN "baserom.gbc", $192851, $192853 - $192851
Unknown_0x192853:
INCBIN "baserom.gbc", $192853, $19285F - $192853
LoggedData_0x19285F:
INCBIN "baserom.gbc", $19285F, $1928C2 - $19285F
Unknown_0x1928C2:
INCBIN "baserom.gbc", $1928C2, $192908 - $1928C2
LoggedData_0x192908:
INCBIN "baserom.gbc", $192908, $1929EA - $192908
Unknown_0x1929EA:
INCBIN "baserom.gbc", $1929EA, $192A89 - $1929EA
LoggedData_0x192A89:
INCBIN "baserom.gbc", $192A89, $192B67 - $192A89
Unknown_0x192B67:
INCBIN "baserom.gbc", $192B67, $192CDB - $192B67
LoggedData_0x192CDB:
INCBIN "baserom.gbc", $192CDB, $192D6B - $192CDB
Unknown_0x192D6B:
INCBIN "baserom.gbc", $192D6B, $192D8C - $192D6B
LoggedData_0x192D8C:
INCBIN "baserom.gbc", $192D8C, $192FD5 - $192D8C
Unknown_0x192FD5:
INCBIN "baserom.gbc", $192FD5, $192FF6 - $192FD5
LoggedData_0x192FF6:
INCBIN "baserom.gbc", $192FF6, $19301B - $192FF6
Unknown_0x19301B:
INCBIN "baserom.gbc", $19301B, $193044 - $19301B
LoggedData_0x193044:
INCBIN "baserom.gbc", $193044, $1930C9 - $193044
Unknown_0x1930C9:
INCBIN "baserom.gbc", $1930C9, $1930ED - $1930C9
LoggedData_0x1930ED:
INCBIN "baserom.gbc", $1930ED, $1930F6 - $1930ED
Unknown_0x1930F6:
INCBIN "baserom.gbc", $1930F6, $194000 - $1930F6
SECTION "Bank65", ROMX, BANK[$65]
LoggedData_0x194000:
INCBIN "baserom.gbc", $194000, $194016 - $194000
Unknown_0x194016:
INCBIN "baserom.gbc", $194016, $194018 - $194016
LoggedData_0x194018:
INCBIN "baserom.gbc", $194018, $194034 - $194018
Unknown_0x194034:
INCBIN "baserom.gbc", $194034, $194036 - $194034
LoggedData_0x194036:
INCBIN "baserom.gbc", $194036, $194042 - $194036
Unknown_0x194042:
INCBIN "baserom.gbc", $194042, $194046 - $194042
LoggedData_0x194046:
INCBIN "baserom.gbc", $194046, $1942C5 - $194046
Unknown_0x1942C5:
INCBIN "baserom.gbc", $1942C5, $1942FA - $1942C5
LoggedData_0x1942FA:
INCBIN "baserom.gbc", $1942FA, $194554 - $1942FA
Unknown_0x194554:
INCBIN "baserom.gbc", $194554, $194589 - $194554
LoggedData_0x194589:
INCBIN "baserom.gbc", $194589, $1946DB - $194589
Unknown_0x1946DB:
INCBIN "baserom.gbc", $1946DB, $194751 - $1946DB
LoggedData_0x194751:
INCBIN "baserom.gbc", $194751, $1948C9 - $194751
Unknown_0x1948C9:
INCBIN "baserom.gbc", $1948C9, $1948D5 - $1948C9
LoggedData_0x1948D5:
INCBIN "baserom.gbc", $1948D5, $1948E1 - $1948D5
Unknown_0x1948E1:
INCBIN "baserom.gbc", $1948E1, $1948E7 - $1948E1
LoggedData_0x1948E7:
INCBIN "baserom.gbc", $1948E7, $1948EB - $1948E7
Unknown_0x1948EB:
INCBIN "baserom.gbc", $1948EB, $1948EF - $1948EB
LoggedData_0x1948EF:
INCBIN "baserom.gbc", $1948EF, $1948F3 - $1948EF
Unknown_0x1948F3:
INCBIN "baserom.gbc", $1948F3, $1948F7 - $1948F3
LoggedData_0x1948F7:
INCBIN "baserom.gbc", $1948F7, $194DC5 - $1948F7
Unknown_0x194DC5:
INCBIN "baserom.gbc", $194DC5, $194DFB - $194DC5
LoggedData_0x194DFB:
INCBIN "baserom.gbc", $194DFB, $194E9D - $194DFB
Unknown_0x194E9D:
INCBIN "baserom.gbc", $194E9D, $194EB8 - $194E9D
LoggedData_0x194EB8:
INCBIN "baserom.gbc", $194EB8, $194EC2 - $194EB8
Unknown_0x194EC2:
INCBIN "baserom.gbc", $194EC2, $194ED4 - $194EC2
LoggedData_0x194ED4:
INCBIN "baserom.gbc", $194ED4, $194F36 - $194ED4
Unknown_0x194F36:
INCBIN "baserom.gbc", $194F36, $194FA0 - $194F36
LoggedData_0x194FA0:
INCBIN "baserom.gbc", $194FA0, $19501E - $194FA0
Unknown_0x19501E:
INCBIN "baserom.gbc", $19501E, $195022 - $19501E
LoggedData_0x195022:
INCBIN "baserom.gbc", $195022, $195030 - $195022
Unknown_0x195030:
INCBIN "baserom.gbc", $195030, $195032 - $195030
LoggedData_0x195032:
INCBIN "baserom.gbc", $195032, $195044 - $195032
Unknown_0x195044:
INCBIN "baserom.gbc", $195044, $195048 - $195044
LoggedData_0x195048:
INCBIN "baserom.gbc", $195048, $19504A - $195048
Unknown_0x19504A:
INCBIN "baserom.gbc", $19504A, $19504E - $19504A
LoggedData_0x19504E:
INCBIN "baserom.gbc", $19504E, $19506C - $19504E
Unknown_0x19506C:
INCBIN "baserom.gbc", $19506C, $195070 - $19506C
LoggedData_0x195070:
INCBIN "baserom.gbc", $195070, $1950AB - $195070
Unknown_0x1950AB:
INCBIN "baserom.gbc", $1950AB, $1950F1 - $1950AB
LoggedData_0x1950F1:
INCBIN "baserom.gbc", $1950F1, $1951EC - $1950F1
Unknown_0x1951EC:
INCBIN "baserom.gbc", $1951EC, $195211 - $1951EC
LoggedData_0x195211:
INCBIN "baserom.gbc", $195211, $195352 - $195211
Unknown_0x195352:
INCBIN "baserom.gbc", $195352, $19536C - $195352
LoggedData_0x19536C:
INCBIN "baserom.gbc", $19536C, $195379 - $19536C
Unknown_0x195379:
INCBIN "baserom.gbc", $195379, $195393 - $195379
LoggedData_0x195393:
INCBIN "baserom.gbc", $195393, $1954BA - $195393
Unknown_0x1954BA:
INCBIN "baserom.gbc", $1954BA, $195504 - $1954BA
LoggedData_0x195504:
INCBIN "baserom.gbc", $195504, $1956BD - $195504
Unknown_0x1956BD:
INCBIN "baserom.gbc", $1956BD, $1956C1 - $1956BD
LoggedData_0x1956C1:
INCBIN "baserom.gbc", $1956C1, $1956DF - $1956C1
Unknown_0x1956DF:
INCBIN "baserom.gbc", $1956DF, $1956E5 - $1956DF
LoggedData_0x1956E5:
INCBIN "baserom.gbc", $1956E5, $1956E7 - $1956E5
Unknown_0x1956E7:
INCBIN "baserom.gbc", $1956E7, $1956F1 - $1956E7
LoggedData_0x1956F1:
INCBIN "baserom.gbc", $1956F1, $195A69 - $1956F1
Unknown_0x195A69:
INCBIN "baserom.gbc", $195A69, $195ADB - $195A69
LoggedData_0x195ADB:
INCBIN "baserom.gbc", $195ADB, $195D12 - $195ADB
Unknown_0x195D12:
INCBIN "baserom.gbc", $195D12, $195D5D - $195D12
LoggedData_0x195D5D:
INCBIN "baserom.gbc", $195D5D, $195D76 - $195D5D
Unknown_0x195D76:
INCBIN "baserom.gbc", $195D76, $195DE3 - $195D76
LoggedData_0x195DE3:
INCBIN "baserom.gbc", $195DE3, $195E58 - $195DE3
Unknown_0x195E58:
INCBIN "baserom.gbc", $195E58, $195E5C - $195E58
LoggedData_0x195E5C:
INCBIN "baserom.gbc", $195E5C, $19631D - $195E5C
Unknown_0x19631D:
INCBIN "baserom.gbc", $19631D, $196337 - $19631D
LoggedData_0x196337:
INCBIN "baserom.gbc", $196337, $1965A7 - $196337
Unknown_0x1965A7:
INCBIN "baserom.gbc", $1965A7, $1965AD - $1965A7
LoggedData_0x1965AD:
INCBIN "baserom.gbc", $1965AD, $1965E9 - $1965AD
Unknown_0x1965E9:
INCBIN "baserom.gbc", $1965E9, $1965ED - $1965E9
LoggedData_0x1965ED:
INCBIN "baserom.gbc", $1965ED, $19693F - $1965ED
Unknown_0x19693F:
INCBIN "baserom.gbc", $19693F, $1969BE - $19693F
LoggedData_0x1969BE:
INCBIN "baserom.gbc", $1969BE, $196E80 - $1969BE
Unknown_0x196E80:
INCBIN "baserom.gbc", $196E80, $196EA2 - $196E80
LoggedData_0x196EA2:
INCBIN "baserom.gbc", $196EA2, $196FA6 - $196EA2
Unknown_0x196FA6:
INCBIN "baserom.gbc", $196FA6, $198000 - $196FA6
SECTION "Bank66", ROMX, BANK[$66]
Unknown_0x198000:
INCBIN "baserom.gbc", $198000, $19C000 - $198000
SECTION "Bank67", ROMX, BANK[$67]
Unknown_0x19C000:
INCBIN "baserom.gbc", $19C000, $1A0000 - $19C000
SECTION "Bank68", ROMX, BANK[$68]
LoggedData_0x1A0000:
INCBIN "baserom.gbc", $1A0000, $1A1B1C - $1A0000
Unknown_0x1A1B1C:
INCBIN "baserom.gbc", $1A1B1C, $1A1EAC - $1A1B1C
LoggedData_0x1A1EAC:
INCBIN "baserom.gbc", $1A1EAC, $1A2B7E - $1A1EAC
Unknown_0x1A2B7E:
INCBIN "baserom.gbc", $1A2B7E, $1A4000 - $1A2B7E
SECTION "Bank69", ROMX, BANK[$69]
LoggedData_0x1A4000:
INCBIN "baserom.gbc", $1A4000, $1A5B1F - $1A4000
Unknown_0x1A5B1F:
INCBIN "baserom.gbc", $1A5B1F, $1A5DE3 - $1A5B1F
LoggedData_0x1A5DE3:
INCBIN "baserom.gbc", $1A5DE3, $1A6243 - $1A5DE3
Unknown_0x1A6243:
INCBIN "baserom.gbc", $1A6243, $1A8000 - $1A6243
SECTION "Bank6A", ROMX, BANK[$6A]
LoggedData_0x1A8000:
INCBIN "baserom.gbc", $1A8000, $1AABDA - $1A8000
Unknown_0x1AABDA:
INCBIN "baserom.gbc", $1AABDA, $1AC000 - $1AABDA
SECTION "Bank6B", ROMX, BANK[$6B]
LoggedData_0x1AC000:
INCBIN "baserom.gbc", $1AC000, $1AE4C9 - $1AC000
Unknown_0x1AE4C9:
INCBIN "baserom.gbc", $1AE4C9, $1B0000 - $1AE4C9
SECTION "Bank6C", ROMX, BANK[$6C]
LoggedData_0x1B0000:
INCBIN "baserom.gbc", $1B0000, $1B2305 - $1B0000
Unknown_0x1B2305:
INCBIN "baserom.gbc", $1B2305, $1B4000 - $1B2305
SECTION "Bank6D", ROMX, BANK[$6D]
LoggedData_0x1B4000:
INCBIN "baserom.gbc", $1B4000, $1B61B7 - $1B4000
Unknown_0x1B61B7:
INCBIN "baserom.gbc", $1B61B7, $1B8000 - $1B61B7
SECTION "Bank6E", ROMX, BANK[$6E]
LoggedData_0x1B8000:
INCBIN "baserom.gbc", $1B8000, $1BA299 - $1B8000
Unknown_0x1BA299:
INCBIN "baserom.gbc", $1BA299, $1BC000 - $1BA299
SECTION "Bank6F", ROMX, BANK[$6F]
LoggedData_0x1BC000:
INCBIN "baserom.gbc", $1BC000, $1BDFE9 - $1BC000
Unknown_0x1BDFE9:
INCBIN "baserom.gbc", $1BDFE9, $1C0000 - $1BDFE9
SECTION "Bank70", ROMX, BANK[$70]
LoggedData_0x1C0000:
INCBIN "baserom.gbc", $1C0000, $1C1869 - $1C0000
Unknown_0x1C1869:
INCBIN "baserom.gbc", $1C1869, $1C19C5 - $1C1869
LoggedData_0x1C19C5:
INCBIN "baserom.gbc", $1C19C5, $1C1C82 - $1C19C5
Unknown_0x1C1C82:
INCBIN "baserom.gbc", $1C1C82, $1C1DD0 - $1C1C82
LoggedData_0x1C1DD0:
INCBIN "baserom.gbc", $1C1DD0, $1C1F18 - $1C1DD0
Unknown_0x1C1F18:
INCBIN "baserom.gbc", $1C1F18, $1C2084 - $1C1F18
LoggedData_0x1C2084:
INCBIN "baserom.gbc", $1C2084, $1C2361 - $1C2084
Unknown_0x1C2361:
INCBIN "baserom.gbc", $1C2361, $1C25F8 - $1C2361
LoggedData_0x1C25F8:
INCBIN "baserom.gbc", $1C25F8, $1C2B55 - $1C25F8
Unknown_0x1C2B55:
INCBIN "baserom.gbc", $1C2B55, $1C2DDC - $1C2B55
LoggedData_0x1C2DDC:
INCBIN "baserom.gbc", $1C2DDC, $1C2F55 - $1C2DDC
Unknown_0x1C2F55:
INCBIN "baserom.gbc", $1C2F55, $1C3254 - $1C2F55
LoggedData_0x1C3254:
INCBIN "baserom.gbc", $1C3254, $1C329A - $1C3254
Unknown_0x1C329A:
INCBIN "baserom.gbc", $1C329A, $1C32E0 - $1C329A
LoggedData_0x1C32E0:
INCBIN "baserom.gbc", $1C32E0, $1C336C - $1C32E0
Unknown_0x1C336C:
INCBIN "baserom.gbc", $1C336C, $1C33B2 - $1C336C
LoggedData_0x1C33B2:
INCBIN "baserom.gbc", $1C33B2, $1C33F8 - $1C33B2
Unknown_0x1C33F8:
INCBIN "baserom.gbc", $1C33F8, $1C343E - $1C33F8
LoggedData_0x1C343E:
INCBIN "baserom.gbc", $1C343E, $1C34CA - $1C343E
Unknown_0x1C34CA:
INCBIN "baserom.gbc", $1C34CA, $1C3556 - $1C34CA
LoggedData_0x1C3556:
INCBIN "baserom.gbc", $1C3556, $1C366E - $1C3556
Unknown_0x1C366E:
INCBIN "baserom.gbc", $1C366E, $1C36FA - $1C366E
LoggedData_0x1C36FA:
INCBIN "baserom.gbc", $1C36FA, $1C3740 - $1C36FA
Unknown_0x1C3740:
INCBIN "baserom.gbc", $1C3740, $1C4000 - $1C3740
SECTION "Bank71", ROMX, BANK[$71]
Unknown_0x1C4000:
INCBIN "baserom.gbc", $1C4000, $1C4800 - $1C4000
LoggedData_0x1C4800:
INCBIN "baserom.gbc", $1C4800, $1C4B80 - $1C4800
Unknown_0x1C4B80:
INCBIN "baserom.gbc", $1C4B80, $1C4C60 - $1C4B80
LoggedData_0x1C4C60:
INCBIN "baserom.gbc", $1C4C60, $1C4D83 - $1C4C60
Unknown_0x1C4D83:
INCBIN "baserom.gbc", $1C4D83, $1C4EA8 - $1C4D83
LoggedData_0x1C4EA8:
INCBIN "baserom.gbc", $1C4EA8, $1C5E07 - $1C4EA8
Unknown_0x1C5E07:
INCBIN "baserom.gbc", $1C5E07, $1C8000 - $1C5E07
SECTION "Bank72", ROMX, BANK[$72]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x1C8020
dw Logged_0x05ED
dw Logged_0x1C8140
dw Logged_0x047B
dw Logged_0x1C8965
dw Logged_0x05ED
dw Logged_0x1C8CA4
dw Logged_0x047B
dw Logged_0x13D5
dw Logged_0x047B
dw Logged_0x1C846C
dw Logged_0x05ED
dw Logged_0x1C84F9
Logged_0x1C8020:
call Logged_0x08E6
call Logged_0x037D
ld a,[$D800]
and a
call z,Logged_0x12CD
ld a,$02
ld [$D800],a
xor a
ld [$CED8],a
ld hl,$D802
ld bc,$07FE
Logged_0x1C803C:
xor a
ld [hli],a
dec bc
ld a,b
or c
jr nz,Logged_0x1C803C
ld hl,$61CF
call Logged_0x1A15
ld hl,$620F
call Logged_0x1A21
call Logged_0x1C80CD
ld a,[$D801]
and a
jr nz,Logged_0x1C8069
ld a,$08
ld [$DC84],a
ld a,$90
ld [$DC30],a
ld a,$38
ld [$DC32],a
jr Logged_0x1C807D
Logged_0x1C8069:
ld a,$0A
ld [$DC84],a
ld a,$A0
ld [$DC30],a
ld a,$80
ld [$DC32],a
ld a,$05
ld [$DC00],a
Logged_0x1C807D:
call Logged_0x1C81F0
xor a
ld [$D801],a
ld a,[$CA04]
ld [$DC19],a
ld a,[$CA05]
ld [$DC1A],a
ld a,[$CA04]
and a
jr nz,Logged_0x1C80A5
ld a,[$DC0F]
ld c,a
ld a,[$CA05]
cp c
jr nc,Logged_0x1C80A5
ld a,$01
ld [$DC6C],a
Logged_0x1C80A5:
ld a,$01
ld [$DC02],a
call Logged_0x1C9F2E
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2F
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [rSCY],a
ld [rSCX],a
ld [$C083],a
ld [$C085],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1C80CD:
ld a,$71
ld [$C0AC],a
ld hl,$5B4E
push hl
ld hl,$5CBE
push hl
ld hl,$4F0D
ld bc,$8800
xor a
ld [rVBK],a
call Logged_0x2C18
ld a,$71
ld [$C0AC],a
ld a,$01
ld [rVBK],a
pop hl
ld bc,_SCRN0
call Logged_0x2C18
xor a
ld [rVBK],a
pop hl
ld bc,_SCRN0
call Logged_0x2C18
ld a,[$CA39]
and a
jr nz,Logged_0x1C8124
ld a,[$CA3A]
cp $50
jr nc,Logged_0x1C8124
cp $25
jr nc,Logged_0x1C8117
ld a,$10
ld [$DC0F],a
ret
Logged_0x1C8117:
ld a,$30
ld [$DC0F],a
ld de,$F8F9
ld bc,$FAFB
jr Logged_0x1C812F
Logged_0x1C8124:
ld a,$50
ld [$DC0F],a
ld de,$FCFD
ld bc,$FEFF
Logged_0x1C812F:
ld a,d
ld [$990B],a
ld a,e
ld [$992B],a
ld a,b
ld [$990C],a
ld a,c
ld [$992C],a
ret
Logged_0x1C8140:
call Logged_0x1C821C
call Logged_0x1C814F
call Logged_0x1C81F0
call Logged_0x03B9
jp Logged_0x1C9F2E
Logged_0x1C814F:
ld a,$72
ld [$DC17],a
ld a,$D3
ld [$DC18],a
ld a,$28
ld [$DC58],a
ld a,$24
ld [$DC59],a
ld de,$73B3
ld hl,$DC55
call Logged_0x2C7A
ld a,[$DC57]
ld [$DC5A],a
ld hl,$DC58
call Logged_0x2CA7
ld a,$2D
ld [$DC68],a
ld a,$8C
ld [$DC69],a
ld de,$73C4
ld hl,$DC65
call Logged_0x2C7A
ld a,[$DC67]
ld [$DC6A],a
ld hl,$DC68
call Logged_0x2CA7
ld a,$60
ld [$DC78],a
ld a,$28
ld [$DC79],a
ld de,$73D7
ld hl,$DC75
call Logged_0x2C7A
ld a,[$DC77]
ld [$DC7A],a
ld hl,$DC78
call Logged_0x2CA7
ld a,[$DC6C]
cp $02
ret nz
ld a,$50
ld [$DC70],a
ld a,$38
ld [$DC71],a
ld a,[$CA46]
and a
jr nz,Unknown_0x1C81D1
ld de,$73D4
jr Unknown_0x1C81D4
Unknown_0x1C81D1:
ld de,$73D1
Unknown_0x1C81D4:
ld hl,$DC6D
call Logged_0x2C7A
ld a,c
and a
jr z,Unknown_0x1C81E4
ld a,$01
ld [$DC6C],a
ret
Unknown_0x1C81E4:
ld a,[$DC6F]
ld [$DC72],a
ld hl,$DC70
jp Logged_0x2CA7
Logged_0x1C81F0:
ld a,[$DC30]
ld [$DC88],a
ld a,[$DC32]
ld [$DC89],a
call Logged_0x2CC3
call Logged_0x1C8F76
ld a,[$DC84]
cp $01
ret nz
ld a,[$DC86]
cp $02
ret nz
ld a,[$DC85]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1C821C:
ld a,[$DC00]
rst JumpList
dw Logged_0x1C822C
dw Logged_0x1C8307
dw Unknown_0x1C837D
dw Logged_0x1C83DA
dw Unknown_0x1C83FD
dw Logged_0x1C8439
Logged_0x1C822C:
ld a,[$C094]
bit 7,a
jr nz,Logged_0x1C82AB
bit 6,a
jr nz,Unknown_0x1C8240
bit 4,a
jr nz,Logged_0x1C8268
bit 5,a
jr nz,Unknown_0x1C828B
ret
Unknown_0x1C8240:
ld a,[$DC89]
cp $38
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E6
ld [$FF00+hSFXIDLow],a
xor a
ld [$DC42],a
ld [$DC85],a
ld [$DC86],a
ld a,$0B
ld [$DC84],a
ld a,$01
ld [$DC02],a
ld a,$04
ld [$DC00],a
ret
Logged_0x1C8268:
ld a,[$DC89]
cp $78
ret nc
xor a
ld [$DC42],a
ld [$DC85],a
ld [$DC86],a
ld a,$0B
ld [$DC84],a
ld a,$04
ld [$DC4E],a
ld a,$01
ld [$DC02],a
ld [$DC00],a
ret
Unknown_0x1C828B:
ld a,[$DC89]
cp $78
ret c
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$0B
ld [$DC84],a
ld a,$01
ld [$DC02],a
ld [$DC42],a
ld a,$02
ld [$DC00],a
ret
Logged_0x1C82AB:
ld a,[$DC89]
cp $78
ret nz
ld a,[$DC6C]
and a
jr z,Logged_0x1C82CC
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
ld a,$02
ld [$DC6C],a
xor a
ld [$DC6D],a
ld [$DC6E],a
ret
Logged_0x1C82CC:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$30
ld [$FF00+hSFXIDLow],a
ld a,[$DC0F]
ld c,a
ld a,[$CA05]
sub c
daa
ld [$CA05],a
ld a,[$CA04]
sbc a,$00
ld [$CA04],a
ld a,$0A
ld [$DC84],a
ld a,$01
ld [$DC02],a
ld a,$80
ld [$DC32],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld a,$03
ld [$DC00],a
ret
Logged_0x1C8307:
ld hl,$DC0A
ld a,[hl]
and a
ret z
cp $02
jr nc,Logged_0x1C8327
inc [hl]
xor a
ld [$DC42],a
ld [$DC85],a
ld [$DC86],a
ld a,$01
ld [$DC84],a
ld a,$01
ld [$DC02],a
ret
Logged_0x1C8327:
ld a,[$DC32]
cp $58
call nc,Logged_0x1C835B
ld hl,$DC32
ld a,[hl]
cp $78
jr nc,Logged_0x1C8339
inc [hl]
ret
Logged_0x1C8339:
ld a,$80
ld [$DC30],a
ld a,$78
ld [$DC32],a
ld a,$08
ld [$DC84],a
ld a,$01
ld [$DC02],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld [$DC00],a
ret
Logged_0x1C835B:
ld hl,$DC4E
ld c,[hl]
ld a,[$DC0A]
inc a
ld [$DC0A],a
and $01
jr nz,Logged_0x1C836B
dec [hl]
Logged_0x1C836B:
ld de,$DC30
ld a,[de]
sub c
ld [de],a
ld a,c
cp $F0
ret c
ld a,[de]
cp $80
ret c
ld a,$80
ld [de],a
ret
Unknown_0x1C837D:
ld hl,$DC0A
ld a,[hl]
and a
ret z
cp $02
jr nc,Unknown_0x1C839A
inc [hl]
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$01
ld [$DC84],a
ld a,$01
ld [$DC02],a
ret
Unknown_0x1C839A:
ld de,$DC30
ld a,[de]
cp $90
call c,Unknown_0x1C83CF
ld hl,$DC32
ld a,[hl]
cp $38
jr z,Unknown_0x1C83AD
dec [hl]
ret
Unknown_0x1C83AD:
ld a,$90
ld [$DC30],a
ld a,$38
ld [$DC32],a
ld a,$08
ld [$DC84],a
ld a,$01
ld [$DC02],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld [$DC00],a
ret
Unknown_0x1C83CF:
ld a,[$DC32]
cp $64
ret nc
ld a,[de]
add a,$02
ld [de],a
ret
Logged_0x1C83DA:
ld hl,$DC0A
ld a,[hl]
and a
jr nz,Logged_0x1C83ED
inc [hl]
ld hl,$DC1A
ld a,[$CA05]
ld [hld],a
ld a,[$CA04]
ld [hl],a
Logged_0x1C83ED:
ld hl,$DC30
ld a,[hl]
cp $B0
jr nc,Logged_0x1C83F7
inc [hl]
ret
Logged_0x1C83F7:
ld a,$04
ld [wGameSubState],a
ret
Unknown_0x1C83FD:
ld hl,$DC0A
ld a,[hl]
and a
ret z
cp $01
jr z,Unknown_0x1C840D
cp $1C
jr nc,Unknown_0x1C8420
inc [hl]
ret
Unknown_0x1C840D:
inc [hl]
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$09
ld [$DC84],a
ld a,$01
ld [$DC02],a
ret
Unknown_0x1C8420:
xor a
ld [$D800],a
ld [$D801],a
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$08
ld [wGameSubState],a
ret
Logged_0x1C8439:
ld hl,$DC30
ld a,[hl]
cp $80
jr z,Logged_0x1C844F
cp $A0
jr nz,Logged_0x1C844D
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$30
ld [$FF00+hSFXIDLow],a
Logged_0x1C844D:
dec [hl]
ret
Logged_0x1C844F:
ld a,$08
ld [$DC84],a
ld a,$78
ld [$DC32],a
ld a,$01
ld [$DC02],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld [$DC00],a
ret
Logged_0x1C846C:
call Logged_0x08E6
call Logged_0x037D
ld hl,$D800
ld bc,$0800
Logged_0x1C8478:
xor a
ld [hli],a
dec bc
ld a,b
or c
jr nz,Logged_0x1C8478
ld hl,$624F
call Logged_0x1A15
ld hl,$634F
call Logged_0x1A21
call Logged_0x1C84AD
ld a,$70
ld [$DC58],a
call Logged_0x1C853E
call Logged_0x1C84E0
xor a
ld [rSCY],a
ld [rSCX],a
ld [$C083],a
ld [$C085],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1C84AD:
ld a,$35
ld [$C0AC],a
ld hl,$5D6C
push hl
ld hl,$5DC6
push hl
ld hl,$5124
ld bc,_VRAM
xor a
ld [rVBK],a
call Logged_0x2C18
ld a,$71
ld [$C0AC],a
ld a,$01
ld [rVBK],a
pop hl
ld bc,_SCRN0
call Logged_0x2C18
xor a
ld [rVBK],a
pop hl
ld bc,_SCRN0
jp Logged_0x2C18
Logged_0x1C84E0:
ld hl,RAMCode_0x1C84EB
ld de,$C200
ld b,Logged_0x1C84F9 - RAMCode_0x1C84EB
jp MemCopy_DE_HL
RAMCode_0x1C84EB:
ld a,$01
ld [rSVBK],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
jp $FFE8
Logged_0x1C84F9:
ld hl,$DC0A
ld a,[$DC54]
and a
jr nz,Logged_0x1C8530
ld a,[$DC58]
cp $50
jr z,Logged_0x1C8525
ld a,[hl]
and $0F
jr nz,Logged_0x1C8516
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$1F
ld [$FF00+hSFXIDLow],a
Logged_0x1C8516:
inc [hl]
ld a,[hl]
and $03
jr nz,Logged_0x1C853E
ld a,[$DC58]
dec a
ld [$DC58],a
jr Logged_0x1C853E
Logged_0x1C8525:
xor a
ld [hl],a
ld [$DC56],a
inc a
ld [$DC54],a
jr Logged_0x1C853E
Logged_0x1C8530:
ld a,[hl]
cp $40
jr nc,Logged_0x1C8538
inc [hl]
jr Logged_0x1C853E
Logged_0x1C8538:
ld a,$08
ld [wGameSubState],a
ret
Logged_0x1C853E:
ld a,$73
ld [$DC17],a
ld a,$E0
ld [$DC18],a
ld a,[$DC54]
and a
jr nz,Logged_0x1C8553
ld de,$75CF
jr Logged_0x1C8556
Logged_0x1C8553:
ld de,$75CC
Logged_0x1C8556:
ld hl,$DC55
call Logged_0x2C7A
ld a,[$DC57]
ld [$DC5A],a
ld a,$58
ld [$DC59],a
ld hl,$DC58
call Logged_0x2CA7
jp Logged_0x03B9
ld a,[wGameSubState]
rst JumpList
dw Logged_0x047B
dw Logged_0x1C8586
dw Logged_0x05ED
dw Logged_0x1C86DD
dw Logged_0x047B
dw Logged_0x1C8965
dw Logged_0x05ED
dw Logged_0x1C8CA4
dw Logged_0x142B
Logged_0x1C8586:
call Logged_0x08E6
call Logged_0x037D
ld a,$08
ld [$C1AC],a
ld a,$0F
ld [$C1AD],a
xor a
ld [$C1AF],a
ld [$C1AE],a
inc a
ld [$CED8],a
ld a,[$D800]
and a
call z,Logged_0x12CD
ld a,[$D801]
and a
jr nz,Logged_0x1C85B3
ld a,$01
ld [$D800],a
Logged_0x1C85B3:
ld hl,$D802
ld bc,$07FE
Logged_0x1C85B9:
xor a
ld [hli],a
dec bc
ld a,b
or c
jr nz,Logged_0x1C85B9
call Logged_0x17A4
ld [$DC03],a
call Logged_0x1C8604
ld hl,$DB00
call Logged_0x1A15
ld hl,$634F
call Logged_0x1A21
ld a,[$CA04]
ld [$DC19],a
ld a,[$CA05]
ld [$DC1A],a
call Logged_0x1C86F8
call Logged_0x1C9FAE
ld bc,$002F
call Logged_0x0FE6
xor a
ld [rSCY],a
ld [$C083],a
ld a,[$DC2E]
ld [rSCX],a
ld [$C085],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1C8604:
ld a,$35
ld [$C0AC],a
xor a
ld [rVBK],a
ld hl,$5124
ld bc,_VRAM
call Logged_0x2C18
ld a,$71
ld [$C0AC],a
ld a,$01
ld [rVBK],a
ld hl,$4EA8
ld bc,_SCRN0
call Logged_0x2C18
ld a,[$D801]
ld [$D804],a
call Logged_0x1C87DB
call Logged_0x1C8818
ld hl,$D900
ld de,$98C0
ld b,$E0
call MemCopy_DE_HL
xor a
ld [rVBK],a
ld a,[$DC03]
and a
jr nz,Unknown_0x1C864C
ld hl,$4C60
jr Logged_0x1C864F
Unknown_0x1C864C:
ld hl,$4D83
Logged_0x1C864F:
ld bc,_SCRN0
call Logged_0x2C18
ld hl,$CA42
ld de,$99A2
Logged_0x1C865B:
ld a,[hl]
cp $78
jp nc,Logged_0x1C86D0
cp $15
jr nc,Unknown_0x1C8679
cp $14
jr z,Unknown_0x1C86C1
ld a,$D4
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,$D5
ld [de],a
ld a,$14
sub [hl]
ld c,a
jr Unknown_0x1C8687
Unknown_0x1C8679:
ld a,$D2
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,$D3
ld [de],a
ld a,[hl]
sub $14
ld c,a
Unknown_0x1C8687:
ld b,$00
Unknown_0x1C8689:
cp $0A
jr c,Logged_0x1C8693
sub $0A
ld c,a
inc b
jr Unknown_0x1C8689
Logged_0x1C8693:
ld a,e
sub $1F
ld e,a
ld a,b
add a,a
add a,$A0
ld b,a
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,b
inc a
ld [de],a
ld a,e
sub $1F
ld e,a
ld a,c
add a,a
add a,$A0
ld c,a
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,c
inc a
ld [de],a
ld a,l
cp $45
ret z
inc hl
ld a,e
sub $1A
ld e,a
jp Logged_0x1C865B
Unknown_0x1C86C1:
ld bc,$0000
ld a,$BE
ld [de],a
ld a,e
add a,$20
ld e,a
ld a,$BF
ld [de],a
jr Logged_0x1C8693
Logged_0x1C86D0:
ld bc,$0A0A
xor a
ld [de],a
ld a,e
add a,$20
ld e,a
xor a
ld [de],a
jr Logged_0x1C8693
Logged_0x1C86DD:
call Logged_0x1C882B
call Logged_0x1C86F8
call Logged_0x03B9
ld a,[wGameSubState]
cp $08
jp nz,Logged_0x1C9FAE
xor a
ld [$D800],a
ld [$D801],a
jp Logged_0x1C9FAE
Logged_0x1C86F8:
ld a,$73
ld [$DC17],a
ld a,$E0
ld [$DC18],a
ld a,$42
ld [$DC58],a
ld a,$58
ld [$DC59],a
ld de,$759B
ld hl,$DC55
call Logged_0x2C7A
ld a,[$DC57]
ld [$DC5A],a
ld hl,$DC58
call Logged_0x2CA7
ld a,$2A
ld [$DC68],a
ld a,$58
ld [$DC69],a
ld de,$7598
ld hl,$DC65
call Logged_0x2C7A
ld a,[$DC67]
ld [$DC6A],a
ld hl,$DC68
call Logged_0x2CA7
ld a,$A0
ld [$DC70],a
ld a,$58
ld [$DC71],a
ld de,$759E
ld hl,$DC6D
call Logged_0x2C7A
ld a,[$DC6F]
ld [$DC72],a
ld hl,$DC70
call Logged_0x2CA7
ld a,[$DC00]
and a
ret nz
ld a,$76
ld [$DC78],a
ld a,$6C
ld [$DC79],a
ld de,$75A1
ld hl,$DC75
call Logged_0x2C7A
ld a,[$DC77]
ld [$DC7A],a
ld hl,$DC78
call Logged_0x2CA7
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$76
ld [$DC88],a
ld a,$6C
ld [$DC89],a
ld hl,$47D3
ld a,[$D801]
add a,a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$DC85
call Logged_0x2C7A
ld a,[$DC87]
ld [$DC8A],a
ld hl,$DC88
call Logged_0x2CA7
ld a,$50
ld [$DC80],a
ld a,$55
ld [$DC81],a
ld de,$75C3
ld hl,$DC7D
call Logged_0x2C7A
ld a,[$DC7F]
ld [$DC82],a
ld hl,$DC80
jp Logged_0x2CA7
LoggedData_0x1C87D3:
INCBIN "baserom.gbc", $1C87D3, $1C87D9 - $1C87D3
Unknown_0x1C87D9:
INCBIN "baserom.gbc", $1C87D9, $1C87DB - $1C87D9
Logged_0x1C87DB:
ld a,$71
ld [$C0AC],a
ld hl,$4808
ld a,[$D804]
add a,a
add a,a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push hl
ld h,d
ld l,e
ld de,$D900
ld bc,$00E0
call Logged_0x2C00
pop hl
ld a,[hli]
ld h,[hl]
ld l,a
ld de,$DB00
ld b,$40
jp MemCopy_DE_HL
LoggedData_0x1C8808:
INCBIN "baserom.gbc", $1C8808, $1C8814 - $1C8808
Unknown_0x1C8814:
INCBIN "baserom.gbc", $1C8814, $1C8818 - $1C8814
Logged_0x1C8818:
ld hl,$4827
ld a,[$D804]
ld b,$00
ld c,a
add hl,bc
ld a,[hl]
ld [$DC2E],a
ret
LoggedData_0x1C8827:
INCBIN "baserom.gbc", $1C8827, $1C882A - $1C8827
Unknown_0x1C882A:
INCBIN "baserom.gbc", $1C882A, $1C882B - $1C882A
Logged_0x1C882B:
ld a,[$DC00]
rst JumpList
dw Logged_0x1C8837
dw Logged_0x1C88DC
dw Logged_0x1C8907
dw Unknown_0x1C8911
Logged_0x1C8837:
ld a,[$C094]
bit 0,a
jr nz,Unknown_0x1C884B
bit 1,a
jr nz,Logged_0x1C8878
bit 4,a
jr nz,Logged_0x1C887E
bit 5,a
jr nz,Logged_0x1C889B
ret
Unknown_0x1C884B:
ld a,[$CA04]
and a
jr nz,Unknown_0x1C8861
ld a,[$CA05]
cp $50
jr nc,Unknown_0x1C8861
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x1C8861:
ld a,[$CA05]
sub $50
daa
ld [$CA05],a
ld a,[$CA04]
sbc a,$00
ld [$CA04],a
ld a,$03
ld [$DC00],a
ret
Logged_0x1C8878:
ld a,$08
ld [wGameSubState],a
ret
Logged_0x1C887E:
xor a
ld [$DC27],a
ld hl,$D801
ld a,[hl]
cp $03
jr z,Logged_0x1C8894
cp $02
jr nz,Logged_0x1C8898
ld a,[$DC03]
and a
jr nz,Logged_0x1C8898
Logged_0x1C8894:
ld [hl],$00
jr Logged_0x1C88B6
Logged_0x1C8898:
inc [hl]
jr Logged_0x1C88B6
Logged_0x1C889B:
ld a,$01
ld [$DC27],a
ld hl,$D801
ld a,[hl]
and a
jr nz,Logged_0x1C88B5
ld a,[$DC03]
and a
jr nz,Unknown_0x1C88B1
ld [hl],$02
jr Logged_0x1C88B6
Unknown_0x1C88B1:
ld [hl],$03
jr Logged_0x1C88B6
Logged_0x1C88B5:
dec [hl]
Logged_0x1C88B6:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$DC00],a
ld [$DC02],a
ld a,[hl]
ld [$D804],a
call Logged_0x1C87DB
ld hl,$4800
ld de,$DA00
ld bc,$00E0
call Logged_0x2C00
jp Logged_0x1C8818
Logged_0x1C88DC:
ld a,[$DC2E]
ld c,a
ld a,[$DC27]
and a
jr nz,Logged_0x1C88F2
ld a,[$C085]
cp c
jr z,Logged_0x1C88FE
add a,$04
ld [$C085],a
ret
Logged_0x1C88F2:
ld a,[$C085]
cp c
jr z,Logged_0x1C88FE
sub $04
ld [$C085],a
ret
Logged_0x1C88FE:
ld a,$02
ld [$DC00],a
ld [$DC02],a
ret
Logged_0x1C8907:
xor a
ld [$DC00],a
ld a,$03
ld [$DC02],a
ret
Unknown_0x1C8911:
ld hl,$DC0A
ld a,[hl]
cp $32
jr nc,Unknown_0x1C8933
inc [hl]
and $03
jr nz,Unknown_0x1C8926
ld a,$02
ld [$FF00+hSFXIDHigh],a
ld a,$2B
ld [$FF00+hSFXIDLow],a
Unknown_0x1C8926:
ld hl,$DC1A
ld a,[hl]
sub $01
daa
ld [hld],a
ld a,[hl]
sbc a,$00
ld [hl],a
ret
Unknown_0x1C8933:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
call Unknown_0x1C8944
ld a,$04
ld [wGameSubState],a
ret
Unknown_0x1C8944:
ld hl,$4953
ld a,[$D801]
ld b,$00
ld c,a
add hl,bc
ld a,[hl]
ld [$D802],a
ret
Unknown_0x1C8953:
INCBIN "baserom.gbc", $1C8953, $1C8965 - $1C8953
Logged_0x1C8965:
call Logged_0x08E6
call Logged_0x037D
xor a
ld [$CED8],a
ld hl,$D900
ld bc,$0700
xor a
Logged_0x1C8976:
ld [hli],a
dec c
jr nz,Logged_0x1C8976
dec b
jr nz,Logged_0x1C8976
ld hl,$49F2
ld a,[$D801]
add a,a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld h,[hl]
ld l,a
call Logged_0x1A15
ld hl,$618F
call Logged_0x1A21
ld a,$70
ld [$C0AC],a
ld a,$01
ld [rVBK],a
ld hl,$4C5F
ld bc,_VRAM
call Logged_0x2C18
xor a
ld [rVBK],a
ld hl,$4000
ld bc,$8800
call Logged_0x2C18
ld a,$04
ld [$C0AC],a
ld hl,$4000
ld de,_VRAM
ld bc,$0800
call Logged_0x2C00
xor a
ld [rSCY],a
ld [rSCX],a
ld [$C083],a
ld [$C085],a
ld [rWY],a
ld a,$A6
ld [rWX],a
ld [$DC25],a
call Logged_0x1C89FA
call Logged_0x1C9CF9
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$26
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
LoggedData_0x1C89F2:
INCBIN "baserom.gbc", $1C89F2, $1C89F4 - $1C89F2
Unknown_0x1C89F4:
INCBIN "baserom.gbc", $1C89F4, $1C89FA - $1C89F4
Logged_0x1C89FA:
call Logged_0x1C8A03
call Logged_0x1C8B8B
jp Logged_0x1C8C33
Logged_0x1C8A03:
ld a,$70
ld [$C0AC],a
ld a,[$D802]
and a
jr z,Logged_0x1C8A12
dec a
ld c,a
jr Logged_0x1C8A41
Logged_0x1C8A12:
ld a,$0F
ld [$DC0E],a
ld a,[$CA39]
and a
jr nz,Logged_0x1C8A34
ld a,[$CA3A]
cp $50
jr nc,Logged_0x1C8A34
cp $25
jr nc,Logged_0x1C8A2F
ld a,$05
ld [$DC0E],a
jr Logged_0x1C8A34
Logged_0x1C8A2F:
ld a,$0A
ld [$DC0E],a
Logged_0x1C8A34:
ld a,[$DC0E]
ld b,a
ld a,[rDIV]
ld c,a
Logged_0x1C8A3B:
sub b
jr c,Logged_0x1C8A41
ld c,a
jr Logged_0x1C8A3B
Logged_0x1C8A41:
ld hl,$4AC3
ld a,c
and a
jr z,Logged_0x1C8A4F
ld de,$000A
Logged_0x1C8A4B:
add hl,de
dec c
jr nz,Logged_0x1C8A4B
Logged_0x1C8A4F:
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push de
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push de
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push de
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
push de
ld a,[hli]
ld h,[hl]
ld l,a
ld a,$01
ld [rVBK],a
ld bc,$98E0
call Logged_0x2C18
ld hl,$5651
ld bc,_SCRN0
call Logged_0x2C18
pop hl
ld bc,$9CE0
call Logged_0x2C18
ld hl,$5716
ld bc,_SCRN1
call Logged_0x2C18
xor a
ld [rVBK],a
pop hl
ld bc,$98E0
call Logged_0x2C18
ld hl,$55C5
ld bc,_SCRN0
call Logged_0x2C18
pop hl
ld bc,$9CE0
call Logged_0x2C18
ld hl,$568A
ld bc,_SCRN1
call Logged_0x2C18
pop hl
ld de,$DB40
ld bc,$0046
call Logged_0x2C00
ld a,[$DB82]
ld [$DC38],a
ld a,[$DB83]
ld [$DC39],a
ret
Unknown_0x1C8AC3:
INCBIN "baserom.gbc", $1C8AC3, $1C8ACD - $1C8AC3
LoggedData_0x1C8ACD:
INCBIN "baserom.gbc", $1C8ACD, $1C8AF5 - $1C8ACD
Unknown_0x1C8AF5:
INCBIN "baserom.gbc", $1C8AF5, $1C8AFF - $1C8AF5
LoggedData_0x1C8AFF:
INCBIN "baserom.gbc", $1C8AFF, $1C8B13 - $1C8AFF
Unknown_0x1C8B13:
INCBIN "baserom.gbc", $1C8B13, $1C8B1D - $1C8B13
LoggedData_0x1C8B1D:
INCBIN "baserom.gbc", $1C8B1D, $1C8B3B - $1C8B1D
Unknown_0x1C8B3B:
INCBIN "baserom.gbc", $1C8B3B, $1C8B45 - $1C8B3B
LoggedData_0x1C8B45:
INCBIN "baserom.gbc", $1C8B45, $1C8B59 - $1C8B45
Unknown_0x1C8B59:
INCBIN "baserom.gbc", $1C8B59, $1C8B8B - $1C8B59
Logged_0x1C8B8B:
ld a,$01
ld [rVBK],a
ld a,[$D800]
cp $02
jr z,Logged_0x1C8BA3
ld a,[$DB81]
add a,$13
ld [$DC23],a
ld a,[$D803]
jr Logged_0x1C8BAD
Logged_0x1C8BA3:
ld a,[$DB81]
ld [$DC23],a
ld a,[$DB81]
dec a
Logged_0x1C8BAD:
ld hl,$638F
swap a
ld b,$00
ld c,a
add hl,bc
ld de,$8010
ld b,$10
call MemCopy_DE_HL
ld hl,$63DF
ld a,[$DB81]
dec a
swap a
sub $20
ld c,a
add hl,bc
ld de,$82B0
ld b,$10
call MemCopy_DE_HL
ld hl,$63DF
add hl,bc
ld de,$84B0
ld b,$10
call MemCopy_DE_HL
ld hl,$63DF
add hl,bc
ld de,$86B0
ld b,$10
call MemCopy_DE_HL
ld hl,$63DF
add hl,bc
ld de,$88B0
ld b,$10
call MemCopy_DE_HL
ld a,[$D800]
cp $02
jr z,Logged_0x1C8C21
ld hl,$654F
ld de,$8200
ld b,$60
call MemCopy_DE_HL
ld de,$8400
ld b,$60
call MemCopy_DE_HL
ld de,$8600
ld b,$60
call MemCopy_DE_HL
ld de,$8800
ld b,$60
call MemCopy_DE_HL
Logged_0x1C8C21:
call Logged_0x1C8C66
ld hl,$DB90
ld de,$8F00
ld b,$40
call MemCopy_DE_HL
xor a
ld [rVBK],a
ret
Logged_0x1C8C33:
ld a,$66
ld [$DC17],a
ld a,$CF
ld [$DC18],a
ld a,$08
ld [$DC4A],a
ld hl,$DC30
ld a,$58
ld [hli],a
xor a
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld a,$60
ld [hli],a
ld a,$01
ld [hli],a
ld a,$80
ld [hli],a
xor a
ld [hli],a
call Logged_0x1C8CC3
call Logged_0x1C8D74
call Logged_0x1C8EA8
jp Logged_0x03B9
Logged_0x1C8C66:
ld hl,$640F
ld a,[$DC22]
ld d,$00
ld e,a
Logged_0x1C8C6F:
cp $0A
jr c,Logged_0x1C8C79
sub $0A
ld e,a
inc d
jr Logged_0x1C8C6F
Logged_0x1C8C79:
push de
ld a,d
and a
jr z,Logged_0x1C8C85
ld bc,$0020
Unknown_0x1C8C81:
add hl,bc
dec d
jr nz,Unknown_0x1C8C81
Logged_0x1C8C85:
ld de,$DB90
ld b,$20
call MemCopy_DE_HL
pop de
ld hl,$640F
ld a,e
and a
jr z,Logged_0x1C8C9C
ld bc,$0020
Logged_0x1C8C98:
add hl,bc
dec e
jr nz,Logged_0x1C8C98
Logged_0x1C8C9C:
ld de,$DBB0
ld b,$20
jp MemCopy_DE_HL
Logged_0x1C8CA4:
ld a,$66
ld [$DC17],a
ld a,$CF
ld [$DC18],a
call Logged_0x1C8FB8
call Logged_0x1C8CC3
call Logged_0x1C8D74
call Logged_0x1C8EA8
call Logged_0x03B9
call Logged_0x1C8F76
jp Logged_0x1C9CF9
Logged_0x1C8CC3:
ld a,$30
ld [$DC58],a
ld a,$0C
ld [$DC59],a
ld de,$6F6F
ld hl,$DC55
call Logged_0x2C7A
ld a,[$DC57]
ld [$DC5A],a
ld hl,$DC58
call Logged_0x2CA7
ld a,$30
ld [$DC60],a
ld a,$08
ld [$DC61],a
ld de,$6F81
ld hl,$DC5D
call Logged_0x2C7A
ld a,[$DC5F]
ld [$DC62],a
ld hl,$DC60
call Logged_0x2CA7
ld a,[$DC00]
cp $0C
ret z
ld a,$90
ld [$DC68],a
ld a,$58
ld [$DC69],a
ld de,$6F8A
ld hl,$DC65
call Logged_0x2C7A
ld a,[$DC67]
ld [$DC6A],a
ld hl,$DC68
call Logged_0x2CA7
ld a,[$DC6C]
and a
ret nz
ld a,$90
ld [$DC70],a
ld a,[$DC4A]
add a,$32
ld [$DC71],a
ld de,$6F84
ld hl,$DC6D
call Logged_0x2C7A
ld a,[$DC6F]
ld [$DC72],a
ld hl,$DC70
call Logged_0x2CA7
ld a,[$DC74]
and a
ret z
ld a,$90
ld [$DC78],a
ld a,[$DC4C]
add a,$32
ld [$DC79],a
ld de,$6F87
ld hl,$DC75
call Logged_0x2C7A
ld a,[$DC77]
ld [$DC7A],a
ld hl,$DC78
jp Logged_0x2CA7
Logged_0x1C8D74:
ld a,[$DC20]
and a
ret nz
ld a,[$DC7C]
cp $08
ret nc
ld hl,$DC36
ld a,[hli]
ld d,[hl]
ld e,a
srl d
rr e
srl d
rr e
push de
call Logged_0x1C8F56
and a
jr nz,Logged_0x1C8D96
pop de
ret
Logged_0x1C8D96:
pop de
ld a,[$C085]
ld b,a
ld a,e
add a,$08
sub b
ld [$DC81],a
ld b,$12
ld a,[$DC7C]
ld c,a
cp $08
ret nc
cp $05
jr nz,Logged_0x1C8DB1
ld b,$13
Logged_0x1C8DB1:
ld hl,$DC34
ld a,[hli]
ld d,[hl]
ld e,a
srl d
rr e
srl d
rr e
ld a,e
add a,b
ld [$DC80],a
ld hl,$4E15
ld b,$00
sla c
add hl,bc
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$DC7D
call Logged_0x2C7A
ld b,$00
bit 0,c
call nz,Logged_0x1C8E26
bit 0,b
ret nz
ld a,[$DC7C]
cp $02
jr nz,Logged_0x1C8E09
ld a,[$DC7D]
and a
jr nz,Logged_0x1C8E09
ld a,[$DC7E]
cp $1E
jr z,Logged_0x1C8E01
cp $14
jr nz,Logged_0x1C8E09
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
jr Logged_0x1C8E09
Logged_0x1C8E01:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
Logged_0x1C8E09:
ld a,[$DC7F]
ld [$DC82],a
ld hl,$DC80
jp Logged_0x2CA7
LoggedData_0x1C8E15:
INCBIN "baserom.gbc", $1C8E15, $1C8E26 - $1C8E15
Logged_0x1C8E26:
ld a,[$DC7C]
cp $02
jr z,Logged_0x1C8E32
cp $03
jr z,Logged_0x1C8E7C
ret
Logged_0x1C8E32:
ld hl,$DC3A
ld a,$80
ld [hli],a
ld [hl],$01
ld hl,$DC34
xor a
ld [hli],a
ld [hli],a
ld a,[$DC45]
and $80
jr nz,Logged_0x1C8E4C
ld a,[$DB84]
jr Logged_0x1C8E4F
Logged_0x1C8E4C:
ld a,[$DB85]
Logged_0x1C8E4F:
ld d,$00
ld e,a
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
ld a,e
ld [hli],a
ld [hl],d
call Logged_0x1C960C
call Logged_0x1C9138
ld b,$01
xor a
ld [$DC7E],a
ld a,$04
ld [$DC7C],a
jr Logged_0x1C8E91
Logged_0x1C8E7C:
ld hl,$DC34
xor a
ld [hli],a
ld [hli],a
ld de,$DC3C
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hl],a
ld b,$01
ld a,$08
ld [$DC7C],a
Logged_0x1C8E91:
ld a,[$DC23]
ld c,a
ld a,[$DC22]
cp c
ret c
ld hl,$DC34
ld a,$80
ld [hli],a
ld [hl],$01
ld a,$01
ld [$DC20],a
ret
Logged_0x1C8EA8:
ld hl,$DC32
ld a,[hli]
ld d,[hl]
ld e,a
srl d
rr e
srl d
rr e
push de
call Logged_0x1C8F56
and a
jr nz,Logged_0x1C8F02
pop de
ld a,[$DC21]
and a
ret z
xor a
ld [$DC21],a
ld a,[$DC42]
and a
jr nz,Unknown_0x1C8EE5
ld hl,$DC2C
ld a,[hli]
ld d,[hl]
ld e,a
sla e
rl d
sla e
rl d
ld a,e
sub $28
ld e,a
ld a,d
sbc a,$00
ld d,a
jr Logged_0x1C8EFB
Unknown_0x1C8EE5:
ld hl,$DC2C
ld a,[hli]
ld d,[hl]
ld e,a
sla e
rl d
sla e
rl d
ld a,e
add a,$A8
ld e,a
ld a,d
adc a,$02
ld d,a
Logged_0x1C8EFB:
ld hl,$DC32
ld a,e
ld [hli],a
ld [hl],d
ret
Logged_0x1C8F02:
xor a
ld [$DC21],a
pop de
ld a,[$C085]
ld b,a
ld a,e
add a,$08
sub b
ld [$DC89],a
ld a,[$DC30]
add a,$11
ld [$DC88],a
call Logged_0x2CC3
ld a,[$DC84]
cp $01
ret nz
ld a,[$DC86]
cp $02
ret nz
ld a,[$DC85]
and a
ret nz
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$04
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1C8F37:
ld a,[$DC84]
cp $02
jr z,Logged_0x1C8F4B
cp $03
jr z,Logged_0x1C8F4B
cp $05
jr z,Logged_0x1C8F4B
cp $0B
jr z,Logged_0x1C8F4B
ret
Logged_0x1C8F4B:
ld hl,$DC0A
inc [hl]
ld a,[$DC09]
ld [$DC87],a
ret
Logged_0x1C8F56:
ld hl,$DC2C
call Logged_0x1C9CDD
ld a,d
and a
jr z,Logged_0x1C8F66
cp $FF
jr z,Logged_0x1C8F6E
Logged_0x1C8F64:
xor a
ret
Logged_0x1C8F66:
ld a,e
cp $B0
jr nc,Logged_0x1C8F64
ld a,$01
ret
Logged_0x1C8F6E:
ld a,e
cp $E0
jr c,Logged_0x1C8F64
ld a,$01
ret
Logged_0x1C8F76:
ld hl,$4F93
ld a,[$DC84]
ld b,$00
ld c,a
add hl,bc
ld a,[hl]
ld [$DC0D],a
ld hl,$4F9F
sla c
add hl,bc
ld a,[hli]
ld [$DC12],a
ld a,[hl]
ld [$DC11],a
ret
LoggedData_0x1C8F93:
INCBIN "baserom.gbc", $1C8F93, $1C8F9C - $1C8F93
Unknown_0x1C8F9C:
INCBIN "baserom.gbc", $1C8F9C, $1C8F9D - $1C8F9C
LoggedData_0x1C8F9D:
INCBIN "baserom.gbc", $1C8F9D, $1C8FB1 - $1C8F9D
Unknown_0x1C8FB1:
INCBIN "baserom.gbc", $1C8FB1, $1C8FB3 - $1C8FB1
LoggedData_0x1C8FB3:
INCBIN "baserom.gbc", $1C8FB3, $1C8FB7 - $1C8FB3
Unknown_0x1C8FB7:
INCBIN "baserom.gbc", $1C8FB7, $1C8FB8 - $1C8FB7
Logged_0x1C8FB8:
ld a,[$DC00]
rst JumpList
dw Logged_0x1C8FD8
dw Logged_0x1C905D
dw Logged_0x1C9164
dw Logged_0x1C9286
dw Logged_0x1C92F7
dw Logged_0x1C93A7
dw Logged_0x1C9648
dw Logged_0x1C9654
dw Logged_0x1C98C7
dw Logged_0x1C9A01
dw Logged_0x1C9A62
dw Logged_0x1C9BBC
dw Logged_0x1C9BFC
dw Unknown_0x1C9C53
Logged_0x1C8FD8:
ld hl,$DC2C
ld a,[hli]
ld d,[hl]
ld e,a
ld a,[$C094]
bit 2,a
jr nz,Logged_0x1C8FF2
bit 0,a
jr nz,Logged_0x1C9007
bit 4,a
jr nz,Logged_0x1C9039
bit 5,a
jr nz,Logged_0x1C9044
ret
Logged_0x1C8FF2:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E4
ld [$FF00+hSFXIDLow],a
xor a
ld [$DC65],a
ld [$DC66],a
ld a,$0C
ld [$DC00],a
ret
Logged_0x1C9007:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E9
ld [$FF00+hSFXIDLow],a
ld hl,$DC8C
xor a
ld c,$08
Logged_0x1C9015:
ld [hli],a
dec c
jr nz,Logged_0x1C9015
xor a
ld [$DC24],a
ld a,$02
ld [$DC00],a
ld a,[$DC45]
ld [$DC48],a
ld a,[$DC47]
ld [$DC53],a
ld hl,$DC34
ld de,$DC3A
ld b,$04
jp MemCopy_DE_HL
Logged_0x1C9039:
ld a,d
and a
jr z,Logged_0x1C9041
ld a,e
cp $60
ret nc
Logged_0x1C9041:
xor a
jr Logged_0x1C9049
Logged_0x1C9044:
ld a,d
or e
ret z
ld a,$01
Logged_0x1C9049:
ld [$DC27],a
ld hl,$DC2C
ld a,[hli]
ld [$DC2E],a
ld a,[hl]
ld [$DC2F],a
ld a,$01
ld [$DC00],a
ret
Logged_0x1C905D:
call Logged_0x1C90C8
ld hl,$DC36
ld a,[hli]
ld d,[hl]
ld e,a
srl d
rr e
srl d
rr e
ld a,[$DC45]
cp $03
jr z,Logged_0x1C907D
cp $04
jr z,Logged_0x1C9081
ld b,$A0
jr Logged_0x1C9083
Logged_0x1C907D:
ld b,$80
jr Logged_0x1C9083
Logged_0x1C9081:
ld b,$50
Logged_0x1C9083:
ld a,[$DC28]
and a
jr nz,Unknown_0x1C9092
ld a,e
add a,b
ld e,a
ld a,d
adc a,$00
ld d,a
jr Logged_0x1C9099
Unknown_0x1C9092:
ld a,e
sub b
ld e,a
ld a,d
sbc a,$00
ld d,a
Logged_0x1C9099:
push de
call Logged_0x1C8F56
and a
jr nz,Logged_0x1C90A2
pop de
ret
Logged_0x1C90A2:
pop de
ld a,[$C085]
ld b,a
ld a,e
add a,$08
sub b
ld [$DC99],a
ld a,$72
ld [$DC98],a
ld hl,$DC95
ld de,$70A4
call Logged_0x2C7A
ld a,[$DC97]
ld [$DC9A],a
ld hl,$DC98
jp Logged_0x2CA7
Logged_0x1C90C8:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1C9127
bit 1,a
jr nz,Logged_0x1C9127
ld hl,$DC2C
ld a,[hli]
ld d,[hl]
ld e,a
ld a,[$DC27]
and a
jr nz,Logged_0x1C90F1
ld a,[$C093]
bit 4,a
jr z,Logged_0x1C9102
ld a,d
and a
jr z,Logged_0x1C90EE
ld a,e
cp $60
ret nc
Logged_0x1C90EE:
inc de
jr Logged_0x1C90FC
Logged_0x1C90F1:
ld a,[$C093]
bit 5,a
jr z,Logged_0x1C9102
ld a,d
or e
ret z
dec de
Logged_0x1C90FC:
ld a,d
ld [hld],a
ld a,e
ld [hl],a
jr Logged_0x1C9138
Logged_0x1C9102:
ld hl,$DC2C
ld a,[hli]
ld d,[hl]
ld e,a
ld a,[$DC27]
and a
jr nz,Logged_0x1C9111
dec de
jr Logged_0x1C9112
Logged_0x1C9111:
inc de
Logged_0x1C9112:
ld a,d
ld [hld],a
ld a,e
ld [hl],a
ld hl,$DC2E
call Logged_0x1C9CDD
ld a,d
or e
jr nz,Logged_0x1C9138
ld a,$00
ld [$DC00],a
jr Logged_0x1C9138
Logged_0x1C9127:
ld a,[$DC2E]
ld [$DC2C],a
ld a,[$DC2F]
ld [$DC2D],a
ld a,$00
ld [$DC00],a
Logged_0x1C9138:
ld hl,$DC2D
ld a,[hld]
and a
jr z,Logged_0x1C9149
ld a,[hl]
ld [$C085],a
ld a,$02
ld [$DC26],a
ret
Logged_0x1C9149:
ld a,[hl]
ld [$C085],a
cp $60
jr c,Logged_0x1C915F
ld a,$A7
sub [hl]
add a,$60
ld [$DC25],a
ld a,$01
ld [$DC26],a
ret
Logged_0x1C915F:
xor a
ld [$DC26],a
ret
Logged_0x1C9164:
ld a,[$DC49]
and a
jr nz,Logged_0x1C918C
ld b,$01
ld a,[$DC4A]
cp $10
jr c,Logged_0x1C9175
ld b,$02
Logged_0x1C9175:
add a,b
ld [$DC4A],a
cp $4C
jr c,Logged_0x1C91A3
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EA
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$DC49],a
jr Logged_0x1C91A3
Logged_0x1C918C:
ld a,[$DC4A]
sub $02
ld [$DC4A],a
jr nc,Logged_0x1C91A3
xor a
ld [$DC0A],a
ld [$DC4A],a
ld a,$04
ld [$DC00],a
ret
Logged_0x1C91A3:
ld a,[$C094]
bit 0,a
ret z
xor a
ld [$DC85],a
ld [$DC86],a
inc a
ld [$DC74],a
ld a,$03
ld [$DC00],a
ld hl,$DC4E
ld a,[$DC4A]
ld [$DC4C],a
cp $10
jr c,Unknown_0x1C91ED
cp $18
jr c,Logged_0x1C91F3
cp $20
jr c,Logged_0x1C91FA
cp $28
jr c,Logged_0x1C9201
cp $30
jr c,Logged_0x1C9208
cp $38
jr c,Logged_0x1C920F
cp $40
jr c,Logged_0x1C9216
cp $46
jr c,Logged_0x1C921D
cp $4A
jr c,Logged_0x1C9224
ld a,$09
ld [$DC4B],a
jr Logged_0x1C9229
Unknown_0x1C91ED:
xor a
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C91F3:
ld a,$01
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C91FA:
ld a,$02
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C9201:
ld a,$03
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C9208:
ld a,$04
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C920F:
ld a,$05
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C9216:
ld a,$06
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C921D:
ld a,$07
ld [$DC4B],a
jr Logged_0x1C9229
Logged_0x1C9224:
ld a,$08
ld [$DC4B],a
Logged_0x1C9229:
ld hl,$5272
ld de,$DC4E
ld a,[$DC4B]
sla a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld [de],a
inc de
xor a
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$DC45]
cp $03
jr z,Logged_0x1C9250
cp $04
jr z,Logged_0x1C9263
xor a
ld [$DC46],a
ret
Logged_0x1C9250:
ld hl,$DC4E
ld a,[hl]
add a,[hl]
add a,[hl]
add a,$03
srl a
srl a
ld [hli],a
ld a,$01
ld [$DC46],a
ret
Logged_0x1C9263:
ld hl,$DC4E
ld a,[hl]
inc a
srl a
dec a
ld [hli],a
ld a,$02
ld [$DC46],a
ret
Unknown_0x1C9272:
INCBIN "baserom.gbc", $1C9272, $1C9274 - $1C9272
LoggedData_0x1C9274:
INCBIN "baserom.gbc", $1C9274, $1C9286 - $1C9274
Logged_0x1C9286:
ld a,[$DC49]
and a
jr nz,Logged_0x1C92AE
ld b,$01
ld a,[$DC4C]
cp $10
jr c,Logged_0x1C9297
ld b,$02
Logged_0x1C9297:
add a,b
ld [$DC4C],a
cp $4C
jr c,Logged_0x1C92BE
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EA
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$DC49],a
jr Logged_0x1C92BE
Logged_0x1C92AE:
ld a,[$DC4C]
sub $02
ld [$DC4C],a
jr nc,Logged_0x1C92BE
xor a
ld [$DC4C],a
jr Logged_0x1C92C4
Logged_0x1C92BE:
ld a,[$C094]
bit 0,a
ret z
Logged_0x1C92C4:
xor a
ld [$DC0A],a
ld a,$04
ld [$DC00],a
ld a,[$DC4C]
cp $02
jr c,Logged_0x1C92E0
cp $05
jr c,Logged_0x1C92E5
cp $0B
jr c,Logged_0x1C92EB
cp $0E
jr c,Logged_0x1C92F1
Logged_0x1C92E0:
xor a
ld [$DC4D],a
ret
Logged_0x1C92E5:
ld a,$01
ld [$DC4D],a
ret
Logged_0x1C92EB:
ld a,$02
ld [$DC4D],a
ret
Logged_0x1C92F1:
ld a,$03
ld [$DC4D],a
ret
Logged_0x1C92F7:
ld hl,$DC0A
ld a,[hl]
and a
jr z,Logged_0x1C930B
cp $01
jr z,Logged_0x1C9318
cp $03
jr z,Logged_0x1C9333
cp $05
jr nc,Logged_0x1C9368
ret
Logged_0x1C930B:
inc [hl]
ld hl,$DC22
inc [hl]
ld a,$03
ld [$DC02],a
jp Logged_0x1C8C66
Logged_0x1C9318:
inc [hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$ED
ld [$FF00+hSFXIDLow],a
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$02
ld [$DC84],a
ld a,$02
ld [$DC02],a
ret
Logged_0x1C9333:
inc [hl]
xor a
ld [$DC85],a
ld [$DC86],a
ld a,[$DC4A]
and a
jr z,Logged_0x1C9355
ld a,[$DC4D]
and a
jr z,Logged_0x1C9355
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
ld a,$03
ld [$DC84],a
ret
Logged_0x1C9355:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E8
ld [$FF00+hSFXIDLow],a
ld a,$05
ld [$DC84],a
ld a,$02
ld [$DC02],a
ret
Logged_0x1C9368:
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld a,[$DC84]
cp $05
jr z,Logged_0x1C9397
ld a,[$DC28]
ld [$DC29],a
xor a
ld [$DC7E],a
inc a
ld [$DC7C],a
ld a,$04
ld [$DC84],a
ld a,$06
ld [$DC01],a
ld a,$05
ld [$DC00],a
ret
Logged_0x1C9397:
ld a,$02
ld [$DC02],a
ld a,$00
ld [$DC84],a
ld a,$09
ld [$DC00],a
ret
Logged_0x1C93A7:
call Logged_0x1C9438
call Logged_0x1C94E8
call Logged_0x1C960C
call Logged_0x1C9138
ld a,[$DC00]
cp $05
ret z
ld a,$08
ld [$DC01],a
ld a,[$DC4D]
cp $02
jr z,Logged_0x1C93D1
cp $03
jr z,Logged_0x1C93D6
ld a,[$DC29]
xor $01
ld [$DC29],a
Logged_0x1C93D1:
ld hl,$5410
jr Logged_0x1C93D9
Logged_0x1C93D6:
ld hl,$5424
Logged_0x1C93D9:
ld de,$DC4E
ld a,[$DC4B]
sla a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld [de],a
inc de
xor a
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld a,[$DC46]
cp $01
jr z,Logged_0x1C93F9
cp $02
jr z,Logged_0x1C9407
ret
Logged_0x1C93F9:
ld hl,$DC4E
ld a,[hl]
add a,[hl]
add a,[hl]
add a,$03
srl a
srl a
ld [hli],a
ret
Logged_0x1C9407:
ld hl,$DC4E
ld a,[hl]
inc a
srl a
ld [hli],a
ret
Unknown_0x1C9410:
INCBIN "baserom.gbc", $1C9410, $1C9412 - $1C9410
LoggedData_0x1C9412:
INCBIN "baserom.gbc", $1C9412, $1C9424 - $1C9412
Unknown_0x1C9424:
INCBIN "baserom.gbc", $1C9424, $1C9426 - $1C9424
LoggedData_0x1C9426:
INCBIN "baserom.gbc", $1C9426, $1C9428 - $1C9426
Unknown_0x1C9428:
INCBIN "baserom.gbc", $1C9428, $1C942A - $1C9428
LoggedData_0x1C942A:
INCBIN "baserom.gbc", $1C942A, $1C9432 - $1C942A
Unknown_0x1C9432:
INCBIN "baserom.gbc", $1C9432, $1C9434 - $1C9432
LoggedData_0x1C9434:
INCBIN "baserom.gbc", $1C9434, $1C9438 - $1C9434
Logged_0x1C9438:
ld hl,$DC51
inc [hl]
ld a,[hl]
and $07
jr nz,Logged_0x1C9445
ld hl,$DC50
dec [hl]
Logged_0x1C9445:
ld hl,$DC36
ld a,[$DC29]
and a
jr nz,Logged_0x1C945B
ld a,[$DC50]
add a,[hl]
ld [hli],a
ld e,a
ld a,[hl]
adc a,$00
ld [hl],a
ld d,a
jr Logged_0x1C9475
Logged_0x1C945B:
ld a,[$DC50]
ld b,a
ld a,[hl]
sub b
ld [hli],a
ld e,a
ld a,[hl]
sbc a,$00
ld [hl],a
ld d,a
cp $FF
jr nz,Logged_0x1C9475
ld [hl],$00
ld a,$08
ld [$DC45],a
jr Unknown_0x1C94C2
Logged_0x1C9475:
srl d
rr e
srl d
rr e
srl d
rr e
srl d
rr e
srl d
rr e
ld a,e
ld [$DC3E],a
ld a,d
ld [$DC3F],a
ld hl,$DB40
add hl,de
ld a,[hl]
ld [$DC45],a
and $0F
jr z,Logged_0x1C94A7
cp $08
jr z,Unknown_0x1C94C2
Logged_0x1C94A1:
ld a,$80
ld [$DC44],a
ret
Logged_0x1C94A7:
ld a,[$DC47]
and a
jr nz,Unknown_0x1C94B3
ld a,$60
ld [$DC44],a
ret
Unknown_0x1C94B3:
ld a,[$DC45]
and $F0
jr z,Logged_0x1C94A1
ld c,a
ld a,$07
ld [$DC45],a
jr Logged_0x1C94A1
Unknown_0x1C94C2:
xor a
ld [$DC7D],a
ld [$DC85],a
ld [$DC7E],a
ld [$DC86],a
ld a,$08
ld [$DC7C],a
ld a,$00
ld [$DC84],a
ld a,$02
ld [$DC02],a
ld a,$07
ld [$DC00],a
ld hl,$DC22
inc [hl]
ret
Logged_0x1C94E8:
ld hl,$DC4E
ld a,[hli]
ld d,[hl]
ld e,a
dec de
ld a,d
ld [hld],a
ld [hl],e
ld hl,$DC34
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$DC4E
call Logged_0x1C9CDD
ld hl,$DC35
ld a,d
ld [hld],a
ld [hl],e
cp $01
ret nz
ld a,[$DC44]
ld d,a
sub e
ret nc
ld a,d
ld [hli],a
ld a,$01
ld [hl],a
ld a,[$DC45]
and $0F
ld d,a
jr z,Logged_0x1C9521
cp $06
jr nc,Logged_0x1C9521
ld [$DC47],a
Logged_0x1C9521:
xor a
ld [$DC51],a
ld a,d
cp $02
jr nc,Logged_0x1C955E
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,[$DC01]
ld [$DC00],a
cp $06
ret z
ld a,$09
ld [$DC01],a
call Logged_0x1C99CA
xor a
ld [$DC7D],a
ld [$DC85],a
ld [$DC7E],a
ld [$DC86],a
ld [$DC7C],a
ld a,$00
ld [$DC84],a
ld a,$02
ld [$DC02],a
ret
Logged_0x1C955E:
ld a,$07
ld [$DC00],a
xor a
ld [$DC7D],a
ld [$DC85],a
ld [$DC7E],a
ld [$DC86],a
ld [$DC7C],a
ld a,$00
ld [$DC84],a
ld a,$02
ld [$DC02],a
ld a,[$DC45]
ld c,a
and $0F
cp $02
jr z,Logged_0x1C95AE
cp $05
jr z,Logged_0x1C95BD
cp $06
jr z,Logged_0x1C95C7
cp $07
jr z,Unknown_0x1C95B8
cp $04
jr z,Logged_0x1C95A0
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$A1
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1C95A0:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$65
ld [$FF00+hSFXIDLow],a
ld a,$05
ld [$DC7C],a
ret
Logged_0x1C95AE:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EF
ld [$FF00+hSFXIDLow],a
jr Logged_0x1C95DE
Unknown_0x1C95B8:
ld hl,$DC22
inc [hl]
ret
Logged_0x1C95BD:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
jr Logged_0x1C95D5
Logged_0x1C95C7:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$73
ld [$FF00+hSFXIDLow],a
ld a,[$DC53]
ld [$DC47],a
Logged_0x1C95D5:
ld a,$06
ld [$DC7C],a
ld hl,$DC22
inc [hl]
Logged_0x1C95DE:
ld hl,$DC3E
bit 4,c
jr nz,Logged_0x1C95EE
bit 5,c
jr nz,Logged_0x1C95EA
ret
Logged_0x1C95EA:
ld a,[hli]
inc a
jr Logged_0x1C95EF
Logged_0x1C95EE:
ld a,[hli]
Logged_0x1C95EF:
ld e,a
ld d,[hl]
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
sla e
rl d
ld hl,$DC36
ld a,e
ld [hli],a
ld [hl],d
ret
Logged_0x1C960C:
ld hl,$DC36
ld a,[hli]
ld d,[hl]
ld e,a
srl d
rr e
srl d
rr e
ld hl,$DC2C
ld a,d
cp $02
jr nc,Logged_0x1C9639
and a
jr nz,Logged_0x1C9634
ld a,e
cp $50
jr nc,Logged_0x1C962E
xor a
ld [hli],a
ld [hl],a
ret
Logged_0x1C962E:
sub $50
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x1C9634:
ld a,e
cp $B0
jr c,Logged_0x1C9640
Logged_0x1C9639:
ld a,$60
ld [hli],a
ld a,$01
ld [hl],a
ret
Logged_0x1C9640:
sub $50
ld [hli],a
ld a,d
sbc a,$00
ld [hl],a
ret
Logged_0x1C9648:
call Logged_0x1C9438
call Logged_0x1C94E8
call Logged_0x1C960C
jp Logged_0x1C9138
Logged_0x1C9654:
ld a,$50
ld [$DC90],a
ld a,$58
ld [$DC91],a
ld [$DC6C],a
ld a,$09
ld [$DC01],a
ld a,[$DC45]
and $0F
cp $02
jp z,Logged_0x1C97F2
cp $03
jr z,Logged_0x1C96DD
cp $04
jp z,Logged_0x1C96F4
cp $05
jp z,Logged_0x1C9722
cp $06
jp z,Logged_0x1C9799
ld a,[$DC7C]
cp $04
jp z,Logged_0x1C9743
ld de,$7016
ld hl,$DC8D
call Logged_0x2C7A
ld a,c
and a
jr nz,Unknown_0x1C96BA
ld a,[$DC8E]
cp $02
jr nz,Unknown_0x1C96AE
ld a,[$DC8D]
cp $01
jr nz,Unknown_0x1C96AE
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
Unknown_0x1C96AE:
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
jp Logged_0x2CA7
Unknown_0x1C96BA:
ld hl,$DC34
xor a
ld [hli],a
ld [hli],a
ld a,[$DC3C]
ld [hli],a
ld a,[$DC3D]
ld [hl],a
call Logged_0x1C960C
call Logged_0x1C9138
call Logged_0x1C99CA
xor a
ld [$DC7E],a
ld a,$04
ld [$DC7C],a
jp Logged_0x1C8E91
Logged_0x1C96DD:
ld de,$7035
ld hl,$DC8D
call Logged_0x2C7A
ld a,c
and a
jp nz,Logged_0x1C976F
ld a,[$DC8E]
cp $0A
jr nz,Logged_0x1C9716
jr Logged_0x1C9708
Logged_0x1C96F4:
ld de,$7068
ld hl,$DC8D
call Logged_0x2C7A
ld a,c
and a
jr nz,Logged_0x1C976F
ld a,[$DC8E]
cp $06
jr nz,Logged_0x1C9716
Logged_0x1C9708:
ld a,[$DC8D]
and a
jr nz,Logged_0x1C9716
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$F0
ld [$FF00+hSFXIDLow],a
Logged_0x1C9716:
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
jp Logged_0x2CA7
Logged_0x1C9722:
ld a,[$DC7C]
cp $04
jr z,Logged_0x1C9743
cp $06
ret nz
ld hl,$DC34
ld a,[hl]
cp $C0
jr nc,Logged_0x1C9738
add a,$04
ld [hli],a
ret
Logged_0x1C9738:
ld a,$02
ld [$DC7C],a
ld a,$01
ld [$DC48],a
ret
Logged_0x1C9743:
ld hl,$DC34
ld a,[hli]
or [hl]
jr nz,Logged_0x1C9752
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EE
ld [$FF00+hSFXIDLow],a
Logged_0x1C9752:
ld hl,$DC3A
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$DC34
ld a,[hl]
add a,$02
ld [hli],a
ld a,[hl]
adc a,$00
ld [hld],a
call Logged_0x1C9CE5
cp $02
ret nc
ld a,[$DC48]
ld [$DC45],a
Logged_0x1C976F:
ld a,[$DC7C]
cp $05
jr z,Logged_0x1C977A
xor a
ld [$DC7C],a
Logged_0x1C977A:
xor a
ld [$DC0A],a
ld [$DC7D],a
ld [$DC85],a
ld [$DC7E],a
ld [$DC86],a
ld [$DC8E],a
ld [$DC8C],a
call Logged_0x1C99CA
ld a,$08
ld [$DC00],a
ret
Logged_0x1C9799:
ld a,[$DC7C]
cp $04
jr z,Logged_0x1C9743
cp $06
jr nz,Logged_0x1C97B5
ld hl,$DC34
ld a,[hl]
cp $A0
jr nc,Logged_0x1C97B0
add a,$04
ld [hli],a
ret
Logged_0x1C97B0:
ld a,$03
ld [$DC7C],a
Logged_0x1C97B5:
ld de,$7016
ld hl,$DC8D
call Logged_0x2C7A
ld a,c
and a
jr nz,Logged_0x1C97E4
ld a,[$DC8E]
cp $02
jr nz,Logged_0x1C97D8
ld a,[$DC8D]
cp $01
jr nz,Logged_0x1C97D8
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E5
ld [$FF00+hSFXIDLow],a
Logged_0x1C97D8:
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
jp Logged_0x2CA7
Logged_0x1C97E4:
ld a,$04
ld [$DC7C],a
call Logged_0x1C960C
call Logged_0x1C9138
jp Logged_0x1C99CA
Logged_0x1C97F2:
ld hl,$DC0A
ld a,[hl]
cp $30
jr nc,Logged_0x1C9838
cp $18
jr nc,Logged_0x1C9833
inc [hl]
ld hl,$587F
ld de,$DC36
ld b,$00
ld c,a
add hl,bc
ld a,[hl]
and a
jr nz,Logged_0x1C981B
ld hl,$5897
add hl,bc
ld a,[de]
add a,[hl]
ld [de],a
inc de
ld a,[de]
adc a,$00
ld [de],a
jr Logged_0x1C9827
Logged_0x1C981B:
ld hl,$5897
add hl,bc
ld a,[de]
sub [hl]
ld [de],a
inc de
ld a,[de]
sbc a,$00
ld [de],a
Logged_0x1C9827:
ld hl,$58AF
add hl,bc
ld a,[$DC34]
add a,[hl]
ld [$DC34],a
ret
Logged_0x1C9833:
ld hl,$DC0A
inc [hl]
ret
Logged_0x1C9838:
ld a,[$DB81]
ld c,a
ld a,[$DC22]
cp c
jr z,Logged_0x1C9852
jr nc,Unknown_0x1C986B
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2B
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
jr Logged_0x1C9863
Logged_0x1C9852:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2B
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
ld a,$01
ld [$DC24],a
Logged_0x1C9863:
ld a,$0A
ld [$DC01],a
jp Logged_0x1C976F
Unknown_0x1C986B:
ld a,$02
ld [$DC24],a
ld a,[$D800]
cp $01
jr z,Logged_0x1C9863
ld a,$0B
ld [$DC01],a
jp Logged_0x1C976F
LoggedData_0x1C987F:
INCBIN "baserom.gbc", $1C987F, $1C98C7 - $1C987F
Logged_0x1C98C7:
ld hl,$DC0A
ld a,[hl]
cp $19
jr nc,Logged_0x1C993F
cp $18
jr nc,Logged_0x1C98E1
inc [hl]
and a
ret nz
ld a,$03
ld [$DC02],a
ld [$DC21],a
jp Logged_0x1C8C66
Logged_0x1C98E1:
ld a,[$DC47]
and a
jr z,Logged_0x1C990F
ld a,[$DC30]
cp $60
jr nc,Logged_0x1C990F
ld hl,$DC34
ld a,[hli]
ld e,a
ld d,[hl]
srl d
rr e
srl d
rr e
ld hl,$DC30
ld a,[hl]
sub e
jr nc,Logged_0x1C990F
inc [hl]
inc [hl]
ld a,[hl]
cp $60
ret c
ld a,$01
ld [$DC02],a
ret
Logged_0x1C990F:
ld hl,$DC32
ld a,[hli]
ld d,[hl]
ld e,a
ld hl,$DC40
call Logged_0x1C9CE5
cp $01
jr nz,Logged_0x1C9929
xor a
ld [$DC0A],a
ld a,$09
ld [$DC00],a
ret
Logged_0x1C9929:
ld hl,$DC0A
inc [hl]
xor a
ld [$DC85],a
ld [$DC86],a
ld a,$01
ld [$DC84],a
ld a,$02
ld [$DC02],a
ret
Logged_0x1C993F:
ld a,[$DC42]
and a
jr nz,Unknown_0x1C995D
ld hl,$DC32
ld a,[hli]
add a,$04
ld e,a
ld a,[hld]
adc a,$00
ld d,a
push de
push hl
ld hl,$DC40
call Logged_0x1C9CE5
and a
jr nz,Logged_0x1C997A
jr Logged_0x1C9974
Unknown_0x1C995D:
ld hl,$DC32
ld a,[hli]
sub $04
ld e,a
ld a,[hld]
sbc a,$00
ld d,a
push de
push hl
ld hl,$DC40
call Logged_0x1C9CE5
cp $02
jr nz,Logged_0x1C997A
Logged_0x1C9974:
pop hl
pop de
ld a,e
ld [hli],a
ld [hl],d
ret
Logged_0x1C997A:
pop hl
pop de
ld de,$DC40
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hl],a
ld a,[$DC28]
ld [$DC42],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld hl,$DC01
ld a,[hl]
cp $0A
jr z,Logged_0x1C99A4
cp $0B
jr z,Unknown_0x1C99BB
ld a,$00
jr Logged_0x1C99BD
Logged_0x1C99A4:
ld a,[$DC24]
cp $02
jr nc,Unknown_0x1C99AF
ld a,$06
jr Logged_0x1C99BD
Unknown_0x1C99AF:
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2A
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
Unknown_0x1C99BB:
ld a,$07
Logged_0x1C99BD:
ld [$DC84],a
ld a,$02
ld [$DC02],a
ld a,[hl]
ld [$DC00],a
ret
Logged_0x1C99CA:
ld hl,$DC36
ld a,[hli]
ld e,a
ld a,[hli]
ld d,a
call Logged_0x1C9CE5
cp $02
jr nc,Logged_0x1C99EC
xor a
ld [$DC28],a
ld hl,$DC36
ld de,$DC40
ld a,[hli]
sub $40
ld [de],a
ld a,[hl]
sbc a,$00
inc de
ld [de],a
ret
Logged_0x1C99EC:
ld a,$01
ld [$DC28],a
ld hl,$DC36
ld de,$DC40
ld a,[hli]
add a,$40
ld [de],a
ld a,[hl]
adc a,$00
inc de
ld [de],a
ret
Logged_0x1C9A01:
ld a,[$DC0A]
inc a
ld [$DC0A],a
cp $08
jr z,Logged_0x1C9A28
cp $20
ret c
ld a,$08
ld [$DC4A],a
xor a
ld [$DC0A],a
ld [$DC51],a
ld [$DC49],a
ld [$DC6C],a
ld [$DC74],a
ld [$DC00],a
ret
Logged_0x1C9A28:
ld a,[$DC23]
ld c,a
ld a,[$DC22]
cp c
ret c
ld a,$00
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$2A
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld [$DC8D],a
ld [$DC8E],a
ld a,$01
ld [$DC6C],a
ld a,$07
ld [$DC84],a
ld a,$02
ld [$DC02],a
ld a,$0B
ld [$DC00],a
ret
Logged_0x1C9A62:
ld a,[$D800]
cp $01
jr z,Unknown_0x1C9AC2
ld a,$50
ld [$DC90],a
ld a,$58
ld [$DC91],a
ld de,$6F8D
ld hl,$DC8D
call Logged_0x2C7A
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
call Logged_0x2CA7
ld hl,$DC0A
ld a,[hl]
cp $50
jr nc,Logged_0x1C9A92
inc [hl]
ret
Logged_0x1C9A92:
ld a,[$C094]
bit 0,a
ret z
ld a,$FF
ld [$FF00+$B3],a
ld [$FF00+hMusicIDHigh],a
ld a,$00
ld [$FF00+$B4],a
ld [$FF00+hMusicIDLow],a
xor a
ld [$D800],a
ld [$D801],a
ld a,[$CAC1]
and a
jr nz,Unknown_0x1C9ABC
ld a,$01
ld [$CAC1],a
ld a,$0A
ld [wGameSubState],a
ret
Unknown_0x1C9ABC:
ld a,$08
ld [wGameSubState],a
ret
Unknown_0x1C9AC2:
call Unknown_0x1C9B53
call Unknown_0x1C9B8D
ld b,$50
ld a,[$DC84]
cp $06
jr z,Unknown_0x1C9AD3
ld b,$70
Unknown_0x1C9AD3:
ld hl,$DC0A
ld a,[hl]
cp b
jr nc,Unknown_0x1C9ADC
inc [hl]
ret
Unknown_0x1C9ADC:
ld a,[$C094]
bit 0,a
ret z
ld a,[$DC22]
ld c,a
ld a,[$D805]
add a,c
ld [$D805],a
ld hl,$D803
ld a,[hl]
cp $04
jr z,Unknown_0x1C9B00
inc [hl]
ld hl,$D802
inc [hl]
ld a,$04
ld [wGameSubState],a
ret
Unknown_0x1C9B00:
xor a
ld [$DC0A],a
ld [$DC85],a
ld [$DC86],a
ld [$DC8D],a
ld [$DC8E],a
ld [$DC95],a
ld [$DC96],a
ld a,[$D805]
cp $15
jr nc,Unknown_0x1C9B24
ld a,$03
ld [$DC24],a
jr Unknown_0x1C9B29
Unknown_0x1C9B24:
ld a,$04
ld [$DC24],a
Unknown_0x1C9B29:
ld hl,$CA42
ld a,[$D804]
ld d,$00
ld e,a
add hl,de
ld a,[$D805]
cp [hl]
jr nc,Unknown_0x1C9B48
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$FA
ld [$FF00+hSFXIDLow],a
ld a,$06
ld [$DC84],a
jr Unknown_0x1C9B4D
Unknown_0x1C9B48:
ld a,$07
ld [$DC84],a
Unknown_0x1C9B4D:
ld a,$0D
ld [$DC00],a
ret
Unknown_0x1C9B53:
ld a,$50
ld [$DC90],a
ld a,$58
ld [$DC91],a
ld hl,$5B7D
ld a,[$DC24]
add a,a
ld b,$00
ld c,a
add hl,bc
ld a,[hli]
ld e,a
ld d,[hl]
ld hl,$DC8D
call Logged_0x2C7A
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
jp Logged_0x2CA7
Unknown_0x1C9B7D:
INCBIN "baserom.gbc", $1C9B7D, $1C9B8D - $1C9B7D
Unknown_0x1C9B8D:
ld a,[$DC24]
cp $01
ret z
cp $02
jr z,Unknown_0x1C9BA1
ld a,[$DC22]
ld c,a
ld a,[$DB81]
sub c
jr Unknown_0x1C9BB4
Unknown_0x1C9BA1:
ld a,[$DB81]
ld c,a
ld a,[$DC22]
sub c
cp $0A
jr c,Unknown_0x1C9BB4
ld hl,$CC06
ld [hl],$82
sub $0A
Unknown_0x1C9BB4:
add a,a
add a,$80
ld hl,$CC0A
ld [hl],a
ret
Logged_0x1C9BBC:
ld a,$50
ld [$DC90],a
ld a,$58
ld [$DC91],a
ld de,$6FA0
ld hl,$DC8D
call Logged_0x2C7A
ld a,[$DC8F]
ld [$DC92],a
ld hl,$DC90
call Logged_0x2CA7
ld hl,$DC0A
ld a,[hl]
cp $50
jr nc,Logged_0x1C9BE5
inc [hl]
ret
Logged_0x1C9BE5:
ld a,[$C094]
bit 0,a
ret z
ld a,[$D800]
cp $02
jr nz,Logged_0x1C9BF7
ld a,$01
ld [$D801],a
Logged_0x1C9BF7:
xor a
ld [wGameSubState],a
ret
Logged_0x1C9BFC:
ld a,$9C
ld [$DC68],a
ld a,$58
ld [$DC69],a
ld de,$70DA
ld hl,$DC65
call Logged_0x2C7A
ld a,[$DC67]
ld [$DC6A],a
ld hl,$DC68
call Logged_0x2CA7
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1C9C27
bit 1,a
jr nz,Logged_0x1C9C40
ret
Logged_0x1C9C27:
ld a,[$D800]
cp $01
jr z,Logged_0x1C9C33
ld a,$01
ld [$D801],a
Logged_0x1C9C33:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
xor a
ld [wGameSubState],a
ret
Logged_0x1C9C40:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E7
ld [$FF00+hSFXIDLow],a
xor a
ld [$DC65],a
ld [$DC66],a
ld [$DC00],a
ret
Unknown_0x1C9C53:
call Unknown_0x1C9B53
call Unknown_0x1C9C9E
ld a,$3C
ld [$DC98],a
ld a,$50
ld [$DC99],a
ld de,$70D7
ld hl,$DC95
call Logged_0x2C7A
ld a,[$DC97]
ld [$DC9A],a
ld hl,$DC98
call Logged_0x2CA7
ld hl,$DC0A
ld a,[hl]
cp $20
jr nc,Unknown_0x1C9C82
inc [hl]
ret
Unknown_0x1C9C82:
ld a,[$C094]
bit 0,a
ret z
ld hl,$CA42
ld a,[$D804]
ld d,$00
ld e,a
add hl,de
ld a,[$D805]
cp [hl]
jr nc,Unknown_0x1C9C99
ld [hl],a
Unknown_0x1C9C99:
xor a
ld [wGameSubState],a
ret
Unknown_0x1C9C9E:
ld hl,$CC00
dec [hl]
ld d,$00
ld a,[$D805]
ld c,a
cp $15
jr nc,Unknown_0x1C9CBC
cp $14
jr c,Unknown_0x1C9CB6
dec [hl]
ld hl,$CC02
ld [hl],$FE
Unknown_0x1C9CB6:
ld a,$14
sub c
ld e,a
jr Unknown_0x1C9CBF
Unknown_0x1C9CBC:
sub $14
ld e,a
Unknown_0x1C9CBF:
cp $0A
jr c,Unknown_0x1C9CC9
sub $0A
ld e,a
inc d
jr Unknown_0x1C9CBF
Unknown_0x1C9CC9:
ld a,d
and a
jr z,Unknown_0x1C9CD4
add a,a
add a,$80
ld hl,$CC06
ld [hl],a
Unknown_0x1C9CD4:
ld a,e
add a,a
add a,$80
ld hl,$CC0A
ld [hl],a
ret
Logged_0x1C9CDD:
ld a,e
sub [hl]
ld e,a
inc hl
ld a,d
sbc a,[hl]
ld d,a
ret
Logged_0x1C9CE5:
push de
call Logged_0x1C9CDD
jr c,Logged_0x1C9CF3
ld a,d
or e
jr z,Logged_0x1C9CF6
ld a,$02
jr Logged_0x1C9CF7
Logged_0x1C9CF3:
xor a
jr Logged_0x1C9CF7
Logged_0x1C9CF6:
inc a
Logged_0x1C9CF7:
pop de
ret
Logged_0x1C9CF9:
ld a,[$DC26]
cp $01
jr z,Logged_0x1C9D08
cp $02
jr z,Logged_0x1C9D0C
ld a,$87
jr Logged_0x1C9D0E
Logged_0x1C9D08:
ld a,$E7
jr Logged_0x1C9D0E
Logged_0x1C9D0C:
ld a,$8F
Logged_0x1C9D0E:
ld [$DC0C],a
ld a,[$DC02]
rst JumpList
dw Logged_0x1C9D1D
dw Logged_0x1C9E8D
dw Logged_0x1C9EB3
dw Logged_0x1C9EF1
Logged_0x1C9D1D:
call Logged_0x1C9D5A
ld hl,RAMCode_0x1C9D2B
ld de,$C200
ld b,Logged_0x1C9D5A - RAMCode_0x1C9D2B
jp MemCopy_DE_HL
RAMCode_0x1C9D2B:
ld a,$01
ld [rSVBK],a
ld [rVBK],a
ld a,[$C085]
ld [rSCX],a
ld a,[$DC25]
ld [rWX],a
ld a,[$DC0C]
ld [rLCDC],a
ld hl,$FF51
ld a,$D9
ld [hli],a
ld a,$00
ld [hli],a
ld a,$17
ld [hli],a
ld a,$40
ld [hli],a
ld a,$03
ld [hl],a
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x1C9D5A:
ld hl,$DC0B
ld a,[hl]
cp $18
jr nc,Logged_0x1C9D79
cp $10
jr nc,Logged_0x1C9D74
cp $08
jr nc,Logged_0x1C9D6F
ld hl,$5D8D
jr Logged_0x1C9D7C
Logged_0x1C9D6F:
ld hl,$5DCD
jr Logged_0x1C9D7C
Logged_0x1C9D74:
ld hl,$5E0D
jr Logged_0x1C9D7C
Logged_0x1C9D79:
ld hl,$5E4D
Logged_0x1C9D7C:
ld de,$D900
ld b,$40
call MemCopy_DE_HL
ld hl,$DC0B
ld a,[hl]
inc a
and $1F
ld [hl],a
ret
LoggedData_0x1C9D8D:
INCBIN "baserom.gbc", $1C9D8D, $1C9E8D - $1C9D8D
Logged_0x1C9E8D:
ld hl,RAMCode_0x1C9E98
ld de,$C200
ld b,Logged_0x1C9EB3 - RAMCode_0x1C9E98
jp MemCopy_DE_HL
RAMCode_0x1C9E98:
ld a,$01
ld [rSVBK],a
ld [rVBK],a
ld a,$03
ld [$9945],a
ld a,[$DC0C]
ld [rLCDC],a
xor a
ld [rVBK],a
ld [$DC02],a
ld a,$CC
jp $FFE8
Logged_0x1C9EB3:
ld hl,RAMCode_0x1C9EBE
ld de,$C200
ld b,Logged_0x1C9EF1 - RAMCode_0x1C9EBE
jp MemCopy_DE_HL
RAMCode_0x1C9EBE:
ld a,$01
ld [rSVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld a,[$DC25]
ld [rWX],a
ld a,[$DC0C]
ld [rLCDC],a
ld a,[$DC0D]
ld [rROMB0],a
ld hl,$FF51
ld a,[$DC11]
ld [hli],a
ld a,[$DC12]
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$7F
ld [hl],a
ld a,$CC
jp $FFE8
Logged_0x1C9EF1:
ld hl,RAMCode_0x1C9EFC
ld de,$C200
ld b,Logged_0x1C9F2E - RAMCode_0x1C9EFC
jp MemCopy_DE_HL
RAMCode_0x1C9EFC:
ld a,$01
ld [rSVBK],a
ld [rVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld a,[$DC25]
ld [rWX],a
ld a,[$DC0C]
ld [rLCDC],a
ld hl,$FF51
ld a,$DB
ld [hli],a
ld a,$90
ld [hli],a
ld a,$0F
ld [hli],a
xor a
ld [hli],a
ld a,$03
ld [hl],a
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x1C9F2E:
ld a,[$DC02]
rst JumpList
dw Logged_0x1C9F36
dw Logged_0x1C9F7A
Logged_0x1C9F36:
ld hl,RAMCode_0x1C9F41
ld de,$C200
ld b,Logged_0x1C9F7A - RAMCode_0x1C9F41
jp MemCopy_DE_HL
RAMCode_0x1C9F41:
ld a,$01
ld [rSVBK],a
xor a
ld [rVBK],a
ld a,[$DC19]
add a,a
add a,$E0
ld [$9906],a
inc a
ld [$9926],a
ld a,[$DC1A]
and $F0
swap a
add a,a
add a,$E0
ld [$9907],a
inc a
ld [$9927],a
ld a,[$DC1A]
and $0F
add a,a
add a,$E0
ld [$9908],a
inc a
ld [$9928],a
ld a,$CC
jp $FFE8
Logged_0x1C9F7A:
ld hl,RAMCode_0x1C9F85
ld de,$C200
ld b,Logged_0x1C9FAE - RAMCode_0x1C9F85
jp MemCopy_DE_HL
RAMCode_0x1C9F85:
ld a,$01
ld [rSVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld a,[$DC0D]
ld [rROMB0],a
ld hl,$FF51
ld a,[$DC11]
ld [hli],a
ld a,[$DC12]
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$7F
ld [hl],a
ld a,$CC
jp $FFE8
Logged_0x1C9FAE:
call Logged_0x1C9FBD
ld a,[$DC02]
rst JumpList
dw Logged_0x1C9FE1
dw Logged_0x1C9FFA
dw Logged_0x1CA033
dw Logged_0x1CA056
Logged_0x1C9FBD:
ld a,[$DC19]
add a,a
add a,$A0
ld hl,$CC02
ld [hl],a
ld a,[$DC1A]
ld b,a
and $F0
swap a
add a,a
add a,$A0
ld hl,$CC06
ld [hl],a
ld a,b
and $0F
add a,a
add a,$A0
ld hl,$CC0A
ld [hl],a
ret
Logged_0x1C9FE1:
ld hl,RAMCode_0x1C9FEC
ld de,$C200
ld b,Logged_0x1C9FFA - RAMCode_0x1C9FEC
jp MemCopy_DE_HL
RAMCode_0x1C9FEC:
ld a,$01
ld [rSVBK],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
jp $FFE8
Logged_0x1C9FFA:
ld a,$18
ld [$DC11],a
ld a,$C0
ld [$DC12],a
ld a,$0D
ld [$DC13],a
ld hl,RAMCode_0x1CA014
ld de,$C200
ld b,Logged_0x1CA033 - RAMCode_0x1CA014
jp MemCopy_DE_HL
RAMCode_0x1CA014:
ld a,$01
ld [rSVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld a,$01
ld [rVBK],a
ld hl,$DA00
call Logged_0x2C30
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
Logged_0x1CA033:
ld hl,RAMCode_0x1CA03E
ld de,$C200
ld b,Logged_0x1CA056 - RAMCode_0x1CA03E
jp MemCopy_DE_HL
RAMCode_0x1CA03E:
ld a,$01
ld [rSVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld hl,$DB00
call Logged_0x2C46
ld a,$CC
jp $FFE8
Logged_0x1CA056:
ld a,$18
ld [$DC11],a
ld a,$C0
ld [$DC12],a
ld a,$0D
ld [$DC13],a
ld hl,RAMCode_0x1CA070
ld de,$C200
ld b,LoggedData_0x1CA08F - RAMCode_0x1CA070
jp MemCopy_DE_HL
RAMCode_0x1CA070:
ld a,$01
ld [rSVBK],a
xor a
ld [$DC02],a
ld a,[$C085]
ld [rSCX],a
ld a,$01
ld [rVBK],a
ld hl,$D900
call Logged_0x2C30
xor a
ld [rVBK],a
ld a,$CC
jp $FFE8
LoggedData_0x1CA08F:
INCBIN "baserom.gbc", $1CA08F, $1CA0CF - $1CA08F
Unknown_0x1CA0CF:
INCBIN "baserom.gbc", $1CA0CF, $1CA18F - $1CA0CF
LoggedData_0x1CA18F:
INCBIN "baserom.gbc", $1CA18F, $1CA30F - $1CA18F
Unknown_0x1CA30F:
INCBIN "baserom.gbc", $1CA30F, $1CA34F - $1CA30F
LoggedData_0x1CA34F:
INCBIN "baserom.gbc", $1CA34F, $1CA38F - $1CA34F
Unknown_0x1CA38F:
INCBIN "baserom.gbc", $1CA38F, $1CA3AF - $1CA38F
LoggedData_0x1CA3AF:
INCBIN "baserom.gbc", $1CA3AF, $1CA4CF - $1CA3AF
Unknown_0x1CA4CF:
INCBIN "baserom.gbc", $1CA4CF, $1CA6CF - $1CA4CF
LoggedData_0x1CA6CF:
INCBIN "baserom.gbc", $1CA6CF, $1CA6D7 - $1CA6CF
Unknown_0x1CA6D7:
INCBIN "baserom.gbc", $1CA6D7, $1CA6DF - $1CA6D7
LoggedData_0x1CA6DF:
INCBIN "baserom.gbc", $1CA6DF, $1CA791 - $1CA6DF
Unknown_0x1CA791:
INCBIN "baserom.gbc", $1CA791, $1CA799 - $1CA791
LoggedData_0x1CA799:
INCBIN "baserom.gbc", $1CA799, $1CA79D - $1CA799
Unknown_0x1CA79D:
INCBIN "baserom.gbc", $1CA79D, $1CA7BD - $1CA79D
LoggedData_0x1CA7BD:
INCBIN "baserom.gbc", $1CA7BD, $1CA833 - $1CA7BD
Unknown_0x1CA833:
INCBIN "baserom.gbc", $1CA833, $1CA8A7 - $1CA833
LoggedData_0x1CA8A7:
INCBIN "baserom.gbc", $1CA8A7, $1CAE2C - $1CA8A7
Unknown_0x1CAE2C:
INCBIN "baserom.gbc", $1CAE2C, $1CAE60 - $1CAE2C
LoggedData_0x1CAE60:
INCBIN "baserom.gbc", $1CAE60, $1CAE6E - $1CAE60
Unknown_0x1CAE6E:
INCBIN "baserom.gbc", $1CAE6E, $1CAF46 - $1CAE6E
LoggedData_0x1CAF46:
INCBIN "baserom.gbc", $1CAF46, $1CAF78 - $1CAF46
Unknown_0x1CAF78:
INCBIN "baserom.gbc", $1CAF78, $1CAF81 - $1CAF78
LoggedData_0x1CAF81:
INCBIN "baserom.gbc", $1CAF81, $1CB089 - $1CAF81
Unknown_0x1CB089:
INCBIN "baserom.gbc", $1CB089, $1CB0A4 - $1CB089
LoggedData_0x1CB0A4:
INCBIN "baserom.gbc", $1CB0A4, $1CB0A9 - $1CB0A4
Unknown_0x1CB0A9:
INCBIN "baserom.gbc", $1CB0A9, $1CB0DA - $1CB0A9
LoggedData_0x1CB0DA:
INCBIN "baserom.gbc", $1CB0DA, $1CB0ED - $1CB0DA
Unknown_0x1CB0ED:
INCBIN "baserom.gbc", $1CB0ED, $1CB0FD - $1CB0ED
LoggedData_0x1CB0FD:
INCBIN "baserom.gbc", $1CB0FD, $1CB1C1 - $1CB0FD
Unknown_0x1CB1C1:
INCBIN "baserom.gbc", $1CB1C1, $1CB285 - $1CB1C1
LoggedData_0x1CB285:
INCBIN "baserom.gbc", $1CB285, $1CB2AC - $1CB285
Unknown_0x1CB2AC:
INCBIN "baserom.gbc", $1CB2AC, $1CB2D3 - $1CB2AC
LoggedData_0x1CB2D3:
INCBIN "baserom.gbc", $1CB2D3, $1CB2E7 - $1CB2D3
Unknown_0x1CB2E7:
INCBIN "baserom.gbc", $1CB2E7, $1CB2EB - $1CB2E7
LoggedData_0x1CB2EB:
INCBIN "baserom.gbc", $1CB2EB, $1CB345 - $1CB2EB
Unknown_0x1CB345:
INCBIN "baserom.gbc", $1CB345, $1CB39B - $1CB345
LoggedData_0x1CB39B:
INCBIN "baserom.gbc", $1CB39B, $1CB3D1 - $1CB39B
Unknown_0x1CB3D1:
INCBIN "baserom.gbc", $1CB3D1, $1CB3D7 - $1CB3D1
LoggedData_0x1CB3D7:
INCBIN "baserom.gbc", $1CB3D7, $1CB406 - $1CB3D7
Unknown_0x1CB406:
INCBIN "baserom.gbc", $1CB406, $1CB408 - $1CB406
LoggedData_0x1CB408:
INCBIN "baserom.gbc", $1CB408, $1CB4C7 - $1CB408
Unknown_0x1CB4C7:
INCBIN "baserom.gbc", $1CB4C7, $1CB4C8 - $1CB4C7
LoggedData_0x1CB4C8:
INCBIN "baserom.gbc", $1CB4C8, $1CB4D0 - $1CB4C8
Unknown_0x1CB4D0:
INCBIN "baserom.gbc", $1CB4D0, $1CB4D1 - $1CB4D0
LoggedData_0x1CB4D1:
INCBIN "baserom.gbc", $1CB4D1, $1CB4D9 - $1CB4D1
Unknown_0x1CB4D9:
INCBIN "baserom.gbc", $1CB4D9, $1CB4DA - $1CB4D9
LoggedData_0x1CB4DA:
INCBIN "baserom.gbc", $1CB4DA, $1CB58B - $1CB4DA
Unknown_0x1CB58B:
INCBIN "baserom.gbc", $1CB58B, $1CB598 - $1CB58B
LoggedData_0x1CB598:
INCBIN "baserom.gbc", $1CB598, $1CB5BA - $1CB598
Unknown_0x1CB5BA:
INCBIN "baserom.gbc", $1CB5BA, $1CB5C3 - $1CB5BA
LoggedData_0x1CB5C3:
INCBIN "baserom.gbc", $1CB5C3, $1CB5DA - $1CB5C3
Unknown_0x1CB5DA:
INCBIN "baserom.gbc", $1CB5DA, $1CB5DB - $1CB5DA
LoggedData_0x1CB5DB:
INCBIN "baserom.gbc", $1CB5DB, $1CB5DD - $1CB5DB
Unknown_0x1CB5DD:
INCBIN "baserom.gbc", $1CB5DD, $1CB5DE - $1CB5DD
LoggedData_0x1CB5DE:
INCBIN "baserom.gbc", $1CB5DE, $1CB5E0 - $1CB5DE
Unknown_0x1CB5E0:
INCBIN "baserom.gbc", $1CB5E0, $1CC000 - $1CB5E0
SECTION "Bank73", ROMX, BANK[$73]
Unknown_0x1CC000:
INCBIN "baserom.gbc", $1CC000, $1D0000 - $1CC000
SECTION "Bank74", ROMX, BANK[$74]
Unknown_0x1D0000:
INCBIN "baserom.gbc", $1D0000, $1D4000 - $1D0000
SECTION "Bank75", ROMX, BANK[$75]
Unknown_0x1D4000:
INCBIN "baserom.gbc", $1D4000, $1D8000 - $1D4000
SECTION "Bank76", ROMX, BANK[$76]
LoggedData_0x1D8000:
INCBIN "baserom.gbc", $1D8000, $1D8600 - $1D8000
Unknown_0x1D8600:
INCBIN "baserom.gbc", $1D8600, $1D8B00 - $1D8600
xor a
ld [$D031],a
ld hl,$D032
ld c,$00
call Logged_0x1D8B59
ld hl,$D035
ld c,$20
call Logged_0x1D8B59
ld hl,$D038
ld c,$40
call Logged_0x1D8B59
ld hl,$D03B
ld c,$60
call Logged_0x1D8B59
ld hl,$D03E
ld c,$00
call Logged_0x1D8BBB
ld hl,$D041
ld c,$20
call Logged_0x1D8B8C
xor a
ld [$D044],a
ld hl,$D046
ld a,[hli]
and a
ret z
dec a
inc [hl]
cp [hl]
ret nc
xor a
ld [hli],a
ld a,[hl]
inc a
cp $04
jr nz,Logged_0x1D8B4B
xor a
Logged_0x1D8B4B:
ld [hl],a
ld b,a
add a,$46
ld [$D044],a
ld a,b
rrca
rrca
ld [$D045],a
ret
Logged_0x1D8B59:
ld a,[hli]
and a
ret z
dec a
inc [hl]
cp [hl]
ret nc
xor a
ld [hli],a
ld a,[hl]
inc a
and $03
ld [hl],a
ld hl,$D030
ld d,[hl]
sla d
ld e,$00
rra
rr e
add a,d
ld d,a
ld hl,$4000
add hl,de
ld b,$00
add hl,bc
ld d,$D7
ld a,$40
add a,c
ld e,a
ld b,$20
call MemCopy_DE_HL
ld hl,$D031
set 0,[hl]
ret
Logged_0x1D8B8C:
ld a,[hli]
and a
ret z
dec a
inc [hl]
cp [hl]
ret nc
xor a
ld [hli],a
ld a,[hl]
inc a
and $03
ld [hl],a
ld hl,$D049
ld d,[hl]
rlca
rlca
swap a
ld e,a
ld hl,$4400
add hl,de
ld b,$00
add hl,bc
ld d,$D7
ld a,$C0
add a,c
ld e,a
ld b,$20
call MemCopy_DE_HL
ld hl,$D031
set 1,[hl]
ret
Logged_0x1D8BBB:
ld a,[hli]
and a
ret z
dec a
inc [hl]
cp [hl]
ret nc
xor a
ld [hli],a
ld a,[hl]
inc a
cp $06
jr nz,Logged_0x1D8BCB
xor a
Logged_0x1D8BCB:
ld [hl],a
cp $04
jr z,Logged_0x1D8BD5
cp $05
jr z,Logged_0x1D8BD6
rlca
Logged_0x1D8BD5:
rlca
Logged_0x1D8BD6:
and $0C
swap a
ld e,a
ld hl,$D049
ld d,[hl]
ld hl,$4400
add hl,de
ld b,$00
add hl,bc
ld d,$D7
ld a,$C0
add a,c
ld e,a
ld b,$20
call MemCopy_DE_HL
ld hl,$D031
set 1,[hl]
ret
ld a,$01
ld [rVBK],a
ld a,[$D030]
add a,a
ld d,a
ld e,$00
ld hl,$4000
add hl,de
push hl
ld de,$9700
ld b,$80
call MemCopy_DE_HL
ld hl,$4400
ld b,$40
call MemCopy_DE_HL
pop hl
ld de,$D740
ld b,$80
call MemCopy_DE_HL
ld hl,$4400
ld b,$40
call MemCopy_DE_HL
xor a
ld [rVBK],a
ret
Logged_0x1D8C2C:
ld a,$01
ld [rVBK],a
ld c,$51
ld a,$D7
ld [$FF00+c],a
ld a,$40
inc c
ld [$FF00+c],a
ld a,$17
inc c
ld [$FF00+c],a
xor a
inc c
ld [$FF00+c],a
ld a,$0B
inc c
ld [$FF00+c],a
ld a,[$D044]
and a
jr z,Logged_0x1D8C5E
ld c,$51
ld [$FF00+c],a
ld a,[$D045]
inc c
ld [$FF00+c],a
ld a,$0E
inc c
ld [$FF00+c],a
ld a,$C0
inc c
ld [$FF00+c],a
ld a,$13
inc c
ld [$FF00+c],a
Logged_0x1D8C5E:
xor a
ld [rVBK],a
ret
Unknown_0x1D8C62:
INCBIN "baserom.gbc", $1D8C62, $1DA800 - $1D8C62
LoggedData_0x1DA800:
INCBIN "baserom.gbc", $1DA800, $1DB000 - $1DA800
Unknown_0x1DB000:
INCBIN "baserom.gbc", $1DB000, $1DC000 - $1DB000
SECTION "Bank77", ROMX, BANK[$77]
LoggedData_0x1DC000:
INCBIN "baserom.gbc", $1DC000, $1DC3CD - $1DC000
Unknown_0x1DC3CD:
INCBIN "baserom.gbc", $1DC3CD, $1DC449 - $1DC3CD
LoggedData_0x1DC449:
INCBIN "baserom.gbc", $1DC449, $1DC451 - $1DC449
Unknown_0x1DC451:
INCBIN "baserom.gbc", $1DC451, $1DC459 - $1DC451
LoggedData_0x1DC459:
INCBIN "baserom.gbc", $1DC459, $1DC46F - $1DC459
Unknown_0x1DC46F:
INCBIN "baserom.gbc", $1DC46F, $1DC485 - $1DC46F
LoggedData_0x1DC485:
INCBIN "baserom.gbc", $1DC485, $1DC509 - $1DC485
Unknown_0x1DC509:
INCBIN "baserom.gbc", $1DC509, $1DC58D - $1DC509
LoggedData_0x1DC58D:
INCBIN "baserom.gbc", $1DC58D, $1DC744 - $1DC58D
Unknown_0x1DC744:
INCBIN "baserom.gbc", $1DC744, $1DC8FB - $1DC744
LoggedData_0x1DC8FB:
INCBIN "baserom.gbc", $1DC8FB, $1DC904 - $1DC8FB
Unknown_0x1DC904:
INCBIN "baserom.gbc", $1DC904, $1DC90D - $1DC904
LoggedData_0x1DC90D:
INCBIN "baserom.gbc", $1DC90D, $1DC926 - $1DC90D
Unknown_0x1DC926:
INCBIN "baserom.gbc", $1DC926, $1DC93F - $1DC926
LoggedData_0x1DC93F:
INCBIN "baserom.gbc", $1DC93F, $1DCCD2 - $1DC93F
Unknown_0x1DCCD2:
INCBIN "baserom.gbc", $1DCCD2, $1DCCD8 - $1DCCD2
LoggedData_0x1DCCD8:
INCBIN "baserom.gbc", $1DCCD8, $1DCFF1 - $1DCCD8
Unknown_0x1DCFF1:
INCBIN "baserom.gbc", $1DCFF1, $1DCFF5 - $1DCFF1
LoggedData_0x1DCFF5:
INCBIN "baserom.gbc", $1DCFF5, $1DCFFD - $1DCFF5
Unknown_0x1DCFFD:
INCBIN "baserom.gbc", $1DCFFD, $1DD001 - $1DCFFD
LoggedData_0x1DD001:
INCBIN "baserom.gbc", $1DD001, $1DD019 - $1DD001
Unknown_0x1DD019:
INCBIN "baserom.gbc", $1DD019, $1DD01D - $1DD019
LoggedData_0x1DD01D:
INCBIN "baserom.gbc", $1DD01D, $1DD023 - $1DD01D
Unknown_0x1DD023:
INCBIN "baserom.gbc", $1DD023, $1DD04D - $1DD023
LoggedData_0x1DD04D:
INCBIN "baserom.gbc", $1DD04D, $1DD095 - $1DD04D
Unknown_0x1DD095:
INCBIN "baserom.gbc", $1DD095, $1DD0B7 - $1DD095
LoggedData_0x1DD0B7:
INCBIN "baserom.gbc", $1DD0B7, $1DD1AF - $1DD0B7
Unknown_0x1DD1AF:
INCBIN "baserom.gbc", $1DD1AF, $1DD1E1 - $1DD1AF
LoggedData_0x1DD1E1:
INCBIN "baserom.gbc", $1DD1E1, $1DD23B - $1DD1E1
Unknown_0x1DD23B:
INCBIN "baserom.gbc", $1DD23B, $1DD26C - $1DD23B
LoggedData_0x1DD26C:
INCBIN "baserom.gbc", $1DD26C, $1DD26F - $1DD26C
Unknown_0x1DD26F:
INCBIN "baserom.gbc", $1DD26F, $1DD27A - $1DD26F
LoggedData_0x1DD27A:
INCBIN "baserom.gbc", $1DD27A, $1DD295 - $1DD27A
Unknown_0x1DD295:
INCBIN "baserom.gbc", $1DD295, $1DD2D1 - $1DD295
LoggedData_0x1DD2D1:
INCBIN "baserom.gbc", $1DD2D1, $1DD2DC - $1DD2D1
Unknown_0x1DD2DC:
INCBIN "baserom.gbc", $1DD2DC, $1DD2EE - $1DD2DC
LoggedData_0x1DD2EE:
INCBIN "baserom.gbc", $1DD2EE, $1DD2F9 - $1DD2EE
Unknown_0x1DD2F9:
INCBIN "baserom.gbc", $1DD2F9, $1DD323 - $1DD2F9
LoggedData_0x1DD323:
INCBIN "baserom.gbc", $1DD323, $1DD330 - $1DD323
Unknown_0x1DD330:
INCBIN "baserom.gbc", $1DD330, $1E0000 - $1DD330
SECTION "Bank78", ROMX, BANK[$78]
ld hl,$4378
call Logged_0x1A15
ld hl,$43B8
call Logged_0x1A21
ret
ld hl,$43F8
call Logged_0x1A15
ld hl,$4438
call Logged_0x1A21
ret
ld a,$01
ld [rVBK],a
ld hl,$51E8
ld bc,_VRAM
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$4478
ld bc,$8800
call Decompress_BC_HL
ld hl,$7000
ld de,_VRAM
ld bc,$0800
ld a,$0B
ld [$C0AC],a
call Logged_0x0443
ret
ld a,$01
ld [rVBK],a
ld hl,$5962
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$57FA
ld bc,_SCRN0
call Decompress_BC_HL
ret
ld a,$01
ld [rVBK],a
ld hl,$5C5B
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$5AE5
ld bc,_SCRN0
call Decompress_BC_HL
call Logged_0x1E011D
ld a,[$CA06]
srl a
srl a
srl a
add a,a
ld e,a
ld d,$00
ld hl,$CA07
add hl,de
ld a,[hli]
ld [$D511],a
ld a,[hl]
ld [$D512],a
ld hl,$98EA
ld bc,$FFE0
ld de,$0020
ld a,[$D511]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$D511]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
inc l
ld a,[$D512]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$D512]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$C0E5]
and a
ret z
ld hl,$994A
ld bc,$FFE0
ld de,$0020
ld a,[$C0E2]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$C0E2]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
inc l
ld a,[$C0E3]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$C0E3]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hl],a
ret
Logged_0x1E011D:
xor a
ld [$C0E5],a
ld a,[$CA5B]
and $0F
cp $0F
ret nz
ld a,$01
ld [$C0E5],a
ld a,[$CA06]
srl a
srl a
srl a
add a,a
ld e,a
ld d,$00
ld hl,$CA07
add hl,de
ld a,[$C0E2]
cp [hl]
jr c,Logged_0x1E014D
ret nz
inc hl
ld a,[$C0E3]
cp [hl]
ret nc
dec hl
Logged_0x1E014D:
ld a,[$C0E2]
ld [hli],a
ld a,[$C0E3]
ld [hl],a
ld a,$02
ld [$C0E5],a
ret
ld a,[$CA3C]
and $80
jr z,Logged_0x1E0176
ld hl,$D56A
ld a,$53
ld [hli],a
ld a,$24
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$6B
ld [hl],a
Logged_0x1E0176:
ld hl,$D515
ld a,$76
ld [hli],a
ld a,$34
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D51D],a
ld a,[$CEE3]
cp $F0
jr z,Logged_0x1E0196
ld a,$4D
ld [hli],a
ld a,$18
ld [hl],a
jr Logged_0x1E019C
Logged_0x1E0196:
ld a,$4D
ld [hli],a
ld a,$58
ld [hl],a
Logged_0x1E019C:
ld hl,$D523
ld a,[$CED4]
cp $01
jr z,Logged_0x1E01BC
cp $02
jr z,Logged_0x1E01C1
cp $03
jr z,Logged_0x1E01C6
cp $04
jr z,Logged_0x1E01CB
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$23
ld [$FF00+hMusicIDLow],a
jr Logged_0x1E01E6
Logged_0x1E01BC:
ld de,$427A
jr Logged_0x1E01CE
Logged_0x1E01C1:
ld de,$427E
jr Logged_0x1E01CE
Logged_0x1E01C6:
ld de,$4282
jr Logged_0x1E01CE
Logged_0x1E01CB:
ld de,$4286
Logged_0x1E01CE:
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
inc de
ld a,[de]
ld [hli],a
inc de
ld a,[de]
ld [hl],a
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$28
ld [$FF00+hMusicIDLow],a
Logged_0x1E01E6:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld hl,$D52B
ld a,$28
ld [hli],a
ld a,$30
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$59
ld [hl],a
ld a,[$CEF2]
and a
jp z,Logged_0x1E0279
dec a
jr z,Logged_0x1E0265
dec a
jr z,Logged_0x1E0251
dec a
jr z,Logged_0x1E023D
dec a
jr z,Logged_0x1E0229
ld hl,$D533
ld a,$79
ld [hli],a
ld a,$84
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$68
ld [hl],a
Logged_0x1E0229:
ld hl,$D53B
ld a,$8D
ld [hli],a
ld a,$7F
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$65
ld [hl],a
Logged_0x1E023D:
ld hl,$D547
ld a,$8C
ld [hli],a
ld a,$69
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$62
ld [hl],a
Logged_0x1E0251:
ld hl,$D553
ld a,$79
ld [hli],a
ld a,$62
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$5F
ld [hl],a
Logged_0x1E0265:
ld hl,$D55E
ld a,$67
ld [hli],a
ld a,$74
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$5C
ld [hl],a
Logged_0x1E0279:
ret
LoggedData_0x1E027A:
INCBIN "baserom.gbc", $1E027A, $1E028A - $1E027A
ld a,[$C0E5]
cp $02
jr nz,Logged_0x1E02A5
ld hl,$D56A
ld a,$60
ld [hli],a
ld a,$1C
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$80
ld [hl],a
Logged_0x1E02A5:
ld hl,$D515
ld a,$90
ld [hli],a
ld a,$2C
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld [$D51D],a
ld a,[$C0E5]
cp $02
jr nz,Unknown_0x1E02CD
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$28
ld [$FF00+hMusicIDLow],a
ld a,$4D
ld [hli],a
ld a,$18
ld [hl],a
jr Logged_0x1E02DB
Unknown_0x1E02CD:
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$23
ld [$FF00+hMusicIDLow],a
ld a,$4D
ld [hli],a
ld a,$58
ld [hl],a
Logged_0x1E02DB:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld hl,$D52B
ld a,$28
ld [hli],a
ld a,$30
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$59
ld [hl],a
ld hl,$D533
ld a,$44
ld [hli],a
ld a,$28
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$A1
ld [hl],a
ld a,[$CA5B]
bit 0,a
jr z,Logged_0x1E0326
ld hl,$D53B
ld a,$7C
ld [hli],a
ld a,$5C
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$95
ld [hl],a
Logged_0x1E0326:
ld a,[$CA5B]
bit 1,a
jr z,Logged_0x1E0341
ld hl,$D547
ld a,$7C
ld [hli],a
ld a,$74
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$98
ld [hl],a
Logged_0x1E0341:
ld a,[$CA5B]
bit 2,a
jr z,Logged_0x1E035C
ld hl,$D553
ld a,$8E
ld [hli],a
ld a,$5C
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$9B
ld [hl],a
Logged_0x1E035C:
ld a,[$CA5B]
bit 3,a
jr z,Logged_0x1E0377
ld hl,$D55E
ld a,$8E
ld [hli],a
ld a,$74
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [hli],a
ld a,$9E
ld [hl],a
Logged_0x1E0377:
ret
LoggedData_0x1E0378:
INCBIN "baserom.gbc", $1E0378, $1E1DD1 - $1E0378
Unknown_0x1E1DD1:
INCBIN "baserom.gbc", $1E1DD1, $1E4000 - $1E1DD1
SECTION "Bank79", ROMX, BANK[$79]
ld a,[$D50B]
sub $0A
rst JumpList
dw Logged_0x1E400C
dw Unknown_0x1E4291
dw Logged_0x1E4580
Logged_0x1E400C:
call Logged_0x1E4060
ld a,[$D509]
and a
jr nz,Logged_0x1E405F
ld a,[$D50E]
and a
jr nz,Logged_0x1E4053
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1E4053:
ld hl,$D515
call Logged_0x1E4ADD
ld hl,$D53B
call Logged_0x1E4B15
Logged_0x1E405F:
ret
Logged_0x1E4060:
ld a,[$D50C]
rst JumpList
dw Logged_0x1E4B8D
dw Logged_0x1E4095
dw Logged_0x1E4104
dw Logged_0x1E4134
dw Logged_0x1E4165
dw Logged_0x1E4195
dw Logged_0x1E41C9
dw Logged_0x1E41FD
dw Logged_0x1E4227
dw Logged_0x1E4B9D
dw Logged_0x1E4254
dw Logged_0x1E4271
dw Logged_0x1E4286
Logged_0x1E407E:
ld a,[$CA3C]
bit 6,a
jr z,Logged_0x1E4088
jp Logged_0x0161
Logged_0x1E4088:
call Logged_0x1E4BBD
call Logged_0x1E4BF1
ld a,$01
ld [$D50C],a
jr Logged_0x1E409A
Logged_0x1E4095:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1E409A:
ld a,$0B
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$38
ld [hli],a
ld a,$C0
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$7C
ld [hli],a
xor a
ld [hl],a
ld [$D522],a
ld a,$5D
ld [$D51E],a
ld a,$B4
ld [$D51F],a
ld a,$7F
ld [$D521],a
ld hl,$D53B
ld a,$7E
ld [$FF00+$85],a
ld a,$02
ld [$FF00+$8D],a
ld a,$78
ld [$FF00+$8E],a
call $FF80
call Logged_0x1E48AE
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4104:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E411B
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E411B:
ld a,[$D50A]
and $01
ret nz
ld hl,$D516
dec [hl]
ld a,[hl]
cp $60
ret nc
call Logged_0x1E4BE4
call Logged_0x1E4C18
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4134:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E414B
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E414B:
ld a,[$D50A]
and $01
ret nz
ld hl,$D515
dec [hl]
ld a,[hl]
cp $34
jr z,Logged_0x1E4162
cp $20
ret nc
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4162:
jp Logged_0x1E4BBD
Logged_0x1E4165:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E417C
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E417C:
ld a,[$D50A]
and $01
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $38
ret c
call Logged_0x1E4BCA
call Logged_0x1E4C25
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4195:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E41AC
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E41AC:
ld a,[$D50A]
and $01
ret nz
ld hl,$D516
dec [hl]
ld a,[hl]
cp $5C
jr z,Logged_0x1E41C6
cp $10
ret nc
call Logged_0x1E4C32
ld hl,$D50C
inc [hl]
ret
Logged_0x1E41C6:
jp Logged_0x1E4BBD
Logged_0x1E41C9:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E41E0
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E41E0:
ld a,[$D50A]
and $01
ret nz
ld hl,$D516
inc [hl]
ld a,[hl]
cp $60
ret c
xor a
ld [$D522],a
call Logged_0x1E4BCA
call Logged_0x1E4C3F
ld hl,$D50C
inc [hl]
ret
Logged_0x1E41FD:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E4214
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E4214:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $20
ret nc
call Logged_0x1E4BD7
call Logged_0x1E4C4C
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4227:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E423E
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E423E:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $80
ret c
call Logged_0x1E4BBD
call Logged_0x1E4C59
call Logged_0x1E4E49
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4254:
ld hl,$D53B
dec [hl]
dec [hl]
ld hl,$D515
inc [hl]
ld a,[hl]
cp $40
ret c
call Logged_0x1E4BF1
call Logged_0x1E4C66
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4271:
ld hl,$D53B
dec [hl]
dec [hl]
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1E4BD7
call Logged_0x1E4CAA
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4286:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $B0
ret c
jp Logged_0x1E407E
Unknown_0x1E4291:
call Unknown_0x1E42E5
ld a,[$D509]
and a
jr nz,Unknown_0x1E42E4
ld a,[$D50E]
and a
jr nz,Unknown_0x1E42D8
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D51C
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Unknown_0x1E42D8:
ld hl,$D515
call Logged_0x1E4ADD
ld hl,$D53B
call Logged_0x1E4B15
Unknown_0x1E42E4:
ret
Unknown_0x1E42E5:
ld a,[$D50C]
rst JumpList
dw Logged_0x1E4B8D
dw Unknown_0x1E4324
dw Unknown_0x1E43A0
dw Unknown_0x1E43CB
dw Logged_0x1E4B9D
dw Unknown_0x1E4403
dw Unknown_0x1E4432
dw Unknown_0x1E4442
dw Unknown_0x1E4455
dw Unknown_0x1E4483
dw Unknown_0x1E4490
dw Unknown_0x1E44BB
dw Logged_0x1E4BAD
dw Unknown_0x1E44EE
dw Unknown_0x1E452A
dw Unknown_0x1E453A
dw Unknown_0x1E454D
dw Unknown_0x1E4578
Logged_0x1E430D:
ld a,[$CA3C]
bit 6,a
jr z,Unknown_0x1E4317
jp Logged_0x0161
Unknown_0x1E4317:
call Logged_0x1E4BBD
call Logged_0x1E4BF1
ld a,$01
ld [$D50C],a
jr Unknown_0x1E4329
Unknown_0x1E4324:
ld hl,$CEE5
dec [hl]
ret nz
Unknown_0x1E4329:
ld a,$0B
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$38
ld [hli],a
ld a,$50
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6E
ld [hli],a
ld a,$B4
ld [hli],a
xor a
ld [hl],a
ld [$D522],a
ld a,$6E
ld [$D51E],a
ld a,$05
ld [$D51F],a
ld a,$7F
ld [$D521],a
ld hl,$D53B
ld a,$20
ld [hli],a
ld a,$4C
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$C2
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$86
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
call Logged_0x1E48AE
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E43A0:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1E43B7
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
Unknown_0x1E43B7:
ld hl,$D516
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $1C
ret nc
call Unknown_0x1E4E2F
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E43CB:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1E43E2
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
Unknown_0x1E43E2:
ld hl,$D516
inc [hl]
ld hl,$D53C
inc [hl]
ld a,[hl]
cp $4C
ret c
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
call Unknown_0x1E4CE9
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4403:
ld hl,$D53C
inc [hl]
ld hl,$D51D
ld a,[hl]
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1E4BF1
call Logged_0x1E4C66
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4432:
ld hl,$D53C
inc [hl]
ld a,[hl]
cp $7C
ret c
call Unknown_0x1E4E3C
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4442:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $4C
ret nc
call Logged_0x1E4BFE
call Unknown_0x1E4CE9
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4455:
ld hl,$D51D
ld a,[hl]
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $38
ret nc
ld a,$38
ld [$D515],a
xor a
ld [$D51D],a
ld [$D522],a
call Logged_0x1E4BF1
call Unknown_0x1E4D2F
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4483:
ld a,[$D520]
and a
ret z
call Unknown_0x1E4D75
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4490:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1E44A7
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
Unknown_0x1E44A7:
ld hl,$D516
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $1C
ret nc
call Unknown_0x1E4E2F
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E44BB:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1E44D2
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$8C
ld [$FF00+hSFXIDLow],a
Unknown_0x1E44D2:
ld hl,$D516
inc [hl]
ld hl,$D53C
inc [hl]
ld a,[hl]
cp $4C
ret c
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
call Unknown_0x1E4CE9
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E44EE:
ld hl,$D53C
inc [hl]
ld hl,$D51D
ld a,[hl]
cp $27
jr z,Unknown_0x1E44FC
inc [hl]
ld a,[hl]
Unknown_0x1E44FC:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1E4BF1
call Logged_0x1E4C66
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E452A:
ld hl,$D53C
inc [hl]
ld a,[hl]
cp $7C
ret c
call Unknown_0x1E4E3C
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E453A:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $4C
ret nc
call Logged_0x1E4BFE
call Unknown_0x1E4CE9
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E454D:
ld hl,$D51D
ld a,[hl]
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $38
ret nc
ld a,$38
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1E4BF1
call Unknown_0x1E4D2F
ld hl,$D50C
inc [hl]
ret
Unknown_0x1E4578:
ld a,[$D520]
and a
ret z
jp Logged_0x1E430D
Logged_0x1E4580:
call Logged_0x1E45B1
ld a,[$D509]
and a
jr nz,Logged_0x1E45B0
ld a,[$D50E]
and a
jr nz,Logged_0x1E45A7
ld hl,$D51C
ld a,$7F
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Logged_0x1E45A7:
ld hl,$D515
call Logged_0x1E4ADD
ld hl,$D53B
Logged_0x1E45B0:
ret
Logged_0x1E45B1:
ld a,[$D50C]
rst JumpList
dw Logged_0x1E4B8D
dw Logged_0x1E45EE
dw Logged_0x1E464B
dw Logged_0x1E4B9D
dw Logged_0x1E465E
dw Logged_0x1E4684
dw Logged_0x1E4BAD
dw Logged_0x1E46AB
dw Logged_0x1E46E8
dw Logged_0x1E471C
dw Logged_0x1E4759
dw Logged_0x1E478D
dw Logged_0x1E47CA
dw Logged_0x1E47FE
dw Logged_0x1E483D
dw Logged_0x1E4871
dw Logged_0x1E4898
Logged_0x1E45D7:
ld a,[$CA3C]
bit 6,a
jr z,Logged_0x1E45E1
jp Logged_0x0161
Logged_0x1E45E1:
call Logged_0x1E4BBD
call Logged_0x1E4BF1
ld a,$01
ld [$D50C],a
jr Logged_0x1E45F3
Logged_0x1E45EE:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1E45F3:
call Logged_0x1E4BD7
ld a,$0B
ld [$C1A1],a
ld a,$60
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$40
ld [hli],a
ld a,$30
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$58
ld [hli],a
ld a,$2E
ld [hli],a
xor a
ld [hl],a
ld a,$54
ld [$D51E],a
ld a,$98
ld [$D51F],a
ld a,$7F
ld [$D521],a
call Logged_0x1E48AE
ld hl,$D50C
inc [hl]
ret
Logged_0x1E464B:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $80
ret c
call Logged_0x1E4BBD
call Logged_0x1E4DBB
ld hl,$D50C
inc [hl]
ret
Logged_0x1E465E:
ld a,[$CEE5]
and a
jr z,Logged_0x1E4676
ld a,[$D520]
and a
ret z
call Logged_0x1E4DFA
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4676:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$46
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$CEE5],a
ret
Logged_0x1E4684:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E469B
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E469B:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1E4BCA
call Logged_0x1E4E0A
ld hl,$D50C
inc [hl]
ret
Logged_0x1E46AB:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E46C2
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E46C2:
ld a,[$D50A]
and $01
jr z,Logged_0x1E46CD
ld hl,$D516
dec [hl]
Logged_0x1E46CD:
ld hl,$D515
ld a,[hl]
cp $30
jr c,Logged_0x1E46D6
dec [hl]
Logged_0x1E46D6:
dec [hl]
ld a,[hl]
cp $20
ret nc
call Logged_0x1E4BF1
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E46E8:
ld a,[$D50A]
and $01
jr z,Logged_0x1E46F3
ld hl,$D516
dec [hl]
Logged_0x1E46F3:
ld hl,$D51D
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $27
ret c
xor a
ld [$D51D],a
ld [$D522],a
call Logged_0x1E4BFE
ld hl,$D50C
inc [hl]
ret
Logged_0x1E471C:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E4733
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E4733:
ld a,[$D50A]
and $01
jr z,Logged_0x1E473E
ld hl,$D516
dec [hl]
Logged_0x1E473E:
ld hl,$D515
ld a,[hl]
cp $2C
jr c,Logged_0x1E4747
dec [hl]
Logged_0x1E4747:
dec [hl]
ld a,[hl]
cp $1C
ret nc
call Logged_0x1E4BF1
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4759:
ld a,[$D50A]
and $01
jr z,Logged_0x1E4764
ld hl,$D516
dec [hl]
Logged_0x1E4764:
ld hl,$D51D
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $27
ret c
xor a
ld [$D51D],a
ld [$D522],a
call Logged_0x1E4BFE
ld hl,$D50C
inc [hl]
ret
Logged_0x1E478D:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E47A4
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E47A4:
ld a,[$D50A]
and $01
jr z,Logged_0x1E47AF
ld hl,$D516
dec [hl]
Logged_0x1E47AF:
ld hl,$D515
ld a,[hl]
cp $28
jr c,Logged_0x1E47B8
dec [hl]
Logged_0x1E47B8:
dec [hl]
ld a,[hl]
cp $18
ret nc
call Logged_0x1E4BF1
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E47CA:
ld a,[$D50A]
and $01
jr z,Logged_0x1E47D5
ld hl,$D516
dec [hl]
Logged_0x1E47D5:
ld hl,$D51D
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $27
ret c
xor a
ld [$D51D],a
ld [$D522],a
call Logged_0x1E4BFE
ld hl,$D50C
inc [hl]
ret
Logged_0x1E47FE:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E4815
ld a,$10
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E4815:
ld hl,$D515
ld a,[hl]
cp $20
jr c,Logged_0x1E481E
dec [hl]
Logged_0x1E481E:
dec [hl]
ld a,[$D50A]
and $01
ret z
ld hl,$D516
dec [hl]
ld a,[hl]
cp $30
ret nz
call Logged_0x1E4BF1
call Logged_0x1E4BBD
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E483D:
ld hl,$D51D
ld a,[hl]
cp $27
jr z,Logged_0x1E4847
inc [hl]
ld a,[hl]
Logged_0x1E4847:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1E4DFA
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4871:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1E4888
ld a,$20
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1E4888:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1E4C0B
call Logged_0x1E4E1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1E4898:
ld a,[$D520]
and a
ret z
jp Logged_0x1E45D7
xor a
ld [$D509],a
ld hl,$4E6F
call Logged_0x1E49BB
call Logged_0x1E49ED
ret
Logged_0x1E48AE:
xor a
ld [$D509],a
ld hl,$4EAF
call Logged_0x1E49BB
call Logged_0x1E49ED
ret
ld a,$01
ld [$D509],a
ld hl,$4EEF
call Logged_0x1E49BB
ret
ld a,$01
ld [$D509],a
ld hl,$4EEF
call Logged_0x1A15
ret
ld a,[$D50B]
and $3F
cp $0A
jr c,Logged_0x1E48F5
ld hl,$4F7F
call Logged_0x1A21
ld a,[$D50B]
cp $0C
ret nz
ld hl,$4FBF
ld de,$C040
ld b,$10
call Logged_0x1A2D
ret
Logged_0x1E48F5:
ld hl,$4F2F
call Logged_0x1A21
ld a,[$D50B]
cp $05
ret c
ld hl,$4F6F
ld de,$C040
ld b,$10
call Logged_0x1A2D
ret
ld a,$01
ld [rVBK],a
ld hl,$5871
ld a,[$D50B]
and $3F
cp $0A
jr c,Logged_0x1E4920
ld hl,$626B
Logged_0x1E4920:
ld bc,_VRAM
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$4FCF
ld bc,_VRAM
call Decompress_BC_HL
ret
ld a,$01
ld [rVBK],a
ld hl,$68BD
ld bc,_SCRN1
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$6796
ld bc,_SCRN1
call Decompress_BC_HL
ld a,[$D50B]
and $3F
cp $0A
jr nc,Logged_0x1E4995
ld a,[$CA3C]
and $3F
jr z,Logged_0x1E4979
ld c,a
ld a,$01
ld [rVBK],a
ld hl,$9E00
ld de,$0020
ld b,$00
Logged_0x1E4969:
push hl
ld a,$03
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
pop hl
inc l
inc l
inc b
ld a,b
cp c
jr c,Logged_0x1E4969
Logged_0x1E4979:
xor a
ld [rVBK],a
ld a,[$CA3C]
and $3F
ld b,a
ld a,$09
sub b
ret z
ld b,a
ld hl,$9E12
Logged_0x1E498A:
push hl
call Logged_0x1E499C
pop hl
dec hl
dec hl
dec b
jr nz,Logged_0x1E498A
ret
Logged_0x1E4995:
ld b,$0A
ld hl,$9E12
jr Logged_0x1E498A
Logged_0x1E499C:
ld de,$0020
push hl
ld a,$01
ld [rVBK],a
ld a,$07
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
pop hl
xor a
ld [rVBK],a
ld a,$64
ld [hli],a
inc a
ld [hld],a
add hl,de
ld a,$74
ld [hli],a
inc a
ld [hl],a
ret
Logged_0x1E49BB:
push hl
ld de,$C000
ld b,$40
call Logged_0x1A2D
pop hl
ld a,$80
ld [rBCPS],a
ld b,$08
ld c,$69
Logged_0x1E49CD:
ld a,[rSTAT]
and $03
jr z,Logged_0x1E49CD
Logged_0x1E49D3:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1E49D3
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1E49CD
ret
Logged_0x1E49ED:
ld hl,$4F2F
ld a,[$D50B]
cp $0A
ret nc
ld b,a
ld a,[$CA3C]
and $3F
cp b
jr nc,Logged_0x1E4A15
xor a
ld hl,$C040
ld b,$10
call Logged_0x0420
ld hl,$C058
ld b,$28
call Logged_0x0420
ld hl,$C040
jr Logged_0x1E4A1F
Logged_0x1E4A15:
push hl
ld de,$C040
ld b,$40
call Logged_0x1A2D
pop hl
Logged_0x1E4A1F:
ld a,$80
ld [rOCPS],a
ld b,$08
ld c,$6B
Logged_0x1E4A27:
ld a,[rSTAT]
and $03
jr z,Logged_0x1E4A27
Logged_0x1E4A2D:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1E4A2D
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1E4A27
ret
ld hl,$4F4F
ld a,[$D50B]
cp $0A
ret nc
ld b,a
ld a,[$CA3C]
and $3F
cp b
jr nc,Logged_0x1E4A6F
xor a
ld hl,$C060
ld b,$08
call Logged_0x0420
ld hl,$C078
ld b,$08
call Logged_0x0420
ld hl,$C060
jr Logged_0x1E4A84
Logged_0x1E4A6F:
push hl
ld de,$C060
ld b,$08
call Logged_0x1A2D
ld hl,$4F67
ld de,$C078
ld b,$08
call Logged_0x1A2D
pop hl
Logged_0x1E4A84:
ld a,$A0
ld [rOCPS],a
ld c,$6B
ld b,$04
Logged_0x1E4A8C:
ld a,[rSTAT]
and $03
jr z,Logged_0x1E4A8C
Logged_0x1E4A92:
ld a,[rSTAT]
and $03
jr nz,Logged_0x1E4A92
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [$FF00+c],a
dec b
jr nz,Logged_0x1E4A8C
ret
ld a,[$C083]
ld b,a
ld a,[hli]
sub b
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld a,[$D51E]
ld h,a
ld a,[$D51F]
ld l,a
ld a,$05
ld [$FF00+$85],a
ld a,$F4
ld [$FF00+$8D],a
ld a,$0D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E4ADD:
ld a,[$C083]
ld b,a
ld a,[hli]
sub b
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld a,[$D51E]
ld h,a
ld a,[$D51F]
ld l,a
ld a,[$D521]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$F4
ld [$FF00+$8D],a
ld a,$0D
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E4B15:
ld a,[$C083]
ld b,a
ld a,[hli]
sub b
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hli]
ld [$C099],a
inc l
inc l
inc l
inc l
ld a,[hli]
ld d,a
ld a,[hli]
ld e,a
ld a,[hli]
ld [$C0AC],a
ld h,d
ld l,e
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$F4
ld [$FF00+$8D],a
ld a,$0D
ld [$FF00+$8E],a
call $FF80
ret
ld a,[$C083]
ld b,a
ld a,[hli]
sub b
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$697C
call Logged_0x0DF4
ret
Unknown_0x1E4B6D:
INCBIN "baserom.gbc", $1E4B6D, $1E4B8D - $1E4B6D
Logged_0x1E4B8D:
ld a,$7E
ld [$FF00+$85],a
ld a,$71
ld [$FF00+$8D],a
ld a,$76
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E4B9D:
ld a,$7E
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$76
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E4BAD:
ld a,$7E
ld [$FF00+$85],a
ld a,$3D
ld [$FF00+$8D],a
ld a,$76
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1E4BBD:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$76
ld [hl],a
ret
Logged_0x1E4BCA:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$82
ld [hl],a
ret
Logged_0x1E4BD7:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$7C
ld [hl],a
ret
Logged_0x1E4BE4:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$79
ld [hl],a
ret
Logged_0x1E4BF1:
ld hl,$D537
xor a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$6D
ld [hl],a
ret
Logged_0x1E4BFE:
xor a
ld hl,$D537
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$70
ld [hl],a
ret
Logged_0x1E4C0B:
xor a
ld hl,$D537
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$73
ld [hl],a
ret
Logged_0x1E4C18:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$D0
ld [hl],a
ret
Logged_0x1E4C25:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$7C
ld [hl],a
ret
Logged_0x1E4C32:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$91
ld [hl],a
ret
Logged_0x1E4C3F:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$A6
ld [hl],a
ret
Logged_0x1E4C4C:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$BB
ld [hl],a
ret
Logged_0x1E4C59:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6D
ld [hli],a
ld a,$FE
ld [hl],a
ret
Logged_0x1E4C66:
ld a,$04
ld [$C1A1],a
ld a,$40
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$42
ld [hli],a
ld a,$5F
ld [hl],a
ld a,$40
ld [$D51E],a
ld a,$00
ld [$D51F],a
ld a,$05
ld [$D521],a
ret
Logged_0x1E4CAA:
ld a,$04
ld [$C1A1],a
ld a,$48
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$49
ld [hli],a
ld a,$C5
ld [hli],a
ld a,$42
ld [$D51E],a
ld a,$6C
ld [$D51F],a
ret
Unknown_0x1E4CE9:
ld a,$04
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$97
ld [hli],a
xor a
ld [hl],a
ld a,$59
ld [$D51E],a
ld a,$55
ld [$D51F],a
ld a,$05
ld [$D521],a
ret
Unknown_0x1E4D2F:
ld a,$0B
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6E
ld [hli],a
ld a,$C4
ld [hli],a
xor a
ld [hl],a
ld a,$6E
ld [$D51E],a
ld a,$05
ld [$D51F],a
ld a,$7F
ld [$D521],a
ret
Unknown_0x1E4D75:
ld a,$0B
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$6E
ld [hli],a
ld a,$B4
ld [hli],a
xor a
ld [hl],a
ld a,$6E
ld [$D51E],a
ld a,$05
ld [$D51F],a
ld a,$7F
ld [$D521],a
ret
Logged_0x1E4DBB:
ld a,$0B
ld [$C1A1],a
ld a,$58
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$54
ld [hli],a
ld a,$79
ld [hl],a
ld a,$50
ld [$D51E],a
ld a,$31
ld [$D51F],a
ret
Logged_0x1E4DFA:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld [$D522],a
ld a,$54
ld [hli],a
ld a,$6C
ld [hl],a
ret
Logged_0x1E4E0A:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld [$D522],a
ld a,$54
ld [hli],a
ld a,$2C
ld [hl],a
ret
Logged_0x1E4E1A:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$45
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$54
ld [hli],a
ld a,$39
ld [hl],a
ret
Unknown_0x1E4E2F:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$CB
ld [hli],a
ret
Unknown_0x1E4E3C:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$C2
ld [hli],a
ret
Logged_0x1E4E49:
ld hl,$D53B
ld a,[$D515]
sub $20
ld [hli],a
ld a,[$D516]
sub $08
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$57
ld [hli],a
ld a,$B4
ld [hli],a
ld a,$57
ld [hli],a
ld a,$63
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hl],a
ret
LoggedData_0x1E4E6F:
INCBIN "baserom.gbc", $1E4E6F, $1E69A4 - $1E4E6F
Unknown_0x1E69A4:
INCBIN "baserom.gbc", $1E69A4, $1E69A6 - $1E69A4
LoggedData_0x1E69A6:
INCBIN "baserom.gbc", $1E69A6, $1E69A8 - $1E69A6
Unknown_0x1E69A8:
INCBIN "baserom.gbc", $1E69A8, $1E69AA - $1E69A8
LoggedData_0x1E69AA:
INCBIN "baserom.gbc", $1E69AA, $1E6B1C - $1E69AA
Unknown_0x1E6B1C:
INCBIN "baserom.gbc", $1E6B1C, $1E6B2D - $1E6B1C
LoggedData_0x1E6B2D:
INCBIN "baserom.gbc", $1E6B2D, $1E6B3E - $1E6B2D
Unknown_0x1E6B3E:
INCBIN "baserom.gbc", $1E6B3E, $1E6B4F - $1E6B3E
LoggedData_0x1E6B4F:
INCBIN "baserom.gbc", $1E6B4F, $1E6B9F - $1E6B4F
Unknown_0x1E6B9F:
INCBIN "baserom.gbc", $1E6B9F, $1E6BA2 - $1E6B9F
LoggedData_0x1E6BA2:
INCBIN "baserom.gbc", $1E6BA2, $1E6BA5 - $1E6BA2
Unknown_0x1E6BA5:
INCBIN "baserom.gbc", $1E6BA5, $1E6BA8 - $1E6BA5
LoggedData_0x1E6BA8:
INCBIN "baserom.gbc", $1E6BA8, $1E6BC3 - $1E6BA8
Unknown_0x1E6BC3:
INCBIN "baserom.gbc", $1E6BC3, $1E6BC5 - $1E6BC3
LoggedData_0x1E6BC5:
INCBIN "baserom.gbc", $1E6BC5, $1E6BCF - $1E6BC5
Unknown_0x1E6BCF:
INCBIN "baserom.gbc", $1E6BCF, $1E6BD1 - $1E6BCF
LoggedData_0x1E6BD1:
INCBIN "baserom.gbc", $1E6BD1, $1E6BD7 - $1E6BD1
Unknown_0x1E6BD7:
INCBIN "baserom.gbc", $1E6BD7, $1E6BD9 - $1E6BD7
LoggedData_0x1E6BD9:
INCBIN "baserom.gbc", $1E6BD9, $1E6BE5 - $1E6BD9
Unknown_0x1E6BE5:
INCBIN "baserom.gbc", $1E6BE5, $1E6BED - $1E6BE5
LoggedData_0x1E6BED:
INCBIN "baserom.gbc", $1E6BED, $1E6CA9 - $1E6BED
Unknown_0x1E6CA9:
INCBIN "baserom.gbc", $1E6CA9, $1E6CC2 - $1E6CA9
LoggedData_0x1E6CC2:
INCBIN "baserom.gbc", $1E6CC2, $1E6D3F - $1E6CC2
Unknown_0x1E6D3F:
INCBIN "baserom.gbc", $1E6D3F, $1E6D58 - $1E6D3F
LoggedData_0x1E6D58:
INCBIN "baserom.gbc", $1E6D58, $1E6DBB - $1E6D58
Unknown_0x1E6DBB:
INCBIN "baserom.gbc", $1E6DBB, $1E6DDC - $1E6DBB
LoggedData_0x1E6DDC:
INCBIN "baserom.gbc", $1E6DDC, $1E6EB2 - $1E6DDC
Unknown_0x1E6EB2:
INCBIN "baserom.gbc", $1E6EB2, $1E6F36 - $1E6EB2
LoggedData_0x1E6F36:
INCBIN "baserom.gbc", $1E6F36, $1E6F52 - $1E6F36
Unknown_0x1E6F52:
INCBIN "baserom.gbc", $1E6F52, $1E6F55 - $1E6F52
LoggedData_0x1E6F55:
INCBIN "baserom.gbc", $1E6F55, $1E6F63 - $1E6F55
Unknown_0x1E6F63:
INCBIN "baserom.gbc", $1E6F63, $1E6F66 - $1E6F63
LoggedData_0x1E6F66:
INCBIN "baserom.gbc", $1E6F66, $1E6F6D - $1E6F66
Unknown_0x1E6F6D:
INCBIN "baserom.gbc", $1E6F6D, $1E6F78 - $1E6F6D
LoggedData_0x1E6F78:
INCBIN "baserom.gbc", $1E6F78, $1E6F7C - $1E6F78
Unknown_0x1E6F7C:
INCBIN "baserom.gbc", $1E6F7C, $1E6F7D - $1E6F7C
LoggedData_0x1E6F7D:
INCBIN "baserom.gbc", $1E6F7D, $1E6F86 - $1E6F7D
Unknown_0x1E6F86:
INCBIN "baserom.gbc", $1E6F86, $1E8000 - $1E6F86
SECTION "Bank7A", ROMX, BANK[$7A]
Unknown_0x1E8000:
INCBIN "baserom.gbc", $1E8000, $1EC000 - $1E8000
SECTION "Bank7B", ROMX, BANK[$7B]
ld a,[$CA83]
sub $B0
rst JumpList
dw Logged_0x1EC124
dw Logged_0x1EC177
dw Logged_0x1EC22B
dw Logged_0x1EC300
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1EC339
dw Logged_0x1EC3BC
dw Logged_0x1EC540
dw Logged_0x1EC67D
dw Logged_0x1EC6A8
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1EC703
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1EC7EB
dw Logged_0x1EC884
dw Logged_0x1EC90D
dw Logged_0x1EC9B1
dw Logged_0x1ECA6E
dw Logged_0x1ECB9B
dw Unknown_0x1ECBF1
dw Logged_0x1ECC7D
dw Logged_0x1ECD9C
dw Logged_0x1ECE65
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1ECF3A
dw Logged_0x1ECF86
dw Logged_0x1ED018
dw Unknown_0x1ED04F
dw Logged_0x1ED136
dw Logged_0x1ED1AF
dw Logged_0x1ED23F
dw Logged_0x1ED2A3
dw Logged_0x1ED31A
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Logged_0x1ED3CD
dw Logged_0x1ED469
dw Logged_0x1ED52A
dw Logged_0x1ED5E2
dw Unknown_0x1ED6EE
dw Logged_0x1ED7E5
dw Logged_0x1ED886
dw Unknown_0x156D
dw Logged_0x1ED972
dw Logged_0x1EDA16
dw Logged_0x1EDA1E
dw Unknown_0x156D
dw Unknown_0x1EDAAA
dw Logged_0x1EDB47
dw Logged_0x1EDBA0
dw Logged_0x1EDC15
dw Logged_0x1EDCD0
dw Unknown_0x1EDD7E
dw Logged_0x1EDE36
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
dw Unknown_0x156D
ld a,$B0
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA8D],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4990
call Logged_0x1AF6
ld a,$0B
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$5B
ld [$CA7F],a
ld a,$6D
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
and a
jr nz,Logged_0x1EC10A
ld a,$5D
ld [$CA81],a
ld a,$8B
ld [$CA82],a
jr Logged_0x1EC114
Logged_0x1EC10A:
ld a,$5D
ld [$CA81],a
ld a,$82
ld [$CA82],a
Logged_0x1EC114:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC124:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
xor a
ld [$CA86],a
Logged_0x1EC13C:
ld a,$B1
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EC15D
ld a,$5D
ld [$CA81],a
ld a,$97
ld [$CA82],a
jr Logged_0x1EC167
Logged_0x1EC15D:
ld a,$5D
ld [$CA81],a
ld a,$94
ld [$CA82],a
Logged_0x1EC167:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC177:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EC215
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1EC1B7
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0B
ld [$FF00+hSFXIDLow],a
Logged_0x1EC1B7:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA69]
and a
jr nz,Logged_0x1EC1D4
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1EC1DA
Logged_0x1EC1D4:
call Logged_0x151E
call Logged_0x1259
Logged_0x1EC1DA:
ld a,[$CA86]
cp $14
jr c,Logged_0x1EC1E6
ld a,$10
ld [$CA86],a
Logged_0x1EC1E6:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr z,Logged_0x1EC205
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1EC205:
ld a,$B2
ld [$CA83],a
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
ret
Logged_0x1EC215:
ld a,[$CA69]
and a
jr nz,Logged_0x1EC223
ld b,$03
call Logged_0x1259
jp Logged_0x1EC2BB
Logged_0x1EC223:
ld b,$03
call Logged_0x1270
jp Logged_0x1EC2BB
Logged_0x1EC22B:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1EC2BB
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EC215
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $14
jr c,Logged_0x1EC288
ld a,$10
ld [$CA86],a
Logged_0x1EC288:
ld a,[$CA83]
cp $B2
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EC2AA
ld a,[$CA83]
cp $B2
ret nz
jp Logged_0x14DE
Logged_0x1EC2AA:
call Logged_0x14F6
ld a,[$CA83]
cp $B2
ret nz
ld a,$10
ld [$CA86],a
jp Logged_0x1EC13C
Logged_0x1EC2BB:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2E
ld [$FF00+hSFXIDLow],a
ld a,$B3
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x1EC2E6
ld a,$5D
ld [$CA81],a
ld a,$A7
ld [$CA82],a
jr Logged_0x1EC2F0
Logged_0x1EC2E6:
ld a,$5D
ld [$CA81],a
ld a,$9A
ld [$CA82],a
Logged_0x1EC2F0:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC300:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0C
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1570
Logged_0x1EC339:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,[$C093]
and $F0
jp nz,Logged_0x1EC4C0
Logged_0x1EC355:
ld a,[$CA69]
and a
jr nz,Logged_0x1EC362
ld a,$20
ld [$CA9C],a
jr Logged_0x1EC367
Logged_0x1EC362:
ld a,$10
ld [$CA9C],a
Logged_0x1EC367:
ld a,$B9
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA9C]
and $C0
jr nz,Logged_0x1EC3B0
ld a,[$CA69]
and a
jr nz,Logged_0x1EC396
ld a,$6D
ld [$CA81],a
ld a,$7C
ld [$CA82],a
jr Logged_0x1EC3A0
Logged_0x1EC396:
ld a,$6D
ld [$CA81],a
ld a,$91
ld [$CA82],a
Logged_0x1EC3A0:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC3B0:
ld a,$6D
ld [$CA81],a
ld a,$D0
ld [$CA82],a
jr Logged_0x1EC3A0
Logged_0x1EC3BC:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1EC64D
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1EC64D
ld a,[$CA83]
cp $B9
ret nz
ld a,[$C093]
and $F0
jp nz,Logged_0x1EC4C0
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1EC406
ld a,$20
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1EC406:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9C]
bit 4,a
jr nz,Logged_0x1EC44B
bit 6,a
jr nz,Logged_0x1EC472
bit 7,a
jr nz,Logged_0x1EC491
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $B9
ret nz
ld a,b
and a
jr nz,Unknown_0x1EC443
ld b,$01
call Logged_0x1270
ret
Unknown_0x1EC443:
ld a,$01
ld [$CA69],a
jp Logged_0x1EC355
Logged_0x1EC44B:
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $B9
ret nz
ld a,b
and a
jr nz,Logged_0x1EC46A
ld b,$01
call Logged_0x1259
ret
Logged_0x1EC46A:
ld a,$00
ld [$CA69],a
jp Logged_0x1EC355
Logged_0x1EC472:
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $B9
ret nz
ld a,b
and a
jr nz,Unknown_0x1EC4B0
ld b,$01
call Logged_0x129E
ret
Logged_0x1EC491:
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $B9
ret nz
ld a,b
and a
jr nz,Logged_0x1EC4B8
ld b,$01
call Logged_0x1287
ret
Unknown_0x1EC4B0:
ld a,$80
ld [$CA9C],a
jp Logged_0x1EC367
Logged_0x1EC4B8:
ld a,$40
ld [$CA9C],a
jp Logged_0x1EC367
Logged_0x1EC4C0:
ld a,$BA
ld [$CA83],a
xor a
ld [$CEED],a
ld a,[$C093]
bit 6,a
jr nz,Logged_0x1EC4EA
bit 7,a
jr nz,Logged_0x1EC4EE
bit 4,a
jr nz,Logged_0x1EC4E1
ld a,$00
ld [$CA69],a
ld a,$20
jr Logged_0x1EC4F0
Logged_0x1EC4E1:
ld a,$01
ld [$CA69],a
ld a,$10
jr Logged_0x1EC4F0
Logged_0x1EC4EA:
ld a,$40
jr Logged_0x1EC4F0
Logged_0x1EC4EE:
ld a,$80
Logged_0x1EC4F0:
ld [$CA9C],a
xor a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA9C]
and $C0
jr nz,Logged_0x1EC534
ld a,[$CA69]
and a
jr nz,Logged_0x1EC51A
ld a,$6D
ld [$CA81],a
ld a,$A6
ld [$CA82],a
jr Logged_0x1EC524
Logged_0x1EC51A:
ld a,$6D
ld [$CA81],a
ld a,$BB
ld [$CA82],a
Logged_0x1EC524:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC534:
ld a,$6D
ld [$CA81],a
ld a,$E5
ld [$CA82],a
jr Logged_0x1EC524
Logged_0x1EC540:
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1EC64D
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1EC64D
ld a,[$CA83]
cp $BA
ret nz
ld a,[$C093]
and $F0
jp z,Logged_0x1EC367
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1EC58A
ld a,$10
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$71
ld [$FF00+hSFXIDLow],a
Logged_0x1EC58A:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9C]
bit 4,a
jr nz,Logged_0x1EC5CE
bit 6,a
jr nz,Logged_0x1EC5F4
bit 7,a
jr nz,Logged_0x1EC61A
ld a,[$C093]
and $20
jp z,Logged_0x1EC4C0
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $BA
ret nz
ld a,b
and a
ret nz
ld b,$02
call Logged_0x1270
ret
Logged_0x1EC5CE:
ld a,[$C093]
and $10
jp z,Logged_0x1EC4C0
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $BA
ret nz
ld a,b
and a
ret nz
ld b,$02
call Logged_0x1259
ret
Logged_0x1EC5F4:
ld a,[$C093]
and $40
jp z,Logged_0x1EC4C0
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $BA
ret nz
ld a,b
and a
ret nz
ld b,$02
call Logged_0x129E
ret
Logged_0x1EC61A:
ld a,[$C093]
and $80
jp z,Logged_0x1EC4C0
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $BA
ret nz
ld a,b
and a
jr z,Logged_0x1EC647
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1EC647:
ld b,$02
call Logged_0x1287
ret
Logged_0x1EC64D:
ld a,$BB
ld [$CA83],a
call Logged_0x16D9
xor a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$6D
ld [$CA81],a
ld a,$FE
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC67D:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$BC
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA85],a
ld a,$02
ld [$CA74],a
ld a,$18
ld [$CA75],a
ret
Logged_0x1EC6A8:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x1EC6E3
ld a,$04
ld [$CA86],a
Logged_0x1EC6E3:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x1570
Logged_0x1EC703:
ld a,[$CA84]
and a
jr nz,Logged_0x1EC725
ld a,[$C1A8]
and a
jr z,Logged_0x1EC725
ld a,$01
ld [$CA84],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$6E
ld [$CA81],a
ld a,$B4
ld [$CA82],a
Logged_0x1EC725:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 1,a
jp nz,Logged_0x157A
bit 0,a
jp nz,Logged_0x1EDE4D
ld a,[$CA9B]
and a
jp z,Logged_0x1EDE69
ret
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$47
ld [$FF00+hSFXIDLow],a
ld a,$C4
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA75],a
ld a,[$CA74]
and a
jr z,Logged_0x1EC78E
ld a,$18
ld [$CA75],a
Logged_0x1EC78E:
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$49A0
call Logged_0x1AF6
ld a,$7A
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$6E
ld [$CA7F],a
ld a,$C7
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EC7D1
ld a,$75
ld [$CA81],a
ld a,$60
ld [$CA82],a
jr Logged_0x1EC7DB
Logged_0x1EC7D1:
ld a,$75
ld [$CA81],a
ld a,$A3
ld [$CA82],a
Logged_0x1EC7DB:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC7EB:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,[$CA74]
and a
jr z,Logged_0x1EC831
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1EC827
jp Logged_0x14DE
Logged_0x1EC827:
call Logged_0x14F6
xor a
ld [$CA74],a
ld [$CA75],a
Logged_0x1EC831:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x1EC845:
xor a
ld [$CA86],a
ld a,$C5
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EC86A
ld a,$75
ld [$CA81],a
ld a,$F8
ld [$CA82],a
jr Logged_0x1EC874
Logged_0x1EC86A:
ld a,$75
ld [$CA81],a
ld a,$FB
ld [$CA82],a
Logged_0x1EC874:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC884:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
call Logged_0x1EDE85
ld a,[$CA83]
cp $C5
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ECA21
ret
Logged_0x1EC8BF:
xor a
ld [$CA86],a
ld a,$C6
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$C093]
bit 5,a
jr nz,Logged_0x1EC8E7
bit 4,a
jr nz,Logged_0x1EC8F3
ld a,[$CA69]
and a
jr nz,Logged_0x1EC8F3
Logged_0x1EC8E7:
ld a,$75
ld [$CA81],a
ld a,$E6
ld [$CA82],a
jr Logged_0x1EC8FD
Logged_0x1EC8F3:
ld a,$75
ld [$CA81],a
ld a,$EF
ld [$CA82],a
Logged_0x1EC8FD:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC90D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1EC93A
ld a,$1C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$3B
ld [$FF00+hSFXIDLow],a
Logged_0x1EC93A:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EDE96
ld a,[$CA83]
cp $C6
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ECA21
ld a,[$C189]
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x1ECC08
Logged_0x1EC979:
ld a,$C7
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EC997
ld a,$76
ld [$CA81],a
ld a,$05
ld [$CA82],a
jr Logged_0x1EC9A1
Logged_0x1EC997:
ld a,$75
ld [$CA81],a
ld a,$FE
ld [$CA82],a
Logged_0x1EC9A1:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EC9B1:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1EC9EC
ld a,[$C1A8]
and a
ret z
jp Logged_0x1EC8BF
Logged_0x1EC9EC:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld a,$01
ld [$CA74],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECA15
ld a,$76
ld [$CA81],a
ld a,$0C
ld [$CA82],a
jr Logged_0x1ECA1F
Logged_0x1ECA15:
ld a,$76
ld [$CA81],a
ld a,$17
ld [$CA82],a
Logged_0x1ECA1F:
jr Logged_0x1ECA4F
Logged_0x1ECA21:
ld a,$18
ld [$CA75],a
ld a,$01
ld [$CA96],a
ld [$CA84],a
ld a,$02
ld [$CA74],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECA45
ld a,$76
ld [$CA81],a
ld a,$22
ld [$CA82],a
jr Logged_0x1ECA4F
Logged_0x1ECA45:
ld a,$76
ld [$CA81],a
ld a,$25
ld [$CA82],a
Logged_0x1ECA4F:
ld a,$C8
ld [$CA83],a
xor a
ld [$CA85],a
ld [$CA67],a
ld [$CA68],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ECA6E:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA84]
and a
jr nz,Logged_0x1ECADD
ld a,[$C1A8]
and a
jr z,Logged_0x1ECADD
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$01
ld [$CA84],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECAC4
ld a,$76
ld [$CA81],a
ld a,$22
ld [$CA82],a
jr Logged_0x1ECACE
Logged_0x1ECAC4:
ld a,$76
ld [$CA81],a
ld a,$25
ld [$CA82],a
Logged_0x1ECACE:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1ECADD:
call Logged_0x1EDF01
ld a,[$CA83]
cp $C8
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x1ECB08
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $C8
ret nz
jp Logged_0x1ECA21
Logged_0x1ECB08:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ECB1E
jp Logged_0x14DE
Logged_0x1ECB1E:
call Logged_0x14F6
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,[$C189]
and a
jr z,Logged_0x1ECB39
jp Logged_0x1ECC08
Logged_0x1ECB39:
ld a,[$CA97]
and a
jr nz,Logged_0x1ECB49
ld a,$20
ld [$CA97],a
ld a,$01
ld [$CA98],a
Logged_0x1ECB49:
ld a,[$C1AA]
and a
jr nz,Logged_0x1ECB57
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$24
ld [$FF00+hSFXIDLow],a
Logged_0x1ECB57:
ld a,$C9
ld [$CA83],a
xor a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ld [$CA84],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECB81
ld a,$76
ld [$CA81],a
ld a,$0C
ld [$CA82],a
jr Logged_0x1ECB8B
Logged_0x1ECB81:
ld a,$76
ld [$CA81],a
ld a,$17
ld [$CA82],a
Logged_0x1ECB8B:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ECB9B:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA97]
and a
ret nz
jp Logged_0x1EC845
Unknown_0x1ECBB2:
INCBIN "baserom.gbc", $1ECBB2, $1ECBF1 - $1ECBB2
Unknown_0x1ECBF1:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1EC845
Logged_0x1ECC08:
ld a,$01
ld [$CA8F],a
xor a
ld [$CA84],a
ld a,$7A
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$76
ld [$CA7F],a
ld a,$4A
ld [$CA80],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$C189]
and $0F
dec a
ld [$CA69],a
and a
jr nz,Logged_0x1ECC51
ld a,$79
ld [$CA81],a
ld a,$56
ld [$CA82],a
jr Logged_0x1ECC5B
Logged_0x1ECC51:
ld a,$79
ld [$CA81],a
ld a,$2B
ld [$CA82],a
Logged_0x1ECC5B:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1ECC6A:
ld a,$CB
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA74],a
ld [$CA75],a
ld [$CA96],a
ret
Logged_0x1ECC7D:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CA8F]
cp $02
jr z,Logged_0x1ECCCC
cp $03
jr z,Logged_0x1ECD00
ld a,[$CA84]
cp $70
jr c,Logged_0x1ECD00
ld a,$02
ld [$CA8F],a
xor a
ld [$CA67],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECCC0
ld a,$79
ld [$CA81],a
ld a,$63
ld [$CA82],a
jr Logged_0x1ECD00
Logged_0x1ECCC0:
ld a,$79
ld [$CA81],a
ld a,$38
ld [$CA82],a
jr Logged_0x1ECD00
Logged_0x1ECCCC:
ld a,[$CA84]
cp $E0
jr c,Logged_0x1ECD00
ld a,$03
ld [$CA8F],a
xor a
ld [$CA67],a
ld a,[$CA68]
add a,$02
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECCF6
ld a,$79
ld [$CA81],a
ld a,$70
ld [$CA82],a
jr Logged_0x1ECD00
Logged_0x1ECCF6:
ld a,$79
ld [$CA81],a
ld a,$45
ld [$CA82],a
Logged_0x1ECD00:
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ECD17
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0A
ld [$FF00+hSFXIDLow],a
Logged_0x1ECD17:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA69]
and a
jr nz,Logged_0x1ECD34
call Logged_0x153F
call Logged_0x1270
jr Logged_0x1ECD3A
Logged_0x1ECD34:
call Logged_0x151E
call Logged_0x1259
Logged_0x1ECD3A:
ld a,[$CA8F]
cp $03
jr nc,Logged_0x1ECD4B
ld hl,$CA84
ld a,[hl]
cp $F8
jr nc,Logged_0x1ECD4B
add a,b
ld [hl],a
Logged_0x1ECD4B:
ld a,[$CA86]
cp $18
jr c,Logged_0x1ECD57
ld a,$14
ld [$CA86],a
Logged_0x1ECD57:
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jp nz,Logged_0x1ECE16
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ECD8C
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1ECD8C:
ld a,$CC
ld [$CA83],a
ld a,$18
ld [$CA75],a
ld a,$03
ld [$CA74],a
ret
Logged_0x1ECD9C:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and $0F
jr nz,Logged_0x1ECE16
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $18
jr c,Logged_0x1ECDFA
ld a,$14
ld [$CA86],a
Logged_0x1ECDFA:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ECE10
jp Logged_0x14DE
Logged_0x1ECE10:
call Logged_0x14F6
jp Logged_0x1ECC6A
Logged_0x1ECE16:
xor a
ld [$CA8F],a
ld a,$CD
ld [$CA83],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x1ECE31
ld b,$02
call Logged_0x1270
jr Logged_0x1ECE36
Logged_0x1ECE31:
ld b,$02
call Logged_0x1259
Logged_0x1ECE36:
xor a
ld [$CA84],a
ld [$CA85],a
xor a
ld [$CA67],a
ld [$CA68],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$79
ld [$CA81],a
ld a,$81
ld [$CA82],a
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ECE65:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$0F
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
jp Logged_0x1570
ld a,$D0
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld a,$01
ld [$CA74],a
ld a,$0E
ld [$CA75],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$49E0
call Logged_0x1AF6
ld a,$7A
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$7F
ld [$CA7E],a
ld a,$7A
ld [$CA7F],a
ld a,$12
ld [$CA80],a
ld a,[$C1C6]
ld [$CA69],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECF20
ld a,$7D
ld [$CA81],a
ld a,$16
ld [$CA82],a
jr Logged_0x1ECF2A
Logged_0x1ECF20:
ld a,$7D
ld [$CA81],a
ld a,$10
ld [$CA82],a
Logged_0x1ECF2A:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ECF3A:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$D1
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECF6C
ld a,$7D
ld [$CA81],a
ld a,$19
ld [$CA82],a
jr Logged_0x1ECF76
Logged_0x1ECF6C:
ld a,$7D
ld [$CA81],a
ld a,$13
ld [$CA82],a
Logged_0x1ECF76:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ECF86:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ECFCE
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
call Logged_0x1762
jp Logged_0x14DE
Logged_0x1ECFCE:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$44
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ECFEF
ld a,$7C
ld [$CA81],a
ld a,$CF
ld [$CA82],a
jr Logged_0x1ECFF9
Logged_0x1ECFEF:
ld a,$7C
ld [$CA81],a
ld a,$8E
ld [$CA82],a
Logged_0x1ECFF9:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
Logged_0x1ED008:
call Logged_0x14F6
ld a,$D2
ld [$CA83],a
xor a
ld [$CA74],a
ld [$CA75],a
ret
Logged_0x1ED018:
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr nz,Logged_0x1ED09B
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld a,$D3
ld [$CA83],a
ld a,$02
ld [$CA74],a
ld a,$18
ld [$CA75],a
ret
Unknown_0x1ED04F:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$7F
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
jr nz,Logged_0x1ED09B
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp nz,Logged_0x1ED008
jp Logged_0x14DE
Logged_0x1ED09B:
ld a,[$CA69]
xor $01
ld [$CA69],a
jp Logged_0x1570
ld a,$D4
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA75],a
inc a
ld [$CA74],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$7A
ld [$CA7B],a
ld a,$50
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$77
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED11C
ld a,$43
ld [$CA81],a
ld a,$7F
ld [$CA82],a
jr Logged_0x1ED126
Logged_0x1ED11C:
ld a,$43
ld [$CA81],a
ld a,$C3
ld [$CA82],a
Logged_0x1ED126:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED136:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED15C
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x1ED15C:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x1ED170:
xor a
ld [$CA86],a
ld a,$D5
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED195
ld a,$43
ld [$CA81],a
ld a,$74
ld [$CA82],a
jr Logged_0x1ED19F
Logged_0x1ED195:
ld a,$43
ld [$CA81],a
ld a,$B8
ld [$CA82],a
Logged_0x1ED19F:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED1AF:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C9]
and a
jp z,Logged_0x1ED2E2
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED1DC
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x1ED1DC:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EDF2B
ld a,[$CA83]
cp $D5
ret nz
call Logged_0x1EDF47
ret
Logged_0x1ED1F8:
ld a,[$CA69]
xor $01
ld [$CA69],a
ld a,$D6
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED225
ld a,$43
ld [$CA81],a
ld a,$8E
ld [$CA82],a
jr Logged_0x1ED22F
Logged_0x1ED225:
ld a,$43
ld [$CA81],a
ld a,$89
ld [$CA82],a
Logged_0x1ED22F:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED23F:
call Logged_0x1EDF2B
ld a,[$CA83]
cp $D6
ret nz
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED25F
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x1ED25F:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1ED170
Logged_0x1ED276:
ld a,$D7
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$43
ld [$CA81],a
ld a,$93
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED2A3:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C9]
and a
jr z,Logged_0x1ED2E2
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED2CF
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x1ED2CF:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EDF47
ret
Logged_0x1ED2E2:
ld a,$D8
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED300
ld a,$43
ld [$CA81],a
ld a,$84
ld [$CA82],a
jr Logged_0x1ED30A
Logged_0x1ED300:
ld a,$43
ld [$CA81],a
ld a,$C8
ld [$CA82],a
Logged_0x1ED30A:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED31A:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x157A
Logged_0x1ED331:
ld a,$DC
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
ld [$CA8D],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4800
call Logged_0x1AF6
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$40
ld [$CA7F],a
ld a,$00
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED3B3
ld a,$42
ld [$CA81],a
ld a,$52
ld [$CA82],a
jr Logged_0x1ED3BD
Logged_0x1ED3B3:
ld a,$42
ld [$CA81],a
ld a,$5F
ld [$CA82],a
Logged_0x1ED3BD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED3CD:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EDF93
ld a,[$CA83]
cp $DC
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ED548
ret
Logged_0x1ED3FA:
xor a
ld [$CA86],a
ld a,$DD
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$48
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$42
ld [$CA7F],a
ld a,$6C
ld [$CA80],a
ld a,[$C093]
bit 5,a
jr nz,Logged_0x1ED443
bit 4,a
jr nz,Logged_0x1ED44F
ld a,[$CA69]
and a
jr nz,Logged_0x1ED44F
Logged_0x1ED443:
ld a,$49
ld [$CA81],a
ld a,$B4
ld [$CA82],a
jr Logged_0x1ED459
Logged_0x1ED44F:
ld a,$49
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1ED459:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED469:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $DD
ret nz
ld a,b
and a
jp nz,Logged_0x1570
call Logged_0x1EDFA4
ld a,[$CA83]
cp $DD
ret nz
ld a,$06
ld [$FF00+$85],a
ld a,$E0
ld [$FF00+$8D],a
ld a,$58
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1ED548
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ret
Logged_0x1ED4D1:
ld a,$DE
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$04
ld [$CA7B],a
ld a,$40
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$4A
ld [$CA7F],a
ld a,$82
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED510
ld a,$4C
ld [$CA81],a
ld a,$BE
ld [$CA82],a
jr Logged_0x1ED51A
Logged_0x1ED510:
ld a,$4C
ld [$CA81],a
ld a,$C5
ld [$CA82],a
Logged_0x1ED51A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED52A:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1ED558
ld a,[$C1A8]
and a
ret z
jp Logged_0x1ED3FA
Logged_0x1ED548:
xor a
ld [$CA77],a
ld a,$18
ld [$CA75],a
ld a,$03
ld [$CA74],a
jr Logged_0x1ED571
Logged_0x1ED558:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
xor a
ld [$CA75],a
ld [$CA96],a
ld a,$01
ld [$CA77],a
ld a,$02
ld [$CA74],a
Logged_0x1ED571:
xor a
ld [$C189],a
ld a,$DF
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld [$CA84],a
ld [$CA85],a
ld [$CA8B],a
ld [$CA89],a
ld a,$04
ld [$CA7B],a
ld a,$78
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$05
ld [$CA7E],a
ld a,$59
ld [$CA7F],a
ld a,$55
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED5C0
ld a,$5F
ld [$CA81],a
ld a,$94
ld [$CA82],a
jr Logged_0x1ED5CA
Logged_0x1ED5C0:
ld a,$5F
ld [$CA81],a
ld a,$97
ld [$CA82],a
Logged_0x1ED5CA:
ld a,$05
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CAC9]
and a
ret z
call Logged_0x1ED5E2
ret
Logged_0x1ED5E2:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$C0DB]
and a
jp nz,Logged_0x1570
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,[$CA83]
cp $DF
ret nz
ld a,b
and a
jp nz,Logged_0x1570
call Logged_0x1EE00F
ld a,[$CA83]
cp $DF
ret nz
ld a,[$CA75]
cp $18
jr nc,Logged_0x1ED644
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld a,[$CA83]
cp $DF
ret nz
jp Logged_0x1ED548
Logged_0x1ED644:
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ED65A
jp Logged_0x14DE
Logged_0x1ED65A:
call Logged_0x14F6
jp Logged_0x1ED331
Unknown_0x1ED660:
INCBIN "baserom.gbc", $1ED660, $1ED6EE - $1ED660
Unknown_0x1ED6EE:
ld a,[$CA95]
and a
jr z,Unknown_0x1ED71F
xor a
ld [$CA95],a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Unknown_0x1ED715
ld a,$44
ld [$CA81],a
ld a,$0F
ld [$CA82],a
jr Unknown_0x1ED71F
Unknown_0x1ED715:
ld a,$44
ld [$CA81],a
ld a,$2C
ld [$CA82],a
Unknown_0x1ED71F:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9B]
and a
ret nz
ld a,$00
ld [$CA69],a
xor a
ld [$CA8A],a
ld a,$54
ld [$CA8E],a
ld a,$04
ld [$CA93],a
ld a,$04
ld [$CA92],a
ld a,$02
ld [$CA94],a
ld a,$E1
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA86],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA74],a
ld [$CA75],a
ld a,$FF
ld [$CA70],a
ld a,$F1
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$4800
call Logged_0x1AF6
ld a,$7A
ld [$CA7B],a
ld a,$58
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$77
ld [$CA7E],a
ld a,$44
ld [$CA7F],a
ld a,$49
ld [$CA80],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED7CB
ld a,$49
ld [$CA81],a
ld a,$04
ld [$CA82],a
jr Logged_0x1ED7D5
Logged_0x1ED7CB:
ld a,$48
ld [$CA81],a
ld a,$FB
ld [$CA82],a
Logged_0x1ED7D5:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED7E5:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,[$C0D7]
and a
jp nz,Logged_0x11F6
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED812
ld a,$86
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$4C
ld [$FF00+hSFXIDLow],a
Logged_0x1ED812:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$34
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ED846
ld a,[$CA69]
and a
jr nz,Logged_0x1ED840
ld b,$02
call Logged_0x1270
ret
Logged_0x1ED840:
ld b,$02
call Logged_0x1259
ret
Logged_0x1ED846:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$48
ld [$FF00+hSFXIDLow],a
ld a,$E2
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1ED86C
ld a,$49
ld [$CA81],a
ld a,$26
ld [$CA82],a
jr Logged_0x1ED876
Logged_0x1ED86C:
ld a,$49
ld [$CA81],a
ld a,$0D
ld [$CA82],a
Logged_0x1ED876:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED886:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
ld a,$0A
ld [$FF00+$85],a
ld a,$6A
ld [$FF00+$8D],a
ld a,$6D
ld [$FF00+$8E],a
call $FF80
ret
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$10
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$11
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$E4
ld [$CA83],a
ld a,$FF
ld [$CA70],a
ld a,$E5
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld [$CA75],a
inc a
ld [$CA74],a
call Logged_0x161A
xor a
ld [$CA67],a
ld [$CA68],a
ld hl,$49B0
call Logged_0x1AF6
ld a,$7A
ld [$CA7B],a
ld a,$60
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$77
ld [$CA7E],a
ld a,$4D
ld [$CA7F],a
ld a,$60
ld [$CA80],a
ld a,$4F
ld [$CA81],a
ld a,$B0
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1ED972:
ld a,$06
ld [$FF00+$85],a
ld a,$25
ld [$FF00+$8D],a
ld a,$5B
ld [$FF00+$8E],a
call $FF80
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jr nz,Logged_0x1ED9D5
ld a,[$CEED]
sub $01
ld [$CEED],a
jr nc,Logged_0x1ED9AB
ld a,$0C
ld [$CEED],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$7D
ld [$FF00+hSFXIDLow],a
Logged_0x1ED9AB:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld b,$01
call Logged_0x129E
ld a,[$C0BA]
and $0F
cp $08
jr c,Logged_0x1ED9D4
call Logged_0x114E
ld a,[$CA78]
sub c
jr nc,Logged_0x1ED9D4
call Logged_0x11D6
Logged_0x1ED9D4:
ret
Logged_0x1ED9D5:
ld hl,$CA61
ld de,$FFA8
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
ld b,$12
ld a,$03
ld [$FF00+$85],a
ld a,$F3
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$E5
ld [$CA83],a
xor a
ld [$CA84],a
ld [$CA67],a
ld [$CA68],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDA16:
ld hl,$CA84
inc [hl]
ld a,[hl]
cp $20
ret c
Logged_0x1EDA1E:
jp Logged_0x1570
call Logged_0x161A
ld a,$FF
ld [$CA70],a
ld a,$EC
ld [$CA6F],a
ld a,$F7
ld [$CA71],a
ld a,$09
ld [$CA72],a
xor a
ld [$CA9A],a
ld [$CA89],a
ld [$CA8B],a
ld [$CA9D],a
ld [$CA96],a
ld hl,$49C0
call Logged_0x1AF6
ld a,$7A
ld [$CA7B],a
ld a,$68
ld [$CA7C],a
ld a,$00
ld [$CA7D],a
call Logged_0x15B0
ld a,$77
ld [$CA7E],a
ld a,$4F
ld [$CA7F],a
ld a,$F1
ld [$CA80],a
ld a,[$CA74]
and a
jr z,Logged_0x1EDACA
ld a,$E8
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld a,$18
ld [$CA75],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$53
ld [$CA81],a
ld a,$13
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1EDAAA:
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
Logged_0x1EDACA:
ld a,[$CA69]
and a
jr nz,Logged_0x1EDAE4
ld a,[$C093]
bit 4,a
jp nz,Logged_0x1EDDF2
ld a,$53
ld [$CA81],a
ld a,$16
ld [$CA82],a
jr Logged_0x1EDB24
Logged_0x1EDAE4:
ld a,[$C093]
bit 5,a
jp nz,Logged_0x1EDDF2
ld a,$53
ld [$CA81],a
ld a,$23
ld [$CA82],a
jr Logged_0x1EDB24
Logged_0x1EDAF8:
ld a,[$CA69]
and a
jr nz,Logged_0x1EDB12
ld a,[$C093]
bit 4,a
jp nz,Logged_0x1EDDF2
ld a,$52
ld [$CA81],a
ld a,$30
ld [$CA82],a
jr Logged_0x1EDB24
Logged_0x1EDB12:
ld a,[$C093]
bit 5,a
jp nz,Logged_0x1EDDF2
ld a,$52
ld [$CA81],a
ld a,$95
ld [$CA82],a
Logged_0x1EDB24:
xor a
ld [$CA74],a
ld [$CA75],a
ld a,$E9
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDB47:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
Logged_0x1EDB5B:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$66
ld [$FF00+hSFXIDLow],a
ld a,$01
ld [$CA74],a
ld a,$EA
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
and a
jr nz,Logged_0x1EDB86
ld a,$52
ld [$CA81],a
ld a,$F3
ld [$CA82],a
jr Logged_0x1EDB90
Logged_0x1EDB86:
ld a,$52
ld [$CA81],a
ld a,$F6
ld [$CA82],a
Logged_0x1EDB90:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDBA0:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1EE02E
ld a,[$CA75]
cp $18
ret c
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
jp Logged_0x1EDAF8
ld a,$EB
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA74],a
ld [$CA75],a
inc a
ld [$CA9B],a
ld [$CA8A],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$6C
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDC15:
ld a,[$CA9B]
and a
jr z,Logged_0x1EDC91
bit 7,a
jr z,Logged_0x1EDC71
and $7F
ld [$CA9B],a
dec a
jr z,Logged_0x1EDC5A
dec a
jr z,Logged_0x1EDC2E
dec a
jr z,Logged_0x1EDC41
ret
Logged_0x1EDC2E:
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$D1
ld [$CA82],a
jr Logged_0x1EDC71
Logged_0x1EDC41:
ld hl,$49D0
call Logged_0x1AF6
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$7A
ld [$CA82],a
jr Logged_0x1EDC71
Logged_0x1EDC5A:
ld hl,$49C0
call Logged_0x1AF6
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$6C
ld [$CA82],a
Logged_0x1EDC71:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA9B]
cp $02
ret nz
ld a,[$C1A8]
and a
ret z
ld a,$83
ld [$CA9B],a
ret
Logged_0x1EDC91:
ld a,$00
ld [$CA69],a
ld a,$EC
ld [$CA83],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld a,$06
ld [$CA75],a
ld a,$03
ld [$CA74],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$EE
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDCD0:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
call Logged_0x1488
ld a,[$CA75]
cp $18
jr nc,Logged_0x1EDCEF
ld b,$03
call Logged_0x1270
ret
Logged_0x1EDCEF:
ld b,$02
call Logged_0x1270
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
xor a
ld [$CA8A],a
ld [$CA75],a
ld [$CA74],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,[$D144]
cp $03
jr z,Unknown_0x1EDD3C
pop af
ld [rSVBK],a
ld a,$08
ld [$FF00+$85],a
ld a,$EB
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1EDD3C:
pop af
ld [rSVBK],a
ld a,$ED
ld [$CA83],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$66
ld [$FF00+hSFXIDLow],a
xor a
ld [$CEED],a
ld [$CA84],a
ld [$CA85],a
ld [$CA75],a
inc a
ld [$CA8A],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,$52
ld [$CA81],a
ld a,$EE
ld [$CA82],a
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Unknown_0x1EDD7E:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$CA75]
cp $18
jr nc,Unknown_0x1EDDB8
ld b,$03
call Logged_0x129E
ld a,$06
ld [$FF00+$85],a
ld a,$6E
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
jp z,Logged_0x1197
ld a,$18
ld [$CA75],a
ld a,$02
ld [$CA74],a
ret
Unknown_0x1EDDB8:
call Logged_0x1488
ld a,$06
ld [$FF00+$85],a
ld a,$E9
ld [$FF00+$8D],a
ld a,$59
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret z
ld hl,$FFA8
ld de,$CA61
ld a,[hli]
ld [de],a
inc de
ld a,[hl]
ld [de],a
xor a
ld [$CA8A],a
ld [$CA75],a
ld [$CA74],a
ld a,$08
ld [$FF00+$85],a
ld a,$EB
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDDF2:
xor a
ld [$CA74],a
ld [$CA75],a
ld a,$EE
ld [$CA83],a
xor a
ld [$CA67],a
ld [$CA68],a
ld a,[$CA69]
xor $01
ld [$CA69],a
and a
jr nz,Logged_0x1EDE1C
ld a,$52
ld [$CA81],a
ld a,$8E
ld [$CA82],a
jr Logged_0x1EDE26
Logged_0x1EDE1C:
ld a,$52
ld [$CA81],a
ld a,$87
ld [$CA82],a
Logged_0x1EDE26:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDE36:
ld a,$77
ld [$FF00+$85],a
ld a,$53
ld [$FF00+$8D],a
ld a,$0E
ld [$FF00+$8E],a
call $FF80
ld a,[$C1A8]
and a
ret z
jp Logged_0x1EDB5B
Logged_0x1EDE4D:
call Logged_0x1079
call Logged_0x161A
ld hl,$4800
call Logged_0x1AF6
ld a,$07
ld [$FF00+$85],a
ld a,$B9
ld [$FF00+$8D],a
ld a,$42
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDE69:
call Logged_0x1079
call Logged_0x161A
ld hl,$4800
call Logged_0x1AF6
ld a,$07
ld [$FF00+$85],a
ld a,$74
ld [$FF00+$8D],a
ld a,$61
ld [$FF00+$8E],a
call $FF80
ret
Logged_0x1EDE85:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1EC9EC
ld a,[$C093]
and $30
jp nz,Logged_0x1EC8BF
ret
Logged_0x1EDE96:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1EC9EC
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1EDEAC
bit 5,a
jr nz,Logged_0x1EDED6
jp Logged_0x1EC845
Logged_0x1EDEAC:
ld a,[$CA69]
and a
jr z,Logged_0x1EDECE
ld a,$07
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x1EDECD
ld a,$04
ld [$CA86],a
Logged_0x1EDECD:
ret
Logged_0x1EDECE:
ld a,$01
ld [$CA69],a
jp Logged_0x1EC979
Logged_0x1EDED6:
ld a,[$CA69]
cp $00
jr nz,Logged_0x1EDEF9
ld a,$07
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x1EDEF8
ld a,$04
ld [$CA86],a
Logged_0x1EDEF8:
ret
Logged_0x1EDEF9:
ld a,$00
ld [$CA69],a
jp Logged_0x1EC979
Logged_0x1EDF01:
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x1EDF1F
ld a,$04
ld [$CA86],a
Logged_0x1EDF1F:
ld a,[$CA75]
cp $18
ret nz
ld a,$01
ld [$CA96],a
ret
Logged_0x1EDF2B:
ld a,$06
ld [$FF00+$85],a
ld a,$CD
ld [$FF00+$8D],a
ld a,$5A
ld [$FF00+$8E],a
call $FF80
ld a,[$C1C9]
and a
jp z,Logged_0x1ED276
ld b,$01
call Logged_0x129E
ret
Logged_0x1EDF47:
ld a,[$CA69]
and a
jr nz,Logged_0x1EDF70
ld a,[$C093]
bit 4,a
jp nz,Logged_0x1ED1F8
bit 5,a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$B1
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1270
ret
Logged_0x1EDF70:
ld a,[$C093]
bit 5,a
jp nz,Logged_0x1ED1F8
bit 4,a
ret z
ld a,$06
ld [$FF00+$85],a
ld a,$41
ld [$FF00+$8D],a
ld a,$57
ld [$FF00+$8E],a
call $FF80
ld a,b
and a
ret nz
ld b,$01
call Logged_0x1259
ret
Logged_0x1EDF93:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1ED558
ld a,[$C093]
and $30
jp nz,Logged_0x1ED3FA
ret
Logged_0x1EDFA4:
ld a,[$C094]
bit 0,a
jp nz,Logged_0x1ED558
ld a,[$C093]
bit 4,a
jr nz,Logged_0x1EDFBA
bit 5,a
jr nz,Logged_0x1EDFE4
jp Logged_0x1ED331
Logged_0x1EDFBA:
ld a,[$CA69]
and a
jr z,Logged_0x1EDFDC
ld a,$07
ld [$FF00+$85],a
ld a,$1B
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $10
jr c,Logged_0x1EDFDB
ld a,$0C
ld [$CA86],a
Logged_0x1EDFDB:
ret
Logged_0x1EDFDC:
ld a,$01
ld [$CA69],a
jp Logged_0x1ED4D1
Logged_0x1EDFE4:
ld a,[$CA69]
cp $00
jr nz,Logged_0x1EE007
ld a,$07
ld [$FF00+$85],a
ld a,$35
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $10
jr c,Logged_0x1EE006
ld a,$0C
ld [$CA86],a
Logged_0x1EE006:
ret
Logged_0x1EE007:
ld a,$00
ld [$CA69],a
jp Logged_0x1ED4D1
Logged_0x1EE00F:
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$7A
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $10
jr c,Logged_0x1EE02D
ld a,$0C
ld [$CA86],a
Logged_0x1EE02D:
ret
Logged_0x1EE02E:
call Logged_0x1488
ld a,$0A
ld [$FF00+$85],a
ld a,$A6
ld [$FF00+$8D],a
ld a,$71
ld [$FF00+$8E],a
call $FF80
ld a,[$CA86]
cp $08
jr c,Logged_0x1EE04C
ld a,$04
ld [$CA86],a
Logged_0x1EE04C:
ret
Unknown_0x1EE04D:
INCBIN "baserom.gbc", $1EE04D, $1F0000 - $1EE04D
SECTION "Bank7C", ROMX, BANK[$7C]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x0474
dw Logged_0x1F0087
dw Logged_0x05E6
dw Logged_0x1F02A2
dw Logged_0x0474
dw Logged_0x1F033C
dw Logged_0x05E6
dw Logged_0x141A
dw Logged_0x0474
dw Logged_0x1F0370
dw Logged_0x05E6
dw Logged_0x1F03D1
dw Logged_0x0474
dw Logged_0x1F03FA
dw Logged_0x05E6
dw Logged_0x1F06E1
dw Logged_0x1F06FE
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Logged_0x0474
dw Logged_0x1F0701
dw Logged_0x05E6
dw Logged_0x1F03D1
dw Logged_0x0474
dw Logged_0x1F0768
dw Logged_0x05E6
dw Logged_0x1F06E1
dw Logged_0x0474
dw Logged_0x1F08AF
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Logged_0x0474
dw Logged_0x1F0701
dw Logged_0x05E6
dw Logged_0x1F03D1
dw Logged_0x0474
dw Logged_0x1F0768
dw Logged_0x05E6
dw Logged_0x1F06E1
dw Logged_0x0474
dw Logged_0x1F08F4
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
call Logged_0x08E6
ld hl,wGameState
ld a,GAME_STATE_PAUSE
ld [hli],a
ld [hl],$01
jr Logged_0x1F0099
Logged_0x1F0087:
call Logged_0x08E6
call Logged_0x12CD
ld a,[$C1AC]
ld [$D50F],a
ld a,[$C1AD]
ld [$D510],a
Logged_0x1F0099:
ld a,$FF
ld [$FF00+hSFXIDHigh],a
ld a,$00
ld [$FF00+hSFXIDLow],a
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$25
ld [$FF00+hMusicIDLow],a
xor a
ld [$D513],a
xor a
ld [$CED8],a
call Logged_0x038B
call Logged_0x037D
ld a,$7D
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$0D
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$3F
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
call Logged_0x1F095B
ld hl,$9DEE
ld a,$01
ld [$FF00+$85],a
ld a,$33
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x0354
xor a
ld [rSCY],a
ld [rSCX],a
ld [$C083],a
ld [$C085],a
ld hl,$D52B
ld a,$38
ld [hli],a
ld a,$20
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$B8
ld [hl],a
call Logged_0x145A
ld hl,$D52B
call Logged_0x1F0940
ld hl,$D533
ld a,$8C
ld [hli],a
ld a,$20
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$D4
ld [hl],a
call Logged_0x145A
ld hl,$D533
call Logged_0x1F0940
ld a,[$CA5B]
bit 0,a
jr z,Logged_0x1F0168
ld hl,$D53B
ld a,$54
ld [hli],a
ld a,$38
ld [hli],a
xor a
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$4A
ld [hl],a
call Logged_0x145A
ld hl,$D53B
call Logged_0x1F0940
Logged_0x1F0168:
ld a,[$CA5B]
bit 1,a
jr z,Logged_0x1F018F
ld hl,$D547
ld a,$54
ld [hli],a
ld a,$48
ld [hli],a
xor a
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$4D
ld [hl],a
call Logged_0x145A
ld hl,$D547
call Logged_0x1F0940
Logged_0x1F018F:
ld a,[$CA5B]
bit 2,a
jr z,Logged_0x1F01B6
ld hl,$D553
ld a,$54
ld [hli],a
ld a,$58
ld [hli],a
xor a
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$4A
ld [hl],a
call Logged_0x145A
ld hl,$D553
call Logged_0x1F0940
Logged_0x1F01B6:
ld a,[$CA5B]
bit 3,a
jr z,Logged_0x1F01DD
ld hl,$D55E
ld a,$54
ld [hli],a
ld a,$68
ld [hli],a
xor a
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$4D
ld [hl],a
call Logged_0x145A
ld hl,$D55E
call Logged_0x1F0940
Logged_0x1F01DD:
ld hl,$D56A
ld a,$64
ld [hli],a
ld a,$38
ld [hli],a
xor a
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,[$CA5B]
bit 4,a
jr z,Logged_0x1F01FD
ld a,$5C
ld [hli],a
ld a,$F0
ld [hl],a
jr Logged_0x1F0203
Logged_0x1F01FD:
ld a,$5C
ld [hli],a
ld a,$ED
ld [hl],a
Logged_0x1F0203:
call Logged_0x145A
ld hl,$D56A
call Logged_0x1F0940
ld hl,$D572
ld a,$64
ld [hli],a
ld a,$48
ld [hli],a
xor a
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,[$CA5B]
bit 5,a
jr z,Logged_0x1F022C
ld a,$5C
ld [hli],a
ld a,$F6
ld [hl],a
jr Logged_0x1F0232
Logged_0x1F022C:
ld a,$5C
ld [hli],a
ld a,$F3
ld [hl],a
Logged_0x1F0232:
call Logged_0x145A
ld hl,$D572
call Logged_0x1F0940
ld hl,$D57A
ld a,$64
ld [hli],a
ld a,$58
ld [hli],a
xor a
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,[$CA5B]
bit 6,a
jr z,Logged_0x1F025B
ld a,$5C
ld [hli],a
ld a,$F0
ld [hl],a
jr Logged_0x1F0261
Logged_0x1F025B:
ld a,$5C
ld [hli],a
ld a,$ED
ld [hl],a
Logged_0x1F0261:
call Logged_0x145A
ld hl,$D57A
call Logged_0x1F0940
ld hl,$D582
ld a,$64
ld [hli],a
ld a,$68
ld [hli],a
xor a
ld [hli],a
ld a,$04
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld a,[$CA5B]
bit 7,a
jr z,Logged_0x1F028A
ld a,$5C
ld [hli],a
ld a,$F6
ld [hl],a
jr Logged_0x1F0290
Logged_0x1F028A:
ld a,$5C
ld [hli],a
ld a,$F3
ld [hl],a
Logged_0x1F0290:
call Logged_0x145A
ld hl,$D582
call Logged_0x1F0940
ld a,$8F
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F02A2:
call Logged_0x1F09BD
ld hl,$D53A
call Logged_0x145A
ld hl,$D533
call Logged_0x1F0940
ld a,[$CA5B]
bit 0,a
jr z,Logged_0x1F02BE
ld hl,$D53B
call Logged_0x1F0940
Logged_0x1F02BE:
ld a,[$CA5B]
bit 1,a
jr z,Logged_0x1F02CB
ld hl,$D547
call Logged_0x1F0940
Logged_0x1F02CB:
ld a,[$CA5B]
bit 2,a
jr z,Logged_0x1F02D8
ld hl,$D553
call Logged_0x1F0940
Logged_0x1F02D8:
ld a,[$CA5B]
bit 3,a
jr z,Logged_0x1F02E5
ld hl,$D55E
call Logged_0x1F0940
Logged_0x1F02E5:
ld hl,$D56A
call Logged_0x1F0940
ld hl,$D572
call Logged_0x1F0940
ld hl,$D57A
call Logged_0x1F0940
ld hl,$D582
call Logged_0x1F0940
ld hl,$D532
call Logged_0x145A
ld hl,$D52B
call Logged_0x1F0940
call Logged_0x03B9
ld a,[$D513]
bit 7,a
ret z
ld a,[$D514]
and a
ret z
ld a,[$D513]
and $0F
cp $03
jr z,Logged_0x1F032E
cp $01
jr z,Logged_0x1F0331
cp $02
jp z,Logged_0x16D0
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F032E:
jp Logged_0x1426
Logged_0x1F0331:
ld a,$01
ld [$C09A],a
ld a,$08
ld [wGameSubState],a
ret
Logged_0x1F033C:
call Logged_0x08E6
call Logged_0x037D
call Logged_0x1F0969
call Logged_0x1351
xor a
ld [$CED6],a
ld a,[$D50F]
ld [$C1AC],a
ld a,[$D510]
ld [$C1AD],a
xor a
ld [$C1AF],a
ld [$C1AE],a
ld a,$01
ld [$CED8],a
call Logged_0x161A
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F0370:
ld a,$01
ld [$C09A],a
call Logged_0x08E6
call Logged_0x037D
ld a,$7D
ld [$FF00+$85],a
ld a,$17
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$24
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
call Logged_0x1F0C7E
xor a
ld [$C083],a
ld [rSCY],a
ld [$C085],a
ld [rSCX],a
xor a
ld [$C187],a
ld [$CEE4],a
ld [$CEE5],a
ld hl,$CE01
ld a,$99
ld [hli],a
ld [hl],$64
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F03D1:
ld a,[$CEE5]
inc a
ld [$CEE5],a
cp $04
ret c
xor a
ld [$CEE5],a
ld a,[$CEE4]
inc a
cp $0A
jr z,Logged_0x1F03F1
or $80
ld [$CEE4],a
ld hl,$CE02
inc [hl]
ret
Logged_0x1F03F1:
xor a
ld [$CEE4],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F03FA:
call Logged_0x08E6
ld a,[rSVBK]
push af
ld a,$03
ld [rSVBK],a
ld hl,$D2E0
ld de,$CAA1
ld b,$20
call MemCopy_DE_HL
pop af
ld [rSVBK],a
call Logged_0x1F0B3A
ld a,[$C08E]
push af
ld a,$00
ld [$C08E],a
ld [rRAMB+$100],a
ld a,$30
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$A000
ld a,$57
ld [de],a
inc e
ld a,$41
ld [de],a
inc e
ld a,$52
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$CA
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D000
ld bc,$014A
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$31
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0B9B
ld a,d
ld [$A795],a
ld [$CEE7],a
ld a,e
ld [$A796],a
ld [$CEE8],a
ld a,$32
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7E5],a
ld a,e
ld [$A7E6],a
ld a,$33
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFA5],a
ld a,e
ld [$AFA6],a
ld a,$41
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0BCC
ld a,d
ld [$A79D],a
ld [$CEE7],a
ld a,e
ld [$A79E],a
ld [$CEE8],a
ld a,$42
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7ED],a
ld a,e
ld [$A7EE],a
ld a,$43
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFAD],a
ld a,e
ld [$AFAE],a
ld a,$50
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$A800
ld a,$57
ld [de],a
inc e
ld a,$41
ld [de],a
inc e
ld a,$52
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$CA
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D000
ld bc,$014A
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$51
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0B9B
ld a,d
ld [$A797],a
ld [$CEE7],a
ld a,e
ld [$A798],a
ld [$CEE8],a
ld a,$52
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7E7],a
ld a,e
ld [$A7E8],a
ld a,$53
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFA7],a
ld a,e
ld [$AFA8],a
ld a,$60
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$A400
ld a,$57
ld [de],a
inc e
ld a,$41
ld [de],a
inc e
ld a,$52
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$CA
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D000
ld bc,$014A
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$61
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0B9B
ld a,d
ld [$A799],a
ld [$CEE7],a
ld a,e
ld [$A79A],a
ld [$CEE8],a
ld a,$62
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7E9],a
ld a,e
ld [$A7EA],a
ld a,$63
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFA9],a
ld a,e
ld [$AFAA],a
call Logged_0x1F14C6
ld a,$80
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$AC00
ld a,$57
ld [de],a
inc e
ld a,$41
ld [de],a
inc e
ld a,$52
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$CA
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D000
ld bc,$014A
call Logged_0x0434
pop af
ld [rSVBK],a
ld a,$81
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0B9B
ld a,d
ld [$A79B],a
ld [$CEE7],a
ld a,e
ld [$A79C],a
ld [$CEE8],a
ld a,$82
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7EB],a
ld a,e
ld [$A7EC],a
ld a,$83
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFAB],a
ld a,e
ld [$AFAC],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld [$C09A],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x1F0C6C
ld a,$7D
ld [$FF00+$85],a
ld a,$17
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$68
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$87
ld [rLCDC],a
xor a
ld [$CEE5],a
ld a,$02
ld [$CEE6],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F06E1:
ld a,[$C094]
bit 0,a
jr nz,Logged_0x1F06F2
ld hl,$CEE5
dec [hl]
ret nz
ld hl,$CEE6
dec [hl]
ret nz
Logged_0x1F06F2:
xor a
ld [$CEE5],a
ld [$CEE6],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F06FE:
jp Logged_0x015E
Logged_0x1F0701:
ld a,$01
ld [$C09A],a
call Logged_0x08E6
call Logged_0x12CD
call Logged_0x03AD
call Logged_0x037D
ld a,$7D
ld [$FF00+$85],a
ld a,$17
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$24
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
call Logged_0x1F0C7E
xor a
ld [$C083],a
ld [rSCY],a
ld [$C085],a
ld [rSCX],a
xor a
ld [$C187],a
ld [$CEE5],a
ld [$CEE4],a
ld hl,$CE01
ld a,$99
ld [hli],a
ld [hl],$64
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F0768:
call Logged_0x08E6
call Logged_0x1F0B3A
ld a,[$C08E]
push af
ld a,$00
ld [$C08E],a
ld [rRAMB+$100],a
ld a,$10
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$A380
ld a,$77
ld [de],a
inc e
ld a,$61
ld [de],a
inc e
ld a,$72
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$5B
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,$11
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F1228
ld a,d
ld [$A791],a
ld [$CEE7],a
ld a,e
ld [$A792],a
ld [$CEE8],a
ld a,$12
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7E1],a
ld a,e
ld [$A7E2],a
ld a,$13
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFA1],a
ld a,e
ld [$AFA2],a
ld a,$20
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld de,$AB80
ld a,$77
ld [de],a
inc e
ld a,$61
ld [de],a
inc e
ld a,$72
ld [de],a
inc e
ld a,$33
ld [de],a
inc e
ld hl,$CA00
ld b,$5B
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,$21
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,[$CEE7]
ld d,a
ld [$A793],a
ld a,[$CEE8]
ld e,a
ld [$A794],a
ld a,$22
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7E3],a
ld a,e
ld [$A7E4],a
ld a,$23
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFA3],a
ld a,e
ld [$AFA4],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
call Logged_0x1F0C6C
ld a,$7D
ld [$FF00+$85],a
ld a,$17
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
ld a,$7D
ld [$FF00+$85],a
ld a,$68
ld [$FF00+$8D],a
ld a,$41
ld [$FF00+$8E],a
call $FF80
xor a
ld [$CEE5],a
ld a,$02
ld [$CEE6],a
ld a,$87
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F08AF:
ld a,[$CEE3]
cp $F1
jr z,Logged_0x1F08D8
cp $F2
jr z,Logged_0x1F08D8
cp $F3
jr z,Logged_0x1F08E6
call Logged_0x08E6
call Logged_0x1351
xor a
ld [$C09A],a
ld a,$E7
ld [rLCDC],a
ld a,GAME_STATE_MAP
ld [wGameState],a
ld a,[$CED5]
ld [wGameSubState],a
ret
Logged_0x1F08D8:
xor a
ld [$C09A],a
ld hl,wGameState
ld [hl],GAME_STATE_CREDITS
xor a
ld [wGameSubState],a
ret
Logged_0x1F08E6:
xor a
ld [$C09A],a
ld hl,wGameState
ld [hl],GAME_STATE_GAMEOVER
xor a
ld [wGameSubState],a
ret
Logged_0x1F08F4:
jp Logged_0x015E
ld hl,$5D5D
ld bc,_VRAM
call Decompress_BC_HL
ret
Unknown_0x1F0901:
INCBIN "baserom.gbc", $1F0901, $1F0919 - $1F0901
ld hl,$7610
call Logged_0x1A15
ld hl,$7610
call Logged_0x1A21
ret
ld a,$01
ld [rVBK],a
ld hl,$767F
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$7650
ld bc,_SCRN0
call Decompress_BC_HL
ret
Logged_0x1F0940:
ld a,[hli]
add a,$10
ld [$C096],a
ld a,[hli]
add a,$08
ld [$C097],a
ld a,[hli]
ld [$C098],a
ld a,[hl]
ld [$C099],a
ld hl,$556C
call Logged_0x0DF4
ret
Logged_0x1F095B:
ld a,[$CA5C]
add a,a
add a,$A0
ld [$9DE7],a
inc a
ld [$9E07],a
ret
Logged_0x1F0969:
ld a,$02
ld [$FF00+$85],a
ld a,$72
ld [$FF00+$8D],a
ld a,$76
ld [$FF00+$8E],a
call $FF80
ld a,$02
ld [$FF00+$85],a
ld a,$81
ld [$FF00+$8D],a
ld a,$76
ld [$FF00+$8E],a
call $FF80
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$4E
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
call Logged_0x0D9E
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld a,$18
ld [$FF00+$85],a
ld a,$D7
ld [$FF00+$8D],a
ld a,$56
ld [$FF00+$8E],a
call $FF80
pop af
ld [rSVBK],a
ret
Logged_0x1F09BD:
ld a,[$D513]
bit 7,a
ret nz
ld a,[$C094]
bit 1,a
jp nz,Logged_0x1F0ABC
ld a,[$D513]
cp $01
jr z,Logged_0x1F09F0
cp $02
jr z,Logged_0x1F0A02
cp $03
jr z,Logged_0x1F0A1D
ld a,[$C094]
bit 4,a
jr nz,Logged_0x1F09E7
bit 0,a
ret z
jp Logged_0x1F0ABC
Logged_0x1F09E7:
ld a,[$CA3D]
bit 1,a
jr nz,Logged_0x1F0A45
jr Logged_0x1F0A2A
Logged_0x1F09F0:
ld a,[$C094]
bit 5,a
jp nz,Logged_0x1F0AA1
bit 4,a
jr nz,Logged_0x1F0A45
bit 0,a
ret z
jp Logged_0x1F0AE3
Logged_0x1F0A02:
ld a,[$C094]
bit 5,a
jr nz,Unknown_0x1F0A13
bit 4,a
jr nz,Logged_0x1F0A7F
bit 0,a
ret z
jp Logged_0x1F0AF1
Unknown_0x1F0A13:
ld a,[$CA3D]
bit 1,a
jp nz,Logged_0x1F0AA1
jr Logged_0x1F0A2A
Logged_0x1F0A1D:
ld a,[$C094]
bit 5,a
jr nz,Logged_0x1F0A45
bit 0,a
ret z
jp Logged_0x1F0B1E
Logged_0x1F0A2A:
ld a,$01
ld [$D513],a
ld hl,$D52B
ld a,$40
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$9C
ld [hl],a
jr Logged_0x1F0A98
Logged_0x1F0A45:
ld a,$02
ld [$D513],a
ld hl,$D52B
ld a,$38
ld [hli],a
ld a,$60
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,[$CA8E]
cp $0E
jr z,Logged_0x1F0A6C
cp $0F
jr z,Unknown_0x1F0A71
cp $4B
jr z,Logged_0x1F0A76
ld bc,$5C50
jr Logged_0x1F0A79
Logged_0x1F0A6C:
ld bc,$5CF9
jr Logged_0x1F0A79
Unknown_0x1F0A71:
ld bc,$5D1B
jr Logged_0x1F0A79
Logged_0x1F0A76:
ld bc,$5D41
Logged_0x1F0A79:
ld a,b
ld [hli],a
ld a,c
ld [hl],a
jr Logged_0x1F0A98
Logged_0x1F0A7F:
ld a,$03
ld [$D513],a
ld hl,$D52B
ld a,$40
ld [hli],a
ld a,$80
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$74
ld [hl],a
Logged_0x1F0A98:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1F0AA1:
ld a,$00
ld [$D513],a
ld hl,$D52B
ld a,$38
ld [hli],a
ld a,$20
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$B8
ld [hl],a
jr Logged_0x1F0A98
Logged_0x1F0ABC:
ld a,$00
ld [$D513],a
ld hl,$D52B
ld a,$38
ld [hli],a
ld a,$20
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$BB
ld [hl],a
ld hl,$D513
set 7,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E7
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1F0AE3:
ld hl,$D52F
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$9F
ld [hl],a
jr Logged_0x1F0B2C
Logged_0x1F0AF1:
ld hl,$D52F
xor a
ld [hli],a
ld [hli],a
ld a,[$CA8E]
cp $0E
jr z,Logged_0x1F0B0B
cp $0F
jr z,Unknown_0x1F0B10
cp $4B
jr z,Logged_0x1F0B15
ld bc,$5C69
jr Logged_0x1F0B18
Logged_0x1F0B0B:
ld bc,$5D0A
jr Logged_0x1F0B18
Unknown_0x1F0B10:
ld bc,$5D20
jr Logged_0x1F0B18
Logged_0x1F0B15:
ld bc,$5D4C
Logged_0x1F0B18:
ld a,b
ld [hli],a
ld a,c
ld [hl],a
jr Logged_0x1F0B2C
Logged_0x1F0B1E:
ld hl,$D52F
xor a
ld [hli],a
ld [hli],a
ld a,$5C
ld [hli],a
ld a,$77
ld [hl],a
jr Logged_0x1F0B2C
Logged_0x1F0B2C:
ld hl,$D513
set 7,[hl]
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E3
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1F0B3A:
ld a,[$CA03]
add a,$01
ld [$CA03],a
ld a,[$CA02]
adc a,$00
ld [$CA02],a
ld a,[$CA01]
adc a,$00
ld [$CA01],a
ld a,[$CA00]
adc a,$00
ld [$CA00],a
ret
Logged_0x1F0B5B:
ld de,$0000
ld b,$CA
call Logged_0x1F0B83
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld b,$11
call Logged_0x1F0B83
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld bc,$014A
call Logged_0x1F0B8E
pop af
ld [rSVBK],a
ret
Logged_0x1F0B83:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec b
jr nz,Logged_0x1F0B83
ret
Logged_0x1F0B8E:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec bc
ld a,b
or c
jr nz,Logged_0x1F0B83
ret
Logged_0x1F0B9B:
ld de,$0000
ld hl,$CA00
ld b,$CA
call Logged_0x1F0B83
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call Logged_0x1F0B83
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld hl,$D000
ld bc,$014A
call Logged_0x1F0B8E
pop af
ld [rSVBK],a
ret
Logged_0x1F0BCC:
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld de,$0000
ld bc,$2000
Logged_0x1F0BE1:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec c
jr nz,Logged_0x1F0BE1
dec b
jr nz,Logged_0x1F0BE1
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld bc,$1000
Logged_0x1F0C07:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec c
jr nz,Logged_0x1F0C07
dec b
jr nz,Logged_0x1F0C07
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x1F0C1C:
ld a,[$C08E]
push af
ld a,$03
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld de,$0000
ld bc,$2000
Logged_0x1F0C31:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec c
jr nz,Logged_0x1F0C31
dec b
jr nz,Logged_0x1F0C31
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$B000
ld bc,$1000
Logged_0x1F0C57:
ld a,[hli]
add a,e
ld e,a
ld a,d
adc a,$00
ld d,a
dec c
jr nz,Logged_0x1F0C57
dec b
jr nz,Logged_0x1F0C57
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x1F0C6C:
ld hl,RAMCode_0x1F0C78
ld de,$C200
ld b,Logged_0x1F0C7E - RAMCode_0x1F0C78
call MemCopy_DE_HL
ret
RAMCode_0x1F0C78:
ld a,$CC
call $FFE8
ret
Logged_0x1F0C7E:
ld hl,RAMCode_0x1F0C8A
ld de,$C200
ld b,Unknown_0x1F0CAD - RAMCode_0x1F0C8A
call MemCopy_DE_HL
ret
RAMCode_0x1F0C8A:
ld a,[$CEE4]
bit 7,a
jr z,.done
ld hl,$CE01
ld a,[hli]
ld l,[hl]
ld h,a
ld a,$01
ld [rVBK],a
ld [hl],$05
xor a
ld [rVBK],a
ld [hl],$02
ld hl,$CEE4
res 7,[hl]
.done
ld a,$CC
call $FFE8
ret
Unknown_0x1F0CAD:
ld a,[$C08E]
push af
ld a,$00
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A380
call Logged_0x1F0D2E
jr nc,Logged_0x1F0CEC
ld hl,$A000
call Logged_0x1F0D47
jr nc,Logged_0x1F0CEC
ld hl,$A400
call Logged_0x1F0D47
jr nc,Logged_0x1F0CEC
ld hl,$AB80
call Logged_0x1F0D2E
jr nc,Logged_0x1F0CEC
ld hl,$A800
call Logged_0x1F0D47
jr nc,Logged_0x1F0CEC
ld hl,$AC00
call Logged_0x1F0D47
jr nc,Logged_0x1F0CEC
jp Logged_0x1F0D0F
Logged_0x1F0CEC:
ld a,[$A790]
ld b,a
ld a,[$A7E0]
ld c,a
ld a,[$AFA0]
ld d,a
cp b
jr nz,Unknown_0x1F0D08
cp c
jr z,Logged_0x1F0D03
ld [$CEF1],a
jr Logged_0x1F0D20
Logged_0x1F0D03:
ld [$CEF1],a
jr Logged_0x1F0D20
Unknown_0x1F0D08:
cp c
jr z,Unknown_0x1F0D16
ld a,b
cp c
jr z,Unknown_0x1F0D1B
Logged_0x1F0D0F:
ld a,$FF
ld [$CEF1],a
jr Logged_0x1F0D20
Unknown_0x1F0D16:
ld [$CEF1],a
jr Logged_0x1F0D20
Unknown_0x1F0D1B:
ld [$CEF1],a
jr Logged_0x1F0D20
Logged_0x1F0D20:
call Logged_0x1F0D60
call Logged_0x1F1246
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ret
Logged_0x1F0D2E:
ld a,[hli]
cp $77
jr nz,Logged_0x1F0D45
ld a,[hli]
cp $61
jr nz,Logged_0x1F0D45
ld a,[hli]
cp $72
jr nz,Logged_0x1F0D45
ld a,[hli]
cp $33
jr nz,Logged_0x1F0D45
scf
ccf
ret
Logged_0x1F0D45:
scf
ret
Logged_0x1F0D47:
ld a,[hli]
cp $57
jr nz,Logged_0x1F0D5E
ld a,[hli]
cp $41
jr nz,Logged_0x1F0D5E
ld a,[hli]
cp $52
jr nz,Logged_0x1F0D5E
ld a,[hli]
cp $33
jr nz,Logged_0x1F0D5E
scf
ccf
ret
Logged_0x1F0D5E:
scf
ret
Logged_0x1F0D60:
xor a
ld [$CEEE],a
ld hl,$A380
call Logged_0x1F0D2E
jr c,Logged_0x1F0DCC
ld a,[$A791]
ld b,a
ld a,[$A792]
ld c,a
ld a,[$A7E1]
ld d,a
ld a,[$A7E2]
ld e,a
ld a,[$AFA1]
ld h,a
ld a,[$AFA2]
ld l,a
call Logged_0x1F1153
ld hl,$A384
call Logged_0x1F1210
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F0D9B
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F0D9B
jr Logged_0x1F0DC2
Unknown_0x1F0D9B:
ld a,[$CEF0]
and a
jr z,Logged_0x1F0DCC
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F0DAF
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F0DAF
jr Logged_0x1F0DC2
Unknown_0x1F0DAF:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F0DCC
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F0DCC
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F0DCC
Logged_0x1F0DC2:
ld hl,$A384
ld hl,$CEEE
set 0,[hl]
jr Logged_0x1F0DE9
Logged_0x1F0DCC:
ld a,$10
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A380
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
Logged_0x1F0DE9:
ld hl,$AB80
call Logged_0x1F0D2E
jr c,Logged_0x1F0E51
ld a,[$A793]
ld b,a
ld a,[$A794]
ld c,a
ld a,[$A7E3]
ld d,a
ld a,[$A7E4]
ld e,a
ld a,[$AFA3]
ld h,a
ld a,[$AFA4]
ld l,a
call Logged_0x1F1153
ld hl,$AB84
call Logged_0x1F1210
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F0E20
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F0E20
jr Logged_0x1F0E47
Unknown_0x1F0E20:
ld a,[$CEF0]
and a
jr z,Logged_0x1F0E51
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F0E34
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F0E34
jr Logged_0x1F0E47
Unknown_0x1F0E34:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F0E51
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F0E51
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F0E51
Logged_0x1F0E47:
ld hl,$AB84
ld hl,$CEEE
set 1,[hl]
jr Logged_0x1F0E6E
Logged_0x1F0E51:
ld a,$20
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$AB80
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
Logged_0x1F0E6E:
ld a,[$A79D]
ld b,a
ld a,[$A79E]
ld c,a
ld a,[$A7ED]
ld d,a
ld a,[$A7EE]
ld e,a
ld a,[$AFAD]
ld h,a
ld a,[$AFAE]
ld l,a
call Logged_0x1F1153
call Logged_0x1F0BCC
ld a,[$CEE7]
cp d
jr nz,Logged_0x1F0E9A
ld a,[$CEE8]
cp e
jr nz,Logged_0x1F0E9A
jr Logged_0x1F0EC1
Logged_0x1F0E9A:
ld a,[$CEF0]
and a
jr z,Logged_0x1F0EFD
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F0EAE
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F0EAE
jr Logged_0x1F0EC1
Unknown_0x1F0EAE:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F0EFD
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F0EFD
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F0EFD
Logged_0x1F0EC1:
ld hl,$CEEE
set 6,[hl]
ld hl,$A000
call Logged_0x1F0D47
jr c,Logged_0x1F0F2F
ld a,[$A795]
ld b,a
ld a,[$A796]
ld c,a
ld a,[$A7E5]
ld d,a
ld a,[$A7E6]
ld e,a
ld a,[$AFA5]
ld h,a
ld a,[$AFA6]
ld l,a
call Logged_0x1F1153
ld hl,$A004
call Logged_0x1F0B5B
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F0F00
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F0F00
jr Logged_0x1F0F27
Logged_0x1F0EFD:
jp Logged_0x1F0FB2
Unknown_0x1F0F00:
ld a,[$CEF0]
and a
jr z,Logged_0x1F0F2F
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F0F14
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F0F14
jr Logged_0x1F0F27
Unknown_0x1F0F14:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F0F2F
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F0F2F
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F0F2F
Logged_0x1F0F27:
ld hl,$CEEE
set 2,[hl]
jp Logged_0x1F0FE2
Logged_0x1F0F2F:
ld a,$30
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A000
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld hl,$A800
call Logged_0x1F0D47
jr c,Logged_0x1F0FB2
ld a,[$A797]
ld b,a
ld a,[$A798]
ld c,a
ld a,[$A7E7]
ld d,a
ld a,[$A7E8]
ld e,a
ld a,[$AFA7]
ld h,a
ld a,[$AFA8]
ld l,a
call Logged_0x1F1153
ld hl,$A804
call Logged_0x1F0B5B
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F0F83
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F0F83
jr Unknown_0x1F0FAA
Unknown_0x1F0F83:
ld a,[$CEF0]
and a
jr z,Logged_0x1F0FB2
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F0F97
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F0F97
jr Unknown_0x1F0FAA
Unknown_0x1F0F97:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F0FB2
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F0FB2
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F0FB2
Unknown_0x1F0FAA:
ld hl,$CEEE
set 3,[hl]
jp Logged_0x1F0FE2
Logged_0x1F0FB2:
ld a,$30
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A000
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$50
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A800
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
Logged_0x1F0FE2:
ld a,[$A79F]
ld b,a
ld a,[$A7A0]
ld c,a
ld a,[$A7EF]
ld d,a
ld a,[$A7F0]
ld e,a
ld a,[$AFAF]
ld h,a
ld a,[$AFB0]
ld l,a
call Logged_0x1F1153
call Logged_0x1F0C1C
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F100E
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F100E
jr Logged_0x1F1035
Unknown_0x1F100E:
ld a,[$CEF0]
and a
jr z,Unknown_0x1F1071
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F1022
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F1022
jr Logged_0x1F1035
Unknown_0x1F1022:
ld a,[$CEF0]
cp $07
jr nz,Unknown_0x1F1071
ld a,[$CEEB]
cp d
jr nz,Unknown_0x1F1071
ld a,[$CEEC]
cp e
jr nz,Unknown_0x1F1071
Logged_0x1F1035:
ld hl,$CEEE
set 7,[hl]
ld hl,$A400
call Logged_0x1F0D47
jr c,Logged_0x1F10A1
ld a,[$A799]
ld b,a
ld a,[$A79A]
ld c,a
ld a,[$A7E9]
ld d,a
ld a,[$A7EA]
ld e,a
ld a,[$AFA9]
ld h,a
ld a,[$AFAA]
ld l,a
call Logged_0x1F1153
ld hl,$A404
call Logged_0x1F0B5B
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F1074
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F1074
jr Logged_0x1F109B
Unknown_0x1F1071:
jp Logged_0x1F1122
Unknown_0x1F1074:
ld a,[$CEF0]
and a
jr z,Logged_0x1F10A1
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F1088
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F1088
jr Logged_0x1F109B
Unknown_0x1F1088:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F10A1
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F10A1
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F10A1
Logged_0x1F109B:
ld hl,$CEEE
set 4,[hl]
ret
Logged_0x1F10A1:
ld a,$60
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A400
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld hl,$AC00
call Logged_0x1F0D47
jr c,Logged_0x1F1122
ld a,[$A79B]
ld b,a
ld a,[$A79C]
ld c,a
ld a,[$A7EB]
ld d,a
ld a,[$A7EC]
ld e,a
ld a,[$AFAB]
ld h,a
ld a,[$AFAC]
ld l,a
call Logged_0x1F1153
ld hl,$AC04
call Logged_0x1F0B5B
ld a,[$CEE7]
cp d
jr nz,Unknown_0x1F10F5
ld a,[$CEE8]
cp e
jr nz,Unknown_0x1F10F5
jr Unknown_0x1F111C
Unknown_0x1F10F5:
ld a,[$CEF0]
and a
jr z,Logged_0x1F1122
ld a,[$CEE9]
cp d
jr nz,Unknown_0x1F1109
ld a,[$CEEA]
cp e
jr nz,Unknown_0x1F1109
jr Unknown_0x1F111C
Unknown_0x1F1109:
ld a,[$CEF0]
cp $07
jr nz,Logged_0x1F1122
ld a,[$CEEB]
cp d
jr nz,Logged_0x1F1122
ld a,[$CEEC]
cp e
jr nz,Logged_0x1F1122
Unknown_0x1F111C:
ld hl,$CEEE
set 5,[hl]
ret
Logged_0x1F1122:
ld a,$60
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$A400
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$80
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
xor a
ld hl,$AC00
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ret
Logged_0x1F1153:
ld a,h
cp b
jr nz,Unknown_0x1F1160
cp d
jr z,Logged_0x1F1175
ld a,c
cp l
jr nz,Unknown_0x1F1185
jr Unknown_0x1F11BF
Unknown_0x1F1160:
cp d
jr z,Unknown_0x1F1169
ld a,b
cp d
jr z,Unknown_0x1F116F
jr Unknown_0x1F1185
Unknown_0x1F1169:
ld a,e
cp l
jr nz,Unknown_0x1F1185
jr Unknown_0x1F11DB
Unknown_0x1F116F:
ld a,c
cp e
jr nz,Unknown_0x1F1185
jr Unknown_0x1F11A3
Logged_0x1F1175:
ld a,l
cp c
jr nz,Unknown_0x1F117E
cp e
jr z,Logged_0x1F11F7
jr Unknown_0x1F11BF
Unknown_0x1F117E:
cp e
jr z,Unknown_0x1F11DB
ld a,c
cp e
jr z,Unknown_0x1F11A3
Unknown_0x1F1185:
ld a,$07
ld [$CEF0],a
ld a,b
ld [$CEE7],a
ld a,d
ld [$CEE9],a
ld a,h
ld [$CEEB],a
ld a,c
ld [$CEE8],a
ld a,e
ld [$CEEA],a
ld a,l
ld [$CEEC],a
ret
Unknown_0x1F11A3:
ld a,$04
ld [$CEF0],a
ld a,b
ld [$CEE7],a
ld [$CEEB],a
ld a,h
ld [$CEE9],a
ld a,c
ld [$CEE8],a
ld [$CEEC],a
ld a,l
ld [$CEEA],a
ret
Unknown_0x1F11BF:
ld a,$02
ld [$CEF0],a
ld a,b
ld [$CEE7],a
ld [$CEEB],a
ld a,d
ld [$CEE9],a
ld a,c
ld [$CEE8],a
ld [$CEEC],a
ld a,e
ld [$CEEA],a
ret
Unknown_0x1F11DB:
ld a,$01
ld [$CEF0],a
ld a,d
ld [$CEE7],a
ld [$CEEB],a
ld a,b
ld [$CEE9],a
ld a,e
ld [$CEE8],a
ld [$CEEC],a
ld a,c
ld [$CEEA],a
ret
Logged_0x1F11F7:
xor a
ld [$CEF0],a
ld a,b
ld [$CEE7],a
ld [$CEE9],a
ld [$CEEB],a
ld a,c
ld [$CEE8],a
ld [$CEEA],a
ld [$CEEC],a
ret
Logged_0x1F1210:
ld de,$0000
ld b,$5B
call Logged_0x1F0B83
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld b,$11
call Logged_0x1F0B83
pop af
ld [rSVBK],a
ret
Logged_0x1F1228:
ld de,$0000
ld hl,$CA00
ld b,$5B
call Logged_0x1F0B83
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld hl,$D000
ld b,$11
call Logged_0x1F0B83
pop af
ld [rSVBK],a
ret
Logged_0x1F1246:
xor a
ld [$CEEF],a
ld a,[$CEEE]
and $3F
jr nz,Logged_0x1F1266
Logged_0x1F1251:
ld hl,$CA07
ld b,$32
ld a,$AA
call Logged_0x0420
ld hl,$CA42
ld b,$04
ld a,$AA
call Logged_0x0420
ret
Logged_0x1F1266:
ld b,a
ld a,$3F
and b
ld [$CEEF],a
ld bc,$0600
Logged_0x1F1270:
rrca
jr nc,Logged_0x1F1274
inc c
Logged_0x1F1274:
dec b
jr nz,Logged_0x1F1270
ld a,c
dec a
jp z,Logged_0x1F1389
ld hl,$A384
ld de,$AFE0
ld b,$04
call MemCopy_DE_HL
ld hl,$AB84
ld de,$AFE4
ld b,$04
call MemCopy_DE_HL
ld hl,$A004
ld de,$AFE8
ld b,$04
call MemCopy_DE_HL
ld hl,$A804
ld de,$AFEC
ld b,$04
call MemCopy_DE_HL
ld hl,$A404
ld de,$AFF0
ld b,$04
call MemCopy_DE_HL
ld hl,$AC04
ld de,$AFF4
ld b,$04
call MemCopy_DE_HL
ld e,$21
Logged_0x1F12C0:
dec e
jp z,Logged_0x1F1389
xor a
ld [$AFF8],a
ld a,[$CEEF]
bit 0,a
jr z,Logged_0x1F12E4
ld hl,$AFE3
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F12E4
ld hl,$AFF8
set 0,[hl]
Logged_0x1F12E4:
ld a,[$CEEF]
bit 1,a
jr z,Logged_0x1F1300
ld hl,$AFE7
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F1300
ld hl,$AFF8
set 1,[hl]
Logged_0x1F1300:
ld a,[$CEEF]
bit 2,a
jr z,Logged_0x1F131C
ld hl,$AFEB
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F131C
ld hl,$AFF8
set 2,[hl]
Logged_0x1F131C:
ld a,[$CEEF]
bit 3,a
jr z,Logged_0x1F1338
ld hl,$AFEF
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F1338
ld hl,$AFF8
set 3,[hl]
Logged_0x1F1338:
ld a,[$CEEF]
bit 4,a
jr z,Logged_0x1F1354
ld hl,$AFF3
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F1354
ld hl,$AFF8
set 4,[hl]
Logged_0x1F1354:
ld a,[$CEEF]
bit 5,a
jr z,Logged_0x1F1370
ld hl,$AFF7
sla [hl]
dec l
rl [hl]
dec l
rl [hl]
dec l
rl [hl]
jr nc,Logged_0x1F1370
ld hl,$AFF8
set 5,[hl]
Logged_0x1F1370:
ld a,[$AFF8]
and a
jp z,Logged_0x1F12C0
ld [$CEEF],a
ld bc,$0600
Logged_0x1F137D:
rrca
jr nc,Logged_0x1F1381
inc c
Logged_0x1F1381:
dec b
jr nz,Logged_0x1F137D
ld a,c
dec a
jp nz,Logged_0x1F12C0
Logged_0x1F1389:
ld a,[$CEEF]
bit 0,a
jr nz,Logged_0x1F13A7
bit 1,a
jr nz,Unknown_0x1F13AE
bit 2,a
jr nz,Logged_0x1F13B5
bit 3,a
jr nz,Unknown_0x1F13BC
bit 4,a
jr nz,Unknown_0x1F13C3
bit 5,a
jr nz,Unknown_0x1F13CD
jp Logged_0x1F1251
Logged_0x1F13A7:
ld hl,$A384
call Logged_0x1F13D7
ret
Unknown_0x1F13AE:
ld hl,$AB84
call Logged_0x1F13D7
ret
Logged_0x1F13B5:
ld hl,$A004
call Logged_0x1F13F2
ret
Unknown_0x1F13BC:
ld hl,$A804
call Logged_0x1F13F2
ret
Unknown_0x1F13C3:
ld hl,$A404
call Logged_0x1F13F2
call Unknown_0x1F1420
ret
Unknown_0x1F13CD:
ld hl,$AC04
call Logged_0x1F13F2
call Unknown_0x1F1420
ret
Logged_0x1F13D7:
ld de,$CA00
ld b,$5B
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld de,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ret
Logged_0x1F13F2:
ld de,$CA00
ld b,$CA
call MemCopy_DE_HL
ld a,[rSVBK]
push af
ld a,$02
ld [rSVBK],a
ld de,$D000
ld b,$11
call MemCopy_DE_HL
pop af
ld [rSVBK],a
ld a,[rSVBK]
push af
ld a,$01
ld [rSVBK],a
ld de,$D000
ld bc,$014A
call Logged_0x0434
pop af
ld [rSVBK],a
ret
Unknown_0x1F1420:
ld a,$40
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$B000
ld de,$A000
ld bc,$1000
call Logged_0x0434
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld bc,$2000
Unknown_0x1F1450:
ld a,[$C08E]
push af
ld a,$03
ld [$C08E],a
ld [rRAMB+$100],a
ld d,[hl]
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld a,d
ld [hli],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
dec c
jr nz,Unknown_0x1F1450
dec b
jr nz,Unknown_0x1F1450
ld a,$41
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0BCC
ld a,d
ld [$A79D],a
ld a,e
ld [$A79E],a
ld a,$42
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7ED],a
ld a,e
ld [$A7EE],a
ld a,$43
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFAD],a
ld a,e
ld [$AFAE],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ret
Logged_0x1F14C6:
ld a,$70
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,[$C08E]
push af
ld a,$02
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld de,$B000
ld bc,$1000
call Logged_0x0434
pop af
ld [$C08E],a
ld [rRAMB+$100],a
ld hl,$A000
ld bc,$2000
Logged_0x1F14F6:
ld a,[$C08E]
push af
ld a,$01
ld [$C08E],a
ld [rRAMB+$100],a
ld d,[hl]
ld a,[$C08E]
push af
ld a,$03
ld [$C08E],a
ld [rRAMB+$100],a
ld a,d
ld [hli],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
pop af
ld [$C08E],a
ld [rRAMB+$100],a
dec c
jr nz,Logged_0x1F14F6
dec b
jr nz,Logged_0x1F14F6
ld a,$71
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
call Logged_0x1F0C1C
ld a,d
ld [$A79F],a
ld a,e
ld [$A7A0],a
ld a,$72
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$A7EF],a
ld a,e
ld [$A7F0],a
ld a,$73
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ld a,d
ld [$AFAF],a
ld a,e
ld [$AFB0],a
xor a
ld [$A790],a
ld [$A7E0],a
ld [$AFA0],a
ret
LoggedData_0x1F156C:
INCBIN "baserom.gbc", $1F156C, $1F157A - $1F156C
Unknown_0x1F157A:
INCBIN "baserom.gbc", $1F157A, $1F157E - $1F157A
LoggedData_0x1F157E:
INCBIN "baserom.gbc", $1F157E, $1F158C - $1F157E
Unknown_0x1F158C:
INCBIN "baserom.gbc", $1F158C, $1F158E - $1F158C
LoggedData_0x1F158E:
INCBIN "baserom.gbc", $1F158E, $1F15B4 - $1F158E
Unknown_0x1F15B4:
INCBIN "baserom.gbc", $1F15B4, $1F15BA - $1F15B4
LoggedData_0x1F15BA:
INCBIN "baserom.gbc", $1F15BA, $1F15BC - $1F15BA
Unknown_0x1F15BC:
INCBIN "baserom.gbc", $1F15BC, $1F15C0 - $1F15BC
LoggedData_0x1F15C0:
INCBIN "baserom.gbc", $1F15C0, $1F15C4 - $1F15C0
Unknown_0x1F15C4:
INCBIN "baserom.gbc", $1F15C4, $1F15CE - $1F15C4
LoggedData_0x1F15CE:
INCBIN "baserom.gbc", $1F15CE, $1F15D0 - $1F15CE
Unknown_0x1F15D0:
INCBIN "baserom.gbc", $1F15D0, $1F15D2 - $1F15D0
LoggedData_0x1F15D2:
INCBIN "baserom.gbc", $1F15D2, $1F163D - $1F15D2
Unknown_0x1F163D:
INCBIN "baserom.gbc", $1F163D, $1F169F - $1F163D
LoggedData_0x1F169F:
INCBIN "baserom.gbc", $1F169F, $1F1915 - $1F169F
Unknown_0x1F1915:
INCBIN "baserom.gbc", $1F1915, $1F1954 - $1F1915
LoggedData_0x1F1954:
INCBIN "baserom.gbc", $1F1954, $1F1989 - $1F1954
Unknown_0x1F1989:
INCBIN "baserom.gbc", $1F1989, $1F19FB - $1F1989
LoggedData_0x1F19FB:
INCBIN "baserom.gbc", $1F19FB, $1F1A75 - $1F19FB
Unknown_0x1F1A75:
INCBIN "baserom.gbc", $1F1A75, $1F1B7E - $1F1A75
LoggedData_0x1F1B7E:
INCBIN "baserom.gbc", $1F1B7E, $1F1BAB - $1F1B7E
Unknown_0x1F1BAB:
INCBIN "baserom.gbc", $1F1BAB, $1F1BD8 - $1F1BAB
LoggedData_0x1F1BD8:
INCBIN "baserom.gbc", $1F1BD8, $1F1C4C - $1F1BD8
Unknown_0x1F1C4C:
INCBIN "baserom.gbc", $1F1C4C, $1F1C4D - $1F1C4C
LoggedData_0x1F1C4D:
INCBIN "baserom.gbc", $1F1C4D, $1F1C4F - $1F1C4D
Unknown_0x1F1C4F:
INCBIN "baserom.gbc", $1F1C4F, $1F1C50 - $1F1C4F
LoggedData_0x1F1C50:
INCBIN "baserom.gbc", $1F1C50, $1F1C52 - $1F1C50
Unknown_0x1F1C52:
INCBIN "baserom.gbc", $1F1C52, $1F1C69 - $1F1C52
LoggedData_0x1F1C69:
INCBIN "baserom.gbc", $1F1C69, $1F1C9E - $1F1C69
Unknown_0x1F1C9E:
INCBIN "baserom.gbc", $1F1C9E, $1F1C9F - $1F1C9E
LoggedData_0x1F1C9F:
INCBIN "baserom.gbc", $1F1C9F, $1F1CEF - $1F1C9F
Unknown_0x1F1CEF:
INCBIN "baserom.gbc", $1F1CEF, $1F1CF0 - $1F1CEF
LoggedData_0x1F1CF0:
INCBIN "baserom.gbc", $1F1CF0, $1F1CF2 - $1F1CF0
Unknown_0x1F1CF2:
INCBIN "baserom.gbc", $1F1CF2, $1F1CF3 - $1F1CF2
LoggedData_0x1F1CF3:
INCBIN "baserom.gbc", $1F1CF3, $1F1CF5 - $1F1CF3
Unknown_0x1F1CF5:
INCBIN "baserom.gbc", $1F1CF5, $1F1CF6 - $1F1CF5
LoggedData_0x1F1CF6:
INCBIN "baserom.gbc", $1F1CF6, $1F1CF8 - $1F1CF6
Unknown_0x1F1CF8:
INCBIN "baserom.gbc", $1F1CF8, $1F1CF9 - $1F1CF8
LoggedData_0x1F1CF9:
INCBIN "baserom.gbc", $1F1CF9, $1F1CFB - $1F1CF9
Unknown_0x1F1CFB:
INCBIN "baserom.gbc", $1F1CFB, $1F1D0A - $1F1CFB
LoggedData_0x1F1D0A:
INCBIN "baserom.gbc", $1F1D0A, $1F1D1B - $1F1D0A
Unknown_0x1F1D1B:
INCBIN "baserom.gbc", $1F1D1B, $1F1D41 - $1F1D1B
LoggedData_0x1F1D41:
INCBIN "baserom.gbc", $1F1D41, $1F1D43 - $1F1D41
Unknown_0x1F1D43:
INCBIN "baserom.gbc", $1F1D43, $1F1D4C - $1F1D43
LoggedData_0x1F1D4C:
INCBIN "baserom.gbc", $1F1D4C, $1F2BC2 - $1F1D4C
Unknown_0x1F2BC2:
INCBIN "baserom.gbc", $1F2BC2, $1F3610 - $1F2BC2
LoggedData_0x1F3610:
INCBIN "baserom.gbc", $1F3610, $1F369E - $1F3610
Unknown_0x1F369E:
INCBIN "baserom.gbc", $1F369E, $1F4000 - $1F369E
SECTION "Bank7D", ROMX, BANK[$7D]
ld hl,$4182
call Logged_0x1A15
ld hl,$41C2
call Logged_0x1A21
ret
ld hl,$4202
ld bc,_VRAM
call Decompress_BC_HL
ld a,[$CA8E]
cp $0E
jr z,Logged_0x1F4026
cp $0F
jr z,Logged_0x1F402B
cp $4B
jr z,Logged_0x1F4030
ret
Logged_0x1F4026:
ld hl,$57E1
jr Logged_0x1F4035
Logged_0x1F402B:
ld hl,$59E1
jr Logged_0x1F4035
Logged_0x1F4030:
ld hl,$5BE1
jr Logged_0x1F4035
Logged_0x1F4035:
ld de,_VRAM
ld bc,$0200
call Logged_0x0434
ret
ld a,[$CA3D]
bit 1,a
jr nz,Unknown_0x1F4060
ld a,$01
ld [rVBK],a
ld hl,$5F49
ld bc,_SCRN1
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$5DE1
ld bc,_SCRN1
call Decompress_BC_HL
ret
Unknown_0x1F4060:
ld a,$01
ld [rVBK],a
ld hl,$6194
ld bc,_SCRN1
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$603A
ld bc,_SCRN1
call Decompress_BC_HL
ld a,[$CA06]
srl a
srl a
srl a
add a,a
ld e,a
ld d,$00
ld hl,$CA07
add hl,de
ld a,[hli]
ld [$D511],a
ld a,[hl]
ld [$D512],a
ld hl,$9C44
ld bc,$FFE0
ld de,$0020
ld a,[$D511]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$D511]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
inc l
ld a,[$D512]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$D512]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld hl,$9C4B
ld bc,$FFE0
ld de,$0020
ld a,[$C0E2]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$C0E2]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
inc l
ld a,[$C0E3]
swap a
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ld a,[$C0E3]
and $0F
add a,a
add a,$A0
ld [hl],a
add hl,de
inc a
ld [hli],a
add hl,bc
ret
ld hl,$628C
call Logged_0x1A15
ld hl,$628C
call Logged_0x1A21
ret
xor a
ld [rVBK],a
ld hl,$62CC
ld bc,_VRAM
ld a,$7D
ld [$FF00+$85],a
ld a,$09
ld [$FF00+$8D],a
ld a,$09
ld [$FF00+$8E],a
call $FF80
ld hl,$6800
ld de,_VRAM
ld bc,$0800
ld a,$76
ld [$C0AC],a
call Logged_0x0443
ret
ld a,$01
ld [rVBK],a
ld hl,$69F9
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$6949
ld bc,_SCRN0
call Decompress_BC_HL
ret
ld a,$01
ld [rVBK],a
ld hl,$6AC2
ld bc,_SCRN0
call Decompress_BC_HL
xor a
ld [rVBK],a
ld hl,$6A2E
ld bc,_SCRN0
call Decompress_BC_HL
ret
LoggedData_0x1F4182:
INCBIN "baserom.gbc", $1F4182, $1F603A - $1F4182
Unknown_0x1F603A:
INCBIN "baserom.gbc", $1F603A, $1F628C - $1F603A
LoggedData_0x1F628C:
INCBIN "baserom.gbc", $1F628C, $1F6AF3 - $1F628C
Unknown_0x1F6AF3:
INCBIN "baserom.gbc", $1F6AF3, $1F8000 - $1F6AF3
SECTION "Bank7E", ROMX, BANK[$7E]
ld a,[wGameSubState]
rst JumpList
dw Logged_0x0474
dw Logged_0x1F8022
dw Logged_0x05E6
dw Logged_0x1F8194
dw Logged_0x0474
dw Logged_0x1440
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
dw Unknown_0x028D
Logged_0x1F8022:
call Logged_0x08E6
ld a,$00
ld [$FF00+hMusicIDHigh],a
ld a,$2E
ld [$FF00+hMusicIDLow],a
xor a
ld [$D50C],a
ld [$CEE5],a
ld b,$00
ld a,[$CA3C]
and $40
jr z,Logged_0x1F8040
ld a,[$FF00+$FC]
ld b,a
Logged_0x1F8040:
ld a,[$CA8E]
cp $0E
jr z,Logged_0x1F8056
cp $0F
jr z,Unknown_0x1F805A
cp $4B
jr z,Logged_0x1F805E
ld a,[$CA3C]
and $3F
jr Logged_0x1F8060
Logged_0x1F8056:
ld a,$0A
jr Logged_0x1F8060
Unknown_0x1F805A:
ld a,$0B
jr Logged_0x1F8060
Logged_0x1F805E:
ld a,$0C
Logged_0x1F8060:
add a,b
cp $0D
jr c,Logged_0x1F8067
sub $0D
Logged_0x1F8067:
ld [$D50B],a
ld a,[$FF00+$FC]
inc a
cp $0D
jr c,Logged_0x1F8072
xor a
Logged_0x1F8072:
ld [$FF00+$FC],a
xor a
ld [$C1AC],a
ld [$C1AD],a
ld [$C1AF],a
ld [$C1AE],a
ld [$CED8],a
call Logged_0x038B
call Logged_0x037D
ld a,$79
ld [$FF00+$85],a
ld a,$C8
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld a,$79
ld [$FF00+$85],a
ld a,$D4
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld a,$79
ld [$FF00+$85],a
ld a,$0D
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
ld a,$79
ld [$FF00+$85],a
ld a,$33
ld [$FF00+$8D],a
ld a,$49
ld [$FF00+$8E],a
call $FF80
call Logged_0x1FB6B7
xor a
ld [rSCX],a
ld [$C085],a
ld a,$04
ld [rSCY],a
ld [$C083],a
ld hl,$D523
ld a,$90
ld [hli],a
ld a,[$D50B]
swap a
add a,$08
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$8E
ld [hl],a
ld hl,$D52B
ld a,$77
ld [hli],a
ld a,$3F
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$76
ld [hl],a
ld hl,$D533
ld a,$7D
ld [hli],a
ld a,$67
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$6D
ld [hl],a
ld hl,$D53A
ld a,$79
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$79
ld [$FF00+$85],a
ld a,$4D
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,[$CA3C]
and $40
jr z,Logged_0x1F8185
ld a,[$D50B]
cp $0A
jr nc,Logged_0x1F8185
ld a,$01
ld [rVBK],a
ld a,[$CA3C]
and $3F
ld e,a
ld hl,$9E00
sla e
ld d,$00
add hl,de
ld e,$20
ld a,$03
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
ld a,[$D50B]
ld e,a
ld a,[$CA3C]
and $3F
cp e
jr c,Logged_0x1F8185
ld hl,$7780
ld d,$00
add hl,de
ld b,[hl]
ld hl,$9E00
sla e
add hl,de
ld e,$20
ld a,b
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
Logged_0x1F8185:
xor a
ld [rVBK],a
call Logged_0x03B9
ld a,$8F
ld [rLCDC],a
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F8194:
ld a,$02
ld b,$20
ld d,$0F
ld e,$0F
call Logged_0x102C
ld a,[$CA3C]
and $80
jr nz,Logged_0x1F81AE
ld a,[$C094]
and $0B
jp nz,Logged_0x1F824C
Logged_0x1F81AE:
ld hl,$D50A
inc [hl]
ld a,[$D50B]
and $3F
cp $0A
jr c,Logged_0x1F81CC
ld a,$79
ld [$FF00+$85],a
ld a,$00
ld [$FF00+$8D],a
ld a,$40
ld [$FF00+$8E],a
call $FF80
jr Logged_0x1F8200
Logged_0x1F81CC:
call Logged_0x0302
ld a,[$CA3C]
and $C0
jr nz,Logged_0x1F81D9
call Logged_0x1FB6F7
Logged_0x1F81D9:
call Logged_0x1F826D
ld hl,$D52A
ld a,$79
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D523
ld a,$79
ld [$FF00+$85],a
ld a,$4D
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
Logged_0x1F8200:
ld hl,$D532
ld a,$79
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D52B
ld a,$79
ld [$FF00+$85],a
ld a,$4D
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D53A
ld a,$79
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D533
ld a,$79
ld [$FF00+$85],a
ld a,$4D
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
call Logged_0x03B9
ret
Logged_0x1F824C:
ld a,[$CA3C]
and $40
jp nz,Logged_0x0161
xor a
ld [$C1AC],a
ld [$C1AD],a
ld [$C1AF],a
ld [$C1AE],a
xor a
ld [$D50D],a
call Logged_0x1795
ld hl,wGameSubState
inc [hl]
ret
Logged_0x1F826D:
ld a,[$D50B]
rst JumpList
dw Unknown_0x1F8285
dw Logged_0x1F88AF
dw Logged_0x1F8DCF
dw Logged_0x1F91C5
dw Logged_0x1F9453
dw Logged_0x1F9BA2
dw Logged_0x1FA3EF
dw Logged_0x1FA83F
dw Logged_0x1FACE4
dw Logged_0x1FB0AC
Unknown_0x1F8285:
call Unknown_0x1F831C
ld a,[$D509]
and a
jp nz,Unknown_0x1F831B
ld a,[$D50E]
and a
jr nz,Unknown_0x1F82F7
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Unknown_0x1F82F7:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Unknown_0x1F831B:
ret
Unknown_0x1F831C:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Unknown_0x1F8395
dw Unknown_0x1F83BA
dw Unknown_0x1F83D5
dw Unknown_0x1F842E
dw Unknown_0x1F847A
dw Logged_0x1FB609
dw Unknown_0x1F848C
dw Unknown_0x1F84D7
dw Unknown_0x1F8522
dw Unknown_0x1F853A
dw Unknown_0x1F8588
dw Unknown_0x1F85C3
dw Unknown_0x1F85D3
dw Unknown_0x1F85EB
dw Unknown_0x1F8638
dw Unknown_0x1F8673
dw Unknown_0x1F8683
dw Unknown_0x1F86B5
dw Unknown_0x1F86EE
dw Unknown_0x1F8708
dw Unknown_0x1F8730
dw Unknown_0x1F8778
dw Unknown_0x1F8788
dw Logged_0x1FB5A1
dw Unknown_0x1F87A1
dw Unknown_0x1F87BD
dw Unknown_0x1F87D6
dw Unknown_0x1F87FB
dw Unknown_0x1F883C
dw Unknown_0x1F884C
dw Unknown_0x1F886B
dw Unknown_0x1F88A4
Logged_0x1F8362:
ld a,[$CA3C]
bit 7,a
jr nz,Unknown_0x1F8370
bit 6,a
jr z,Unknown_0x1F8388
jp Logged_0x0161
Unknown_0x1F8370:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F8388:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Unknown_0x1F839A
Unknown_0x1F8395:
ld hl,$CEE5
dec [hl]
ret nz
Unknown_0x1F839A:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBCD2
call Logged_0x1FB7FF
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F83BA:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F83C6
dec [hl]
Unknown_0x1F83C6:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F83D5:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
jr c,Unknown_0x1F83F8
ld a,[$D515]
cp $34
jr c,Unknown_0x1F83F8
jr Unknown_0x1F8419
Unknown_0x1F83F8:
ld hl,$D53C
ld a,[$D516]
cp [hl]
ret z
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8409
dec [hl]
Unknown_0x1F8409:
ld a,[$D516]
cp [hl]
ret c
ld a,[$D516]
ld [hl],a
call Logged_0x1FB7D8
call Logged_0x1FB78A
ret
Unknown_0x1F8419:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,$0A
ld [$D51D],a
call Logged_0x1FBCF2
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F842E:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
cp $40
jr nc,Unknown_0x1F8459
ld hl,$D53C
inc [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8458
inc [hl]
Unknown_0x1F8458:
ret
Unknown_0x1F8459:
ld a,$40
ld [$D53B],a
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F847A:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F848C:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1F84A3
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Unknown_0x1F84A3:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F84B7
dec [hl]
Unknown_0x1F84B7:
ld a,[hl]
cp $4C
ret nc
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
call Logged_0x1FB7D8
xor a
ld [$D51D],a
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F84D7:
ld hl,$D53C
inc [hl]
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Unknown_0x1F84E8
ld a,$27
ld [hl],a
Unknown_0x1F84E8:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
cp $80
ret c
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$A5
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
xor a
ld [$D51D],a
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8522:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $78
ret nc
call Logged_0x1FB7F2
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F853A:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1F8551
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Unknown_0x1F8551:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8565
dec [hl]
Unknown_0x1F8565:
ld a,[hl]
cp $60
ret nc
ld hl,$D547
ld bc,$0010
call Logged_0x1FB824
call Logged_0x1FBD7C
call Logged_0x1FB78A
call Logged_0x1FB7D8
call Logged_0x1FBBE5
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8588:
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8594
dec [hl]
Unknown_0x1F8594:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB7FF
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F85C3:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F85D3:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $40
ret c
call Logged_0x1FB7F2
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F85EB:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Unknown_0x1F8602
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$07
ld [$FF00+hSFXIDLow],a
Unknown_0x1F8602:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8619
ld hl,$D53C
dec [hl]
Unknown_0x1F8619:
ld a,[hl]
cp $50
ret nc
call Logged_0x1FB78A
call Logged_0x1FB7D8
call Logged_0x1FBBE5
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8638:
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8644
dec [hl]
Unknown_0x1F8644:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB7FF
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8673:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8683:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Unknown_0x1F8690
inc [hl]
ld a,[hl]
cp $40
ret c
Unknown_0x1F8690:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F869C
dec [hl]
Unknown_0x1F869C:
ld a,[hl]
cp $58
ret nc
ld hl,$D53C
dec [hl]
ld a,[hl]
sub $40
cp $1C
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F86B5:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Unknown_0x1F86BE
inc [hl]
Unknown_0x1F86BE:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
jr nc,Unknown_0x1F86DA
ld hl,$D53C
dec [hl]
ret
Unknown_0x1F86DA:
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB9CA
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F86EE:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $E8
ret c
call Logged_0x1FBDA7
xor a
ld [$D51D],a
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8708:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Unknown_0x1F8715
inc [hl]
ld a,[hl]
cp $40
ret c
Unknown_0x1F8715:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F8721
dec [hl]
Unknown_0x1F8721:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8730:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F874F
dec [hl]
Unknown_0x1F874F:
ld a,[$D516]
cp [hl]
ret c
ld a,[hl]
ld [$D516],a
call Logged_0x1FB78A
ld hl,$D515
ld a,[hl]
cp $20
ret c
ld [hl],$20
xor a
ld [$D51D],a
call Logged_0x1FB98B
call Logged_0x1FB7D8
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8778:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F8788:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $39
ret nc
cp $30
jr c,Unknown_0x1F8799
ld hl,$D515
inc [hl]
ret
Unknown_0x1F8799:
call Logged_0x1FBC93
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F87A1:
ld hl,$D515
ld a,[hl]
cp $40
jr nc,Unknown_0x1F87AA
inc [hl]
Unknown_0x1F87AA:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $18
ret nc
call Logged_0x1FB78A
call Logged_0x1FBC3F
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F87BD:
ld hl,$D515
ld a,[hl]
cp $40
jr nc,Unknown_0x1F87C6
inc [hl]
Unknown_0x1F87C6:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $D8
ret nz
call Logged_0x1FBD7C
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F87D6:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F87E2
dec [hl]
Unknown_0x1F87E2:
ld a,[hl]
cp $50
ret nc
call Logged_0x1FBC4C
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F87FB:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Unknown_0x1F881A
dec [hl]
Unknown_0x1F881A:
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F883C:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F884C:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Unknown_0x1F8856
inc [hl]
ld a,[hl]
Unknown_0x1F8856:
ld b,a
ld hl,$D53C
dec [hl]
ld a,[hl]
sub b
cp $1C
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F886B:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Unknown_0x1F8874
inc [hl]
Unknown_0x1F8874:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
jr nc,Unknown_0x1F8890
ld hl,$D53C
dec [hl]
ret
Unknown_0x1F8890:
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB9CA
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Unknown_0x1F88A4:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $E8
ret c
jp Logged_0x1F8362
Logged_0x1F88AF:
call Logged_0x1F8946
ld a,[$D509]
and a
jp nz,Logged_0x1F8945
ld a,[$D50E]
and a
jr nz,Logged_0x1F88F0
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1F88F0:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
Logged_0x1F8945:
ret
Logged_0x1F8946:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1F89BB
dw Logged_0x1F89E0
dw Logged_0x1F89FB
dw Logged_0x1FB5A1
dw Logged_0x1F8A2A
dw Logged_0x1F8A52
dw Logged_0x1F8A79
dw Logged_0x1F8A91
dw Logged_0x1F8AA1
dw Logged_0x1F8ABC
dw Logged_0x1F8B04
dw Logged_0x1F8B14
dw Logged_0x1F8B3D
dw Logged_0x1F8B71
dw Logged_0x1F8B86
dw Logged_0x1F8BB2
dw Logged_0x1F8BC7
dw Logged_0x1F8BDA
dw Logged_0x1F8C59
dw Logged_0x1F8C81
dw Logged_0x1F8C94
dw Logged_0x1F8CBB
dw Logged_0x1F8CF7
dw Logged_0x1F8D04
dw Logged_0x1F8D34
dw Logged_0x1F8D49
dw Logged_0x1F8D72
dw Logged_0x1F8D88
dw Logged_0x1F8DA4
dw Logged_0x1F8DB7
Logged_0x1F8988:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1F8996
bit 6,a
jr z,Unknown_0x1F89AE
jp Logged_0x0161
Logged_0x1F8996:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F89AE:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1F89C0
Logged_0x1F89BB:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1F89C0:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBCD2
call Logged_0x1FB7FF
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1F89E0:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F89EC
dec [hl]
Logged_0x1F89EC:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F89FB:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8A1A
dec [hl]
Logged_0x1F8A1A:
ld a,[$D516]
cp [hl]
ret c
call Logged_0x1FB92B
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8A2A:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $34
ret c
ld a,$34
ld [$D515],a
ld a,$0A
ld [$D51D],a
call Logged_0x1FBD0C
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8A52:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB94C
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8A79:
ld a,[$D546]
and a
ret z
call Logged_0x1FBD89
call Logged_0x1FB98B
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8A91:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8AA1:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8AAD
dec [hl]
Logged_0x1F8AAD:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8ABC:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8ADB
dec [hl]
Logged_0x1F8ADB:
ld a,[$D516]
cp [hl]
ret c
ld a,[hl]
ld [$D516],a
call Logged_0x1FB78A
ld hl,$D515
ld a,[hl]
cp $20
ret c
ld [hl],$20
xor a
ld [$D51D],a
call Logged_0x1FB98B
call Logged_0x1FB7D8
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8B04:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8B14:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $0C
ret nc
ld a,$18
ld [$D51D],a
call Logged_0x1FB92B
call Logged_0x1FB7B1
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8B3D:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $20
ret c
ld a,$20
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB94C
call Logged_0x1FBD7C
ld b,$10
call Logged_0x1FB81F
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8B71:
ld hl,$CEE5
dec [hl]
ret nz
ld a,$18
ld [$D51D],a
call Logged_0x1FB92B
call Logged_0x1FB7FF
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8B86:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $30
ret c
ld a,$30
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB94C
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8BB2:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB98B
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8BC7:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB797
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8BDA:
ld hl,$D51D
ld a,[hl]
cp $27
jr z,Logged_0x1F8BE3
inc [hl]
Logged_0x1F8BE3:
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8BFE
dec [hl]
Logged_0x1F8BFE:
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB7D8
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D53B
ld a,$50
ld [hli],a
ld a,$C0
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$66
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$AB
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ld hl,$D547
ld a,$40
ld [hli],a
ld a,$B8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$8B
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8C59:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8C65
dec [hl]
Logged_0x1F8C65:
ld a,[hl]
add a,$F8
ld [$D548],a
cp $40
ret nc
call Logged_0x1FB98B
call Logged_0x1FBD2A
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8C81:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB899
call Logged_0x1FBD37
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8C94:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB92B
call Logged_0x1FB7B1
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8CBB:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB94C
ld a,[$D53B]
add a,$04
ld [$D53B],a
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$7D
ld [hli],a
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8CF7:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB92B
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8D04:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $44
ret c
ld a,$44
ld [$D515],a
call Logged_0x1FB94C
ld a,[$D53B]
add a,$04
ld [$D53B],a
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8D34:
ld hl,$CEE5
dec [hl]
ret nz
ld a,$18
ld [$D51D],a
call Logged_0x1FB98B
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8D49:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $48
ret c
ld a,$48
ld [$D515],a
xor a
ld [$D51D],a
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8D72:
ld hl,$CEE5
dec [hl]
ret nz
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$6B
ld [hli],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8D88:
ld hl,$D53B
dec [hl]
ld hl,$D515
dec [hl]
ld a,[hl]
cp $40
ret nz
call Logged_0x1FB98B
call Logged_0x1FBD2A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8DA4:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB797
call Logged_0x1FB9CA
call Logged_0x1FBD37
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8DB7:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F8DC3
dec [hl]
Logged_0x1F8DC3:
ld a,[hl]
add a,$F8
ld [$D548],a
cp $F0
ret c
jp Logged_0x1F8988
Logged_0x1F8DCF:
call Logged_0x1F8E03
ld a,[$D509]
and a
jr nz,Logged_0x1F8E02
ld a,[$D50E]
and a
jr nz,Logged_0x1F8DF0
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1F8DF0:
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1F8E02:
ret
Logged_0x1F8E03:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1F8E64
dw Logged_0x1F8ED9
dw Logged_0x1F8EE9
dw Logged_0x1F8EFE
dw Logged_0x1F8F2C
dw Logged_0x1FB5A1
dw Logged_0x1F8F39
dw Logged_0x1F8F6B
dw Logged_0x1F8FA6
dw Logged_0x1F8FDC
dw Logged_0x1F900A
dw Logged_0x1FB609
dw Logged_0x1F9043
dw Logged_0x1F9080
dw Logged_0x1F90B6
dw Logged_0x1F90E2
dw Logged_0x1F910E
dw Logged_0x1F913C
dw Logged_0x1F917A
dw Logged_0x1F9191
Logged_0x1F8E31:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1F8E3F
bit 6,a
jr z,Unknown_0x1F8E57
jp Logged_0x0161
Logged_0x1F8E3F:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F8E57:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1F8E69
Logged_0x1F8E64:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1F8E69:
ld a,$04
ld [$C1A1],a
ld a,$40
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$40
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$42
ld [hli],a
ld a,$5F
ld [hli],a
xor a
ld [hl],a
ld a,$40
ld [$D51E],a
ld a,$00
ld [$D51F],a
ld a,$06
ld [$C1AC],a
ld a,$02
ld [$C1AD],a
ld a,$01
ld [$CED8],a
ld a,$30
ld [$CEE5],a
ld a,$79
ld [$FF00+$85],a
ld a,$A0
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8ED9:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8EE9:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $2C
ret c
call Logged_0x1FB899
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8EFE:
ld hl,$D516
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $50
ret c
xor a
ld [$D51D],a
call Logged_0x1FBA09
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8F2C:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBA5D
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8F39:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F8F50
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F8F50:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $58
ret c
call Logged_0x1FB797
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8F6B:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F8F82
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F8F82:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1F8F8B
dec [hl]
ret
Logged_0x1F8F8B:
ld a,[$D50A]
and $01
ret nz
ld hl,$D516
inc [hl]
ld a,[hl]
cp $6C
ret c
call Logged_0x1FB7B1
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8FA6:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F8FBD
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F8FBD:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1F8FC6
dec [hl]
ret
Logged_0x1F8FC6:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $60
ret c
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F8FDC:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F8FF3
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F8FF3:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $34
ret nc
ld [hl],$34
call Logged_0x1FB7BE
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F900A:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9021
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F9021:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1F902A
dec [hl]
ret
Logged_0x1F902A:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
dec [hl]
ld a,[hl]
cp $58
ret nc
call Logged_0x1FBA6E
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9043:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F905A
ld a,$0F
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1F905A:
ld hl,$D516
ld a,[hl]
cp $58
jr c,Logged_0x1F9068
ld a,[$D50A]
and $01
ret nz
Logged_0x1F9068:
inc [hl]
ld a,[hl]
cp $6C
ret c
call Logged_0x1FBA5D
call Logged_0x1FB7B1
call Logged_0x1FB7D8
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9080:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9097
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F9097:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1F90A0
dec [hl]
ret
Logged_0x1F90A0:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $60
ret c
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F90B6:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F90CD
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F90CD:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $50
ret nc
ld [hl],$50
call Logged_0x1FBA6E
call Logged_0x1FB7F2
ld hl,$D50C
inc [hl]
ret
Logged_0x1F90E2:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F90F9
ld a,$0F
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1F90F9:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
ret c
ld [hl],$00
call Logged_0x1FBA5D
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F910E:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9125
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F9125:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $34
ret nc
ld [hl],$34
call Logged_0x1FB7BE
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F913C:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9153
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1F9153:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1F915C
dec [hl]
ret
Logged_0x1F915C:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
dec [hl]
ld a,[hl]
cp $50
ret nc
call Logged_0x1FBA50
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F917A:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB8E2
call Logged_0x1FB7A4
call Logged_0x1FB7E5
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9191:
ld hl,$D516
ld a,[hl]
cp $18
jr z,Logged_0x1F919A
dec [hl]
Logged_0x1F919A:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
jp Logged_0x1F8E31
Logged_0x1F91C5:
call Logged_0x1F925C
ld a,[$D509]
and a
jp nz,Logged_0x1F925B
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,[$D50E]
and a
jr nz,Logged_0x1F9237
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1F9237:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1F925B:
ret
Logged_0x1F925C:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1F92AD
dw Logged_0x1F92EE
dw Logged_0x1F9306
dw Logged_0x1FB63D
dw Logged_0x1F9313
dw Logged_0x1F935B
dw Logged_0x1F938A
dw Logged_0x1F93A3
dw Logged_0x1F93BB
dw Logged_0x1F93CB
dw Logged_0x1F9413
dw Logged_0x1F9442
Logged_0x1F927A:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1F9288
bit 6,a
jr z,Unknown_0x1F92A0
jp Logged_0x0161
Logged_0x1F9288:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F92A0:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1F92B2
Logged_0x1F92AD:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1F92B2:
call Logged_0x1FB84D
call Logged_0x1FB797
ld hl,$D53B
ld a,$20
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$64
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
call Logged_0x1FB7FF
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1F92EE:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $40
ret nc
call Logged_0x1FB98B
call Logged_0x1FB78A
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9306:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9313:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
sub $18
ld hl,$D53B
cp [hl]
ret nc
ld a,$18
ld [$D51D],a
ld b,$00
call Logged_0x1FB81F
ld hl,$D53B
ld a,$20
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$67
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F935B:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB7D8
call Logged_0x1FB98B
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F938A:
ld a,[$D552]
and a
jr z,Logged_0x1F9393
call Logged_0x1FB7FF
Logged_0x1F9393:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F93A3:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $40
ret nc
call Logged_0x1FB98B
call Logged_0x1FB78A
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F93BB:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB899
call Logged_0x1FB7E5
ld hl,$D50C
inc [hl]
ret
Logged_0x1F93CB:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
sub $18
ld hl,$D53B
cp [hl]
ret nc
ld a,$18
ld [$D51D],a
ld b,$00
call Logged_0x1FB81F
ld hl,$D53B
ld a,$20
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$6A
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9413:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB7D8
call Logged_0x1FB98B
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9442:
ld a,[$D552]
and a
jr z,Logged_0x1F944B
call Logged_0x1FB7FF
Logged_0x1F944B:
ld hl,$CEE5
dec [hl]
ret nz
jp Logged_0x1F927A
Logged_0x1F9453:
call Logged_0x1F951B
ld a,[$D509]
and a
jp nz,Logged_0x1F951A
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,[$D50E]
and a
jr nz,Logged_0x1F94CB
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Logged_0x1F94CB:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld hl,$D55A
ld a,[$D55D]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D553
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
Logged_0x1F951A:
ret
Logged_0x1F951B:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1F959C
dw Logged_0x1F95DE
dw Logged_0x1F95F9
dw Logged_0x1F963F
dw Logged_0x1F9685
dw Logged_0x1F9695
dw Logged_0x1F96BF
dw Logged_0x1F96FB
dw Logged_0x1FB609
dw Logged_0x1F9708
dw Logged_0x1F9720
dw Logged_0x1F97A2
dw Logged_0x1F97B2
dw Logged_0x1F97DC
dw Logged_0x1F981A
dw Logged_0x1FB5D5
dw Logged_0x1F9824
dw Logged_0x1F9847
dw Logged_0x1F98DB
dw Logged_0x1F98EB
dw Logged_0x1F9915
dw Logged_0x1F9953
dw Logged_0x1F9963
dw Logged_0x1F9981
dw Logged_0x1F9999
dw Logged_0x1F9A3A
dw Logged_0x1F9A53
dw Logged_0x1F9A7D
dw Logged_0x1F9ABB
dw Logged_0x1F9ACB
dw Logged_0x1F9AEE
dw Logged_0x1F9AFB
dw Logged_0x1F9B2C
dw Logged_0x1F9B56
dw Logged_0x1F9B7A
dw Logged_0x1F9B8F
Logged_0x1F9569:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1F9577
bit 6,a
jr z,Unknown_0x1F958F
jp Logged_0x0161
Logged_0x1F9577:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F958F:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1F95A1
Logged_0x1F959C:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1F95A1:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBCD2
call Logged_0x1FB7FF
ld hl,$D553
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$6A
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1F95DE:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F95EA
dec [hl]
Logged_0x1F95EA:
ld a,[hl]
cp $70
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1F95F9:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9618
dec [hl]
Logged_0x1F9618:
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $36
ret c
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$14
ld [$FF00+hSFXIDLow],a
ld a,$0A
ld [$D51D],a
call Logged_0x1FBCF2
ld hl,$D50C
inc [hl]
ret
Logged_0x1F963F:
ld hl,$D53C
inc [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F964B
inc [hl]
Logged_0x1F964B:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D53B]
add a,[hl]
cp $40
jr nc,Logged_0x1F9662
ld [$D53B],a
Logged_0x1F9662:
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
ld [$D53B],a
xor a
ld [$D51D],a
call Logged_0x1FB98B
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9685:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9695:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F96A1
dec [hl]
Logged_0x1F96A1:
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBA8C
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F96BF:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $03
jr z,Logged_0x1F96DB
cp $06
jr z,Logged_0x1F96EB
ld a,[$D520]
and a
ret z
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F96DB:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $0C
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1F96EB:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1F96FB:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBB66
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9708:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
ret c
ld [hl],$00
call Logged_0x1FBBAD
call Logged_0x1FBCFF
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9720:
ld a,[$D520]
and a
jr z,Logged_0x1F9729
call Logged_0x1FB98B
Logged_0x1F9729:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $10
jr nc,Logged_0x1F975D
ld a,[$D53C]
add a,$02
ld [$D53C],a
ld a,[hl]
cp $03
ret c
ld hl,$D53B
cp $06
jr c,Logged_0x1F974C
cp $0A
jr c,Logged_0x1F974B
jr Logged_0x1F974E
Logged_0x1F974B:
inc [hl]
Logged_0x1F974C:
inc [hl]
ret
Logged_0x1F974E:
ld a,[hl]
add a,$03
ld [hl],a
cp $40
ret c
ld [hl],$40
ld a,$10
ld [$CEE5],a
ret
Logged_0x1F975D:
ld a,[$D53C]
add a,$01
ld [$D53C],a
ld a,[hl]
ld hl,$D53B
cp $12
jr c,Logged_0x1F977F
cp $14
jr c,Logged_0x1F9780
cp $15
jr c,Logged_0x1F9781
cp $16
jr c,Logged_0x1F9783
cp $27
jr c,Logged_0x1F974C
jr Logged_0x1F9789
Logged_0x1F977F:
dec [hl]
Logged_0x1F9780:
dec [hl]
Logged_0x1F9781:
dec [hl]
ret
Logged_0x1F9783:
ld a,$20
ld [$CEE5],a
ret
Logged_0x1F9789:
ld a,[hl]
add a,$02
ld [hl],a
cp $40
ret c
ld [hl],$40
call Logged_0x1FB98B
call Logged_0x1FBCF2
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F97A2:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F97B2:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F97BE
dec [hl]
Logged_0x1F97BE:
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBA8C
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F97DC:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $03
jr z,Logged_0x1F97EB
cp $06
jr z,Logged_0x1F97FB
jr Logged_0x1F980B
Logged_0x1F97EB:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $0C
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1F97FB:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1F980B:
ld a,[$D520]
and a
ret z
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F981A:
ld hl,$CEE5
dec [hl]
ret nz
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9824:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $01
jr z,Logged_0x1F9840
cp $30
ret c
ld [hl],$00
call Logged_0x1FBBAD
call Logged_0x1FBCFF
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9840:
call Logged_0x1FBB66
call Logged_0x1FB7F2
ret
Logged_0x1F9847:
ld a,[$D520]
and a
jr z,Logged_0x1F9850
call Logged_0x1FB98B
Logged_0x1F9850:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
jr nc,Logged_0x1F989E
ld a,[$D53C]
add a,$01
ld [$D53C],a
ld a,[hl]
ld hl,$D53B
cp $07
jr c,Logged_0x1F9886
cp $0D
jr c,Logged_0x1F9887
cp $0F
jr c,Logged_0x1F9888
cp $11
jr c,Logged_0x1F9889
cp $14
ret c
cp $17
jr c,Logged_0x1F988D
cp $1A
jr c,Logged_0x1F988C
cp $1D
jr c,Logged_0x1F988B
jr Logged_0x1F988F
Logged_0x1F9886:
dec [hl]
Logged_0x1F9887:
dec [hl]
Logged_0x1F9888:
dec [hl]
Logged_0x1F9889:
dec [hl]
ret
Logged_0x1F988B:
inc [hl]
Logged_0x1F988C:
inc [hl]
Logged_0x1F988D:
inc [hl]
ret
Logged_0x1F988F:
ld a,[hl]
add a,$04
ld [hl],a
cp $40
ret c
ld [hl],$40
ld a,$30
ld [$CEE5],a
ret
Logged_0x1F989E:
ld a,[hl]
ld hl,$D53B
cp $32
jr c,Logged_0x1F98B8
cp $34
jr c,Logged_0x1F98B9
cp $35
jr c,Logged_0x1F98BA
cp $36
jr c,Logged_0x1F98BC
cp $47
jr c,Logged_0x1F988D
jr Logged_0x1F98C2
Logged_0x1F98B8:
dec [hl]
Logged_0x1F98B9:
dec [hl]
Logged_0x1F98BA:
dec [hl]
ret
Logged_0x1F98BC:
ld a,$40
ld [$CEE5],a
ret
Logged_0x1F98C2:
ld a,[hl]
add a,$02
ld [hl],a
cp $40
ret c
ld [hl],$40
call Logged_0x1FB98B
call Logged_0x1FBCF2
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F98DB:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F98EB:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F98F7
dec [hl]
Logged_0x1F98F7:
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBA8C
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9915:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $03
jr z,Logged_0x1F9924
cp $06
jr z,Logged_0x1F9934
jr Logged_0x1F9944
Logged_0x1F9924:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $0C
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1F9934:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1F9944:
ld a,[$D520]
and a
ret z
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9953:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBB59
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9963:
ld hl,$D554
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F996F
dec [hl]
Logged_0x1F996F:
ld a,[hl]
cp $5C
ret nc
call Logged_0x1FBB66
call Logged_0x1FB78A
call Logged_0x1FB7F2
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9981:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
ret c
ld [hl],$00
call Logged_0x1FBBAD
call Logged_0x1FBCFF
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9999:
ld a,[$D520]
and a
jr z,Logged_0x1F99A2
call Logged_0x1FB98B
Logged_0x1F99A2:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $10
jr nc,Logged_0x1F99E0
ld a,[$D554]
ld b,a
ld a,[$D53C]
add a,$02
ld [$D53C],a
cp b
push hl
call nc,Logged_0x1F9A25
pop hl
ld a,[hl]
cp $03
ret c
ld hl,$D53B
cp $06
jr c,Logged_0x1F99CF
cp $0A
jr c,Logged_0x1F99CE
jr Logged_0x1F99D1
Logged_0x1F99CE:
inc [hl]
Logged_0x1F99CF:
inc [hl]
ret
Logged_0x1F99D1:
ld a,[hl]
add a,$03
ld [hl],a
cp $40
ret c
ld [hl],$40
ld a,$10
ld [$CEE5],a
ret
Logged_0x1F99E0:
ld a,[$D53C]
add a,$01
ld [$D53C],a
ld a,[hl]
ld hl,$D53B
cp $12
jr c,Logged_0x1F9A02
cp $14
jr c,Logged_0x1F9A03
cp $15
jr c,Logged_0x1F9A04
cp $16
jr c,Logged_0x1F9A06
cp $27
jr c,Logged_0x1F99CF
jr Logged_0x1F9A0C
Logged_0x1F9A02:
dec [hl]
Logged_0x1F9A03:
dec [hl]
Logged_0x1F9A04:
dec [hl]
ret
Logged_0x1F9A06:
ld a,$20
ld [$CEE5],a
ret
Logged_0x1F9A0C:
ld a,[hl]
add a,$02
ld [hl],a
cp $40
ret c
ld [hl],$40
call Logged_0x1FB98B
call Logged_0x1FBCF2
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9A25:
ld b,$00
call Logged_0x1FB81F
ld a,[$D553]
ld [$D547],a
ld a,[$D554]
ld [$D548],a
call Logged_0x1FBDC5
ret
Logged_0x1F9A3A:
ld a,[$D552]
and a
jr z,Logged_0x1F9A43
call Logged_0x1FB7FF
Logged_0x1F9A43:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9A53:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9A5F
dec [hl]
Logged_0x1F9A5F:
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBA8C
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9A7D:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $03
jr z,Logged_0x1F9A8C
cp $06
jr z,Logged_0x1F9A9C
jr Logged_0x1F9AAC
Logged_0x1F9A8C:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $0C
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1F9A9C:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1F9AAC:
ld a,[$D520]
and a
ret z
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9ABB:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBB59
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9ACB:
ld hl,$D554
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9AD7
dec [hl]
Logged_0x1F9AD7:
ld a,[hl]
cp $80
ret nc
call Logged_0x1FBB66
call Logged_0x1FB78A
call Logged_0x1FB7F2
ld a,$50
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9AEE:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBBA
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9AFB:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9B12
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
Logged_0x1F9B12:
ld a,[$D520]
and a
ret z
call Logged_0x1FBBCB
ld a,[$D53C]
sub $08
ld [$D53C],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9B2C:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9B43
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
Logged_0x1F9B43:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBD8
call Logged_0x1FBCFF
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9B56:
ld a,[$D520]
and a
jr z,Logged_0x1F9B5F
call Logged_0x1FB98B
Logged_0x1F9B5F:
ld a,[$D554]
sub $10
ld b,a
ld a,[$D53C]
add a,$04
ld [$D53C],a
cp b
ret c
call Logged_0x1FB98B
call Logged_0x1FBD0C
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9B7A:
ld a,[$D546]
and a
ret z
ld a,$E8
ld [$D53C],a
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9B8F:
ld hl,$D554
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9B9B
dec [hl]
Logged_0x1F9B9B:
ld a,[hl]
cp $E8
ret c
jp Logged_0x1F9569
Logged_0x1F9BA2:
call Logged_0x1F9C9B
ld a,[$D509]
and a
jp nz,Logged_0x1F9C9A
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D565
ld a,[$D568]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D569],a
ld hl,$D55E
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld a,[$D50E]
and a
jr nz,Logged_0x1F9C64
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D55A
ld a,[$D55D]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Logged_0x1F9C64:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D553
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1F9C9A:
ret
Logged_0x1F9C9B:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1F9D1A
dw Logged_0x1F9D7E
dw Logged_0x1FB609
dw Logged_0x1F9D97
dw Logged_0x1F9E07
dw Logged_0x1F9E62
dw Logged_0x1F9E9B
dw Logged_0x1F9EB7
dw Logged_0x1F9F35
dw Logged_0x1F9F76
dw Logged_0x1F9F86
dw Logged_0x1F9F9E
dw Logged_0x1F9FF4
dw Logged_0x1FA035
dw Logged_0x1FA045
dw Logged_0x1FA072
dw Logged_0x1FA0C2
dw Logged_0x1FA145
dw Logged_0x1FA155
dw Logged_0x1FA17D
dw Logged_0x1FA1C5
dw Logged_0x1FA1D5
dw Logged_0x1FB5A1
dw Logged_0x1FA1EE
dw Logged_0x1FA20A
dw Logged_0x1FA223
dw Logged_0x1FA248
dw Logged_0x1FA298
dw Logged_0x1FA2D4
dw Logged_0x1FA315
dw Logged_0x1FA33B
dw Logged_0x1FA37C
dw Logged_0x1FA38C
dw Logged_0x1FA3AB
dw Logged_0x1FA3E4
Logged_0x1F9CE7:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1F9CF5
bit 6,a
jr z,Unknown_0x1F9D0D
jp Logged_0x0161
Logged_0x1F9CF5:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1F9D0D:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1F9D1F
Logged_0x1F9D1A:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1F9D1F:
call Logged_0x1FB84D
call Logged_0x1FB797
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$9C
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
call Logged_0x1FB7FF
ld hl,$D553
ld a,$40
ld [hli],a
ld a,$F8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$9C
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld hl,$D55E
call Logged_0x1FB802
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9D7E:
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $60
ret nc
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9D97:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9DAE
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1F9DAE:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9DCD
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
Logged_0x1F9DCD:
ld a,[hl]
cp $50
ret nc
ld b,$00
call Logged_0x1FB81F
ld hl,$D55E
ld bc,$1000
call Logged_0x1FB824
ld a,[$D554]
ld [$D53C],a
ld hl,$D553
ld a,$40
ld [hli],a
ld a,$F8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$96
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9E07:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9E1E
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1F9E1E:
ld hl,$D51D
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9E2E
dec [hl]
Logged_0x1F9E2E:
ld a,[hl]
cp $50
ret nc
ld b,$00
call Logged_0x1FB81F
ld hl,$D55E
ld bc,$1000
call Logged_0x1FB824
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$96
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9E62:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9E79
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1F9E79:
ld a,[$D552]
and a
jr z,Logged_0x1F9E88
call Logged_0x1FB7FF
ld hl,$D55E
call Logged_0x1FB802
Logged_0x1F9E88:
ld hl,$D51D
dec [hl]
ret nz
call Logged_0x1FB7D8
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9E9B:
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7F2
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9EB7:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9ECE
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1F9ECE:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9EED
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
Logged_0x1F9EED:
ld a,[hl]
cp $50
ret nc
ld b,$00
call Logged_0x1FB81F
ld hl,$D55E
ld bc,$1000
call Logged_0x1FB824
ld a,[$D554]
ld [$D53C],a
ld hl,$D553
ld a,$A0
ld [hli],a
ld a,$F8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$A2
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
call Logged_0x1FB78A
call Logged_0x1FB7D8
call Logged_0x1FBBE5
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9F35:
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9F41
dec [hl]
Logged_0x1F9F41:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB7FF
ld hl,$D55E
call Logged_0x1FB802
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9F76:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9F86:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $40
ret c
call Logged_0x1FB7F2
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9F9E:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1F9FB5
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1F9FB5:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1F9FCC
ld hl,$D53C
dec [hl]
Logged_0x1F9FCC:
ld a,[hl]
cp $50
ret nc
ld b,$00
call Logged_0x1FB81F
ld hl,$D55E
ld bc,$1000
call Logged_0x1FB824
call Logged_0x1FBD44
call Logged_0x1FB78A
call Logged_0x1FB7D8
call Logged_0x1FBBE5
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1F9FF4:
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA000
dec [hl]
Logged_0x1FA000:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB7FF
ld hl,$D55E
call Logged_0x1FB802
call Logged_0x1FB98B
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA035:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA045:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Logged_0x1FA052
inc [hl]
ld a,[hl]
cp $40
ret c
Logged_0x1FA052:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA05E
dec [hl]
Logged_0x1FA05E:
ld a,[hl]
cp $58
ret nc
call Logged_0x1FB7F2
call Logged_0x1FBBE5
ld a,$30
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA072:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FA089
ld a,$06
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$08
ld [$FF00+hSFXIDLow],a
Logged_0x1FA089:
ld hl,$D51D
dec [hl]
ld a,[hl]
cp $2B
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA0A0
ld hl,$D53C
dec [hl]
Logged_0x1FA0A0:
ld a,[hl]
cp $50
ret nc
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$17
ld [$FF00+hSFXIDLow],a
call Logged_0x1FBD62
call Logged_0x1FB78A
call Logged_0x1FB7D8
call Logged_0x1FBBE5
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA0C2:
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FA0CE
ld a,$27
ld [hl],a
Logged_0x1FA0CE:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D51D]
cp $18
jr nc,Logged_0x1FA0FC
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
ld hl,$D53C
inc [hl]
inc [hl]
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA0FB
dec [hl]
Logged_0x1FA0FB:
ret
Logged_0x1FA0FC:
ld a,[$D515]
cp $40
jr z,Logged_0x1FA122
add a,[hl]
ld [$D515],a
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
ld hl,$D53C
inc [hl]
inc [hl]
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB98B
ret
Logged_0x1FA122:
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
ld hl,$D53C
inc [hl]
inc [hl]
ld a,[$D53B]
cp $80
ret c
call Logged_0x1FBDA7
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA145:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA155:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Logged_0x1FA162
inc [hl]
ld a,[hl]
cp $40
ret c
Logged_0x1FA162:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA16E
dec [hl]
Logged_0x1FA16E:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA17D:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA19C
dec [hl]
Logged_0x1FA19C:
ld a,[$D516]
cp [hl]
ret c
ld a,[hl]
ld [$D516],a
call Logged_0x1FB78A
ld hl,$D515
ld a,[hl]
cp $20
ret c
ld [hl],$20
xor a
ld [$D51D],a
call Logged_0x1FB98B
call Logged_0x1FB7D8
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA1C5:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA1D5:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $39
ret nc
cp $30
jr c,Logged_0x1FA1E6
ld hl,$D515
inc [hl]
ret
Logged_0x1FA1E6:
call Logged_0x1FBC93
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA1EE:
ld hl,$D515
ld a,[hl]
cp $40
jr nc,Logged_0x1FA1F7
inc [hl]
Logged_0x1FA1F7:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $18
ret nc
call Logged_0x1FB78A
call Logged_0x1FBC3F
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA20A:
ld hl,$D515
ld a,[hl]
cp $40
jr nc,Logged_0x1FA213
inc [hl]
Logged_0x1FA213:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $D8
ret nz
call Logged_0x1FBD44
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA223:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA22F
dec [hl]
Logged_0x1FA22F:
ld a,[hl]
cp $50
ret nc
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
call Logged_0x1FBD62
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA248:
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FA254
ld a,$27
ld [hl],a
Logged_0x1FA254:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
ld hl,$D53C
inc [hl]
inc [hl]
ld a,[$D53B]
cp $80
ret c
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$D8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$64
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld a,$40
ld [$D553],a
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA298:
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA2AF
ld hl,$D554
dec [hl]
ld hl,$D53C
dec [hl]
Logged_0x1FA2AF:
ld a,[hl]
and $FE
cp $48
jr z,Logged_0x1FA2B7
ret
Logged_0x1FA2B7:
ld [hl],$48
ld b,$00
call Logged_0x1FB81F
ld hl,$D553
ld de,$D53B
ld b,$0B
call MemCopy_DE_HL
ld hl,$D553
call Logged_0x1FB802
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA2D4:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA2E0
dec [hl]
Logged_0x1FA2E0:
ld a,[hl]
and $FE
cp $58
jr z,Logged_0x1FA2EC
cp $48
jr z,Logged_0x1FA2F7
ret
Logged_0x1FA2EC:
ld [hl],$58
ld b,$00
call Logged_0x1FB81F
call Logged_0x1FBD7C
ret
Logged_0x1FA2F7:
ld b,$00
call Logged_0x1FB81F
ld hl,$D53B
ld a,$50
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$85
ld [hli],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA315:
ld a,[$D552]
and a
jr z,Logged_0x1FA31E
call Logged_0x1FB7FF
Logged_0x1FA31E:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA32A
dec [hl]
Logged_0x1FA32A:
ld a,[hl]
cp $50
ret nc
call Logged_0x1FBC4C
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA33B:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D516
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA35A
dec [hl]
Logged_0x1FA35A:
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA37C:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA38C:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Logged_0x1FA396
inc [hl]
ld a,[hl]
Logged_0x1FA396:
ld b,a
ld hl,$D53C
dec [hl]
ld a,[hl]
sub b
cp $1C
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA3AB:
ld hl,$D516
ld a,[hl]
cp $40
jr z,Logged_0x1FA3B4
inc [hl]
Logged_0x1FA3B4:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
jr nc,Logged_0x1FA3D0
ld hl,$D53C
dec [hl]
ret
Logged_0x1FA3D0:
xor a
ld [$D51D],a
ld a,$40
ld [$D515],a
call Logged_0x1FB9CA
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA3E4:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $E8
ret c
jp Logged_0x1F9CE7
Logged_0x1FA3EF:
call Logged_0x1FA486
ld a,[$D509]
and a
jp nz,Logged_0x1FA485
ld a,[$D50E]
and a
jr nz,Logged_0x1FA44F
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1FA44F:
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1FA485:
ret
Logged_0x1FA486:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1FA4E5
dw Logged_0x1FA526
dw Logged_0x1FA54C
dw Logged_0x1FB5A1
dw Logged_0x1FA574
dw Logged_0x1FA5A8
dw Logged_0x1FA602
dw Logged_0x1FA653
dw Logged_0x1FA698
dw Logged_0x1FA6BF
dw Logged_0x1FA6D2
dw Logged_0x1FA6ED
dw Logged_0x1FA735
dw Logged_0x1FA745
dw Logged_0x1FA76E
dw Logged_0x1FA796
dw Logged_0x1FA7D0
dw Logged_0x1FA80B
dw Logged_0x1FA837
Logged_0x1FA4B2:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1FA4C0
bit 6,a
jr z,Unknown_0x1FA4D8
jp Logged_0x0161
Logged_0x1FA4C0:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1FA4D8:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1FA4EA
Logged_0x1FA4E5:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1FA4EA:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBCD2
ld hl,$D547
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$4D
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$AB
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA526:
ld hl,$D548
dec [hl]
ld a,[hl]
cp $90
ret nc
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA53A
dec [hl]
Logged_0x1FA53A:
ld a,[hl]
cp $A0
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB78A
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA54C:
ld hl,$D53C
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB92B
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA574:
ld hl,$D53C
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB961
call Logged_0x1FBCF2
ld a,$0A
ld [$D51D],a
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA5A8:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D53B]
add a,[hl]
ld [$D53B],a
cp $40
jr nc,Logged_0x1FA5C1
jr Logged_0x1FA5CB
Logged_0x1FA5C1:
ld a,$26
ld [$D51D],a
ld a,$40
ld [$D53B],a
Logged_0x1FA5CB:
ld hl,$CEE5
dec [hl]
jr z,Logged_0x1FA5F3
ld a,[hl]
cp $05
jr nz,Logged_0x1FA5DC
call Logged_0x1FB98B
call Logged_0x1FB78A
Logged_0x1FA5DC:
ld hl,$C083
ld a,[$CEE5]
and $03
cp $03
jr z,Logged_0x1FA5ED
cp $01
jr z,Logged_0x1FA5F0
ret
Logged_0x1FA5ED:
inc [hl]
inc [hl]
ret
Logged_0x1FA5F0:
dec [hl]
dec [hl]
ret
Logged_0x1FA5F3:
call Logged_0x1FB899
call Logged_0x1FB7E5
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA602:
ld a,[$D548]
cp $40
jr z,Logged_0x1FA624
ld hl,$D53C
dec [hl]
ld hl,$D548
dec [hl]
ld a,[hl]
cp $40
jr nz,Logged_0x1FA624
call Logged_0x1FB7D8
call Logged_0x1FB7B1
call Logged_0x1FB92B
ld a,$18
ld [$D51D],a
Logged_0x1FA624:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $30
ret c
ld a,$0A
ld [$D51D],a
ld hl,$D54B
call Logged_0x1FBD0F
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA653:
ld hl,$D53C
ld a,[hl]
cp $40
jr z,Logged_0x1FA666
dec [hl]
ld a,[hl]
cp $40
jr nz,Logged_0x1FA666
ld a,$18
ld [$D51D],a
Logged_0x1FA666:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $34
ret c
ld a,$0A
ld [$D51D],a
call Logged_0x1FB78A
call Logged_0x1FB7FF
call Logged_0x1FBD0C
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA698:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
call Logged_0x1FB98B
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA6BF:
ld a,[$D546]
and a
ret z
call Logged_0x1FBD89
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA6D2:
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA6DE
dec [hl]
Logged_0x1FA6DE:
ld a,[hl]
cp $60
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA6ED:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld hl,$D53C
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FA70C
dec [hl]
Logged_0x1FA70C:
ld a,[$D516]
cp [hl]
ret c
ld a,[hl]
ld [$D516],a
call Logged_0x1FB78A
ld hl,$D515
ld a,[hl]
cp $20
ret c
ld [hl],$20
xor a
ld [$D51D],a
call Logged_0x1FB98B
call Logged_0x1FB7D8
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA735:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA745:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $0C
ret nc
ld a,$18
ld [$D51D],a
call Logged_0x1FB92B
call Logged_0x1FB7B1
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA76E:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $20
ret c
ld a,$20
ld [$D515],a
call Logged_0x1FBD7C
ld b,$10
call Logged_0x1FB81F
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA796:
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FA7A2
ld [hl],$27
ld a,[hl]
Logged_0x1FA7A2:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $30
ret c
ld a,$30
ld [$D515],a
ld b,$00
call Logged_0x1FB81F
ld hl,$D53B
call Logged_0x1FB802
call Logged_0x1FB961
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA7D0:
ld a,[$D552]
and a
jr z,Logged_0x1FA7D9
call Logged_0x1FB7FF
Logged_0x1FA7D9:
ld hl,$CEE5
dec [hl]
jr z,Logged_0x1FA801
ld a,[hl]
cp $05
jr nz,Logged_0x1FA7EA
call Logged_0x1FB899
call Logged_0x1FB78A
Logged_0x1FA7EA:
ld hl,$C083
ld a,[$CEE5]
and $03
cp $03
jr z,Logged_0x1FA7FB
cp $01
jr z,Logged_0x1FA7FE
ret
Logged_0x1FA7FB:
inc [hl]
inc [hl]
ret
Logged_0x1FA7FE:
dec [hl]
dec [hl]
ret
Logged_0x1FA801:
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA80B:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA837:
ld hl,$CEE5
dec [hl]
ret nz
jp Logged_0x1FA4B2
Logged_0x1FA83F:
call Logged_0x1FA8DC
ld a,[$D509]
and a
jp nz,Logged_0x1FA8DB
ld a,[$D50E]
and a
jr nz,Logged_0x1FA8A5
ld hl,$D54E
ld a,[$D551]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D552],a
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Logged_0x1FA8A5:
ld hl,$D547
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1FA8DB:
ret
Logged_0x1FA8DC:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1FA945
dw Logged_0x1FA984
dw Logged_0x1FB5D5
dw Logged_0x1FA994
dw Logged_0x1FA9A9
dw Logged_0x1FA9D3
dw Logged_0x1FAA07
dw Logged_0x1FAA1C
dw Logged_0x1FAA51
dw Logged_0x1FAA64
dw Logged_0x1FAA99
dw Logged_0x1FAACC
dw Logged_0x1FAAFB
dw Logged_0x1FAB19
dw Logged_0x1FAB55
dw Logged_0x1FAB83
dw Logged_0x1FABB2
dw Logged_0x1FABF8
dw Logged_0x1FAC08
dw Logged_0x1FAC3C
dw Logged_0x1FAC4C
dw Logged_0x1FAC71
dw Logged_0x1FACA5
dw Logged_0x1FACB8
Logged_0x1FA912:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1FA920
bit 6,a
jr z,Unknown_0x1FA938
jp Logged_0x0161
Logged_0x1FA920:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1FA938:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1FA94A
Logged_0x1FA945:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1FA94A:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBCD2
ld hl,$D547
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$99
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA984:
ld hl,$D548
dec [hl]
ld a,[hl]
cp $58
ret nc
call Logged_0x1FB98B
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA994:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
ret c
ld [hl],$00
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA9A9:
ld hl,$D548
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB7D8
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FA9D3:
ld hl,$D548
dec [hl]
dec [hl]
ld hl,$D51D
ld a,[hl]
inc [hl]
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $10
ret c
ld a,$10
ld [$D515],a
call Logged_0x1FB78A
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAA07:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB797
call Logged_0x1FB899
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAA1C:
ld hl,$D548
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FAA2C
ld [hl],$27
ld a,[hl]
Logged_0x1FAA2C:
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB78A
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAA51:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $68
ret nc
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAA64:
ld hl,$D53C
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $34
ret c
call Logged_0x1FB7A4
call Logged_0x1FBCF2
call Logged_0x1FB8E2
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAA99:
ld hl,$D548
ld a,[hl]
cp $3C
jr nc,Logged_0x1FAAA6
inc [hl]
ld hl,$D53C
inc [hl]
Logged_0x1FAAA6:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB7D8
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAACC:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $10
ret c
ld a,$10
ld [$D515],a
call Logged_0x1FB797
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAAFB:
call Logged_0x1FB78A
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB7CB
call Logged_0x1FB899
call Logged_0x1FB92B
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAB19:
ld hl,$D53C
dec [hl]
ld hl,$D548
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FAB2D
ld [hl],$27
ld a,[hl]
Logged_0x1FAB2D:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $34
ret c
ld a,$30
ld [$D515],a
call Logged_0x1FB7A4
call Logged_0x1FBD0C
call Logged_0x1FB8E2
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAB55:
ld hl,$D53C
inc [hl]
ld hl,$D548
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB7D8
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAB83:
ld hl,$D53C
inc [hl]
inc [hl]
ld hl,$D548
inc [hl]
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $10
ret c
ld a,$10
ld [$D515],a
ld a,$0E
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FABB2:
ld a,[$D546]
and a
jr z,Logged_0x1FABBE
ld hl,$D53B
call Logged_0x1FB802
Logged_0x1FABBE:
ld hl,$D548
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FABCE
ld [hl],$27
ld a,[hl]
Logged_0x1FABCE:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $40
ret c
ld a,$40
ld [$D515],a
call Logged_0x1FB78A
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FABF8:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAC08:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
jr z,Logged_0x1FAC38
ret c
ld a,[$D515]
cp $40
ret c
call Logged_0x1FB7E5
xor a
ld [$D51D],a
call Logged_0x1FB976
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAC38:
call Logged_0x1FB7D8
ret
Logged_0x1FAC3C:
ld a,[$D520]
and a
ret z
call Logged_0x1FB797
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAC4C:
ld hl,$D548
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAC71:
ld hl,$D548
dec [hl]
dec [hl]
ld hl,$D51D
ld a,[hl]
inc [hl]
ld e,a
ld d,$00
ld hl,$18CF
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $10
ret c
ld a,$10
ld [$D515],a
call Logged_0x1FB78A
call Logged_0x1FB98B
xor a
ld [$D51D],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FACA5:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7E5
call Logged_0x1FB797
call Logged_0x1FB899
ld hl,$D50C
inc [hl]
ret
Logged_0x1FACB8:
ld hl,$D548
dec [hl]
dec [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
cp $28
jr c,Logged_0x1FACC9
ld [hl],$27
ld a,[hl]
Logged_0x1FACC9:
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
add a,$20
cp $60
ret c
ld a,$40
ld [$D515],a
jp Logged_0x1FA912
Logged_0x1FACE4:
call Logged_0x1FAD18
ld a,[$D509]
and a
jr nz,Logged_0x1FAD17
ld a,[$D50E]
and a
jr nz,Logged_0x1FAD05
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
Logged_0x1FAD05:
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
Logged_0x1FAD17:
ret
Logged_0x1FAD18:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1FAD75
dw Logged_0x1FADEA
dw Logged_0x1FADFA
dw Logged_0x1FAE0F
dw Logged_0x1FAE3D
dw Logged_0x1FAE4D
dw Logged_0x1FAE7F
dw Logged_0x1FAEBA
dw Logged_0x1FAEF0
dw Logged_0x1FB609
dw Logged_0x1FAF19
dw Logged_0x1FAF4E
dw Logged_0x1FAF7A
dw Logged_0x1FAFB1
dw Logged_0x1FAFF5
dw Logged_0x1FB023
dw Logged_0x1FB061
dw Logged_0x1FB078
Logged_0x1FAD42:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1FAD50
bit 6,a
jr z,Unknown_0x1FAD68
jp Logged_0x0161
Logged_0x1FAD50:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1FAD68:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1FAD7A
Logged_0x1FAD75:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1FAD7A:
ld a,$04
ld [$C1A1],a
ld a,$40
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$40
ld [hli],a
ld a,$18
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$42
ld [hli],a
ld a,$5F
ld [hli],a
xor a
ld [hl],a
ld a,$40
ld [$D51E],a
ld a,$00
ld [$D51F],a
ld a,$06
ld [$C1AC],a
ld a,$02
ld [$C1AD],a
ld a,$01
ld [$CED8],a
ld a,$30
ld [$CEE5],a
ld a,$79
ld [$FF00+$85],a
ld a,$A0
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1FADEA:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FADFA:
ld hl,$D516
inc [hl]
ld a,[hl]
cp $2C
ret c
call Logged_0x1FB899
ld a,$18
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAE0F:
ld hl,$D516
inc [hl]
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
cp $50
ret c
xor a
ld [$D51D],a
call Logged_0x1FBA09
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAE3D:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB7B1
call Logged_0x1FBA5D
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAE4D:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAE64
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FAE64:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $58
ret c
call Logged_0x1FB797
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAE7F:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAE96
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FAE96:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1FAE9F
dec [hl]
ret
Logged_0x1FAE9F:
ld a,[$D50A]
and $01
ret nz
ld hl,$D516
inc [hl]
ld a,[hl]
cp $6C
ret c
call Logged_0x1FB7B1
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAEBA:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAED1
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FAED1:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1FAEDA
dec [hl]
ret
Logged_0x1FAEDA:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
inc [hl]
ld a,[hl]
cp $60
ret c
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAEF0:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAF07
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FAF07:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $50
ret nc
ld [hl],$50
call Logged_0x1FBA7F
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAF19:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAF30
ld a,$0F
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1FAF30:
ld hl,$D516
ld a,[hl]
cp $58
jr c,Logged_0x1FAF3E
ld a,[$D50A]
and $01
ret nz
Logged_0x1FAF3E:
inc [hl]
ld a,[hl]
cp $6C
ret c
call Logged_0x1FBA5D
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAF4E:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAF65
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FAF65:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $34
ret nc
ld [hl],$34
call Logged_0x1FBA7F
call Logged_0x1FB7F2
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAF7A:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAF91
ld a,$0F
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1FAF91:
ld hl,$D516
ld a,[hl]
cp $3C
jr c,Logged_0x1FAF9F
ld a,[$D50A]
and $01
ret nz
Logged_0x1FAF9F:
inc [hl]
ld a,[hl]
cp $4C
ret c
call Logged_0x1FB7D8
ld a,$0C
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAFB1:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FAFC8
ld a,$0F
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0F
ld [$FF00+hSFXIDLow],a
Logged_0x1FAFC8:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1FAFD7
dec [hl]
ret nz
call Logged_0x1FBA7F
call Logged_0x1FB7F2
Logged_0x1FAFD7:
ld hl,$D516
ld a,[hl]
cp $58
jr c,Logged_0x1FAFE5
ld a,[$D50A]
and $01
ret nz
Logged_0x1FAFE5:
inc [hl]
ld a,[hl]
cp $6C
ret c
call Logged_0x1FBA5D
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FAFF5:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FB00C
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FB00C:
ld hl,$D516
dec [hl]
ld a,[hl]
cp $34
ret nc
ld [hl],$34
call Logged_0x1FB7BE
ld a,$10
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB023:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FB03A
ld a,$25
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0E
ld [$FF00+hSFXIDLow],a
Logged_0x1FB03A:
ld hl,$CEE5
ld a,[hl]
and a
jr z,Logged_0x1FB043
dec [hl]
ret
Logged_0x1FB043:
ld a,[$D50A]
and $03
ret nz
ld hl,$D515
dec [hl]
ld a,[hl]
cp $50
ret nc
call Logged_0x1FBA50
call Logged_0x1FB78A
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB061:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB8E2
call Logged_0x1FB7A4
call Logged_0x1FB7E5
xor a
ld [$D51D],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB078:
ld hl,$D516
ld a,[hl]
cp $18
jr z,Logged_0x1FB081
dec [hl]
Logged_0x1FB081:
ld hl,$D51D
inc [hl]
ld a,[hl]
ld e,a
ld d,$00
ld hl,$18A7
add hl,de
ld a,[$D515]
add a,[hl]
ld [$D515],a
ld a,[$D51D]
cp $18
ret c
ld a,[$D515]
cp $40
ret c
ld a,$40
ld [$D515],a
xor a
ld [$D51D],a
jp Logged_0x1FAD42
Logged_0x1FB0AC:
call Logged_0x1FB143
ld a,[$D509]
and a
jp nz,Logged_0x1FB142
ld a,[$D50E]
and a
jr nz,Logged_0x1FB0F3
ld hl,$D542
ld a,[$D545]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D546],a
ld hl,$D51C
ld a,$05
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld a,[$D514]
ld [$D520],a
Logged_0x1FB0F3:
ld hl,$D53B
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
ld hl,$D515
ld a,$79
ld [$FF00+$85],a
ld a,$AC
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
ld hl,$D55A
ld a,[$D55D]
ld [$C0AC],a
ld a,[$C0AC]
ld [$FF00+$85],a
ld a,$5A
ld [$FF00+$8D],a
ld a,$14
ld [$FF00+$8E],a
call $FF80
ld hl,$D553
ld a,$79
ld [$FF00+$85],a
ld a,$15
ld [$FF00+$8D],a
ld a,$4B
ld [$FF00+$8E],a
call $FF80
Logged_0x1FB142:
ret
Logged_0x1FB143:
ld a,[$D50C]
rst JumpList
dw Logged_0x1FB671
dw Logged_0x1FB1AC
dw Logged_0x1FB1D4
dw Logged_0x1FB1F6
dw Logged_0x1FB248
dw Logged_0x1FB25D
dw Logged_0x1FB270
dw Logged_0x1FB2F2
dw Logged_0x1FB302
dw Logged_0x1FB324
dw Logged_0x1FB376
dw Logged_0x1FB385
dw Logged_0x1FB397
dw Logged_0x1FB3AA
dw Logged_0x1FB43E
dw Logged_0x1FB44E
dw Logged_0x1FB470
dw Logged_0x1FB4C2
dw Logged_0x1FB4D2
dw Logged_0x1FB4ED
dw Logged_0x1FB4FA
dw Logged_0x1FB52B
dw Logged_0x1FB555
dw Logged_0x1FB579
dw Logged_0x1FB58E
Logged_0x1FB179:
ld a,[$CA3C]
bit 7,a
jr nz,Logged_0x1FB187
bit 6,a
jr z,Unknown_0x1FB19F
jp Logged_0x0161
Logged_0x1FB187:
and $3F
ld [$CA3C],a
ld a,$01
ld [$FF00+$85],a
ld a,$28
ld [$FF00+$8D],a
ld a,$46
ld [$FF00+$8E],a
call $FF80
call Logged_0x1795
ret
Unknown_0x1FB19F:
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$01
ld [$D50C],a
jr Logged_0x1FB1B1
Logged_0x1FB1AC:
ld hl,$CEE5
dec [hl]
ret nz
Logged_0x1FB1B1:
call Logged_0x1FB84D
call Logged_0x1FB797
call Logged_0x1FBD44
call Logged_0x1FBD62
call Logged_0x1FBDC5
ld a,$79
ld [$FF00+$85],a
ld a,$AE
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB1D4:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBAD3
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB1F6:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $07
jr z,Logged_0x1FB20E
cp $0D
jr z,Logged_0x1FB21E
cp $0F
jr z,Logged_0x1FB22E
ld a,[$D520]
and a
jr nz,Logged_0x1FB23E
ret
Logged_0x1FB20E:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $04
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB21E:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $14
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB22E:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1FB23E:
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB248:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBB66
call Logged_0x1FB7F2
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB25D:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBAD
call Logged_0x1FBD6F
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB270:
ld a,[$D520]
and a
jr z,Logged_0x1FB279
call Logged_0x1FB98B
Logged_0x1FB279:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $10
jr nc,Logged_0x1FB2AD
ld a,[$D53C]
add a,$02
ld [$D53C],a
ld a,[hl]
cp $03
ret c
ld hl,$D53B
cp $06
jr c,Logged_0x1FB29C
cp $0A
jr c,Logged_0x1FB29B
jr Logged_0x1FB29E
Logged_0x1FB29B:
inc [hl]
Logged_0x1FB29C:
inc [hl]
ret
Logged_0x1FB29E:
ld a,[hl]
add a,$03
ld [hl],a
cp $40
ret c
ld [hl],$40
ld a,$10
ld [$CEE5],a
ret
Logged_0x1FB2AD:
ld a,[$D53C]
add a,$01
ld [$D53C],a
ld a,[hl]
ld hl,$D53B
cp $12
jr c,Logged_0x1FB2CF
cp $14
jr c,Logged_0x1FB2D0
cp $15
jr c,Logged_0x1FB2D1
cp $16
jr c,Logged_0x1FB2D3
cp $27
jr c,Logged_0x1FB29C
jr Logged_0x1FB2D9
Logged_0x1FB2CF:
dec [hl]
Logged_0x1FB2D0:
dec [hl]
Logged_0x1FB2D1:
dec [hl]
ret
Logged_0x1FB2D3:
ld a,$20
ld [$CEE5],a
ret
Logged_0x1FB2D9:
ld a,[hl]
add a,$02
ld [hl],a
cp $40
ret c
ld [hl],$40
call Logged_0x1FB98B
call Logged_0x1FBD62
ld a,$20
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB2F2:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB302:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBAD3
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB324:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $07
jr z,Logged_0x1FB33C
cp $0D
jr z,Logged_0x1FB34C
cp $0F
jr z,Logged_0x1FB35C
ld a,[$D520]
and a
jr nz,Logged_0x1FB36C
ret
Logged_0x1FB33C:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $04
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB34C:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $14
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB35C:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1FB36C:
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB376:
ld hl,$CEE5
dec [hl]
ret nz
ld [hl],$20
call Logged_0x1FB7BE
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB385:
ld hl,$CEE5
dec [hl]
ret nz
ld [hl],$30
call Logged_0x1FBB66
call Logged_0x1FB7F2
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB397:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBAD
call Logged_0x1FBD6F
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB3AA:
ld a,[$D520]
and a
jr z,Logged_0x1FB3B3
call Logged_0x1FB98B
Logged_0x1FB3B3:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $30
jr nc,Logged_0x1FB401
ld a,[$D53C]
add a,$01
ld [$D53C],a
ld a,[hl]
ld hl,$D53B
cp $07
jr c,Logged_0x1FB3E9
cp $0D
jr c,Logged_0x1FB3EA
cp $0F
jr c,Logged_0x1FB3EB
cp $11
jr c,Logged_0x1FB3EC
cp $14
ret c
cp $17
jr c,Logged_0x1FB3F0
cp $1A
jr c,Logged_0x1FB3EF
cp $1D
jr c,Logged_0x1FB3EE
jr Logged_0x1FB3F2
Logged_0x1FB3E9:
dec [hl]
Logged_0x1FB3EA:
dec [hl]
Logged_0x1FB3EB:
dec [hl]
Logged_0x1FB3EC:
dec [hl]
ret
Logged_0x1FB3EE:
inc [hl]
Logged_0x1FB3EF:
inc [hl]
Logged_0x1FB3F0:
inc [hl]
ret
Logged_0x1FB3F2:
ld a,[hl]
add a,$04
ld [hl],a
cp $40
ret c
ld [hl],$40
ld a,$30
ld [$CEE5],a
ret
Logged_0x1FB401:
ld a,[hl]
ld hl,$D53B
cp $32
jr c,Logged_0x1FB41B
cp $34
jr c,Logged_0x1FB41C
cp $35
jr c,Logged_0x1FB41D
cp $36
jr c,Logged_0x1FB41F
cp $47
jr c,Logged_0x1FB3F0
jr Logged_0x1FB425
Logged_0x1FB41B:
dec [hl]
Logged_0x1FB41C:
dec [hl]
Logged_0x1FB41D:
dec [hl]
ret
Logged_0x1FB41F:
ld a,$40
ld [$CEE5],a
ret
Logged_0x1FB425:
ld a,[hl]
add a,$02
ld [hl],a
cp $40
ret c
ld [hl],$40
call Logged_0x1FB98B
call Logged_0x1FBD62
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB43E:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB44E:
ld hl,$D53C
dec [hl]
ld a,[hl]
cp $48
ret nc
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $05
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
call Logged_0x1FBAD3
call Logged_0x1FB78A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB470:
ld hl,$CEE5
inc [hl]
ld a,[hl]
cp $07
jr z,Logged_0x1FB488
cp $0D
jr z,Logged_0x1FB498
cp $0F
jr z,Logged_0x1FB4A8
ld a,[$D520]
and a
jr nz,Logged_0x1FB4B8
ret
Logged_0x1FB488:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $04
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB498:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $14
ld [de],a
inc de
ld a,[hl]
add a,$10
ld [de],a
ret
Logged_0x1FB4A8:
ld hl,$D515
ld de,$D53B
ld a,[hli]
sub $1C
ld [de],a
inc de
ld a,[hl]
add a,$06
ld [de],a
ret
Logged_0x1FB4B8:
ld [hl],$30
call Logged_0x1FBB1A
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB4C2:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBB59
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB4D2:
ld hl,$D554
dec [hl]
ld a,[hl]
cp $80
ret nc
call Logged_0x1FBB66
call Logged_0x1FB78A
call Logged_0x1FB7F2
ld a,$50
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB4ED:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBBA
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB4FA:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FB511
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
Logged_0x1FB511:
ld a,[$D520]
and a
ret z
call Logged_0x1FBBCB
ld a,[$D53C]
sub $08
ld [$D53C],a
ld a,$30
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB52B:
ld a,[$D522]
sub $01
ld [$D522],a
jr nc,Logged_0x1FB542
ld a,$1E
ld [$D522],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2D
ld [$FF00+hSFXIDLow],a
Logged_0x1FB542:
ld hl,$CEE5
dec [hl]
ret nz
call Logged_0x1FBBD8
call Logged_0x1FBD6F
call Logged_0x1FB7D8
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB555:
ld a,[$D520]
and a
jr z,Logged_0x1FB55E
call Logged_0x1FB98B
Logged_0x1FB55E:
ld a,[$D554]
sub $10
ld b,a
ld a,[$D53C]
add a,$04
ld [$D53C],a
cp b
ret c
call Logged_0x1FB98B
call Logged_0x1FBD0C
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB579:
ld a,[$D546]
and a
ret z
ld a,$E8
ld [$D53C],a
call Logged_0x1FB9CA
call Logged_0x1FB797
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB58E:
ld hl,$D554
dec [hl]
ld a,[$D50A]
and $01
jr z,Logged_0x1FB59A
dec [hl]
Logged_0x1FB59A:
ld a,[hl]
cp $E8
ret c
jp Logged_0x1FB179
Logged_0x1FB5A1:
ld a,$01
ld [$D50E],a
ld a,[$D50A]
and $03
ret nz
ld hl,$CEE5
inc [hl]
bit 0,[hl]
jr nz,Logged_0x1FB5B8
call Logged_0x1FB78A
ret
Logged_0x1FB5B8:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EC
ld [$FF00+hSFXIDLow],a
call Logged_0x1FB7B1
ld a,[$CEE5]
cp $07
ret c
xor a
ld [$CEE5],a
ld [$D50E],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB5D5:
ld a,$01
ld [$D50E],a
ld a,[$D50A]
and $03
ret nz
ld hl,$CEE5
inc [hl]
bit 0,[hl]
jr nz,Logged_0x1FB5EC
call Logged_0x1FB78A
ret
Logged_0x1FB5EC:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EC
ld [$FF00+hSFXIDLow],a
call Logged_0x1FB7BE
ld a,[$CEE5]
cp $07
ret c
xor a
ld [$CEE5],a
ld [$D50E],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB609:
ld a,$01
ld [$D50E],a
ld a,[$D50A]
and $03
ret nz
ld hl,$CEE5
inc [hl]
bit 0,[hl]
jr nz,Logged_0x1FB620
call Logged_0x1FB7D8
ret
Logged_0x1FB620:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EC
ld [$FF00+hSFXIDLow],a
call Logged_0x1FB7F2
ld a,[$CEE5]
cp $07
ret c
xor a
ld [$CEE5],a
ld [$D50E],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB63D:
ld a,$01
ld [$D50E],a
ld a,[$D50A]
and $03
ret nz
ld hl,$CEE5
inc [hl]
bit 0,[hl]
jr nz,Logged_0x1FB654
call Logged_0x1FB7D8
ret
Logged_0x1FB654:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$EC
ld [$FF00+hSFXIDLow],a
call Logged_0x1FB7E5
ld a,[$CEE5]
cp $07
ret c
xor a
ld [$CEE5],a
ld [$D50E],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB671:
xor a
ld [$C1AC],a
ld [$C1AD],a
ld [$C1AF],a
ld [$C1AE],a
ld [$D50E],a
ld [$CED8],a
ld a,$04
ld [$C083],a
ld a,$79
ld [$FF00+$85],a
ld a,$BC
ld [$FF00+$8D],a
ld a,$48
ld [$FF00+$8E],a
call $FF80
ld a,$79
ld [$FF00+$85],a
ld a,$47
ld [$FF00+$8D],a
ld a,$4A
ld [$FF00+$8E],a
call $FF80
call Logged_0x1FB78A
call Logged_0x1FB7D8
ld a,$60
ld [$CEE5],a
ld hl,$D50C
inc [hl]
ret
Logged_0x1FB6B7:
ld hl,RAMCode_0x1FB6C3
ld de,$C200
ld b,Logged_0x1FB6F7 - RAMCode_0x1FB6C3
call MemCopy_DE_HL
ret
RAMCode_0x1FB6C3:
ld a,[$C1A0]
and a
jr z,.done
ld hl,$C1A1
ld a,[hli]
ld [rROMB0+$100],a
ld c,$51
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld [$FF00+c],a
ld a,[hli]
ld [rVBK],a
inc c
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hli]
ld [$FF00+c],a
inc c
ld a,[hl]
ld [$FF00+c],a
xor a
ld [$C1A0],a
.done
ld a,[$C083]
ld [rSCY],a
ld a,[$C085]
ld [rSCX],a
ld a,$CC
call $FFE8
ret
Logged_0x1FB6F7:
ld hl,$D50B
ld a,[$C094]
bit 4,a
jr nz,Unknown_0x1FB706
bit 5,a
jr nz,Unknown_0x1FB71A
ret
Unknown_0x1FB706:
ld a,[hl]
cp $09
ret z
ld e,a
inc [hl]
xor a
ld [$D50C],a
ld a,[$D524]
add a,$10
ld [$D524],a
jr Unknown_0x1FB72B
Unknown_0x1FB71A:
ld a,[hl]
and a
ret z
ld e,a
dec [hl]
xor a
ld [$D50C],a
ld a,[$D524]
sub $10
ld [$D524],a
Unknown_0x1FB72B:
ld a,$01
ld [$D509],a
ld a,$01
ld [rVBK],a
ld a,[$CA3C]
and $3F
cp e
jr c,Unknown_0x1FB750
ld hl,$9E00
sla e
ld d,$00
add hl,de
ld e,$20
call Logged_0x0370
ld a,$03
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
Unknown_0x1FB750:
ld a,[$D50B]
ld e,a
ld a,[$CA3C]
and $3F
cp e
jr c,Unknown_0x1FB774
ld hl,$7780
ld d,$00
add hl,de
ld b,[hl]
ld hl,$9E00
sla e
add hl,de
ld e,$20
call Logged_0x0370
ld a,b
ld [hli],a
ld [hld],a
add hl,de
ld [hli],a
ld [hl],a
Unknown_0x1FB774:
xor a
ld [rVBK],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$E2
ld [$FF00+hSFXIDLow],a
ret
Unknown_0x1FB780:
INCBIN "baserom.gbc", $1FB780, $1FB78A - $1FB780
Logged_0x1FB78A:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$76
ld [hl],a
ret
Logged_0x1FB797:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$7C
ld [hl],a
ret
Logged_0x1FB7A4:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$82
ld [hl],a
ret
Logged_0x1FB7B1:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$7F
ld [hl],a
ret
Logged_0x1FB7BE:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$79
ld [hl],a
ret
Logged_0x1FB7CB:
xor a
ld hl,$D52F
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$A8
ld [hl],a
ret
Logged_0x1FB7D8:
ld hl,$D537
xor a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$6D
ld [hl],a
ret
Logged_0x1FB7E5:
xor a
ld hl,$D537
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$70
ld [hl],a
ret
Logged_0x1FB7F2:
xor a
ld hl,$D537
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$73
ld [hl],a
ret
Logged_0x1FB7FF:
ld hl,$D547
Logged_0x1FB802:
ld a,$A0
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$64
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x1FB81F:
ld hl,$D547
ld c,$00
Logged_0x1FB824:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$05
ld [$FF00+hSFXIDLow],a
ld a,[$D53B]
sub b
ld [hli],a
ld a,[$D53C]
sub c
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$54
ld [hli],a
ld a,$9A
ld [hli],a
ld a,$52
ld [hli],a
ld a,$0E
ld [hli],a
ld a,$03
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x1FB84D:
ld a,$04
ld [$C1A1],a
ld a,$48
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D515
ld a,$40
ld [hli],a
ld a,$40
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$49
ld [hli],a
ld a,$C5
ld [hli],a
xor a
ld [hl],a
ld [$D522],a
ld a,$42
ld [$D51E],a
ld a,$6C
ld [$D51F],a
ret
Logged_0x1FB899:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$97
ld [hli],a
xor a
ld [hl],a
ld a,$59
ld [$D51E],a
ld a,$55
ld [$D51F],a
ret
Logged_0x1FB8E2:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$01
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$94
ld [hli],a
xor a
ld [hl],a
ld a,$59
ld [$D51E],a
ld a,$55
ld [$D51F],a
ret
Logged_0x1FB92B:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,[$D50B]
cp $06
jr nc,Logged_0x1FB942
ld a,$5F
ld [hli],a
ld a,$91
ld [hli],a
ld a,$18
ld [hl],a
ret
Logged_0x1FB942:
ld a,$60
ld [hli],a
ld a,$55
ld [hli],a
ld a,$18
ld [hl],a
ret
Logged_0x1FB94C:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$33
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$60
ld [hli],a
ld a,$09
ld [hl],a
ret
Logged_0x1FB961:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$02
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$C5
ld [hl],a
ret
Logged_0x1FB976:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$10
ld [$FF00+hSFXIDLow],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$A1
ld [hl],a
ret
Logged_0x1FB98B:
ld a,$04
ld [$C1A1],a
ld a,$40
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$42
ld [hli],a
ld a,$5F
ld [hl],a
ld a,$40
ld [$D51E],a
ld a,$00
ld [$D51F],a
ret
Logged_0x1FB9CA:
ld a,$04
ld [$C1A1],a
ld a,$48
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$49
ld [hli],a
ld a,$C5
ld [hli],a
ld a,$42
ld [$D51E],a
ld a,$6C
ld [$D51F],a
ret
Logged_0x1FBA09:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$0D
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$60
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$55
ld [hli],a
ld a,$5B
ld [hli],a
ld a,$52
ld [$D51E],a
ld a,$54
ld [$D51F],a
ret
Logged_0x1FBA50:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$55
ld [hli],a
ld a,$54
ld [hli],a
ret
Logged_0x1FBA5D:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$55
ld [hli],a
ld a,$8B
ld [hli],a
xor a
ld [$D522],a
ret
Logged_0x1FBA6E:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$55
ld [hli],a
ld a,$C5
ld [hli],a
xor a
ld [$D522],a
ret
Logged_0x1FBA7F:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$55
ld [hli],a
ld a,$6C
ld [hli],a
ret
Logged_0x1FBA8C:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$70
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$0C
ld [hli],a
ld a,$60
ld [$D51E],a
ld a,$6A
ld [$D51F],a
ret
Logged_0x1FBAD3:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$15
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$70
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$15
ld [hli],a
ld a,$60
ld [$D51E],a
ld a,$6A
ld [$D51F],a
ret
Logged_0x1FBB1A:
ld a,$04
ld [$C1A1],a
ld a,$48
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$4A
ld [hli],a
ld a,$23
ld [hli],a
ld a,$42
ld [$D51E],a
ld a,$6C
ld [$D51F],a
ret
Logged_0x1FBB59:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$4A
ld [hli],a
ld a,$0F
ld [hli],a
ret
Logged_0x1FBB66:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$2C
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$70
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$2F
ld [hli],a
ld a,$60
ld [$D51E],a
ld a,$6A
ld [$D51F],a
ret
Logged_0x1FBBAD:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$1E
ld [hli],a
ret
Logged_0x1FBBBA:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$35
ld [hli],a
xor a
ld [$D522],a
ret
Logged_0x1FBBCB:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$41
ld [hli],a
ret
Logged_0x1FBBD8:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$64
ld [hli],a
ld a,$23
ld [hli],a
ret
Logged_0x1FBBE5:
ld a,$04
ld [$C1A1],a
ld a,$58
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [$D522],a
ld [hli],a
ld [hli],a
ld a,[$D50B]
cp $05
jr nc,Logged_0x1FBC2E
ld a,$51
ld [hli],a
ld a,$FD
ld [hli],a
ld a,$4D
ld [$D51E],a
ld a,$1B
ld [$D51F],a
ret
Logged_0x1FBC2E:
ld a,$52
ld [hli],a
ld a,$2D
ld [hli],a
ld a,$4D
ld [$D51E],a
ld a,$1B
ld [$D51F],a
ret
Logged_0x1FBC3F:
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$66
ld [hli],a
ld a,$F7
ld [hli],a
ret
Logged_0x1FBC4C:
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$03
ld [$FF00+hSFXIDLow],a
ld a,$04
ld [$C1A1],a
ld a,$78
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$5F
ld [hli],a
ld a,$7F
ld [hli],a
ld a,$59
ld [$D51E],a
ld a,$55
ld [$D51F],a
ret
Logged_0x1FBC93:
ld a,$09
ld [$C1A1],a
ld a,$50
ld [$C1A2],a
ld a,$00
ld [$C1A3],a
ld a,$80
ld [$C1A5],a
ld a,$00
ld [$C1A6],a
ld a,$00
ld [$C1A4],a
ld a,$7F
ld [$C1A7],a
ld a,$01
ld [$C1A0],a
ld hl,$D519
xor a
ld [hli],a
ld [hli],a
ld a,$67
ld [hli],a
ld a,$1D
ld [hli],a
ld a,$64
ld [$D51E],a
ld a,$4A
ld [$D51F],a
ret
Logged_0x1FBCD2:
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$36
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$AB
ld [hli],a
ld a,$79
ld [hli],a
xor a
ld [hl],a
ret
Logged_0x1FBCF2:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$48
ld [hli],a
ret
Logged_0x1FBCFF:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$3F
ld [hli],a
ret
Logged_0x1FBD0C:
ld hl,$D53F
Logged_0x1FBD0F:
xor a
ld [hli],a
ld [hli],a
ld a,$54
ld [hli],a
ld a,$A5
ld [hli],a
ld a,$52
ld [hli],a
ld a,$0E
ld [hli],a
ld a,$03
ld [hl],a
ld a,$01
ld [$FF00+hSFXIDHigh],a
ld a,$18
ld [$FF00+hSFXIDLow],a
ret
Logged_0x1FBD2A:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$78
ld [hli],a
ret
Logged_0x1FBD37:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$66
ld [hli],a
ret
Logged_0x1FBD44:
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$4D
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$AB
ld [hli],a
ld a,$79
ld [hli],a
ret
Logged_0x1FBD62:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$5E
ld [hli],a
ret
Logged_0x1FBD6F:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6F
ld [hli],a
ld a,$55
ld [hli],a
ret
Logged_0x1FBD7C:
ld hl,$D53F
xor a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$67
ld [hli],a
ret
Logged_0x1FBD89:
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$93
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hl],a
ret
Logged_0x1FBDA7:
ld hl,$D53B
ld a,$40
ld [hli],a
ld a,$D8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$88
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hl],a
ret
Logged_0x1FBDC5:
ld hl,$D553
ld a,$20
ld [hli],a
ld a,$E8
ld [hli],a
xor a
ld [hli],a
ld [hli],a
ld [hli],a
ld [hli],a
ld a,$6B
ld [hli],a
ld a,$85
ld [hli],a
ld a,$69
ld [hli],a
ld a,$7C
ld [hli],a
ld a,$79
ld [hli],a
ret
Unknown_0x1FBDE3:
INCBIN "baserom.gbc", $1FBDE3, $1FC000 - $1FBDE3
SECTION "Bank7F", ROMX, BANK[$7F]
LoggedData_0x1FC000:
INCBIN "baserom.gbc", $1FC000, $1FC006 - $1FC000
Unknown_0x1FC006:
INCBIN "baserom.gbc", $1FC006, $1FC008 - $1FC006
LoggedData_0x1FC008:
INCBIN "baserom.gbc", $1FC008, $1FC085 - $1FC008
Unknown_0x1FC085:
INCBIN "baserom.gbc", $1FC085, $1FC0A2 - $1FC085
LoggedData_0x1FC0A2:
INCBIN "baserom.gbc", $1FC0A2, $1FC31A - $1FC0A2
Unknown_0x1FC31A:
INCBIN "baserom.gbc", $1FC31A, $1FC31B - $1FC31A
LoggedData_0x1FC31B:
INCBIN "baserom.gbc", $1FC31B, $1FC882 - $1FC31B
Unknown_0x1FC882:
INCBIN "baserom.gbc", $1FC882, $1FC894 - $1FC882
LoggedData_0x1FC894:
INCBIN "baserom.gbc", $1FC894, $1FCC84 - $1FC894
Unknown_0x1FCC84:
INCBIN "baserom.gbc", $1FCC84, $1FCC85 - $1FCC84
LoggedData_0x1FCC85:
INCBIN "baserom.gbc", $1FCC85, $1FCC98 - $1FCC85
Unknown_0x1FCC98:
INCBIN "baserom.gbc", $1FCC98, $1FCCB2 - $1FCC98
LoggedData_0x1FCCB2:
INCBIN "baserom.gbc", $1FCCB2, $1FCCCC - $1FCCB2
Unknown_0x1FCCCC:
INCBIN "baserom.gbc", $1FCCCC, $1FCCD5 - $1FCCCC
LoggedData_0x1FCCD5:
INCBIN "baserom.gbc", $1FCCD5, $1FCCE1 - $1FCCD5
Unknown_0x1FCCE1:
INCBIN "baserom.gbc", $1FCCE1, $1FCCE5 - $1FCCE1
LoggedData_0x1FCCE5:
INCBIN "baserom.gbc", $1FCCE5, $1FCCEF - $1FCCE5
Unknown_0x1FCCEF:
INCBIN "baserom.gbc", $1FCCEF, $1FCCF7 - $1FCCEF
LoggedData_0x1FCCF7:
INCBIN "baserom.gbc", $1FCCF7, $1FCDC1 - $1FCCF7
Unknown_0x1FCDC1:
INCBIN "baserom.gbc", $1FCDC1, $1FCE03 - $1FCDC1
LoggedData_0x1FCE03:
INCBIN "baserom.gbc", $1FCE03, $1FCEA8 - $1FCE03
Unknown_0x1FCEA8:
INCBIN "baserom.gbc", $1FCEA8, $1FCF2C - $1FCEA8
LoggedData_0x1FCF2C:
INCBIN "baserom.gbc", $1FCF2C, $1FCF86 - $1FCF2C
Unknown_0x1FCF86:
INCBIN "baserom.gbc", $1FCF86, $1FCF9F - $1FCF86
LoggedData_0x1FCF9F:
INCBIN "baserom.gbc", $1FCF9F, $1FCFAB - $1FCF9F
Unknown_0x1FCFAB:
INCBIN "baserom.gbc", $1FCFAB, $1FCFD7 - $1FCFAB
LoggedData_0x1FCFD7:
INCBIN "baserom.gbc", $1FCFD7, $1FCFDE - $1FCFD7
Unknown_0x1FCFDE:
INCBIN "baserom.gbc", $1FCFDE, $1FD031 - $1FCFDE
LoggedData_0x1FD031:
INCBIN "baserom.gbc", $1FD031, $1FD055 - $1FD031
Unknown_0x1FD055:
INCBIN "baserom.gbc", $1FD055, $1FD057 - $1FD055
LoggedData_0x1FD057:
INCBIN "baserom.gbc", $1FD057, $1FD2A9 - $1FD057
Unknown_0x1FD2A9:
INCBIN "baserom.gbc", $1FD2A9, $1FD2B2 - $1FD2A9
LoggedData_0x1FD2B2:
INCBIN "baserom.gbc", $1FD2B2, $1FD429 - $1FD2B2
Unknown_0x1FD429:
INCBIN "baserom.gbc", $1FD429, $1FD42C - $1FD429
LoggedData_0x1FD42C:
INCBIN "baserom.gbc", $1FD42C, $1FD431 - $1FD42C
Unknown_0x1FD431:
INCBIN "baserom.gbc", $1FD431, $1FD434 - $1FD431
LoggedData_0x1FD434:
INCBIN "baserom.gbc", $1FD434, $1FD45C - $1FD434
Unknown_0x1FD45C:
INCBIN "baserom.gbc", $1FD45C, $1FD45F - $1FD45C
LoggedData_0x1FD45F:
INCBIN "baserom.gbc", $1FD45F, $1FD46B - $1FD45F
Unknown_0x1FD46B:
INCBIN "baserom.gbc", $1FD46B, $1FD46C - $1FD46B
LoggedData_0x1FD46C:
INCBIN "baserom.gbc", $1FD46C, $1FD4B4 - $1FD46C
Unknown_0x1FD4B4:
INCBIN "baserom.gbc", $1FD4B4, $1FD4D0 - $1FD4B4
LoggedData_0x1FD4D0:
INCBIN "baserom.gbc", $1FD4D0, $1FD67E - $1FD4D0
Unknown_0x1FD67E:
INCBIN "baserom.gbc", $1FD67E, $1FD81C - $1FD67E
LoggedData_0x1FD81C:
INCBIN "baserom.gbc", $1FD81C, $1FD837 - $1FD81C
Unknown_0x1FD837:
INCBIN "baserom.gbc", $1FD837, $1FD841 - $1FD837
LoggedData_0x1FD841:
INCBIN "baserom.gbc", $1FD841, $1FD848 - $1FD841
Unknown_0x1FD848:
INCBIN "baserom.gbc", $1FD848, $1FD87C - $1FD848
LoggedData_0x1FD87C:
INCBIN "baserom.gbc", $1FD87C, $1FEE0B - $1FD87C
Unknown_0x1FEE0B:
INCBIN "baserom.gbc", $1FEE0B, $1FEE0F - $1FEE0B
LoggedData_0x1FEE0F:
INCBIN "baserom.gbc", $1FEE0F, $1FEE72 - $1FEE0F
Unknown_0x1FEE72:
INCBIN "baserom.gbc", $1FEE72, $1FEEB4 - $1FEE72
LoggedData_0x1FEEB4:
INCBIN "baserom.gbc", $1FEEB4, $1FEEBD - $1FEEB4
Unknown_0x1FEEBD:
INCBIN "baserom.gbc", $1FEEBD, $1FEEC4 - $1FEEBD
LoggedData_0x1FEEC4:
INCBIN "baserom.gbc", $1FEEC4, $1FEF31 - $1FEEC4
Unknown_0x1FEF31:
INCBIN "baserom.gbc", $1FEF31, $1FEF3D - $1FEF31
LoggedData_0x1FEF3D:
INCBIN "baserom.gbc", $1FEF3D, $1FF4CA - $1FEF3D
Unknown_0x1FF4CA:
INCBIN "baserom.gbc", $1FF4CA, $1FF560 - $1FF4CA
LoggedData_0x1FF560:
INCBIN "baserom.gbc", $1FF560, $1FF5FA - $1FF560
Unknown_0x1FF5FA:
INCBIN "baserom.gbc", $1FF5FA, $1FF5FB - $1FF5FA
LoggedData_0x1FF5FB:
INCBIN "baserom.gbc", $1FF5FB, $1FF5FD - $1FF5FB
Unknown_0x1FF5FD:
INCBIN "baserom.gbc", $1FF5FD, $1FF5FE - $1FF5FD
LoggedData_0x1FF5FE:
INCBIN "baserom.gbc", $1FF5FE, $1FF628 - $1FF5FE
Unknown_0x1FF628:
INCBIN "baserom.gbc", $1FF628, $1FF64A - $1FF628
LoggedData_0x1FF64A:
INCBIN "baserom.gbc", $1FF64A, $1FF988 - $1FF64A
Unknown_0x1FF988:
INCBIN "baserom.gbc", $1FF988, $1FFA12 - $1FF988
LoggedData_0x1FFA12:
INCBIN "baserom.gbc", $1FFA12, $1FFD15 - $1FFA12
Unknown_0x1FFD15:
INCBIN "baserom.gbc", $1FFD15, $1FFD16 - $1FFD15
LoggedData_0x1FFD16:
INCBIN "baserom.gbc", $1FFD16, $1FFD1B - $1FFD16
Unknown_0x1FFD1B:
INCBIN "baserom.gbc", $1FFD1B, $200000 - $1FFD1B